/* =========================================================
   Shree Shivaji Junior College of Education
   Design system: "The Founding Charter"
   Navy / brass-gold / brick-maroon on stone paper.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Public+Sans:wght@400;500;600;700&family=Kite+One&family=Roboto:ital,wght@0,400;0,700;1,700&display=swap');

:root {
  /* Color tokens */
  --ink:         #1B2A4A;   /* primary navy */
  --ink-deep:    #121D33;   /* darker navy for depth */
  --maroon:      #7A2E22;   /* brick maroon */
  --gold:        #B8893E;   /* brass gold accent */
  --gold-light:  #D9B873;   /* lighter gold for hovers */
  --paper:       #F4F2EA;   /* stone paper background */
  --surface:     #FFFFFF;   /* card surface */
  --text:        #211F1A;   /* warm charcoal */
  --muted:       #6B6457;   /* muted warm grey */
  --line:        #DCD5C2;   /* hairline on paper */
  --line-on-ink: rgba(217, 184, 115, 0.35);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Eyebrow / label utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Corner-frame signature device ---------- */
.corner-frame {
  position: relative;
}
.corner-frame::before,
.corner-frame::after,
.corner-frame .corner-tl,
.corner-frame .corner-tr,
.corner-frame .corner-bl,
.corner-frame .corner-br { content: none; }

.corner-frame > .corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
  opacity: 0.85;
}
.corner-frame > .corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.corner-frame > .corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.corner-frame > .corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.corner-frame > .corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  padding: 2px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-text .society {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
}
.brand-text .college-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* Primary nav */
.primary-nav { display: flex; }
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current > a,
.primary-nav > ul > li > a[aria-current="page"] {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}
.has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  position: relative;
  top: -2px;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(27,42,74,0.12);
  padding: 6px 0;
}
.has-children:hover .sub-menu,
.has-children:focus-within .sub-menu { display: block; }
.sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.sub-menu li a:hover { background: var(--paper); color: var(--maroon); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.icon-btn:hover { border-color: var(--gold); color: var(--maroon); }
.menu-toggle { display: none; }

.search-panel {
  display: none;
  position: absolute;
  right: 24px;
  top: 100%;
  margin-top: 1px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(27,42,74,0.12);
  padding: 14px;
  width: 280px;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input[type="text"] {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14px;
}
.search-panel button {
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.search-panel button:hover { background: var(--maroon); }

/* Mobile nav */
@media (max-width: 960px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    max-height: 80vh;
    overflow-y: auto;
  }
  .primary-nav.open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li > a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }
  .primary-nav > ul > li.current > a { border-left-color: var(--gold); }
  .sub-menu {
    position: static; box-shadow: none; border: none;
    background: var(--paper); display: none; padding: 0;
  }
  .has-children.open .sub-menu { display: block; }
  .sub-menu li a { padding-left: 40px; }
  .menu-toggle { display: inline-flex; }
}

/* =========================================================
   HERO — "The Founding Charter"
   ========================================================= */
.charter-hero {
  background: var(--ink);
  background-image:
    repeating-linear-gradient(135deg, rgba(217,184,115,0.045) 0px, rgba(217,184,115,0.045) 1px, transparent 1px, transparent 26px);
  position: relative;
  padding: 90px 24px 70px;
  overflow: hidden;
}
.charter-hero::before {
  /* inner gold frame */
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--line-on-ink);
  pointer-events: none;
}
.charter-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero-media {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
}
.hero-media img {
  margin-left:35px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--gold);
  padding: 8px;
  background: var(--ink-deep);
}
@media (max-width: 1180px) {
  .hero-media { display: none; }
}
.charter-hero .eyebrow {
  justify-content: center;
  color: var(--gold-light);
}
.charter-hero .eyebrow::before { background: var(--gold-light); }
.charter-hero h1 {
  color: #FBF8F1;
  font-size: clamp(32px, 5vw, 50px);
  margin-top: 18px;
  margin-bottom: 18px;
}
.charter-hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 2.2vw, 21px);
  color: rgba(251,248,241,0.82);
  max-width: 540px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink-deep);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  border-color: rgba(251,248,241,0.4);
  color: #FBF8F1;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* =========================================================
   LEDGER STRIP — real stats as a balance-sheet row
   ========================================================= */
.ledger-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ledger-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ledger-item {
  padding: 28px 18px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.ledger-item:first-child { border-left: none; }
.ledger-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--maroon);
  display: block;
}
.ledger-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}
@media (max-width: 720px) {
  .ledger-row { grid-template-columns: repeat(2, 1fr); }
  .ledger-item:nth-child(3) { border-left: none; }
  .ledger-item:nth-child(3), .ledger-item:nth-child(4) { border-top: 1px solid var(--line); }
}

/* =========================================================
   SECTION shared spacing
   ========================================================= */
.section { padding: 84px 24px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--maroon); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); }

/* =========================================================
   ABOUT — narrative with founder panel
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { color: var(--text); font-size: 16px; }
.about-copy p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 600;
  color: var(--maroon);
  float: left;
  line-height: 0.8;
  padding: 6px 8px 0 0;
}
.about-copy strong { color: var(--ink); }

.founder-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  text-align: center;
}
.founder-frame {
  border: 1px solid var(--gold);
  padding: 10px;
  margin-bottom: 18px;
}
.founder-frame .img-slot {
  aspect-ratio: 3 / 4;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.founder-panel .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.founder-panel .role {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}
.founder-panel .years {
  font-size: 13px;
  color: var(--maroon);
  margin-top: 10px;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .founder-panel { max-width: 320px; }
}

/* =========================================================
   MANIFESTO — Vision & Mission
   ========================================================= */
.manifesto {
  background: var(--ink);
  padding: 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.manifesto-panel {
  padding: 64px 48px;
  border-left: 1px solid var(--line-on-ink);
}
.manifesto-panel:first-child { border-left: none; }
.manifesto-panel .eyebrow { color: var(--gold-light); margin-bottom: 18px; }
.manifesto-panel .eyebrow::before { background: var(--gold-light); }
.manifesto-panel p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.5;
  color: #F4F1E8;
}
@media (max-width: 820px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-panel { border-left: none; border-top: 1px solid var(--line-on-ink); padding: 48px 28px; }
  .manifesto-panel:first-child { border-top: none; }
}

/* =========================================================
   OBJECTIVES — "Articles of the Charter"
   ========================================================= */
.objectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.objective {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.objectives-grid .objective:nth-child(1),
.objectives-grid .objective:nth-child(2) { border-top: none; }
.objective-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 30px; height: 30px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
}
.objective p { margin: 0; font-size: 15px; color: var(--text); padding-top: 3px; }
@media (max-width: 720px) {
  .objectives-grid { grid-template-columns: 1fr; }
  .objectives-grid .objective:nth-child(2) { border-top: 1px solid var(--line); }
}

/* =========================================================
   EXPLORE — catalog-card quick links
   ========================================================= */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.explore-card {
  background: var(--surface);
  padding: 32px 28px;
  position: relative;
  transition: background .15s ease;
}
.explore-card:hover { background: var(--paper); }
.explore-card .cat-no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.explore-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.explore-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.explore-card .go {
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.explore-card .go::after { content: "→"; transition: transform .15s ease; }
.explore-card:hover .go::after { transform: translateX(3px); }
@media (max-width: 880px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .explore-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SHOWCASE — two-image campus glimpse
   ========================================================= */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.showcase-frame {
  margin: 0;
  border: 1px solid var(--gold);
  padding: 10px;
  background: var(--surface);
}
.showcase-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.showcase-frame figcaption {
  margin-top: 12px;
  padding-bottom: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-align: center;
}
@media (max-width: 720px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-frame img { height: 240px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink-deep);
  color: rgba(244,241,232,0.85);
}
.footer-main {
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.footer-about .college-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: #FBF8F1;
  margin-bottom: 10px;
}
.footer-about p { font-size: 14px; color: rgba(244,241,232,0.65); max-width: 380px; }
.footer-find-us h4 {
  color: #FBF8F1;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-find-us address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244,241,232,0.8);
  margin-bottom: 14px;
}
.footer-find-us a {
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
}
.footer-find-us a:hover { border-bottom-color: var(--gold-light); }
.footer-find-us .contact-line { font-size: 14.5px; color: rgba(244,241,232,0.8); margin-bottom: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(217,184,115,0.15);
  padding: 18px 24px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(244,241,232,0.55);
}
.powered-by a { color: rgba(244,241,232,0.75); font-weight: 600; }
.powered-by a:hover { color: var(--gold-light); }

/* Innoway brand lockup — restored to match original site treatment */
.innoway-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  vertical-align: middle;
}
.innoway-logo .mark {
  background: #000;
  padding: 3px 5px;
  display: inline-flex;
  line-height: 1;
}
.innoway-logo .mark span {
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}
.innoway-logo .mark .accent { color: #F99108; font-family: 'Kite One', sans-serif; }
.innoway-logo .mark .base { color: #FFF; font-family: 'Roboto', sans-serif; }
.innoway-logo .suffix {
  color: #F99108;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 12px;
}

@media (max-width: 720px) {
  .footer-main { grid-template-columns: 1fr; }
}

/* ---------- Scroll to top ---------- */
.scroll-up {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 42px; height: 42px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  border: 1px solid var(--gold);
  z-index: 90;
}
.scroll-up.visible { opacity: 1; pointer-events: auto; }
.scroll-up:hover { background: var(--maroon); }

/* ---------- Inner-page title banner (non-home pages) ---------- */
.page-title-banner {
  background: var(--ink);
  padding: 46px 24px;
  text-align: center;
}
.page-title-banner h1 {
  color: #FBF8F1;
  font-size: clamp(26px, 4vw, 36px);
}
/* =========================================================
   CONTENT PAGES — info articles (Other Information section, etc.)
   ========================================================= */
.content-page {
  padding: 64px 24px 90px;
}
.content-page .container { max-width: 880px; }
.content-block + .content-block { margin-top: 40px; }
.content-block h3 {
  font-size: 18px;
  color: var(--maroon);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.content-page p {
  font-size: 15.5px;
  color: var(--text);
}
.content-page strong { color: var(--ink); }

.fact-list {
  margin: 0 0 1em;
  padding: 0;
}
.fact-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.fact-list li:first-child { border-top: none; }
.fact-list li span:first-child { color: var(--muted); }
.fact-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.doc-list, .content-page ol {
  margin: 0 0 1em;
  padding-left: 22px;
}
.doc-list li, .content-page ol li {
  font-size: 15px;
  color: var(--text);
  padding: 4px 0;
}

.info-table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
.info-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  caption-side: top;
}
.info-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--ink);
}
.info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table a { color: var(--maroon); border-bottom: 1px solid transparent; }
.info-table a:hover { border-bottom-color: var(--maroon); }
/* =========================================================
   CONTENT PAGES — info articles (Other Information section, etc.)
   ========================================================= */
.content-page {
  padding: 64px 24px 90px;
}
.content-page .container { max-width: 880px; }
.content-block + .content-block { margin-top: 40px; }
.content-block h3 {
  font-size: 18px;
  color: var(--maroon);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.content-page p {
  font-size: 15.5px;
  color: var(--text);
}
.content-page strong { color: var(--ink); }

.fact-list {
  margin: 0 0 1em;
  padding: 0;
}
.fact-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.fact-list li:first-child { border-top: none; }
.fact-list li span:first-child { color: var(--muted); }
.fact-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.doc-list, .content-page ol {
  margin: 0 0 1em;
  padding-left: 22px;
}
.doc-list li, .content-page ol li {
  font-size: 15px;
  color: var(--text);
  padding: 4px 0;
}

.info-table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
.info-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  caption-side: top;
}
.info-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--ink);
}
.info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table a { color: var(--maroon); border-bottom: 1px solid transparent; }
.info-table a:hover { border-bottom-color: var(--maroon); }

/* =========================================================
   PAGE LAYOUT — content + sidebar (Gallery, Videos, etc.)
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding: 64px 24px 90px;
}
.page-layout .container { max-width: 1140px; margin: 0 auto; display: contents; }
@media (max-width: 880px) {
  .page-layout { grid-template-columns: 1fr; }
}

.sidebar-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
}
.sidebar-panel h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sidebar-panel address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.sidebar-panel .contact-line { font-size: 14.5px; color: var(--text); margin-bottom: 4px; }
.sidebar-panel a { color: var(--maroon); border-bottom: 1px solid transparent; }
.sidebar-panel a:hover { border-bottom-color: var(--maroon); }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-item .cap {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: rgba(18,29,51,0.78);
  color: #FBF8F1;
  font-size: 12px;
  padding: 8px 10px;
  opacity: 0;
  transition: opacity .15s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,29,51,0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  border: 1px solid var(--gold);
  background: var(--ink-deep);
}
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
  color: #FBF8F1;
  font-family: var(--font-display);
  font-size: 15px;
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  color: #FBF8F1;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(251,248,241,0.4);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #FBF8F1;
  font-size: 30px;
  cursor: pointer;
  border: 1px solid rgba(251,248,241,0.4);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =========================================================
   VIDEO GRID
   ========================================================= */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card { background: var(--surface); border: 1px solid var(--line); padding: 12px; }
.video-card .ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--ink-deep);
}
.video-card .ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card .video-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 4px 4px;
}
.video-card .video-note {
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 4px 4px;
}
/* =========================================================
   CONTENT PAGES — info articles (Other Information section, etc.)
   ========================================================= */
.content-page {
  padding: 64px 24px 90px;
}
.content-page .container { max-width: 880px; }
.content-block + .content-block { margin-top: 40px; }
.content-block h3 {
  font-size: 18px;
  color: var(--maroon);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.content-page p {
  font-size: 15.5px;
  color: var(--text);
}
.content-page strong { color: var(--ink); }

.fact-list {
  margin: 0 0 1em;
  padding: 0;
}
.fact-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.fact-list li:first-child { border-top: none; }
.fact-list li span:first-child { color: var(--muted); }
.fact-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.doc-list, .content-page ol {
  margin: 0 0 1em;
  padding-left: 22px;
}
.doc-list li, .content-page ol li {
  font-size: 15px;
  color: var(--text);
  padding: 4px 0;
}

.info-table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
.info-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  caption-side: top;
}
.info-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--ink);
}
.info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table a { color: var(--maroon); border-bottom: 1px solid transparent; }
.info-table a:hover { border-bottom-color: var(--maroon); }

/* =========================================================
   PAGE LAYOUT — content + sidebar (Gallery, Videos, etc.)
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding: 64px 24px 90px;
}
.page-layout .container { max-width: 1140px; margin: 0 auto; display: contents; }
@media (max-width: 880px) {
  .page-layout { grid-template-columns: 1fr; }
}

.sidebar-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
}
.sidebar-panel h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sidebar-panel address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.sidebar-panel .contact-line { font-size: 14.5px; color: var(--text); margin-bottom: 4px; }
.sidebar-panel a { color: var(--maroon); border-bottom: 1px solid transparent; }
.sidebar-panel a:hover { border-bottom-color: var(--maroon); }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-item .cap {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: rgba(18,29,51,0.78);
  color: #FBF8F1;
  font-size: 12px;
  padding: 8px 10px;
  opacity: 0;
  transition: opacity .15s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,29,51,0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  border: 1px solid var(--gold);
  background: var(--ink-deep);
}
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
  color: #FBF8F1;
  font-family: var(--font-display);
  font-size: 15px;
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  color: #FBF8F1;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(251,248,241,0.4);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #FBF8F1;
  font-size: 30px;
  cursor: pointer;
  border: 1px solid rgba(251,248,241,0.4);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =========================================================
   VIDEO GRID
   ========================================================= */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card { background: var(--surface); border: 1px solid var(--line); padding: 12px; }
.video-card .ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--ink-deep);
}
.video-card .ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card .video-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 4px 4px;
}
.video-card .video-note {
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 4px 4px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding: 64px 24px 90px;
}
.contact-layout .container { max-width: 1140px; margin: 0 auto; display: contents; }
@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.map-frame {
  border: 1px solid var(--gold);
  padding: 8px;
  background: var(--surface);
  margin-bottom: 28px;
}
.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--surface);
  padding: 26px 28px;
}
.contact-card .eyebrow { color: var(--maroon); margin-bottom: 10px; }
.contact-card .phone {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.contact-card .phone a { color: inherit; }
.contact-card .phone a:hover { color: var(--maroon); }
/* =========================================================
   CONTENT PAGES — info articles (Other Information section, etc.)
   ========================================================= */
.content-page {
  padding: 64px 24px 90px;
}
.content-page .container { max-width: 880px; }
.content-block + .content-block { margin-top: 40px; }
.content-block h3 {
  font-size: 18px;
  color: var(--maroon);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.content-page p {
  font-size: 15.5px;
  color: var(--text);
}
.content-page strong { color: var(--ink); }

.fact-list {
  margin: 0 0 1em;
  padding: 0;
}
.fact-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.fact-list li:first-child { border-top: none; }
.fact-list li span:first-child { color: var(--muted); }
.fact-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.doc-list, .content-page ol {
  margin: 0 0 1em;
  padding-left: 22px;
}
.doc-list li, .content-page ol li {
  font-size: 15px;
  color: var(--text);
  padding: 4px 0;
}

.info-table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
.info-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  caption-side: top;
}
.info-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--ink);
}
.info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table a { color: var(--maroon); border-bottom: 1px solid transparent; }
.info-table a:hover { border-bottom-color: var(--maroon); }

/* =========================================================
   PAGE LAYOUT — content + sidebar (Gallery, Videos, etc.)
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding: 64px 24px 90px;
}
.page-layout .container { max-width: 1140px; margin: 0 auto; display: contents; }
@media (max-width: 880px) {
  .page-layout { grid-template-columns: 1fr; }
}

.sidebar-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
}
.sidebar-panel h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sidebar-panel address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.sidebar-panel .contact-line { font-size: 14.5px; color: var(--text); margin-bottom: 4px; }
.sidebar-panel a { color: var(--maroon); border-bottom: 1px solid transparent; }
.sidebar-panel a:hover { border-bottom-color: var(--maroon); }

/* =========================================================
   GALLERY GRID
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-item .cap {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: rgba(18,29,51,0.78);
  color: #FBF8F1;
  font-size: 12px;
  padding: 8px 10px;
  opacity: 0;
  transition: opacity .15s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,29,51,0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  border: 1px solid var(--gold);
  background: var(--ink-deep);
}
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
  color: #FBF8F1;
  font-family: var(--font-display);
  font-size: 15px;
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 28px;
  color: #FBF8F1;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(251,248,241,0.4);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #FBF8F1;
  font-size: 30px;
  cursor: pointer;
  border: 1px solid rgba(251,248,241,0.4);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =========================================================
   VIDEO GRID
   ========================================================= */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card { background: var(--surface); border: 1px solid var(--line); padding: 12px; }
.video-card .ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--ink-deep);
}
.video-card .ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card .video-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 4px 4px;
}
.video-card .video-note {
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 4px 4px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding: 64px 24px 90px;
}
.contact-layout .container { max-width: 1140px; margin: 0 auto; display: contents; }
@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.map-frame {
  border: 1px solid var(--gold);
  padding: 8px;
  background: var(--surface);
  margin-bottom: 28px;
}
.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--surface);
  padding: 26px 28px;
}
.contact-card .eyebrow { color: var(--maroon); margin-bottom: 10px; }
.contact-card .phone {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.contact-card .phone a { color: inherit; }
.contact-card .phone a:hover { color: var(--maroon); }

/* =========================================================
   POST META — author / date / category line for news-style pages
   ========================================================= */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.post-meta a { color: var(--maroon); }
.post-meta a:hover { text-decoration: underline; }
.post-meta .dot { color: var(--line); }
.post-meta .tag {
  border: 1px solid var(--gold);
  color: var(--maroon);
  padding: 3px 10px;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.numbered-list {
  margin: 0;
  padding: 0;
  counter-reset: facility-count;
}
.numbered-list li {
  list-style: none;
  counter-increment: facility-count;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.numbered-list li:first-child { border-top: none; }
.numbered-list li::before {
  content: counter(facility-count, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 32px; height: 32px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
}
.numbered-list li span {
  padding-top: 5px;
  font-size: 15.5px;
  color: var(--text);
}