/**
 * Prvá vzdelávacia — doplnkové štýly komponentov.
 * Dizajnové tokeny (farby, fonty, šírky) sú v theme.json.
 * Tento súbor rieši vizuálne komponenty, ktoré theme.json nepokrýva.
 */

/* ------------------------------------------------------------------ *
 * Základ
 * ------------------------------------------------------------------ */
:root {
	--pv-navy: var(--wp--preset--color--navy, #235877);
	--pv-navy-d: var(--wp--preset--color--navy-dark, #1c4a63);
	--pv-azure: var(--wp--preset--color--azure, #37ACE1);
	--pv-orange: var(--wp--preset--color--orange, #F07A1C);
	--pv-orange-d: var(--wp--preset--color--orange-dark, #d4660f);
	--pv-ink: var(--wp--preset--color--ink, #23323c);
	--pv-muted: var(--wp--preset--color--muted, #5a7280);
	--pv-bg-soft: var(--wp--preset--color--bg-soft, #f4f8fb);
	--pv-bg-blue: var(--wp--preset--color--bg-blue, #eef6fb);
	--pv-line: var(--wp--preset--color--line, #dbe8f0);
}

/* Prístupnosť: viditeľný focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--pv-azure);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ *
 * Eyebrow / nadpisy sekcií
 * ------------------------------------------------------------------ */
.pv-eyebrow {
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--pv-orange);
	margin-bottom: 10px;
}

/* Oranžový podčiarknutý akcent pod nadpisom sekcie (nadpis hneď za eyebrow) */
.pv-eyebrow + .wp-block-heading::after {
	content: "";
	display: block;
	width: 52px;
	height: 4px;
	background: var(--pv-orange);
	border-radius: 2px;
	margin: 12px 0 0;
}
.pv-eyebrow + .wp-block-heading.has-text-align-center::after { margin: 12px auto 0; }

/* ------------------------------------------------------------------ *
 * Hero (úvodný a vnútorný)
 * ------------------------------------------------------------------ */
.pv-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
}
.pv-hero :where(h1, h2, h3, p) { color: #fff; }
.pv-hero .pv-crumb { font-size: 13px; color: #9fd0e8; margin-bottom: 14px; }
.pv-hero__deco {
	position: absolute;
	right: -40px;
	top: 30px;
	width: 420px;
	max-width: 55%;
	opacity: 0.16;
	z-index: 0;
	pointer-events: none;
}
.pv-hero > .wp-block-group__inner-container,
.pv-hero > *:not(.pv-hero__deco) { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ *
 * Lišta dôvery / trust bar
 * ------------------------------------------------------------------ */
.pv-trust { background: var(--pv-bg-soft); border-top: 1px solid var(--pv-line); border-bottom: 1px solid var(--pv-line); }
.pv-trust__item { display: flex; align-items: center; gap: 12px; }
.pv-trust__ico {
	width: 40px; height: 40px; flex: none; border-radius: 10px;
	background: var(--pv-bg-blue); display: flex; align-items: center; justify-content: center;
}
.pv-trust__ico svg { width: 22px; height: 22px; stroke: var(--pv-navy); fill: none; stroke-width: 2; }
.pv-trust__num { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--pv-orange); font-size: 19px; line-height: 1.1; }
.pv-trust__cap { font-size: 13px; color: var(--pv-muted); }

/* ------------------------------------------------------------------ *
 * Karty
 * ------------------------------------------------------------------ */
.pv-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--pv-line);
	border-top: 3px solid transparent;
	border-radius: var(--wp--custom--card--radius, 16px);
	padding: 26px;
	transition: transform 0.2s, box-shadow 0.2s, border-top-color 0.2s;
	height: 100%;
}
.pv-card:hover {
	border-top-color: var(--pv-orange);
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(35, 88, 119, 0.12);
	z-index: 2;
}
/* Karty v mriežke — šírka + výška, vycentrované v stĺpci */
.wp-block-column .pv-card { max-width: 320px; min-height: 240px; margin-left: auto; margin-right: auto; }
.pv-card h3 { font-size: 19px; margin-bottom: 8px; }
.pv-card p { color: var(--pv-muted); font-size: 15px; }
.pv-card--navy { background: var(--pv-navy); color: #fff; }
.pv-card--navy :where(h3) { color: #fff; }
.pv-card--navy p { color: #cfe4f0; }
.pv-card__icon {
	width: 52px; height: 52px; border-radius: 13px; background: rgba(240, 122, 28, 0.10);
	display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.pv-card--navy .pv-card__icon { background: rgba(255, 255, 255, 0.14); }
.pv-card__icon svg { width: 26px; height: 26px; stroke: var(--pv-orange); fill: none; stroke-width: 2; }
.pv-card--navy .pv-card__icon svg { stroke: #fff; }
.pv-card__more { display: inline-block; margin-top: 14px; color: var(--pv-azure); font-weight: 600; font-size: 14px; }
.pv-card--navy .pv-card__more { color: #8fd4f4; }

/* ------------------------------------------------------------------ *
 * Checklist
 * ------------------------------------------------------------------ */
.pv-checklist { display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; margin: 0; }
.pv-checklist li { position: relative; padding-left: 40px; }
.pv-checklist li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--pv-azure); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 14px;
}
.pv-checklist--dot li::before { content: "·"; background: var(--pv-navy); font-size: 20px; }

/* ------------------------------------------------------------------ *
 * Boxy
 * ------------------------------------------------------------------ */
.pv-box { background: var(--pv-bg-blue); border-left: 5px solid var(--pv-azure); border-radius: 12px; padding: 20px 24px; }
.pv-box--navy { background: var(--pv-navy); border-left-color: var(--pv-azure); color: #fff; }
.pv-box--navy :where(b, strong, h3, p) { color: #fff; }

/* ------------------------------------------------------------------ *
 * Detail oblasti + chips
 * ------------------------------------------------------------------ */
.pv-area { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--pv-line); }
.pv-area:last-child { border-bottom: none; }
.pv-area__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--pv-bg-blue); display: flex; align-items: center; justify-content: center; }
.pv-area__icon svg { width: 32px; height: 32px; stroke: var(--pv-navy); fill: none; stroke-width: 2; }
.pv-area h3 { font-size: 22px; margin-bottom: 4px; }
.pv-area__sub { color: var(--pv-azure); font-weight: 600; margin-bottom: 10px; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pv-chip { background: var(--pv-bg-soft); border: 1px solid var(--pv-line); color: var(--pv-navy); font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 20px; display: inline-block; }

/* Odkaz z nadpisu oblasti a CTA na detail programu (na prehľadovej stránke) */
.pv-area-link { color: var(--pv-navy); transition: color 0.2s, border-color 0.2s; border-bottom: 2px solid transparent; }
.pv-area-link:hover { color: var(--pv-orange); border-bottom-color: var(--pv-orange); }
.pv-area-link .pv-area-arw { color: var(--pv-azure); font-weight: 700; margin-left: 6px; }
.pv-area-link:hover .pv-area-arw { color: var(--pv-orange); }
.pv-area-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--pv-azure); font-weight: 600; font-size: 14px; }
.pv-area-cta:hover { color: var(--pv-orange); }

/* ------------------------------------------------------------------ *
 * Karty vzdelávacích programov (detail oblasti)
 * ------------------------------------------------------------------ */
.pv-prog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pv-prog-back { color: var(--pv-azure); font-weight: 600; font-size: 14px; }
.pv-prog-back:hover { color: var(--pv-orange); }
.pv-prog-count { color: var(--pv-muted); font-size: 14px; font-weight: 600; }
.pv-prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pv-prog-card {
	background: #fff; border: 1px solid var(--pv-line); border-top: 4px solid var(--pv-azure);
	border-radius: 16px; padding: 26px 26px 24px; transition: transform 0.2s, box-shadow 0.2s, border-top-color 0.2s;
	display: flex; flex-direction: column;
}
.pv-prog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(35, 88, 119, 0.12); border-top-color: var(--pv-orange); }
.pv-prog-head h3 { font-size: 19px; margin-bottom: 10px; color: var(--pv-navy); }
.pv-prog-desc { color: var(--pv-muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.pv-prog-meta { display: flex; flex-direction: column; gap: 8px; background: var(--pv-bg-blue); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.pv-prog-meta__row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; line-height: 1.4; }
.pv-prog-meta__l { color: var(--pv-muted); flex: none; }
.pv-prog-meta__v { color: var(--pv-navy); font-weight: 600; text-align: right; }
.pv-prog-obsah h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--pv-navy); margin-bottom: 10px; }
.pv-prog-obsah ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.pv-prog-obsah li { position: relative; padding-left: 24px; color: var(--pv-ink); font-size: 14px; line-height: 1.6; }
.pv-prog-obsah li::before {
	content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%;
	background: rgba(240, 122, 28, 0.15); border: 2px solid var(--pv-orange);
}
@media (max-width: 760px) {
	.pv-prog-grid { grid-template-columns: 1fr; }
	.pv-prog-count { width: 100%; }
}

/* ------------------------------------------------------------------ *
 * ESG informačná stránka
 * ------------------------------------------------------------------ */
.pv-esg h3 { font-size: 20px; color: var(--pv-navy); margin: 28px 0 10px; }
.pv-esg h3:first-child { margin-top: 0; }
.pv-esg p { color: var(--pv-ink); font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.pv-esg-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 18px; padding: 0; }
.pv-esg-list li { position: relative; padding-left: 26px; color: var(--pv-ink); font-size: 15.5px; line-height: 1.7; }
.pv-esg-list li::before {
	content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%;
	background: rgba(55, 172, 225, 0.18); border: 2px solid var(--pv-azure);
}

/* ------------------------------------------------------------------ *
 * Časová os
 * ------------------------------------------------------------------ */
.pv-timeline { max-width: 820px; margin: 0 auto; }
.pv-tstep { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 26px; position: relative; }
.pv-tstep:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: -4px; width: 2px; background: var(--pv-line); }
.pv-tstep__n { width: 56px; height: 56px; border-radius: 16px; background: var(--pv-navy); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.pv-tstep__c { background: #fff; border: 1px solid var(--pv-line); border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 18px rgba(35, 88, 119, 0.05); }
.pv-tstep h3 { font-size: 19px; margin-bottom: 6px; }
.pv-tstep p { color: var(--pv-muted); font-size: 15px; }

/* Postup — očíslované karty */
.pv-step { position: relative; padding: 28px 22px; border-radius: 16px; background: var(--pv-bg-soft); border: 1px solid var(--pv-line); height: 100%; }
.pv-step__n { width: 44px; height: 44px; border-radius: 12px; background: var(--pv-orange); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pv-step h3 { font-size: 17px; margin-bottom: 8px; }
.pv-step p { color: var(--pv-muted); font-size: 14px; }

/* ------------------------------------------------------------------ *
 * FAQ
 * ------------------------------------------------------------------ */
.pv-faq { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.pv-qa { background: #fff; border: 1px solid var(--pv-line); border-radius: 12px; padding: 18px 22px; }
.pv-qa summary { font-family: var(--wp--preset--font-family--heading); font-size: 17px; font-weight: 600; color: var(--pv-navy); cursor: pointer; list-style: none; }
.pv-qa summary::-webkit-details-marker { display: none; }
.pv-qa summary::after { content: "+"; float: right; color: var(--pv-azure); font-weight: 700; }
.pv-qa[open] summary::after { content: "–"; }
.pv-qa p { color: var(--pv-muted); font-size: 15px; margin-top: 8px; }
.pv-qa h3 { font-size: 17px; margin-bottom: 6px; }

/* ------------------------------------------------------------------ *
 * Štatistiky
 * ------------------------------------------------------------------ */
.pv-stat { background: #fff; border: 1px solid var(--pv-line); border-radius: 16px; padding: 26px; text-align: center; height: 100%; }
.pv-stat__big { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 34px; color: var(--pv-navy); line-height: 1.1; }
.pv-stat__lab { color: var(--pv-muted); font-size: 14px; margin-top: 6px; }

/* ------------------------------------------------------------------ *
 * Tím
 * ------------------------------------------------------------------ */
.pv-team { background: linear-gradient(135deg, var(--pv-bg-blue), #fff); border: 1px solid var(--pv-line); border-radius: 18px; padding: 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pv-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--pv-navy); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 26px; display: flex; align-items: center; justify-content: center; flex: none; }
.pv-avatar--azure { background: var(--pv-azure); }
.pv-avatar-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }

/* Mapa na kontaktnej stránke */
.pv-map { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(28, 74, 99, 0.16); line-height: 0; }
.pv-map iframe { display: block; width: 100%; }
@media (max-width: 600px) {
	.pv-map iframe { height: 300px; }
}

/* ------------------------------------------------------------------ *
 * Logá klientov — pás rotujúcich lôg (karusel) + statická mriežka
 * ------------------------------------------------------------------ */
.pv-logos-wrap {
	position: relative;
	overflow: hidden;
	padding: 0 0 8px;
	/* Okraje jemne vyblednú — maska funguje na akomkoľvek pozadí sekcie. */
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.pv-logos-track {
	display: flex;
	gap: 20px;
	width: max-content;
	animation: pv-logos-scroll var(--pv-logos-speed, 36s) linear infinite;
}
.pv-logos-wrap:hover .pv-logos-track,
.pv-logos-track:focus-within { animation-play-state: paused; }
@keyframes pv-logos-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Statická mriežka (shortcode: styl="mriezka") */
.pv-logos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }

/* Spoločná dlaždica loga */
.pv-logo-item {
	flex: none;
	width: 180px; height: 80px;
	background: #eef3f7;
	border: 1px solid var(--pv-line);
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	padding: 12px 18px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}
.pv-logo-item:hover { box-shadow: 0 6px 20px rgba(35, 88, 119, 0.1); transform: translateY(-2px); }
.pv-logo-item img {
	max-width: 140px; max-height: 52px;
	width: auto; height: auto;
	object-fit: contain;
	filter: grayscale(40%);
	transition: filter 0.2s;
}
.pv-logo-item:hover img { filter: grayscale(0%); }
.pv-logo-text { font-weight: 700; font-size: 13px; color: var(--pv-navy); text-align: center; letter-spacing: 0.3px; }

/* ------------------------------------------------------------------ *
 * Grantová lišta
 * ------------------------------------------------------------------ */
.pv-grant { color: #fff; }
.pv-grant :where(h2, h3, p) { color: #fff; }
.pv-grant__pill { display: inline-block; background: var(--pv-orange); color: #fff; font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 30px; margin-bottom: 14px; }

/* ------------------------------------------------------------------ *
 * Záverečná CTA
 * ------------------------------------------------------------------ */
.pv-final { color: #fff; text-align: center; }
.pv-final :where(h2, p) { color: #fff; }
.pv-final .wp-block-button__link { background: #fff; color: var(--pv-navy); }
.pv-final .wp-block-button__link:hover { background: #eaf7ff; color: var(--pv-navy); }

/* ------------------------------------------------------------------ *
 * Kontaktný formulár
 * ------------------------------------------------------------------ */
.pv-contact-info__row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.pv-contact-info__icon { width: 44px; height: 44px; border-radius: 11px; background: var(--pv-bg-blue); display: flex; align-items: center; justify-content: center; flex: none; }
.pv-contact-info__icon svg { width: 22px; height: 22px; stroke: var(--pv-navy); fill: none; stroke-width: 2; }
.pv-contact-info__lab { font-size: 13px; color: var(--pv-muted); }
.pv-contact-info__val { font-weight: 600; color: var(--pv-navy); }

.pv-form { background: var(--pv-bg-soft); border: 1px solid var(--pv-line); border-radius: 18px; padding: 28px; }
.pv-form label { display: block; font-size: 13px; font-weight: 600; color: var(--pv-navy); margin: 0 0 6px; }
.pv-form input,
.pv-form textarea {
	width: 100%; border: 1px solid var(--pv-line); border-radius: 10px;
	padding: 12px 14px; font-family: inherit; font-size: 15px; margin-bottom: 16px; background: #fff;
	color: var(--pv-ink);
}
.pv-form .pv-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--pv-muted); font-weight: 400; }
.pv-form .pv-form__consent input { width: auto; margin: 3px 0 0; }
.pv-form button[type="submit"] {
	width: 100%; background: var(--pv-azure); color: #fff; border: none; border-radius: 10px;
	padding: 14px 22px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.2s;
}
.pv-form button[type="submit"]:hover { background: var(--pv-navy-d); }
.pv-form__hp { position: absolute; left: -9999px; top: -9999px; }
.pv-form__notice { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.pv-form__notice--ok { background: #e7f6ec; color: #1c6b3a; border: 1px solid #b7e0c4; }
.pv-form__notice--err { background: #fdecec; color: #a12626; border: 1px solid #f2c1c1; }

/* ------------------------------------------------------------------ *
 * Karta výzvy (CPT výstup)
 * ------------------------------------------------------------------ */
.pv-vyzva { background: var(--pv-bg-blue); border-left: 5px solid var(--pv-azure); border-radius: 12px; padding: 24px 26px; max-width: 900px; margin: 0 auto 22px; }
.pv-vyzva h3 { font-size: 20px; margin-bottom: 12px; }
.pv-vyzva__status { color: var(--pv-azure); font-weight: 600; }
.pv-vyzva__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pv-vyzva__list li { display: flex; gap: 14px; align-items: flex-start; }
.pv-vyzva__list li::before { content: "·"; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--pv-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pv-vyzva__cta { margin-top: 18px; }

/* ------------------------------------------------------------------ *
 * Hlavička / navigácia
 * ------------------------------------------------------------------ */
.wp-block-template-part.pv-header,
header.wp-block-template-part { position: sticky; top: 0; z-index: 30; }
.pv-header-inner { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pv-line); }
.pv-header .wp-block-navigation .wp-block-navigation-item__content { font-weight: 500; color: var(--pv-ink); }
.pv-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.pv-header .wp-block-navigation .current_page_item > .wp-block-navigation-item__content,
.pv-header .wp-block-navigation a.wp-block-navigation-item__content[aria-current="page"] { color: var(--pv-orange); font-weight: 600; }

/* Kompaktná hlavička — všetko do jedného riadku na desktope */
.pv-header .wp-block-site-logo img { width: 150px; height: auto; }
.pv-header .wp-block-button__link { padding: 9px 16px; font-size: 14px; }
@media (min-width: 782px) {
	/* pevný font (prebije fluidný clamp z theme.json); položky sa nelámu v strede slova */
	.pv-header .wp-block-navigation { font-size: 14px; }
	.pv-header .wp-block-navigation .wp-block-navigation-item__content { white-space: nowrap; padding: 0; }
}
/* Menšie desktopy — kompaktnejšie rozmery */
@media (min-width: 782px) and (max-width: 1180px) {
	.pv-header .wp-block-navigation { font-size: 13px; }
	.pv-header .wp-block-navigation__container { gap: 13px !important; }
	.pv-header .wp-block-site-logo img { width: 128px; }
	.pv-header .wp-block-button__link { padding: 8px 12px; font-size: 12.5px; }
}
/* Jeden riadok garantovane od 1000 px vyššie (tam sa všetko zmestí) */
@media (min-width: 1000px) {
	.pv-header .wp-block-navigation__container { flex-wrap: nowrap; }
}

/* ------------------------------------------------------------------ *
 * Pätička — biele logo (dočasný fallback z farebného loga)
 * ------------------------------------------------------------------ */
.pv-footer .pv-logo-white img { filter: brightness(0) invert(1); height: 46px; width: auto; }

/* Kontakt v pätičke */
.pv-foot-contact { font-size: 15px; margin-bottom: 6px; color: #cfe0ea; }
.pv-foot-contact a { color: #cfe0ea; }
.pv-foot-contact a:hover { color: #fff; }

/* Sociálne siete — ikonové tlačidlá */
.pv-social { display: flex; gap: 12px; margin-top: 20px; }
.pv-social__link {
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 10px;
	background: var(--pv-bg-blue);
	color: var(--pv-navy);
	transition: background 0.2s, color 0.2s;
}
.pv-social__link:hover { background: var(--pv-azure); color: #fff; }

/* V pätičke (tmavé pozadie) zostávajú ikony vo svetlom, priesvitnom prevedení */
.pv-footer .pv-social__link {
	background: rgba(255, 255, 255, 0.1);
	color: #cfe0ea;
}
.pv-footer .pv-social__link:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* ------------------------------------------------------------------ *
 * Blog
 * ------------------------------------------------------------------ */
.pv-post { position: relative; background: #fff; border: 1px solid var(--pv-line); border-radius: 16px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; height: 100%; }
.pv-post:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(35, 88, 119, 0.12); z-index: 2; }
.pv-post .wp-block-post-featured-image { margin: 0; }
.pv-post .wp-block-post-featured-image img { height: 160px; width: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ *
 * Responzívnosť
 * ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.pv-area { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.pv-hero__deco { display: none; }
	.pv-timeline .pv-tstep { grid-template-columns: 44px 1fr; gap: 14px; }
}

/* Redukovaný pohyb */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.pv-card:hover, .pv-post:hover { transform: none; }
	/* Karusel sa nehýbe — logá sa zalomia do statickej mriežky */
	.pv-logos-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
	.pv-logos-wrap { -webkit-mask-image: none; mask-image: none; }
}

/* ------------------------------------------------------------------ *
 * Právne stránky (Zásady cookies, Ochrana OÚ, VOP) — tabuľka a info box
 * ------------------------------------------------------------------ */
.pv-pp-updated { color: var(--pv-muted); font-size: 14px; }
.pv-cookie-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.pv-cookie-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pv-cookie-table th { background: var(--pv-navy); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
.pv-cookie-table td { padding: 10px 14px; border-bottom: 1px solid var(--pv-line); vertical-align: top; color: var(--pv-ink); }
.pv-cookie-table tr:nth-child(even) td { background: var(--pv-bg-soft); }
.pv-cookie-table td:first-child { font-family: monospace; font-size: 13px; color: var(--pv-navy); font-weight: 600; white-space: nowrap; }
.pv-info-box { background: var(--pv-bg-blue); border-left: 4px solid var(--pv-azure); border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 15px; color: var(--pv-ink); }
.pv-info-box a { color: var(--pv-azure); text-decoration: underline; }

/* ------------------------------------------------------------------ *
 * Redakčné fotografie — spoločný základ + kontextové triedy
 * Vkladané ako štandardné WordPress Image bloky (figure.wp-block-image),
 * len s doplnenou vlastnou className. Vizuálna úprava je čisto cez CSS —
 * súbory samotné sa nemenia (žiadne deštruktívne filtre na origináloch).
 * ------------------------------------------------------------------ */
.pv-site-photo {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(28, 74, 99, 0.16);
	line-height: 0;
}
.pv-site-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* jemná úprava tónu: mierne znížená sýtosť, jemne zvýšený kontrast */
	filter: saturate(0.93) contrast(1.03);
}

/* Hero fotografia (Domov) — pravý stĺpec, 5:4, s tmavomodrým gradient overlay */
.pv-hero-photo {
	border-radius: 22px;
	aspect-ratio: 5 / 4;
	max-width: 620px;
	box-shadow: 0 20px 45px rgba(15, 40, 56, 0.28);
}
.pv-hero-photo img { object-position: 52% center; }
.pv-hero-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(28, 74, 99, 0.55) 0%, rgba(28, 74, 99, 0.08) 100%);
	pointer-events: none;
}

/* Fotografia v sekcii "Kompetentnejší ľudia" (Domov) — nad benefitovým boxom, 5:2 */
.pv-learning-photo {
	border-radius: 17px;
	aspect-ratio: 5 / 2;
	margin-bottom: 18px;
}
.pv-learning-photo img { object-position: center 55%; }

/* Fotografia v sekcii "Priemyselné kurzy" (Oblasti vzdelávania) — 3:2 */
.pv-industrial-photo {
	border-radius: 19px;
	aspect-ratio: 3 / 2;
	margin-bottom: 20px;
}
.pv-industrial-photo img { object-position: center; }

/* Fotografia v sekcii "Čo urobíme za vás" (Pre firmy do výziev) — 16:9, orez na tváre oboch žien */
.pv-grants-photo {
	border-radius: 17px;
	aspect-ratio: 16 / 9;
	margin-top: 22px;
}
.pv-grants-photo img { object-position: 50% 28%; }

/* Panoramatická fotografia (Ako to prebieha) — medzi hero a časovou osou */
.pv-process-photo {
	border-radius: 18px;
	aspect-ratio: 3.5 / 1;
	max-width: 1140px;
	margin: 0 auto 44px;
}
.pv-process-photo img { object-position: center; }

/* Fotografia medzi kartami "Umelá inteligencia" a "Digitálne technológie" (Oblasti vzdelávania) — panoramatický pás */
.pv-digital-photo {
	border-radius: 18px;
	aspect-ratio: 2.4 / 1;
	max-width: 900px;
	margin: 10px auto;
}
.pv-digital-photo img { object-position: center 12%; }

/* Fotografia medzi kartami "Zelené zručnosti a ESG" a "Mäkké zručnosti" (Oblasti vzdelávania) — panoramatický pás */
.pv-leadership-photo {
	border-radius: 18px;
	aspect-ratio: 2.4 / 1;
	max-width: 900px;
	margin: 10px auto;
}
.pv-leadership-photo img { object-position: center 30%; }

/* Fotografia za kartou "Priemyselné a odborné kurzy" (Oblasti vzdelávania) — panoramatický pás */
.pv-safety-photo {
	border-radius: 18px;
	aspect-ratio: 2.4 / 1;
	max-width: 900px;
	margin: 10px auto;
}
.pv-safety-photo img { object-position: center 40%; }

@media (max-width: 900px) {
	.pv-hero-photo { max-width: 100%; aspect-ratio: 16 / 10; }
	.pv-learning-photo { aspect-ratio: 16 / 9; }
	.pv-industrial-photo { aspect-ratio: 16 / 10; }
	.pv-grants-photo { aspect-ratio: 4 / 3; }
	.pv-process-photo { aspect-ratio: 16 / 7; margin-bottom: 36px; }
	.pv-digital-photo { aspect-ratio: 16 / 9; }
	.pv-leadership-photo { aspect-ratio: 16 / 9; }
	.pv-safety-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
	.pv-process-photo { border-radius: 14px; aspect-ratio: 16 / 9; margin-bottom: 30px; }
	.pv-digital-photo { border-radius: 14px; aspect-ratio: 4 / 3; }
	.pv-leadership-photo { border-radius: 14px; aspect-ratio: 4 / 3; }
	.pv-safety-photo { border-radius: 14px; aspect-ratio: 4 / 3; }
}

/* Dvojstĺpcový wrapper pre hero s fotografiou (Domov) — text 57 % / foto 43 % */
.pv-hero-split.wp-block-columns {
	align-items: center;
	gap: 46px;
	flex-wrap: nowrap;
}
.pv-hero-split > .wp-block-column:first-child { flex-basis: 57%; }
.pv-hero-split > .wp-block-column:last-child { flex-basis: 43%; display: flex; justify-content: center; }
@media (max-width: 900px) {
	.pv-hero-split.wp-block-columns { flex-wrap: wrap; gap: 32px; }
	.pv-hero-split > .wp-block-column:first-child,
	.pv-hero-split > .wp-block-column:last-child { flex-basis: 100%; width: 100%; }
}
/* Na hlavnom hero s fotografiou dekoratívne kruhy vypnuté — foto zaberá pravú časť a kruhy by ju prekrývali */
.pv-hero-split-wrap .pv-hero__deco { display: none; }
