/* =========================================================================
   Sailinghangar 2026 – téma stílusok
   ========================================================================= */

:root {
	--ink: #0C1E2C;
	--ink-2: #163247;
	--paper: #F4F6F6;
	--white: #FFFFFF;
	--body: #22333F;
	--muted: #3E4F5C;
	--line: rgba(12, 30, 44, .15);
	--line-dark: rgba(255, 255, 255, .16);
	--accent: #C2461F;
	--accent-hover: #A63A18;
	--accent-text: #B8401C;
	--accent-on-dark: #F08A5D;
	--on-dark: #C9D4DB;
	--on-dark-2: #A9B8C3;
	--font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
	--wrap: 1200px;
	--gutter: 40px;
	--section: 112px;
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-text); }
a:hover { color: #8E2F12; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--white); padding: 12px 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipográfia ---------- */
.display, h1, h2, h3, .h1, .h2, .h3 {
	font-family: var(--font-display);
	font-stretch: 115%;
	letter-spacing: -0.015em;
	margin: 0;
}
.h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; font-weight: 800; }
.h1--xl { font-size: clamp(46px, 6vw, 88px); line-height: .96; }
.h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.08; font-weight: 700; }
.h2--sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.h3 { font-size: 24px; line-height: 1.2; font-weight: 600; }
.h3--lg { font-size: 28px; font-weight: 700; }

.eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent-text);
	margin: 0 0 20px;
}
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.mono--sm { font-size: 11px; }
.lead { font-size: 20px; line-height: 1.55; margin: 0; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 24px; }
.stack--sm > * + * { margin-top: 14px; }
p { margin: 0; }

/* ---------- Gombok ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px;
	background: var(--accent); color: var(--white);
	border: 0; border-radius: 2px;
	font: 600 15px/1 var(--font-body);
	text-decoration: none; cursor: pointer;
	transition: background .15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--white); }
.btn--outline { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn--outline:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn--dark { background: var(--ink); min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--dark:hover { background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Fejléc ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .brand__logo { height: 60px; width: auto; }
.brand__name { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 20px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; }
.site-nav a:hover { color: var(--accent-text); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a, .site-nav .current_page_parent > a, .site-nav a[aria-current="page"] {
	color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent);
}
.site-header__actions { display: flex; gap: 12px; align-items: center; }
.menu-toggle {
	display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
	background: transparent; border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer; color: var(--ink);
}

/* ---------- Szakaszok ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); border-top: 1px solid rgba(12,30,44,.1); border-bottom: 1px solid rgba(12,30,44,.1); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .eyebrow { color: var(--accent-on-dark); }
.section--dark .muted, .section--dark .lead { color: var(--on-dark); }
.section--flush-top { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.section-head > div { max-width: 820px; }

.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split--center { align-items: center; }
.split--reverse { flex-wrap: wrap-reverse; }
.split__side { flex: 1 1 340px; min-width: 0; }
.split__main { flex: 1 1 480px; min-width: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr)); gap: var(--gap, 40px); }
.grid--200 { --min: 200px; }
.grid--240 { --min: 240px; }
.grid--260 { --min: 260px; }
.grid--300 { --min: 300px; }

.rule-item { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.section--dark .rule-item { border-top-color: rgba(255,255,255,.4); }
.rule-item .h3 { margin-bottom: 10px; font-size: 22px; }
.rule-item p { color: var(--muted); line-height: 1.65; }
.section--dark .rule-item p { color: var(--on-dark); }

/* ---------- Képek ---------- */
.media { position: relative; overflow: hidden; background: #DFE6E9; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 3 / 2; }
.media--card { aspect-ratio: 16 / 10; }
.media--fill { min-height: 440px; }
.media--fill img { position: absolute; inset: 0; }
.media__placeholder { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(12,30,44,.07) 0 1px, transparent 1px 14px), #DFE6E9; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: 80px 80px;
}
.hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.hero__text .eyebrow { margin: 0; color: var(--accent-on-dark); }
.hero__text .lead { color: var(--on-dark); max-width: 560px; }
.hero__visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__photo { position: relative; flex: 1; min-height: 520px; background: var(--ink-2); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__coords { color: var(--on-dark-2); font-size: 11px; }
.hero--image { min-height: 620px; display: flex; align-items: center; }
.hero--image .hero__bg { position: absolute; inset: 0; }
.hero--image .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--image .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,30,44,.96) 0%, rgba(12,30,44,.88) 45%, rgba(12,30,44,.35) 100%); }
.hero--image .wrap { position: relative; width: 100%; padding-top: 112px; padding-bottom: 112px; }
.hero--image .hero__content { max-width: 660px; display: flex; flex-direction: column; gap: 26px; }
.hero--image .eyebrow { margin: 0; color: var(--accent-on-dark); }
.hero--image .lead { color: var(--on-dark); }
.hero--simple { padding: 96px 0 72px; }
.hero--simple .lead { margin-top: 28px; max-width: 680px; color: var(--muted); }

.stats { position: relative; border-top: 1px solid var(--line-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 40px; line-height: 1.1; }
.stat__label { margin-top: 4px; color: var(--on-dark-2); font-size: 14px; }
.stats--light { border-top: 0; border-bottom: 1px solid var(--line); padding: 72px 0; }
.stats--light .stat { border: 0; padding: 0; }
.stats--light .stat__num { font-size: 48px; }
.stats--light .stat__label { color: var(--muted); font-size: 16px; }
.stats--light .stats__grid { gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- Kérdéslista ---------- */
.qlist { border-top: 1.5px solid var(--ink); }
.qlist__item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.qlist__item .mono { color: var(--muted); padding-top: 6px; }
.qlist__item .h3 { margin-bottom: 6px; }
.qlist__item p { color: var(--muted); }

/* ---------- Vezetői tükör doboz ---------- */
.mirror { background: var(--white); border: 1px solid rgba(12,30,44,.12); display: flex; flex-wrap: wrap; }
.mirror__text { flex: 1 1 460px; min-width: 0; padding: 56px; display: flex; flex-direction: column; gap: 20px; }
.mirror__text .eyebrow { margin: 0; }
.mirror__steps { flex: 1 1 380px; min-width: 0; background: var(--ink); color: var(--white); padding: 56px; }
.mirror__steps ol { list-style: none; margin: 0; padding: 0; }
.mirror__steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; }
.mirror__steps li:last-child { border-bottom: 0; }
.mirror__steps .num { font-family: var(--font-display); font-size: 22px; color: var(--accent-on-dark); width: 28px; }
.mirror__form { flex: 1 1 100%; padding: 0 56px 56px; }

/* ---------- Programkártyák ---------- */
.lined-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lined-grid > * { background: var(--white); }
.program-card { padding: 32px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 16px; min-height: 380px; }
.program-card:hover { color: var(--ink); background: #FBFBFA; }
.program-card:hover .h3 { color: var(--accent-text); }
.program-card__top { display: flex; justify-content: space-between; }
.program-card__top .mono:first-child { color: var(--accent-text); }
.program-card__top .mono:last-child { color: var(--muted); }
.program-card p { color: var(--muted); flex: 1; }
.focus-card { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.focus-card .mono { color: var(--accent-text); }
.focus-card p { color: var(--muted); }

.program { padding: var(--section) 0; border-bottom: 1px solid rgba(12,30,44,.12); scroll-margin-top: 80px; }
.program .eyebrow { margin: 0; }
.program__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 8px; }
.program__facts > div { border-top: 1.5px solid currentColor; padding-top: 14px; }
.program__facts .mono { margin-bottom: 8px; color: var(--muted); }
.section--dark .program__facts .mono { color: var(--on-dark-2); }
.section--dark .program__facts p { color: #E3E9ED; }
.program-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 72px; border-top: 1px solid var(--line-dark); }
.program-index a { padding: 24px 24px 28px; color: var(--white); text-decoration: none; border-right: 1px solid var(--line-dark); }
.program-index a:first-child { padding-left: 0; }
.program-index a:last-child { border-right: 0; }
.program-index a:hover .h3 { color: var(--accent-on-dark); }
.program-index .mono { color: var(--accent-on-dark); }
.program-index .h3 { display: block; margin-top: 8px; font-size: 22px; }

/* ---------- Táblázat ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.table th { background: var(--ink); color: var(--white); text-align: left; padding: 16px 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.table td { padding: 20px; border-top: 1px solid rgba(12,30,44,.12); }
.table td:first-child { font-family: var(--font-display); font-stretch: 115%; font-size: 20px; font-weight: 600; }

.steps .num { font-family: var(--font-display); font-stretch: 115%; font-size: 48px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }

/* ---------- Idézetek ---------- */
.quote-big { font-family: var(--font-display); font-stretch: 115%; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-weight: 500; margin: 0; }
.testimonial { margin: 0; border: 1px solid var(--line-dark); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: #E3E9ED; flex: 1; }
.testimonial figcaption { display: flex; gap: 14px; align-items: center; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--ink-2); flex: none; }
.testimonial__name { display: block; font-weight: 600; }
.testimonial .mono { color: var(--on-dark-2); }
.pullquote { margin: 0; border-top: 1.5px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.pullquote blockquote { margin: 0; font-size: 20px; line-height: 1.65; color: var(--body); }
.pullquote figcaption { color: var(--muted); }

.chip { display: inline-block; border: 1px solid rgba(12,30,44,.25); padding: 8px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.badges img { height: 72px; width: auto; }

/* ---------- GYIK ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { font-family: var(--font-display); font-stretch: 115%; font-size: 21px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- Blog kártyák ---------- */
.post-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.post-card:hover { color: var(--ink); }
.post-card:hover .h3 { color: var(--accent-text); }
.post-card .mono { color: var(--muted); }
.post-card .h3 { font-size: 22px; line-height: 1.25; }
.post-card p { color: var(--muted); }
.post-featured { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; background: var(--white); border: 1px solid rgba(12,30,44,.12); text-decoration: none; color: var(--ink); }
.post-featured:hover { color: var(--ink); }
.post-featured:hover .h2 { color: var(--accent-text); }
.post-featured .media { flex: 1 1 460px; min-width: 0; min-height: 420px; }
.post-featured .media img { position: absolute; inset: 0; }
.post-featured__text { flex: 1 1 420px; min-width: 0; padding: 40px 48px 40px 0; display: flex; flex-direction: column; gap: 18px; }
.post-featured .eyebrow { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(12,30,44,.3); border-radius: 2px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; }
.filters a:hover { border-color: var(--ink); }
.filters a.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(12,30,44,.3); color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Cikk ---------- */
.article-hero { padding: 88px 0 56px; }
.article-hero .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.article-cover { max-width: 1200px; margin: 0 auto 64px; padding: 0 var(--gutter); }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.prose { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 96px; font-size: 19px; line-height: 1.75; color: var(--body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.2; margin-top: 1.8em; }
.prose h2 { font-size: 32px; font-weight: 700; }
.prose h3 { font-size: 24px; font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-stretch: 115%; font-size: 24px; line-height: 1.35; color: var(--ink); }
.prose img, .prose figure { margin-left: auto; margin-right: auto; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose .alignwide { max-width: 1000px; margin-left: calc(50% - 500px); }
.prose .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.prose .wp-block-image figcaption, .prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose pre { background: var(--ink); color: var(--white); padding: 20px; overflow-x: auto; font-size: 15px; }

/* ---------- Űrlapok ---------- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-form { flex: 999 1 560px; min-width: 0; background: var(--white); border: 1px solid rgba(12,30,44,.12); padding: 48px; }
.contact-info { flex: 1 1 320px; min-width: 0; border-top: 1.5px solid var(--ink); }
.contact-info__row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-info__row:last-child { border-bottom: 0; }
.contact-info__row .mono { color: var(--muted); margin-bottom: 10px; }
.contact-info__big { font-family: var(--font-display); font-stretch: 115%; font-size: 24px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-info__big:hover { color: var(--accent-text); }
.social { display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; }

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="url"], .contact-form input[type="number"], .contact-form select, .contact-form textarea,
.mirror__form input[type="text"], .mirror__form input[type="email"], .mirror__form select, .mirror__form textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid rgba(12,30,44,.3); border-radius: 2px; background: var(--white); font: 16px var(--font-body); color: var(--ink);
}
.contact-form label, .mirror__form label { font-weight: 600; font-size: 14px; }
.wpforms-container .wpforms-submit, .contact-form button[type="submit"], .mirror__form button[type="submit"] {
	background: var(--accent) !important; color: var(--white) !important; border: 0 !important; border-radius: 2px !important; min-height: 48px; padding: 0 24px !important; font: 600 15px var(--font-body) !important; cursor: pointer;
}
.wpforms-container .wpforms-submit:hover { background: var(--accent-hover) !important; }
.compass-form { color: var(--white); }
.compass-form label, .compass-form legend, .compass-form .wpforms-field-label { color: var(--white) !important; }
.compass-form .wpforms-field-sublabel, .compass-form .wpforms-field-description { color: var(--on-dark) !important; }

/* ---------- Partnerek ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-grid a { background: var(--white); min-height: 88px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.partner-grid a:hover { color: var(--accent-text); }
.map { min-height: 380px; border: 0; width: 100%; filter: grayscale(.4); }

/* ---------- Oktatók ---------- */
.teacher { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.teacher:hover { color: var(--ink); }
.teacher:hover .h3 { color: var(--accent-text); }
.teacher p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.award-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1.5px solid var(--ink); }
.award-list li { padding: 28px 24px; border-right: 1px solid var(--line); }
.award-list li:first-child { padding-left: 0; }
.award-list li:last-child { border-right: 0; }
.award-list .year { font-family: var(--font-display); font-stretch: 115%; font-size: 36px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.award-list strong { display: block; margin-bottom: 4px; }
.award-list .mono { color: var(--muted); font-size: 11px; }
.info-card { background: var(--white); border: 1px solid rgba(12,30,44,.12); padding: 32px; line-height: 1.65; }
.info-card .mono { color: var(--muted); margin-bottom: 12px; }
.breadcrumb { margin-bottom: 48px; color: var(--on-dark-2); }
.breadcrumb a { color: var(--on-dark-2); }
.breadcrumb span[aria-current] { color: var(--white); }
.module-list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); line-height: 1.5; font-size: 15px; }
.mission-card { border: 1px solid var(--line-dark); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.mission-card__top { display: flex; justify-content: space-between; align-items: baseline; }
.mission-card__num { font-family: var(--font-display); font-stretch: 115%; font-size: 44px; font-weight: 700; color: var(--accent-on-dark); }
.mission-card p { color: var(--on-dark); flex: 1; }
.mission-card a { color: var(--accent-on-dark); font-weight: 600; }

/* ---------- CTA sáv ---------- */
.cta-band { background: var(--accent); color: var(--white); padding: 96px 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: center; }
.cta-band .h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; font-weight: 800; max-width: 720px; }
.cta-band p { margin-top: 16px; font-size: 18px; color: #FFE9DF; max-width: 720px; }

/* ---------- Lábléc ---------- */
.site-footer { background: #07121B; color: var(--on-dark); padding: 72px 0 32px; border-top: 3px solid var(--accent); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__col h2 { font-family: var(--font-mono); font-stretch: 100%; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-on-dark); font-weight: 500; margin: 0 0 16px; }
.site-footer__col .site-footer__h2-gap { margin-top: 32px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; }
.site-footer__muted { color: var(--on-dark-2); }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; font-size: 15px; line-height: 1.55; max-width: 320px; }
.site-footer__brand p { margin: 0; color: var(--on-dark-2); }
.site-footer__logo { display: inline-flex; align-self: flex-start; }
.site-footer__logo img { height: 76px; width: auto; }
.site-footer__social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__social a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 13px; line-height: 1.2; }
.site-footer__social a:hover { border-color: var(--white); text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: baseline; padding-top: 24px; font-size: 13px; color: var(--on-dark-2); }
.site-footer__bottom-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.site-footer__recaptcha a { text-decoration: underline; }
@media (max-width: 1024px) {
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 640px) {
	.site-footer { padding-top: 56px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.site-footer__col:last-child { grid-column: 1 / -1; }
}

/* ---------- Elérhetőségek sáv ---------- */
.contact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; border-top: 1.5px solid var(--ink); padding-top: 24px; }
.contact-strip .mono { color: var(--muted); margin-bottom: 10px; }

/* ---------- Sütisáv ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--on-dark); border-top: 3px solid var(--accent); box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.cookie-bar p { font-size: 15px; max-width: 720px; }
.cookie-bar a { color: var(--accent-on-dark); }
.cookie-bar .btn--outline { color: var(--white); }

/* ---------- 404 ---------- */
.notfound { padding: 140px 0; text-align: left; }

/* ---------- Reszponzív ---------- */
@media (max-width: 860px) {
	:root { --gutter: 20px; --section: 80px; }
	.menu-toggle { display: inline-flex; }
	.site-header__cta { display: none; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); box-shadow: none !important; }
	.site-nav__mobile-cta { display: block !important; margin-top: 16px; }
	.hero__inner { padding-top: 64px; padding-bottom: 64px; }
	.hero__photo { min-height: 320px; }
	.stat { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line-dark); }
	.mirror__text, .mirror__steps { padding: 32px 24px; }
	.mirror__form { padding: 0 24px 32px; }
	.contact-form { padding: 28px 20px; }
	.post-featured__text { padding: 0 24px 32px; }
	.post-featured .media { min-height: 260px; }
	.program-index a, .award-list li { border-right: 0; padding-left: 0; }
	.prose .alignwide { max-width: 100%; margin-left: 0; }
}
@media (min-width: 861px) {
	.site-nav__mobile-cta { display: none; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
.footer-link { background: none; border: 0; padding: 0; color: var(--on-dark); font: inherit; text-decoration: underline; cursor: pointer; }
.footer-link:hover { color: var(--white); }
.map--placeholder { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px; background: repeating-linear-gradient(135deg, rgba(12,30,44,.05) 0 1px, transparent 1px 14px), #E7ECEE; }

/* Jogi oldalak: táblázatok, gomb-link */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { font-family: var(--mono, monospace); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b6573); }
.prose tbody th { width: 34%; font-weight: 600; }
.prose code { font-size: .9em; background: rgba(13, 27, 42, .06); padding: 1px 5px; border-radius: 2px; word-break: break-word; }
.prose .lead { font-size: 1.15em; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent, #c4451c); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
	.prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: 100%; }
	.prose thead { display: none; }
	.prose tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
	.prose th, .prose td { border: 0; padding: 4px 0; }
}

/* SAI™ Calculator */
.sai-teaser__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); gap: 48px; align-items: center; }
.sai-teaser__text { max-width: 680px; }
.sai-teaser__text .lead { margin-top: 16px; }
.sai-teaser__gauge { display: flex; flex-direction: column; align-items: center; gap: 24px; color: var(--ink); }
.section--dark .sai-teaser__gauge { color: var(--white); }
.sai-teaser__gauge > svg { width: 220px; height: auto; }
.sai-page__app { max-width: 1000px; margin: 0 auto; }
@media (max-width: 860px) { .sai-teaser__inner { grid-template-columns: 1fr; } .sai-teaser__gauge { align-items: flex-start; } }

/* ---------- Védőréteg: bővítmények globális címsor-stílusai ne írják felül a téma elemeit ----------
 * Pl. a SAI Calculator bővítmény minden h1/h2-t sötétkékre színez és aláhúz. A téma saját
 * elemeinél (fejléc, hero, sávok, lábléc) ezt semlegesítjük; a bővítmény saját tartalmát
 * (.sai-page__app) és a szerkesztett tartalmat (.prose, Elementor) nem érintjük. */
body :is(.site-header, .hero, .cta-band, .site-footer, .section, .program) :is(h1, h2, h3, h4):not(.sai-page__app *, .prose *, .elementor *) {
	border: 0;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	background: none;
	box-shadow: none;
	text-align: inherit;
	text-decoration: none;
}
body :is(.hero, .cta-band, .section--dark, .site-footer) :is(h1, h2, h3, h4) { color: inherit; }
body .site-footer .site-footer__col h2 { color: var(--accent-on-dark); }

/* SAI oldal: a bővítmény kártyája körül arányos térköz */
.sai-section { padding: 56px 0 88px; }
.sai-page__app > :first-child { margin-top: 0; }
.sai-page__app > :last-child { margin-bottom: 0; }

/* ---------- Arányok finomhangolása (grafikai átnézés) ---------- */
.split__side .h2 { font-size: clamp(28px, 2.9vw, 40px); }
.hero--image .hero__content { max-width: 760px; }
.contact-strip { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.contact-strip .contact-info__big { font-size: clamp(18px, 1.55vw, 22px); white-space: nowrap; }
@media (min-width: 1000px) { .contact-strip { grid-template-columns: minmax(180px, .9fr) minmax(270px, 1.3fr) 1fr 1fr; } }
@media (max-width: 420px) { .contact-strip .contact-info__big { white-space: normal; overflow-wrap: anywhere; } }
.grid--modules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
@media (max-width: 760px) { .grid--modules { grid-template-columns: 1fr; } }
.mirror__cta { margin-top: 8px; }
.hero--image .lead { max-width: 620px; }

/* Hozzászólások */
.comments { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.comments .comment-list { list-style: none; padding: 0; margin: 24px 0 48px; }
.comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-respond { background: var(--white); border: 1px solid rgba(12,30,44,.12); padding: 40px; }
.comment-respond .comment-notes { font-size: 15px; margin: 8px 0 20px; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.comment-form > p { margin: 0; }
.comment-form .comment-notes, .comment-form .comment-form-comment, .comment-form .comment-form-url, .comment-form .comment-form-cookies-consent, .comment-form .form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(12,30,44,.25); background: var(--paper); padding: 12px 14px; font: inherit; font-size: 16px; border-radius: 0; }
.comment-form textarea { min-height: 140px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form .form-submit .btn { border: 0; cursor: pointer; }
@media (max-width: 640px) { .comment-form { grid-template-columns: 1fr; } .comment-respond { padding: 24px 20px; } }
.sai-page__app { max-width: 1000px; overflow-x: clip; overflow-wrap: anywhere; }

/* Mobil arányok */
@media (max-width: 640px) {
	.stats__grid, .stats--light .stats__grid { grid-template-columns: 1fr 1fr; gap: 0; }
	.stat, .stat:first-child { padding: 22px 16px 22px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
	.stats--light .stat { padding: 0 0 24px; border: 0; }
	.stats--light .stats__grid { gap: 24px 16px; }
	.stat__num { font-size: 34px; }
	.stats--light .stat__num { font-size: 36px; }
	.program-card { min-height: 0; gap: 14px; }
	.hero__photo { min-height: 300px; aspect-ratio: 4 / 3; }
}
