/*
Theme Name: LFS Arena
Author: Letní fotbalová škola
Description: Tmavá dvousloupcová šablona s limetkovými akcenty pro web Letní fotbalové školy. Původní kód psaný pro aktuální WordPress a PHP 7.4–8.x, vzhledem navazuje na dřívější podobu webu.
Version: 1.2.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lfs-arena
Tags: two-columns, right-sidebar, custom-menu, custom-logo, custom-header, featured-images, translation-ready
*/

:root {
	--lfs-accent: #c0ff3e;
	--lfs-teal: #5397a4;
	--lfs-text: #ffffff;
	--lfs-muted: #a9b0b3;
	--lfs-bg: #000000;
	--lfs-panel: #0b0c0d;
	--lfs-panel-2: #141617;
	--lfs-line: #2b2f31;
	--lfs-radius: 14px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	color: var(--lfs-text);
	background-color: var(--lfs-bg);
	background-image:
		radial-gradient(52rem 20rem at 70% 9rem, rgba(150, 40, 130, 0.16), transparent 65%),
		radial-gradient(40rem 16rem at 30% 12rem, rgba(40, 80, 190, 0.12), transparent 68%);
	background-repeat: no-repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

a { color: var(--lfs-accent); text-decoration: none; }
a:hover,
a:focus { color: #ffffff; text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 2px solid var(--lfs-accent); outline-offset: 2px; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { margin: 1.2em 0 0.4em; line-height: 1.2; font-weight: 400; }
h1, h3, h4 { font-family: "Trebuchet MS", Tahoma, Arial, sans-serif; }
h2 { font-family: Tahoma, Verdana, "Trebuchet MS", sans-serif; font-size: 1.6rem; }
h3 { font-size: 1.25rem; color: var(--lfs-teal); }
h4 { font-size: 1.1rem; color: var(--lfs-accent); font-weight: 700; }
h5, h6 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid #d9d9d9; margin: 1.5em 0; opacity: 0.85; }
blockquote { margin: 0 0 1.1em; padding: 0.2em 1em; border-left: 3px solid var(--lfs-accent); color: #e6e6e6; font-style: italic; }
pre, code { font-family: Consolas, Monaco, monospace; background: var(--lfs-panel-2); }
pre { padding: 1em; overflow: auto; border: 1px solid var(--lfs-line); border-radius: 6px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
th, td { padding: 0.45em 0.6em; border: 1px solid var(--lfs-line); text-align: left; }
th { color: var(--lfs-accent); background: var(--lfs-panel-2); }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; word-wrap: normal;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto;
	clip: auto; padding: 0.6em 1em; background: #000; color: var(--lfs-accent);
}

/* ---------- Layout ---------- */

.site { max-width: 1040px; margin: 0 auto; padding: 0 20px 30px; }

.flag-bar {
	height: 5px;
	margin: 0 -20px;
	background: linear-gradient(90deg, #11457e 0 22%, #ffffff 22% 61%, #d7141a 61% 100%);
	box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.site-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 267px;
	padding: 26px 20px 18px;
}
.site-header.has-original-art { align-items: flex-start; padding-top: 44px; }
.site-header.has-original-art::before {
	content: "";
	position: absolute; inset: 0; z-index: 0;
	background: url(images/header-original.jpg) right bottom / 100% auto no-repeat;
	mix-blend-mode: screen;
	pointer-events: none;
}
.site-header.has-original-art .site-branding { max-width: 56%; }
.site-branding,
.site-mascot { position: relative; z-index: 1; }
.site-branding { flex: 1 1 0; min-width: 0; }
.site-mascot { flex: 0 1 430px; line-height: 0; text-align: right; }
.site-mascot img { width: 100%; max-width: 430px; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)); }
.site-header .custom-logo-link { display: inline-block; margin-bottom: 12px; }
.site-header .custom-logo { max-height: 110px; width: auto; }

.site-title {
	margin: 0;
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.1;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.site-title a { color: var(--lfs-accent); }
.site-title a:hover { color: #ffffff; text-decoration: none; }
.site-description {
	max-width: 34em;
	margin: 26px 0 0;
	color: var(--lfs-accent);
	font-size: 1.05rem;
	line-height: 1.35;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.site-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
}

.panel {
	position: relative;
	padding: 16px 22px 24px;
	border: 1px solid var(--lfs-line);
	border-radius: var(--lfs-radius);
	background-color: var(--lfs-panel);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 12px 12px;
	box-shadow:
		0 0 0 4px rgba(255, 255, 255, 0.04),
		0 0 26px rgba(120, 150, 170, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.panel::before {
	content: "";
	position: absolute; top: -1px; left: 26px; right: 26px; height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, #11457e 18%, #ffffff 50%, #d7141a 82%, transparent);
	opacity: 0.8;
}

/* ---------- Navigation ---------- */

.main-navigation {
	margin: 0 -8px 14px;
	padding: 4px 8px;
	border-radius: 10px;
	background: linear-gradient(#1b1e1f, #0d0e0f);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.main-navigation ul { margin: 0; padding: 0; list-style: none; }
.main-navigation > div > ul,
.main-navigation > ul { display: flex; flex-wrap: wrap; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	padding: 8px 15px;
	color: var(--lfs-accent);
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 7px;
}
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_ancestor > a {
	color: #ffffff;
	background: rgba(192, 255, 62, 0.12);
	box-shadow: inset 0 -2px 0 #d7141a;
	text-decoration: none;
}
.main-navigation ul ul {
	position: absolute; top: 100%; left: 0; z-index: 50;
	display: none; min-width: 220px; padding: 6px;
	border: 1px solid var(--lfs-line); border-radius: 10px;
	background: #101213; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}
.main-navigation ul ul ul { top: 0; left: 100%; }
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { display: block; }
.main-navigation ul ul a { font-weight: 400; }

.menu-toggle {
	display: none;
	width: 100%;
	padding: 9px 12px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--lfs-accent);
	font: 700 1rem Tahoma, Verdana, sans-serif;
	text-align: left;
	cursor: pointer;
}
.menu-toggle::before { content: "\2630"; margin-right: 0.6em; }

.welcome-note {
	margin: 18px 0 26px;
	color: var(--lfs-accent);
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	text-align: center;
}
.welcome-note p { margin: 0; }

/* ---------- Content ---------- */

.entry { margin: 0 0 34px; }
.entry + .entry { padding-top: 26px; border-top: 1px solid var(--lfs-line); }

.entry-title,
.page-title,
.widget-title,
.widget h2,
.comments-title,
.comment-reply-title {
	position: relative;
	margin: 0 0 12px;
	padding-left: 28px;
	color: #ffffff;
	font-family: Tahoma, Verdana, "Trebuchet MS", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.2;
}
.entry-title::before,
.page-title::before,
.widget-title::before,
.widget h2::before,
.comments-title::before,
.comment-reply-title::before {
	content: "";
	position: absolute; left: 0; top: 0.1em;
	width: 0.9em; height: 0.9em;
	background: url(images/flag-cz.svg) center / contain no-repeat;
	filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.25));
}
.entry-title a { color: #ffffff; }
.entry-title a:hover { color: var(--lfs-accent); text-decoration: none; }

.entry-meta { margin: -4px 0 14px; color: var(--lfs-muted); font-size: 0.85rem; }
.entry-meta a { color: var(--lfs-muted); text-decoration: underline; }
.entry-meta a:hover { color: var(--lfs-accent); }

.entry-content::after { content: ""; display: table; clear: both; }
.entry-content img,
.wp-post-image { border: 1px solid #cfd3d5; }
.post-thumbnail { display: block; margin: 0 0 14px; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.1em; padding-left: 1.6em; }
.entry-content li::marker { color: var(--lfs-accent); }

.alignleft { float: left; margin: 0.3em 1.4em 0.8em 0; }
.alignright { float: right; margin: 0.3em 0 0.8em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption,
figcaption { margin: 0.3em 0 0; color: #e8e8e8; font-size: 0.9rem; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; margin: 0 0 1.2em; }
.gallery-item { margin: 0; text-align: center; }
.gallery br { display: none; }
.sticky .entry-title::after { content: " \2605"; color: var(--lfs-accent); }
.bypostauthor > .comment-body { border-color: var(--lfs-accent); }

.more-link,
.button,
button,
input[type="submit"],
.wp-block-button__link {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #86b322;
	border-radius: 8px;
	background: linear-gradient(#cfff66, #8fc41f);
	color: #0b1200;
	font: 700 0.9rem Tahoma, Verdana, sans-serif;
	cursor: pointer;
}
.more-link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover { background: #ffffff; color: #000000; text-decoration: none; }
.menu-toggle,
.menu-toggle:hover { border: 0; background: transparent; color: var(--lfs-accent); }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
input[type="search"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	padding: 8px 10px;
	border: 1px solid #3a4043;
	border-radius: 7px;
	background: #111314;
	color: #ffffff;
	font: inherit;
}
input::placeholder,
textarea::placeholder { color: #6f8f97; }
label { display: block; margin-bottom: 0.3em; }

.pagination,
.post-navigation { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--lfs-line); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.pagination .nav-links { justify-content: center; }
.page-numbers { padding: 5px 11px; border: 1px solid var(--lfs-line); border-radius: 7px; }
.page-numbers.current { background: var(--lfs-accent); color: #000000; font-weight: 700; }

/* ---------- Sidebar ---------- */

.search-form { display: flex; gap: 8px; margin: 4px 0 20px; }
.search-form label { flex: 1; margin: 0; }
.widget { margin: 0 0 24px; }
.widget:last-child { margin-bottom: 0; }
.widget-title,
.widget h2 { font-size: 1.15rem; padding-left: 24px; margin-bottom: 8px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul ul { padding-left: 14px; }
.widget li { padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); line-height: 1.4; }
.widget li:last-child { border-bottom: 0; }
.widget select { margin-top: 4px; }

/* ---------- Comments ---------- */

.comments-area { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--lfs-line); }
.comment-list,
.comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { padding-left: 22px; }
.comment-body { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--lfs-line); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.comment-author .avatar { float: left; margin-right: 10px; border-radius: 50%; }
.comment-metadata { color: var(--lfs-muted); font-size: 0.85rem; margin-bottom: 8px; }
.comment-metadata a { color: var(--lfs-muted); }

/* ---------- Footer ---------- */

.site-footer { margin-top: 26px; padding: 16px 20px; color: var(--lfs-muted); font-size: 0.85rem; text-align: center; }
.site-footer strong { color: #ffffff; }
.footer-flag { width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; border: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
	.site { padding: 0 12px 20px; }
	.site-columns { grid-template-columns: minmax(0, 1fr); }
	.flag-bar { margin: 0 -12px; }
	.site-header { min-height: 0; padding: 22px 8px 14px; gap: 12px; }
	.site-header.has-original-art { padding: 22px 8px 205px; }
	.site-header.has-original-art::before { background-size: auto 215px; background-position: right -14px bottom; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
	.site-header.has-original-art .site-branding { max-width: none; }
	.site-mascot { flex-basis: 38%; }
	.site-title { font-size: 2rem; }
	.site-description { margin-top: 14px; }
	.panel { padding: 12px 14px 20px; }
	.menu-toggle { display: block; }
	.main-navigation > div > ul,
	.main-navigation > ul { display: none; }
	.main-navigation.toggled > div > ul,
	.main-navigation.toggled > ul { display: block; }
	.main-navigation ul ul { position: static; display: block; min-width: 0; padding: 0 0 0 16px; border: 0; background: none; box-shadow: none; }
	.alignleft,
	.alignright { float: none; display: block; margin: 0 auto 1em; }
}

@media (max-width: 520px) {
	.site-header { flex-direction: column; align-items: flex-start; }
	.site-mascot { flex-basis: auto; align-self: center; width: 78%; }
}

@media print {
	body { background: #ffffff; color: #000000; }
	.main-navigation, .site-sidebar, .comment-respond, .site-mascot, .flag-bar, .site-header::before { display: none; }
	.site-columns { display: block; }
	.panel { border: 0; box-shadow: none; background: none; }
	a, .site-title a, .entry-title, .entry-title a, h3, h4 { color: #000000; }
}
