/*
Theme Name: Župkov 2026
Author: Kampaň Župkov 2026
Description: Volebná kampaň Župkov 2026 – responzívna téma s editovateľnými kandidátmi, programom a hero fotografiou.
Version: 1.1.20
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: zupkov-2026
*/

:root {
  --navy: #082b49;
  --navy-deep: #05233d;
  --green: #4c9866;
  --green-dark: #2f7d4c;
  --green-soft: #dce8d8;
  --gold: #e6b528;
  --ivory: #f8f4ec;
  --white: #fff;
  --ink: #102a43;
  --muted: #5d6973;
  --line: rgba(8, 43, 73, .12);
  --shadow: 0 12px 34px rgba(8, 43, 73, .1);
  --radius: 16px;
  --container: 1366px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 22%, rgba(230,181,40,.035), transparent 30%),
    var(--ivory);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto!important; width: auto; height: auto; margin: 12px; padding: 12px 18px;
  color: var(--navy); background: #fff; z-index: 100000;
}
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 920px); margin-inline: auto; }

/* Header */
.site-header {
  position: relative; z-index: 100; height: 118px; background: rgba(248,244,236,.98);
  border-bottom: 1px solid rgba(8,43,73,.06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 44px; }
.site-brand { display: flex; align-items: center; margin-right: auto; }
.site-brand img { width: auto; height: 104px; object-fit: contain; }
.site-title-text { font-size: 1.35rem; font-weight: 850; color: var(--navy); text-decoration: none; }
.main-navigation { display: flex; align-items: center; }
.main-navigation ul { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.main-navigation a {
  display: block; padding: 14px 20px; color: var(--navy); font-size: 1.03rem;
  font-weight: 750; text-decoration: none; border-radius: 8px;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--green-dark); background: rgba(76,152,102,.07); }
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
  content: ""; display: block; width: 34px; height: 2px; margin: 6px auto -8px; background: var(--green);
}
.mobile-program-link { display: none; }
.header-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 24px; color: #fff; background: linear-gradient(135deg,var(--green),var(--green-dark));
  border: 0; border-radius: 9px; box-shadow: 0 8px 20px rgba(47,125,76,.18);
  font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.header-cta::after, .button-arrow::after { content: "→"; color: var(--gold); font-size: 1.45em; line-height: 1; }
.header-cta:hover, .button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47,125,76,.25); }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { color: var(--navy); background: #f0c648; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s; }

/* Shared typography and ornament */
.eyebrow { color: var(--green-dark); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.display-title {
  margin: 0; color: var(--navy); font-size: clamp(3rem, 5.1vw, 5.25rem); line-height: .98;
  letter-spacing: -.045em; font-weight: 900; text-transform: uppercase;
}
.section-title { margin: 0; color: var(--navy); font-size: clamp(2rem,3.2vw,3rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 900; text-align: center; }
.sprig-divider { display: flex; align-items: center; justify-content: center; gap: 0; width: min(460px,80%); margin: 16px auto; color: var(--gold); }
.sprig-divider::before, .sprig-divider::after { content: ""; height: 1px; flex: 1; background: var(--gold); }
.sprig-divider span { display: grid; place-items: center; width: 64px; font-size: 1.5rem; line-height: 1; }
.sprig-divider span::before { content: "❧"; transform: rotate(-18deg); }
.sprig-divider.align-left { margin-inline: 0 auto; }
.section-pad { padding: 58px 0; }

/* Home hero — rounded cover composition with a separate, non-overlapping accent layer. */
.home-hero { position: relative; padding: 0 0 12px; background: var(--ivory); }
.home-hero__shell {
  position: relative; width: 100%; max-width: none; min-height: 520px; margin-inline: auto;
  overflow: hidden; background: var(--navy); border-block: 1px solid rgba(8,43,73,.08); border-radius: 0;
  box-shadow: 0 16px 42px rgba(8,43,73,.14);
}
.home-hero__media { position: absolute; inset: 0; z-index: 0; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,35,61,.15),transparent 68%); }
.home-hero__accent {
  position: absolute; inset: 0 auto 0 0; z-index: 1; width: calc(52% + 22px); background: var(--green);
  border-radius: 0 58% 58% 0 / 0 100% 100% 0;
}
.home-hero__panel {
  position: relative; z-index: 2; display: flex; align-items: center; width: 52%; min-height: 520px;
  padding: 54px 118px 54px 68px; color: #fff; background: linear-gradient(135deg,var(--navy-deep),var(--navy));
  border-radius: 0 58% 58% 0 / 0 100% 100% 0;
}
.home-hero__content { width: 100%; max-width: 590px; }
.home-hero h1 { margin: 0; font-size: clamp(3rem,4.8vw,4.8rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 900; text-transform: uppercase; }
.home-hero .sprig-divider { width: 100%; margin: 20px 0; }
.home-hero__subtitle { margin: 0 0 4px; color: #fff; font-size: clamp(1.15rem,1.8vw,1.55rem); line-height: 1.25; font-weight: 800; }
.home-hero__slogan { margin: 0 0 28px; color: var(--green); font-size: clamp(1.18rem,1.8vw,1.5rem); font-weight: 850; }
.candidate-byline { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.92); font-size: 1rem; }
.candidate-byline svg { width: 25px; height: 25px; color: var(--gold); flex: 0 0 auto; }
.candidate-byline strong { font-weight: 850; }

/* Cards */
.home-priorities { padding: 22px 0 28px; }
.priority-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.entry-content .priority-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); }
.priority-card {
  position: relative; min-height: 240px; padding: 26px 24px 22px; text-align: center;
  background: rgba(255,255,255,.62); border: 1px solid rgba(8,43,73,.09); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.priority-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(8,43,73,.14); }
.priority-card__icon { display: grid; place-items: center; height: 78px; color: var(--navy); }
.priority-card__icon svg { width: 70px; height: 70px; }
.priority-card__icon .zupkov-custom-icon { width: 70px; height: 70px; object-fit: contain; }
.priority-card h3 { margin: 10px 0 5px; color: var(--navy); font-size: 1.18rem; line-height: 1.2; font-weight: 850; }
.priority-card h3 a { color: inherit; text-decoration: none; }
.priority-card h3 a:hover { color: var(--green-dark); }
.priority-card h3, .priority-card p, .program-card h3, .program-card p { overflow-wrap: anywhere; }
.priority-card p { margin: 0; font-size: .94rem; line-height: 1.45; }
.priority-card__ornament { display: flex; align-items: center; gap: 8px; margin: 18px auto 0; color: var(--gold); }
.priority-card__ornament::before, .priority-card__ornament::after { content: ""; height: 1px; flex: 1; background: var(--gold); }
.priority-card__ornament span::before { content: "❧"; }
.team-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; padding: 13px 18px;
  color: #fff; background: var(--navy); border-radius: 12px; box-shadow: var(--shadow);
}
.team-strip a { padding: 2px 22px; color: #fff; font-size: .93rem; font-weight: 750; text-decoration: none; border-right: 2px solid var(--gold); }
.team-strip a:last-child { border-right: 0; }
.team-strip a:hover { color: var(--gold); }

/* Interior page hero */
.page-hero { position: relative; min-height: 300px; padding: 44px 0 20px; overflow: hidden; }
.page-hero__content { position: relative; z-index: 3; width: 52%; }
.page-hero__content .sprig-divider { width: 82%; }
.page-hero__subtitle { margin: 0; color: var(--navy); font-size: clamp(1.3rem,2vw,1.72rem); font-weight: 800; }
.landscape-ribbon { position: absolute; top: 0; right: 0; width: 60%; height: 100%; overflow: hidden; border-radius: 70% 0 0 24% / 90% 0 0 60%; }
.landscape-ribbon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(165deg,var(--navy) 0 23%,var(--green) 23% 31%,transparent 31%); }
.landscape-ribbon::after {
  content: ""; position: absolute; inset: 32% -8% -45% 16%; border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 15% 78%,#356f4a 0 12%,transparent 13%),
    radial-gradient(ellipse at 45% 75%,#4d8760 0 20%,transparent 21%),
    linear-gradient(170deg,#dfe9d8 0 25%,#acc19e 25% 43%,#769b73 43% 58%,#3b7751 58%);
}
.page-hero--full { color: #fff; background: linear-gradient(120deg,var(--navy-deep),var(--navy)); }
.page-hero--full .page-hero__content { width: min(720px,72%); }
.page-hero--full .display-title,
.page-hero--full .page-hero__subtitle { color: #fff; }
.page-hero--full .landscape-ribbon { left: 0; right: 0; width: 100%; border-radius: 0; opacity: .48; }

/* Team */
.featured-candidate {
  position: relative; z-index: 5; display: grid; grid-template-columns: 32% 1fr; min-height: 230px; margin-top: -12px;
  overflow: hidden; background: rgba(255,255,255,.88); border: 1px solid rgba(8,43,73,.1); border-radius: var(--radius); box-shadow: var(--shadow);
}
.candidate-portrait {
  display: grid; place-items: center; min-height: 230px; padding: 24px;
  background: radial-gradient(circle at 42% 48%,#0a3e69,var(--navy-deep)); border-radius: 0 45% 45% 0;
}
.candidate-portrait img { width: 175px; height: 175px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; }
.monogram { display: grid; place-items: center; width: 175px; height: 175px; color: #fff; border: 3px solid #fff; border-radius: 50%; font-family: Georgia,serif; font-size: 4.3rem; }
.featured-candidate__body { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 28px 34px; }
.featured-candidate h2 { margin: 0; color: var(--navy); font-size: clamp(2rem,3.2vw,2.9rem); line-height: 1; }
.candidate-role { margin: 3px 0 18px; color: var(--green-dark); font-size: 1.2rem; font-weight: 750; }
.candidate-values { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.candidate-values li { color: var(--navy); font-weight: 650; }
.candidate-values li::before { content: "✓"; margin-right: 7px; color: var(--gold); font-weight: 900; }
.candidates-section { padding: 16px 0 44px; }
.candidate-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.candidate-card {
  display: flex; align-items: center; gap: 18px; min-height: 108px; padding: 15px 24px;
  color: inherit; background: rgba(255,255,255,.7); border: 1px solid rgba(8,43,73,.09); border-radius: 12px; box-shadow: 0 7px 18px rgba(8,43,73,.07); text-decoration: none;
}
.candidate-card:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow); }
.candidate-card__media { flex: 0 0 76px; width: 76px; height: 76px; }
.candidate-card__media img, .candidate-card__initials { display: block; width: 76px; min-width: 76px; max-width: none; height: 76px; aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid var(--navy); border-radius: 50%; }
.candidate-card__initials { display: grid; place-items: center; color: var(--navy); font-family: Georgia,serif; font-size: 2rem; }
.candidate-card > :last-child { min-width: 0; }
.candidate-card h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.candidate-card p { margin: 2px 0; font-size: .88rem; }
.candidate-card__role { color: var(--green-dark); }
.candidate-card__slogan { display: -webkit-box; overflow: hidden; color: var(--muted); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.candidate-card__arrow { color: var(--gold); font-size: 1.3rem; }
.statement-strip { position: relative; overflow: hidden; padding: 18px 24px; color: #fff; background: var(--navy); text-align: center; }
.statement-strip strong { font-size: clamp(1.6rem,3vw,2.4rem); }

/* Candidate detail */
.candidate-profile-page { padding-bottom: 70px; }
.candidate-profile-hero { padding: 48px 0 26px; }
.candidate-profile-hero__card {
  display: grid; grid-template-columns: 360px 1fr; min-height: 390px; padding: 0; overflow: hidden;
  background: rgba(255,255,255,.84); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.candidate-profile__portrait {
  display: grid; place-items: center; padding: 42px; background: linear-gradient(145deg,var(--navy-deep),var(--navy));
  border-radius: 0 45% 45% 0 / 0 100% 100% 0; box-shadow: 15px 0 0 var(--green);
}
.candidate-profile__portrait img, .candidate-profile__portrait .monogram {
  width: 240px; height: 240px; object-fit: cover; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 16px 34px rgba(3,20,35,.28);
}
.candidate-profile__portrait .monogram { font-size: 5.4rem; box-shadow: none; }
.candidate-profile-hero__copy { align-self: center; padding: 46px 60px 46px 76px; }
.candidate-profile-hero__copy h1 { margin: 0; color: var(--navy); font-size: clamp(2.8rem,5vw,4.7rem); line-height: 1; letter-spacing: -.04em; }
.candidate-profile-hero__copy .sprig-divider { width: min(440px,85%); }
.candidate-profile__slogan { max-width: 720px; margin: 0; color: var(--green-dark); font-size: clamp(1.3rem,2.1vw,1.8rem); font-weight: 800; }
.candidate-profile-content { padding-top: 20px; }
.candidate-profile-content__card { padding: clamp(28px,5vw,58px); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.candidate-profile-content__card .entry-content { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
.candidate-profile-content__card .entry-content > * { width: auto; max-width: 100%; margin-inline: 0; }
.candidate-profile-content__card .entry-content > .alignwide,
.candidate-profile-content__card .entry-content > .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.candidate-profile-content__card .entry-content img,
.candidate-profile-content__card .entry-content video,
.candidate-profile-content__card .entry-content iframe { max-width: 100%; }
.candidate-profile-content__card .entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.candidate-profile-content__card .entry-content > :first-child { margin-top: 0; }
.candidate-profile-content__card .entry-content img { border-radius: 12px; }
.candidate-story { color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.candidate-story__intro { margin-bottom: 34px; }
.candidate-story__lead { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.65rem,3vw,2.35rem); line-height: 1.2; }
.candidate-story__section + .candidate-story__section { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line); }
.candidate-story__section h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.55rem,2.6vw,2.1rem); line-height: 1.2; }
.candidate-story__strengths { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.candidate-story__strengths li { padding: 8px 14px; color: var(--green-dark); background: var(--green-soft); border: 1px solid rgba(47,125,76,.18); border-radius: 999px; font-weight: 750; }
.candidate-story__quote { margin: 32px 0; padding: 28px 32px; color: #fff; background: linear-gradient(135deg,var(--navy-deep),var(--navy)); border-left: 6px solid var(--gold); border-radius: 0 14px 14px 0; box-shadow: var(--shadow); }
.candidate-story__quote p { margin: 0; }
.candidate-story__quote p + p { margin-top: 8px; color: rgba(255,255,255,.84); }
.candidate-story__highlight { margin: 28px 0; padding: 22px 26px; color: var(--navy); background: var(--green-soft); border-left: 5px solid var(--green); border-radius: 0 12px 12px 0; font-size: 1.18rem; }
.candidate-gallery { padding-top: 20px; }
.candidate-gallery__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.candidate-gallery__item { display: block; overflow: hidden; background: #fff; border: 4px solid #fff; border-radius: 14px; box-shadow: var(--shadow); }
.candidate-gallery__item img { width: 100%; height: 290px; object-fit: cover; transition: transform .25s; }
.candidate-gallery__item:hover img { transform: scale(1.025); }
.candidate-profile__back { padding-top: 30px; text-align: center; }

/* Program */
.program-hero { position: relative; min-height: 390px; overflow: hidden; }
.program-hero::after {
  content: ""; position: absolute; inset: 0 0 0 38%; z-index: 0; border-radius: 75% 0 0 0;
  background: linear-gradient(158deg,var(--navy) 0 23%,var(--green) 23% 28%,#254f43 28% 60%,#477f51 60%);
}
.program-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; min-height: 390px; padding-block: 34px; }
.program-hero__intro .sprig-divider { width: 78%; }
.program-meta { margin: 0; color: var(--green-dark); font-size: 1.6rem; font-weight: 800; }
.first-days-card { padding: 24px 30px; color: #fff; background: rgba(5,35,61,.94); border: 1px solid rgba(255,255,255,.36); border-radius: var(--radius); box-shadow: 0 15px 40px rgba(3,20,35,.32); }
.first-days-card h2 { margin: 0 0 12px; font-size: 1.55rem; }
.first-days-item { display: grid; grid-template-columns: 52px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.first-days-item:last-child { border-bottom: 0; }
.first-days-number { display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); background: #fff; border-radius: 50%; font-weight: 900; }
.first-days-item h3 { margin: 0; font-size: 1.05rem; }
.first-days-item p { margin: 2px 0 0; font-size: .88rem; opacity: .88; }
.program-section { padding: 22px 0 18px; }
.program-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.program-card {
  position: relative; min-height: 210px; padding: 18px 14px 12px; text-align: center;
  background: rgba(255,255,255,.72); border: 1px solid rgba(8,43,73,.09); border-radius: 13px; box-shadow: 0 8px 20px rgba(8,43,73,.07);
}
.program-card__number { position: absolute; left: 14px; top: 14px; color: var(--green-dark); font-size: 1.75rem; font-weight: 900; }
.program-card__icon { display: grid; place-items: center; height: 70px; color: var(--navy); }
.program-card__icon svg { width: 58px; height: 58px; }
.program-card__icon .zupkov-custom-icon { width: 58px; height: 58px; object-fit: contain; }
.program-card h3 { margin: 6px 0; color: var(--navy); font-size: .97rem; line-height: 1.2; }
.program-card h3 a { color: var(--navy); text-decoration: none; }
.program-card h3 a:hover { color: var(--green-dark); }
.program-card p { margin: 0; font-size: .78rem; line-height: 1.38; }
.program-card .priority-card__ornament { margin-top: 10px; }
.program-detail { padding: 42px 0 68px; background: #fff; }
.program-article { padding: 26px 30px; border-bottom: 1px solid var(--line); }
.program-article h2 { color: var(--navy); }
.program-detail-item { margin: 12px 0; background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; }
.program-detail-item summary { display: flex; align-items: center; gap: 15px; padding: 18px 22px; color: var(--navy); font-size: 1.05rem; font-weight: 850; cursor: pointer; }
.program-detail-item summary span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--green-dark); border-radius: 50%; }
.program-detail-item__content { width: auto; max-width: 100%; padding: 0 24px 28px 80px; overflow-wrap: anywhere; color: var(--ink); font-size: 1rem; line-height: 1.75; }
.program-detail-item__content > * { width: auto; max-width: 100%; margin-inline: 0; }
.program-detail-item__content > :first-child { margin-top: 0; }
.program-detail-item__content > .alignwide,
.program-detail-item__content > .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.program-detail-item__content img,
.program-detail-item__content video,
.program-detail-item__content iframe { max-width: 100%; height: auto; border-radius: 12px; }
.program-detail-item__content table { display: block; max-width: 100%; overflow-x: auto; }
.program-detail-item__content h2,
.program-detail-item__content h3 { color: var(--navy); line-height: 1.25; }
.program-detail-item__content ul,
.program-detail-item__content ol { padding-left: 1.4em; }
.program-detail-item__content blockquote,
.program-story__quote { margin: 28px 0; padding: 24px 28px; color: #fff; background: linear-gradient(135deg,var(--navy-deep),var(--navy)); border-left: 6px solid var(--gold); border-radius: 0 14px 14px 0; box-shadow: var(--shadow); }
.program-detail-item__content blockquote p,
.program-story__quote p { margin: 0; }
.program-detail-item__content blockquote p + p,
.program-story__quote p + p { margin-top: 8px; color: rgba(255,255,255,.84); }
.program-story__lead { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.35rem,2.5vw,1.9rem); font-weight: 750; line-height: 1.3; }
.program-story__highlight { margin: 26px 0; padding: 20px 24px; color: var(--navy); background: var(--green-soft); border-left: 5px solid var(--green); border-radius: 0 12px 12px 0; font-size: 1.12rem; }

/* Program 1.1.13 — premium card layout (variant 1). */
.program-premium { background: var(--ivory); }
.program-premium-hero {
  position: relative; isolation: isolate; min-height: 310px; overflow: hidden; color: #fff; background: var(--navy-deep);
}
.program-premium-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("assets/images/program-hero-zupkov.jpg") center 48% / cover no-repeat;
  filter: saturate(.78);
}
.program-premium-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,rgba(5,35,61,.98) 0%,rgba(5,35,61,.91) 48%,rgba(5,35,61,.34) 100%);
}
.program-premium-hero__inner { position: relative; z-index: 1; padding-block: 38px; }
.program-premium-eyebrow,
.program-premium-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #b9e2c7;
  font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
}
.program-premium-eyebrow::before,
.program-premium-kicker::before { content: ""; width: 34px; height: 3px; background: var(--gold); border-radius: 10px; }
.program-premium-hero h1 {
  max-width: 900px; margin: 0; color: #fff; font-size: clamp(2.2rem,4.2vw,4rem); line-height: .98;
  letter-spacing: -.055em; font-weight: 900; text-transform: uppercase;
}
.program-premium-lead { max-width: 760px; margin: 14px 0 0; color: rgba(255,255,255,.86); font-size: clamp(.95rem,1.35vw,1.12rem); line-height: 1.45; }
.program-premium-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.program-premium-facts span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 13px; color: #fff;
  background: rgba(5,35,61,.58); border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  font-size: .8rem; font-weight: 780; backdrop-filter: blur(10px);
}
.program-premium-facts span::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

.program-premium-jump {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px);
}
.program-premium-jump__shell { position: relative; display: grid; grid-template-columns: minmax(0,1fr); align-items: center; }
.program-premium-jump.is-overflowing .program-premium-jump__shell { grid-template-columns: 38px minmax(0,1fr) 38px; gap: 4px; }
.program-premium-jump__inner { display: flex; gap: 5px; min-width: 0; padding-block: 10px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: none; }
.program-premium-jump__inner::-webkit-scrollbar { display: none; }
.program-premium-jump a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; max-width: 190px; padding: 9px 11px;
  color: var(--navy); border: 1px solid transparent; border-radius: 9px; scroll-snap-align: center;
  font-size: .75rem; font-weight: 820; line-height: 1.2; text-decoration: none; transition: color .2s,background .2s,box-shadow .2s;
}
.program-premium-jump a:hover,
.program-premium-jump a:focus-visible { color: var(--green-dark); background: var(--green-soft); }
.program-premium-jump a.is-active,
.program-premium-jump a.is-active:hover,
.program-premium-jump a.is-active:focus-visible { color: #fff; background: var(--navy); border-color: var(--navy); box-shadow: 0 7px 18px rgba(8,43,73,.2); }
.program-premium-jump a.is-active b { color: var(--gold); }
.program-premium-jump b { color: var(--green-dark); font-size: .66rem; letter-spacing: .08em; }
.program-premium-jump span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.program-premium-jump__arrow {
  position: relative; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  color: #fff; background: var(--navy); border: 0; border-radius: 50%; box-shadow: 0 5px 14px rgba(8,43,73,.2); cursor: pointer;
}
.program-premium-jump__arrow[hidden] { display: none; }
.program-premium-jump__arrow span { overflow: visible; color: inherit; font-size: 1.55rem; line-height: 1; transform: translateY(-1px); }
.program-premium-jump__arrow:disabled { opacity: .24; cursor: default; box-shadow: none; }
.program-premium-jump__arrow:not(:disabled):hover,
.program-premium-jump__arrow:not(:disabled):focus-visible { color: var(--navy); background: var(--gold); }
.program-premium-jump__hint { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: -3px; padding-bottom: 7px; color: var(--muted); font-size: .7rem; font-weight: 750; }
.program-premium-jump__hint[hidden] { display: none; }
.program-premium-jump__hint span { color: var(--green-dark); font-size: 1rem; }

.program-premium-section {
  width: 100%; max-width: none; min-height: 360px; margin-inline: auto; padding: 54px 48px 88px;
}
.program-premium-panel { width: 100%; max-width: none; margin: 0; animation: program-panel-in .28s ease both; }
.program-premium-panel[hidden] { display: none; }
.program-premium-panel:focus { outline: none; }
.program-premium-panel > #program,
.program-premium-panel > .content-shell,
.program-premium-panel #program > .content-shell,
.program-premium-panel .program-main { width: 100%; max-width: none; margin-inline: 0; }
.program-premium-panel .section-intro { max-width: none; }
@keyframes program-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.program-premium-story { width: auto; max-width: none; overflow-wrap: anywhere; color: #354b5e; font-size: .94rem; line-height: 1.65; }
.program-premium-story > * { width: auto; max-width: none; margin-inline: 0; }
.program-premium-story > :first-child { margin-top: 0; }
.program-premium-story > :last-child { margin-bottom: 0; }
.program-premium-story p { margin-block: 0 1em; }
.program-premium-story ul,
.program-premium-story ol { padding-left: 1.4em; }
.program-premium-story h2,
.program-premium-story h3,
.program-premium-story h4 { margin: 24px 0 10px; color: var(--navy); line-height: 1.25; }
.program-premium-story strong { color: var(--navy); }
.program-premium-story blockquote { margin: 18px 0; padding: 20px 22px; color: #fff; background: var(--navy); border: 0; border-left: 5px solid var(--gold); border-radius: 0 13px 13px 0; }
.program-premium-story blockquote p { padding: 0; color: inherit; background: transparent; border: 0; }
.program-premium-story img,
.program-premium-story video,
.program-premium-story iframe { max-width: 100%; height: auto; border-radius: 12px; }
.program-premium-story table { display: block; max-width: 100%; overflow-x: auto; }

.program-premium-empty { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }

@media (max-width: 820px) {
  .program-premium-hero { min-height: auto; }
  .program-premium-hero::after { background: linear-gradient(90deg,rgba(5,35,61,.97),rgba(5,35,61,.68)); }
  .program-premium-hero__inner { padding-block: 36px 34px; }
  .program-premium-hero h1 { font-size: clamp(2.15rem,8vw,3.45rem); }
  .program-premium-jump a { max-width: 170px; }
  .program-premium-section { padding: 42px 24px 68px; }
}

@media (max-width: 560px) {
  .program-premium-hero__inner { padding-block: 30px 28px; }
  .program-premium-hero h1 { font-size: clamp(2rem,10vw,3rem); }
  .program-premium-lead { margin-top: 12px; font-size: .94rem; }
  .program-premium-facts { flex-wrap: nowrap; margin-top: 15px; overflow-x: auto; scrollbar-width: none; }
  .program-premium-facts::-webkit-scrollbar { display: none; }
  .program-premium-facts span { flex: 0 0 auto; }
  .program-premium-jump.is-overflowing .program-premium-jump__shell { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 3px; }
  .program-premium-jump__inner { padding-block: 8px; }
  .program-premium-jump a { padding: 8px 9px; }
  .program-premium-jump__arrow { width: 32px; height: 32px; }
  .program-premium-jump__hint { justify-content: flex-start; padding-bottom: 6px; padding-left: 38px; }
  .program-premium-section { padding: 32px 14px 54px; }
  .program-premium-story li { padding-left: 45px; }
}

/* Variant 1 content components available in posts, pages, priorities and candidate profiles. */
.entry-content .program-static { width: 100%; max-width: none; margin: 0; }
.entry-content .program-flow { position: relative; width: 100%; max-width: none; margin: 34px 0 0; }
.entry-content .program-flow::before {
  content: ""; position: absolute; top: 29px; bottom: 34px; left: 31px; width: 2px;
  background: linear-gradient(var(--gold),var(--green),rgba(47,125,76,.16));
}
.entry-content .program-flow-section {
  position: relative; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 26px;
  width: 100%; max-width: none; margin: 0; padding: 0 0 56px;
}
.entry-content .program-flow-section:last-child { padding-bottom: 12px; }
.entry-content .program-flow-section__marker {
  position: relative; z-index: 1; display: grid; place-items: center; align-self: start; width: 64px; height: 64px;
  color: #fff; background: var(--navy); border: 5px solid var(--ivory); border-radius: 50%; box-shadow: 0 0 0 1px rgba(8,43,73,.12);
  font-size: .8rem; font-weight: 900; letter-spacing: .1em;
}
.entry-content .program-flow-section:nth-child(even) .program-flow-section__marker { color: var(--navy); background: var(--gold); }
.entry-content .program-flow-section__content { min-width: 0; padding-top: 5px; }
.entry-content .program-flow-section__head { margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.entry-content .program-flow-section__head small { display: block; margin-bottom: 7px; color: var(--green-dark); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.entry-content .program-flow-section__head h2,
.entry-content .program-flow-section__head h3 { margin: 0; color: var(--navy); overflow-wrap: anywhere; font-size: clamp(1.35rem,2.7vw,2rem); font-weight: 880; line-height: 1.16; letter-spacing: -.03em; }
.entry-content .program-flow-section__body { width: 100%; max-width: none; }
.entry-content .program-list { display: grid; grid-template-columns: 1fr; gap: 22px; width: 100%; max-width: none; margin: 28px 0; }
.entry-content .program-item {
  position: relative; width: 100%; max-width: none; min-width: 0; margin: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 26px rgba(8,43,73,.07);
}
.entry-content .program-item[open] { box-shadow: 0 18px 50px rgba(8,43,73,.12); }
.entry-content .item-head {
  position: relative; display: grid; grid-template-columns: auto 58px minmax(0,1fr) auto; align-items: center; gap: 16px;
  padding: 25px 28px; color: var(--navy); cursor: pointer; list-style: none;
}
.entry-content .item-head > br { display: none; }
.entry-content .item-head::-webkit-details-marker { display: none; }
.entry-content .item-head::after {
  content: "+"; display: grid; place-items: center; width: 34px; height: 34px; color: var(--navy); background: var(--ivory);
  grid-column: 4; border: 1px solid var(--line); border-radius: 50%; font-size: 1.3rem; font-weight: 500;
}
.entry-content .program-item[open] > .item-head::after { content: "−"; }
.entry-content .item-head:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 22px; }
.entry-content .chapter-number { grid-column: 1; color: var(--green-dark); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.entry-content .chapter-icon {
  grid-column: 2; display: grid; place-items: center; width: 54px; height: 54px; color: var(--navy); background: var(--green-soft); border-radius: 16px;
}
.entry-content .chapter-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.entry-content .title-wrap { grid-column: 3; display: block; min-width: 0; }
.entry-content .title-wrap small { display: block; margin-bottom: 2px; color: var(--green-dark); font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.entry-content .title-wrap h2,
.entry-content .title-wrap h3 { margin: 0; color: var(--navy); overflow-wrap: anywhere; font-size: clamp(1.16rem,2vw,1.48rem); font-weight: 850; line-height: 1.22; letter-spacing: -.02em; }
.entry-content .item-content { width: 100%; max-width: none; padding: 0 28px 30px; }
.entry-content .item-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 26px; align-items: stretch; }
.entry-content .steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: post-program-step; }
.entry-content .steps li {
  position: relative; margin: 0; padding: 14px 16px 14px 48px; background: #fbfaf7; border: 1px solid rgba(8,43,73,.08); border-radius: 12px;
}
.entry-content .steps li::before {
  counter-increment: post-program-step; content: counter(post-program-step); position: absolute; left: 15px; top: 16px;
  display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--green-dark); border-radius: 50%; font-size: .68rem; font-weight: 850;
}
.entry-content .steps strong { color: var(--navy); }
.entry-content .goal {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px; margin: 0; padding: 24px;
  overflow: hidden; color: #fff; background: linear-gradient(150deg,var(--navy),var(--navy-deep)); border-radius: 16px;
}
.entry-content .goal::before {
  content: ""; position: absolute; width: 160px; height: 160px; right: -70px; top: -80px; border: 28px solid rgba(230,181,40,.17); border-radius: 50%;
}
.entry-content .goal-label { position: relative; color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.entry-content .goal p { position: relative; margin: 9px 0 0; padding: 0; color: inherit; background: transparent; border: 0; font-size: 1.02rem; font-weight: 720; line-height: 1.48; }
.entry-content .small-projects {
  position: relative; width: 100%; max-width: none; margin: 28px 0; padding: 28px 30px 28px 92px; color: var(--navy); background: var(--green-soft); border-radius: 18px;
}
.entry-content .small-projects::before {
  content: "+"; position: absolute; left: 30px; top: 50%; display: grid; place-items: center; width: 40px; height: 40px;
  color: #fff; background: var(--green-dark); border-radius: 50%; font-size: 1.5rem; transform: translateY(-50%);
}
.entry-content .small-projects h2,
.entry-content .small-projects h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.03rem; }
.entry-content .small-projects p { margin: 0; color: #385269; font-size: .94rem; }
.entry-content .section-intro { width: 100%; max-width: 780px; margin: 32px 0 38px; }
.entry-content .section-kicker { margin: 0 0 8px; color: var(--green-dark); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.entry-content .section-intro h2 { margin: 0; color: var(--navy); font-size: clamp(2rem,4vw,3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.entry-content .section-intro p { margin: 16px 0 0; color: var(--muted); font-size: 1.06rem; }
.entry-content .realization { width: 100%; max-width: none; margin: 70px 0 0; }
.entry-content .realization-head { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 44px; align-items: end; margin-bottom: 34px; }
.entry-content .realization-head h2 { margin: 0; color: var(--navy); font-size: clamp(2rem,4vw,3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.entry-content .realization-head > p { margin: 0; color: var(--muted); }
.entry-content .method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; width: 100%; max-width: none; margin: 0; }
.entry-content .method-card { min-height: 210px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.entry-content .method-card > span { color: var(--gold); font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.entry-content .method-card h3 { margin: 30px 0 8px; color: var(--navy); font-size: 1.08rem; }
.entry-content .method-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.entry-content .finance-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; width: 100%; max-width: none; margin: 22px 0 0; }
.entry-content .copy-panel { padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.entry-content .copy-panel h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.05rem; }
.entry-content .copy-panel p { margin: 0; color: #40566a; }
.entry-content .copy-panel p + p { margin-top: 14px; }
.entry-content .truth-note {
  position: relative; width: 100%; max-width: none; margin: 22px 0 0; padding: 32px 34px 32px 108px;
  color: #fff; background: var(--navy-deep); border-radius: 18px; box-shadow: var(--shadow);
}
.entry-content .truth-note::before {
  content: "✓"; position: absolute; left: 34px; top: 34px; display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--navy); background: var(--gold); border-radius: 50%; font-size: 1.35rem; font-weight: 900;
}
.entry-content .truth-note h3 { margin: 0 0 8px; color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.entry-content .truth-note p { margin: 0; color: #fff; font-size: 1.02rem; line-height: 1.68; }
.entry-content .truth-note p + p { margin-top: 12px; color: rgba(255,255,255,.82); }

@media (max-width: 1000px) {
  .entry-content .method-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .entry-content .program-flow::before { left: 23px; }
  .entry-content .program-flow-section { grid-template-columns: 48px minmax(0,1fr); gap: 16px; padding-bottom: 44px; }
  .entry-content .program-flow-section__marker { width: 48px; height: 48px; border-width: 4px; font-size: .68rem; }
  .entry-content .program-flow-section__content { padding-top: 2px; }
  .entry-content .program-flow-section__head { margin-bottom: 16px; padding-bottom: 14px; }
  .entry-content .item-head { grid-template-columns: auto 44px minmax(0,1fr) auto; gap: 10px; padding: 18px 15px; }
  .entry-content .chapter-icon { width: 42px; height: 42px; border-radius: 12px; }
  .entry-content .title-wrap small { display: none; }
  .entry-content .item-content { padding: 0 15px 18px; }
  .entry-content .item-layout,
  .entry-content .realization-head,
  .entry-content .finance-copy { grid-template-columns: 1fr; }
  .entry-content .method-grid { grid-template-columns: 1fr; }
  .entry-content .small-projects { padding: 24px 22px 24px 74px; }
  .entry-content .small-projects::before { left: 20px; }
  .entry-content .truth-note { padding: 90px 24px 28px; }
  .entry-content .truth-note::before { left: 24px; top: 26px; }
}
@media (max-width: 420px) {
  .entry-content .program-flow::before { left: 18px; }
  .entry-content .program-flow-section { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
  .entry-content .program-flow-section__marker { width: 38px; height: 38px; border-width: 3px; font-size: .58rem; }
  .entry-content .item-head { grid-template-columns: auto minmax(0,1fr) auto; }
  .entry-content .chapter-icon { display: none; }
  .entry-content .title-wrap { grid-column: 2; }
  .entry-content .item-head::after { grid-column: 3; }
}
/* Generic pages */
.content-page { padding: 54px 0 80px; }
.content-page__card { padding: clamp(24px,5vw,58px); background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.content-page h1 { margin-top: 0; color: var(--navy); font-size: clamp(2.5rem,5vw,4.5rem); line-height: 1; }
.content-page h2 { color: var(--navy); }
.days-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.day-card { padding: 28px; background: #fff; border-top: 5px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow); }
.day-card__number { color: var(--gold); font-size: 2.5rem; font-weight: 900; }
.day-card h2 { margin: 5px 0; }

/* Contact */
.contact-page { overflow: hidden; }
.contact-hero { padding: 48px 0 34px; }
.contact-hero__shell {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 430px; padding: 0;
  overflow: hidden; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.contact-hero__copy { position: relative; z-index: 2; padding: clamp(34px,5vw,68px); }
.contact-hero__copy .sprig-divider { width: 78%; }
.contact-hero__copy .entry-content > * { margin-inline: 0; }
.contact-hero__copy .entry-content p { margin-bottom: 10px; }
.contact-hero__lead { max-width: 700px; margin: 12px 0 0; color: var(--muted); font-size: 1.08rem; }
.contact-hero__visual {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  min-height: 430px; padding: 44px; color: #fff; text-align: center; background: linear-gradient(145deg,var(--navy-deep),var(--navy));
  border-radius: 52% 0 0 52% / 100% 0 0 100%; box-shadow: -16px 0 0 var(--green);
}
.contact-hero__visual::before, .contact-hero__visual::after { content: ""; position: absolute; border: 1px solid rgba(230,181,40,.22); border-radius: 50%; }
.contact-hero__visual::before { width: 330px; height: 330px; }
.contact-hero__visual::after { width: 250px; height: 250px; }
.contact-hero__symbol { position: relative; z-index: 2; display: grid; place-items: center; width: 132px; height: 132px; border: 2px solid var(--gold); border-radius: 50%; }
.contact-hero__symbol svg { width: 76px; height: 76px; color: #fff; }
.contact-hero__visual strong { position: relative; z-index: 2; max-width: 320px; font-size: clamp(1.5rem,2.5vw,2.15rem); line-height: 1.15; }
.contact-channels { padding: 18px 0 76px; }
.contact-card-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.contact-card {
  display: flex; align-items: center; gap: 20px; width: min(100%, 390px); min-height: 130px; padding: 24px 28px;
  color: var(--ink); background: rgba(255,255,255,.8); border: 1px solid var(--line); border-top: 4px solid var(--green);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
a.contact-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(8,43,73,.14); }
.contact-card__icon { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; color: var(--navy); background: var(--green-soft); border-radius: 50%; }
.contact-card__icon svg { width: 40px; height: 40px; }
.contact-card strong, .contact-card small { display: block; }
.contact-card strong { color: var(--navy); font-size: 1.12rem; }
.contact-card small { margin-top: 4px; color: var(--green-dark); font-size: .96rem; overflow-wrap: anywhere; }
.contact-social-links a { color: var(--green-dark); font-weight: 750; }
.contact-social-links a + a::before { content: " · "; color: var(--gold); }
.contact-primary-action { margin: 34px 0 0; text-align: center; }

/* Footer */
.site-footer { color: #fff; background: var(--navy-deep); }
.footer-cta { padding: 42px 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-cta h2 { margin: 0; color: #fff; font-size: clamp(1.8rem,3vw,2.7rem); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 48px 0; }
.footer-logo { width: 170px; margin-bottom: 15px; }
.site-footer h3 { margin-top: 0; color: var(--gold); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { padding: 16px 0; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }

/* WordPress */
.alignwide { width: min(1120px,100%); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption, .gallery-caption { max-width: 100%; color: var(--muted); }
.bypostauthor { outline: 1px solid var(--gold); }
.entry-content > * { max-width: 820px; margin-inline: auto; }
.entry-content > .alignwide, .entry-content > .alignfull { max-width: none; }
.post-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-card h2 { margin-top: 0; color: var(--navy); }
.post-card a { text-decoration: none; }

/* Responsive */
@media (max-width: 1100px) {
  .site-header { height: 100px; }
  .site-brand img { height: 88px; }
  .main-navigation a { padding: 12px 10px; }
  .header-cta { padding: 10px 15px; }
  .home-hero__accent { width: calc(58% + 18px); }
  .home-hero__panel { width: 58%; padding: 48px 92px 48px 38px; }
  .priority-grid { grid-template-columns: repeat(2,1fr); }
  .program-grid { grid-template-columns: repeat(3,1fr); }
  .candidate-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .container, .narrow { width: min(calc(100% - 32px),var(--container)); }
  .site-header { height: 86px; }
  .site-brand img { height: 76px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-navigation {
    position: fixed; inset: 86px 0 0; display: block; padding: 28px 20px; overflow-y: auto; overscroll-behavior: contain; background: var(--ivory);
    transform: translateX(100%); visibility: hidden; transition: transform .25s,visibility .25s;
  }
  .main-navigation.is-open { transform: translateX(0); visibility: visible; }
  .main-navigation ul { display: block; }
  .main-navigation a { padding: 15px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .main-navigation .mobile-program-link {
    display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 15px 18px;
    color: #fff; background: linear-gradient(135deg,var(--green-dark),var(--green)); border: 0; border-radius: 10px; font-weight: 800;
    box-shadow: 0 10px 24px rgba(47,125,76,.2);
  }
  .main-navigation .mobile-program-link::after { content: "→"; color: var(--gold); font-size: 1.35em; line-height: 1; }
  .home-hero { display: block; padding: 0 0 8px; }
  .home-hero__shell { display: flex; flex-direction: column-reverse; width: 100%; max-width: none; min-height: 0; border-radius: 0; }
  .home-hero__media { position: relative; inset: auto; height: 300px; }
  .home-hero__accent { display: none; }
  .home-hero__panel { width: 100%; min-height: 370px; padding: 42px 28px; border-radius: 0; }
  .home-hero__content { max-width: 100%; }
  .page-hero { min-height: 420px; }
  .page-hero__content { width: 100%; }
  .page-hero--full .page-hero__content { width: 100%; }
  .landscape-ribbon { top: 240px; width: 100%; height: 200px; border-radius: 70% 0 0 0; }
  .featured-candidate { grid-template-columns: 1fr; }
  .candidate-portrait { border-radius: 0 0 42% 42%; }
  .featured-candidate__body { grid-template-columns: 1fr; }
  .candidate-profile-hero__card { grid-template-columns: 1fr; }
  .candidate-profile__portrait { min-height: 310px; border-radius: 0 0 45% 45% / 0 0 28% 28%; box-shadow: 0 12px 0 var(--green); }
  .candidate-profile-hero__copy { padding: 46px 34px 38px; }
  .candidate-gallery__grid { grid-template-columns: repeat(2,1fr); }
  .program-hero::after { inset: 46% 0 0; border-radius: 60% 0 0; }
  .program-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .program-grid { grid-template-columns: repeat(2,1fr); }
  .days-grid { grid-template-columns: 1fr; }
  .contact-hero__shell { grid-template-columns: 1fr; }
  .contact-hero__visual { min-height: 300px; border-radius: 52% 52% 0 0 / 30% 30% 0 0; box-shadow: 0 -12px 0 var(--green); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(calc(100% - 24px),var(--container)); }
  .display-title { font-size: 2.65rem; }
  .home-hero h1 { font-size: 2.65rem; }
  .home-hero__shell { width: 100%; max-width: none; }
  .home-hero__media { height: 240px; }
  .home-hero__panel { min-height: 340px; padding-inline: 20px; }
  .priority-grid, .program-grid, .candidate-grid { grid-template-columns: 1fr; }
  .team-strip { display: block; }
  .team-strip a { display: block; padding: 8px; border-right: 0; border-bottom: 1px solid rgba(230,181,40,.45); }
  .featured-candidate__body { padding: 24px 20px; }
  .candidate-values { display: block; }
  .candidate-values li { margin: 8px 0; }
  .candidate-profile-hero { padding-top: 20px; }
  .candidate-profile__portrait { min-height: 260px; padding: 30px 20px; }
  .candidate-profile__portrait img, .candidate-profile__portrait .monogram { width: 190px; height: 190px; }
  .candidate-profile-hero__copy { padding: 40px 22px 30px; }
  .candidate-gallery__grid { grid-template-columns: 1fr; }
  .candidate-gallery__item img { height: 260px; }
  .program-detail-item summary { align-items: flex-start; padding: 16px; }
  .program-detail-item summary span { flex: 0 0 42px; }
  .program-detail-item__content { padding: 0 18px 22px; }
  .program-detail-item__content blockquote,
  .program-story__quote { padding: 20px; }
  .contact-hero { padding-top: 20px; }
  .contact-hero__copy { padding: 30px 22px 40px; }
  .contact-hero__visual { min-height: 250px; padding: 32px 20px; }
  .contact-hero__symbol { width: 104px; height: 104px; }
  .contact-card { padding: 20px; }
  .footer-cta__inner { display: block; }
  .footer-cta .button { margin-top: 20px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; }
}
