/*
Theme Name:   Green Hill Web – Moderní
Theme URI:    https://ok2zil.com/
Description:  Podřízená šablona Kadence pro web OK2ZIL & OK2ZBO. Verze 2: olivová paleta (teplá bílá, antracit, tlumená olivová), čistá hlavička s logem na šířku, světle olivový pruh s nadpisem a krajinkou, úvodní stránka z bloků (ilustrace, nejnovější články, rubriky), technická stránka článku (tabulky, poznámky, kód) a patička s kopci a „73!“.
Author:       OK2ZIL
Template:     kadence
Version:      2.1.7
Requires at least: 6.3
Text Domain:  green-hill-moderni
License:      GNU General Public License v3 or later
*/

/* ---------- Písmo Inter (variabilní, vlastní hosting) ---------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   BARVY A ZÁKLAD
   teplá bílá #F5F5F1 · antracit #202321 · olivová #505A38
   ===================================================================== */
body {
	--ghw-bg: #F5F5F1;        /* pozadí webu (= obloha úvodní ilustrace) */
	--ghw-ink: #202321;       /* nadpisy */
	--ghw-text: #2B2F2A;      /* text */
	--ghw-muted: #6B705F;     /* popisky, data */
	--ghw-olive: #505A38;     /* akcent, tlačítka, odkazy */
	--ghw-olive-dark: #3A4229;
	--ghw-olive-soft: #8E9870;
	--ghw-tint: #E9EBE0;      /* světle olivové plochy, pilulky, pruh s nadpisem */
	--ghw-tint-2: #F0F1EA;    /* zebra v tabulkách */
	--ghw-line: #E0E2D6;      /* linky a rámečky */
	--ghw-card: #FFFFFF;      /* karty */
	--ghw-forest: #303722;    /* patička */

	--global-palette1: #505A38;
	--global-palette2: #3A4229;
	--global-palette3: #202321;
	--global-palette4: #2B2F2A;
	--global-palette5: #4F544A;
	--global-palette6: #6B705F;
	--global-palette7: #E9EBE0;
	--global-palette8: #F5F5F1;
	--global-palette9: #FFFFFF;
	--global-palette-highlight: var(--global-palette1);
	--global-palette-highlight-alt: var(--global-palette2);
	--global-palette-highlight-alt2: var(--global-palette9);
	--global-palette-btn-bg: var(--global-palette1);
	--global-palette-btn-bg-hover: var(--global-palette2);
	--global-palette-btn: #FFFFFF;
	--global-palette-btn-hover: #FFFFFF;
	/* jedna šířka pro hlavičku, obsah i patičku */
	--global-content-width: 1290px;
	--global-content-narrow-width: 1290px;
	--global-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--global-heading-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--global-primary-nav-font-family: "Inter", system-ui, sans-serif;
	background: var(--ghw-bg);
	color: var(--ghw-text);
	font-family: var(--global-body-font-family);
}
body, button, input, select, textarea {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Inter", system-ui, sans-serif;
	color: var(--ghw-ink);
	letter-spacing: -0.02em;
}
body .site, body #wrapper, body #inner-wrap { background: transparent; }

/* =====================================================================
   HLAVIČKA – logo na šířku, menu, lupa, tenká linka
   ===================================================================== */
body #masthead,
body #masthead .site-header-wrap,
body .site-main-header-wrap .site-header-row-container-inner {
	background: var(--ghw-bg) !important;
}
body .site-main-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid var(--ghw-line);
}
body #main-header .site-main-header-inner-wrap { min-height: 80px; }
body .site-branding .logo-icon { display: none; }
body .site-branding img.custom-logo:not([src]),
body .site-branding img.custom-logo[src=""] { display: none; }
body .site-branding,
body .site-branding a.brand {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap;
	align-items: center;
	text-decoration: none;
}
/* ikonka kopců + název + „GREEN HILL WEB“ (funguje i v náhledu Customizeru) */
body .site-branding .site-title-wrap {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
}
body .site-branding .site-title-wrap::before {
	content: "";
	grid-row: 1 / span 2;
	width: 56px;
	height: 25px;
	background: url("images/logo-kopce.svg") no-repeat center / contain;
}
body .site-branding .site-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ghw-ink);
}
body .site-branding .site-title-wrap::after {
	content: "GREEN HILL WEB";
	grid-column: 2;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.32em;
	color: var(--ghw-muted);
}
body .site-branding .site-description { display: none; }

/* menu */
body #main-header .main-navigation .primary-menu-container > ul > li > a {
	position: relative;
	font-size: 15px;
	font-weight: 500;
	color: var(--ghw-text);
	padding: 10px 13px;
	background: transparent;
}
body #main-header .main-navigation .primary-menu-container > ul > li > a:hover {
	color: var(--ghw-olive);
}
body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a {
	color: var(--ghw-ink);
	font-weight: 600;
}
body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--ghw-olive);
}
body .header-navigation .header-menu-container ul ul.sub-menu {
	background: var(--ghw-card);
	border: 1px solid var(--ghw-line);
	border-radius: 12px;
	padding: 6px;
	box-shadow: 0 12px 30px rgba(32, 35, 33, 0.08);
}
body .header-navigation .header-menu-container ul ul li.menu-item > a {
	color: var(--ghw-text);
	border-radius: 8px;
	border-bottom: 0;
	font-size: 14.5px;
}
body .header-navigation .header-menu-container ul ul li.menu-item > a:hover {
	background: var(--ghw-tint);
	color: var(--ghw-ink);
}
/* lupa (prvek „Search“ v hlavičce Kadence) */
body .search-toggle-open { color: var(--ghw-ink); }
body .search-toggle-open:hover { color: var(--ghw-olive); }
body .search-toggle-open .search-toggle-icon svg { width: 21px; height: 21px; }
body #search-drawer .drawer-inner { background: rgba(32, 35, 33, 0.97); }
/* mobilní menu */
body #mobile-drawer .drawer-inner { background: var(--ghw-forest); }
/* 2.0.21: aktivní položka v draweru nesmí zmizet (tmavý text na tmavém pozadí) */
body #mobile-drawer .mobile-navigation li.current-menu-item > a,
body #mobile-drawer .mobile-navigation li.current-menu-item > .drawer-nav-drop-wrap > a,
body #mobile-drawer .mobile-navigation li.current-menu-ancestor > a,
body #mobile-drawer .mobile-navigation li.current-menu-ancestor > .drawer-nav-drop-wrap > a { color: #fff; font-weight: 700; }
body .menu-toggle-open { color: var(--ghw-ink); }

/* =====================================================================
   PRUH S NADPISEM (stránky, rubriky i články) – světle olivový s krajinkou
   ===================================================================== */
body .entry-hero .entry-hero-container-inner {
	background: var(--ghw-tint);
	position: relative;
	overflow: hidden;
	border-bottom: 0;
}
body .entry-hero .hero-section-overlay { display: none; }
body .entry-hero.page-hero-section .entry-header,
body .entry-hero .entry-header {
	min-height: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
	padding: 34px 0 38px;
	max-width: min(64%, 860px);
}
body .entry-hero .entry-title {
	margin: 0;
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.14;
	color: var(--ghw-ink);
}
body .entry-hero .entry-meta {
	margin-top: 14px;
	font-size: 14px;
	color: var(--ghw-muted);
}
body .entry-hero .entry-meta .posted-by,
body .entry-hero .entry-meta .updated { display: none; }
body .entry-hero .entry-meta > span::before,
body .entry-hero .entry-meta > span::after { display: none !important; }
body .entry-hero .archive-description,
body .entry-hero .archive-description p { color: var(--ghw-muted); margin-top: 8px; }
body .content-area { margin-top: 2.5rem; }

/* drobečková navigace (vypisuje ji šablona, cesta NAD nadpisem) */
.ghw-bc { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }
.ghw-bc[hidden] { display: none; }
.ghw-bc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.ghw-bc li { display: inline-flex; align-items: center; color: var(--ghw-text); min-width: 0; }
.ghw-bc li::after { content: "›"; color: #9A9E90; margin: 0 8px; }
.ghw-bc a { color: var(--ghw-text); font-weight: 500; text-decoration: none; }
.ghw-bc a:hover { color: var(--ghw-olive); text-decoration: underline; text-underline-offset: 3px; }
/* drobečky nahrazují rubriky nad nadpisem */
body .entry-header.ghw-has-bc .entry-taxonomies { display: none; }
body .single-entry .entry-header .ghw-bc { margin-bottom: 14px; }

@media (max-width: 1024px) {
	body .entry-hero .entry-header { max-width: 72%; }
}
@media (max-width: 767px) {
	body .entry-hero .entry-hero-container-inner { background-image: none; }
	body .entry-hero .entry-header { max-width: none; padding: 22px 0 26px; }
	body .entry-hero .entry-title { font-size: 28px; }
}

/* =====================================================================
   OBSAH ČLÁNKU A STRÁNEK
   ===================================================================== */
body.content-style-boxed .content-bg.single-entry,
body .content-bg.single-entry {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
body .single-entry .entry-content-wrap { padding: 0; }
/* nadpis článku, když je v obsahu (záloha, pokud není nastaven pruh nad obsahem) */
body .single-entry .entry-header .entry-title {
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.14;
	color: var(--ghw-ink);
}
body .entry-meta { color: var(--ghw-muted); }

body .single-content {
	font-size: 18px;
	line-height: 1.7;
	color: var(--ghw-text);
}
body .single-content > :first-child { margin-top: 0; }
body .single-content h2 {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 1.9em 0 0.6em;
}
body .single-content h3 {
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.6em 0 0.5em;
}
body .single-content p a,
body .single-content li:not(.wp-block-post) > a,
body .single-content td a,
body .single-content figcaption a {
	color: var(--ghw-olive);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body .single-content p a:hover,
body .single-content li:not(.wp-block-post) > a:hover,
body .single-content td a:hover { color: var(--ghw-olive-dark); text-decoration-thickness: 2px; }
body .ghw-section-head p a, body .ghw-tile a { text-decoration-thickness: 1px; }
body .single-content figure img,
body .single-content .wp-block-image img { border-radius: 14px; }
body .single-content figcaption,
body .single-content .wp-element-caption {
	margin-top: 10px;
	color: var(--ghw-muted);
	font-size: 14px;
	font-style: italic;
	text-align: left;
}
body .single-content hr,
body .single-content .wp-block-separator { border: 0; border-top: 1px solid var(--ghw-line); opacity: 1; }
body .single-content blockquote:not(.is-style-ghw-poznamka) {
	border-left: 3px solid var(--ghw-olive-soft);
	padding-left: 20px;
	color: var(--ghw-text);
}

/* --- tabulky: olivová hlavička, střídavé řádky, tučný první sloupec --- */
body .single-content .wp-block-table { margin: 1.8em 0; overflow-x: auto; }
body .single-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ghw-line);
	border-radius: 12px;
	overflow: hidden;
	background: var(--ghw-card);
	font-size: 15px;
	line-height: 1.45;
}
body .single-content table th,
body .single-content table td {
	border: 0 !important;
	border-bottom: 1px solid var(--ghw-line) !important;
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}
body .single-content table tr:last-child > td { border-bottom: 0 !important; }
body .single-content table thead { border: 0 !important; }
body .single-content table th,
body .single-content table thead td {
	background: var(--ghw-tint);
	color: var(--ghw-ink);
	font-weight: 700;
	font-size: 14px;
}
body .single-content table tbody tr:nth-child(even) > td { background: var(--ghw-tint-2); }
body .single-content table tbody td:first-child { font-weight: 600; color: var(--ghw-ink); }
body .single-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: transparent; }
body .single-content .wp-block-table figcaption { margin-top: 10px !important; margin-bottom: 0; }

/* --- poznámka: styl bloku „Poznámka“ (Skupina, Citace, Odstavec) --- */
body .single-content .is-style-ghw-poznamka,
body .editor-styles-wrapper .is-style-ghw-poznamka {
	position: relative;
	margin: 1.8em 0;
	padding: 18px 22px 18px 64px;
	background: var(--ghw-tint);
	border: 0;
	border-left: 4px solid var(--ghw-olive);
	border-radius: 0 12px 12px 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ghw-text);
	font-style: normal;
}
body .single-content .is-style-ghw-poznamka::before,
body .editor-styles-wrapper .is-style-ghw-poznamka::before {
	content: "i";
	position: absolute;
	left: 20px;
	top: 18px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ghw-olive);
	color: #FFFFFF;
	font: 700 15px/26px Georgia, "Times New Roman", serif;
	text-align: center;
}
body .single-content .is-style-ghw-poznamka > * { margin-top: 0; margin-bottom: 0.4em; }
body .single-content .is-style-ghw-poznamka > :last-child { margin-bottom: 0; }
body .single-content .is-style-ghw-poznamka strong:first-child,
body .single-content .is-style-ghw-poznamka h3,
body .single-content .is-style-ghw-poznamka h4 { font-size: 16px; font-weight: 700; color: var(--ghw-ink); margin: 0 0 4px; }
body .single-content blockquote.is-style-ghw-poznamka p { font-size: 16px; font-style: normal; }
body .single-content blockquote.is-style-ghw-poznamka cite { display: none; }

/* --- blok kódu / nastavení + tlačítko „kopírovat“ --- */
body .single-content pre,
body .single-content .wp-block-code,
body .single-content .wp-block-preformatted {
	position: relative;
	margin: 1.6em 0;
	padding: 18px 56px 18px 20px;
	background: #ECEEE5;
	border: 1px solid var(--ghw-line);
	border-radius: 12px;
	color: var(--ghw-text);
	font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	white-space: pre;
	overflow-x: auto;
}
body .single-content pre code,
body .single-content .wp-block-code code { background: none; padding: 0; font: inherit; color: inherit; }
body .single-content :not(pre) > code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--ghw-tint);
	font-size: 0.88em;
}
.ghw-copy {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--ghw-line);
	border-radius: 8px;
	background: var(--ghw-card);
	color: var(--ghw-muted);
	cursor: pointer;
	box-shadow: none;
}
.ghw-copy:hover, .ghw-copy:focus-visible { color: var(--ghw-olive); border-color: var(--ghw-olive-soft); background: var(--ghw-card); }
.ghw-copy svg { width: 16px; height: 16px; }
.ghw-copy.is-done { color: var(--ghw-olive); }
.ghw-copy-wrap { position: relative; }

/* --- tlačítka --- */
body .wp-block-button .wp-block-button__link,
body .button,
body button.kb-button,
body .kb-button {
	border-radius: 8px;
	font-weight: 600;
}
body .wp-block-button.is-style-outline > .wp-block-button__link {
	background: var(--ghw-bg);
	color: var(--ghw-ink);
	border: 1.5px solid #A8AC9C;
}
body .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--ghw-olive);
	color: var(--ghw-olive);
	background: transparent;
}

/* =====================================================================
   POD ČLÁNKEM – štítky, související články
   ===================================================================== */
body .single-entry .entry-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ghw-line); }
body .entry-footer .tags-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body .entry-footer .tags-label {
	position: static !important;
	clip: auto !important;
	clip-path: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 10px 0 0 !important;
	overflow: visible !important;
	white-space: nowrap;
	font-size: 0 !important;
	color: var(--ghw-muted);
}
body .entry-footer .tags-label::before {
	content: "Štítky";
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
body .entry-footer .tag-hash { display: none; }
body .entry-tags a.tag-link {
	margin: 0 !important;
	background: var(--ghw-tint) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 6px 15px !important;
	color: var(--ghw-text) !important;
	font-size: 14px !important;
	font-weight: 500;
	text-decoration: none !important;
	transition: background-color .15s, color .15s;
}
body .entry-tags a.tag-link:hover,
body .entry-tags a.tag-link:focus-visible { background: var(--ghw-olive) !important; color: #FFFFFF !important; }

/* předchozí / další článek */
body .post-navigation { border-top: 1px solid var(--ghw-line); border-bottom: 1px solid var(--ghw-line); }
body .post-navigation .post-navigation-sub small { color: var(--ghw-muted); letter-spacing: .12em; }
body .post-navigation a { color: var(--ghw-ink); }
body .post-navigation a:hover { color: var(--ghw-olive); }

/* související články */
body .entry-related { background: transparent; margin-top: 1rem; }
body .entry-related-inner.content-container.site-container {
	max-width: var(--global-content-width);
	padding-left: var(--global-content-edge-padding, 1.5rem);
	padding-right: var(--global-content-edge-padding, 1.5rem);
}
body .entry-related .entry-related-inner-content { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; width: auto !important; }
body .entry-related-title,
body .entry-related h2.entry-related-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--ghw-ink);
	text-align: left;
}
body .entry-related .entry-related-carousel { padding-left: 52px; padding-right: 52px; }
body .entry-related-carousel .splide__track { overflow: hidden; }
body .entry-related-carousel .splide__arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ghw-card);
	border: 1px solid var(--ghw-line);
	color: var(--ghw-ink);
	opacity: 1;
	box-shadow: none;
}
body .entry-related-carousel .splide__arrow svg { fill: currentColor; width: 14px; height: 14px; }
body .entry-related-carousel .splide__arrow:hover { border-color: var(--ghw-olive-soft); color: var(--ghw-olive); }
body .entry-related-carousel .splide__arrow--prev { left: 0; }
body .entry-related-carousel .splide__arrow--next { right: 0; }
body .entry-related-carousel .splide__pagination__page { background: #D2D5C6; opacity: 1; }
body .entry-related-carousel .splide__pagination__page.is-active { background: var(--ghw-olive); transform: none; }

/* =====================================================================
   KARTY ČLÁNKŮ – výpisy rubrik, související, úvodní stránka
   ===================================================================== */
body .content-bg.loop-entry,
body .entry-related .content-bg.loop-entry {
	background: var(--ghw-card);
	border: 1px solid var(--ghw-line);
	border-radius: 14px;
	box-shadow: none;
	overflow: hidden;
}
body .loop-entry .post-thumbnail { margin: 0; border-radius: 0; }
body .loop-entry .entry-content-wrap { padding: 20px 22px 22px; }
body .loop-entry .entry-taxonomies { margin-bottom: 10px; font-size: 0; line-height: 1; }
body .loop-entry .entry-taxonomies .category-links { font-size: 0; display: flex; flex-wrap: wrap; gap: 6px; }
body .loop-entry .entry-taxonomies a,
body .wp-block-post-terms a,
body .ghw-pill {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--ghw-tint);
	color: var(--ghw-olive-dark) !important;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
}
body .loop-entry .entry-taxonomies a:hover,
body .wp-block-post-terms a:hover { background: var(--ghw-olive); color: #FFFFFF !important; }
body .loop-entry .entry-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
}
body .loop-entry .entry-title a { color: var(--ghw-ink); text-decoration: none; }
body .loop-entry .entry-title a:hover { color: var(--ghw-olive); }
body .loop-entry .entry-meta { font-size: 13.5px; }
body .loop-entry .entry-meta .posted-by,
body .loop-entry .entry-meta .updated { display: none; }
body .loop-entry .entry-meta > span::before,
body .loop-entry .entry-meta > span::after { display: none !important; }
body .loop-entry .entry-summary {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ghw-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body .loop-entry .entry-summary p { margin: 0; }
body .entry-related .loop-entry .entry-summary { -webkit-line-clamp: 2; }
body .loop-entry .entry-footer .entry-actions { display: none; }
body .loop-entry .post-more-link { color: var(--ghw-olive); font-weight: 600; text-decoration: none; }
/* stránkování */
body .pagination .page-numbers { border-radius: 8px; border-color: var(--ghw-line); color: var(--ghw-text); }
body .pagination .page-numbers.current { background: var(--ghw-olive); border-color: var(--ghw-olive); color: #FFFFFF; }

/* boční lišta (pokud ji zapneš) bez rámečků */
body #secondary .widget { margin-bottom: 32px; }
body #secondary .widget-title,
body #secondary .widget h2,
body #secondary .widget .wp-block-heading {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ghw-muted);
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ghw-line);
	margin: 0 0 12px;
}

/* ikonka „upravit“ (vidí jen přihlášený) */
body .post-edit-link,
body a[class*="edit-link"] { color: var(--ghw-olive); }
body .post-edit-link svg { fill: currentColor; }

/* =====================================================================
   ÚVODNÍ STRÁNKA (vzor bloků „OK2ZIL – úvodní stránka“)
   ===================================================================== */
body .ghw-front .single-content,
body .ghw-front .entry-content { margin: 0; }
body.ghw-front .content-area { margin-top: 0; margin-bottom: 0; }
body.ghw-front .entry-content-wrap { padding: 0 !important; }

/* úvodní sekce s ilustrací */
body .ghw-hero {
	position: relative;
	margin-top: 0 !important;
	margin-bottom: 0;
	padding: clamp(48px, 6vw, 92px) var(--global-content-edge-padding, 1.5rem) 0 !important;
	/* výška podle šířky obrazovky; ilustrace je vlevo prodloužená,
	   takže vyplní celou šířku i na širokém monitoru (ořízne se jen zleva) */
	height: clamp(470px, calc(100vw / 2.076), 780px);
	box-sizing: border-box;
	background: var(--ghw-bg) url("images/uvod.webp") no-repeat right bottom / auto 100%;
	display: flex;
	flex-direction: column;
}
body .ghw-hero > * {
	width: 100%;
	max-width: calc(var(--global-content-width) - 2 * var(--global-content-edge-padding, 1.5rem));
	margin-left: auto !important;
	margin-right: auto !important;
}
body .ghw-hero .ghw-eyebrow {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ghw-olive);
}
body .ghw-hero h1,
body .ghw-hero .ghw-hero-title {
	margin-top: 0;
	margin-bottom: 0;
	font-size: clamp(38px, 4.4vw, 60px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.06;
	color: var(--ghw-ink);
}
body .ghw-hero .ghw-hero-title + * { margin-top: 0 !important; }
body .ghw-hero .ghw-hero-lead {
	margin: 18px auto 0 !important;
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.5;
	color: var(--ghw-text);
}
body .ghw-hero .ghw-hero-lead,
body .ghw-hero .wp-block-buttons { max-width: calc(var(--global-content-width) - 2 * var(--global-content-edge-padding, 1.5rem)); }
body .ghw-hero .ghw-hero-lead { padding-right: max(0px, calc(100% - 660px)); box-sizing: border-box; }
body .ghw-hero .wp-block-buttons { margin-top: 30px !important; gap: 12px; }
body .ghw-hero .wp-block-button__link { padding: 14px 24px; font-size: 16px; }

/* sekce na šířku obsahu (stránka je „na celou šířku“) */
body .ghw-section {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--global-content-width);
	margin: clamp(48px, 6vw, 80px) auto 0 !important;
	padding-left: var(--global-content-edge-padding, 1.5rem);
	padding-right: var(--global-content-edge-padding, 1.5rem);
}
body:not(.ghw-front) .ghw-section { padding-left: 0; padding-right: 0; }
body.ghw-front .ghw-section:last-child { margin-bottom: clamp(16px, 2vw, 24px) !important; }
/* nadpis sekce + odkaz vpravo */
body .ghw-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 24px;
}
body .ghw-section-head h2 {
	margin: 0;
	font-size: clamp(28px, 2.6vw, 36px);
	font-weight: 800;
	letter-spacing: -0.03em;
}
body .ghw-section-head p { margin: 0; }
body .ghw-section-head p a {
	color: var(--ghw-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: #A8AC9C;
	text-underline-offset: 5px;
}
body .ghw-section-head p a:hover { color: var(--ghw-olive); text-decoration-color: currentColor; }

/* karty nejnovějších článků (blok Smyčka dotazu) */
body .ghw-latest .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
body .ghw-latest .wp-block-post-template > li {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	background: var(--ghw-card);
	border: 1px solid var(--ghw-line);
	border-radius: 14px;
	overflow: hidden;
	width: auto !important;
}
body .ghw-latest .wp-block-post-featured-image { margin: 0 !important; }
body .ghw-latest .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
}
body .ghw-latest .ghw-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
	gap: 0;
}
body .ghw-latest .ghw-card-body > * { margin: 0 !important; }
body .ghw-latest .wp-block-post-terms { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0; }
body .ghw-latest .wp-block-post-terms__separator { display: none; }
body .ghw-latest .wp-block-post-title {
	margin-top: 12px !important;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
}
body .ghw-latest .wp-block-post-title a { color: var(--ghw-ink); text-decoration: none; }
body .ghw-latest .wp-block-post-title a:hover { color: var(--ghw-olive); }
body .ghw-latest .wp-block-post-excerpt {
	margin-top: 10px !important;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ghw-muted);
}
body .ghw-latest .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body .ghw-latest .wp-block-post-excerpt__more-text { display: none; }
body .ghw-latest .wp-block-post-date {
	margin-top: auto !important;
	padding-top: 16px;
	font-size: 13.5px;
	color: var(--ghw-muted);
}

/* dlaždice rubrik */
body .ghw-tiles {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px !important;
}
body .ghw-tiles > * { margin: 0 !important; }
body .ghw-tile {
	position: relative;
	padding: 22px 56px 22px 24px !important;
	background: var(--ghw-tint);
	border-radius: 14px;
	transition: background-color .15s;
}
body .ghw-tile::before {
	content: "";
	display: block;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	background: no-repeat left center / contain;
}
body .ghw-tile::after {
	content: "→";
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	color: var(--ghw-ink);
	transition: transform .15s;
}
body .ghw-tile:hover { background: #E1E4D5; }
body .ghw-tile:hover::after { transform: translate(4px, -50%); }
body .ghw-tile h3 { margin: 0 !important; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
body .ghw-tile h3 a { color: var(--ghw-ink); text-decoration: none; }
/* celá dlaždice je odkaz */
body .ghw-tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
body .ghw-tile p { margin: 4px 0 0 !important; font-size: 14.5px; color: var(--ghw-muted); }
body .ghw-ico-anteny::before    { background-image: url("images/ico-anteny.svg"); }
body .ghw-ico-technika::before  { background-image: url("images/ico-technika.svg"); }
body .ghw-ico-digitalni::before { background-image: url("images/ico-digitalni.svg"); }
body .ghw-ico-zavody::before    { background-image: url("images/ico-zavody.svg"); }
body .ghw-ico-poslech::before   { background-image: url("images/ico-poslech.svg"); }
body .ghw-ico-galerie::before   { background-image: url("images/ico-galerie.svg"); }
body .ghw-front-end { height: clamp(40px, 5vw, 72px); }

@media (max-width: 1024px) {
	body .ghw-latest .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	body .ghw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body .ghw-hero {
		height: auto;
		padding-bottom: 74vw !important;
		background: var(--ghw-bg) url("images/uvod-m.webp") no-repeat 82% bottom / 155% auto;
	}
	body .ghw-hero .ghw-hero-lead { padding-right: 0; }
	body .ghw-hero .ghw-eyebrow { font-size: 11.5px; letter-spacing: .14em; }
	body .ghw-latest .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; }
	body .ghw-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   PATIČKA – kopce se smrky, citát a „73!“
   ===================================================================== */
body #colophon { background: transparent; }
body #colophon .site-footer-wrap {
	position: relative;
	margin-top: clamp(56px, 7vw, 96px);
	padding-top: 150px;
	background: var(--ghw-forest);
}
body #colophon .site-footer-wrap::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 151px;
	background: var(--ghw-bg) url("images/paticka-kopce.svg") repeat-x center bottom / auto 150px;
	pointer-events: none;
}
body #colophon .site-footer-row-container-inner { background: transparent; border: 0; }
body #colophon .site-container {
	max-width: var(--global-content-width);
	padding-left: var(--global-content-edge-padding, 1.5rem);
	padding-right: var(--global-content-edge-padding, 1.5rem);
}
body #colophon .site-footer-section,
body #colophon .site-info { justify-content: flex-start !important; text-align: left !important; }
body #colophon .site-info,
body #colophon .footer-html { width: 100%; }
body #colophon .footer-html-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	width: 100%;
	padding: 8px 0 34px;
}
body #colophon .footer-html-inner .ghw-quote {
	flex: 1 1 320px;
	margin: 0;
	font-size: clamp(18px, 1.7vw, 23px);
	font-style: italic;
	font-weight: 400;
	line-height: 1.35;
	color: #E8EADF;
}
body #colophon .footer-html-inner p:not(.ghw-quote) {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #C9CDB9;
}
body #colophon .footer-html-inner p a { color: #E8EADF; }
body #colophon .footer-html-inner::after {
	content: "73!";
	font-size: clamp(40px, 4vw, 54px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #F5F5F1;
}
@media (max-width: 767px) {
	body #colophon .site-footer-wrap { padding-top: 96px; }
	body #colophon .site-footer-wrap::before { height: 97px; background-size: auto 96px; }
	body #colophon .footer-html-inner .ghw-quote { flex-basis: 100%; }
}

/* =====================================================================
   GALERIE (FooGallery a stránka Galerie)
   ===================================================================== */
body .foogallery .fg-item-inner {
	border: 0 !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	overflow: hidden;
}
body .foogallery .fg-thumb,
body .foogallery .fg-image-wrap,
body .foogallery .fg-image { border: 0 !important; border-radius: 0 !important; }
body .single-content .foogallery img { border-radius: 0; }

body .foogallery-album-header h2,
body .foogallery-album-header h3 { margin-top: 0.4em; margin-bottom: 0.8em; }
body .foogallery-album-header a,
body .foogallery-album-header p > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	border: 1px solid var(--ghw-line);
	border-radius: 999px;
	background: var(--ghw-card);
	color: var(--ghw-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
body .foogallery-album-header p { margin: 0 0 1rem; }
/* album: „Závody ←  Název alba“ v řádku nadpisu */
body .entry-hero .entry-title.ghw-album-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ghw-up { display: inline-flex; align-items: baseline; gap: 14px; color: var(--ghw-olive); text-decoration: none; }
.ghw-up:hover .ghw-up-t,
.ghw-up:focus-visible .ghw-up-t { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ghw-up-arrow { color: var(--ghw-olive-soft); font-weight: 600; }
.ghw-album-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--ghw-ink); }
body .foogallery-album-header.ghw-moved { display: none; }
@media (max-width: 767px) {
	.ghw-album-title { font-size: 21px; flex-basis: 100%; }
}

/* stránka Galerie (blok „Smyčka dotazu“) */
body .single-content .wp-block-post-template.is-layout-grid { column-gap: 24px !important; row-gap: 44px !important; }
body .single-content .wp-block-post-template > li.wp-block-post {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}
body .single-content .wp-block-post-template .wp-block-post-title::before { content: none !important; }
body .single-content .wp-block-post-template .wp-block-post-featured-image { margin: 0 !important; }
body .single-content .wp-block-post-template .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
}
body .single-content .wp-block-post-template .wp-block-post-title {
	margin: 12px 0 0 !important;
	padding: 0 !important;
	font-size: 20px !important;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
}
body .single-content .wp-block-post-template .wp-block-post-title a {
	display: inline;
	padding: 0;
	color: var(--ghw-ink);
	text-decoration: none;
}
body .single-content .wp-block-post-template li:hover .wp-block-post-title a { color: var(--ghw-olive); }

/* přehled alb (FooGallery album) */
body .single-content .foogallery-album-gallery-list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	column-gap: 24px !important;
	row-gap: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
}
body .single-content .foogallery-album-gallery-list .foogallery-pile-thumbnail {
	display: block !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	overflow: visible !important;
	text-decoration: none !important;
}
body .single-content .foogallery-album-gallery-list .foogallery-pile-inner > a { display: block !important; }
body .single-content .foogallery-album-gallery-list .foogallery-pile-thumbnail img {
	width: 100% !important;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 14px !important;
}
body .single-content .foogallery-album-gallery-list .foogallery-pile-thumbnail h3 {
	padding: 12px 0 0 !important;
	background: transparent !important;
	color: var(--ghw-ink) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	line-height: 1.3 !important;
	opacity: 1 !important;
}
body .single-content .foogallery-album-gallery-list .foogallery-pile-thumbnail h3::before { content: none !important; }
body .single-content .foogallery-album-gallery-list .foogallery-pile-thumbnail h3 span {
	margin-top: 4px !important;
	color: var(--ghw-muted) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
}
body .single-content .foogallery-album-gallery-list .foogallery-pile-thumbnail:hover h3 { color: var(--ghw-olive) !important; }
@media (max-width: 1024px) {
	body .single-content .foogallery-album-gallery-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 36px !important; }
}
@media (max-width: 600px) {
	body .single-content .foogallery-album-gallery-list { grid-template-columns: minmax(0, 1fr) !important; row-gap: 32px !important; }
}

/* =====================================================================
   2.0.1 – úvodní stránka: obal „inner-container“ u skupin (Kadence bez theme.json)
   a karty článků silnější než pravidla pro stránku Galerie
   ===================================================================== */
body .ghw-section-head > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	width: 100%;
}
body .ghw-section-head > .wp-block-group__inner-container > * { margin: 0; }
body .ghw-tiles:has(> .wp-block-group__inner-container) { display: block !important; }
body .ghw-tiles > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
body .ghw-tiles > .wp-block-group__inner-container > * { margin: 0 !important; }
body .ghw-tile > .wp-block-group__inner-container > * { margin-top: 0; }
body .ghw-latest .ghw-card-body > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	flex: 1;
}
body .ghw-latest .ghw-card-body > .wp-block-group__inner-container > * { margin: 0 !important; }
body .ghw-latest .ghw-card-body .wp-block-post-title { margin-top: 12px !important; }
body .ghw-latest .ghw-card-body .wp-block-post-excerpt { margin-top: 10px !important; }
body .ghw-latest .ghw-card-body .wp-block-post-date { margin-top: auto !important; }

body .single-content .ghw-latest .wp-block-post-template > li.wp-block-post {
	display: flex;
	flex-direction: column;
	background: var(--ghw-card) !important;
	border: 1px solid var(--ghw-line) !important;
	border-radius: 14px !important;
	overflow: hidden !important;
}
body .single-content .ghw-latest .wp-block-post-featured-image img {
	aspect-ratio: 16 / 10;
	border-radius: 0 !important;
}
body .single-content .ghw-latest .wp-block-post-title {
	font-size: 20px !important;
	padding: 0 !important;
}
body .single-content .ghw-latest .wp-block-post-title a { display: inline; }
/* článek bez obrázku: zástupná krajinka */
body .ghw-latest .ghw-thumb-placeholder a {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--ghw-tint) url("images/vyrez.webp") no-repeat center / cover;
}
@media (max-width: 1024px) {
	body .ghw-tiles > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body .ghw-tiles > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
}

/* 2.0.2 – výpis článků: karta bez obrázku dostane zástupnou krajinku,
   aby všechny karty v řadě vypadaly stejně */
body .content-bg.loop-entry:not(:has(.post-thumbnail))::before {
	content: "";
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--ghw-tint) url("images/vyrez.webp") no-repeat center / cover;
}
body .entry-related .content-bg.loop-entry:not(:has(.post-thumbnail))::before { aspect-ratio: 16 / 9; }
body .loop-entry .entry-header .entry-title { margin-bottom: 6px; }
body .loop-entry .entry-header .entry-meta { margin-top: 0; margin-bottom: 0; }
body .loop-entry .entry-summary { margin-top: 12px; }

/* 2.0.3 – přepínač stránek uprostřed */
body .pagination,
body .navigation.pagination,
body nav.pagination .nav-links { display: flex; justify-content: center; }
body .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body .pagination { margin-top: 2.5rem; }

/* 2.0.4 – menu se vejde na jeden řádek i na menších noteboocích */
@media (max-width: 1360px) {
	body #main-header .main-navigation .primary-menu-container > ul > li > a { padding: 10px 9px; font-size: 14.5px; }
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after { left: 9px; right: 9px; }
}
@media (max-width: 1180px) {
	body #main-header .main-navigation .primary-menu-container > ul > li > a { padding: 10px 6px; font-size: 14px; }
	body .site-branding .site-title { font-size: 18px; }
	body .site-branding .site-title-wrap::before { width: 46px; height: 21px; }
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after { left: 6px; right: 6px; }
}

/* 2.0.5 – v pruhu s nadpisem výřez z úvodní ilustrace (radioamatér u stožáru),
   vlevo ukončený svahem (2.0.6) */
body .entry-hero .entry-hero-container-inner::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	aspect-ratio: 716 / 486;
	max-width: 46%;
	background: url("images/vyrez-pruh.webp") no-repeat right bottom / cover;
	/* levý okraj jako svah kopce – ostrá zakřivená linka */
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 L34,0 C20,22 6,48 0,100 L100,100 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 L34,0 C20,22 6,48 0,100 L100,100 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
	pointer-events: none;
}
body .entry-hero .hero-container { position: relative; z-index: 1; }
body .entry-hero .entry-header { min-height: 190px !important; }
@media (max-width: 767px) {
	body .entry-hero .entry-hero-container-inner::after { display: none; }
	body .entry-hero .entry-header { min-height: 0 !important; }
}

/* 2.0.7 – vysouvací pole hledání pod lupou (místo hledání přes celou obrazovku) */
.ghw-search-wrap { position: relative; }
.ghw-search-panel {
	position: absolute;
	top: calc(100% + 14px);
	right: -6px;
	z-index: 1000;
	width: min(360px, calc(100vw - 32px));
	padding: 8px;
	background: var(--ghw-card);
	border: 1px solid var(--ghw-line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(32, 35, 33, 0.10);
	animation: ghw-drop .16s ease-out;
}
.ghw-search-panel[hidden] { display: none; }
@keyframes ghw-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ghw-search-form { display: flex; gap: 6px; margin: 0; }
.ghw-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--ghw-line);
	border-radius: 8px;
	background: var(--ghw-bg);
	color: var(--ghw-ink);
	font-size: 15px;
	box-shadow: none;
}
.ghw-search-form input[type="search"]:focus { outline: 2px solid var(--ghw-olive-soft); outline-offset: 0; border-color: var(--ghw-olive-soft); background: #FFFFFF; }
.ghw-search-form button {
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--ghw-olive);
	color: #FFFFFF;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}
.ghw-search-form button:hover { background: var(--ghw-olive-dark); }
.ghw-search-wrap.is-open .search-toggle-open { color: var(--ghw-olive); }

/* 2.0.8 – v článku se náhledový obrázek nezobrazuje nad textem
   (Kadence ho dává pod obsah a text by ležel přes obrázek);
   místo toho je vpravo v pruhu s nadpisem */
body.single .article-post-thumbnail,
body.page .article-post-thumbnail { display: none !important; } /* 2.0.20: i na stránkách */

/* =====================================================================
   2.0.9 – formuláře: komentáře a Contact Form 7 jednotně
   ===================================================================== */
.ghw-privacy-note {
	margin: 14px 0 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ghw-muted);
}
.ghw-privacy-note a { color: var(--ghw-muted); text-decoration: underline; text-underline-offset: 3px; }
.ghw-privacy-note a:hover { color: var(--ghw-olive); }
/* Akismetova věta (pokud by zůstala zapnutá) stejně nenápadně */
body .akismet_comment_form_privacy_notice { font-size: 13px; color: var(--ghw-muted); }

/* společný vzhled polí */
body .comment-form input[type="text"],
body .comment-form input[type="email"],
body .comment-form input[type="url"],
body .comment-form textarea,
body .wpcf7-form input[type="text"],
body .wpcf7-form input[type="email"],
body .wpcf7-form input[type="tel"],
body .wpcf7-form input[type="url"],
body .wpcf7-form input[type="number"],
body .wpcf7-form textarea,
body .wpcf7-form select {
	background: #FFFFFF;
	border: 1px solid #D6D9CB;
	border-radius: 8px;
	color: var(--ghw-ink);
	font-size: 16px;
	padding: 10px 12px;
	box-shadow: none;
}
body .comment-form input:focus,
body .comment-form textarea:focus,
body .wpcf7-form input:focus,
body .wpcf7-form textarea:focus,
body .wpcf7-form select:focus {
	outline: 2px solid var(--ghw-olive-soft);
	outline-offset: 0;
	border-color: var(--ghw-olive-soft);
}
body .comment-form .form-submit { margin-top: 18px; }
body .comment-notes { font-size: 13px; color: var(--ghw-muted); font-style: normal; }

/* Contact Form 7: popisek těsně nad polem, rozumné mezery */
body .wpcf7-form { max-width: 760px; }
body .wpcf7-form > p,
body .wpcf7-form label {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ghw-ink);
}
body .wpcf7-form label { display: block; }
body .wpcf7-form > p > br,
body .wpcf7-form label > br { display: none; }
body .wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
body .wpcf7-form input[type="text"],
body .wpcf7-form input[type="email"],
body .wpcf7-form input[type="tel"],
body .wpcf7-form input[type="url"],
body .wpcf7-form textarea { width: 100%; max-width: none; box-sizing: border-box; }
body .wpcf7-form textarea { min-height: 200px; height: 220px; }
body .wpcf7-form input[type="submit"],
body .wpcf7-form .wpcf7-submit {
	margin-top: 4px;
	padding: 12px 22px;
	border: 0;
	border-radius: 8px;
	background: var(--ghw-olive);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
body .wpcf7-form .wpcf7-submit:hover { background: var(--ghw-olive-dark); }
body .wpcf7-form .wpcf7-spinner { vertical-align: middle; }
/* obrázková captcha (Really Simple CAPTCHA), pokud ji ve formuláři necháš */
body .wpcf7-form .wpcf7-captchac { vertical-align: middle; margin-left: 8px; border-radius: 4px; }
body .wpcf7-form .wpcf7-form-control-wrap[data-name^="captcha"] { display: inline-block; }
body .wpcf7-form .wpcf7-form-control-wrap[data-name^="captcha"] input { width: 120px; }
/* hlášky */
body .wpcf7-not-valid-tip { font-size: 13px; font-weight: 500; color: #A65A3A; margin-top: 4px; }
body .wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	border-width: 1px;
	font-size: 15px;
}
body .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ghw-olive); background: var(--ghw-tint); color: var(--ghw-ink); }
body .wpcf7 form.invalid .wpcf7-response-output,
body .wpcf7 form.failed .wpcf7-response-output,
body .wpcf7 form.spam .wpcf7-response-output { border-color: #A65A3A; background: #F3E4DC; color: var(--ghw-ink); }
body .wpcf7-form > p.ghw-privacy-note { margin-top: 14px !important; font-size: 13px; font-weight: 400; color: var(--ghw-muted); }
body .single-content .ghw-privacy-note a { color: var(--ghw-muted); text-decoration-thickness: 1px; }

/* 2.0.10 – formulář komentářů stejně jako kontaktní formulář:
   popisky tučně nad poli, pole pod sebou, stejná šířka a tlačítko */
body .comment-respond .comment-form { max-width: 760px; }
body .comment-form .comment-input-wrap {
	display: block !important;
	grid-template-columns: none !important;
}
body .comment-form .comment-form-author,
body .comment-form .comment-form-email,
body .comment-form .comment-form-url,
body .comment-form .comment-form-comment {
	position: relative;
	display: flex !important;
	flex-direction: column-reverse;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	float: none !important;
}
body .comment-form .comment-form-author label,
body .comment-form .comment-form-email label,
body .comment-form .comment-form-url label,
body .comment-form .comment-form-comment label {
	position: static !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto;
	display: block;
	margin: 0 0 6px !important;
	padding: 0 !important;
	background: none !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ghw-ink) !important;
}
body .comment-form .comment-form-author input,
body .comment-form .comment-form-email input,
body .comment-form .comment-form-url input,
body .comment-form textarea {
	width: 100% !important;
	box-sizing: border-box;
	padding: 10px 12px !important;
}
body .comment-form textarea { min-height: 200px; height: 220px; }
body .comment-form input::placeholder,
body .comment-form textarea::placeholder { color: transparent !important; }
body .comment-form .required { color: #A65A3A; }
body .comment-form .comment-form-cookies-consent { font-size: 14px; }
body .comment-form .form-submit { margin: 4px 0 0 !important; }
body .comment-form input[type="submit"],
body .comment-form .submit {
	padding: 12px 22px !important;
	border: 0;
	border-radius: 8px !important;
	background: var(--ghw-olive);
	color: #FFFFFF;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer;
}
body .comment-form .submit:hover { background: var(--ghw-olive-dark); }
body .comment-reply-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
body .comment-notes { margin-bottom: 18px; }
body .wpcf7-form > p > label { margin: 0; }
body .wpcf7 .hidden-fields-container { display: none; border: 0; padding: 0; margin: 0; }
body .comment-form .comment-input-wrap { margin-top: 0 !important; }
body .comment-form .comment-notes,
body .comment-form .comment-notes * { font-style: normal !important; }

/* =====================================================================
   2.0.12 – přepínač jazyků GTranslate v menu: „CS · EN · RU“ vedle lupy
   ===================================================================== */
body #primary-menu > li.menu-item-gtranslate {
	display: flex;
	align-items: center;
	margin-left: 10px;
	padding-left: 12px;
	border-left: 1px solid var(--ghw-line);
}
body #primary-menu > li.menu-item-gtranslate > a.gt-current-wrapper { display: none !important; }
body #primary-menu > li.menu-item-gtranslate > ul.sub-menu,
body #mobile-menu li.menu-item-gtranslate > ul.sub-menu {
	position: static !important;
	display: flex !important;
	align-items: center;
	gap: 0;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
	clip: auto !important;
	overflow: visible !important;
	transform: none !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}
body #primary-menu li.menu-item-gtranslate-child + li.menu-item-gtranslate-child::before,
body #mobile-menu li.menu-item-gtranslate-child + li.menu-item-gtranslate-child::before {
	content: "·";
	color: #A8AC9C;
	padding: 0 2px;
}
body #primary-menu li.menu-item-gtranslate-child,
body #mobile-menu li.menu-item-gtranslate-child { display: flex; align-items: center; border: 0 !important; }
body .header-navigation .header-menu-container ul ul li.menu-item-gtranslate-child > a,
body #primary-menu li.menu-item-gtranslate-child > a {
	width: auto !important;
	padding: 6px 4px !important;
	border-radius: 4px;
	background: none !important;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--ghw-muted) !important;
}
body #primary-menu li.menu-item-gtranslate-child > a:hover,
body #mobile-menu li.menu-item-gtranslate-child > a:hover { color: var(--ghw-olive) !important; }
body #primary-menu li.menu-item-gtranslate-child > a.gt-current-lang,
body #mobile-menu li.menu-item-gtranslate-child > a.gt-current-lang { color: var(--ghw-ink) !important; }
/* mobilní menu: řádek CS · EN · RU */
body #mobile-menu li.menu-item-gtranslate > a.gt-current-wrapper { display: none !important; }
body #mobile-menu li.menu-item-gtranslate > .drawer-nav-drop-wrap > a,
body #mobile-menu li.menu-item-gtranslate > .drawer-nav-drop-wrap > button { display: none !important; }
body #mobile-menu li.menu-item-gtranslate { padding: 10px 0; }
body #mobile-menu li.menu-item-gtranslate-child > a { padding: 6px 6px !important; font-size: 15px; font-weight: 600; letter-spacing: .06em; color: #C9CDB9 !important; }
body #mobile-menu li.menu-item-gtranslate-child > a.gt-current-lang { color: #FFFFFF !important; }
body #primary-menu > li.menu-item-gtranslate > ul.sub-menu,
body #mobile-menu li.menu-item-gtranslate > ul.sub-menu { flex-direction: row !important; flex-wrap: nowrap; }
body #primary-menu li.menu-item-gtranslate-child { width: auto !important; }
/* menu i s přepínačem jazyků na jeden řádek */
body #primary-menu { flex-wrap: nowrap !important; }
body #main-header .main-navigation .primary-menu-container > ul > li > a { padding-left: 10px; padding-right: 10px; }
body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after { left: 10px; right: 10px; }
@media (max-width: 1360px) {
	body #main-header .main-navigation .primary-menu-container > ul > li > a { padding: 10px 7px; font-size: 14.5px; }
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after { left: 7px; right: 7px; }
	body #primary-menu > li.menu-item-gtranslate { margin-left: 4px; padding-left: 6px; }
}
@media (max-width: 1180px) {
	body #main-header .main-navigation .primary-menu-container > ul > li > a { padding: 10px 5px; font-size: 13.5px; }
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
	body #main-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after { left: 5px; right: 5px; }
	body .header-navigation .header-menu-container ul ul li.menu-item-gtranslate-child > a,
	body #primary-menu li.menu-item-gtranslate-child > a { font-size: 12px !important; padding: 6px 3px !important; }
}
body #main-header .main-navigation .primary-menu-container > ul > li > a { white-space: nowrap; }
@media (max-width: 1099px) {
	body #main-header .site-branding .site-title { font-size: 16px; }
	body #main-header .site-branding .site-title-wrap { column-gap: 10px; }
	body #main-header .site-branding .site-title-wrap::before { width: 38px; height: 17px; }
	body #main-header .site-branding .site-title-wrap::after { font-size: 9px; letter-spacing: 0.24em; }
	body #main-header .main-navigation .primary-menu-container > ul > li > a { padding: 10px 4px; font-size: 13px; }
}

/* 2.0.13 – texty, které se mají překládat (GTranslate), jsou skutečný text
   ze skriptu, ne CSS „content“ */
body .entry-footer .tags-label { font-size: 12px !important; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
body .entry-footer .tags-label::before { content: none !important; }


/* =====================================================================
   TMAVÝ REŽIM (2.1.0) – html[data-ghw-theme="dark"]
   Volí návštěvník tlačítkem „Tmavý vzhled“; výchozí = světlý.
   ===================================================================== */
html[data-ghw-theme="dark"] { color-scheme: dark; }
html[data-ghw-theme="dark"] body {
	--ghw-bg: #161814;
	--ghw-ink: #ECEEE5;
	--ghw-text: #D4D7CA;
	--ghw-muted: #A0A593;
	--ghw-olive: #7C8A58;
	--ghw-olive-dark: #8E9C69;
	--ghw-olive-soft: #8E9870;
	--ghw-tint: #20241C;
	--ghw-tint-2: #1B1E18;
	--ghw-line: #2E3329;
	--ghw-card: #1F221C;
	--ghw-forest: #303722;
	--global-palette1: #7C8A58;
	--global-palette2: #8E9C69;
	--global-palette3: #ECEEE5;
	--global-palette4: #D4D7CA;
	--global-palette5: #B9BDAD;
	--global-palette6: #A0A593;
	--global-palette7: #20241C;
	--global-palette8: #161814;
	--global-palette9: #1F221C;
	--global-palette-btn-bg: #66724A;
	--global-palette-btn-bg-hover: #7C8A58;
}
/* ilustrace: tmavá podložka + násobení = stejná krajinka, jen v noci */
html[data-ghw-theme="dark"] body .ghw-hero,
html[data-ghw-theme="dark"] body .ghw-latest .ghw-thumb-placeholder a,
html[data-ghw-theme="dark"] body .content-bg.loop-entry:not(:has(.post-thumbnail))::before {
	background-color: #3a3f36;
	background-blend-mode: multiply;
}
html[data-ghw-theme="dark"] body .entry-hero .entry-hero-container-inner::after {
	background-color: #3a3f36;
	background-blend-mode: multiply;
}
html[data-ghw-theme="dark"] body .ghw-tile::before { filter: invert(1) brightness(.9); }
html[data-ghw-theme="dark"] body .ghw-tile:hover { background: #2A2F24; }
html[data-ghw-theme="dark"] body .single-content pre,
html[data-ghw-theme="dark"] body .single-content .wp-block-code,
html[data-ghw-theme="dark"] body .single-content .wp-block-preformatted { background: #1B1E18; }
html[data-ghw-theme="dark"] body .wpcf7-form input:not([type="submit"]),
html[data-ghw-theme="dark"] body .comment-form input:not([type="submit"]):not([type="checkbox"]),
html[data-ghw-theme="dark"] body .comment-form textarea,
html[data-ghw-theme="dark"] body .wpcf7-form textarea,
html[data-ghw-theme="dark"] body .wpcf7-form select,
html[data-ghw-theme="dark"] body .ghw-search-form input[type="search"]:focus {
	background: #1B1E18;
	border-color: #3A4034;
	color: var(--ghw-ink);
}
html[data-ghw-theme="dark"] body .wpcf7 form.spam .wpcf7-response-output { background: #3A2A22; }
html[data-ghw-theme="dark"] body .entry-related-carousel .splide__pagination__page { background: #3A4034; }
html[data-ghw-theme="dark"] body .content-bg,
html[data-ghw-theme="dark"] body.single-entry .content-bg { background: var(--ghw-card); }
html[data-ghw-theme="dark"] img { filter: brightness(.9); }
html[data-ghw-theme="dark"] body .site-branding img.custom-logo { filter: none; }

/* přepínač (vkládá ghw.js, vpravo dole) */
.ghw-theme-toggle {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	font: 600 13.5px/1 "Inter", system-ui, sans-serif;
	color: var(--ghw-ink);
	background: var(--ghw-card);
	border: 1px solid var(--ghw-line);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
	cursor: pointer;
}
.ghw-theme-toggle:hover { border-color: var(--ghw-olive); }
.ghw-theme-toggle:focus-visible { outline: 2px solid var(--ghw-olive-soft); outline-offset: 2px; }
.ghw-theme-toggle small { font-weight: 500; color: var(--ghw-muted); }
@media (max-width: 767px) { .ghw-theme-toggle small { display: none; } }
@media print { .ghw-theme-toggle { display: none; } }

/* mapy v Deníku (SVG s pevnými barvami) */
html[data-ghw-theme="dark"] body .ok2d-map__sea { fill: #1B1E18; }
html[data-ghw-theme="dark"] body .ok2d-map__land { fill: #3A4230; }
html[data-ghw-theme="dark"] body .ok2d-map__borders { stroke: #161814; stroke-opacity: .9; }
html[data-ghw-theme="dark"] body .ok2d-map__dot { stroke: #161814; }
html[data-ghw-theme="dark"] body .ok2d-map__dot.is-dx { fill: #7FA3B5; }

/* mobilní menu v tmavém režimu: Kadence bere barvu odkazů z palety 8, kterou jsme ztmavili → světlé písmo */
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation a,
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap,
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation .drawer-sub-toggle,
html[data-ghw-theme="dark"] body #mobile-drawer .menu-toggle-close { color: #E8EADF; }
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation li.current-menu-item > a,
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation li.current-menu-item > .drawer-nav-drop-wrap > a,
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation li.current-menu-ancestor > a,
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation li.current-menu-ancestor > .drawer-nav-drop-wrap > a { color: #fff; }
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation li,
html[data-ghw-theme="dark"] body #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap { border-color: rgba(232, 234, 223, .18); }

/* =====================================================================
   GALERIE – lightbox FooGallery (2.1.3): barvy a zaoblení podle webu
   Světlý režim = teplá bílá, tmavý režim = antracit; tlačítka olivová.
   ===================================================================== */
body .fg-panel,
body .fg-panel.fg-dark,
body .fg-panel.fg-light {
	background: var(--ghw-bg);
	color: var(--ghw-text);
	font-family: "Inter", system-ui, sans-serif;
}
body .fg-panel .fg-panel-area,
body .fg-panel .fg-panel-area-inner { background: transparent; }
/* fotky: jemný rámeček a zaoblení */
body .fg-panel .fg-media-content,
body .fg-panel .fg-media img { border-radius: 8px; }
body .fg-panel .fg-media-content { box-shadow: 0 10px 34px rgba(32, 35, 33, .18); }
/* ovládací tlačítka (zavřít, celá obrazovka, šipky, info, náhledy) – FooGallery má pravidla se specificitou 0,3,0, proto :is() */
body .fg-panel:is(.fg-dark, .fg-light) :is(.fg-panel-button, .fg-panel-thumbs-button, .fg-panel-nav-button) {
	background-color: var(--ghw-card);
	color: var(--ghw-olive-dark);
	border: 1px solid var(--ghw-olive-soft);
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(32, 35, 33, .10);
}
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-button:is(.fg-disabled, [disabled]) { display: none; }
body .fg-panel:is(.fg-dark, .fg-light) :is(.fg-panel-button, .fg-panel-thumbs-button, .fg-panel-nav-button) .fg-icon { width: 20px; height: 20px; }
body .fg-panel:is(.fg-dark, .fg-light) :is(.fg-panel-button, .fg-panel-thumbs-button, .fg-panel-nav-button):is(:hover, :focus-visible),
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-button[aria-pressed="true"] {
	background-color: var(--ghw-olive);
	color: #FFFFFF;
}
body .fg-panel .fg-icon { fill: currentColor; }
/* pás náhledů */
body .fg-panel:is(.fg-dark, .fg-light) :is(.fg-panel-thumbs, .fg-panel-thumbs-viewport, .fg-panel-thumb-spacer) {
	background-color: var(--ghw-tint);
	border-color: var(--ghw-line);
}
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-thumb {
	background-color: var(--ghw-tint-2);
	border-color: var(--ghw-line);
	border-radius: 6px;
	overflow: hidden;
}
body .fg-panel .fg-panel-thumb-overlay { background: rgba(32, 35, 33, .45); }
body .fg-panel .fg-panel-thumb.fg-selected .fg-panel-thumb-overlay,
body .fg-panel .fg-panel-thumb:hover .fg-panel-thumb-overlay { background: transparent; }
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-thumb.fg-selected { outline: 2px solid var(--ghw-olive); outline-offset: -2px; background-color: var(--ghw-tint-2); }
/* popisek a info */
body .fg-panel .fg-panel-info,
body .fg-panel .fg-panel-info-overlay,
body .fg-panel .fg-caption { color: var(--ghw-text); }
body .fg-panel .fg-panel-info { background: color-mix(in srgb, var(--ghw-bg) 88%, transparent); }
body .fg-panel .fg-caption-title,
body .fg-panel .fg-panel-info h3 { color: var(--ghw-ink); font-weight: 700; }
body .fg-panel .fg-caption-desc { color: var(--ghw-muted); }
body .fg-panel .fg-panel-info a, body .fg-panel .fg-caption a { color: var(--ghw-olive); }
/* načítání */
body .fg-panel .fg-loader { filter: none; }

/* náhledy v přehledu alba: zaoblení a popisek v barvách webu */
body .foogallery .fg-item .fg-item-inner { border-radius: 10px; overflow: hidden; }
body .foogallery.fg-light .fg-caption,
body .foogallery.fg-dark .fg-caption { background: var(--ghw-card); color: var(--ghw-text); }
body .foogallery .fg-caption .fg-caption-title { color: var(--ghw-ink); }
body .foogallery .fg-caption .fg-caption-desc { color: var(--ghw-muted); }

/* lightbox: pás náhledů nad dolním okrajem, aby měly náhledy zaoblené všechny rohy */
body .fg-panel .fg-panel-thumbs { padding: 0 0 8px 0; box-sizing: content-box; }
body .fg-panel .fg-panel-thumb,
body .fg-panel .fg-panel-thumb :is(.fg-panel-thumb-media, .fg-panel-thumb-wrap, .fg-panel-thumb-image, .fg-panel-thumb-overlay, img) { border-radius: 8px; }

/* lightbox: popisek (info) pod fotkou – FooGallery ho barví napevno na tmavě šedou, ve světlém režimu pak nebyl čitelný */
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-info-inner,
body .fg-panel:is(.fg-dark, .fg-light):is(.fg-medium, .fg-panel-no-mobile, .fg-small, .fg-large):not(.fg-panel-info-overlay) .fg-panel-info-inner {
	background-color: var(--ghw-tint);
	color: var(--ghw-text);
	border-color: var(--ghw-line);
}
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-info-inner :is(h1, h2, h3, h4, .fg-caption-title, .fg-panel-media-title) { color: var(--ghw-ink); }
body .fg-panel:is(.fg-dark, .fg-light) .fg-panel-info-inner :is(p, .fg-caption-desc, .fg-panel-media-description) { color: var(--ghw-muted); }
