/* ==========================================================================
   Langata TVC - Public portal
   Purple #4A2785 · deep purple #2C1656 · blue #1D4F91 · gold #C8962E · white
   Signature: the short gold rail used on headings and the active nav link.
   ========================================================================== */
:root {
  --lt-purple: #4A2785;
  --lt-purple-deep: #2C1656;
  --lt-purple-soft: #EFEAF7;
  --lt-blue: #1D4F91;
  --lt-blue-soft: #E7EEF8;
  --lt-gold: #C8962E;
  --lt-gold-soft: #FBF3E2;
  --lt-ink: #1F1A2E;
  --lt-muted: #625B78;
  --lt-surface: #F6F4FA;
  --lt-line: #E6E1EF;
  --lt-success: #117A4B;
  --lt-danger: #B42318;
  --lt-radius: 14px;
  --lt-shadow: 0 1px 2px rgba(31, 26, 46, .05), 0 8px 24px rgba(31, 26, 46, .06);

  --bs-body-font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bs-body-color: var(--lt-ink);
  --bs-link-color: var(--lt-blue);
  --bs-link-color-rgb: 29, 79, 145;
  --bs-link-hover-color: var(--lt-purple);
  --bs-link-hover-color-rgb: 74, 39, 133;
  --bs-border-color: var(--lt-line);
}

body { font-family: var(--bs-body-font-family); font-size: 1rem; line-height: 1.6; color: var(--lt-ink); background: #fff; }
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -.015em; color: var(--lt-ink); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lt-gold); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
main { outline: none; }
.text-muted { color: var(--lt-muted) !important; }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding-inline: 1.1rem; }
.btn-sm { min-height: 36px; padding-inline: .8rem; }
.btn-lg { min-height: 52px; padding-inline: 1.4rem; font-size: 1.05rem; }
.btn-primary { --bs-btn-bg: var(--lt-purple); --bs-btn-border-color: var(--lt-purple); --bs-btn-hover-bg: var(--lt-purple-deep); --bs-btn-hover-border-color: var(--lt-purple-deep); --bs-btn-active-bg: var(--lt-purple-deep); --bs-btn-active-border-color: var(--lt-purple-deep); }
.btn-outline-primary { --bs-btn-color: var(--lt-purple); --bs-btn-border-color: var(--lt-purple); --bs-btn-hover-bg: var(--lt-purple); --bs-btn-hover-border-color: var(--lt-purple); --bs-btn-active-bg: var(--lt-purple-deep); }
.btn-gold { --bs-btn-color: var(--lt-ink); --bs-btn-bg: var(--lt-gold); --bs-btn-border-color: var(--lt-gold); --bs-btn-hover-bg: #B3832A; --bs-btn-hover-border-color: #B3832A; --bs-btn-hover-color: var(--lt-ink); --bs-btn-active-bg: #9E7424; --bs-btn-active-color: var(--lt-ink); }
.btn-ghost-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.45); --bs-btn-hover-bg: rgba(255,255,255,.12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: rgba(255,255,255,.2); --bs-btn-active-color: #fff; }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--lt-line); --bs-btn-hover-bg: var(--lt-purple-soft); --bs-btn-hover-border-color: #D7CDEA; }

/* ---------- Forms (shared with Stages 7-13) ---------- */
.form-label { font-weight: 500; font-size: .9rem; }
.form-control, .form-select { border-radius: 10px; border-color: #D5CCE4; min-height: 46px; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--lt-purple); box-shadow: 0 0 0 .2rem rgba(74, 39, 133, .15); }
.form-check-input:checked { background-color: var(--lt-purple); border-color: var(--lt-purple); }
.required::after { content: " *"; color: var(--lt-danger); }

/* ---------- Brand ---------- */
.brand-mark { width: 44px; height: 44px; border-radius: 11px; background: var(--lt-gold); color: var(--lt-purple-deep); font-weight: 700; display: inline-grid; place-items: center; flex: none; letter-spacing: .02em; }
.brand-logo { border-radius: 10px; object-fit: contain; background: #fff; }
.pub-brand { display: flex; align-items: center; gap: .7rem; color: var(--lt-ink); }
.pub-brand:hover { color: var(--lt-purple); }
.brand-words strong { display: block; font-weight: 700; font-size: 1.1rem; line-height: 1.15; color: var(--lt-purple-deep); }
.brand-words small { display: block; font-size: .72rem; color: var(--lt-muted); letter-spacing: .02em; }

/* ---------- Header ---------- */
.pub-utility { background: var(--lt-purple-deep); color: #D8CEEE; font-size: .8125rem; padding: .4rem 0; }
.pub-utility a, .pub-utility span { color: #D8CEEE; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.pub-utility a:hover { color: #fff; }
.pub-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lt-line); }
.pub-header .navbar { padding: .65rem 0; }
.pub-header .nav-link { color: var(--lt-ink); font-weight: 500; font-size: .95rem; padding: .5rem .8rem !important; position: relative; }
.pub-header .nav-link:hover { color: var(--lt-purple); }
.pub-header .nav-link.active { color: var(--lt-purple); }
@media (min-width: 992px) {
  .pub-header .nav-link.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -.72rem; height: 3px; border-radius: 3px 3px 0 0; background: var(--lt-gold); }
}
.navbar-toggler { border: 1px solid var(--lt-line); border-radius: 10px; width: 46px; height: 46px; font-size: 1.5rem; color: var(--lt-purple-deep); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(74, 39, 133, .2); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: .75rem 0 .5rem; }
  .pub-header .nav-link { padding: .7rem .25rem !important; border-bottom: 1px solid var(--lt-line); }
}
.dropdown-menu { border-radius: 12px; border-color: var(--lt-line); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .8rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--lt-purple-soft); color: var(--lt-purple); }

/* ---------- Alerts ---------- */
.pub-alert { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; background: var(--lt-blue-soft); color: #173F73; margin-bottom: .5rem; }
.pub-alert-success { background: #E6F4EC; color: var(--lt-success); }
.pub-alert-error { background: #FDECEA; color: var(--lt-danger); }
.pub-alert-warning { background: var(--lt-gold-soft); color: #6B4D10; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-surface { background: var(--lt-surface); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lt-purple); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--lt-gold); }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .6rem; }
.section-lead { color: var(--lt-muted); font-size: 1.05rem; max-width: 62ch; }
@media (max-width: 767.98px) { .section { padding: 3rem 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 88% 10%, rgba(29, 79, 145, .55), transparent 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(200, 150, 46, .18), transparent 60%),
    linear-gradient(135deg, var(--lt-purple-deep) 0%, var(--lt-purple) 100%);
  padding: 5rem 0 5.5rem;
}
.hero::before { /* fine grid texture */
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero .container { position: relative; }
.hero .eyebrow { color: #F1D9A4; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.12; max-width: 18ch; margin-bottom: 1rem; }
.hero-tagline { color: #DCD2F0; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note { margin-top: 1.25rem; font-size: .85rem; color: #CFC3E8; display: flex; gap: .45rem; align-items: flex-start; }
.hero-note i { color: var(--lt-gold); }
.hero-panel { background: #fff; color: var(--lt-ink); border-radius: 18px; padding: 1.5rem; box-shadow: 0 30px 60px rgba(10, 4, 30, .35); position: relative; }
.hero-panel::before { content: ""; position: absolute; left: 1.5rem; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--lt-gold); }
.hero-panel h2 { font-size: 1.1rem; margin: .4rem 0 1rem; }
.help-link { display: flex; align-items: center; gap: .85rem; padding: .8rem .75rem; border-radius: 12px; text-decoration: none; color: var(--lt-ink); }
.help-link + .help-link { margin-top: .15rem; }
.help-link:hover { background: var(--lt-purple-soft); color: var(--lt-purple-deep); }
.help-link .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--lt-purple-soft); color: var(--lt-purple); font-size: 1.15rem; flex: none; }
.help-link:hover .ic { background: #fff; }
.help-link strong { display: block; font-weight: 600; font-size: .95rem; }
.help-link small { color: var(--lt-muted); font-size: .8rem; }
.help-link .bi-chevron-right { margin-left: auto; color: #B2A6CB; }

/* ---------- Quick actions ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.qa-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.35rem 1.25rem 1.2rem;
  background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: var(--lt-shadow);
  text-decoration: none; color: var(--lt-ink); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; min-height: 100%;
}
a.qa-card:hover { transform: translateY(-2px); border-color: #CDBFE6; box-shadow: 0 14px 30px rgba(44, 22, 86, .12); color: var(--lt-ink); }
.qa-card .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: var(--lt-purple-soft); color: var(--lt-purple); }
.qa-card.tone-blue .ic { background: var(--lt-blue-soft); color: var(--lt-blue); }
.qa-card.tone-gold .ic { background: var(--lt-gold-soft); color: #8A6414; }
.qa-card.tone-red .ic { background: #FDECEA; color: var(--lt-danger); }
.qa-card.tone-green .ic { background: #E6F4EC; color: var(--lt-success); }
.qa-card h3 { font-size: 1.02rem; margin: .35rem 0 0; }
.qa-card p { font-size: .86rem; color: var(--lt-muted); margin: 0; }
.qa-card .go { margin-top: auto; padding-top: .5rem; font-size: .85rem; font-weight: 500; color: var(--lt-purple); display: inline-flex; gap: .35rem; align-items: center; }
.qa-card.is-apply { background: linear-gradient(160deg, #FFFDF8, var(--lt-gold-soft)); border-color: #EBD6A6; }
.qa-card.is-soon { opacity: .6; box-shadow: none; background: #FBFAFD; }
.qa-card.is-soon .go { color: var(--lt-muted); }

/* ---------- Steps (how to apply) ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 1.5rem 1.35rem 1.35rem; background: #fff; border-radius: var(--lt-radius); border: 1px solid var(--lt-line); }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--lt-purple); color: #fff; font-weight: 600; display: grid; place-items: center; margin-bottom: .9rem; }
.step.is-portal .step-num { background: var(--lt-gold); color: var(--lt-purple-deep); }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--lt-muted); font-size: .92rem; margin-bottom: .75rem; }

/* ---------- Portal notice (Section 94) ---------- */
.portal-notice { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1rem 1.25rem; border-radius: var(--lt-radius); background: var(--lt-gold-soft); border: 1px solid #EBD6A6; color: #5E440E; }
.portal-notice .ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #8A6414; font-size: 1.2rem; flex: none; }
.portal-notice p { margin: 0; flex: 1 1 280px; font-size: .95rem; }
.portal-notice strong { color: var(--lt-purple-deep); }

/* ---------- Course cards ---------- */
.course-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); overflow: hidden; box-shadow: var(--lt-shadow); transition: border-color .15s, box-shadow .15s; }
.course-card:hover { border-color: #CDBFE6; box-shadow: 0 14px 30px rgba(44, 22, 86, .1); }
.course-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--lt-purple-deep), var(--lt-blue)); position: relative; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-media .placeholder-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: 2.4rem; }
.course-media .placeholder-art::after { content: ""; position: absolute; left: 1.1rem; bottom: 1rem; width: 44px; height: 4px; border-radius: 4px; background: var(--lt-gold); }
.course-media .badge-level { position: absolute; top: .75rem; left: .75rem; background: rgba(255, 255, 255, .95); color: var(--lt-purple-deep); font-size: .75rem; font-weight: 600; padding: .3rem .6rem; border-radius: 999px; }
.course-media .badge-featured { position: absolute; top: .75rem; right: .75rem; background: var(--lt-gold); color: var(--lt-purple-deep); font-size: .72rem; font-weight: 600; padding: .3rem .55rem; border-radius: 999px; }
.course-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.course-dept { font-size: .78rem; font-weight: 500; color: var(--lt-blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.course-body h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: .5rem; }
.course-body h3 a { color: var(--lt-ink); text-decoration: none; }
.course-body h3 a:hover { color: var(--lt-purple); }
.course-body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card hit area via stretched link */
.course-card { position: relative; }
.course-card .course-actions { position: relative; z-index: 2; }
.course-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--lt-muted); margin-bottom: .75rem; }
.course-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.course-summary { font-size: .9rem; color: var(--lt-muted); margin-bottom: 1rem; }
.course-actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.course-actions .btn { flex: 1 1 auto; }

/* ---------- Directory filters ---------- */
.dir-filters { background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); padding: 1rem; box-shadow: var(--lt-shadow); }
.dir-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--lt-line); background: #fff; color: var(--lt-ink); text-decoration: none; font-size: .85rem; }
.chip:hover { border-color: var(--lt-purple); color: var(--lt-purple); }
.chip.active { background: var(--lt-purple); border-color: var(--lt-purple); color: #fff; }
.chip .count { font-size: .72rem; opacity: .75; }
.pagination { --bs-pagination-active-bg: var(--lt-purple); --bs-pagination-active-border-color: var(--lt-purple); --bs-pagination-color: var(--lt-purple); --bs-pagination-border-radius: 10px; }
.page-link { min-width: 40px; min-height: 40px; display: grid; place-items: center; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--lt-purple-deep), var(--lt-purple)); color: #fff; padding: 3rem 0 2.75rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 32px solid rgba(200, 150, 46, .14); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); margin-bottom: .4rem; }
.page-hero p { color: #D8CEEE; max-width: 60ch; margin: 0; }
.page-hero .eyebrow { color: #F1D9A4; }
.crumbs { font-size: .82rem; margin-bottom: .9rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #9C8FC0; }
.crumbs a { color: #D8CEEE; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Course detail ---------- */
.course-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.meta-pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); padding: .35rem .75rem; border-radius: 999px; font-size: .85rem; }
.content-block { background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.content-block h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.content-block h2::before { content: ""; width: 4px; height: 1.2em; border-radius: 4px; background: var(--lt-gold); }
.prose { color: #3A3450; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.sticky-aside { position: sticky; top: 96px; }
.action-card { background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: var(--lt-shadow); overflow: hidden; }
.action-card-head { background: var(--lt-purple-deep); color: #fff; padding: 1.1rem 1.25rem; }
.action-card-head h2 { color: #fff; font-size: 1.05rem; margin: 0; }
.action-card-body { padding: 1.25rem; }
.fact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--lt-line); font-size: .9rem; }
.fact-list li span:first-child { color: var(--lt-muted); }
.fact-list li span:last-child { font-weight: 500; text-align: right; }

/* ---------- Info cards / FAQ / contact ---------- */
.info-card { background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); padding: 1.4rem; height: 100%; }
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--lt-purple-soft); color: var(--lt-purple); font-size: 1.25rem; margin-bottom: .9rem; }
.info-card h3 { font-size: 1.05rem; }
.info-card p { color: var(--lt-muted); font-size: .92rem; margin: 0; }
.accordion { --bs-accordion-border-radius: 12px; --bs-accordion-inner-border-radius: 12px; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(74, 39, 133, .18); --bs-accordion-active-bg: var(--lt-purple-soft); --bs-accordion-active-color: var(--lt-purple-deep); --bs-accordion-border-color: var(--lt-line); }
.accordion-button { font-weight: 500; }
.deadline-table { width: 100%; font-size: .92rem; }
.deadline-table th, .deadline-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--lt-line); }
.deadline-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lt-muted); font-weight: 600; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--lt-line); }
.contact-line .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--lt-purple-soft); color: var(--lt-purple); flex: none; }
.contact-line small { display: block; color: var(--lt-muted); font-size: .8rem; }

/* ---------- Stats (only real data) ---------- */
.stat { text-align: center; padding: 1.25rem; }
.stat-value { font-size: 2.2rem; font-weight: 700; color: var(--lt-purple); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--lt-muted); font-size: .9rem; margin-top: .4rem; }

/* ---------- Voice section ---------- */
.voice { background: var(--lt-purple-deep); color: #E3DAF4; border-radius: 22px; padding: 2.5rem; position: relative; overflow: hidden; }
.voice h2 { color: #fff; }
.voice .eyebrow { color: #F1D9A4; }
.voice-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.voice-points li { display: flex; gap: .65rem; }
.voice-points i { color: var(--lt-gold); margin-top: .1rem; }
@media (max-width: 575.98px) { .voice { padding: 1.5rem; border-radius: 16px; } }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 3rem 1rem; background: #fff; border: 1px dashed #D5CCE4; border-radius: var(--lt-radius); color: var(--lt-muted); }
.empty i { font-size: 2.2rem; color: #B7A9D6; display: block; margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.pub-footer { background: #1E0F3D; color: #BFB3DA; padding: 3.5rem 0 1.25rem; font-size: .92rem; }
.pub-footer a { color: #DCD2F0; text-decoration: none; }
.pub-footer a:hover { color: #fff; text-decoration: underline; }
.pub-footer .btn-gold { color: var(--lt-ink); text-decoration: none; }
.footer-head { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-contact li { display: flex; gap: .55rem; }
.footer-contact i { color: var(--lt-gold); }
.footer-note { color: #A89CC6; }
.footer-note strong { color: #F1D9A4; font-weight: 500; }
.social-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social-btn:hover { background: var(--lt-gold); color: var(--lt-purple-deep) !important; text-decoration: none !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .82rem; }

/* ---------- WhatsApp + mobile bar ---------- */
.whatsapp-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(0,0,0,.2); text-decoration: none; }
.whatsapp-fab:hover { color: #fff; background: #189246; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: flex; background: #fff; border-top: 1px solid var(--lt-line); box-shadow: 0 -6px 20px rgba(31, 26, 46, .08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem .25rem .45rem; text-decoration: none; color: var(--lt-ink); font-size: .72rem; font-weight: 500; min-height: 56px; justify-content: center; }
.mobile-bar a i { font-size: 1.2rem; color: var(--lt-purple); }
.mobile-bar a.is-apply { background: var(--lt-gold); color: var(--lt-purple-deep); }
.mobile-bar a.is-apply i { color: var(--lt-purple-deep); }
@media (max-width: 991.98px) {
  body.has-mobile-bar { padding-bottom: 60px; }
  body.has-mobile-bar .whatsapp-fab { bottom: 72px; }
}

@media print {
  .pub-utility, .pub-header, .pub-footer, .mobile-bar, .whatsapp-fab, .no-print { display: none !important; }
  .page-hero, .hero { background: none !important; color: #000; padding: 1rem 0; }
  .page-hero h1, .hero h1 { color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Small-screen refinements ---------- */
@media (max-width: 575.98px) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero-actions .btn { flex: 1 1 calc(50% - .375rem); padding-inline: .6rem; font-size: .95rem; }
  .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .qa-card { padding: 1rem .9rem; }
  .qa-card .ic { width: 40px; height: 40px; font-size: 1.1rem; }
  .qa-card h3 { font-size: .95rem; }
  .qa-card p { display: none; }
}

/* ---------- Forms (Stages 7-13) ---------- */
.form-card { background: #fff; border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: var(--lt-shadow); padding: 1.75rem; }
@media (max-width: 575.98px) { .form-card { padding: 1.1rem; } }
.form-section { border: 0; border-bottom: 1px solid var(--lt-line); padding: 0 0 1.75rem; margin: 0 0 1.75rem; min-width: 0; }
.form-section legend { float: none; width: auto; font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.form-section legend .num { width: 30px; height: 30px; border-radius: 50%; background: var(--lt-purple); color: #fff; font-size: .85rem; display: grid; place-items: center; flex: none; }
.anon-box { background: var(--lt-purple-soft); border-radius: 12px; padding: .75rem 1rem; }
.form-switch .form-check-input { width: 2.6em; height: 1.35em; }
.invalid-feedback { font-size: .84rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--lt-danger); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.urgency-options { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.urgency-option { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid #D5CCE4; border-radius: 12px; cursor: pointer; background: #fff; }
.urgency-option:hover { border-color: var(--lt-purple); }
.urgency-option input { margin-top: .3rem; accent-color: var(--lt-purple); width: 1.05rem; height: 1.05rem; flex: none; }
.urgency-option strong { display: block; font-size: .92rem; font-weight: 600; }
.urgency-option small { color: var(--lt-muted); font-size: .8rem; }
.urgency-option:has(input:checked) { border-color: var(--lt-purple); background: var(--lt-purple-soft); box-shadow: 0 0 0 1px var(--lt-purple); }
.urgency-option:has(input[value="critical"]:checked) { border-color: var(--lt-danger); background: #FDECEA; box-shadow: 0 0 0 1px var(--lt-danger); }
.urgency-option:focus-within { outline: 3px solid var(--lt-gold); outline-offset: 2px; }
.small-caps { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lt-muted); font-weight: 600; }

/* ---------- Confirmation ---------- */
.confirm-card { background: #fff; border: 1px solid var(--lt-line); border-radius: 18px; box-shadow: var(--lt-shadow); padding: 2.5rem 2rem; text-align: center; }
@media (max-width: 575.98px) { .confirm-card { padding: 1.75rem 1.1rem; } }
.confirm-icon { width: 68px; height: 68px; border-radius: 50%; background: #E6F4EC; color: var(--lt-success); font-size: 2.2rem; display: inline-grid; place-items: center; margin-bottom: 1rem; }
.ref-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; background: var(--lt-purple-soft); border: 1px dashed #BFB0DD; border-radius: 14px; padding: 1rem 1.25rem; margin: 1.25rem auto .75rem; max-width: 520px; }
.ref-box strong { font-size: 1.5rem; letter-spacing: .04em; color: var(--lt-purple-deep); font-variant-numeric: tabular-nums; user-select: all; }
.ref-box .small-caps { width: 100%; }
.ref-box-pin { background: var(--lt-gold-soft); border-color: #E3C98C; }
.confirm-list { list-style: none; padding: 0; margin: 1.25rem auto 0; max-width: 520px; text-align: left; display: grid; gap: .6rem; }
.confirm-list li { display: flex; gap: .6rem; align-items: flex-start; }
.confirm-list i { color: var(--lt-purple); margin-top: .15rem; }

/* ---------- Tracking timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--lt-line); }
.timeline li { position: relative; padding: 0 0 1.4rem 3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: 4px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--lt-purple); display: grid; place-items: center; font-size: .7rem; color: var(--lt-purple); }
.timeline li.is-latest .dot { background: var(--lt-purple); color: #fff; box-shadow: 0 0 0 4px var(--lt-purple-soft); }
.timeline li.is-done .dot { border-color: var(--lt-success); color: var(--lt-success); }
.timeline time { font-size: .8rem; color: var(--lt-muted); }
.timeline h3 { font-size: .98rem; margin: .1rem 0 .25rem; }
.timeline p { margin: 0; color: #3A3450; font-size: .92rem; white-space: pre-line; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 600; font-size: .85rem; background: var(--lt-purple-soft); color: var(--lt-purple-deep); }
.status-pill.is-resolved { background: #E6F4EC; color: var(--lt-success); }
.status-pill.is-waiting { background: var(--lt-gold-soft); color: #7A5712; }

/* ---------- Satisfaction survey ---------- */
.survey-target { display: grid; gap: .15rem; background: var(--lt-purple-soft); border-radius: 12px; padding: .9rem 1.1rem; }
.survey-target strong { color: var(--lt-purple-deep); font-variant-numeric: tabular-nums; }
.rating-q { padding: 1rem 0; border-bottom: 1px dashed var(--lt-line); }
.rating-q:last-of-type { border-bottom: 0; }
.rating-label { font-weight: 500; margin: 0 0 .6rem; }
.rating-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; max-width: 420px; }
.rating-opt { position: relative; cursor: pointer; margin: 0; }
.rating-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rating-num { display: grid; place-items: center; height: 46px; border: 1px solid #D5CCE4; border-radius: 10px; font-weight: 600; background: #fff; transition: background .15s, border-color .15s; }
.rating-opt:hover .rating-num { border-color: var(--lt-purple); }
.rating-opt input:checked + .rating-num { background: var(--lt-purple); border-color: var(--lt-purple); color: #fff; }
.rating-opt input:focus-visible + .rating-num { outline: 3px solid var(--lt-gold); outline-offset: 2px; }
.rating-ends { display: flex; justify-content: space-between; max-width: 420px; font-size: .75rem; color: var(--lt-muted); margin-top: .3rem; }
.rating-q.has-error .rating-num { border-color: var(--lt-danger); }

/* =================== Institutional website =================== */
.brand-logo { width: 48px; height: auto; object-fit: contain; }

/* ---- Mega menu (desktop); stacks naturally inside the mobile collapse ---- */
@media (min-width: 992px) {
  .pub-header .navbar { position: relative; }
  .mega-parent { position: static; }
  .mega-menu { left: 50% !important; transform: translateX(-50%); width: min(1080px, calc(100vw - 2rem)); margin-top: .35rem !important; border: 0; border-radius: 18px; padding: 1.25rem; }
  .mega-cols { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 1.25rem; }
}
@media (max-width: 991.98px) {
  .mega-menu { border: 0; box-shadow: none !important; padding: .25rem 0 .75rem; }
  .mega-cols { display: grid; gap: .5rem; }
  .mega-feature { display: none !important; }
}
.mega-head { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lt-muted); margin: 0 0 .5rem .6rem; }
.mega-link { display: flex; gap: .8rem; align-items: flex-start; padding: .6rem; border-radius: 12px; color: var(--lt-ink); text-decoration: none; transition: background .15s; }
.mega-link:hover, .mega-link:focus-visible { background: var(--lt-purple-soft); color: var(--lt-ink); }
.mega-link > i { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--lt-purple-soft); color: var(--lt-purple); font-size: 1.05rem; }
.mega-link:hover > i { background: var(--lt-purple); color: #fff; }
.mega-link strong { display: block; font-size: .92rem; font-weight: 600; }
.mega-link small { display: block; color: var(--lt-muted); font-size: .78rem; line-height: 1.35; }
.mega-feature { border-radius: 14px; padding: 1.25rem; color: #fff; text-decoration: none; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.mega-feature img { width: 56px; height: auto; margin-bottom: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.mega-feature strong { font-size: 1.05rem; line-height: 1.3; }
.mega-feature small { color: rgba(255,255,255,.75); }
.mega-feature:hover { color: #fff; }
.mega-cta { background: linear-gradient(145deg, var(--lt-purple-deep), var(--lt-purple)); color: #fff; border-radius: 14px; padding: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; }
.mega-cta strong { font-size: 1.1rem; margin-bottom: .25rem; }
.mega-cta p { color: rgba(255,255,255,.8); }

/* ---- Featured notice strip ---- */
.notice-strip { background: var(--lt-gold-soft); border-bottom: 1px solid #F0DDB4; font-size: .9rem; }
.notice-strip .container { padding-top: .5rem; padding-bottom: .5rem; }
.notice-strip-tag { background: var(--lt-gold); color: var(--lt-ink); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px; flex: none; }
.notice-strip-link { color: #5C420C; font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-strip-link:hover { text-decoration: underline; color: #5C420C; }
.notice-strip-close { border: 0; background: none; color: #8A6414; padding: .2rem .4rem; border-radius: 6px; }
.notice-strip-close:hover { background: rgba(0,0,0,.06); }

/* ---- Sub navigation & chips ---- */
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; }
.subnav a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--lt-line); color: var(--lt-ink); text-decoration: none; font-size: .9rem; }
.subnav a:hover { border-color: var(--lt-purple); }
.subnav a.active { background: var(--lt-purple); border-color: var(--lt-purple); color: #fff; }
.chip-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-nav a { padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--lt-line); color: var(--lt-ink); text-decoration: none; font-size: .85rem; }
.chip-nav a span { color: var(--lt-muted); font-size: .75rem; margin-left: .15rem; }
.chip-nav a.active { background: var(--lt-purple); color: #fff; border-color: var(--lt-purple); }
.chip-nav a.active span { color: rgba(255,255,255,.75); }

/* ---- About ---- */
.about-hero { background: radial-gradient(900px 400px at 85% 20%, rgba(200,150,46,.22), transparent 60%), linear-gradient(135deg, var(--lt-purple-deep), var(--lt-purple) 70%); color: #fff; padding: 2.5rem 0 3.5rem; }
.about-hero .crumbs a, .about-hero .crumbs span, .about-hero .crumbs li::before { color: rgba(255,255,255,.75); }
.about-hero .eyebrow { color: #F1D59A; }
.about-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; line-height: 1.15; }
.about-parent { color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.about-motto { font-size: 1.2rem; font-weight: 500; margin-top: 1.25rem; padding-left: 1rem; border-left: 4px solid var(--lt-gold); }
.about-motto i { color: var(--lt-gold); margin-right: .3rem; }
.crest-panel { background: rgba(255,255,255,.96); border-radius: 22px; padding: 2rem; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 360px; margin-left: auto; }
.crest-panel img { width: 200px; max-width: 70%; height: auto; }
.crest-panel p { color: var(--lt-purple); font-weight: 600; margin: 1rem 0 0; font-size: .95rem; }
@media (max-width: 991.98px) { .crest-panel { margin: 0 auto; } }
.photo-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px; gap: .75rem; }
.photo-mosaic figure { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--lt-shadow); }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.pm-a { grid-row: span 2; } @media (min-width: 576px) { .photo-mosaic { grid-template-columns: 1.1fr 1fr 1fr; } .pm-b { grid-column: span 2; } }
.identity-band { background: var(--lt-purple-deep); color: #fff; padding: 4rem 0; }
.identity-motto { text-align: center; margin-bottom: 2.5rem; }
.identity-motto span { color: #F1D59A; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.identity-motto p { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.2rem); font-weight: 600; margin: .5rem auto 0; max-width: 28ch; line-height: 1.25; }
.identity-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.75rem; height: 100%; }
.identity-card i { font-size: 1.6rem; color: var(--lt-gold); }
.identity-card h3 { font-size: 1.15rem; margin: .6rem 0 .5rem; }
.identity-card p { color: rgba(255,255,255,.85); margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.value-card { background: #fff; border: 1px solid var(--lt-line); border-radius: 16px; padding: 1.35rem; transition: transform .15s, box-shadow .15s; }
.value-card:hover { transform: translateY(-2px); box-shadow: var(--lt-shadow); }
.value-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lt-gold-soft); color: #8A6414; font-size: 1.2rem; }
.value-card h3 { font-size: 1.02rem; margin: .8rem 0 .3rem; }
.value-card p { color: var(--lt-muted); font-size: .88rem; margin: 0; }
.leader-link { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--lt-line); border-radius: 16px; padding: 1.25rem; color: var(--lt-ink); text-decoration: none; }
.leader-link:hover { border-color: var(--lt-purple); color: var(--lt-ink); }
.leader-link i { font-size: 1.6rem; color: var(--lt-purple); }
.leader-link small { display: block; color: var(--lt-muted); }
.person-mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; text-decoration: none; color: var(--lt-ink); }
.person-mini img, .person-mini .avatar-initials { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--lt-gold-soft); }
.person-mini small { color: var(--lt-muted); }
.visit-photo { min-height: 320px; height: 100%; border-radius: var(--lt-radius); background-size: cover; background-position: center; }
.visit-list { list-style: none; padding: 0; margin: 0 0 .5rem; }
.visit-list li { display: flex; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--lt-line); }
.visit-list li:last-child { border-bottom: 0; }
.visit-list i { color: var(--lt-purple); font-size: 1.15rem; margin-top: .1rem; }
.visit-list strong { display: block; font-size: .8rem; color: var(--lt-muted); font-weight: 500; }

/* ---- People ---- */
.avatar-initials { display: grid !important; place-items: center; background: linear-gradient(135deg, var(--lt-purple), var(--lt-purple-deep)); color: #fff; font-weight: 600; letter-spacing: .04em; }
.leader-feature { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--lt-line); border-radius: 20px; padding: 1.75rem; box-shadow: var(--lt-shadow); }
.leader-photo { width: 220px; height: 260px; border-radius: 18px; object-fit: cover; font-size: 3rem; }
.leader-feature h2 { font-size: 1.6rem; }
@media (max-width: 767.98px) { .leader-feature { grid-template-columns: 1fr; text-align: center; } .leader-photo { margin: 0 auto; width: 180px; height: 210px; } }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.person-card { background: #fff; border: 1px solid var(--lt-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.person-card:hover { box-shadow: var(--lt-shadow); transform: translateY(-2px); }
.person-photo { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; font-size: 2.6rem; background: var(--lt-surface); }
.person-body { padding: 1rem 1.1rem 1.2rem; }
.person-body h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.person-role { color: var(--lt-purple); font-weight: 500; font-size: .88rem; margin-bottom: .5rem; }
.person-body details summary { font-size: .85rem; color: var(--lt-blue); cursor: pointer; }

/* ---- Partners ---- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.partner-card { background: #fff; border: 1px solid var(--lt-line); border-radius: 16px; padding: 1.25rem; }
.partner-logo { height: 72px; display: flex; align-items: center; margin-bottom: .75rem; }
.partner-logo img { max-height: 72px; max-width: 180px; object-fit: contain; }
.partner-logo span { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--lt-purple-soft); color: var(--lt-purple); font-weight: 700; font-size: 1.4rem; }
.partner-card h3 { font-size: 1rem; }
.partner-card p { color: var(--lt-muted); font-size: .88rem; }

/* ---- Portals ---- */
.portal-primary { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, var(--lt-purple-deep), var(--lt-purple)); color: #fff; border-radius: 20px; padding: 1.5rem 1.75rem; text-decoration: none; box-shadow: var(--lt-shadow); }
.portal-primary:hover { color: #fff; }
.portal-primary small { display: block; color: #F1D59A; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.portal-primary strong { display: block; font-size: 1.35rem; }
.portal-primary span span, .portal-primary > span > span { color: rgba(255,255,255,.8); }
.portal-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 1.6rem; color: var(--lt-gold); flex: none; }
.portal-ic.small { width: 46px; height: 46px; font-size: 1.2rem; background: var(--lt-purple-soft); color: var(--lt-purple); }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.portal-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--lt-line); border-radius: 16px; padding: 1.1rem 1.25rem; color: var(--lt-ink); text-decoration: none; }
.portal-card:hover { border-color: var(--lt-purple); color: var(--lt-ink); box-shadow: var(--lt-shadow); }
.portal-card strong { display: block; }
.portal-card span span, .portal-card small { display: block; color: var(--lt-muted); font-size: .85rem; }

/* ---- Admissions ---- */
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps-list li { display: flex; gap: 1rem; padding: .8rem 0; position: relative; }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 3rem; bottom: -.4rem; width: 2px; background: var(--lt-line); }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--lt-purple); color: #fff; font-weight: 600; display: grid; place-items: center; flex: none; }
.steps-list p { color: var(--lt-muted); margin: .15rem 0 0; font-size: .92rem; }
.level-card { border: 1px solid var(--lt-line); border-top: 4px solid var(--lt-gold); border-radius: 12px; padding: 1rem 1.1rem; height: 100%; }
.level-card h3 { font-size: 1rem; }
.level-card ul { padding-left: 1.1rem; }
.fee-table th, .fee-table td { padding: .55rem .25rem; border-color: var(--lt-line); }
.fee-table .fee-total th, .fee-table .fee-total td { font-weight: 700; border-top: 2px solid var(--lt-ink); }
.pay-box { background: linear-gradient(160deg, var(--lt-purple-deep), var(--lt-purple)); color: #fff; border-radius: var(--lt-radius); padding: 1.5rem; }
.pay-box h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.pay-box dl { margin: 0 0 1rem; }
.pay-box dt { font-weight: 400; color: rgba(255,255,255,.7); font-size: .8rem; }
.pay-box dd { font-size: 1.05rem; font-weight: 600; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.pay-box p { color: rgba(255,255,255,.8); }
.doc-mini { list-style: none; padding: 0; margin: 0 0 .5rem; }
.doc-mini li { padding: .45rem 0; border-bottom: 1px solid var(--lt-line); }
.doc-mini a { display: flex; gap: .5rem; text-decoration: none; }
.doc-mini small { display: block; color: var(--lt-muted); margin-left: 1.5rem; }

/* ---- Downloads ---- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.doc-item { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--lt-line); border-radius: 14px; padding: 1rem 1.25rem; }
.doc-item h2 { font-size: 1rem; margin: 0 0 .15rem; }
.doc-item p { color: var(--lt-muted); font-size: .88rem; margin: 0 0 .25rem; }
.doc-item small { color: var(--lt-muted); }
.doc-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--lt-purple-soft); color: var(--lt-purple); font-size: 1.4rem; flex: none; }
@media (max-width: 575.98px) { .doc-item { flex-wrap: wrap; } .doc-item .btn { width: 100%; } }

/* ---- Notices ---- */
.notice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.notice-card { background: #fff; border: 1px solid var(--lt-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.notice-card:hover { box-shadow: var(--lt-shadow); transform: translateY(-2px); }
.notice-card.is-featured { border-color: var(--lt-gold); box-shadow: 0 0 0 2px var(--lt-gold-soft); }
.notice-media { display: block; aspect-ratio: 16 / 9; background: var(--lt-surface); }
.notice-media img { width: 100%; height: 100%; object-fit: cover; }
.notice-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem; color: rgba(255,255,255,.9); background: linear-gradient(135deg, var(--lt-purple), var(--lt-purple-deep)); }
.notice-ph-intake { background: linear-gradient(135deg, var(--lt-gold), #9E7424); }
.notice-ph-tender, .notice-ph-vacancy { background: linear-gradient(135deg, var(--lt-blue), #123460); }
.notice-body { padding: 1rem 1.15rem 1.25rem; }
.notice-body h3 { font-size: 1.05rem; margin: .35rem 0; }
.notice-body h3 a { color: var(--lt-ink); text-decoration: none; }
.notice-body h3 a:hover { color: var(--lt-purple); }
.notice-body p { color: var(--lt-muted); font-size: .9rem; margin: 0; }
.notice-meta { font-size: .8rem; color: var(--lt-muted); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.notice-tag { background: var(--lt-purple-soft); color: var(--lt-purple); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 999px; }
.notice-image { width: 100%; max-height: 520px; object-fit: contain; border-radius: 12px; background: var(--lt-surface); margin-bottom: 1rem; }
.home-about-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--lt-shadow); }
.home-about-photo > img { width: 100%; height: 340px; object-fit: cover; }
.home-about-badge { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .6rem; align-items: center; background: rgba(255,255,255,.95); border-radius: 12px; padding: .5rem .75rem; font-size: .72rem; font-weight: 600; color: var(--lt-purple); line-height: 1.3; }
.home-motto { border-left: 4px solid var(--lt-gold); padding: .25rem 0 .25rem 1rem; font-size: 1.15rem; font-weight: 600; color: var(--lt-purple); margin: 1.25rem 0; }
.about-hero h1, .identity-band h2, .identity-card h3, .identity-motto p, .pay-box h2, .mega-cta strong, .portal-primary strong { color: #fff; }
.footer-crest { width: 52px; height: auto; background: #fff; border-radius: 12px; padding: 4px; }
.pub-header .btn-gold { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399.98px) {
  .pub-header .navbar-nav .nav-link { padding-left: .55rem !important; padding-right: .55rem !important; font-size: .95rem; }
  .pub-brand .brand-words small { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .pub-header .navbar-nav > .nav-item:first-child { display: none; } }

/* =================== Stage 21: phones & tablets =================== */
.row > [class*="col"] { min-width: 0; }
.notice-strip-link { min-width: 0; }
@media (max-width: 991.98px) {
  /* Bootstrap g-5 gutters are wider than the phone's side padding: use g-4 spacing on small screens */
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
}
@media (max-width: 767.98px) {
  .form-control, .form-select, textarea, input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"],
  input[type="date"], input[type="password"] { font-size: 16px !important; }
  small, .small, .notice-meta, .notice-tag, .notice-strip-tag, .mega-link small, .rk-note { font-size: max(12px, .8rem); }
  .section { padding-top: 3rem; padding-bottom: 3rem; }
  .content-block { padding: 1.25rem; }
  .photo-mosaic { grid-template-rows: 140px 140px; }
  .leader-feature { padding: 1.25rem; }
}
@media (pointer: coarse) {
  .footer-links a, .footer-contact a, .footer-bottom a, .crumbs a, .chip-nav a, .subnav a { display: inline-block; padding-top: .55rem; padding-bottom: .55rem; }
  .chip-nav a { padding-left: .9rem; padding-right: .9rem; }
  .notice-strip-link { padding: .5rem 0; }
  .notice-strip-close { min-width: 40px; min-height: 40px; }
  .pub-header .btn-close, .navbar-toggler { min-width: 44px; min-height: 44px; }
  .form-check-input { width: 1.25em; height: 1.25em; }
  .form-check { min-height: 32px; }
  a.small, .content-block a.small { display: inline-block; padding: .45rem 0; }
  .dropdown-item { padding-top: .6rem; padding-bottom: .6rem; }
}
.table-responsive { position: relative; }
@media (max-width: 991.98px), (pointer: coarse) {
  .brand-words small, .home-about-badge, .mobile-bar span, .chip .count, .count { font-size: 12px; }
}
@media (pointer: coarse) {
  .form-control, .form-select, textarea { font-size: 16px !important; }
}
@media (pointer: coarse) { .step a { display: inline-block; padding: .6rem 0; } }
.notice-strip-tag, .notice-tag, .portal-primary small { font-size: 12px; }

/* =================== Accessibility (WCAG 2.2 AA) =================== */
/* Links on dark cards must keep 4.5:1 contrast */
.info-card.dark a, .bg-dark a:not(.btn), .pub-footer a:not(.btn), .identity-band a:not(.btn), .about-hero a:not(.btn), .pay-box a:not(.btn) { color: #F1D59A; }
.info-card.dark a:hover, .pub-footer a:not(.btn):hover { color: #fff; }
/* Info cards stretch only when alone in a grid column; stacked cards (sidebars) size to their content */
.info-card:not(:only-child) { height: auto; }

/* =================== Accessibility toolbar =================== */
.a11y-dock { position: fixed; left: 1rem; bottom: 1rem; z-index: 1060; }
@media (max-width: 991.98px) { .a11y-dock { bottom: calc(4.6rem + env(safe-area-inset-bottom)); left: .75rem; } }
.a11y-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: 0 1rem; border: 2px solid #fff; border-radius: 999px;
  background: var(--lt-blue); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.a11y-btn i { font-size: 1.35rem; }
.a11y-btn:hover { background: #163E73; }
@media (max-width: 575.98px) { .a11y-btn-text { display: none; } .a11y-btn { padding: 0; width: 46px; justify-content: center; } }
.a11y-panel { position: absolute; left: 0; bottom: calc(100% + .6rem); width: min(340px, calc(100vw - 1.5rem)); background: #fff; color: var(--lt-ink);
  border: 1px solid var(--lt-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(30,15,61,.25); padding: 1rem; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.a11y-x { border: 0; background: var(--lt-surface); width: 40px; height: 40px; border-radius: 10px; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-weight: 500; }
.a11y-size { display: inline-flex; align-items: center; gap: .5rem; }
.a11y-size button { width: 44px; height: 40px; border-radius: 10px; border: 1px solid var(--lt-line); background: #fff; font-weight: 700; }
.a11y-size span { min-width: 3.2rem; text-align: center; font-variant-numeric: tabular-nums; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.a11y-grid button { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .4rem; min-height: 64px; border-radius: 12px;
  border: 1px solid var(--lt-line); background: var(--lt-surface); color: var(--lt-ink); font-size: .85rem; line-height: 1.2; }
.a11y-grid button i { font-size: 1.2rem; color: var(--lt-purple); }
.a11y-grid button[aria-pressed="true"] { background: var(--lt-purple); border-color: var(--lt-purple); color: #fff; }
.a11y-grid button[aria-pressed="true"] i { color: #fff; }
.a11y-grid .a11y-wide { grid-column: 1 / -1; flex-direction: row; justify-content: center; min-height: 48px; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .85rem; font-size: .9rem; }
.a11y-reset { border: 0; background: none; color: var(--lt-purple); font-weight: 600; min-height: 40px; display: inline-flex; gap: .35rem; align-items: center; }

/* =================== Kiswahili hover hint =================== */
.sw-tip { position: absolute; z-index: 1080; background: #1E0F3D; color: #fff; border-radius: 10px; padding: .45rem .7rem; font-size: .95rem;
  line-height: 1.35; box-shadow: 0 10px 24px rgba(0,0,0,.25); pointer-events: auto; border-left: 4px solid var(--lt-gold); }
.sw-tip-lang { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #F1D59A; font-weight: 600; }

/* =================== Accessibility modes =================== */
html.a11y-text-1 { font-size: 115%; } html.a11y-text-2 { font-size: 130%; } html.a11y-text-3 { font-size: 150%; }
html.a11y-readable body, html.a11y-readable .btn, html.a11y-readable input, html.a11y-readable select, html.a11y-readable textarea {
  font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important; letter-spacing: .01em; }
html.a11y-spacing body * { line-height: 1.8 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing p { margin-bottom: 2em !important; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-underline-offset: .2em; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewBox='0 0 20 24'%3E%3Cpath d='M1 1l0 19 5-5 3.5 7.5 3-1.5L9 13.5l7 0z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 2 2, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-contrast { --lt-purple: #2B0A66; --lt-purple-deep: #000; --lt-blue: #0033A0; --lt-muted: #222; --lt-line: #000; --lt-surface: #fff; --lt-ink: #000; --lt-gold: #FFD23F; }
html.a11y-contrast body { background: #fff !important; color: #000 !important; }
html.a11y-contrast a:not(.btn) { color: #0033A0 !important; text-decoration: underline !important; }
html.a11y-contrast .pub-footer a:not(.btn), html.a11y-contrast .about-hero a:not(.btn), html.a11y-contrast .identity-band a:not(.btn) { color: #FFD23F !important; }
html.a11y-contrast .text-muted, html.a11y-contrast small, html.a11y-contrast .small { color: #222 !important; }
html.a11y-contrast .btn, html.a11y-contrast .form-control, html.a11y-contrast .form-select, html.a11y-contrast .content-block, html.a11y-contrast .info-card,
html.a11y-contrast .notice-card, html.a11y-contrast .person-card, html.a11y-contrast .value-card { border: 2px solid #000 !important; }
html.a11y-contrast :focus-visible { outline: 4px solid #FFD23F !important; outline-offset: 2px; box-shadow: 0 0 0 7px #000 !important; }
html.a11y-contrast img { filter: contrast(1.1); }
/* Visible keyboard focus everywhere (WCAG 2.4.7 / 2.4.11) */
:focus-visible { outline: 3px solid var(--lt-gold); outline-offset: 2px; }
/* Larger text from the accessibility menu: let the main menu wrap instead of overflowing */
@media (min-width: 992px) {
  html.a11y-text-1 .pub-header .navbar-nav, html.a11y-text-2 .pub-header .navbar-nav, html.a11y-text-3 .pub-header .navbar-nav { flex-wrap: wrap; justify-content: flex-end; row-gap: .25rem; }
  html.a11y-text-2 .pub-brand .brand-words small, html.a11y-text-3 .pub-brand .brand-words small { display: none; }
  html.a11y-text-2 .pub-header .navbar-nav .nav-link, html.a11y-text-3 .pub-header .navbar-nav .nav-link { padding-left: .45rem !important; padding-right: .45rem !important; }
}
/* Long words (email addresses, web addresses) may break so nothing overflows at large text sizes (WCAG 1.4.10 / 1.4.12) */
a[href^="mailto:"], a[href^="tel:"], .visit-list span, .footer-contact span, .prose a { overflow-wrap: anywhere; }
.pub-utility .container, .pub-utility .d-flex { flex-wrap: wrap; row-gap: .25rem; }
html.a11y-text-2 h1, html.a11y-text-2 h2, html.a11y-text-3 h1, html.a11y-text-3 h2, html.a11y-spacing h1, html.a11y-spacing h2 { overflow-wrap: anywhere; hyphens: auto; }
.prose, .content-block, .info-card, .notice-body, .person-body { overflow-wrap: break-word; }
.a11y-wide-text { text-align: left; }
.sw-tip { border: 1px solid rgba(255,255,255,.45); box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 0 3px rgba(200,150,46,.35); }

/* =================== Shareable forms: pop-up, share dialog, compact layout =================== */
.form-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.form-tools .btn { min-height: 40px; display: inline-flex; align-items: center; gap: .4rem; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .75rem .5rem; min-height: 72px; border-radius: 12px;
  border: 1px solid var(--lt-line); background: var(--lt-surface); color: var(--lt-ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.share-btn i { font-size: 1.4rem; }
.share-btn:hover { border-color: var(--lt-purple); color: var(--lt-ink); }
.share-wa i { color: #128C4B; } .share-sms i { color: var(--lt-blue); } .share-mail i { color: var(--lt-purple); }
.share-qr { display: flex; gap: 1rem; align-items: center; border-top: 1px solid var(--lt-line); padding-top: 1rem; }
.share-qr img { width: 164px; height: 164px; image-rendering: pixelated; border: 1px solid var(--lt-line); border-radius: 8px; background: #fff; flex: none; }
@media (max-width: 420px) { .share-qr { flex-direction: column; text-align: center; } }
.form-popup .modal-body { background: var(--lt-surface); }
.form-popup-frame { width: 100%; height: min(78vh, 900px); border: 0; display: block; }
@media (max-width: 575.98px) { .form-popup-frame { height: calc(100vh - 60px); } }

/* Compact layout (/f/...) */
.compact-container { max-width: 760px; }
.compact-head { background: #fff; border-bottom: 3px solid var(--lt-gold); padding: .6rem 0; }
.compact-logo { width: 40px; height: auto; }
.compact-name strong { display: block; color: var(--lt-purple); font-size: .98rem; line-height: 1.2; }
.compact-name small { color: var(--lt-muted); font-size: .78rem; }
.compact-hero { padding: 1.5rem 0 1.25rem; }
.compact-hero h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.compact-body .section-sm { padding-top: 1.25rem; }
.compact-body .section-sm > .container { max-width: 760px; }
.compact-body .section-sm .row > .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
.compact-body .section-sm .row > .col-lg-4 { display: none; }       /* side panels: hidden on stand-alone forms */
.compact-foot { padding: 1.25rem 0 5rem; font-size: .85rem; color: var(--lt-muted); }
.compact-foot a { color: var(--lt-muted); }
html.in-frame .a11y-dock, html.in-frame .compact-head, html.in-frame .compact-foot { display: none; }
html.in-frame .compact-hero { padding-top: 1rem; }

/* Dark theme for shared forms (&t=dark) - keeps 4.5:1 text contrast */
html.theme-dark { color-scheme: dark; --lt-ink: #EDE9F7; --lt-muted: #B7AFCB; --lt-line: #3A3350; --lt-surface: #17131F; --lt-purple-soft: #2A2240; }
html.theme-dark body { background: #121018; color: #EDE9F7; }
html.theme-dark .compact-head { background: #1B1626; }
html.theme-dark .compact-name strong { color: #D9CCF5; }
html.theme-dark .section-surface, html.theme-dark .compact-body .section-sm { background: #121018; }
html.theme-dark .content-block, html.theme-dark .form-card, html.theme-dark .panel, html.theme-dark .card, html.theme-dark .info-card, html.theme-dark fieldset { background: #1B1626 !important; border-color: #3A3350 !important; color: #EDE9F7; }
html.theme-dark .form-control, html.theme-dark .form-select { background-color: #241E33; color: #F4F1FA; border-color: #4A4163; }
html.theme-dark .form-control::placeholder { color: #9E95B5; }
html.theme-dark .form-text, html.theme-dark .text-muted, html.theme-dark small { color: #B7AFCB !important; }
html.theme-dark label, html.theme-dark legend, html.theme-dark h2, html.theme-dark h3 { color: #EDE9F7; }
html.theme-dark a:not(.btn) { color: #C7B5F2; }
html.theme-dark .btn-primary { background: #7B5AC4; border-color: #7B5AC4; }
html.theme-dark .pub-alert { background: #241E33; color: #EDE9F7; }
html.theme-dark .form-check-input { background-color: #241E33; border-color: #6E6489; }

html.theme-dark .rating-num { background: #241E33; border-color: #4A4163; color: #EDE9F7; }
html.theme-dark .rating-opt input:checked + .rating-num { background: #7B5AC4; border-color: #7B5AC4; color: #fff; }
html.theme-dark .urgency-option > span, html.theme-dark .choice-card, html.theme-dark .anon-box { background: #241E33 !important; border-color: #4A4163 !important; color: #EDE9F7 !important; }
html.theme-dark .urgency-option > span strong, html.theme-dark .urgency-option > span small { color: #EDE9F7 !important; }
html.theme-dark .urgency-option input:checked + span { border-color: #C7B5F2 !important; box-shadow: 0 0 0 2px #7B5AC4; }
html.theme-dark .urgency-option { background: #241E33; border-color: #4A4163; }

/* =================== Gallery =================== */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--lt-surface); aspect-ratio: 4 / 3; box-shadow: var(--lt-shadow); }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-open:hover img, .gallery-open:focus-visible img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .75rem .6rem; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.gallery-cap strong { display: block; font-size: .92rem; line-height: 1.25; }
.gallery-cap small { color: rgba(255,255,255,.85); font-size: .78rem; }
.gallery-viewer { background: #111; color: #fff; }
.gallery-viewer .modal-header, .gallery-viewer .modal-footer { border-color: #333; }
.gallery-viewer .modal-title { color: #fff; }
.gallery-viewer img { display: block; max-width: 100%; max-height: 72vh; margin: 0 auto; border-radius: 8px; }
.gallery-viewer figcaption { margin-top: .75rem; color: #E5E5E5; }
.gallery-viewer figcaption small { color: #BDBDBD; }

/* =================== Events calendar =================== */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal-grid { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal-grid th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lt-muted); padding: .4rem; text-align: left; }
.cal-grid td { vertical-align: top; height: 92px; border: 1px solid var(--lt-line); padding: .3rem; }
.cal-grid td.cal-empty { background: var(--lt-surface); }
.cal-today { background: var(--lt-gold-soft); }
.cal-num { display: block; font-size: .8rem; font-weight: 600; color: var(--lt-muted); }
.cal-today .cal-num { color: var(--lt-ink); }
.cal-ev { display: block; font-size: .72rem; line-height: 1.25; padding: .15rem .3rem; margin-top: .2rem; border-radius: 4px; background: var(--lt-purple-soft); color: var(--lt-purple); text-decoration: none; overflow: hidden; }
.cal-ev:hover { background: var(--lt-purple); color: #fff; }
.cal-exam { background: #FDECEA; color: #A3201A; } .cal-holiday { background: #EAF3EC; color: #1E6B3A; } .cal-sports { background: #E8F1FB; color: #1D4F91; }
.cal-more { font-size: .7rem; color: var(--lt-muted); }
@media (max-width: 767.98px) { .cal-grid { display: none; } }   /* phones use the list below */
.ev-list { list-style: none; padding: 0; margin: 0; }
.ev-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--lt-line); scroll-margin-top: 90px; }
.ev-item:target { background: var(--lt-gold-soft); border-radius: 10px; padding-left: .5rem; }
.ev-item h3 { font-size: 1rem; margin: 0 0 .25rem; }
.ev-date { flex: none; width: 56px; text-align: center; border-radius: 10px; background: var(--lt-purple); color: #fff; padding: .35rem 0; font-size: .75rem; text-transform: uppercase; }
.ev-date b { display: block; font-size: 1.3rem; line-height: 1; }
.ev-meta { font-size: .85rem; color: var(--lt-muted); margin: 0 0 .3rem; }
.up-list { list-style: none; padding: 0; margin: 0; }
.up-list li { padding: .6rem 0; border-bottom: 1px solid var(--lt-line); }
.up-list small { display: block; color: var(--lt-muted); }
.notice-dept { display: inline-block; font-size: .75rem; color: var(--lt-blue); font-weight: 600; }

/* Featured portals (configurable in Admin › Website › Portal links) */
.portal-feature { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1rem 1.25rem; border-radius: 16px; text-decoration: none; color: var(--lt-ink);
  background: #fff; border: 2px solid var(--lt-gold); box-shadow: var(--lt-shadow); }
.portal-feature:hover { color: var(--lt-ink); border-color: var(--lt-purple); }
.portal-feature .portal-ic { background: var(--lt-gold-soft); color: #8A6414; }
.portal-feature strong { display: block; font-size: 1.05rem; }
.portal-feature span span, .portal-feature small { display: block; color: var(--lt-muted); font-size: .88rem; }
.portal-strip { padding: 1.25rem 0 0; }
