/*
Theme Name: Creekview
Theme URI: https://creekviewuniversity.com/
Description: Standalone theme for Creekview — an independent guide to Indian government exams, results and admissions. No parent. Owns the schema graph, the answer capsule, the sources block and the official-source callout. Built for legibility on low-end Android screens and slow connections.
Author: Sunny Kumar
Author URI: https://sunnysah.com
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creekview
*/

/* ==========================================================================
   TOKENS
   Light palette defined in full on bare :root. Dark redefines only what
   changes, guarded so the explicit light toggle always wins.
   ========================================================================== */

:root {
  /* Ground and ink.
     Warm paper, not white — this audience reads long eligibility tables on
     cheap LCD panels where pure white glares. */
  --cv-bg:          #fbfaf7;
  --cv-bg-sunk:     #f4f2ec;   /* table stripes, capsule grounds */
  --cv-bg-raised:   #ffffff;   /* cards lift off the paper */
  --cv-ink:         #16181d;   /* near-black; pure black vibrates on cheap LCD */
  --cv-ink-muted:   #565d6d;   /* 4.6:1 on --cv-bg, safe for secondary text */
  --cv-ink-faint:   #767d8c;   /* 3.1:1 — large text and UI only, never body */
  --cv-rule:        #e3ded3;   /* hairline, warm enough to sit on paper */
  --cv-rule-strong: #c9c2b2;

  /* Accent — deep teal.
     Chosen because it is nobody's government colour in India. Saffron, green
     and the navy-and-gold of officialdom all imply this site is an agency,
     which it is not. Teal is calm for an anxious audience and clears AAA on
     paper at body size. */
  --cv-accent:      #0e5a57;
  --cv-accent-deep: #0a4340;
  --cv-accent-lift: #e6f0ef;   /* accent ground for capsules */

  /* Semantic set. Used strictly, never decoratively. */
  --cv-verified:    #1b6b3a;   /* only on "this is the official source" */
  --cv-verified-bg: #e8f2ea;
  --cv-caution:     #8a5a00;   /* dark amber — "this changes each cycle" */
  --cv-caution-bg:  #fbf1dd;
  --cv-danger:      #a3241c;   /* fake-site and scam warnings */
  --cv-danger-bg:   #fbeae8;

  --cv-focus:       #0e5a57;

  /* Type. Source Serif 4 for headings sets this apart from every competitor,
     all of which are default-sans link walls. Inter for body because it holds
     up at 15-17px on low-DPI Android and ships real tabular numerals, which
     the date and fee tables need. */
  --cv-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --cv-font-body:    Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cv-font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Modular scale, 1.2 on mobile. Base is 17px not 16 — the content is dense
     tables read on small screens. */
  --cv-text-xs:   0.735rem;
  --cv-text-sm:   0.882rem;
  --cv-text-base: 1.0625rem;
  --cv-text-lg:   1.275rem;
  --cv-text-xl:   1.53rem;
  --cv-text-2xl:  1.836rem;
  --cv-text-3xl:  2.203rem;

  --cv-leading-tight: 1.22;
  --cv-leading-snug:  1.4;
  --cv-leading-body:  1.65;

  /* Spacing, 4px base. */
  --cv-s1: 0.25rem;  --cv-s2: 0.5rem;   --cv-s3: 0.75rem;  --cv-s4: 1rem;
  --cv-s5: 1.5rem;   --cv-s6: 2rem;     --cv-s7: 3rem;     --cv-s8: 4rem;

  --cv-measure: 68ch;
  --cv-wide:    76rem;

  --cv-radius:    4px;
  --cv-radius-lg: 8px;

  /* Flat, cheap shadows. No glassmorphism, no coloured glows. */
  --cv-shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 1px 1px rgba(22, 24, 29, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cv-bg:          #15161a;
    --cv-bg-sunk:     #1c1e24;
    --cv-bg-raised:   #1f2128;
    --cv-ink:         #ece8e0;
    --cv-ink-muted:   #a7adba;
    --cv-ink-faint:   #868d9b;
    --cv-rule:        #2c2f38;
    --cv-rule-strong: #3d414c;

    --cv-accent:      #5fbdb6;
    --cv-accent-deep: #86d3cc;
    --cv-accent-lift: #16302f;

    --cv-verified:    #6ec48d;
    --cv-verified-bg: #16291d;
    --cv-caution:     #e0aa4e;
    --cv-caution-bg:  #2c2313;
    --cv-danger:      #ef8981;
    --cv-danger-bg:   #2e1917;

    --cv-focus:       #5fbdb6;
    --cv-shadow:      0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

:root[data-theme="dark"] {
  --cv-bg:          #15161a;
  --cv-bg-sunk:     #1c1e24;
  --cv-bg-raised:   #1f2128;
  --cv-ink:         #ece8e0;
  --cv-ink-muted:   #a7adba;
  --cv-ink-faint:   #868d9b;
  --cv-rule:        #2c2f38;
  --cv-rule-strong: #3d414c;

  --cv-accent:      #5fbdb6;
  --cv-accent-deep: #86d3cc;
  --cv-accent-lift: #16302f;

  --cv-verified:    #6ec48d;
  --cv-verified-bg: #16291d;
  --cv-caution:     #e0aa4e;
  --cv-caution-bg:  #2c2313;
  --cv-danger:      #ef8981;
  --cv-danger-bg:   #2e1917;

  --cv-focus:       #5fbdb6;
  --cv-shadow:      0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BASE
   ========================================================================== */

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

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

body.creekview {
  background: var(--cv-bg);
  color: var(--cv-ink);
  font-family: var(--cv-font-body);
  font-size: var(--cv-text-base);
  line-height: var(--cv-leading-body);
  font-feature-settings: "tnum" 0;
  overflow-x: hidden;
}

.creekview h1, .creekview h2, .creekview h3,
.creekview h4, .creekview h5, .creekview h6 {
  font-family: var(--cv-font-display);
  font-weight: 600;
  line-height: var(--cv-leading-tight);
  color: var(--cv-ink);
  margin: 0 0 var(--cv-s3);
  text-wrap: balance;
}

.creekview h1 { font-size: var(--cv-text-3xl); letter-spacing: -0.015em; }
.creekview h2 { font-size: var(--cv-text-2xl); margin-top: var(--cv-s7); letter-spacing: -0.01em; }
.creekview h3 { font-size: var(--cv-text-xl); margin-top: var(--cv-s6); }
.creekview h4 { font-size: var(--cv-text-lg); margin-top: var(--cv-s5); }

.creekview p { margin: 0 0 var(--cv-s4); }

.creekview a { color: var(--cv-accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.creekview a:hover { color: var(--cv-accent-deep); }

.creekview :focus-visible {
  outline: 3px solid var(--cv-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.creekview img { max-width: 100%; height: auto; }

.cv-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--cv-accent); color: #fff;
  padding: var(--cv-s3) var(--cv-s4); z-index: 999;
  text-decoration: none;
}
.cv-skip:focus { left: 0; }

.cv-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.cv-wrap { width: 100%; max-width: var(--cv-wide); margin-inline: auto; padding-inline: var(--cv-s4); }
.cv-prose { max-width: var(--cv-measure); }
.cv-prose > * + * { margin-top: 0; }

.cv-main { padding-block: var(--cv-s6) var(--cv-s8); }

@media (min-width: 60rem) {
  :root { --cv-text-3xl: 2.65rem; --cv-text-2xl: 2.1rem; --cv-text-xl: 1.65rem; }
  .cv-wrap { padding-inline: var(--cv-s6); }
  .cv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: var(--cv-s7); align-items: start; }
  .cv-aside { position: sticky; top: var(--cv-s5); }
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.cv-header {
  border-bottom: 1px solid var(--cv-rule);
  background: var(--cv-bg);
}
.cv-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--cv-s4); padding-block: var(--cv-s4);
}
.cv-logo { display: inline-flex; align-items: center; gap: var(--cv-s2); text-decoration: none; }
.cv-logo img { display: block; height: 30px; width: auto; }

.cv-nav ul { display: flex; gap: var(--cv-s5); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.cv-nav a {
  color: var(--cv-ink); text-decoration: none;
  font-size: var(--cv-text-sm); font-weight: 500;
  padding-block: var(--cv-s2); display: inline-block;
}
.cv-nav a:hover, .cv-nav .current-menu-item > a { color: var(--cv-accent); text-decoration: underline; }

.cv-navtoggle {
  display: inline-flex; align-items: center; gap: var(--cv-s2);
  min-height: 44px; min-width: 44px; padding: var(--cv-s2) var(--cv-s3);
  background: none; border: 1px solid var(--cv-rule-strong);
  border-radius: var(--cv-radius); color: var(--cv-ink);
  font: inherit; font-size: var(--cv-text-sm); cursor: pointer;
}
@media (min-width: 48rem) { .cv-navtoggle { display: none; } }
@media (max-width: 47.99rem) {
  .cv-nav { display: none; width: 100%; }
  .cv-nav[data-open="true"] { display: block; }
  .cv-nav ul { flex-direction: column; gap: 0; }
  .cv-nav li { border-top: 1px solid var(--cv-rule); }
  .cv-nav a { padding: var(--cv-s3) 0; width: 100%; }
  .cv-header__bar { flex-wrap: wrap; }
}

/* ==========================================================================
   THE DISCLAIMER — the most important component on the site
   ========================================================================== */

.cv-notaffil {
  background: var(--cv-caution-bg);
  border-block: 1px solid color-mix(in srgb, var(--cv-caution) 30%, transparent);
  color: var(--cv-ink);
  font-size: var(--cv-text-sm);
  line-height: var(--cv-leading-snug);
  padding-block: var(--cv-s3);
}
.cv-notaffil strong { color: var(--cv-caution); }

.cv-footer .cv-notaffil {
  background: none; border: 0; padding: 0;
  margin-bottom: var(--cv-s4);
}

/* ==========================================================================
   ANSWER CAPSULE — the most extractable block on any page
   ========================================================================== */

.cv-capsule {
  background: var(--cv-accent-lift);
  border-left: 3px solid var(--cv-accent);
  border-radius: 0 var(--cv-radius) var(--cv-radius) 0;
  padding: var(--cv-s4) var(--cv-s5);
  margin-block: var(--cv-s5);
  font-size: var(--cv-text-lg);
  line-height: var(--cv-leading-snug);
}
.cv-capsule p:last-child { margin-bottom: 0; }
.cv-capsule__label {
  display: block; font-family: var(--cv-font-body);
  font-size: var(--cv-text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cv-accent); margin-bottom: var(--cv-s2);
}

/* ==========================================================================
   OFFICIAL SOURCE CALLOUT
   Every competitor rehosts government PDFs. We link out, and we say so.
   ========================================================================== */

.cv-official {
  display: block;
  background: var(--cv-verified-bg);
  border: 1px solid color-mix(in srgb, var(--cv-verified) 35%, transparent);
  border-radius: var(--cv-radius);
  padding: var(--cv-s4);
  margin-block: var(--cv-s5);
  text-decoration: none; color: var(--cv-ink);
}
.cv-official:hover { border-color: var(--cv-verified); }
.cv-official__label {
  display: block; font-size: var(--cv-text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cv-verified); margin-bottom: var(--cv-s1);
}
.cv-official__url {
  font-family: var(--cv-font-mono); font-size: var(--cv-text-sm);
  color: var(--cv-ink-muted); word-break: break-all;
}
.cv-official__leaving { font-size: var(--cv-text-xs); color: var(--cv-ink-muted); }

/* ==========================================================================
   WARNING BLOCK — fake result sites, job agents
   ========================================================================== */

.cv-warn {
  background: var(--cv-danger-bg);
  border-left: 3px solid var(--cv-danger);
  border-radius: 0 var(--cv-radius) var(--cv-radius) 0;
  padding: var(--cv-s4) var(--cv-s5);
  margin-block: var(--cv-s5);
}
.cv-warn__label {
  display: block; font-size: var(--cv-text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cv-danger); margin-bottom: var(--cv-s2);
}
.cv-warn p:last-child { margin-bottom: 0; }

/* ==========================================================================
   BYLINE / FRESHNESS
   ========================================================================== */

.cv-byline {
  display: flex; flex-wrap: wrap; gap: var(--cv-s2) var(--cv-s4);
  align-items: baseline;
  font-size: var(--cv-text-sm); color: var(--cv-ink-muted);
  padding-block: var(--cv-s4);
  border-block: 1px solid var(--cv-rule);
  margin-block: var(--cv-s5);
}
.cv-byline a { font-weight: 600; }
.cv-byline__checked { font-variant-numeric: tabular-nums; }
.cv-byline__checked strong { color: var(--cv-ink); font-weight: 600; }

/* ==========================================================================
   TABLES — the workhorse of this site
   ========================================================================== */

.cv-tablewrap {
  overflow-x: auto;
  margin-block: var(--cv-s5);
  border: 1px solid var(--cv-rule);
  border-radius: var(--cv-radius);
  -webkit-overflow-scrolling: touch;
}
.creekview table {
  width: 100%; border-collapse: collapse;
  font-size: var(--cv-text-sm);
  font-variant-numeric: tabular-nums;
}
.creekview th, .creekview td {
  padding: var(--cv-s3) var(--cv-s4);
  text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--cv-rule);
}
.creekview thead th {
  background: var(--cv-bg-sunk);
  font-family: var(--cv-font-body);
  font-weight: 600; font-size: var(--cv-text-xs);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--cv-ink-muted);
  white-space: nowrap;
}
.creekview tbody tr:last-child td { border-bottom: 0; }
.creekview tbody tr:nth-child(even) { background: color-mix(in srgb, var(--cv-bg-sunk) 45%, transparent); }

/* ==========================================================================
   TOC
   ========================================================================== */

.cv-toc {
  background: var(--cv-bg-sunk);
  border: 1px solid var(--cv-rule);
  border-radius: var(--cv-radius);
  padding: var(--cv-s4);
  margin-block: var(--cv-s5);
  font-size: var(--cv-text-sm);
}
.cv-toc__title {
  font-family: var(--cv-font-body); font-size: var(--cv-text-xs);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cv-ink-muted); margin: 0 0 var(--cv-s3);
}
.cv-toc ol { margin: 0; padding-left: var(--cv-s5); }
.cv-toc li { margin-bottom: var(--cv-s2); }
.cv-toc li:last-child { margin-bottom: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.cv-faq { margin-block: var(--cv-s6); }
.cv-faq__item { border-bottom: 1px solid var(--cv-rule); padding-block: var(--cv-s4); }
.cv-faq__item:first-of-type { border-top: 1px solid var(--cv-rule); }
.cv-faq__q {
  font-family: var(--cv-font-display); font-size: var(--cv-text-lg);
  font-weight: 600; margin: 0 0 var(--cv-s2); line-height: var(--cv-leading-snug);
}
.cv-faq__a { margin: 0; color: var(--cv-ink); }

/* ==========================================================================
   SOURCES
   ========================================================================== */

.cv-sources {
  border: 1px solid var(--cv-rule);
  border-radius: var(--cv-radius);
  padding: var(--cv-s5);
  margin-block: var(--cv-s6);
  background: var(--cv-bg-raised);
  font-size: var(--cv-text-sm);
}
.cv-sources__title {
  font-family: var(--cv-font-body); font-size: var(--cv-text-xs);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cv-ink-muted); margin: 0 0 var(--cv-s3);
}
.cv-sources ol { margin: 0; padding-left: var(--cv-s5); }
.cv-sources li { margin-bottom: var(--cv-s3); }
.cv-sources li:last-child { margin-bottom: 0; }
.cv-sources__checked {
  margin: var(--cv-s4) 0 0; padding-top: var(--cv-s3);
  border-top: 1px solid var(--cv-rule);
  color: var(--cv-ink-muted); font-size: var(--cv-text-xs);
}

/* ==========================================================================
   CTA — one per page, never sprinkled
   ========================================================================== */

.cv-cta {
  background: var(--cv-bg-raised);
  border: 1px solid var(--cv-rule-strong);
  border-radius: var(--cv-radius-lg);
  padding: var(--cv-s5);
  margin-block: var(--cv-s6);
  box-shadow: var(--cv-shadow);
}
.cv-cta h2, .cv-cta h3 { margin-top: 0; font-size: var(--cv-text-lg); }
.cv-cta p:last-child { margin-bottom: 0; }

.cv-btn {
  display: inline-flex; align-items: center; gap: var(--cv-s2);
  min-height: 44px; padding: var(--cv-s3) var(--cv-s5);
  background: var(--cv-accent); color: #fff;
  border: 1px solid var(--cv-accent); border-radius: var(--cv-radius);
  font: inherit; font-size: var(--cv-text-sm); font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.cv-btn:hover { background: var(--cv-accent-deep); color: #fff; }
:root[data-theme="dark"] .cv-btn,
:root:not([data-theme="light"]) .cv-btn { color: #0d1211; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .cv-btn { color: #fff; } }

/* ==========================================================================
   DISCLOSURE
   ========================================================================== */

.cv-disclosure {
  background: var(--cv-bg-sunk);
  border: 1px solid var(--cv-rule);
  border-radius: var(--cv-radius);
  padding: var(--cv-s4);
  margin-block: var(--cv-s5);
  font-size: var(--cv-text-sm);
}
.cv-disclosure strong { display: block; margin-bottom: var(--cv-s1); }

/* ==========================================================================
   CARDS / LISTS
   ========================================================================== */

.cv-cards { display: grid; gap: var(--cv-s4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .cv-cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .cv-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.cv-card {
  background: var(--cv-bg-raised);
  border: 1px solid var(--cv-rule);
  border-radius: var(--cv-radius);
  padding: var(--cv-s5);
  display: flex; flex-direction: column; gap: var(--cv-s2);
}
.cv-card h3 { margin: 0; font-size: var(--cv-text-lg); }
.cv-card h3 a { text-decoration: none; }
.cv-card h3 a:hover { text-decoration: underline; }
.cv-card p { margin: 0; color: var(--cv-ink-muted); font-size: var(--cv-text-sm); }
.cv-card__meta {
  margin-top: auto; padding-top: var(--cv-s3);
  font-size: var(--cv-text-xs); color: var(--cv-ink-faint);
  font-variant-numeric: tabular-nums;
}

.cv-postlist { list-style: none; margin: 0; padding: 0; }
.cv-postlist li { border-bottom: 1px solid var(--cv-rule); padding-block: var(--cv-s4); }
.cv-postlist li:first-child { border-top: 1px solid var(--cv-rule); }
.cv-postlist h3 { margin: 0 0 var(--cv-s1); font-size: var(--cv-text-lg); }
.cv-postlist h3 a { text-decoration: none; }
.cv-postlist h3 a:hover { text-decoration: underline; }
.cv-postlist p { margin: 0; color: var(--cv-ink-muted); font-size: var(--cv-text-sm); }
.cv-postlist__meta { font-size: var(--cv-text-xs); color: var(--cv-ink-faint); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.cv-crumbs { font-size: var(--cv-text-sm); color: var(--cv-ink-muted); padding-block: var(--cv-s4) 0; }
.cv-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--cv-s2); margin: 0; padding: 0; }
.cv-crumbs li::after { content: "/"; margin-left: var(--cv-s2); color: var(--cv-ink-faint); }
.cv-crumbs li:last-child::after { content: ""; }

/* ==========================================================================
   HERO / HOME
   ========================================================================== */

.cv-hero { padding-block: var(--cv-s7) var(--cv-s6); border-bottom: 1px solid var(--cv-rule); }
.cv-hero h1 { max-width: 20ch; }
.cv-hero__sub { font-size: var(--cv-text-lg); color: var(--cv-ink-muted); max-width: 54ch; margin-bottom: var(--cv-s5); }

.cv-section { padding-block: var(--cv-s7); border-bottom: 1px solid var(--cv-rule); }
.cv-section:last-child { border-bottom: 0; }
.cv-section > h2:first-child { margin-top: 0; }
.cv-section__intro { color: var(--cv-ink-muted); max-width: var(--cv-measure); margin-bottom: var(--cv-s5); }

/* ==========================================================================
   AUTHOR
   ========================================================================== */

.cv-author {
  border: 1px solid var(--cv-rule); border-radius: var(--cv-radius);
  padding: var(--cv-s5); margin-block: var(--cv-s6);
  background: var(--cv-bg-raised);
}
.cv-author h2 { margin-top: 0; font-size: var(--cv-text-lg); }
.cv-author p:last-child { margin-bottom: 0; }
.cv-author__links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--cv-s4); margin: var(--cv-s3) 0 0; padding: 0; font-size: var(--cv-text-sm); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.cv-footer {
  border-top: 1px solid var(--cv-rule);
  background: var(--cv-bg-sunk);
  padding-block: var(--cv-s7) var(--cv-s6);
  font-size: var(--cv-text-sm);
  margin-top: var(--cv-s8);
}
.cv-footer__cols { display: grid; gap: var(--cv-s6); margin-bottom: var(--cv-s6); }
@media (min-width: 48rem) { .cv-footer__cols { grid-template-columns: 2fr 1fr 1fr; } }
.cv-footer h2 { font-size: var(--cv-text-sm); font-family: var(--cv-font-body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cv-ink-muted); margin: 0 0 var(--cv-s3); }
.cv-footer ul { list-style: none; margin: 0; padding: 0; }
.cv-footer li { margin-bottom: var(--cv-s2); }
.cv-footer a { color: var(--cv-ink); }
.cv-footer__legal { border-top: 1px solid var(--cv-rule); padding-top: var(--cv-s4); color: var(--cv-ink-muted); font-size: var(--cv-text-xs); }

/* ==========================================================================
   404 / SEARCH
   ========================================================================== */

.cv-searchform { display: flex; gap: var(--cv-s2); max-width: 30rem; margin-block: var(--cv-s5); }
.cv-searchform input[type="search"] {
  flex: 1; min-height: 44px; padding: var(--cv-s2) var(--cv-s3);
  border: 1px solid var(--cv-rule-strong); border-radius: var(--cv-radius);
  background: var(--cv-bg-raised); color: var(--cv-ink); font: inherit;
}

/* ==========================================================================
   PRINT — candidates print eligibility tables
   ========================================================================== */

@media print {
  .cv-header, .cv-footer, .cv-cta, .cv-navtoggle, .cv-toc { display: none; }
  body.creekview { background: #fff; color: #000; font-size: 11pt; }
  .cv-official { border: 1px solid #999; }
  .creekview a::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
