/* ---------- PUBLIC HOMEPAGE (shown before login) ---------- */
#homeScreen { min-height: 100vh; background: var(--bg); }
.home-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--border); position: relative; }
.home-topbar-brand { display: flex; align-items: center; gap: 12px; }
.home-topbar-seal { height: 40px; width: 40px; object-fit: contain; }
.home-topbar-title { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.home-back-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 8px; color: var(--navy); flex: none; margin-right: 14px; }
.home-back-btn:hover { background: var(--sky-light); }
.login-back-btn { position: fixed; top: 20px; left: 20px; z-index: 20; background: #fff; margin-right: 0; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.home-hamburger-btn { background: none; border: 1px solid var(--border); border-radius: 8px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; flex: none; }
.home-hamburger-btn:hover { background: var(--sky-light); }
.home-desktop-nav { display: none; align-items: center; gap: 26px; margin-left: auto; margin-right: 24px; }
.home-desktop-nav-link { color: var(--navy); text-decoration: none; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.home-desktop-nav-link:hover { color: var(--sky); }
.home-desktop-nav-btn {
  background: var(--navy); color: #fff; padding: 11px 26px; border-radius: 999px; text-decoration: none;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,21,152,.35);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.home-desktop-nav-btn:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,21,152,.45); }

/* Desktop nav dropdown (e.g. About BACOMM → Vision/Mission/Goals, Magazine) */
.home-nav-dropdown { position: relative; }
.home-nav-dropdown-trigger { background: none; border: none; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; padding: 0; }
.home-nav-dropdown-trigger svg { transition: transform .2s ease; }
.home-nav-dropdown.open .home-nav-dropdown-trigger svg { transform: rotate(180deg); }
.home-nav-dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 210px; background: #fff; border-radius: 10px; border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(0,21,152,.16); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 40;
}
.home-nav-dropdown:hover .home-nav-dropdown-panel,
.home-nav-dropdown.open .home-nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.home-nav-dropdown-panel a {
  color: var(--navy); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 9px 12px; border-radius: 6px; white-space: nowrap; transition: background .15s ease;
}
.home-nav-dropdown-panel a:hover { background: var(--sky-light); }
@media (min-width: 861px) {
  .home-desktop-nav { display: flex; }
  .home-hamburger-btn { display: none; }
}
.home-drawer { position: fixed; inset: 0; z-index: 99998; pointer-events: none; }
.home-drawer.open { pointer-events: auto; }
.home-drawer-backdrop { position: absolute; inset: 0; background: rgba(0,10,40,0); transition: background .25s ease; }
.home-drawer.open .home-drawer-backdrop { background: rgba(0,10,40,.45); }
.home-drawer-panel { position: absolute; top: 0; right: 0; width: 320px; max-width: 88vw; height: 100%; background: #fff; color: var(--navy); box-shadow: -6px 0 28px rgba(0,0,0,.25); transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.home-drawer.open .home-drawer-panel { transform: translateX(0); }
.home-drawer-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 16px; border-bottom: 1px solid var(--border); flex: none; }
.home-drawer-brand { display: flex; align-items: center; gap: 10px; }
.home-drawer-brand-nexus { height: 24px; width: auto; }
.home-drawer-close { background: #eef1f6; border: none; border-radius: 8px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; flex: none; }
.home-drawer-close:hover { background: var(--sky-light); }
.home-drawer-nav { display: flex; flex-direction: column; padding: 6px 16px 24px; }
.home-drawer-nav a { color: var(--navy); text-decoration: none; font-size: 16px; font-weight: 700; padding: 16px 4px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.home-drawer-nav a:hover { color: var(--sky); }
.home-drawer-nav a::after { content: ''; flex: none; width: 16px; height: 16px; margin-left: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .55; }
.home-drawer-nav a.home-drawer-nav-btn {
  background: var(--navy); color: #fff; border-bottom: none; border-radius: 999px;
  justify-content: center; padding: 15px 4px; margin: 10px 0; box-shadow: 0 4px 14px rgba(0,21,152,.35);
}
.home-drawer-nav a.home-drawer-nav-btn:hover { color: #fff; background: var(--navy-dark); }
.home-drawer-nav a.home-drawer-nav-btn::after { content: none; }
.home-drawer-dropdown-trigger {
  width: 100%; background: none; border: none; font: inherit; cursor: pointer;
  color: var(--navy); font-size: 16px; font-weight: 700; padding: 16px 4px;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.home-drawer-dropdown-trigger svg { transition: transform .2s ease; opacity: .6; }
.home-drawer-dropdown.open .home-drawer-dropdown-trigger svg { transform: rotate(180deg); }
.home-drawer-submenu { max-height: 0; overflow: hidden; transition: max-height .25s ease; display: flex; flex-direction: column; }
.home-drawer-dropdown.open .home-drawer-submenu { max-height: 420px; }
.home-drawer-submenu a { color: var(--navy); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 12px 4px 12px 16px; border-bottom: 1px solid var(--border); }
.magazine-embed-wrap { max-width: 900px; margin: 0 auto; }
.magazine-embed-wrap iframe { width: 100%; border: none; display: block; }

/* Report a Concern form: clear separation between lettered sections */
.concern-section-h {
  margin: 30px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.concern-section-h:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.home-post-detail-text.home-admissions-text { white-space: pre-line; }

/* Career Opportunities page */
.home-careers-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; text-align: center; padding: 44px 24px 34px; }
.home-careers-hero h1 { margin: 0 0 8px; font-size: 26px; color: #fff; }
.home-careers-hero p { margin: 0 0 20px; opacity: .8; font-size: 14px; color: #fff; }
.home-careers-search { width: 100%; max-width: 380px; padding: 12px 18px; border-radius: 999px; border: none; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.home-careers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 6px; }
.home-career-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; overflow: hidden; opacity: 0; transform: translateY(16px); animation: home-career-in .5s ease forwards; transition: transform .25s ease, box-shadow .25s ease; }
.home-career-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.home-career-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,21,152,.14); }
.home-career-card:hover::before { transform: scaleX(1); }
.home-career-card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sky-light); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background .25s ease, transform .25s ease; }
.home-career-card:hover .home-career-card-icon { background: var(--navy); color: #fff; transform: rotate(-6deg) scale(1.08); }
.home-career-card-title { font-size: 15.5px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.home-career-card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }
@keyframes home-career-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Generic modal overlay (used by the Be One of Us form) */
.home-post-modal { position: fixed; inset: 0; background: rgba(0,10,40,.6); z-index: 99997; display: flex; align-items: center; justify-content: center; padding: 20px; }
.home-post-modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; z-index: 1; }

/* "Be One of Us" call-to-action */
.home-cta-wrap { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); padding: 46px 24px; text-align: center; }
.home-cta-inner { position: relative; z-index: 1; }
.home-cta-eyebrow { margin: 0 0 14px; color: var(--sky-light); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600; opacity: .85; }
.home-cta-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--sky); color: var(--navy-dark); border: none; padding: 16px 34px; border-radius: 999px; font-size: 20px; font-weight: 800; letter-spacing: .5px; cursor: pointer; box-shadow: 0 0 0 0 rgba(175,206,233,.6); animation: home-cta-pulse 2.4s ease-out infinite; transition: transform .15s ease; }
.home-cta-btn:hover { transform: scale(1.06); }
.home-cta-btn:active { transform: scale(0.97); }
.home-cta-arrow { transition: transform .2s ease; }
.home-cta-btn:hover .home-cta-arrow { transform: translateX(5px); }
.home-cta-sub { margin: 16px 0 0; color: #fff; opacity: .8; font-size: 13px; }
@keyframes home-cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(175,206,233,.55); }
  70% { box-shadow: 0 0 0 18px rgba(175,206,233,0); }
  100% { box-shadow: 0 0 0 0 rgba(175,206,233,0); }
}
.home-cta-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); animation: home-cta-float 9s ease-in-out infinite; }
.home-cta-blob-1 { width: 220px; height: 220px; top: -80px; left: -60px; animation-delay: 0s; }
.home-cta-blob-2 { width: 280px; height: 280px; bottom: -120px; right: -80px; animation-delay: 2s; }
@keyframes home-cta-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.06); }
}

/* Be One of Us form modal */
.home-boou-modal-inner { background: #fff; border-radius: 14px; max-width: 460px; width: 100%; max-height: 86vh; overflow-y: auto; position: relative; padding: 28px 26px; }
.home-boou-title { font-size: 20px; color: var(--navy); margin: 4px 0 6px; }
.home-boou-modal-inner label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin: 14px 0 6px; }
.home-boou-modal-inner input, .home-boou-modal-inner textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.home-boou-modal-inner textarea { resize: vertical; }

/* Hero image carousel */
.home-hero-carousel { position: relative; width: 100%; aspect-ratio: 21 / 9; max-height: 460px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); overflow: hidden; }
.home-hero-track { position: relative; width: 100%; height: 100%; }
.home-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.home-hero-slide.active { opacity: 1; }
.home-hero-slide img, .home-hero-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-hero-slide img { transform: scale(1); transition: transform 6.5s ease-out; }
.home-hero-slide.active img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .home-hero-slide img, .home-hero-slide.active img { transition: none; transform: none; }
}
.home-hero-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 28px; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); color: #fff; font-size: 14px; font-weight: 600; margin: 0; }
.home-hero-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; opacity: .85; font-size: 13px; }
.home-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(0,0,0,.35); color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.home-hero-arrow:hover { background: rgba(0,0,0,.55); }
.home-hero-arrow-prev { left: 16px; }
.home-hero-arrow-next { right: 16px; }
.home-hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.home-hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.home-hero-dots span.active { background: #fff; }

.home-body { max-width: 1080px; margin: 0 auto; padding: 40px 24px 20px; }
.home-section { margin-bottom: 44px; }

/* ---------- About BACOMM: Vision / Mission / Goals & Objectives ---------- */
.vmgo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vmgo-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #f4f7fc 100%);
  border: 1px solid var(--border, #e2e6ee); border-radius: 16px;
  padding: 28px 26px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .35s ease, box-shadow .35s ease;
}
.vmgo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
}
.vmgo-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,21,152,.14); }
.vmgo-card-wide { grid-column: 1 / -1; }
.vmgo-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.vmgo-card h2 { margin: 0 0 10px; font-size: 19px; color: var(--navy); }
.vmgo-card p { margin: 0; line-height: 1.65; color: #333; }
.vmgo-goals-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
}
.vmgo-goals-list li {
  display: flex; gap: 12px; align-items: flex-start; line-height: 1.5;
  padding: 12px 14px; border-radius: 10px;
  transition: background .25s ease, transform .25s ease;
}
.vmgo-goals-list li:hover { background: rgba(175,206,233,.22); transform: translateX(4px); }
.vmgo-goal-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.vmgo-values-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.vmgo-value-badge {
  background: linear-gradient(135deg, var(--navy), #2f6fd6); color: #fff;
  padding: 14px 22px; border-radius: 8px; font-weight: 600; text-align: center;
  border-left: 4px solid var(--sky);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vmgo-value-badge:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,21,152,.22); }
@media (max-width: 700px) {
  .vmgo-grid { grid-template-columns: 1fr; }
  .vmgo-goals-list { grid-template-columns: 1fr; }
}
   IntersectionObserver (initScrollReveal()) the first time each one enters
   the viewport. Respects reduced-motion preference. */
.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}
.home-section h2 { font-size: 18px; color: var(--navy); margin: 0 0 18px; padding-bottom: 8px; border-bottom: 3px solid var(--sky); display: inline-block; }
.home-section-desc { font-size: 14px; line-height: 1.75; color: var(--text); margin: -8px 0 18px; }
.home-section-desc p { margin: 0 0 16px; }
.home-section-desc p:last-child { margin-bottom: 0; }
.home-about-text { font-size: 14px; line-height: 1.75; color: var(--text); }
.home-about-text p { margin: 0 0 16px; }
.home-about-text p:last-child { margin-bottom: 0; }
.home-about-video { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.home-about-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Video gallery (Ulayaw) */
.home-video-carousel { position: relative; }
.home-video-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 4px; scrollbar-width: none; }
.home-video-grid::-webkit-scrollbar { display: none; }
.home-video-card { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.home-video-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.home-video-arrow-prev { left: -14px; }
.home-video-arrow-next { right: -14px; }
@media (max-width: 640px) {
  .home-video-arrow-prev, .home-video-arrow-next { display: none; }
}
.home-video-frame-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.home-video-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-video-title { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--navy); margin: 0; }

/* News & Updates / Student Activities post cards */
.home-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.home-post-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.home-post-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.home-post-card-img-wrap { position: relative; width: 100%; padding-top: 56%; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); }
.home-post-card-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-post-card:hover .home-post-card-img-wrap img { transform: scale(1.06); }
.home-post-card-carousel { position: absolute; inset: 0; }
.home-post-card-carousel img { opacity: 0; transition: opacity .7s ease, transform .35s ease; }
.home-post-card-carousel img.active { opacity: 1; }
.home-post-card-carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 1; }
.home-post-card-carousel-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.home-post-card-carousel-dots span.active { background: #fff; }
.home-post-card-body { padding: 14px 16px 16px; }
.home-post-card-headline { font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.35; }
.home-post-card-excerpt { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Post detail page (opens in its own tab) — mini photo carousel when a post has
   multiple images, followed by the headline and full body text. */
#postPageScreen { min-height: 100vh; background: var(--bg); }
.home-post-page-body { max-width: 760px; margin: 0 auto; padding: 32px 24px 60px; }
.home-post-detail-img-wrap { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.home-post-detail-img { width: 100%; max-height: 440px; object-fit: cover; display: block; }
.home-carousel-arrow { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.home-carousel-arrow:hover { background: var(--sky-light); }
.home-detail-img-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: none; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.home-detail-img-arrow-prev { left: 14px; }
.home-detail-img-arrow-next { right: 14px; }
.home-post-carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.home-post-carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; }
.home-post-carousel-dots span.active { background: var(--navy); }
.home-detail-img-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); margin-top: 0; }
.home-detail-img-dots span { background: rgba(255,255,255,.55); }
.home-detail-img-dots span.active { background: #fff; }
.home-post-detail-headline { font-size: 24px; color: var(--navy); margin: 0 0 16px; }
.home-post-detail-text { font-size: 14.5px; line-height: 1.8; color: var(--text); margin: 0 0 16px; }
.home-post-detail-text:last-child { margin-bottom: 0; }

/* "What We Do" marquee row */
.home-whatwedo-wrap { overflow: hidden; }
.home-whatwedo-mask { max-width: 1080px; margin: 0 auto; overflow: hidden; }
.home-whatwedo-track { display: flex; width: max-content; gap: 18px; animation: home-whatwedo-scroll 32s linear infinite; }
.home-whatwedo-track:hover { animation-play-state: paused; }
.home-whatwedo-card {
  width: 260px; flex-shrink: 0; border-radius: 14px; padding: 22px 20px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff;
  box-shadow: 0 6px 16px rgba(0,21,152,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home-whatwedo-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,21,152,.28); }
.home-whatwedo-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--sky); }
.home-whatwedo-card p { margin: 0; font-size: 13px; line-height: 1.6; color: #e8edf7; }
@keyframes home-whatwedo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-whatwedo-track { animation: none; }
}

/* ---------- About BACOMM: Recognition and Accreditation ---------- */
.recog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.recog-card {
  position: relative; overflow: hidden; cursor: pointer; border-radius: 14px;
  border: 1px solid var(--border, #e2e6ee); background: linear-gradient(160deg, #fff 0%, #f4f7fc 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: transform .3s ease, box-shadow .3s ease;
}
.recog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--sky)); z-index: 1; }
.recog-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,21,152,.16); }
.recog-card img { width: 100%; height: 190px; object-fit: contain; background: #fff; display: block; padding: 10px; box-sizing: border-box; }
.recog-card-caption { margin: 0; padding: 10px 14px 14px; font-size: 13px; font-weight: 700; color: var(--navy); text-align: center; }

.recog-lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(10,14,30,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.recog-lightbox-body { max-width: min(90vw, 720px); text-align: center; }
.recog-lightbox-body img { max-width: 100%; max-height: 78vh; border-radius: 8px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.recog-lightbox-body p { color: #fff; font-size: 14px; font-weight: 600; margin: 16px 0 0; }
.recog-lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .8; }
.recog-lightbox-close:hover { opacity: 1; }
.recog-lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.recog-lightbox-arrow:hover { background: rgba(255,255,255,.24); }
.recog-lightbox-arrow-prev { left: 20px; }
.recog-lightbox-arrow-next { right: 20px; }
@media (max-width: 640px) {
  .recog-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .recog-card img { height: 130px; }
  .recog-lightbox-arrow { width: 38px; height: 38px; }
}

/* Accreditation / ranking badges row */
.home-badges-wrap { background: #fff; border-top: 1px solid var(--border); padding: 32px 0; }
.home-badges-mask { max-width: 1080px; margin: 0 auto; overflow: hidden; }
.home-badges-track { display: flex; width: max-content; gap: 18px; animation: home-badges-scroll 18s linear infinite; }
.home-badges-track:hover { animation-play-state: paused; }
.home-badge-card { width: 150px; height: 110px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 12px; background: #fff; flex-shrink: 0; }
.home-badge-card img { width: 90px; height: 90px; object-fit: contain; }
@keyframes home-badges-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-badges-track { animation: none; }
}

/* Footer band */
.home-footer-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 28px 24px; }
.home-footer-band-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.home-footer-brand { display: flex; align-items: center; gap: 14px; }
.home-footer-seal { height: 48px; width: 48px; object-fit: contain; }
.home-footer-name { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.4; }
.home-footer-address { margin: 4px 0 0; font-size: 12px; color: var(--sky-light); opacity: 0.85; }
.home-footer-social { display: flex; gap: 10px; }
.home-footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s ease; }
.home-footer-social a:hover { background: rgba(255,255,255,.24); }

.home-footer { text-align: center; padding: 24px 20px 32px; }

@media (max-width: 860px) {
  .home-topbar { padding: 12px 16px; }
  .home-topbar-title { font-size: 11.5px; }
  .home-hero-carousel { aspect-ratio: 4 / 3; max-height: 320px; }
  .home-body { padding: 28px 16px 12px; }
  .home-post-grid { grid-template-columns: 1fr; }
  .home-video-card { flex-basis: 260px; }
  .home-hero-arrow { width: 32px; height: 32px; font-size: 15px; }
  .home-post-page-body { padding: 24px 16px 40px; }
  .home-post-detail-headline { font-size: 19px; }
  .home-detail-img-arrow { width: 32px; height: 32px; font-size: 15px; }
  .home-badge-card { width: 120px; height: 90px; }
  .home-footer-band-inner { justify-content: center; text-align: center; }
  .home-footer-brand { flex-direction: column; text-align: center; }
  .home-careers-hero { padding: 32px 18px 26px; }
  .home-careers-hero h1 { font-size: 21px; }
  .home-careers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .home-topbar { padding: 10px 12px; gap: 8px; }
  .home-topbar-brand { gap: 8px; }
  .home-topbar-seal { height: 32px; width: 32px; }
  .home-topbar-title { font-size: 10px; }
  .home-hamburger-btn { width: 34px; height: 34px; }
  .home-back-btn { width: 34px; height: 34px; margin-right: 8px; }
}


/* ================= INTERNSHIP PROGRAM (public page) ================= */
/* Wider reading column than the default post pages (760px) — this page
   carries grids and tab layouts that feel cramped at that width. */
#internshipScreen .home-post-page-body { max-width: 1040px; }
#alumniScreen .home-post-page-body { max-width: 1040px; }

.intern-notice { background: #fff4e5; border: 1px solid #f0c36d; color: #7a4a00; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 28px; font-size: 13.5px; font-weight: 600; }

.intern-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); opacity: .7; margin-bottom: 6px; }

.intern-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.intern-stat-card {
  flex: 1; min-width: 180px; text-align: center; border-radius: 14px; padding: 24px 16px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); box-shadow: 0 8px 20px -8px rgba(0, 21, 152, 0.45);
}
.intern-stat-num { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.intern-stat-label { font-size: 12.5px; color: var(--sky-light); margin-top: 8px; font-weight: 600; }

.intern-section { margin: 44px 0; padding-top: 30px; border-top: 1px solid var(--border); }
.intern-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.intern-section h2 { color: var(--text); margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.intern-section > .page-sub { max-width: 760px; font-size: 14.5px; }

.intern-legal-basis { margin-top: 16px; padding: 16px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }

.intern-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 20px; }
.intern-partner-card { border: 1px solid var(--border); border-radius: 14px; padding: 20px 18px; text-align: center; background: var(--card); box-shadow: 0 2px 10px -4px rgba(16, 26, 61, 0.08); transition: transform .15s ease, box-shadow .15s ease; }
.intern-partner-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -8px rgba(16, 26, 61, 0.18); }
.intern-partner-logo { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 12px; display: block; }
.intern-partner-logo-empty { display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--border); border: 2px dashed var(--border); border-radius: 50%; }
.intern-partner-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.intern-partner-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.intern-workflow { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.intern-wf-step { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--card); }
.intern-wf-highlight { border-color: var(--navy); background: var(--sky-light); }
.intern-wf-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13.5px; }
.intern-wf-badge { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); background: var(--sky-light); border-radius: 999px; padding: 3px 11px; margin-bottom: 5px; }
.intern-wf-body h3 { font-size: 15px; font-weight: 700; margin: 2px 0 4px; color: var(--text); }
.intern-wf-body p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.intern-elig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.intern-elig-item { display: flex; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.intern-elig-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.intern-elig-item h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.intern-elig-item p { font-size: 12px; color: var(--muted); }

.intern-req-tabs, .intern-folder-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 18px; }
.intern-tab-btn { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 9px 18px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--navy); transition: background .15s ease, color .15s ease; }
.intern-tab-btn:hover { background: var(--sky-light); }
.intern-tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.intern-tab-btn.active:hover { background: var(--navy); }
.intern-folder-badge { font-size: 10.5px; opacity: .8; margin-left: 4px; }

.intern-req-list { list-style: none; margin: 0; padding: 0; }
.intern-req-item { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; cursor: pointer; background: var(--card); transition: border-color .15s ease; }
.intern-req-item:hover { border-color: var(--navy); }
.intern-req-num { flex: none; font-weight: 800; color: var(--navy); font-size: 12.5px; }
.intern-req-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.intern-req-info strong { font-size: 14px; color: var(--text); }
.intern-req-info span { font-size: 12px; color: var(--muted); }
.intern-req-copies { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.intern-req-notarized { font-size: 10px; font-weight: 800; color: #a14b00; background: #ffe8cc; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.intern-req-toggle { flex: none; font-size: 18px; font-weight: 700; color: var(--navy); width: 20px; text-align: center; }
.intern-req-detail { display: none; font-size: 13px; color: var(--muted); line-height: 1.55; background: var(--bg); border-radius: 10px; padding: 14px 16px; margin: -4px 0 10px 40px; }
.intern-req-detail.open { display: block; }

.intern-reminder { border: 1px solid #f0c36d; background: #fff8ec; border-radius: 12px; padding: 16px 18px; margin-top: 22px; }
.intern-reminder-title { font-weight: 800; margin-bottom: 8px; color: #7a4a00; }
.intern-reminder ul { margin: 0; padding-left: 20px; font-size: 12.5px; color: #7a4a00; line-height: 1.6; }

.intern-dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 20px; }
.intern-dl-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px; background: var(--card); display: flex; flex-direction: column; }
.intern-dl-card h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.intern-dl-card p { font-size: 12px; color: var(--muted); margin-bottom: 14px; flex: 1; line-height: 1.5; }
.intern-dl-btn { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 8px 18px; text-decoration: none; }
.intern-dl-btn:hover { background: var(--navy-dark); }

.intern-legal-section { margin-top: 30px; }
.intern-legal-section h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.intern-legal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 14px; }
.intern-legal-card { border: 1px dashed var(--border); border-radius: 12px; padding: 16px 18px; background: var(--bg); }
.intern-legal-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.intern-legal-card p { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.intern-legal-notice { font-size: 10.5px; font-style: italic; color: var(--navy); font-weight: 600; }

.intern-predep-badge { font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.intern-predep-progress { margin-bottom: 16px; }
.intern-predep-progress-label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.intern-predep-track { height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.intern-predep-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--navy-dark)); transition: width .2s ease; }
.intern-predep-list { display: flex; flex-direction: column; gap: 8px; }
.intern-predep-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; cursor: pointer; background: var(--card); transition: border-color .15s ease; }
.intern-predep-item:hover { border-color: var(--navy); }
.intern-predep-checkbox { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: transparent; }
.intern-predep-item.checked { border-color: var(--navy); background: var(--sky-light); }
.intern-predep-item.checked .intern-predep-checkbox { background: var(--navy); border-color: var(--navy); color: #fff; }
.intern-predep-label { font-size: 13.5px; flex: 1; color: var(--text); }
.intern-predep-complete { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--green); }

.intern-eval-title { font-weight: 800; font-size: 14px; color: var(--text); margin: 20px 0 14px; }
.intern-crit-bar { margin-bottom: 16px; }
.intern-crit-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.intern-crit-track { height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.intern-crit-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--navy-dark)); }

/* ================= ALUMNI (public page) ================= */
.alum-hero-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 18px; padding: 44px 32px; text-align: center; color: #fff;
  margin-bottom: 8px;
}
.alum-hero-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-light); opacity: .8; margin-bottom: 14px; }
.alum-hero-divider { width: 48px; height: 2px; background: #c8a84b; margin: 0 auto 18px; border-radius: 2px; }
.alum-hero-headline { font-size: 28px; font-weight: 800; line-height: 1.25; margin: 0 auto 12px; max-width: 640px; }
.alum-hero-sub { font-size: 14px; color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto; line-height: 1.6; }
.alum-hero-cta { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.alum-hero-cta-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c8a84b; margin-bottom: 8px; }
.alum-hero-cta-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5; margin-bottom: 18px; }
.alum-hero-cta-btn { display: inline-block; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; text-decoration: none; padding: 12px 30px; border-radius: 999px; font-size: 13.5px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; }
.alum-hero-cta-btn:hover { filter: brightness(1.08); }
/* On the dark hero panel specifically, the navy-on-navy gradient has almost
   no contrast — swap to a light button there so it actually stands out. */
.alum-hero-cta .alum-hero-cta-btn { background: #fff; color: var(--navy); box-shadow: 0 6px 16px -4px rgba(0,0,0,.35); }
.alum-hero-cta .alum-hero-cta-btn:hover { filter: none; background: var(--sky-light); }

.alum-toolbar { margin-top: 16px; }
.alum-search { width: 100%; max-width: 480px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-family: inherit; box-sizing: border-box; }
.alum-search:focus { outline: none; border-color: var(--navy); }

.alum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 8px; }
.alum-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: 0 2px 10px -4px rgba(16, 26, 61, 0.08); display: flex; flex-direction: column; }
.alum-card-top { position: relative; padding: 22px 20px 34px; display: flex; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, #2f6fd6 100%); overflow: hidden; }
.alum-card-top::after { content: ''; position: absolute; left: -15%; right: -15%; bottom: -1px; height: 26px; background: var(--card); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.alum-year-chip { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.18); backdrop-filter: blur(2px); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.alum-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.alum-avatar-empty { display: flex; align-items: center; justify-content: center; background: #fff; color: var(--navy); font-weight: 800; font-size: 26px; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.alum-card-body { padding: 18px 20px 8px; flex: 1; margin-top: -14px; }
.alum-card-name { font-size: 15px; font-weight: 700; color: var(--text); }
.alum-card-title { font-size: 12px; color: var(--navy); font-weight: 600; margin: 2px 0 10px; line-height: 1.4; }
.alum-meta-row { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.alum-card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 8px; }
.alum-card-footer { padding: 10px 20px 18px; }
.alum-ind-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); background: var(--sky-light); border-radius: 999px; padding: 3px 11px; }

.alum-voices-panel { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); border-radius: 18px; padding: 36px 30px; }
.alum-voices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.alum-voice-card { border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px; background: rgba(255,255,255,.06); }
.alum-voice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.alum-voice-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(255,255,255,.25); }
.alum-voice-avatar-empty { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.15); color: #fff; font-weight: 800; font-size: 18px; border: 2px solid rgba(255,255,255,.25); }
.alum-voice-name { font-size: 13.5px; font-weight: 700; color: #fff; }
.alum-voice-role { font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: 1px; }
.alum-voice-batch { font-size: 10.5px; color: #c8a84b; font-weight: 700; margin-top: 2px; letter-spacing: .02em; }
.alum-voice-text { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; font-style: italic; margin: 0; }

@media (max-width: 700px) {
  .alum-hero-panel { padding: 32px 20px; }
  .alum-hero-headline { font-size: 22px; }
  .alum-voices-panel { padding: 26px 18px; }
}

/* ================= SHARED PAGE-LEVEL TAB BAR (Internship + Alumni) ================= */
.page-tab-bar-wrap { position: relative; margin: 28px 0 32px; }
.page-tab-bar {
  display: flex; flex-wrap: wrap; gap: 4px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 6px;
  position: sticky; top: 0; z-index: 5;
}
.page-tab-btn {
  flex: 1; min-width: 110px; border: none; background: transparent; border-radius: 10px;
  padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.page-tab-btn:hover { color: var(--navy); background: rgba(255,255,255,.6); }
.page-tab-btn.active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px -4px rgba(0,21,152,.4); }
@media (max-width: 700px) {
  .page-tab-bar { position: static; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .page-tab-bar::-webkit-scrollbar { display: none; }
  .page-tab-btn { flex: none; }
  /* Visual cue that the tab bar scrolls — a fade at the right edge plus a
     small arrow, so it doesn't look like "Overview" is the only tab. */
  .page-tab-bar-wrap::after {
    content: ''; position: absolute; top: 6px; right: 1px; bottom: 6px; width: 34px;
    background: linear-gradient(90deg, transparent, var(--bg) 70%);
    border-radius: 0 14px 14px 0; pointer-events: none;
  }
  .page-tab-bar-wrap::before {
    content: '›'; position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    font-size: 18px; font-weight: 800; color: var(--navy); opacity: .6; z-index: 1; pointer-events: none;
  }
}

/* ---- Alumni visual hierarchy / contrast polish ---- */
.alum-toolbar { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-top: 18px; }
.alum-result-count { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--navy); background: var(--sky-light); border-radius: 999px; padding: 4px 12px; margin: 14px 0 12px; }
.alum-card-name { font-size: 16px; }
.alum-card-title { font-size: 12.5px; }
.alum-card:hover { box-shadow: 0 10px 24px -8px rgba(16, 26, 61, 0.2); transform: translateY(-2px); transition: transform .15s ease, box-shadow .15s ease; }
.alum-voice-card:hover { background: rgba(255,255,255,.1); transition: background .15s ease; }

/* ================= TRACER STUDY WIZARD (full-screen overlay) ================= */
.tracer-overlay {
  position: fixed; inset: 0; background: #fff; z-index: 2000;
  overflow-y: auto; display: flex; flex-direction: column;
}
.tracer-shell { max-width: 640px; width: 100%; margin: 0 auto; padding: 60px 24px 80px; position: relative; flex: 1; display: flex; flex-direction: column; }
.tracer-close {
  position: fixed; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; font-size: 22px; line-height: 1; color: var(--muted);
  cursor: pointer; z-index: 2001;
}
.tracer-close:hover { background: var(--bg); color: var(--navy); }

.tracer-progress-track { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; margin-bottom: 40px; }
.tracer-progress-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--navy-dark)); transition: width .25s ease; }

.tracer-step-count { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); opacity: .7; margin-bottom: 10px; }
.tracer-question h2 { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.4; margin-bottom: 26px; }
.tracer-required { color: #c0392b; }

.tracer-field-wrap { margin-bottom: 8px; }
.tracer-input {
  width: 100%; padding: 14px 16px; border: none; border-bottom: 2px solid var(--border);
  font-size: 16px; font-family: inherit; box-sizing: border-box; background: transparent; resize: vertical;
}
.tracer-input:focus { outline: none; border-bottom-color: var(--navy); }

.tracer-options { display: flex; flex-wrap: wrap; gap: 10px; }
.tracer-option {
  border: 1.5px solid var(--border); background: #fff; border-radius: 12px; padding: 13px 18px;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.tracer-option:hover { border-color: var(--navy); }
.tracer-option.selected { border-color: var(--navy); background: var(--sky-light); color: var(--navy); }

.tracer-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }

.tracer-consent { text-align: center; margin: auto; max-width: 620px; }
.tracer-consent h2 { font-size: 24px; font-weight: 800; color: var(--text); margin-top: 14px; }
.tracer-consent-box { text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin-top: 24px; max-height: 280px; overflow-y: auto; }
.tracer-consent-box p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0; }

@media (max-width: 700px) {
  .tracer-shell { padding: 70px 18px 60px; }
  .tracer-question h2 { font-size: 19px; }
  .tracer-option { width: 100%; }
}

/* ---- Tracer Study admin: response detail rows ---- */
.tracer-detail-row { display: grid; grid-template-columns: 220px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tracer-detail-label { font-size: 11.5px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.tracer-detail-value { font-size: 13px; color: var(--text); white-space: pre-wrap; word-break: break-word; }
@media (max-width: 600px) {
  .tracer-detail-row { grid-template-columns: 1fr; gap: 3px; }
}

/* ---- Tracer wizard: combined "group" question (multiple fields, one screen) ---- */
.tracer-group { display: flex; flex-direction: column; gap: 20px; }
.tracer-group-field { text-align: left; }
.tracer-group-label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
select.tracer-input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555f7a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; cursor: pointer; }

/* ---- Tracer wizard: repeatable entries (skills, exams, trainings) ---- */
.tracer-repeater-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.tracer-repeater-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.tracer-repeater-item span { font-size: 13px; color: var(--text); text-align: left; }
.tracer-repeater-remove { flex: none; border: none; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; }
.tracer-repeater-remove:hover { color: #c0392b; }
.tracer-repeater-add-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tracer-repeater-add-row .tracer-input { flex: 1; min-width: 160px; }
.tracer-repeater-add-row-cols { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 500px) {
  .tracer-repeater-add-row-cols { grid-template-columns: repeat(3, 1fr) auto; align-items: center; }
}

/* ---- Tracer wizard: date field (fixes overlapping text + adds a clear icon) ---- */
.tracer-date-wrap { position: relative; display: flex; align-items: center; }
.tracer-date-input { width: 100%; height: 52px; line-height: 52px; padding: 0 40px 0 16px; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.tracer-date-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; opacity: .7; }

/* ---- Tracer wizard: feature photo upload ---- */
.tracer-file-wrap input[type="file"] { font-size: 13.5px; padding: 10px 0; }

/* ---- Tracer wizard: size/type-limit alert (must sit above .tracer-overlay's z-index:2000) ---- */
.tracer-alert-overlay {
  position: fixed; inset: 0; background: rgba(16, 26, 61, 0.55); z-index: 2100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tracer-alert-card {
  background: #fff; border-radius: 16px; padding: 28px 26px; max-width: 360px; width: 100%;
  text-align: center; box-shadow: 0 20px 50px -12px rgba(0,0,0,.35);
}
.tracer-alert-card p { font-size: 14px; color: var(--text); line-height: 1.6; margin: 0 0 20px; }

