/* ==================================================================
   STENEO – hlavní stylesheet
   Čistý bílo-šedý technologický design v barvách loga.
   ================================================================== */

/* ------------------------------------------------------------------
   1) Designové proměnné (barvy, typografie, prostor, stíny)
------------------------------------------------------------------- */
:root {
	/* Barvy loga */
	--st-white:      #ffffff;
	--st-yellow:     #f7ce18;
	--st-teal:       #35b6b4;
	--st-petrol:     #268195;

	/* Neutrální / text */
	--st-black:      #111418;
	--st-gray-900:   #1d2329;
	--st-gray-700:   #444c54;
	--st-gray-500:   #6b747c;
	--st-gray-300:   #c9d0d6;
	--st-gray-100:   #f4f6f8;
	--st-gray-50:    #fafbfc;

	/* Gradient loga (CTA, akcenty) */
	--st-gradient:   linear-gradient(135deg, var(--st-petrol) 0%, var(--st-teal) 100%);
	--st-gradient-3: linear-gradient(135deg, var(--st-petrol) 0%, var(--st-teal) 60%, var(--st-yellow) 130%);

	/* Typografie */
	--st-font-head:  "Space Grotesk", "Inter", system-ui, sans-serif;
	--st-font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Poloměry / stíny */
	--st-radius:     16px;
	--st-radius-sm:  10px;
	--st-shadow:     0 4px 24px rgba(17, 20, 24, 0.06);
	--st-shadow-lg:  0 18px 50px rgba(17, 20, 24, 0.12);

	/* Šířka kontejneru */
	--st-container:  1200px;
}

/* ------------------------------------------------------------------
   2) Základní typografie
------------------------------------------------------------------- */
body {
	font-family: var(--st-font-body);
	color: var(--st-gray-700);
	background: var(--st-white);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.elementor-heading-title {
	font-family: var(--st-font-head);
	color: var(--st-black);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

a {
	color: var(--st-petrol);
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover { color: var(--st-teal); }

/* Pomocné třídy */
.st-container {
	max-width: var(--st-container);
	margin: 0 auto;
	padding: 0 24px;
}
.st-section {
	padding: 96px 0;
}
.st-section--gray {
	background: var(--st-gray-50);
}

/* ------------------------------------------------------------------
   Full-bleed: roztáhne hero i sekce přes CELOU šířku obrazovky,
   i když je Elementor vkládá do boxovaného (vystředěného) kontejneru.
   Díky tomu nemusíš v Elementoru řešit nastavení šířky kontejneru.
   (Obsah uvnitř drží .st-container na max 1200 px a je vystředěný.)
------------------------------------------------------------------- */
html { overflow-x: hidden; } /* zabrání vodorovnému posuvníku kvůli 100vw */
.st-hero,
.st-section {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}
.st-text-center { text-align: center; }
.st-accent-teal   { color: var(--st-teal); }
.st-accent-petrol { color: var(--st-petrol); }
.st-accent-yellow { color: var(--st-yellow); }

/* Štítek/eyebrow nad nadpisem sekce */
.st-eyebrow {
	display: inline-block;
	font-family: var(--st-font-head);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-petrol);
	margin-bottom: 14px;
}
.st-section-title {
	margin: 0 0 16px;
}
.st-section-lead {
	max-width: 680px;
	color: var(--st-gray-500);
	font-size: 1.12rem;
}
.st-text-center .st-section-lead { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------
   3) Tlačítka
------------------------------------------------------------------- */
.st-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--st-font-head);
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.st-btn--primary {
	background: var(--st-gradient);
	color: #fff;
}
.st-btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(38, 129, 149, 0.35);
}
.st-btn--outline {
	background: transparent;
	color: var(--st-petrol);
	border-color: var(--st-gray-300);
}
.st-btn--outline:hover {
	border-color: var(--st-teal);
	color: var(--st-teal);
	transform: translateY(-2px);
}

/* ------------------------------------------------------------------
   4) HERO sekce s animovanou datovou sítí
------------------------------------------------------------------- */
.st-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(1200px 600px at 85% 10%, rgba(53, 182, 180, 0.10), transparent 60%),
		radial-gradient(900px 500px at 10% 90%, rgba(247, 206, 24, 0.08), transparent 55%),
		var(--st-white);
}
/* Canvas se sítí leží pod obsahem */
#st-hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0.9;
}
.st-hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--st-container);
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}
.st-hero__content {
	max-width: 680px;
}
.st-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(6px);
	border: 1px solid var(--st-gray-300);
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--st-petrol);
	margin-bottom: 24px;
}
.st-hero__badge .dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--st-teal);
	box-shadow: 0 0 0 4px rgba(53, 182, 180, 0.25);
}
.st-hero h1 {
	margin: 0 0 20px;
}
.st-hero h1 .hl {
	background: var(--st-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.st-hero__lead {
	font-size: 1.2rem;
	color: var(--st-gray-700);
	margin-bottom: 32px;
}
.st-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ------------------------------------------------------------------
   5) Statistiky (O projektu)
------------------------------------------------------------------- */
.st-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.st-stat {
	text-align: center;
	padding: 28px 18px;
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
}
.st-stat__num {
	font-family: var(--st-font-head);
	font-size: 2.6rem;
	font-weight: 700;
	color: var(--st-petrol);
	line-height: 1;
}
.st-stat__label {
	margin-top: 8px;
	font-size: 0.95rem;
	color: var(--st-gray-500);
}

/* ------------------------------------------------------------------
   6) Karty výzkumných týmů
------------------------------------------------------------------- */
.st-cards {
	display: grid;
	/* 2×2 mřížka – symetrické rozložení pro 4 týmy (žádná osamělá karta dole). */
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	max-width: 980px;
	margin: 0 auto;
}
.st-card {
	position: relative;
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-radius: var(--st-radius);
	padding: 32px 28px;
	box-shadow: var(--st-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}
/* Barevný pruh nahoře (mění se podle modifikátoru) */
.st-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--st-teal);
}
.st-card--teal::before   { background: var(--st-teal); }
.st-card--petrol::before { background: var(--st-petrol); }
.st-card--yellow::before { background: var(--st-yellow); }
.st-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--st-shadow-lg);
}
.st-card__icon {
	width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: var(--st-gray-100);
	color: var(--st-petrol);
	margin-bottom: 18px;
	font-size: 1.5rem;
}
.st-card--teal   .st-card__icon { color: var(--st-teal); }
.st-card--yellow .st-card__icon { color: #b9930a; }
.st-card h3 {
	margin: 0 0 6px;
	font-size: 1.22rem;
}
.st-card__person {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--st-gray-500);
	margin-bottom: 12px;
}
.st-card p {
	font-size: 0.98rem;
	margin: 0 0 16px;
}
.st-card__link {
	font-family: var(--st-font-head);
	font-weight: 600;
	font-size: 0.95rem;
}

/* ------------------------------------------------------------------
   7) Projekty (velké karty s obrázkem a štítky)
------------------------------------------------------------------- */
.st-projects {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.st-project {
	position: relative;
	border-radius: var(--st-radius);
	overflow: hidden;
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	box-shadow: var(--st-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.st-project:hover {
	transform: translateY(-6px);
	box-shadow: var(--st-shadow-lg);
}
.st-project__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--st-gradient);
	overflow: hidden;
}
.st-project__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.st-project__body {
	padding: 24px 26px 28px;
}
.st-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.st-tag {
	font-size: 0.78rem;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--st-gray-100);
	color: var(--st-petrol);
}
.st-project h3 { margin: 0 0 8px; }
.st-project p { font-size: 0.98rem; margin: 0; }

/* ------------------------------------------------------------------
   8) Partneři (loga)
------------------------------------------------------------------- */
.st-partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px;
}
.st-partners__item {
	font-family: var(--st-font-head);
	font-weight: 600;
	color: var(--st-gray-500);
	font-size: 1.05rem;
	opacity: 0.8;
	transition: opacity 0.2s ease, color 0.2s ease;
}
.st-partners__item:hover { opacity: 1; color: var(--st-petrol); }

/* Skupiny partnerů + loga (placeholdery, než nahradíš obrázky) */
.st-partners-group { margin-bottom: 48px; }
.st-partners-group:last-child { margin-bottom: 0; }
.st-partners-group__label {
	font-family: var(--st-font-head);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--st-gray-500);
	margin: 0 0 24px;
}
.st-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 26px 34px;
}
.st-logos img {
	max-height: 62px;
	width: auto;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}
.st-logos img:hover { opacity: 1; }
/* Placeholder pro logo partnera, dokud nevložíš obrázek */
.st-logo-ph {
	height: 62px;
	min-width: 150px;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 0 20px;
	border: 1px dashed var(--st-gray-300);
	border-radius: 10px;
	background: var(--st-white);
	font-family: var(--st-font-head);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--st-gray-500);
}

/* ------------------------------------------------------------------
   9) CTA pruh
------------------------------------------------------------------- */
.st-cta {
	position: relative;
	border-radius: 24px;
	padding: 64px 48px;
	text-align: center;
	background: var(--st-gradient-3);
	color: #fff;
	overflow: hidden;
}
.st-cta h2 { color: #fff; margin: 0 0 14px; }
.st-cta p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 28px; }
.st-cta .st-btn--primary {
	background: #fff;
	color: var(--st-petrol);
}
.st-cta .st-btn--primary:hover {
	background: var(--st-gray-100);
	box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* ------------------------------------------------------------------
   10) Responzivita
------------------------------------------------------------------- */
@media (max-width: 992px) {
	.st-stats    { grid-template-columns: repeat(2, 1fr); }
	.st-cards    { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
	.st-projects { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.st-section  { padding: 64px 0; }
	.st-stats    { grid-template-columns: 1fr 1fr; }
	.st-cards    { grid-template-columns: 1fr; }
	.st-hero     { min-height: 92vh; }
	.st-hero__lead { font-size: 1.05rem; }
	.st-cta      { padding: 44px 24px; }
}


/* ==================================================================
   11) KOMPONENTY PRO PODSTRÁNKY
   (hlavička stránky, čtecí sloupec, cíle, výstupy, kontakty, novinky)
   ================================================================== */

/* --- Hlavička podstránky (page header band) --- */
.st-pagehead {
	position: relative;
	left: 50%; right: 50%;
	width: 100vw;
	margin-left: -50vw; margin-right: -50vw;
	padding: 110px 0 70px;
	background:
		radial-gradient(900px 400px at 80% 0%, rgba(53, 182, 180, 0.12), transparent 60%),
		radial-gradient(700px 360px at 0% 100%, rgba(247, 206, 24, 0.10), transparent 55%),
		var(--st-gray-50);
	border-bottom: 1px solid var(--st-gray-100);
}
.st-pagehead__inner {
	max-width: var(--st-container);
	margin: 0 auto;
	padding: 0 24px;
}
.st-pagehead h1 { margin: 0 0 14px; }
.st-pagehead p {
	max-width: 720px;
	font-size: 1.15rem;
	color: var(--st-gray-500);
	margin: 0;
}

/* --- Hero banner podstránky (obrázek na pozadí + překryv + titulek) ---
   Když <img> nemá vyplněné src, zůstane tmavé pozadí a titulek je čitelný. */
.st-pagehero {
	position: relative;
	left: 50%; right: 50%;
	width: 100vw;
	margin-left: -50vw; margin-right: -50vw;
	min-height: 440px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--st-gray-900);
}
.st-pagehero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}
.st-pagehero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(17,20,24,0.30) 0%, rgba(17,20,24,0.78) 100%);
}
.st-pagehero__inner {
	position: relative;
	z-index: 3;
	max-width: var(--st-container);
	margin: 0 auto;
	padding: 0 24px 56px;
	width: 100%;
}
.st-pagehero .st-eyebrow { color: var(--st-yellow); }
.st-pagehero h1 { color: #fff; margin: 0 0 14px; }
.st-pagehero p {
	color: rgba(255,255,255,0.92);
	max-width: 720px;
	font-size: 1.15rem;
	margin: 0;
}
@media (max-width: 640px) {
	.st-pagehero { min-height: 340px; }
	.st-pagehero__inner { padding-bottom: 40px; }
}

/* --- Čtecí sloupec textu (prose) --- */
.st-prose {
	max-width: 760px;
}
.st-prose.st-prose--center { margin: 0 auto; }
.st-prose h2 { margin: 0 0 16px; }
.st-prose h3 { margin: 32px 0 10px; }
.st-prose p { margin: 0 0 18px; font-size: 1.08rem; }
.st-prose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.st-prose ul li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-size: 1.05rem;
}
.st-prose ul li::before {
	content: "";
	position: absolute;
	left: 0; top: 9px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--st-gradient);
}

/* --- Dvousloupcové rozložení (text + box) --- */
.st-split {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 48px;
	align-items: start;
}
.st-infobox {
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	padding: 30px 28px;
}
.st-infobox h3 { margin: 0 0 16px; font-size: 1.2rem; }
.st-infobox dl { margin: 0; }
.st-infobox dt {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--st-gray-500);
	font-weight: 600;
}
.st-infobox dd {
	margin: 2px 0 16px;
	font-family: var(--st-font-head);
	font-weight: 600;
	color: var(--st-black);
	font-size: 1.05rem;
}

/* --- Seznam výstupů / publikací --- */
.st-pub-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 900px;
	margin: 0 auto;
}
.st-pub {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-left: 4px solid var(--st-teal);
	border-radius: var(--st-radius-sm);
	padding: 22px 24px;
	box-shadow: var(--st-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.st-pub:hover { transform: translateX(4px); box-shadow: var(--st-shadow-lg); }
.st-pub__year {
	flex: 0 0 auto;
	font-family: var(--st-font-head);
	font-weight: 700;
	color: var(--st-petrol);
	font-size: 1.05rem;
	min-width: 54px;
}
.st-pub__body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.st-pub__body p { margin: 0; font-size: 0.95rem; color: var(--st-gray-500); }

/* --- Výstupy projektu (mapy, dashboardy, datové výstupy) --- */
.st-outputs { max-width: 960px; margin: 0 auto; }
.st-output {
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	padding: 32px 34px;
	margin-bottom: 32px;
}
.st-output__badge {
	display: inline-block;
	font-family: var(--st-font-head);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--st-petrol);
	background: var(--st-gray-100);
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 14px;
}
.st-output h3 { margin: 0 0 6px; font-size: 1.3rem; }
.st-output__date { font-size: 0.9rem; color: var(--st-gray-500); margin: 0 0 16px; }
.st-output p { font-size: 1.02rem; }
.st-output .st-btn { margin-top: 6px; }

/* Responzivní embed (Power BI dashboard, mapa, video) */
.st-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 20px 0 4px;
	border-radius: var(--st-radius-sm);
	overflow: hidden;
	background: var(--st-gray-100);
	border: 1px solid var(--st-gray-100);
}
.st-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-embed__ph {
	position: absolute; inset: 0;
	display: grid; place-items: center; text-align: center; padding: 20px;
	color: var(--st-gray-500); font-family: var(--st-font-head); font-weight: 600;
}

/* Posuvné obrázky (jednoduchý slider – scroll-snap, bez JS) */
.st-slider {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
	margin: 20px 0 4px;
}
.st-slider > * { flex: 0 0 100%; scroll-snap-align: center; }
.st-slider img { width: 100%; height: auto; display: block; border-radius: var(--st-radius-sm); }
.st-slider__ph {
	aspect-ratio: 16 / 9;
	background: var(--st-gray-100);
	border: 1px dashed var(--st-gray-300);
	border-radius: var(--st-radius-sm);
	display: grid; place-items: center;
	color: var(--st-gray-500);
	font-family: var(--st-font-head); font-weight: 600;
}

/* --- Kontaktní karty --- */
.st-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.st-contact-card {
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-radius: var(--st-radius);
	padding: 30px 26px;
	box-shadow: var(--st-shadow);
	text-align: center;
}
.st-contact-card__icon {
	width: 56px; height: 56px;
	margin: 0 auto 16px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--st-gray-100);
	color: var(--st-petrol);
	font-size: 1.5rem;
}
.st-contact-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.st-contact-card p { margin: 0; font-size: 0.98rem; color: var(--st-gray-500); }
.st-contact-card a { font-weight: 600; }

/* --- Mřížka novinek / médií --- */
.st-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.st-news {
	background: var(--st-white);
	border: 1px solid var(--st-gray-100);
	border-radius: var(--st-radius);
	overflow: hidden;
	box-shadow: var(--st-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}
.st-news:hover { transform: translateY(-6px); box-shadow: var(--st-shadow-lg); }
.st-news__media {
	aspect-ratio: 16 / 10;
	background: var(--st-gradient);
}
.st-news__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-news__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.st-news__date {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--st-teal);
	margin-bottom: 8px;
}
.st-news__body h3 { margin: 0 0 8px; font-size: 1.12rem; }
.st-news__body p { margin: 0 0 14px; font-size: 0.95rem; color: var(--st-gray-500); flex: 1; }
.st-news__link { font-family: var(--st-font-head); font-weight: 600; font-size: 0.92rem; }

/* --- Responzivita podstránek --- */
@media (max-width: 992px) {
	.st-split        { grid-template-columns: 1fr; gap: 32px; }
	.st-contact-grid { grid-template-columns: 1fr; }
	.st-news-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.st-pagehead     { padding: 90px 0 54px; }
	.st-news-grid    { grid-template-columns: 1fr; }
	.st-pub          { flex-direction: column; gap: 6px; }
}


/* ==================================================================
   12) HLAVIČKA (header) – Astra
   Čistá bílá sticky hlavička, jemný stín, moderní navigace.
   ================================================================== */

/* Sticky + čisté bílé pozadí s jemným stínem */
.site-header,
.ast-primary-header-bar,
.main-header-bar {
	background-color: var(--st-white) !important;
}
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 1px 0 rgba(17, 20, 24, 0.06), 0 6px 24px rgba(17, 20, 24, 0.05);
}

/* Logo – jednotná výška */
.custom-logo-link img,
.site-logo-img .custom-logo,
.ast-site-identity img {
	max-height: 52px !important;
	width: auto !important;
	transition: transform 0.2s ease;
}
.custom-logo-link:hover img { transform: scale(1.03); }

/* Název webu (pokud zatím není logo) */
.site-title a {
	font-family: var(--st-font-head) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	color: var(--st-black) !important;
}

/* Odkazy v menu */
.main-header-menu .menu-link,
.ast-builder-menu .menu-item > .menu-link,
.ast-header-navigation-wrap .menu-item > a {
	font-family: var(--st-font-head) !important;
	font-weight: 600 !important;
	font-size: 1.05rem !important;
	color: var(--st-gray-700) !important;
	position: relative;
	transition: color 0.2s ease;
}

/* Podtržení při najetí (animovaná linka ve žluté barvě loga) */
.ast-header-navigation-wrap .menu-item > a::after,
.main-header-menu .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 6px;
	width: 0;
	height: 2px;
	background: var(--st-yellow);
	transition: width 0.25s ease;
}
/* Text při najetí – tmavě žlutá (mustard), aby zůstal čitelný na bílé.
   Pokud chceš čistě svítivě žlutou jako podtržení, změň na var(--st-yellow). */
.ast-header-navigation-wrap .menu-item:hover > a,
.main-header-menu .menu-item:hover > .menu-link {
	color: #b9930a !important;
}
.ast-header-navigation-wrap .menu-item:hover > a::after,
.main-header-menu .menu-item:hover > .menu-link::after {
	width: 100%;
}

/* Aktivní položka menu (aktuální stránka) */
.current-menu-item > .menu-link,
.current-menu-item > a {
	color: #b9930a !important;
}

/* Poslední položka menu jako tlačítko (typicky "Kontakty")
   Žluté tlačítko s tmavým textem (žlutá + bílý text by nebyl čitelný).
   Pokud ji nechceš jako tlačítko, tento blok smaž. */
.ast-header-navigation-wrap .menu > .menu-item:last-child > a,
.main-header-menu > .menu-item:last-child > .menu-link {
	background: var(--st-yellow);
	color: var(--st-black) !important;
	padding: 9px 22px !important;
	border-radius: 999px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ast-header-navigation-wrap .menu > .menu-item:last-child > a::after,
.main-header-menu > .menu-item:last-child > .menu-link::after { display: none; }
.ast-header-navigation-wrap .menu > .menu-item:last-child > a:hover,
.main-header-menu > .menu-item:last-child > .menu-link:hover {
	color: var(--st-black) !important;
	background: #ffd83a;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(247, 206, 24, 0.45);
}


/* ==================================================================
   13) PATIČKA (footer) – vlastní blok .st-footer
   Footer se vykresluje automaticky z functions.php (hook astra_footer_before).
   Výchozí patičku Astry (#colophon "Powered by Astra") skryjeme.
   ================================================================== */

/* Skrytí výchozí patičky Astry – nahrazujeme ji vlastní .st-footer */
#colophon,
.site-footer {
	display: none !important;
}

.st-footer {
	position: relative;
	left: 50%; right: 50%;
	width: 100vw;
	margin-left: -50vw; margin-right: -50vw;
	background:
		radial-gradient(700px 300px at 90% 0%, rgba(53, 182, 180, 0.10), transparent 60%),
		var(--st-gray-900);
	color: var(--st-gray-300);
	padding: 64px 0 0;
	font-size: 0.96rem;
}
.st-footer__inner {
	max-width: var(--st-container);
	margin: 0 auto;
	padding: 0 24px;
}
.st-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 48px;
}
.st-footer__brand-name {
	font-family: var(--st-font-head);
	font-weight: 700;
	font-size: 1.5rem;
	color: #fff;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}
/* Logo v patičce (místo textového názvu) */
.st-footer__logo {
	height: 46px;
	width: auto;
	display: block;
	margin: 0 0 14px;
}
.st-footer__claim {
	color: var(--st-gray-300);
	max-width: 320px;
	margin: 0 0 18px;
}
.st-footer__badge {
	display: inline-block;
	font-size: 0.8rem;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 999px;
	padding: 5px 14px;
	color: var(--st-gray-300);
}
.st-footer h4 {
	font-family: var(--st-font-head);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	margin: 0 0 18px;
}
.st-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.st-footer ul li { margin-bottom: 10px; }
.st-footer a {
	color: var(--st-gray-300);
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.st-footer a:hover {
	color: var(--st-teal);
	padding-left: 4px;
}
.st-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 22px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	font-size: 0.86rem;
	color: var(--st-gray-500);
}
.st-footer__bottom a { color: var(--st-gray-300); }

/* Sociální ikony (Instagram, LinkedIn) */
.st-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.st-footer__social a {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--st-gray-300);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.st-footer__social a:hover {
	background: var(--st-yellow);
	color: var(--st-black);
	padding-left: 0;           /* přebije globální posun odkazů v patičce */
	transform: translateY(-2px);
}
.st-footer__social svg { width: 21px; height: 21px; }

/* Loga financování (MŠMT + EU) */
.st-footer__funding {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 30px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}
.st-footer__funding-text {
	margin: 0;
	font-size: 0.86rem;
	color: var(--st-gray-500);
	max-width: 460px;
}
.st-footer__funding-logos {
	display: flex;
	align-items: center;
	gap: 22px;
	background: #fff;
	border-radius: 12px;
	padding: 14px 22px;
}
.st-footer__funding-logos img { height: 48px; width: auto; display: block; }
/* Placeholder pro logo, než nahraješ skutečný obrázek */
.st-footer__logo-ph {
	height: 48px;
	min-width: 110px;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 0 14px;
	border: 1px dashed var(--st-gray-300);
	border-radius: 8px;
	font-family: var(--st-font-head);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--st-gray-500);
}

@media (max-width: 992px) {
	.st-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
	.st-footer__grid { grid-template-columns: 1fr; }
	.st-footer__bottom { flex-direction: column; align-items: flex-start; }
	.st-footer__funding { flex-direction: column; align-items: flex-start; }
}
