/* ==========================================================================
   GB Memorial Public School -- tenant theme (folder: gbmps)

   Built on Bootstrap 5.3 (vendored under ../vendor). Structure follows the
   reference site's information architecture; the visual design is our own.

   BRANDING: every colour below derives from the five --brand* / --accent
   tokens. When the school supplies its logo, sample its colours and change
   only those lines.
   ========================================================================== */

:root {
  --brand:        #16365f;   /* primary -- deep navy (placeholder until logo)  */
  --brand-dark:   #0e2442;
  --brand-soft:   #e9eef6;
  --accent:       #c8102e;   /* secondary -- crimson                          */
  --gold:         #f2b632;   /* highlight                                     */

  --ink:          #1d2635;
  --muted:        #5d6b7e;
  --line:         #e3e8ef;
  --bg-soft:      #f6f8fb;
  --white:        #ffffff;

  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 10px 30px rgba(14, 36, 66, .10);
  --shadow-lg:    0 18px 48px rgba(14, 36, 66, .16);

  --font-head:    'Merriweather', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h:     84px;
}

/* ---------------------------------------------------------------- base -- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--brand-dark); line-height: 1.3; font-weight: 700; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--gold); color: var(--ink); padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-brand { background: var(--brand); color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--gold); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.section-head.text-start { margin-left: 0; text-align: left; }
.section-head.text-start .eyebrow::after { display: none; }

.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #a00d25; --bs-btn-hover-border-color: #a00d25;
  --bs-btn-active-bg: #8a0b20; --bs-btn-active-border-color: #8a0b20;
  font-weight: 600; padding: 12px 28px; border-radius: 50px;
}
.btn-outline-light-soft {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.7);
  --bs-btn-hover-color: var(--brand-dark); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  font-weight: 600; padding: 12px 28px; border-radius: 50px;
}
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ------------------------------------------------------------- top bar -- */
.topbar { background: var(--brand-dark); color: rgba(255,255,255,.82); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold); }
.topbar .contact-list, .topbar .quick-list { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.topbar i { color: var(--gold); margin-right: 6px; }
.topbar .social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.topbar .social a:hover { background: rgba(255,255,255,.1); }
.topbar .social i { margin: 0; color: inherit; }

/* -------------------------------------------------------------- header -- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(14,36,66,.12); }
.site-header .navbar { min-height: var(--header-h); padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--brand-dark); }
.brand:hover { color: var(--brand-dark); }
.brand img { height: 62px; width: auto; }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.15; display: block; }
.brand .brand-tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.site-header .nav-link {
  font-weight: 600; font-size: 15px; color: var(--ink); padding: 10px 14px !important; position: relative;
  white-space: nowrap;
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* ten top-level items plus the brand: tighten so nothing wraps */
  .site-header .nav-link { font-size: 14px; padding: 10px 9px !important; }
  .site-header .nav-link::after { left: 9px; right: 9px; }
  .brand .brand-name { font-size: 18px; }
}
.site-header .nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-toggle::after { display: none; }
.site-header .dropdown-toggle .bi { font-size: 11px; margin-left: 2px; transition: transform .2s; }
.site-header .dropdown-menu {
  border: 0; border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px 0; min-width: 230px; margin-top: 0;
}
.site-header .dropdown-item { font-size: 14.5px; padding: 9px 22px; color: var(--ink); font-weight: 500; }
.site-header .dropdown-item:hover, .site-header .dropdown-item.active { background: var(--brand-soft); color: var(--brand); }
.site-header .navbar-toggler { border: 0; font-size: 30px; color: var(--brand); padding: 4px 8px; }
.site-header .navbar-toggler:focus { box-shadow: none; }

@media (min-width: 1200px) {
  /* hover-open dropdowns on desktop; click still works for keyboard users */
  .site-header .dropdown:hover > .dropdown-menu { display: block; }
  .site-header .dropdown:hover .dropdown-toggle .bi { transform: rotate(180deg); }
}
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px 0 16px; border-top: 1px solid var(--line); margin-top: 10px; }
  .site-header .nav-link::after { display: none; }
  .site-header .dropdown-menu { box-shadow: none; border-top: 0; border-left: 3px solid var(--accent); border-radius: 0; margin-left: 14px; }
}
@media (max-width: 575.98px) {
  .brand img { height: 48px; }
  .brand .brand-name { font-size: 16px; }
  .brand .brand-tag { font-size: 10.5px; }
}

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; background: var(--brand-dark); }
.hero .carousel-item { height: clamp(420px, 78vh, 760px); }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,26,48,.86) 0%, rgba(10,26,48,.55) 45%, rgba(10,26,48,.10) 100%);
}
.hero .hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero .hero-caption .inner { max-width: 640px; color: #fff; }
.hero .hero-caption .kicker {
  display: inline-block; background: var(--gold); color: var(--brand-dark); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}
.hero .hero-caption h1 { color: #fff; font-size: clamp(30px, 4.6vw, 56px); margin-bottom: 16px; }
.hero .hero-caption p { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero .carousel-item.active .hero-caption .inner > * { animation: heroIn .9s both; }
.hero .carousel-item.active .hero-caption .inner > *:nth-child(2) { animation-delay: .12s; }
.hero .carousel-item.active .hero-caption .inner > *:nth-child(3) { animation-delay: .24s; }
.hero .carousel-item.active .hero-caption .inner > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .carousel-indicators { margin-bottom: 28px; z-index: 3; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 4px; border: 0; opacity: .5; }
.hero .carousel-indicators .active { opacity: 1; background: var(--gold); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; z-index: 3; }

/* --------------------------------------------------------- notice ticker -- */
.ticker { background: var(--accent); color: #fff; overflow: hidden; }
.ticker .container { display: flex; align-items: stretch; min-height: 52px; }
.ticker .label {
  flex: none; display: flex; align-items: center; gap: 8px; background: var(--brand-dark);
  padding: 0 22px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
}
.ticker .label i { color: var(--gold); }
.ticker .track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .track ul { display: flex; gap: 56px; list-style: none; margin: 0; padding: 0 0 0 100%; white-space: nowrap; animation: tick 32s linear infinite; }
.ticker .track:hover ul { animation-play-state: paused; }
.ticker .track a { color: #fff; font-weight: 500; }
.ticker .track a:hover { text-decoration: underline; }
.ticker .track .date { opacity: .75; margin-right: 8px; font-size: 13px; }
@keyframes tick { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker .track ul { animation: none; padding-left: 16px; }
  .hero .carousel-item.active .hero-caption .inner > * { animation: none; }
}

/* ------------------------------------------------- welcome + notice board -- */
.welcome .img-wrap { position: relative; padding: 0 0 28px 28px; }
.welcome .img-wrap::before {
  content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%;
  background: var(--gold); border-radius: var(--radius); z-index: 0;
}
.welcome .img-wrap img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.welcome .lead-text { color: var(--muted); }
.welcome .lead-text p:last-child { margin-bottom: 0; }

.notice-board { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.notice-board .nb-head { background: var(--brand); color: #fff; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.notice-board .nb-head h3 { color: #fff; font-size: 19px; margin: 0; display: flex; gap: 10px; align-items: center; }
.notice-board .nb-head h3 i { color: var(--gold); }
.notice-board .nb-head a { color: var(--gold); font-size: 14px; font-weight: 600; }
.notice-board .nb-body { padding: 8px 24px; max-height: 420px; overflow-y: auto; flex: 1; }
.notice-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.notice-item:last-child { border-bottom: 0; }
.notice-item .date-badge {
  flex: none; width: 58px; text-align: center; background: var(--brand-soft); color: var(--brand);
  border-radius: var(--radius-sm); padding: 6px 0; line-height: 1.1;
}
.notice-item .date-badge b { display: block; font-size: 22px; font-family: var(--font-head); }
.notice-item .date-badge small { font-size: 11.5px; text-transform: uppercase; font-weight: 600; letter-spacing: .05em; }
.notice-item h4 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; margin: 2px 0 4px; color: var(--ink); }
.notice-item p { font-size: 14px; color: var(--muted); margin: 0; }
.notice-item .file-link { font-size: 13px; font-weight: 600; }
.empty-note { color: var(--muted); font-style: italic; padding: 24px 0; text-align: center; }

/* ------------------------------------------------------------ highlights -- */
.highlight-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 40px 32px 34px; height: 100%;
  box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.highlight-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.highlight-card .icon {
  width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-size: 30px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px; transition: background .3s, color .3s;
}
.highlight-card:hover .icon { background: var(--brand); color: var(--gold); }
.highlight-card h3 { font-size: 22px; margin-bottom: 12px; }
.highlight-card p { color: var(--muted); flex: 1; }

/* -------------------------------------------------------------- counters -- */
.counters-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; position: relative; overflow: hidden; }
.counters-band::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.04);
}
.counter-item { text-align: center; padding: 10px; }
.counter-item .num { font-family: var(--font-head); font-size: clamp(36px, 4vw, 50px); font-weight: 700; color: var(--gold); line-height: 1; }
.counter-item .ttl { font-weight: 600; font-size: 17px; margin-top: 10px; }
.counter-item .desc { color: rgba(255,255,255,.7); font-size: 14px; margin: 4px 0 0; }

/* ------------------------------------------------------------ facilities -- */
.facility-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.facility-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-soft); }
.facility-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.facility-card:hover .thumb img { transform: scale(1.06); }
.facility-card .body { padding: 24px 26px 28px; flex: 1; }
.facility-card h3 { font-size: 20px; margin-bottom: 8px; }
.facility-card .body > div, .facility-card .body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------------------------------------------------------------- events -- */
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.event-card .thumb { position: relative; aspect-ratio: 16 / 10; background: var(--brand-soft); overflow: hidden; }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-card .date-chip {
  position: absolute; left: 16px; top: 16px; background: var(--accent); color: #fff; border-radius: var(--radius-sm);
  text-align: center; padding: 6px 12px; line-height: 1.1; box-shadow: var(--shadow);
}
.event-card .date-chip b { display: block; font-size: 22px; font-family: var(--font-head); }
.event-card .date-chip small { font-size: 11.5px; text-transform: uppercase; font-weight: 600; }
.event-card .body { padding: 22px 24px 26px; flex: 1; }
.event-card .meta { font-size: 13.5px; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.event-card h3 { font-size: 19px; margin-bottom: 8px; }
.event-card .body > div { color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------- gallery -- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid.small { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767.98px) { .gallery-grid.small { grid-template-columns: repeat(2, 1fr); } }
.gallery-tile { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-soft); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-tile::after {
  content: '\F62C'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 28px; color: #fff; background: rgba(14,36,66,.55); opacity: 0; transition: opacity .3s;
}
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile:hover::after, .gallery-tile:focus-visible::after { opacity: 1; }
.gallery-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 14px 10px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6,14,26,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; display: grid; place-items: center; }
.lightbox button:hover { background: var(--accent); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ----------------------------------------------------- leadership / staff -- */
.leader-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; height: 100%; }
.leader-card .photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 5px solid var(--brand-soft); }
.leader-card .name { font-size: 20px; margin: 16px 0 2px; }
.leader-card .role { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.leader-card .msg { color: var(--muted); margin-top: 16px; position: relative; }
.leader-card .msg::before { content: '\201C'; font-family: var(--font-head); font-size: 70px; line-height: 0; color: var(--gold); position: relative; top: 26px; margin-right: 4px; }

.staff-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; height: 100%; transition: transform .3s; }
.staff-card:hover { transform: translateY(-5px); }
.staff-card .photo { aspect-ratio: 1 / 1; background: var(--brand-soft); overflow: hidden; }
.staff-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.staff-card .body { padding: 18px 16px 22px; }
.staff-card h3 { font-size: 18px; margin: 0 0 4px; }
.staff-card .subj { color: var(--accent); font-weight: 600; font-size: 14px; }
.staff-card .exp { color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- docs -- */
.doc-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.doc-list li:nth-child(even) { background: var(--bg-soft); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list .name { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.doc-list .name i { color: var(--accent); font-size: 20px; }

/* ------------------------------------------------------------- contact -- */
.contact-info-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 40px 34px; height: 100%; }
.contact-info-card h3 { color: #fff; font-size: 24px; }
.contact-info-card .row-item { display: flex; gap: 16px; margin-top: 24px; }
.contact-info-card .row-item i { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--gold); font-size: 19px; }
.contact-info-card .row-item small { display: block; color: rgba(255,255,255,.65); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.contact-info-card a { color: #fff; }
.contact-info-card a:hover { color: var(--gold); }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 36px; }
.form-card .form-control, .form-card .form-select { border-radius: var(--radius-sm); padding: 12px 16px; border-color: var(--line); background: var(--bg-soft); }
.form-card .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22,54,95,.12); background: #fff; }
.form-card label { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ----------------------------------------------------------- newsletter -- */
.newsletter-band { background: var(--brand-soft); }
.newsletter-band .box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-band h3 { font-size: 24px; margin: 0 0 4px; }
.newsletter-band p { color: var(--muted); margin: 0; }
.newsletter-band form { display: flex; gap: 10px; flex: 1; max-width: 480px; min-width: 260px; }
.newsletter-band input { flex: 1; border-radius: 50px; border: 1px solid var(--line); padding: 12px 22px; }

/* -------------------------------------------------------- admission CTA -- */
.cta-band { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: '\F6FD'; font-family: 'bootstrap-icons'; position: absolute; right: 4%; top: 50%; transform: translateY(-50%) rotate(-12deg);
  font-size: 220px; color: rgba(255,255,255,.07); line-height: 1;
}
.cta-band .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btn-light { font-weight: 700; color: var(--accent); padding: 13px 30px; border-radius: 50px; }

/* ---------------------------------------------------------- page banner -- */
.page-banner { position: relative; background: var(--brand-dark) center / cover no-repeat; padding: 110px 0 80px; color: #fff; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,26,48,.9), rgba(10,26,48,.6)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); margin-bottom: 10px; }
.page-banner .breadcrumb { margin: 0; --bs-breadcrumb-divider-color: rgba(255,255,255,.6); --bs-breadcrumb-item-active-color: var(--gold); }
.page-banner .breadcrumb a { color: rgba(255,255,255,.85); }
.page-banner .breadcrumb a:hover { color: #fff; }

/* -------------------------------------------- prose (custom components) -- */
/* editorJsToHtml() wraps every custom component in these classes. */
.blog_details-area { padding: 72px 0 64px; }
.blog_details-area + .blog_details-area { padding-top: 0; }
.blog_details-area > .container { max-width: 980px; }
.blog_details-area .blog_details-wrap { margin: 0 !important; }
.blog_details-area .blog_details-inner-text { margin: 0 !important; font-size: 17px; line-height: 1.85; color: #3a4658; }
.blog_details-area h2, .blog_details-area h3, .blog_details-area h4 { margin: 40px 0 16px; }
.blog_details-area h2:first-child, .blog_details-area h3:first-child { margin-top: 0; }
.blog_details-area h2 { font-size: clamp(26px, 3vw, 34px); }
.blog_details-area h3 { font-size: 22px; padding-left: 16px; border-left: 4px solid var(--accent); }
.blog_details-area h4 { font-size: 18px; }
.blog_details-area p { margin: 0 0 18px; }
.blog_details-area img { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.blog_details-area .list-group { margin: 0 0 28px; border-radius: var(--radius-sm); }
.blog_details-area .list-group-item { border-color: var(--line); padding: 13px 20px 13px 46px; position: relative; color: #3a4658; }
.blog_details-area ul.list-group .list-group-item::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 18px; top: 13px; color: var(--accent); }
.blog_details-area ol.list-group { counter-reset: li; }
.blog_details-area ol.list-group .list-group-item { counter-increment: li; }
.blog_details-area ol.list-group .list-group-item::before { content: counter(li); position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.blog_details-area table.table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; border-collapse: separate; border-spacing: 0; font-size: 15.5px; margin: 8px 0 28px; }
.blog_details-area table.table td { padding: 13px 18px; border-color: var(--line); vertical-align: middle; }
.blog_details-area table.table tr:first-child td { background: var(--brand); color: #fff; font-weight: 600; }
.blog_details-area table.table tr:nth-child(even) td { background: var(--bg-soft); }
.blog_details-area .blog_details-quote { margin: 30px 0; padding: 28px 32px; background: var(--brand-soft); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.blog_details-area .blog_details-quote p { font-family: var(--font-head); font-size: 19px; font-style: italic; color: var(--brand-dark); margin-bottom: 10px; }
.blog_details-area .blog_details-quote footer { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.blog_details-area .warning { margin: 28px 0; padding: 18px 22px 18px 56px; position: relative; background: #fff8e6; border: 1px solid #f3dd9f; border-radius: var(--radius-sm); color: #6b5212; }
.blog_details-area .warning::before { content: '\F33A'; font-family: 'bootstrap-icons'; position: absolute; left: 20px; top: 17px; font-size: 20px; color: #d49a12; }
.blog_details-area hr { margin: 40px 0; border-color: var(--line); opacity: 1; }
@media (max-width: 767.98px) {
  .blog_details-area { padding: 48px 0 40px; }
  .blog_details-area table.table { font-size: 14px; display: block; overflow-x: auto; }
}

/* ---------------------------------------------------------------- footer -- */
.site-footer { background: #0b1b31; color: rgba(255,255,255,.72); font-size: 15px; }
.site-footer .main { padding: 76px 0 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 17px; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 3px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; }
.site-footer .f-brand img { height: 56px; background: #fff; border-radius: 50%; padding: 4px; }
.site-footer .f-brand span { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.25; }
.site-footer .f-links { list-style: none; padding: 0; margin: 0; }
.site-footer .f-links li { margin-bottom: 10px; }
.site-footer .f-links a { display: inline-flex; gap: 8px; align-items: center; }
.site-footer .f-links a::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: 11px; color: var(--accent); }
.site-footer .f-contact { list-style: none; padding: 0; margin: 0; }
.site-footer .f-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.site-footer .f-contact i { color: var(--gold); margin-top: 3px; }
.site-footer .f-notice { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .f-notice:last-child { border-bottom: 0; }
.site-footer .f-notice small { color: var(--gold); font-weight: 600; display: block; }
.site-footer .social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.site-footer .social a:hover { background: var(--accent); color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 14px; }
.site-footer .bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--accent); color: #fff; font-size: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ------------------------------------------------------ reveal animation -- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
