/* ============================================================
   TCA WEBSITE — SHARED SUBPAGE COMPONENTS
   Used by: academic-programs.php, faculty.php, campus-tour.php,
            student-resources.php
   Reuses variables.css tokens — no new colors introduced.
   ============================================================ */

/* ---- Breadcrumb (lives INSIDE the hero now — see .page-hero__content) ---- */
.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  transition: color var(--transition), gap var(--transition);
}
.breadcrumb:hover { color: var(--white); gap: 11px; }
.breadcrumb svg { width: 16px; height: 16px; flex-shrink: 0; }
.breadcrumb .crumb-trail { color: rgba(255,255,255,0.55); font-weight: 500; }
.breadcrumb .crumb-trail a { color: rgba(255,255,255,0.82); font-weight: 600; }
.breadcrumb .crumb-trail a:hover { color: var(--gold-light); }
.breadcrumb .crumb-trail span { margin: 0 6px; }

/* ---- Page Hero (subpages) ---- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy-dark);
  overflow: hidden;
  margin-top: 0;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 18, 63,0.92) 10%, rgba(230, 5, 14,0.55) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 3rem) 3rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-hero__eyebrow::before { content:''; width: 24px; height: 2px; background: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 640px;
  font-weight: 300;
}

/* ---- Quick nav / jump links strip ---- */
.quicknav {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}
.quicknav__row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 1.75rem;
  padding: 0.9rem 3rem;
  overflow-x: auto;
}
.quicknav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.quicknav a:hover, .quicknav a.active {
  color: var(--navy);
  border-color: var(--gold);
}

/* ---- Generic content section wrapper on subpages ---- */
.subpage-section { padding: 4.5rem 3rem; }
.subpage-section--alt { background: var(--off-white); }
.subpage-section--dark {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* ---- Level/Program block (Academic Programs page) ---- */
.level-block { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.level-block:last-child { border-bottom: none; }
.level-block__head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.level-block__badge {
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.level-block__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--navy-dark);
  font-weight: 700;
}
.level-block__head .sub { color: var(--text-muted); font-size: 0.9rem; }

.level-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.level-grid__media img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.level-grid__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.25rem 0 0.6rem;
}
.level-grid__body h3:first-child { margin-top: 0; }
.level-grid__body ul { padding-left: 0; }
.level-grid__body li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.level-grid__body li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---- Support services grid (Academic Programs) ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.support-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(29, 24, 98,0.1); }
.support-card__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.support-card h4 { font-weight: 700; color: var(--navy-dark); margin-bottom: 0.4rem; }
.support-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ---- Faculty directory ---- */
.dept-filter {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.dept-filter button {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all var(--transition);
}
.dept-filter button.active,
.dept-filter button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.faculty-dept { margin-bottom: 3.5rem; }
.faculty-dept__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}
.faculty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(29, 24, 98,0.12); }
.faculty-card__photo { aspect-ratio: 1/1; overflow: hidden; }
.faculty-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-card__body { padding: 1.1rem 1.2rem 1.4rem; }
.faculty-card__name { font-weight: 700; color: var(--navy-dark); font-size: 0.98rem; margin-bottom: 2px; }
.faculty-card__role { color: var(--crimson); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.faculty-card__detail { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* ---- Timeline / stepper (Campus Tour) ---- */
.tour-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.tour-slot {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-top: 3px solid var(--gold);
}
.tour-slot h4 { color: var(--navy-dark); font-weight: 700; margin-bottom: 0.4rem; }
.tour-slot .meta { color: var(--crimson); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.6rem; }
.tour-slot p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.tour-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.tour-guidelines {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 2rem;
}
.tour-guidelines h4 { color: var(--navy-dark); margin-bottom: 0.75rem; }
.tour-guidelines li { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.4rem; padding-left: 1.2rem; position: relative;}
.tour-guidelines li::before { content:'✓'; position:absolute; left:0; color: var(--gold-dark); font-weight:700; }

/* ---- Resource hub grid ---- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}
.resource-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(29, 24, 98,0.08); }
.resource-card__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.resource-card h4 { color: var(--navy-dark); font-weight: 700; margin-bottom: 0.4rem; }
.resource-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.75rem; }
.resource-card a.rc-link { color: var(--crimson); font-weight: 600; font-size: 0.85rem; }
.resource-card a.rc-link:hover { color: var(--crimson-dark); }

/* ---- FAQ accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 400;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--text-muted); padding-bottom: 1.25rem; font-size: 0.92rem; line-height: 1.7; }

/* ---- Small CTA banner reused across subpages ---- */
.subpage-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--crimson-dark) 100%);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  color: var(--white);
}
.subpage-cta h3 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 0.75rem; }
.subpage-cta p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.subpage-cta .btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Placeholder media notice (dev-only visual cue for the client) ---- */
.img-placeholder-tag {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(21, 18, 63,0.75);
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  pointer-events: none;
}
.img-wrap { position: relative; }

/* ============================================================
   STUDENT RESOURCES HUB — dedicated layout
   ============================================================ */

/* ---- Thin, contained search (not full-bleed) ---- */
.sr-search-wrap {
  max-width: 85%;
  margin: 1.0rem auto 2.5rem;
  padding: 0 3rem;
}
.sr-search {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(29, 24, 98,0.06);
}
.sr-search__row { display: flex; gap: 0.6rem; }
.sr-search__input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
}
.sr-search__input input {
  border: none;
  outline: none;
  padding: 10px 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  flex: 1;
}
.sr-search__row button {
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}
.sr-search__row button:hover { background: var(--navy-light); }
.sr-search__input--empty { border-color: var(--crimson); animation: sr-shake 0.4s ease; }
@keyframes sr-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.sr-popular { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; font-size: 0.8rem; color: var(--text-muted); }
.sr-popular .chip { cursor: pointer; }

/* ---- Sidebar + content layout ---- */
.sr-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 0 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.sr-sidebar {
  align-self: start;
  position: sticky;
  /* Fallback/no-JS position: pinned safely below the header.
     The exact vertical-centered position is computed in JS (main.js)
     and clamped so it can never slide behind the fixed nav — see the
     "Sidebar vertical centering" block for why the pure-CSS
     top:50%+transform approach was removed. */
  top: calc(var(--nav-height) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.sr-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}
.sr-sidebar ul { display: flex; flex-direction: column; gap: 2px; }
.sr-sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 500;
}
.sr-sidebar a:hover, .sr-sidebar a.active {
  background: var(--icon-bg);
  color: var(--icon-fg);
}
.sr-sidebar .sr-popular-box {
  margin-top: 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}
.sr-sidebar .sr-popular-box h4 { color: var(--gold-light); font-size: 0.85rem; margin-bottom: 0.5rem; }
.sr-sidebar .sr-popular-box a { color: rgba(255,255,255,0.85); }
.sr-sidebar .sr-popular-box a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.sr-content { min-width: 0; }
.sr-block { margin-bottom: 4rem; scroll-margin-top: calc(var(--nav-height) + 20px); }
.sr-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 0.4rem;
}
.sr-block__head > a.btn-primary,
.sr-block__head > a.btn-download {
  margin-left: auto;
}
.sr-block__title { display: flex; align-items: center; gap: 12px; }
.sr-block__title .sr-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.sr-block__title h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-dark); }
.sr-block__sub { color: var(--text-muted); font-size: 0.9rem; margin: 0.5rem 0 1.75rem; }

/* ---- Academic calendar mini-grid ---- */
.cal-download-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 1rem 0 1.25rem;
}
.cal-download-btn:hover { background: var(--navy-light); }
.cal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head strong { font-size: 1.05rem; color: var(--navy-dark); }
.cal-nav-btn { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; padding-bottom: 6px; }
.cal-grid .day { aspect-ratio: 1; border-radius: 8px; background: var(--off-white); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--text-dark); border: none; font-family: inherit; padding: 0; position: relative; }
.cal-grid .day.empty { background: transparent; }
.cal-grid .day.today { background: var(--navy); color: var(--white); font-weight: 700; }
.cal-grid .day.event {
  background: var(--base-lime);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
/* :active (not :hover) is what actually fires on tap, so this is the
   feedback mobile users see — hover-only feedback is invisible on touch. */
.cal-grid .day.event:active { transform: scale(0.92); }
.cal-grid .day.event:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.cal-grid .day.event .day-dot-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--crimson); color: var(--white);
  font-size: 0.6rem; font-weight: 700; line-height: 1;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Day-detail modal (tap a calendar day to see its events) ---- */
.day-modal-overlay {
  position: fixed; inset: 0; background: rgba(20,20,35,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.day-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.day-modal {
  background: var(--white); border-radius: var(--radius-md);
  max-width: 360px; width: 100%; padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: translateY(12px); transition: transform 0.15s ease;
}
.day-modal-overlay.is-open .day-modal { transform: translateY(0); }
.day-modal__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; gap: 0.75rem; }
.day-modal__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-dark); }
.day-modal__close {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--off-white); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.9rem; color: var(--text-muted); cursor: pointer;
}
.day-modal__close:active { transform: scale(0.9); }
.day-modal__event { display: flex; gap: 10px; padding: 0.7rem 0; border-top: 1px solid var(--border); }
.day-modal__event:first-of-type { border-top: none; }
.day-modal__event .dot { width: 30px; height: 30px; border-radius: 8px; background: var(--icon-bg); color: var(--icon-fg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.day-modal__event strong { display: block; color: var(--navy-dark); font-size: 0.9rem; }
.day-modal__event span { color: var(--text-muted); font-size: 0.78rem; }
.cal-legend { display: flex; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.cal-event-card { border-radius: var(--radius-md); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 12px; }
.cal-event-card .dot { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.cal-events-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin-top: 1.5rem; }
.cal-event-card--exam { background: var(--tag-cherry-bg); } .cal-event-card--exam .dot { background: var(--base-cherry); }
.cal-event-card--break { background: var(--tag-lime-bg); } .cal-event-card--break .dot { background: var(--base-lime); }
.cal-event-card--sports { background: var(--icon-bg); } .cal-event-card--sports .dot { background: var(--navy); }
.cal-event-card--holiday { background: var(--tag-lemon-bg); } .cal-event-card--holiday .dot { background: var(--tag-lemon-text); }
.cal-event-card--deadline { background: var(--tag-pink-bg); } .cal-event-card--deadline .dot { background: var(--tag-pink-text); }
.cal-event-card--other { background: #f1f1f4; } .cal-event-card--other .dot { background: #8a8aa3; }
.cal-event-card strong { display: block; color: var(--navy-dark); font-size: 0.92rem; }
.cal-event-card span { color: var(--text-muted); font-size: 0.8rem; }

/* ---- Downloadable forms table ---- */
.forms-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.forms-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--off-white);
  color: var(--navy-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.forms-table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.forms-table__name { display: flex; align-items: center; gap: 12px; }
.forms-table__icon { width: 38px; height: 38px; border-radius: 8px; background: var(--icon-bg); color: var(--icon-fg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.forms-table__name strong { display: block; color: var(--navy-dark); font-size: 0.92rem; }
.forms-table__name small { color: var(--text-muted); }
.forms-table .btn-download {
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.forms-table .btn-download:hover { background: var(--navy-light); }

@media (max-width: 640px) {
  .forms-table, .forms-table thead, .forms-table tbody, .forms-table tr, .forms-table td {
    display: block;
    width: 100%;
  }
  .forms-table thead { display: none; }
  .forms-table tr {
    padding: 14px;
    border-bottom: 1px solid var(--border);
  }
  .forms-table tr:last-child { border-bottom: none; }
  .forms-table td {
    padding: 6px 0;
    border-bottom: none;
  }
  .forms-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 3px;
  }
  .forms-table td:first-child::before { display: none; } /* Form Name already self-explanatory via icon + heading */
  .forms-table td:last-child { padding-top: 10px; }
  .forms-table .btn-download { display: block; text-align: center; }
}

/* ---- Student handbook ---- */
.handbook-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.handbook-cover {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(29, 24, 98,0.25);
}
.handbook-cover img { width: 56px; margin: 0 auto 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.handbook-cover .hb-line { width: 40px; height: 1px; background: rgba(255,255,255,0.4); margin: 0.75rem auto; }
.handbook-cover h4 { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.05em; }
.handbook-meta { margin-top: 1.5rem; text-align: center; }
.handbook-meta strong { display: block; color: var(--navy-dark); }
.handbook-meta span { color: var(--text-muted); font-size: 0.85rem; }
.handbook-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
.handbook-actions > * { min-width: 0; }
.handbook-toc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.handbook-toc { display: flex; flex-direction: column; gap: 8px; }
.handbook-toc a {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--off-white);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.92rem;
}
.handbook-toc a > span:first-child { display: flex; align-items: center; }
.handbook-toc a:hover { background: var(--icon-bg); }
.handbook-toc .toc-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--icon-bg); color: var(--icon-fg); display:inline-flex; align-items:center; justify-content:center; margin-right: 10px; }

/* ---- Library login ---- */
.library-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
.library-login-card, .library-quick-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.library-login-card h4, .library-quick-card h4 { color: var(--navy-dark); margin-bottom: 1.1rem; }
.library-hours {
  background: var(--icon-bg);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}
.library-hours .dot-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.library-quick-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--off-white);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 0.9rem;
}
.library-quick-item .qi-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--icon-bg); color: var(--icon-fg); display:flex; align-items:center; justify-content:center; }

/* ---- Tutoring profile cards ---- */
.tutor-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.tutor-filter button {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}
.tutor-filter button.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tutor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%),1fr)); gap: 1.5rem; }
.tutor-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; }
.tutor-card__head { display: flex; gap: 14px; margin-bottom: 0.9rem; }
.tutor-card__photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.tutor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.tutor-card__name { color: var(--navy-dark); font-weight: 700; }
.tutor-card__subject { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 4px; }
.tutor-card__rating { color: var(--gold-dark); font-size: 0.82rem; }
.tutor-card__rating .sample-tag { color: var(--text-muted); font-size: 0.7rem; margin-left: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.tutor-card p.tutor-desc { color: var(--text-muted); font-size: 0.87rem; line-height: 1.6; margin-bottom: 0.9rem; }
.tutor-card .chip-row { margin-bottom: 1rem; }
.tutor-card .tutor-actions { display: flex; gap: 8px; }
.tutor-card .btn-download { background: var(--navy); color: var(--white); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 0.85rem; font-weight: 600; flex: 1; text-align: center; }
.tutor-card .btn-download:hover { background: var(--navy-light); }
.tutor-card .icon-btn { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }

/* ---- Activity cards (icon-led, no fabricated photos of real students) ---- */
.activity-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.activity-filter button {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}
.activity-filter button.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%),1fr)); gap: 1.5rem; }
.activity-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.activity-card__banner {
  height: 110px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.activity-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.activity-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.activity-card h4 { color: var(--navy-dark); font-weight: 700; }
.activity-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.6; margin-bottom: 0.75rem; }
.activity-card .meta-row { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.activity-card .btn-download { display: block; text-align: center; background: var(--navy); color: var(--white); padding: 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem; margin-top: 0.9rem; }
.activity-card .btn-download:hover { background: var(--navy-light); }

/* ============================================================
   ACADEMIC PROGRAMS — comprehensive per-level layout
   ============================================================ */

/* Reuse the Student-Resources sidebar+content layout under a
   clearer shared name (no rule duplication — same selectors). */
.sr-layout, .lvl-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 0 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.sr-sidebar, .lvl-sidebar {
  align-self: start;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.lvl-sidebar h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-dark); margin-bottom: 1rem; }
.lvl-sidebar ul { display: flex; flex-direction: column; gap: 2px; }
.lvl-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}
.lvl-sidebar a .emo { font-size: 1.05rem; }
.lvl-sidebar a:hover, .lvl-sidebar a.active { background: var(--navy); color: var(--white); }
.lvl-sidebar .lvl-sidebar-cta {
  display: block;
  margin-top: 1.25rem;
  text-align: center;
  background: var(--crimson);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}
.lvl-sidebar .lvl-sidebar-cta:hover { background: var(--crimson-dark); }

.lvl-content { min-width: 0; display: flex; flex-direction: column; gap: 3rem; }

/* ---- Program level card ---- */
.lvl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height) + 20px);
  box-shadow: 0 10px 30px rgba(29, 24, 98, 0.05);
}
.lvl-card__head {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 2.25rem 2.25rem 2rem;
}
.lvl-card__head-top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.lvl-card__badge {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgb(188 255 208 / 65%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  flex-shrink: 0;
}
.lvl-card__head h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.lvl-card__head .meta { color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 600; margin-top: 2px; }
.lvl-card__head p.intro { color: rgba(255,255,255,0.88); font-size: 0.98rem; line-height: 1.7; max-width: 780px; }

.lvl-card__body { padding: 2.25rem; }
.lvl-card__body > * + * { margin-top: 2.5rem; }
.lvl-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
}

/* ---- Curriculum highlight cards ---- */
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.25rem; }
.highlight-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(29,24,98,0.08); }
.highlight-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}
.highlight-card h4 { color: var(--navy-dark); font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.highlight-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ---- Learning objectives checklist ---- */
.obj-list { display: flex; flex-direction: column; gap: 0.7rem; }
.obj-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-dark); font-size: 0.94rem; line-height: 1.6; }
.obj-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---- Teaching methodology two-col box ---- */
.method-box {
  background: linear-gradient(120deg, var(--icon-bg) 0%, var(--off-white) 100%);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.method-box h4 { color: var(--navy-dark); font-weight: 700; margin-bottom: 0.5rem; }
.method-box p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ---- Colored subject tiles (uses the client's own base-* tokens) ---- */
.subject-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 0.9rem; }
.subject-tile {
  border-radius: var(--radius-md);
  padding: 1.1rem 0.9rem;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.3;
}
.subject-tile .emo { display: block; font-size: 1.4rem; margin-bottom: 0.4rem; }
.subject-tile--0 { background: linear-gradient(150deg, var(--base-grape), #5a51e0); }
.subject-tile--1 { background: linear-gradient(150deg, var(--base-lime), #2e9834); }
.subject-tile--2 { background: linear-gradient(150deg, var(--base-teal), #0d8a72); }
.subject-tile--3 { background: linear-gradient(150deg, var(--base-cherry), var(--crimson-dark)); }
.subject-tile--4 { background: linear-gradient(150deg, var(--gold-dark), #a6890a); }
.subject-tile--5 { background: linear-gradient(150deg, var(--base-pink), #c4408f); }

.subject-groups { display: flex; flex-direction: column; gap: 1rem; }
.subject-group { background: var(--off-white); border-radius: var(--radius-md); padding: 1.25rem 1.4rem; }
.subject-group h4 { color: var(--navy-dark); font-size: 0.92rem; margin-bottom: 0.75rem; }

/* ---- Special-features stat row ---- */
.feature-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1.5rem; text-align: center; }
.feature-stat__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #e1d2e6;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.75rem;
}
.feature-stat h4 { color: var(--navy-dark); font-weight: 700; font-size: 0.94rem; margin-bottom: 0.3rem; }
.feature-stat p { color: var(--text-muted); font-size: 0.82rem; }

/* ---- In-card faculty spotlight ---- */
.spotlight-card {
  border: 2px solid var(--icon-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
}
.spotlight-card__photo { width: 110px; height: 110px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; position: relative; }
.spotlight-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-card__body h4 { color: var(--navy-dark); font-size: 1.1rem; margin-bottom: 2px; }
.spotlight-card__body .role { color: var(--crimson); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.6rem; }
.spotlight-card__body p.bio { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.75rem; }
.spotlight-card__body .chip-row .chip { font-size: 0.7rem; }

/* ============================================================
   FACULTY DIRECTORY — comprehensive layout
   ============================================================ */

/* ---- Stat strip ---- */
.fac-stats {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}
.fac-stats .stat-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 0.75rem;
}
.fac-stats .stat-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy-dark); font-weight: 700; }
.fac-stats .stat-label { color: var(--text-muted); font-size: 0.82rem; }

/* ---- Search bar ---- */
.fac-search {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(29, 24, 98,0.06);
  margin-bottom: 1.5rem;
}
.fac-search__row { display: flex; gap: 0.6rem; }
.fac-search__input {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
}
.fac-search__input input { border: none; outline: none; padding: 12px 4px; font-family: var(--font-body); font-size: 0.92rem; flex: 1; background:transparent; }
.fac-search__row button { background: var(--navy); color: var(--white); padding: 12px 24px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; }
.fac-search__row button:hover { background: var(--navy-light); }
.fac-search__empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); display: none; }
.fac-search__empty.show { display: block; }

/* ---- Upgraded faculty card ---- */
.faculty-card--full { padding-bottom: 1.25rem; }
.faculty-card--full .faculty-card__photo { aspect-ratio: 4/5; }
.faculty-card--full .faculty-card__body { display: flex; flex-direction: column; gap: 0.5rem; }
.faculty-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.faculty-card__tags .tag { font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.faculty-card__creds { color: var(--text-muted); font-size: 0.76rem; font-style: italic; }
.faculty-card__bio { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.faculty-card__contact { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; }
.faculty-card__contact span { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.78rem; }
.faculty-card__actions { display: flex; gap: 8px; margin-top: 4px; }
.faculty-card__actions button {
  flex: 1;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}
.faculty-card__actions .btn-view { background: var(--navy); color: var(--white); }
.faculty-card__actions .btn-view:hover { background: var(--navy-light); }
.faculty-card__actions .btn-sched { border: 1.5px solid var(--border); color: var(--navy-dark); }
.faculty-card__actions .btn-sched:hover { border-color: var(--navy); }

/* ---- Profile modal ---- */
.fac-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 10, 30, 0.6);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.fac-modal.active { display: flex; }
.fac-modal__content {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}
.fac-modal__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
}
.fac-modal__close:hover { background: var(--icon-bg); color: var(--navy); }
.fac-modal__head { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.fac-modal__head img { width: 120px; height: 120px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.fac-modal__head h3 { font-family: var(--font-display); color: var(--navy-dark); font-size: 1.4rem; margin-bottom: 4px; }
.fac-modal__head .role { color: var(--crimson); font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .breadcrumb { padding: calc(var(--nav-height) + 1rem) 1.5rem 0; }
  .page-hero__content { padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem; }
  .quicknav__row { padding: 0.8rem 1.5rem; }
  .subpage-section { padding: 3rem 1.5rem; }
  .level-grid { grid-template-columns: 1fr; }
  .level-grid__media { max-width: 320px; }
  .tour-layout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .sr-layout, .lvl-layout { grid-template-columns: 1fr; padding: 0 1.5rem; }
  .handbook-layout, .library-layout { grid-template-columns: 1fr; }
  .sr-sidebar, .lvl-sidebar { position: static; }
  .sr-search-wrap { padding: 0 1.5rem; }
  .lvl-card__head, .lvl-card__body { padding: 1.5rem; }
  .method-box { grid-template-columns: 1fr; }
  .spotlight-card { flex-direction: column; }
  .spotlight-card__photo { width: 100%; height: 180px; }
  .fac-search__row { flex-direction: column; }
  .sr-search__row { flex-direction: column; }
  .fac-modal__head { flex-direction: column; }
}

/* ---- Added: uploaded icon images (alternative to emoji, admin-managed) ---- */
.icon-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.icon-img--inline {
  width: 1em;
  height: 1em;
  object-fit: contain;
  display: inline-block;
  vertical-align: -0.15em;
  border-radius: 2px;
}

/* ---- Campus Tour calendar-style slot picker ---- */
.tour-cal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 0.75rem;
}
.tour-day { cursor: default; }
.tour-day--none { color: var(--text-muted); }
.tour-day--past { color: #ccc; background: transparent; }
.tour-day--available {
  background: var(--tag-lime-bg);
  color: var(--base-lime);
  font-weight: 700;
  cursor: pointer;
}
.tour-day--limited {
  background: var(--tag-lemon-bg);
  color: #8a6d00;
  font-weight: 700;
  cursor: pointer;
}
.tour-day--full {
  background: var(--tag-cherry-bg);
  color: var(--base-cherry);
  font-weight: 600;
}
button.tour-day--available:active,
button.tour-day--limited:active { transform: scale(0.92); }
button.tour-day--available:focus-visible,
button.tour-day--limited:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.tour-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tour-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tour-cal-legend i {
  width: 14px; height: 14px; border-radius: 4px; display: inline-block;
}
.tour-cal-legend i.tour-day--available { background: var(--tag-lime-bg); }
.tour-cal-legend i.tour-day--limited { background: var(--tag-lemon-bg); }
.tour-cal-legend i.tour-day--full { background: var(--tag-cherry-bg); }
.tour-cal-legend i.tour-day--none { background: var(--off-white); border: 1px solid var(--border); }

.tour-selected-summary {
  background: var(--tag-lime-bg);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tour-slot-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  border: none;
  border-top: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
.tour-slot-option:first-of-type { border-top: none; }
.tour-slot-option:hover { background: #f7f7fb; }
.tour-slot-option strong { color: var(--navy-dark); font-size: 0.92rem; }
.tour-slot-option span { color: var(--text-muted); font-size: 0.8rem; }
