/*!
Theme Name: LP
Theme URI: 
Author: Circle47
Author URI: http://circle47.pl/
Version: 1.0
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

/* ==========================================================
   Default content layout
========================================================== */

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

body {
	margin: 0;
	padding: 0;
	background: #f7f7f8;
	color: #1a1a2e;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

a { color: #5c3bfe; }
img { max-width: 100%; height: auto; display: block; }

/* Site header */
.site-header {
	background: #fff;
	border-bottom: 1px solid #e8e8ee;
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-header__brand {
	font-weight: 700;
	font-size: 1.15rem;
	color: #1a1a2e;
	text-decoration: none;
	white-space: nowrap;
}
.site-header__brand:hover { color: #5c3bfe; }

.site-header__nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}
.site-header__nav li a {
	color: #444;
	text-decoration: none;
	font-size: 15px;
	fonт-weight: 500;
	transition: color .15s;
}
.site-header__nav li a:hover,
.site-header__nav li.current-menu-item a { color: #5c3bfe; }

/* Content */
.content-wrap {
	min-height: 60vh;
	padding: 60px 16px;
}

.content-container {
	max-width: 860px;
	margin: 0 auto;
}

.content-title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin: 0 0 32px;
}

.content-body h1,
.content-body h2,
.content-body h3 { line-height: 1.3; margin-top: 1.8em; }
.content-body p   { margin: 0 0 1.2em; }
.content-body ul,
.content-body ol  { padding-left: 1.4em; margin-bottom: 1.2em; }
.content-body img { margin: 1.5em 0; border-radius: 8px; }

/* Site footer */
.site-footer {
	background: #1a1a2e;
	color: #aaa;
	font-size: 14px;
	padding: 28px 24px;
	text-align: center;
}
.site-footer__inner {
	max-width: 1100px;
	margin: 0 auto;
}
.site-footer p { margin: 0; }
.site-footer a { color: #ccc; }

@media (max-width: 640px) {
	.content-wrap { padding: 40px 16px; }
	.site-header__nav { display: none; }
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
