/* ============================================================
   BOLDOGASSZONY ISKOLANŐVÉREK — BRAND CSS
   Arculat: SSND Brandbook (2017)
   Tipográfia: Cormorant Garamond + Mulish
   ============================================================ */

/* Brandbook fonts: Helvetica Neue / Arial (headlines, UI) + Sabon / Times (body, display) */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand colors (Pantone values from brandbook) */
  --color-navy:        #002E5D;   /* Pantone 648 — sötétkék, elsődleges */
  --color-blue:        #326295;   /* Pantone 653 — logó kék */
  --color-blue-light:  #4A7EAD;   /* kék hover árnyalat */
  --color-gold:        #005295;   /* Pantone 137 — arany akcentus */
  --color-gold-light:  #FDD26E;   /* Pantone 134 — halvány arany */
  --color-gold-pale:   #F8E08E;   /* Pantone 1205 — nagyon halvány arany */
  --color-tan:         #9ACBEA;   /* Pantone 467 — meleg bézs */
  --color-red:         #A4343A;   /* Pantone 1807 */
  --color-green:       #009639;   /* Pantone 355 */

  /* Neutrals */
  --color-black:       #2D2926;   /* Pantone Black C */
  --color-dark:        #1A1614;
  --color-mid:         #4A4542;
  --color-muted:       #7A756F;
  --color-border:      #DDD8D0;
  --color-bg-warm:     #FAF8F4;   /* meleg fehér háttér */
  --color-bg-cream:    #F4EFE6;   /* krémszín */
  --color-white:       #FFFFFF;

  /* Typography */
  /* Brandbook 4.1 / 4.2: Helvetica Neue for UI/headlines, Sabon/Times for body & display */
  --font-display: 'Sabon LT Std', 'Sabon', 'Times New Roman', Times, Georgia, serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Font sizes */
  --text-xs:   0.75rem;   /* 12px — UI labelek, badge-ek */
  --text-sm:   0.75rem;  /* 14px — UI másodlagos szöveg */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  1.875rem;      /* 32px */
  --text-3xl:  2rem;    /* 40px */
  --text-4xl:  3.25rem;   /* 52px */
  --text-5xl:  4rem;      /* 64px */

  /* Spacing (8px rács) */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 40px; --sp-6: 48px; --sp-7: 56px; --sp-8: 64px;
  --sp-10: 80px; --sp-12: 96px; --sp-16: 128px;

  /* Borders */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,46,93,.08), 0 1px 2px rgba(0,46,93,.06);
  --shadow-md:  0 4px 16px rgba(0,46,93,.10), 0 2px 6px rgba(0,46,93,.06);
  --shadow-lg:  0 12px 40px rgba(0,46,93,.14), 0 4px 12px rgba(0,46,93,.08);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body); /* Brandbook 4.2: Sabon/Times for body copy */
  font-size: 1.0625rem; /* 17px — Sabon optikailag kisebb mint sans */
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:not(.btn):hover { color: var(--color-navy); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
/* Brandbook 4.2: Headlines → Helvetica Neue/Arial; Body/subheads → Sabon/Times */
h1, h2, h3, h4 {
  font-family: var(--font-body); /* Brandbook 4.2: Helvetica Neue for headlines */
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 { font-size: var(--text-4xl); font-weight: 500; }
h2 { font-size: var(--text-2xl); font-weight: 500; }
h3 { font-size: var(--text-xl); font-weight: 500; }
h4 { font-size: var(--text-lg); font-weight: 500; }
h5 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-navy); }

p { margin-bottom: var(--sp-2); color: var(--color-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--font-body); /* Brandbook 4.2: Sabon for body/subheads */
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--color-mid);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--sp-1);
}

blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-navy);
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-6); }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center  { display: flex; justify-content: center; align-items: center; }
.flex-start   { display: flex; align-items: flex-start; gap: var(--sp-3); }

section { padding: var(--sp-10) 0; }


/* UI elemek mind explicit Helvetica Neue-t kapnak (brandbook 4.2) */
nav, button, input, select, textarea,
.main-nav, .sub-nav, .eyebrow, .link-arrow,
.news-card__date, .news-card__title, .news-card__excerpt,
.site-header__logo-text, .footer-col, .footer-about,
.breadcrumb, .pagination, .filter-tag,
.sidebar__card, .tab, .location-badge {
  font-family: var(--font-body);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  min-width: 160px;
}

.btn--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn--primary:hover {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.btn--gold {
  background-color: var(--color-tan);
  color: var(--color-navy);
  border-color: var(--color-tan);
}
.btn--gold:hover {
  background-color: white;
  border-color: var(--color-gold-light);
  color: var(--color-navy);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--sm { padding: 10px 22px; font-size: var(--text-xs); }

.link-arrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.link-arrow::after { content: '→'; }
.link-arrow:hover { color: var(--color-navy); gap: 10px; }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header { margin-bottom: var(--sp-6); }
.section-header h2 { margin-bottom: var(--sp-2); }
.section-header p { max-width: 560px; }
.section-header--centered { text-align: center; }
.section-header--centered p { margin: 0 auto; }

/* ── DECORATIVE DIVIDER ─────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: var(--sp-2) 0 var(--sp-3);
  border: none;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ── HEADER / NAV ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: var(--sp-3);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 300px;
}

.site-header__logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.site-header__logo-text {
  font-family: var(--font-body); /* Brandbook 4.1: Helvetica Neue Regular */
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: 0;
}
.site-header__logo-text small {
  display: block;
  font-family: var(--font-body); /* Brandbook 4.1: Helvetica Neue Medium Italic */
  font-style: italic;
  font-size: 0.7rem; /* Brandbook: tartomány neve kisebb — kivétel az 1rem szabály alól */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mid);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-navy);
  background-color: var(--color-bg-warm);
}
.main-nav a.active { color: var(--color-blue); }

.nav-search-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-mid);
  transition: all var(--transition);
  flex-shrink: 0;
}
.nav-search-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background: var(--color-bg-warm);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--sp-8) 0;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 163, 0, 0.55);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 12px; height: 1px;
  background-color: var(--color-gold);
  flex-shrink: 0;
  opacity: 0.5;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;

}
.hero h1 span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 4vw, 3rem);
      text-transform: none;
}
.hero p {
  font-size: var(--text-md);
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-5);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hero__image-frame {
  position: relative;
  aspect-ratio: 4/3;
border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);

}

.hero__image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: var(--text-sm);
  font-family: var(--font-body);
}

/* ── DAILY QUOTE ─────────────────────────────────────────────── */
.daily-quote {
  background-color: var(--color-tan); /* Pantone 467 — brandbook */
  padding: var(--sp-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.daily-quote__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.daily-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.65;
  margin-bottom: var(--sp-2);
}

.daily-quote cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(0,46,93,0.6);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ── NEWS CARDS ─────────────────────────────────────────────── */
.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);

  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  overflow: hidden;
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }

.news-card__body { padding: var(--sp-3); }

.news-card__date {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;

  color: var(--color-muted);
  margin-bottom: var(--sp-1);
}

.news-card__title {
 
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: var(--sp-1);
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;

}

.news-card__excerpt {
  font-size: var(--text-base);
  color: var(--color-muted);
  margin-bottom: var(--sp-2);
  line-height: 1.6;
    display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

/* ── IMAGE+TEXT SECTION ─────────────────────────────────────── */
.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.image-text-section--reverse { direction: rtl; }
.image-text-section--reverse > * { direction: ltr; }

.section-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-tan) 60%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  position: relative;
}

.section-image img { width: 100%; height: 100%; object-fit: cover; }

.section-text .sub-links {
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-2);
  margin-top: var(--sp-3);
}
.section-text .sub-links__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.section-text .sub-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.section-text .sub-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all var(--transition);
}
.section-text .sub-links a:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: white;
}

.services-list { list-style: none; margin-top: var(--sp-3); }
.services-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.services-list li:first-child { border-top: 1px solid var(--color-border); }
.services-list a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition), gap var(--transition);
}
.services-list a::after { content: '→'; color: var(--color-gold); }
.services-list a:hover { color: var(--color-blue); gap: 12px; }
.services-list span {
  font-size: var(--text-base);
  color: var(--color-muted);
}

/* ── MAP SECTION ─────────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, #E8F1F8 0%, #C8DCF0 50%, #9BCBEB 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background:var(--color-navy);
display: flex;
justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding-right: 30px;
}
.banner-text-box {
  padding: 40px;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,163,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--color-white);
  
  margin-bottom: var(--sp-2);
}
.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-md);
  max-width: 640px;
  
}

/* ── BLOCKQUOTE SECTION ─────────────────────────────────────── */
.quote-section {
  background-color: var(--color-tan);
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.55;
  max-width: 800px;
  margin: 0 auto var(--sp-2);
}
.quote-section cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
 color: rgba(0, 46, 93, 0.6);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-12) 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-2);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--color-white); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--sp-3);
  text-decoration: none;
}
.footer-logo img,
.footer-logo svg { width: 44px; height: 44px; }
.footer-logo__text {
  font-family: var(--font-body); /* Brandbook 4.1: Helvetica Neue Regular */
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.25;
}
.footer-logo__text small {
  display: block;
  font-family: var(--font-body); /* Brandbook 4.1: Helvetica Neue Medium Italic */
  font-style: italic;
  font-size: 0.7rem; /* Brandbook: tartomány neve kisebb — kivétel az 1rem szabály alól */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-pale);
  margin-top: 2px;
}

.footer-about {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}
.footer-about a { color: rgba(255,255,255,0.55); }
.footer-about a:hover { color: white; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social a:hover {
  background: rgba(255,163,0,0.2);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background-color: var(--color-navy);
  padding: var(--sp-8) 0;
  border-bottom: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-2);
  color: var(--color-white);
}
.page-hero p,
.page-hero .lead {
  max-width: 680px;
  color: rgba(255,255,255,.75);
}
.page-hero .eyebrow {
  color: var(--color-gold);
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.breadcrumb li a {
  color: var(--color-blue);
  text-decoration: none;
}
.breadcrumb li a:hover { color: var(--color-navy); text-decoration: underline; }
.breadcrumb li::after { content: '/'; color: var(--color-border); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb li:last-child { color: var(--color-black); font-weight: 500; }

/* ── SUB-NAV ─────────────────────────────────────────────────── */
.sub-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-2) 0;
  position: -webkit-sticky;
  position: sticky;
  top: 72px;
  z-index: 60;
  /* Sticky csak akkor működik, ha a szülő nem overflow:hidden */
  will-change: transform;
}
.sub-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sub-nav a {
  display: inline-block;
  padding: 7px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mid);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all var(--transition);
}
.sub-nav a:hover,
.sub-nav a.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: white;
}

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 120px; /* 72px header + ~48px sub-nav */
  align-self: start;
}
.sidebar__card {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.sidebar__card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid var(--color-border);
}
.sidebar__card ul { list-style: none; }
.sidebar__card li { margin-bottom: 12px; }
.sidebar__card a {
  font-size: var(--text-base);
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}
.sidebar__card a:hover { color: var(--color-navy); }
.sidebar__card a.current { font-weight: 700; color: var(--color-navy); }

/* ── CONTENT PROSE ──────────────────────────────────────────── */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.2em; color: var(--color-mid); line-height: 1.75; }
.prose h2 { margin-top: 2.5em; margin-bottom: 0.5em; }
/* Első heading-nek nincs margin-top — sem prose-ban, sem eyebrow után */
.prose > h2:first-child,
.prose > h3:first-child,
.eyebrow + h2,
.eyebrow + h1 { margin-top: 0; }
.prose h3 { margin-top: 2em; margin-bottom: 0.4em; font-size: var(--text-lg); }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.5em; color: var(--color-mid); }
.prose blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--sp-3);
  margin: var(--sp-4) 0;
  font-size: var(--text-lg);
  color: var(--color-navy);
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card__image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-bg-cream), var(--color-border));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted); font-size: var(--text-sm);
}
.card__body { padding: var(--sp-3); }
.card__body h3 { font-size: var(--text-lg); margin-bottom: var(--sp-1); }
.card__body p { font-size: var(--text-base); color: var(--color-muted); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: var(--text-xl); margin-bottom: 4px; }
.contact-card .subtitle {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--color-border);
}
.contact-card p {
  font-size: var(--text-sm);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── TABLES ─────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
}
tbody td {
  padding: 12px 16px;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-mid);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--color-bg-warm); }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-2); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-black);
}
.form-input {
  width: 100%;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-black);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(50,98,149,0.12);
}
textarea.form-input { min-height: 120px; resize: vertical; }

/* ── CARD GRID ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── TIMELINE ────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--sp-6);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-blue));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: var(--sp-5);
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-6) + 6px);
  top: 5px;
  width: 12px; height: 12px;
  border: 2px solid var(--color-gold);
  background: var(--color-white);
  border-radius: 50%;
}
.timeline-year {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-navy);
}
.timeline-item p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── DOC ROWS ────────────────────────────────────────────────── */
.doc-list { margin: var(--sp-2) 0; }
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.doc-row:first-child { border-top: 1px solid var(--color-border); }
.doc-info h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 2px;
}
.doc-info span {
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.doc-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.doc-link:hover { color: var(--color-navy); }

/* ── INFO BOX ────────────────────────────────────────────────── */
.info-box {
  border: 2px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
  background: var(--color-white);
}
.info-box h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-1);
}
.info-box p {
  font-size: var(--text-sm);
  color: var(--color-mid);
  margin: 0;
}

/* ── PRINCIPLE CARDS ─────────────────────────────────────────── */
.principle-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.principle-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-1);
}
.principle-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}

/* ── WORLD MAP CARDS ─────────────────────────────────────────── */
.world-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.world-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-navy); margin-bottom: 4px; }
.world-card p  { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }

/* ── RESPONSIVE: card-grid ───────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .card-grid,
  .card-grid--2,
  .card-grid--4 { grid-template-columns: 1fr; }
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }
.bg-warm { background-color: var(--color-bg-warm); }
.bg-cream { background-color: var(--color-bg-cream); }
.bg-navy { background-color: var(--color-navy); color: white; }

/* ── PLACEHOLDER IMAGES ─────────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-tan) 50%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-family: var(--font-body);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }
  .image-text-section { gap: var(--sp-6); }
  .hero__inner { gap: var(--sp-8); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  section { padding: var(--sp-8) 0; }

  .hero { padding: var(--sp-8) 0; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__image-frame { display: none; }

  .main-nav { display: none; } /* mobile menu todo */

  .grid-2, .grid-3, .grid-4,
  .image-text-section { grid-template-columns: 1fr; }
  .image-text-section--reverse { direction: ltr; }

  .site-footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  .grid-2-1 { grid-template-columns: 1fr; }

  .cta-banner { padding: var(--sp-6) var(--sp-4); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-2); }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
}
