/*!
Theme Name: ministry
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Κοινωνικό Κλιματικό Ταμείο — Official theme
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ministry
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ── Design Tokens ── */
:root {
  --primary-dark:   #003375;
  --primary-mid:    #1071D5;
  --primary-bright: #08b3eb;
  --primary-light:  #e6f4fb;
  --accent:         #ECA72C;
  --neutral-bg:     #f5f7fa;
  --white:          #ffffff;
  --text-primary:   #111827;
  --text-secondary: #4b5f7c;
  --text-muted:     #8a9ab5;
  --border:         #d0dff0;
  --shadow-sm:      0 2px 8px rgba(0,51,117,0.07);
  --shadow-md:      0 6px 24px rgba(0,51,117,0.11);
  --shadow-lg:      0 16px 48px rgba(0,51,117,0.15);
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --transition:     all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  background: var(--neutral-bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container { max-width: 1200px; width: 100%; padding: 0 24px; margin: 0 auto; }
@media (min-width: 1600px) { .container { max-width: 1570px; padding: 0 15px; } }
.cx { margin-left: auto; margin-right: auto; }

/* ── Typography helpers ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary-mid); margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--primary-mid); }
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; color: var(--primary-dark); line-height: 1.25; margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 620px; font-weight: 400; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: inherit; font-weight: 700; font-size: .9rem;
  letter-spacing: .02em; cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #d4911e; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-secondary { background: var(--primary-light); color: var(--primary-mid); }
.btn-secondary:hover { background: var(--primary-mid); color: var(--white); }
.btn-ghost-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); font-weight: 700; }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ── Header ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition); padding: 10px 0;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; width: 100%; padding: 0 24px; margin: 0 auto;
}
@media (min-width: 1600px) { .header-inner { max-width: 1570px; padding: 0 15px; } }
.header-logo img { height: 70px; width: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .nav-dropbtn {
  font-size: .875rem; font-weight: 600; color: var(--text-secondary);
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap; cursor: pointer;
  background: none; border: none; font-family: inherit;
  display: flex; align-items: center; gap: 5px;
}
.main-nav > a:hover, .main-nav > a.active,
.nav-dropdown:hover .nav-dropbtn { color: var(--primary-mid); background: var(--primary-light); }
.nav-dropdown { position: relative; }
.nav-dropbtn svg { width: 12px; height: 12px; fill: currentColor; transition: transform .2s; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropbtn svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  min-width: 220px; overflow: hidden; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; animation: dropIn .2s ease; }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; font-size: .875rem; font-weight: 600;
  color: var(--text-secondary); transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary-mid); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm); border: none; background: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ── Hero ── */
#hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding-top: 92px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('https://stg.demo.gov.gr/kkt/images/εξωφυλλο.png'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,51,117,.90) 0%, rgba(16,113,213,.75) 55%, rgba(8,179,235,.50) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px;
  border-radius: 99px; backdrop-filter: blur(8px); margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-title { font-size: clamp(2.2rem,5vw,3.8rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 24px; letter-spacing: -.02em; }
.hero-title span { color: var(--accent); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 36px; max-width: 580px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: rgba(255,255,255,.6); font-size: .75rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.scroll-arrow { width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── Stats Bar ── */
#stats-bar { background: var(--primary-dark); }
.stats-inner { display: grid; grid-template-columns: repeat(3,1fr); max-width: 1200px; width: 100%; padding: 0 24px; margin: 0 auto; }
@media (min-width:1600px) { .stats-inner { max-width: 1570px; padding: 0 15px; } }
.stat-item { padding: 28px 32px; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; line-height: 1.1; margin-bottom: 4px; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.65); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ── Intro ── */
#intro { padding: 96px 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.intro-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Category Sections ── */
.category-section { padding: 96px 0; }
.category-section:nth-child(even) { background: var(--white); }
.category-section:nth-child(odd) { background: var(--neutral-bg); }
.section-header { margin-bottom: 40px; }
.section-header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-icon-slot {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--primary-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary-mid);
}
.section-title-row .section-title { margin-bottom: 0; }
.view-all-link {
  font-size: .875rem; font-weight: 700; color: var(--primary-mid);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  flex-shrink: 0; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: var(--transition);
}
.view-all-link:hover { color: var(--primary-dark); border-bottom-color: var(--primary-dark); }

/* ── Carousel ── */
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 24px; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; padding: 20px 0; }
.carousel-track .card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
.carousel-controls { display: flex; align-items: center; gap: 10px; margin-top: 28px; justify-content: flex-end; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border);
  background: var(--white); color: var(--primary-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0;
}
.carousel-btn:hover:not(:disabled) { background: var(--primary-mid); border-color: var(--primary-mid); color: var(--white); }
.carousel-btn:disabled { opacity: .35; cursor: not-allowed; }
.carousel-btn svg { width: 18px; height: 18px; }

/* ── Card (carousel homepage) ── */
.card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-bright); }
.card-img-wrap { overflow: hidden; flex-shrink: 0; height: 220px; background: var(--primary-light); }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.card:hover .card-img { transform: scale(1.07); }
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary-mid); margin-bottom: 8px; }
.card-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; line-height: 1.4; }
.card-desc { font-size: .875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.card-footer-strip { padding: 14px 22px; border-top: 1px solid var(--border); }
.card-link { font-size: .82rem; font-weight: 700; color: var(--primary-mid); display: flex; align-items: center; gap: 5px; transition: var(--transition); }
.card-link:hover { color: var(--primary-dark); gap: 8px; }
.card-link svg { width: 14px; height: 14px; }
.tag-transport { color: #1a5fa8; }
.tag-housing { color: #7b3fa8; }

/* ── Measure Card (archive pages) ── */
.measure-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; display: flex;
  flex-direction: column; transition: var(--transition); position: relative;
}
.measure-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-bright); }
.measure-card .card-img-wrap { height: 220px; }
.measure-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-status {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 99px; backdrop-filter: blur(6px);
}
.card-status .s-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.status-active   { background: rgba(240,253,244,.92); color: #166534; }
.status-active   .s-dot { background: #16a34a; }
.status-soon     { background: rgba(254,249,236,.92); color: #92600a; }
.status-soon     .s-dot { background: #ca8a04; }
.status-upcoming { background: rgba(230,244,251,.92); color: var(--primary-mid); }
.status-upcoming .s-dot { background: var(--primary-mid); }
.card-code { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-mid); }
.card-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.card-meta-item { padding: 12px 14px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; }
.card-meta-item:last-child { border-right: none; }
.card-meta-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.card-meta-value { font-size: .875rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
.card-footer { padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }

/* ── Beneficiaries ── */
#beneficiaries { padding: 96px 0; background: var(--primary-dark); position: relative; overflow: hidden; }
#beneficiaries::before { content: ''; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(8,179,235,.12) 0%, transparent 70%); pointer-events: none; }
#beneficiaries .section-label { color: var(--accent); }
#beneficiaries .section-label::before { background: var(--accent); }
#beneficiaries .section-title { color: var(--white); }
#beneficiaries .section-desc { color: rgba(255,255,255,.65); max-width: 560px; }
.beneficiaries-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden;
}
.ben-card {
  background: transparent; border: none; border-radius: 0; padding: 40px 36px;
  transition: var(--transition); position: relative; display: flex; gap: 24px;
  align-items: flex-start; border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ben-card:nth-child(2n) { border-right: none; }
.ben-card:nth-child(3), .ben-card:nth-child(4) { border-bottom: none; }
.ben-card::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background .25s ease; }
.ben-card:hover::after { background: rgba(255,255,255,.04); }
.ben-icon { width: 60px; height: 60px; background: rgba(236,167,44,.12); border: 1px solid rgba(236,167,44,.25); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.ben-icon svg { width: 28px; height: 28px; fill: var(--accent); }
.ben-content { flex: 1; position: relative; z-index: 1; }
.ben-number { font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ben-number::after { content: ''; flex: 1; height: 1px; background: rgba(236,167,44,.25); }
.ben-title { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.ben-desc { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ── Announcements ── */
#announcements { padding: 96px 0; background: var(--white); }
.press-list { display: flex; flex-direction: column; gap: 15px; margin-top: 48px; }
.press-row { display: grid; grid-template-columns: 110px 1fr auto; align-items: stretch; border-bottom: 2px solid var(--border); background: #f6f6f6; }
.press-row:hover { background: var(--neutral-bg); }
.press-date-block { background: var(--primary-light); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px; border-right: 1px solid var(--border); flex-shrink: 0; }
.press-day { font-size: 2rem; font-weight: 800; color: var(--primary-dark); line-height: 1; display: block; }
.press-month { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary-mid); margin-top: 4px; display: block; }
.press-year { font-size: .72rem; font-weight: 600; color: var(--text-muted); margin-top: 2px; display: block; }
.press-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.press-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--primary-light); color: var(--primary-mid); padding: 3px 10px; border-radius: 99px; display: inline-block; margin-bottom: 4px; width: fit-content; }
.press-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; }
.press-excerpt { font-size: .875rem; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.press-action { display: flex; align-items: center; padding: 28px 32px 28px 16px; flex-shrink: 0; }
.press-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--primary-light); color: var(--primary-mid); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 700; transition: var(--transition); white-space: nowrap; }
.press-btn:hover { background: var(--primary-mid); color: var(--white); }
.press-btn svg { width: 13px; height: 13px; }

/* ── FAQ ── */
#faq { padding: 96px 0; background: var(--neutral-bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--primary-bright); box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--primary-mid); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; text-align: left; font-family: inherit; font-size: .95rem;
  font-weight: 700; color: var(--text-primary); line-height: 1.4; transition: var(--transition);
}
.faq-question:hover { color: var(--primary-mid); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light);
  border: 1px solid var(--border); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: var(--transition);
}
.faq-icon svg { width: 14px; height: 14px; fill: var(--primary-mid); transition: transform .25s ease; }
.faq-item.open .faq-icon { background: var(--primary-mid); border-color: var(--primary-mid); }
.faq-item.open .faq-icon svg { fill: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 16px 22px 20px; font-size: .9rem; color: var(--text-secondary); line-height: 1.7; border-top: 1px solid var(--border); }

/* ── Page Hero (inner pages) ── */
#page-hero {
  position: relative; min-height: 360px; display: flex;
  align-items: flex-end; padding-top: 92px; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,31,80,.97) 0%, rgba(0,44,110,.82) 45%, rgba(0,51,117,.55) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding-bottom: 52px; width: 100%; }
.page-hero-eyebrow, .page-hero-category {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); color: rgba(255,255,255,.9); font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 14px;
}
.page-hero-eyebrow .dot, .page-hero-category .cat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.page-hero-title { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; color: var(--white); line-height: 1.18; letter-spacing: -.02em; margin-bottom: 10px; max-width: 860px; }
.page-hero-desc { font-size: 1rem; color: rgba(255,255,255,.65); max-width: 600px; line-height: 1.7; }

/* ── Page Hero Stats ── */
.page-hero-stats {
  display: flex; align-items: stretch; gap: 0; margin-top: 36px;
  background: rgba(255,255,255,.10); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md);
  overflow: hidden; width: fit-content; max-width: 100%;
}
.hero-stat {
  display: flex; align-items: center; gap: 12px; padding: 16px 28px;
  border-right: 1px solid rgba(255,255,255,.15); transition: background .2s ease;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(255,255,255,.08); }
.hero-stat-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(236,167,44,.18); border: 1px solid rgba(236,167,44,.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-stat-icon svg { width: 17px; height: 17px; fill: var(--accent); }
.hero-stat-value { font-size: 1rem; font-weight: 800; color: var(--white); line-height: 1.1; display: block; }
.hero-stat-label { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .04em; display: block; margin-top: 2px; }

/* ── Breadcrumb ── */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 13px 0; }
.breadcrumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.breadcrumb a { font-size: .8rem; color: var(--text-muted); font-weight: 600; transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary-mid); }
.breadcrumb-sep { color: var(--border); font-size: .75rem; }
.breadcrumb-current { font-size: .8rem; color: var(--text-secondary); font-weight: 600; }

/* ── Measure Stats Strip ── */
#measure-stats { background: var(--white); border-bottom: 1px solid var(--border); }
.measure-stats-inner { display: flex; align-items: stretch; gap: 0; }
.m-stat { display: flex; align-items: center; gap: 16px; padding: 22px 36px 22px 0; margin-right: 36px; border-right: 1px solid var(--border); flex-shrink: 0; }
.m-stat:last-child { border-right: none; margin-right: 0; }
.m-stat-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-stat-icon svg { width: 19px; height: 19px; fill: var(--primary-mid); }
.m-stat-value { font-size: 1.05rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1; display: block; }
.m-stat-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; display: block; margin-top: 3px; text-transform: uppercase; }

/* ── Entry Content ── */
#page-content { padding: 72px 0 96px; background: var(--white); }
.prose-wrap { width: 100%; }
.entry-content h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--primary-dark); line-height: 1.3; margin: 48px 0 14px; padding-top: 48px; border-top: 2px solid var(--border); }
.entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.entry-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin: 28px 0 10px; }
.entry-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.entry-content ul li, .entry-content ol li { font-size: .975rem; color: var(--text-secondary); padding-left: 22px; position: relative; line-height: 1.7; }
.entry-content ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary-bright); }
.entry-content ol { counter-reset: ol-counter; }
.entry-content ol li { counter-increment: ol-counter; }
.entry-content ol li::before { content: counter(ol-counter) '.'; position: absolute; left: 0; top: 0; font-size: .82rem; font-weight: 700; color: var(--primary-mid); }
.entry-content strong { font-weight: 700; color: var(--text-primary); }
.entry-content a { color: var(--primary-mid); font-weight: 600; border-bottom: 1px solid var(--border); transition: var(--transition); }
.entry-content a:hover { border-bottom-color: var(--primary-mid); }
.entry-content blockquote { margin: 28px 0; padding: 20px 28px; background: var(--primary-light); border-left: 4px solid var(--primary-mid); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .975rem; color: var(--primary-dark); font-weight: 600; line-height: 1.7; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9rem; }
.entry-content table th { background: var(--primary-dark); color: var(--white); font-weight: 700; padding: 12px 16px; text-align: left; }
.entry-content table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.entry-content table tr:nth-child(even) td { background: var(--neutral-bg); }
.entry-content img { width: 100%; border-radius: var(--radius-md); margin: 28px 0; box-shadow: var(--shadow-md); }

/* ── CTA Banner ── */
#cta { padding: 72px 0; background: var(--neutral-bg); border-top: 1px solid var(--border); }
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-lg); padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.05); pointer-events: none; }
.cta-banner::after { content: ''; position: absolute; left: 40%; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(8,179,235,.08); pointer-events: none; }
.cta-text { position: relative; z-index: 1; }
.cta-overline { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cta-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--white); line-height: 1.25; margin-bottom: 12px; }
.cta-desc { font-size: .975rem; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; position: relative; z-index: 1; }

/* ── Article (press) ── */
.press-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
.article-header { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 2px solid var(--border); }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.article-type { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; flex-shrink: 0; }
.type-press  { background: var(--primary-light); color: var(--primary-mid); }
.type-news   { background: #fef9ec; color: #92600a; border: 1px solid #fde68a; }
.type-update { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.article-date { font-size: .875rem; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.article-date svg { width: 14px; height: 14px; fill: var(--text-muted); }
.article-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary-dark); line-height: 1.22; letter-spacing: -.02em; }
.article-footer { margin-top: 52px; padding-top: 28px; border-top: 2px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-tags-label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0; }
.article-tag { font-size: .78rem; font-weight: 600; color: var(--primary-mid); background: var(--primary-light); padding: 4px 12px; border-radius: 99px; transition: var(--transition); }
.article-tag:hover { background: var(--primary-mid); color: var(--white); }
.article-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.action-label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.action-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.action-btn:hover { background: var(--primary-light); border-color: var(--primary-mid); }
.action-btn svg { width: 15px; height: 15px; fill: var(--text-secondary); }
.action-btn:hover svg { fill: var(--primary-mid); }
.print-btn { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--text-muted); padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; transition: var(--transition); }
.print-btn:hover { border-color: var(--primary-mid); color: var(--primary-mid); background: var(--primary-light); }
.print-btn svg { width: 14px; height: 14px; fill: currentColor; }
.press-sidebar { position: sticky; top: 112px; }
.sidebar-widget { background: var(--neutral-bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.widget-head { padding: 16px 20px 12px; border-bottom: 2px solid var(--border); }
.widget-head-title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.widget-body { padding: 4px 0; }
.recent-item { display: block; padding: 11px 20px; border-bottom: 1px solid var(--border); transition: var(--transition); }
.recent-item:last-child { border-bottom: none; }
.recent-item:hover { background: var(--primary-light); padding-left: 24px; }
.recent-item-date { font-size: .72rem; font-weight: 700; color: var(--text-muted); margin-bottom: 3px; display: block; }
.recent-item-title { font-size: .85rem; font-weight: 700; color: var(--text-secondary); line-height: 1.45; display: block; transition: var(--transition); }
.recent-item:hover .recent-item-title { color: var(--primary-mid); }

/* ── Cards grid ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── FAQ Archive grid ── */
.faq-category-section { padding: 64px 0; border-bottom: 2px solid var(--border); }
.faq-category-section:last-child { border-bottom: none; }
.faq-category-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.faq-cat-icon { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--primary-light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary-mid); }
.faq-cat-title { font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); }

/* ── Footer ── */
#site-footer { background: #0a1628; padding: 64px 0 32px; }
.footer-inner { max-width: 1200px; width: 100%; padding: 0 24px; margin: 0 auto; }
@media (min-width:1600px) { .footer-inner { max-width: 1570px; padding: 0 15px; } }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo img { height: 77px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 16px; }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 300px; }
.footer-col-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-divider { height: 1px; background: rgba(255,255,255,.08); margin-bottom: 28px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy, .footer-espa { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ── Highlights section ── */
.hl-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; transition: var(--transition); }
.hl-card:hover { background: rgba(255,255,255,.10); }

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .carousel-track .card { flex: 0 0 calc((100% - 24px) / 2); }
  #faq .faq-side-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .press-layout { grid-template-columns: 1fr; gap: 48px; }
  .press-sidebar { position: static; }
}
@media (max-width: 900px) {
  .intro-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .beneficiaries-layout { grid-template-columns: 1fr; }
  .ben-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .ben-card:last-child { border-bottom: none; }
  .press-row { grid-template-columns: 90px 1fr; }
  .press-action { display: none; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px; gap: 32px; }
  .page-hero-stats { flex-direction: column; width: 100%; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero-stat:last-child { border-bottom: none; }
  .measure-stats-inner { flex-wrap: wrap; }
  .m-stat { padding: 16px 20px 16px 0; margin-right: 20px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 92px; left: 0; right: 0; background: var(--white); padding: 16px; border-top: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .section-header-inner { flex-direction: column; align-items: flex-start; }
  .carousel-track .card { flex: 0 0 100%; }
  .dropdown-menu { position: static; box-shadow: none; border: none; border-left: 2px solid var(--border); border-radius: 0; margin-left: 12px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.mob-open .dropdown-menu { display: block; }
  .press-row { grid-template-columns: 80px 1fr; }
  .article-footer { flex-direction: column; gap: 18px; }
}
@media (max-width: 580px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 24px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .press-row { grid-template-columns: 1fr; }
  .press-date-block { flex-direction: row; gap: 8px; padding: 16px 20px; border-right: none; border-bottom: 1px solid var(--border); justify-content: flex-start; }
}

/* ── Print ── */
@media print {
  #site-header, .press-sidebar, .article-actions, #site-footer { display: none !important; }
}

/* ── Accessibility ── */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
