:root {
  --ink: #102520;
  --muted: #62726d;
  --green: #173f36;
  --green-2: #245d4f;
  --mint: #dcece4;
  --cream: #f6f3eb;
  --gold: #d9a94e;
  --white: #fff;
  --line: rgba(16, 37, 32, .12);
  --shadow: 0 24px 70px rgba(18, 48, 41, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; color: var(--ink); background: #fbfcfa; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; border-radius: 12px; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 76px; display: flex; align-items: center; gap: 2rem; padding: .85rem max(4vw, 1.25rem); background: rgba(251,252,250,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: max-content; }
.brandmark { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px 15px 24px; color: #fffaf1; background: var(--green); font: 27px Georgia, serif; transform: rotate(-2deg); }
.brandmark i { position: absolute; right: -5px; top: -5px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: white; background: #d9894f; font: 900 9px Arial, sans-serif; }
.brandname { display: grid; gap: 1px; }
.brandline { display: flex; align-items: center; gap: 8px; }
.brandline strong { font: 400 20px Georgia, "Times New Roman", serif; }
.brandline small { display: block; padding: 5px 7px 4px; border-radius: 999px; color: var(--green); background: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.brandname em { color: var(--muted); font-size: 9px; font-style: normal; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 650; }
.main-nav a:hover { color: var(--green-2); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.phone { font-weight: 750; text-decoration: none; white-space: nowrap; }
.menu-button { display: none; margin-left: auto; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
.accessibility-button { min-width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--green); background: white; font-weight: 850; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .75rem 1.25rem; border: 0; border-radius: 14px; color: white; background: var(--green); text-decoration: none; font-weight: 750; cursor: pointer; transition: transform .18s, background .18s; }
.button:hover { background: var(--green-2); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: .55rem 1rem; }
.button-light { color: var(--green); background: white; }
.button-light:hover { color: white; }
.button-outline { color: var(--green); background: transparent; border: 1px solid var(--green); }
.hero .button-outline { color: white; border-color: rgba(255,255,255,.62); }
.hero .button-outline:hover { background: rgba(255,255,255,.12); }
.button-accent { color: var(--ink); background: var(--gold); }
.button-accent:hover { color: white; background: #c4953f; }
.page { min-height: 60vh; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin: 0 auto; }
.hero { overflow: hidden; position: relative; padding: clamp(3rem, 5vw, 5rem) 0; color: white; background: radial-gradient(circle at 80% 20%, rgba(217,169,78,.28), transparent 30%), linear-gradient(130deg, #102f29, #1f5649); }
.hero:after { content: "К"; position: absolute; right: 3vw; bottom: -8rem; color: rgba(255,255,255,.04); font: 32rem/1 Georgia, serif; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 3rem; }
.eyebrow { margin: 0 0 .9rem; color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 900px; margin-bottom: 1.3rem; font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.hero-copy { max-width: 770px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note { padding: 1.4rem; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.hero-note strong { display: block; margin-bottom: .4rem; font: 1.4rem Georgia, serif; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tint { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.section-head p { max-width: 580px; color: var(--muted); }
.grid { display: grid; gap: 1.15rem; }
.category-grid { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; overflow: hidden; padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(22,56,48,.06); }
.category-card { min-height: 260px; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 2rem; border-radius: 17px; color: var(--green); background: var(--mint); font-size: 1.6rem; }
.category-card h3 { margin-bottom: .65rem; font-size: 1.22rem; }
.category-card p { margin: 0 0 1.4rem; color: var(--muted); }
.card-link { margin-top: auto; color: var(--green-2); font-weight: 800; }
.service-grid { grid-template-columns: repeat(2, 1fr); }
.service-card { display: flex; min-height: 250px; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card strong { display: block; margin-bottom: .7rem; font-size: 1.35rem; line-height: 1.2; }
.service-card p { margin: 0 0 1.2rem; color: var(--muted); }
.service-card .card-link { margin-top: auto; }
.service-card-primary { color: white; background: linear-gradient(180deg, rgba(16,47,41,.4), rgba(16,47,41,.96)), url('/assets/news/safety-briefing.webp') center/cover; }
.service-card-primary p { color: rgba(255,255,255,.76); }
.service-card-primary .card-link { color: #f4d795; }
.stats { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 2rem; border-left: 1px solid var(--line); }
.stat strong { display: block; margin-bottom: .35rem; color: var(--green); font: 2.6rem Georgia, serif; }
.catalog-hero, .simple-hero { padding: 4rem 0 3rem; background: linear-gradient(180deg, var(--mint), rgba(220,236,228,0)); }
.catalog-hero h1, .simple-hero h1 { max-width: 880px; color: var(--green); font-size: clamp(2.4rem, 5vw, 4.4rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .92rem; }
.breadcrumbs a { text-decoration: none; }
.course-grid { grid-template-columns: repeat(3, 1fr); }
.course-card { display: flex; min-height: 290px; flex-direction: column; }
.course-card .price { color: var(--green); font-size: 1.25rem; font-weight: 850; }
.course-card h2 { margin: .7rem 0; font-family: inherit; font-size: 1.25rem; font-weight: 800; }
.course-card p { color: var(--muted); }
.course-card .button { margin-top: auto; align-self: flex-start; }
.search-row { display: flex; gap: .8rem; margin-bottom: 1.5rem; }
.search { width: min(500px, 100%); padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.item-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.item-body { font-size: 1.05rem; }
.item-body,
.item-layout > * { min-width: 0; }
.item-body .prose { white-space: pre-line; }
.item-side { position: sticky; top: 100px; }
.item-price { margin: .6rem 0 1rem; color: var(--green); font: 2rem Georgia, serif; }
.tag { display: inline-flex; padding: .35rem .65rem; border-radius: 999px; color: var(--green); background: var(--mint); font-size: .8rem; font-weight: 750; }
.lead-form { display: grid; gap: .8rem; }
.lead-form label { display: grid; gap: .35rem; font-size: .86rem; font-weight: 700; }
.lead-form input { width: 100%; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.lead-form input:focus { outline: 3px solid rgba(36,93,79,.16); border-color: var(--green-2); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-note, .form-status { margin: 0; color: var(--muted); font-size: .78rem; }
.form-status { min-height: 1.2em; font-weight: 750; }
.form-status.success { color: #18713d; }
.form-status.error { color: #aa2a2a; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; }
.contact-list { display: grid; gap: .8rem; }
.contact-list > a, .contact-list > div { display: grid; gap: .18rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: white; }
.news-grid { grid-template-columns: repeat(2, 1fr); }
.news-card { padding-top: 0; }
.news-image { display: block; width: calc(100% + 3.1rem); height: 220px; margin: 0 -1.55rem 1.3rem; object-fit: cover; }
.news-card time { color: var(--green-2); font-weight: 800; }
.news-card h2 { margin: .8rem 0; font-family: inherit; font-size: 1.45rem; font-weight: 800; }
.prose-page { max-width: 820px; }
.prose-page h2 { margin-top: 2.2rem; font-family: inherit; font-size: 1.45rem; font-weight: 800; }
.hero-intro { max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.compliance-note { margin-bottom: 1.5rem; padding: 1.35rem 1.5rem; border-left: 5px solid var(--gold); border-radius: 0 18px 18px 0; background: var(--cream); }
.compliance-note strong { font-size: 1.15rem; }
.compliance-note p { margin: .35rem 0 0; color: var(--muted); }
.sveden-workspace-section { padding-top: 2rem; background: var(--cream); }
.sveden-workspace { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 2fr); gap: 1.5rem; align-items: start; }
.sveden-sidebar { display: grid; gap: .5rem; position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow: auto; padding: .15rem .35rem .15rem .15rem; }
.sveden-card { display: flex; min-height: 0; flex-direction: column; justify-content: space-between; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: white; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.sveden-card:hover { border-color: var(--green-2); transform: translateX(3px); }
.sveden-card.is-active { border-color: var(--green-2); background: var(--mint); box-shadow: inset 4px 0 0 var(--gold); }
.sveden-card span { font-weight: 800; line-height: 1.25; }
.sveden-card small { margin-top: .35rem; color: var(--green-2); font-weight: 750; }
.sveden-panel { min-width: 0; }
.sveden-panel > .eyebrow { margin-bottom: .45rem; }
.sveden-panel > h2 { margin-bottom: 1rem; color: var(--green); }
.sveden-content { max-width: none; }
.sveden-list { margin: 0; }
.sveden-list > div { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.sveden-list > div:last-child { border-bottom: 0; }
.sveden-list dt { font-weight: 800; }
.sveden-list dd { margin: 0; }
.info-status { margin: 0; color: var(--muted); }
.info-status span { display: inline-flex; margin: 0 .45rem .25rem 0; padding: .25rem .55rem; border-radius: 999px; color: #6c4d08; background: #fff0c6; font-size: .76rem; font-weight: 850; }
.official-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.official-links a { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; text-decoration: none; font-weight: 750; }
.accessible-view { font-size: 120%; color: #000; background: #fff; }
.accessible-view * { box-shadow: none !important; text-shadow: none !important; }
.accessible-view .site-header, .accessible-view .card, .accessible-view .section-tint, .accessible-view .sveden-card { color: #000; background: #fff; }
.accessible-view a { text-decoration: underline; }
.empty { padding: 2rem; color: var(--muted); text-align: center; }
.loading { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 2.5rem; padding: 4rem max(4vw,1.25rem) 2rem; color: rgba(255,255,255,.78); background: #0e2923; }
.site-footer .brandline strong, .site-footer a { color: white; }
.site-footer .brandname em { color: rgba(255,255,255,.58); }
.site-footer nav, .footer-contact { display: grid; align-content: start; gap: .65rem; }
.site-footer nav a, .footer-contact a { text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

@media (max-width: 980px) {
  .main-nav, .header-actions { display: none; }
  .menu-button { display: block; }
  .site-header.menu-open { flex-wrap: wrap; }
  .site-header.menu-open .main-nav { order: 4; width: 100%; display: grid; gap: 0; }
  .site-header.menu-open .main-nav a { padding: .8rem 0; border-top: 1px solid var(--line); }
  .hero-grid, .item-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 540px; }
  .category-grid, .course-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .item-side { position: static; }
  .sveden-workspace { grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; }
  .sveden-sidebar { top: 78px; }
  .sveden-list > div { grid-template-columns: 1fr; gap: .45rem; }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; }
  .brandmark { width: 40px; height: 40px; font-size: 23px; }
  .hero { padding: 4rem 0; }
  h1 { font-size: 2.7rem; }
  .category-grid, .course-grid, .service-grid, .stats, .news-grid, .site-footer { grid-template-columns: 1fr; }
  .sveden-list > div { grid-template-columns: 1fr; }
  .sveden-workspace { display: flex; flex-direction: column; }
  .sveden-panel { order: 1; width: 100%; }
  .sveden-sidebar { order: 2; position: static; width: 100%; max-height: none; margin-top: .5rem; }
  .sveden-workspace-section { padding-top: 1.5rem; }
  .news-image { height: 185px; }
  .section-head { display: block; }
  .category-card { min-height: 220px; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { gap: 2rem; }
  .copyright { grid-column: auto; }
}
/* Homepage visual refinement: 2026-07-26 */
@media (min-width: 901px) {
  .site-header { min-height: 70px; padding-block: .65rem; gap: 1.25rem; }
  .main-nav { gap: 1.15rem; }
  .header-actions { gap: .7rem; }
  .hero h1 { font-size: clamp(3.25rem, 5.5vw, 5.5rem); line-height: .98; max-width: 13ch; }
  .hero-note { max-width: 360px; padding: 1.05rem 1.2rem; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); opacity: .82; }
  .hero-note strong { font-size: 1.2rem; }
}
@media (min-width: 901px) and (max-width: 1320px) {
  .site-header .phone { display: none; }
}
/* Site-wide template refinement: 2026-07-26 */
@media (min-width: 701px) {
  .simple-hero + .section, .catalog-hero + .section { padding-top: 3.5rem; }
}
.item-side { align-self: start; }
.item-side h2 { font-size: clamp(2rem, 3.1vw, 2.75rem); margin-bottom: 1.25rem; line-height: 1.05; }
@media (max-width: 700px) {
  .site-header { gap: .55rem; padding-inline: 1rem; }
  .menu-button { padding-inline: .6rem; }
  .simple-hero, .catalog-hero { padding-block: 2.75rem 2.25rem; }
  .simple-hero + .section, .catalog-hero + .section { padding-top: 2.75rem; }
  .item-side h2 { font-size: 2rem; }
}

/* Compact homepage hero on short mobile screens */
@media (max-width: 680px) and (max-height: 820px) {
  .hero { padding: 22px 0; }
  .hero-grid { gap: 0; }
  .hero-note { display: none; }
}


/* Accordion for the mandatory educational-organization information */
.sveden-accordion { display: grid; gap: 12px; max-width: 1000px; margin: 0 auto; }
.sveden-accordion-item { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 8px 24px rgba(16, 58, 49, .06); scroll-margin-top: 96px; }
.sveden-accordion-item.is-open { border-color: rgba(21, 94, 78, .45); box-shadow: 0 12px 30px rgba(16, 58, 49, .11); }
.sveden-accordion-heading { margin: 0; font: inherit; }
.sveden-accordion-toggle { width: 100%; min-height: 72px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.sveden-accordion-toggle:hover { background: rgba(21, 94, 78, .05); }
.sveden-accordion-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.sveden-accordion-sign { flex: 0 0 24px; width: 24px; display: inline-block; border: 0; background: transparent; color: var(--green); text-align: center; font-size: 27px; font-weight: 500; line-height: 1; }
.sveden-accordion-item.is-open .sveden-accordion-sign { color: var(--green); }
.sveden-accordion-panel { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.sveden-accordion-panel[hidden] { display: none; }
.sveden-accordion-panel .sveden-content { margin-top: 20px; box-shadow: none; }
@media (max-width: 640px) {
  .sveden-accordion-toggle { min-height: 64px; padding: 14px 16px; font-size: 16px; }
  .sveden-accordion-panel { padding: 0 12px 12px; }
  .sveden-accordion-panel .sveden-content { margin-top: 12px; }
}


.sveden-collapse-bottom { display: flex; align-items: center; justify-content: center; gap: 9px; width: max-content; margin: 18px 0 0 auto; padding: 11px 17px; border: 0; border-radius: 999px; border: 1.5px solid rgba(21, 94, 78, .45); background: rgba(21, 94, 78, .06); color: var(--green); font: inherit; font-weight: 800; cursor: pointer; box-shadow: none; }
.sveden-collapse-bottom:hover { border-color: var(--green); background: rgba(21, 94, 78, .11); transform: translateY(-1px); }
.sveden-collapse-bottom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sveden-collapse-bottom span { font-size: 24px; font-weight: 500; line-height: .8; }
@media (max-width: 640px) { .sveden-collapse-bottom { width: 100%; margin-top: 12px; } }

/* Course, knowledge base and legal-page refinement: 2026-07-30 */
.catalog-source {
  max-width: 900px;
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  background: var(--cream);
}
.catalog-source a,
.official-source a,
.legal-copy a {
  color: var(--green-2);
  text-underline-offset: 3px;
}
.course-card {
  min-height: 260px;
}
.course-card .price {
  font-size: 1.05rem;
}
.course-card h2 {
  margin: 1rem 0 1.25rem;
  line-height: 1.25;
}
.course-meta {
  display: grid;
  gap: .15rem;
  margin: 0 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.course-meta span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.course-meta strong {
  color: var(--ink);
  font-size: 1.08rem;
}
.program-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(217,169,78,.20), transparent 28%),
    linear-gradient(180deg, var(--mint), rgba(220,236,228,.18));
}
.program-hero h1 {
  max-width: 1050px;
  margin-top: 1.15rem;
  color: var(--green);
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.program-intro {
  max-width: 860px;
  margin: 0;
  color: #40534e;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}
.program-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}
.program-facts > div {
  display: grid;
  align-content: start;
  gap: .18rem;
  min-height: 142px;
  padding: 1.25rem;
  border: 1px solid rgba(23,63,54,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}
.program-facts span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.program-facts strong {
  margin-top: .35rem;
  color: var(--green);
  font: 1.55rem/1.1 Georgia, "Times New Roman", serif;
}
.program-facts small {
  color: var(--muted);
}
.program-facts a {
  margin-top: auto;
  color: var(--green-2);
  font-weight: 750;
  text-underline-offset: 3px;
}
.program-content-section {
  padding-top: 3rem;
}
.content-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.content-nav strong {
  width: 100%;
  margin-bottom: .15rem;
}
.content-nav a {
  padding: .45rem .7rem;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 750;
}
.content-block,
.faq-section {
  scroll-margin-top: 100px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}
.content-block + .content-block,
.content-block + .faq-section {
  margin-top: 1rem;
}
.content-block h2,
.faq-section h2 {
  margin-bottom: 1rem;
  color: var(--green);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}
.content-block ul,
.help-list ul,
.news-details ul,
.legal-copy ul {
  margin: 0;
  padding-left: 1.25rem;
}
.content-block li,
.help-list li,
.news-details li,
.legal-copy li {
  margin: .48rem 0;
}
.content-caution {
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-radius: 14px;
  color: #57430d;
  background: #fff4d8;
}
.official-source {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.faq-list {
  display: grid;
  gap: .65rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfa;
}
.faq-item summary {
  position: relative;
  padding: 1rem 3rem 1rem 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: .72rem;
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 500;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item > div {
  padding: 0 1rem 1rem;
  color: var(--muted);
}
.faq-item p {
  margin: 0;
}
.item-side {
  border-top: 5px solid var(--gold);
}
.item-side > .eyebrow {
  margin-bottom: .55rem;
}
.consent-check {
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start;
  gap: .65rem !important;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-weight: 500 !important;
  line-height: 1.4;
}
.consent-check input {
  width: 20px !important;
  height: 20px;
  margin: .08rem 0 0;
  accent-color: var(--green);
}
.consent-check a {
  color: var(--green);
  font-weight: 750;
  text-underline-offset: 2px;
}

.news-hero {
  padding-bottom: 3.5rem;
}
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.4rem;
}
.news-tabs button {
  min-height: 42px;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: white;
  font-weight: 750;
  cursor: pointer;
}
.news-tabs button:hover,
.news-tabs button.is-active {
  color: white;
  border-color: var(--green);
  background: var(--green);
}
.news-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 1.55rem;
}
.news-card[hidden] {
  display: none;
}
.news-visual {
  display: grid;
  place-items: end start;
  min-height: 170px;
  margin: -1.55rem -1.55rem 1.25rem;
  padding: 1.35rem;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(217,169,78,.65), transparent 24%),
    linear-gradient(135deg, #102f29, #29705e);
}
.news-card:nth-child(2) .news-visual {
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 24%, rgba(23,63,54,.16), transparent 26%),
    linear-gradient(135deg, #f4dfae, #e8f2ec);
}
.news-visual span {
  max-width: 10ch;
  font: clamp(2rem, 4vw, 3.25rem)/.95 Georgia, "Times New Roman", serif;
}
.news-kicker {
  margin-bottom: 1rem;
  color: rgba(23,63,54,.18);
  font: 3.5rem/1 Georgia, "Times New Roman", serif;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  color: var(--green-2);
  font-size: .8rem;
  font-weight: 800;
}
.news-meta span {
  padding: .22rem .5rem;
  border-radius: 999px;
  background: var(--mint);
}
.news-card h2 {
  margin: .9rem 0 .7rem;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.17;
}
.news-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.news-details {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.news-details summary {
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}
.news-details > div {
  padding-top: .8rem;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.contact-list > a:hover {
  border-color: var(--green-2);
  box-shadow: 0 10px 25px rgba(22,56,48,.08);
}
.contact-list > a span,
.contact-list > div > span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-list strong {
  color: var(--green);
  font-size: 1.08rem;
}
.contact-list small {
  color: var(--muted);
}
.contact-list small a {
  color: var(--green-2);
}
.help-list {
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 18px;
  color: white;
  background: var(--green);
}
.help-list h3 {
  margin-bottom: .8rem;
  font-size: 1.25rem;
}
.contact-form-card {
  align-self: start;
  border-top: 5px solid var(--gold);
}
.contact-form-card h2 {
  margin-bottom: .7rem;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: .25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.legal-nav strong {
  margin-bottom: .4rem;
}
.legal-nav a {
  padding: .45rem .55rem;
  border-radius: 8px;
  color: var(--green);
  text-decoration: none;
  font-size: .88rem;
}
.legal-nav a:hover {
  background: var(--mint);
}
.legal-copy {
  max-width: 880px;
}
.legal-copy section {
  scroll-margin-top: 98px;
}
.legal-copy section + section {
  margin-top: 2.5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line);
}
.legal-copy h2 {
  color: var(--green);
}
.legal-copy h3 {
  margin: 1.35rem 0 .6rem;
  font-size: 1.12rem;
}
.legal-copy code {
  padding: .15rem .35rem;
  border-radius: 6px;
  background: var(--cream);
}
.legal-table {
  display: grid;
  gap: .7rem;
}
.legal-table > div {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) 1.35fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.legal-table dt {
  font-weight: 800;
}
.legal-table dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .program-facts {
    grid-template-columns: 1fr 1fr;
  }
  .program-facts > div:last-child {
    grid-column: 1 / -1;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .program-hero {
    padding: 2.5rem 0 3rem;
  }
  .program-hero h1 {
    font-size: 2.25rem;
  }
  .program-facts {
    grid-template-columns: 1fr;
  }
  .program-facts > div:last-child {
    grid-column: auto;
  }
  .program-facts > div {
    min-height: 0;
  }
  .content-block,
  .faq-section {
    padding: 1.25rem;
    border-radius: 18px;
  }
  .content-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .content-nav strong {
    display: none;
  }
  .content-nav a {
    white-space: nowrap;
  }
  .news-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .25rem;
  }
  .news-tabs button {
    flex: 0 0 auto;
  }
  .news-card {
    min-height: 0;
  }
  .contact-actions {
    display: grid;
  }
  .contact-actions .button {
    width: 100%;
  }
  .legal-nav {
    grid-template-columns: 1fr;
  }
  .legal-nav strong {
    grid-column: auto;
  }
  .legal-table > div {
    grid-template-columns: 1fr;
    gap: .45rem;
  }
}
