/* =====================================================================
   Lidlidda National High School - public site + shared components
   ===================================================================== */
:root {
  /* 60-30-10 color rule (user, 2026-11-20): 60% cream (main: backgrounds, cards, fills), 30% navy (second: header,
     sidebar, footer, bands, headings, text), 10% orange (loud: main buttons, highlights, active markers).
     Orange for white text is the burnt shade (4.8:1); the bright shade is for lines, dots, icons and navy-text fills. */
  --cream-25: #fffbf4;
  --cream-50: #fbf4e7;
  --cream-100: #f6ead5;
  --cream-200: #ebd8b6;
  --cream-300: #dcc191;
  --page: #fcf7ee;
  --navy-600: #1d4596;
  --navy-700: #163b87;
  --navy-800: #0b2a6f;
  --navy-900: #071a48;
  --orange: #f28c28;
  --orange-600: #c24f0a;
  --orange-700: #a9430a;
  /* The names the pages already use, now pointing at the palette above */
  --sky-25: var(--cream-25);
  --sky-50: var(--cream-50);
  --sky-100: var(--cream-100);
  --sky-200: var(--cream-200);
  --sky-300: var(--cream-300);
  --sky-500: var(--orange);
  --blue-600: var(--navy-600);
  --blue-700: var(--navy-700);
  --gold: var(--orange);
  --gold-600: var(--orange-600);
  --red: #d7263d;
  --green: #12805c;
  --ink: #0a1a3a;
  --ink-2: #26375a;
  --muted: #5f6475;
  --line: #e8dac0;
  --card: #fffdf9;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 111, .06), 0 2px 8px rgba(11, 42, 111, .05);
  --shadow: 0 10px 30px -10px rgba(11, 42, 111, .25), 0 2px 6px rgba(11, 42, 111, .06);
  --shadow-lg: 0 30px 60px -20px rgba(7, 26, 72, .35);
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(242, 140, 40, .07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(235, 216, 182, .45), transparent 60%),
    linear-gradient(180deg, #fcf7ee 0%, #fbf5ea 45%, #f8efdf 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
/* Reveal animations start offset sideways; never let that create horizontal scroll */
body.site { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--card); --fg: var(--navy-800); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 700 .95rem/1 var(--font-head); letter-spacing: .01em;
  cursor: pointer; position: relative; overflow: hidden; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-primary { --bg: var(--orange-600); --fg: #fff; --bd: transparent; background: var(--bg); } /* the loud 10%: the main action */
.btn-primary:hover { --bg: var(--orange-700); }
.btn-gold { --bg: linear-gradient(135deg, #ffb15c, var(--orange)); --fg: var(--navy-900); --bd: transparent; background: var(--bg); }
.btn-navy { --bg: var(--navy-800); --fg: #fff; --bd: transparent; }
.btn-glass { --bg: rgba(255, 255, 255, .14); --fg: #fff; --bd: rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.btn-ghost { --bg: transparent; --bd: transparent; }
.btn-danger { --bg: #fff; --fg: var(--red); --bd: #f3c2c9; }
.btn-success { --bg: linear-gradient(135deg, #18a072, var(--green)); --fg: #fff; --bd: transparent; background: var(--bg); }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-xs { padding: .4em .75em; font-size: .78rem; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-block { width: 100%; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--navy-900); color: #ecdfc9; font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-gov { display: inline-flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.topbar-gov img { width: 20px; height: 20px; flex: none; }
.topbar-scroll { overflow: hidden; min-width: 0; }
.topbar-track { display: inline-flex; }
.topbar-track > span + span { display: none; } /* the second copy is only for the phone loop */
/* Phones: the full line "Republic of the Philippines · Department of Education · Region · Division" does not fit, so it
   scrolls in a loop instead of being cut (user, 2026-11-25). Two copies side by side move left by one copy's width, so
   the loop has no jump. Tapping or hovering pauses it; with "reduce motion" on, it wraps onto two lines instead. */
@media (max-width: 720px) {
  .topbar-gov { flex: 1 1 auto; }
  .topbar-scroll { flex: 1 1 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); }
  .topbar-track { animation: topbar-loop 22s linear infinite; will-change: transform; }
  .topbar-track > span { padding-right: 48px; }
  .topbar-track > span + span { display: inline; }
  .topbar-gov:hover .topbar-track, .topbar-gov:focus-within .topbar-track, .topbar-gov.is-paused .topbar-track { animation-play-state: paused; }
  .topbar-label { display: none; }
}
@keyframes topbar-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .topbar-track { animation: none; }
  .topbar-track > span + span { display: none; }
  .topbar-gov, .topbar-scroll { white-space: normal; }
  .topbar-scroll { -webkit-mask-image: none; mask-image: none; }
  .topbar-track > span { padding: 4px 0; display: block; line-height: 1.35; }
}
.topbar-links { display: inline-flex; gap: 18px; flex: none; }
.topbar-links a { color: #ecdfc9; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; }

/* The header is navy (part of the 30%): the school name in white, the main button in orange */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 42, 111, .97); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 3px solid var(--orange); transition: box-shadow .3s, background .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(7, 26, 72, .55); background: var(--navy-800); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; transition: min-height .3s var(--ease); }
.header.is-scrolled .header-in { min-height: 70px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { width: 64px; height: 64px; filter: drop-shadow(0 4px 10px rgba(11, 42, 111, .25)); transition: width .3s var(--ease), height .3s var(--ease), transform .6s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.header.is-scrolled .brand-logo { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font: 900 clamp(1rem, 2.1vw, 1.45rem)/1.05 var(--font-head); letter-spacing: -.005em;
  background: linear-gradient(90deg, #fff, var(--cream-100)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-size: .78rem; color: #e4d3b4; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
/* Header right side: the Login / Dashboard button and the 3-bar menu button. All page links live in the dropdown
   at every screen size, so the school name and address beside the logo always have room. */
.header-actions { position: relative; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: inline-flex; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 140, 40, .25); }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); z-index: 60;
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top right; transition: all .25s var(--ease);
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav a { padding: 12px 14px; font: 700 .98rem/1.2 var(--font-head); color: var(--ink-2); border-radius: 10px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--navy-800); background: var(--sky-50, #f2f7fc); }
.nav a.is-active { color: var(--navy-800); background: var(--sky-100); box-shadow: inset 3px 0 0 var(--gold); }
/* Home and Request Documents beside the Login button: outlined, so Login stays the main button */
.nav-quick { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.nav-quick:hover { border-color: var(--orange); color: #fff; }
.nav-quick.is-active { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
@media (max-width: 1100px) {
  .nav-quick .nav-cta-label { display: none; }   /* icons only, so the school name keeps its room */
  .nav-quick { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 600px) {
  /* Phones: the buttons get their own row under the school name, with their words shown again */
  .header-in { flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 10px; }
  .brand { flex: 1 1 100%; }
  .header-actions { flex: 1 1 100%; justify-content: flex-end; }
  .nav-quick .nav-cta-label { display: inline; }
}
@media (max-width: 440px) {
  .nav-cta-long { display: none; }   /* "Documents" on small phones, so everything fits on one row */
}
@media (max-width: 374px) {
  /* Smallest phones (320-374px): Home and Documents as icons only, so the menu button stays on screen */
  .nav-quick .nav-cta-label { display: none; }
}
@media (max-width: 480px) {
  .nav-cta-label { display: none; }   /* icon-only button on small phones */
  .nav-cta { padding-left: 12px; padding-right: 12px; }
  .header-actions { gap: 8px; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 720px) {
  .topbar-gov { font-size: .72rem; }
  .topbar-links a:not([aria-label]) { display: none; }
}
@media (max-width: 480px) {
  .brand-logo { width: 48px; height: 48px; }
  .brand-sub { font-size: .66rem; }
  .header-in { min-height: 74px; }
}

/* ---------- Alerts + badges ---------- */
.alert { margin: 16px 0; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; animation: drop .45s var(--ease); }
.alert-success { background: #e8f8f1; border-color: #a6e3c9; color: #0b5c40; }
.alert-error { background: #fdecef; border-color: #f4b7c1; color: #8e1426; }
.alert-info { background: var(--sky-50); border-color: var(--sky-200); color: var(--navy-800); }
.alert-warn { background: #fff7e0; border-color: #ffe08a; color: #7a5200; }
.alert ul { margin: 0; padding-left: 18px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: .28em .7em; border-radius: 999px; font: 700 .72rem/1.2 var(--font-head); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.badge-gray { background: #eef2f7; color: #4b5a74; }
.badge-blue { background: #e3e8f4; color: var(--navy-700); }
.badge-green { background: #dff6ec; color: #0b6b4a; }
.badge-amber { background: #fff1cc; color: #8a5a00; }
.badge-red { background: #fde3e7; color: #a3172c; }
.badge-violet { background: #ece6ff; color: #5131b8; }
.badge-gold { background: linear-gradient(135deg, #ffc98a, var(--orange)); color: var(--navy-900); }
.badge-orange { background: #fde6d2; color: var(--orange-700); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 .78rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
/* On navy (bands, hero, login side): the bright orange, the dark one is for cream */
.cta-band .eyebrow, .hero .eyebrow, .auth-side .eyebrow, .footer .eyebrow { color: var(--orange); }
.title-xl { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 0; }
.hero-card {
  position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(520px, 78vh, 720px);
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-lg); isolation: isolate; background: var(--navy-900);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active img { animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate(1%, 1%); } to { transform: scale(1) translate(0, 0); } }
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(7, 26, 72, .92) 0%, rgba(11, 42, 111, .7) 42%, rgba(11, 42, 111, .1) 75%),
    linear-gradient(0deg, rgba(7, 26, 72, .65), transparent 45%);
}
.hero-content { position: relative; z-index: 2; padding: clamp(28px, 6vw, 72px); max-width: 760px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 700 .8rem/1 var(--font-head);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); margin-bottom: 22px;
}
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); animation: pulse 2s infinite; }
.hero-chip.closed .dot { background: var(--gold); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.4rem); letter-spacing: -.025em; margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.hero h1 .accent { background: linear-gradient(90deg, #ffc27a, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #f1e6d4; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots { position: absolute; z-index: 3; right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 40px); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; transition: width .4s var(--ease), background .3s; }
.hero-dots button.is-active { width: 34px; background: var(--gold); }
.hero-caption { position: absolute; z-index: 3; right: clamp(20px, 4vw, 48px); bottom: clamp(44px, 6vw, 64px); font-size: .82rem; color: #ecdfc9; text-align: right; max-width: 260px; }
@media (max-width: 640px) { .hero-caption { display: none; } .hero-card { border-radius: 20px; } }

.stats { position: relative; z-index: 4; margin-top: -54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 clamp(16px, 4vw, 48px); }
.stat {
  background: rgba(255, 253, 249, .95); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; transition: transform .35s var(--ease);
}
.stat:hover { transform: translateY(-4px); }
.stat-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fde6d2; color: var(--orange-600); flex: none; }
.stat-ic .ic { width: 24px; height: 24px; }
.stat strong { display: block; font: 900 1.7rem/1 var(--font-head); color: var(--navy-900); }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; } }
/* The stat boxes overlap the bottom of the photo card, so the card keeps that strip clear: the buttons (however long the
   tagline is) and the photo dots always end above the boxes (user, 2026-11-25: Announcements was half covered on phones) */
.hero-dots { bottom: calc(clamp(20px, 4vw, 40px) + 54px); }
@media (max-width: 900px) {
  .hero-content { padding-bottom: calc(clamp(28px, 6vw, 72px) + 40px); }
  .hero-dots { bottom: 52px; }
}
@media (max-width: 420px) { .stat { padding: 16px; } .stat strong { font-size: 1.35rem; } .stat-ic { width: 40px; height: 40px; } }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: clamp(20px, 3vw, 32px); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column; overflow: hidden; color: inherit; height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-300); color: inherit; }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--sky-100), var(--sky-200)); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.07); }
.post-media .badge { position: absolute; top: 14px; left: 14px; box-shadow: var(--shadow-sm); }
.post-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue-700); }
.post-media .ph img { width: 72px; height: 72px; opacity: .5; object-fit: contain; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); font-weight: 600; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-body h3 { margin: 4px 0 0; font-size: 1.12rem; }
.post-body p { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; padding-top: 10px; font: 800 .85rem/1 var(--font-head); color: var(--blue-700); display: inline-flex; align-items: center; gap: 6px; }
.read-more .ic { transition: transform .3s var(--ease); }
.post-card:hover .read-more .ic { transform: translateX(4px); }

.date-badge { position: absolute; top: 14px; right: 14px; background: #fff; border-radius: 14px; padding: 8px 12px; text-align: center; box-shadow: var(--shadow); line-height: 1; }
.date-badge b { display: block; font: 900 1.4rem/1 var(--font-head); color: var(--navy-900); }
.date-badge small { font: 800 .68rem/1 var(--font-head); color: var(--red); letter-spacing: .1em; text-transform: uppercase; }

.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.feature-post .post-media { aspect-ratio: auto; min-height: 100%; }
.feature-post .post-body { padding: clamp(24px, 4vw, 40px); justify-content: center; }
.feature-post h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
@media (max-width: 800px) { .feature-post { grid-template-columns: 1fr; } .feature-post .post-media { aspect-ratio: 16/9; } }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tabs button, .tabs a { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 700 .88rem/1 var(--font-head); color: var(--muted); cursor: pointer; transition: all .3s var(--ease); }
.tabs .is-active { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- About block ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-visual { position: relative; }
.about-visual .main { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-visual .float {
  position: absolute; right: -18px; bottom: 32px; width: 46%; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover;
  animation: floaty 6s ease-in-out infinite;
}
.about-visual .seal {
  position: absolute; left: -16px; top: 24px; width: 108px; height: 108px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: var(--shadow);
  animation: spin 40s linear infinite;
}
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.value-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 800 .9rem/1 var(--font-head); color: var(--navy-800); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.value-chip:hover { transform: translateY(-3px) rotate(-1deg); }
.value-chip .ic { color: var(--gold-600); }
.mv-card { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card), var(--cream-50)); border: 1px solid var(--line); border-top: 3px solid var(--orange); }
.mv-card h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-700); }
.mv-card p { margin: 0; color: var(--ink-2); }
/* About page: the History can be very long. Photos start at the top and stay beside the text while scrolling,
   instead of sitting in the vertical middle of the column with empty space above and below. */
.about-split--long { align-items: start; }
.about-split--long .about-visual { position: sticky; top: 100px; }
.about-split--long .about-visual .main { max-height: calc(100vh - 140px); }
@media (max-width: 900px) { .about-split--long .about-visual { position: relative; top: auto; } }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } .about-visual { max-width: 520px; margin: 0 auto 20px; } .about-visual .float { right: 0; } .about-visual .seal { left: 0; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 64px); color: #fff;
  background: radial-gradient(600px 300px at 90% 10%, rgba(242, 140, 40, .35), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, var(--navy-600));
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -180px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f1e6d4; }
.cta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.cta-list li { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; }
.cta-list .ic { color: var(--gold); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- People / org chart ---------- */
.person { text-align: center; padding: 26px 18px; transition: transform .35s var(--ease), box-shadow .35s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.avatar {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--sky-200), var(--shadow-sm);
  display: grid; place-items: center; font: 900 1.8rem/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
}
.person h3 { font-size: 1.02rem; margin-bottom: 4px; }
.person .pos { font-weight: 700; color: var(--blue-700); font-size: .88rem; }
.person .desig { color: var(--muted); font-size: .82rem; }
.person.head { max-width: 360px; margin: 0 auto; background: linear-gradient(180deg, #fff, var(--sky-50)); }
.person.head .avatar { width: 132px; height: 132px; box-shadow: 0 0 0 4px var(--gold), var(--shadow); }
.org-group { margin-top: 48px; }
.org-group > h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-800); margin-bottom: 18px; }
.org-group > h3::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--sky-200), transparent); }
.org-line { width: 2px; height: 40px; margin: 0 auto; background: linear-gradient(var(--gold), var(--sky-300)); }

/* ---------- Docs list ---------- */
.doc-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background .2s; }
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: var(--sky-25); }
.doc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fde8ec; color: var(--red); flex: none; }
.doc-ic .ic { width: 22px; height: 22px; }
.doc-row .grow { flex: 1; min-width: 0; }
.doc-row strong { display: block; color: var(--navy-900); }
.doc-row small { color: var(--muted); }
@media (max-width: 560px) { .doc-row { flex-wrap: wrap; } .doc-row .btn { width: 100%; } }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.map-frame { border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--sky-100); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.contact-item .stat-ic { width: 44px; height: 44px; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--navy-900); }
.contact-item span, .contact-item a { color: var(--muted); font-size: .93rem; word-break: break-word; }
.fb-card { background: linear-gradient(135deg, #1877f2, #0b4fc0); color: #fff; border: 0; }
.fb-card strong, .fb-card span { color: #fff !important; }
.fb-card .stat-ic { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .map-frame, .map-frame iframe { min-height: 320px; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); position: relative; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 1.06rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); font-weight: 600; }
.prose { font-size: 1.04rem; color: var(--ink-2); }
.prose p, .prose ul { margin-bottom: 1.1em; }
.prose strong { color: var(--navy-900); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.article-cover { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 32px; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 24px; }
.gallery a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.layout-aside { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pager .is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty .ic { width: 42px; height: 42px; color: var(--sky-300); margin: 0 auto 12px; display: block; }

/* ---------- Forms (shared) ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .form-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .form-grid, .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; } }
/* Enrollment form: yes/no and choice groups, and the boxes inside a numbered item */
.yn { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.fieldset .yn legend, .yn legend { font: 600 .9rem/1.3 var(--font-body, inherit); color: inherit; text-transform: none; letter-spacing: 0; padding: 0; margin-bottom: 6px; width: 100%; }
.yn .check { align-items: center; }
.yn .hint { font-size: .8rem; color: var(--muted); }
.fieldset-sub { margin: 16px 0 0; padding: 16px; }
.fieldset .fieldset-sub legend { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.fieldset legend { line-height: 1.3; }
form [hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font: 700 .84rem/1.2 var(--font-head); color: var(--ink-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
.req::after { content: " *"; color: var(--red); }
.input, select.input, textarea.input {
  width: 100%; padding: .78em .95em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: 500 .95rem/1.3 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
/* Phones: 16px text in form boxes, or iPhones zoom the page in on every tap of a field */
@media (max-width: 820px) { .input, select.input, textarea.input { font-size: 16px; } }
.input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(29, 69, 150, .15); }
.input:invalid:not(:placeholder-shown) { border-color: #f0a1ad; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 18px; }
.fieldset legend { font: 800 .82rem/1 var(--font-head); color: var(--blue-700); text-transform: uppercase; letter-spacing: .12em; padding: 0 8px; }

/* ---------- Login ---------- */
.auth { min-height: calc(100vh - 124px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(100%, 980px); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--card); }
.auth-side {
  position: relative; padding: 44px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px;
  background: linear-gradient(0deg, rgba(7, 26, 72, .92), rgba(11, 42, 111, .45)), url("../img/school2.jpg") center / cover;
}
.auth-side img.logo { width: 92px; height: 92px; margin-bottom: auto; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .35)); }
.auth-side h2 { color: #fff; font-size: 1.8rem; font-weight: 900; }
.auth-side p { color: #f1e6d4; margin: 0; }
.auth-form { padding: clamp(28px, 5vw, 48px); }
.auth-form h1 { font-size: 1.8rem; }
.auth-form .tabs { width: 100%; margin: 8px 0 24px; }
.auth-form .tabs button { flex: 1; }
.auth-form .field { margin-bottom: 16px; }
@media (max-width: 820px) { .auth-card { grid-template-columns: 1fr; } .auth-side { min-height: 220px; padding: 28px; } .auth-side img.logo { width: 64px; height: 64px; } }

/* ---------- Footer ---------- */
.footer { margin-top: 64px; background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #e4d6bd; padding-top: 64px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange-600), var(--orange), #ffb15c, var(--orange)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: #e4d6bd; display: flex; align-items: center; gap: 8px; padding: 4px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer p { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-size: .93rem; }
.footer p .ic { margin-top: 4px; color: var(--gold); }
.footer-logos { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-logos img { width: 56px; height: 56px; }
.footer-name { font: 900 1.15rem/1.2 var(--font-head); color: #fff; display: block; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Tables (shared) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
/* Data table design (user, 2026-11-21): a header in clear contrast (navy, white text), zebra stripes so the eye keeps
   its row, a hover color that stands out from the stripes, and subtext (small / muted) set apart from the main text.
   The portal adds sorting, paging, density and columns in app.js. */
:root { --tbl-head: var(--navy-700); --tbl-head-line: var(--navy-900); --tbl-stripe: #f8efdf; --tbl-hover: #e9eef9; }
.table th { text-align: left; font: 800 .74rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--sky-25); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table thead th { color: #fff; background: var(--tbl-head); border-bottom: 2px solid var(--tbl-head-line); }
.table thead th a { color: #fff; text-decoration: underline; }
.table thead th small, .table thead th .muted, .table thead th .small { color: rgba(255, 255, 255, .78) !important; }
.table td { padding: 12px 14px; border-bottom: 1px solid #f0e4d0; vertical-align: middle; color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:nth-child(even) { background: var(--tbl-stripe); } /* zebra without script (public pages) */
.table.js-striped tbody tr:nth-child(even) { background: transparent; } /* the portal script stripes only the rows shown */
.table.js-striped tbody tr.is-alt { background: var(--tbl-stripe); }
.table tbody tr:hover { background: var(--tbl-hover); }
.table td small, .table td .small, .table td .muted, .table td .hint { color: var(--muted); }
.table td small { font-size: .78rem; }
.table td strong { color: var(--navy-900); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(.94); }
/* Phones: blocks slide up instead of sideways, so nothing sticks out past the screen edge before it appears
   (older phone browsers could otherwise drag the page sideways) */
@media (max-width: 820px) { [data-reveal="left"], [data-reveal="right"] { transform: translateY(28px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .footer, .no-print { display: none !important; }
  body { background: #fff; }
  /* printers skip background colors: a navy header would print as white text on white */
  .table thead th { color: #000 !important; background: #fff !important; border-bottom: 2px solid #000; }
  .table tbody tr, .table tbody tr.is-alt { background: none !important; }
}

/* Request form: the two first choices (owner / representative) and the check-box groups */
.dr-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .dr-choice { grid-template-columns: 1fr; } }
.dr-pick { position: relative; cursor: pointer; }
.dr-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dr-pick span { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 18px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.dr-pick span svg { width: 28px; height: 28px; color: var(--blue-700, #1846c2); }
.dr-pick span strong { font-size: 1.02rem; }
.dr-pick span small { color: var(--muted); }
.dr-pick input:checked + span { border-color: var(--blue-700, #1846c2); background: var(--sky-50, #eef5ff); box-shadow: 0 0 0 3px rgba(24, 70, 194, .12); }
.dr-pick input:focus-visible + span { outline: 3px solid var(--gold-600, #d99700); outline-offset: 2px; }
.dr-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
@media (max-width: 640px) { .dr-checks { grid-template-columns: 1fr; } }

/* ---------- Skeleton loading screen (skeleton_screen() in app/views/partials.php, main.js) ----------
   Grey blocks in the shape of a page while it loads: over the page area while a slow connection is still bringing the
   page in (html.sk-booting), and over the old page while the next one loads after a click (.is-on, fixed in place).
   It fades in after .35s, so a fast connection never sees it. */
#main { position: relative; }
.sk-screen { display: none; }
html.sk-booting .sk-screen, .sk-screen.is-on {
  display: block; position: absolute; inset: 0; z-index: 35; min-height: 70vh; overflow: hidden;
  background: linear-gradient(180deg, var(--page), #f8efdf); animation: sk-in .25s ease .35s both;
}
.sk-screen.is-on { position: fixed; bottom: 0; right: 0; } /* top, left and width follow the page area (main.js) */
body.app .sk-screen { padding: clamp(16px, 3vw, 32px); }
body.site .sk-screen { padding: 28px 0; }
@keyframes sk-in { from { opacity: 0; } to { opacity: 1; } }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, #ead9bd 25%, #f8efe0 50%, #ead9bd 75%); background-size: 200% 100%; animation: sk-shine 1.3s linear infinite; }
@keyframes sk-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.sk-note { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--navy-800); font: 600 .85rem var(--font-body); box-shadow: var(--shadow-sm); }
.sk-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--cream-200); border-top-color: var(--orange-600); animation: sk-turn .8s linear infinite; }
@keyframes sk-turn { to { transform: rotate(360deg); } }
.sk-line { height: 12px; margin: 0 0 10px; }
.sk-line.sm { height: 9px; }
.sk-line.lg { height: 18px; }
.sk.w10 { width: 10%; } .sk.w12 { width: 12%; } .sk.w26 { width: 26%; } .sk.w28 { width: 28%; } .sk.w30 { width: 30%; } .sk.w34 { width: 34%; } .sk.w36 { width: 36%; }
.sk.w40 { width: 40%; } .sk.w44 { width: 44%; } .sk.w46 { width: 46%; } .sk.w50 { width: 50%; } .sk.w70 { width: 70%; } .sk.w80 { width: 80%; } .sk.w90 { width: 90%; }
.sk-screen .sk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 22px; }
@media (max-width: 640px) { .sk-tile:nth-child(n+3) { display: none; } } /* a phone: two tiles, so the table shows too */
.sk-tile { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sk-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; }
.sk-grow { flex: 1; }
.sk-grow .sk-line:last-child { margin-bottom: 0; }
.sk-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 8px; }
.sk-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sk-panel-head .sk-line { margin: 0; }
.sk-btn { width: 110px; height: 32px; border-radius: 99px; }
.sk-row { display: flex; gap: 3%; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); overflow: hidden; }
.sk-c { height: 11px; flex: none; }
.sk-hero { height: clamp(160px, 28vw, 300px); border-radius: var(--radius); margin-bottom: 26px; }
.sk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 14px; }
.sk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 6px; }
.sk-img { height: 150px; border-radius: 12px; margin-bottom: 14px; }
/* Thin bar across the top while the next page loads */
.sk-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--orange-600), var(--orange)); box-shadow: 0 0 8px rgba(242, 140, 40, .6); animation: sk-bar 9s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes sk-bar { 0% { width: 0; } 12% { width: 35%; } 100% { width: 92%; } }
@media print { .sk-screen, .sk-bar { display: none !important; } }
