/*
Theme Name:       Lexikon
Theme URI:        https://lexikon.lu
Author:           Lexikon
Author URI:       https://lexikon.lu
Description:      Lexikon is a truly minimal WordPress theme. No sidebars, no widgets, no settings. Just your content. Lexikon is extremely fast and scores 100/100 on Pingdom's speed test.
Version:          1.0
Tested up to:     6.4
Requires PHP:     5.6
License:          GNU General Public License v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Tags:             one-column, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog
GitHub Theme URI: 
Text Domain:      lexikon

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/

:root {
	--site-width: 1500px;
	--site-padding: 1.5rem;
	/*--grid-main-content-width: minmax(450px, 800px);*/
	/*--grid-main-sidebar-width: minmax(250px, 300px);*/
	/*--grid-fake-sidebar-width: minmax(0px, 300px);*/
}

* {
	/*outline: thin dotted;*/
	/*outline-color: #fff;*/
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
	line-height: 2;
}

.wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--site-width);
	padding: 0px var(--site-padding);
}

.hidden {
	display: none;
}

.required {
	color: red;
}

.info {
	display: block;
	font-size: smaller;
	font-style: italic;
}

.wp-message {
	background: gold;
	color: blue;
}

.wp-error, 
.wp-message {
    padding: 1rem;
    text-align: center;
}

a {
	color: #11527A;
	text-decoration: none;
}

a:hover {
	color: blue;
	text-decoration: underline;
}

a:active {
	color: red;
}

button, 
input[type="submit"] {
	cursor: pointer;
}

.transparent-button {
	background-color: transparent;
	border: none;
}

input[type="submit"], 
input[type="text"], 
input[type="email"], 
input[type="url"], 
input[type="password"], 
input[type="search"], 
input[type="number"], 
input[type="tel"], 
input[type="range"], 
input[type="date"], 
input[type="month"], 
input[type="week"], 
input[type="time"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="color"], 
textarea {
	border: 1px solid;
	border-radius: 5px;
	padding: 7px 10px;
}

textarea {
	width: 100%;
}

/**
 * Site header
 */

.site-header {
	border-bottom: 2px solid dodgerblue;
}

.site-title {
	color: #11527A;
	font-size: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 0.86), 1.75rem);
	font-weight: 700;
}

.site-title a {
	text-shadow: -2px 2px 2px rgba(0, 0, 0, 0.3);
}

.site-title, 
#primary-menu ul {
	margin: 0.75rem 0px;
}

#primary-menu {
	margin-left: auto;
}

#primary-menu ul {
	list-style: none;
	white-space: nowrap;
}

#primary-menu a {
	display: block;
	font-size: 1.125em;
	padding: 10px;
}

#primary-menu a:hover {
	background-color: #0085f230;
	border-radius: 0.25rem;
}

#primary-menu .current-menu-item a,
#primary-menu .current_page_item a {
	color: darkgray;
	pointer-events: none;
}

/**
 * Site search section
 */

#site-search {
	margin: 3rem 0px;
	text-align: center;
}

#site-search .search-field {
	max-width: 350px;
	width: 50%;
}

#site-search .search-field:focus {
	outline: unset;
	border-color: red;
}

/**
 * Site content
 */

.site-content {
	display: grid;
	grid-template-columns: minmax(0px, auto) minmax(480px, 800px) minmax(0px, auto);
	column-gap: 1.5rem;
}

.has-main-sidebar .site-content {
	grid-template-columns: minmax(250px, 300px) minmax(480px, 800px) minmax(0px, 300px);
}

.content-area {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	/*max-width: calc(100vw - var(--site-padding)* 2.75);*/
}

/**
 * Pages
 */

.page-title {
	text-align: center;
}

/**
 * Posts
 */

.blog .post {
	border-bottom: 1px solid #f3f3f3;
}

.blog .entry-content p {
	margin: 0px;
}

.single .entry-header {
	margin: 1.5rem 0px;
}

.entry-title {
	line-height: 1.5;
	margin: 0.25em 0px;
}

.page-title, 
.entry-title {
	font-size: clamp(1rem, 1.25rem + ((1vw - 0.2rem) * 0.86), 1.125rem);
}

.page-title, 
.post .entry-title {
	text-transform: uppercase;
}

.entry-meta * {
	color: #767676;
	font-size: 0.95em;
	text-decoration: none;
}

.entry-footer {
	font-size: 0.9rem;
	font-style: italic;
	line-height: 1.5;
	margin: 1.25rem 0px;
}

.entry-footer > span:not(:first-child)::before {
	content: ' | ';
}

.post {
	margin-top: 1.5rem;
	padding-bottom: 1.5em;
}

.post.has-post-thumbnail {
	margin-top: 2.25rem;
}

/**
 * Pagination
 */

.pagination {
	padding: 34px 0px;
	column-gap: 1px;
	justify-content: center;
}

.page-numbers {
	border: 0.75px solid rgba(0,0,0,.2);
	padding: 8px 10px;
	border-radius: 3px;
}

.page-numbers.dots {
	padding: 8px 6px;
}

.page-numbers.current,
.page-numbers:hover {
	background-color: royalblue;
	color: white;
	text-decoration: none;
}

.page-numbers:not(.current):hover {
	background-color: blue;
}

/**
 * Next/Previous single post pagination
 */

.post-navigation {
	margin-top: 1rem;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: auto auto;
	column-gap: 2rem;
}

.post-navigation .nav-next {
	text-align: end;
}

.post-navigation a:not(:hover) {
	text-decoration: none;
}

.post-navigation .nav-subtitle {
	font-weight: 700;
}

/**
 * Comments
 */

.comments-area {
	border-top: 1px solid;
	margin-top: 1rem;
	padding-top: 1em;
}

.comment-respond {
	margin-top: 2rem;
}

#reply-title small {
	font-style: italic;
	margin-left: auto;
	padding-left: 1em;
}

/**
 * Site footer section
 */

#site-footer {
	margin: 5rem 0rem;
	text-align: center;
}

@media screen and (max-width: 640px) {

	.site-content {
		margin-top: 1rem;
	}

	#primary-menu {
		margin-right: calc(1rem + var(--site-padding));
	}

	#search-toggle {
		display: flex;
		position: absolute;
		top: 32px;
		right: var(--site-padding);
	}

	#search-toggle > * {
		width: 1rem;
		height: 1rem;
	}

	#search-toggle[aria-expanded="true"] .search-icon, 
	#search-toggle[aria-expanded="false"] .close-icon {
		display: none;
	}

	#site-search {
		margin: 0px;
		max-height: 0px;
		opacity: 0;
		visibility: hidden;
		transition: margin 0.75s, max-height 0.75s, opacity 0.75s, visibility 0.75s;
	}

	#search-toggle[aria-expanded="true"] + #site-search {
		max-height: 100vh;
		margin: 2rem 0px;
		opacity: 1;
		visibility: visible;
	}
}

@media screen and (max-width: 800px) {

	.site-content {
		display: block;
	}
}
