/* ==========================================================================
   Book Exhibition 2027 - Knowledge Resource Centre, IIT Hyderabad
   Authentic Institutional Academic Event Styling
   ========================================================================== */

:root {
  --navy: #063b70;
  --navy-dark: #042649;
  --navy-light: #0d4e92;
  --navy-subtle: #eff6ff;
  --gold: #b45309;
  --gold-hover: #92400e;
  --gold-soft: #fef3c7;
  --gold-border: #fde68a;
  --teal: #087f82;
  --teal-soft: #ccfbf1;
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(6, 59, 112, 0.08);
  --shadow-lg: 0 10px 25px rgba(6, 59, 112, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Cinzel', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  margin: 0;
  padding-top: 70px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  font-size: 16px;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.navbar {
  padding: 0;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}

.nav-brand-area {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.navbar-brand,
.nav-brand {
  display: flex;
  align-items: center;
  max-height: 54px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.navbar-brand img,
.nav-brand img,
.nav-brand-area img {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain;
  display: block;
}

.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-left: 1px solid var(--border);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-back-link:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.control-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  font-size: 14px;
  padding: 0;
  flex-shrink: 0;
}

.control-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.navbar-toggler {
  display: none !important;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-links li a {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--navy);
  background: var(--bg-alt);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .nav-container {
    flex-wrap: nowrap;
    padding: 8px 16px;
    position: relative;
  }
  .nav-right-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .navbar-toggler {
    display: inline-flex !important;
  }
  .navbar-collapse {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    padding: 12px 16px;
    z-index: 1000;
  }
  .navbar-collapse.show {
    display: flex !important;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 3px;
  }
  .nav-links li a {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .nav-back-link {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 20px 64px;
  text-align: center;
}

.hero-container {
  max-width: 980px;
  margin: 0 auto;
}

.hero-header-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
}

.inst-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.dept-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 32px;
}

/* Hero Schedule Bar */
.hero-schedule-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.schedule-icon {
  font-size: 24px;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.schedule-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.schedule-val {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .hero-schedule-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Countdown to Exhibition */
.hero-countdown-strip {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 18px 24px 22px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.countdown-heading {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-heading i {
  color: var(--gold);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown-cell {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
}

.countdown-digit {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 520px) {
  .countdown-grid {
    gap: 8px;
  }
  .countdown-digit {
    font-size: 22px;
  }
  .countdown-unit {
    font-size: 10px;
  }
}

/* Action Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary-gold {
  background: var(--gold);
  color: #ffffff !important;
  border-color: var(--gold);
}

.btn-primary-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary-blue {
  background: var(--navy);
  color: #ffffff !important;
  border-color: var(--navy);
}

.btn-primary-blue:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-secondary-white {
  background: #ffffff;
  color: var(--navy) !important;
  border-color: var(--border-strong);
}

.btn-secondary-white:hover {
  background: var(--bg-alt);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
  font-size: 13.5px;
  padding: 8px 16px;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #ffffff !important;
}

.btn-large {
  padding: 13px 26px;
  font-size: 15px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   General Content Sections & Typography
   ========================================================================== */
.content-section {
  padding: 64px 20px;
}

.section-alternate {
  background-color: var(--bg-alt);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-divider {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 18px;
}

/* ==========================================================================
   About Section & Info Grid
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.info-icon {
  font-size: 24px;
  color: var(--navy);
  flex-shrink: 0;
}

.info-card-header h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   Showcase Carousel (29:10 Aspect Ratio, No Gap)
   ========================================================================== */
.carousel-wrapper {
  max-width: 1160px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 29 / 10;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #000000;
  box-shadow: var(--shadow-md);
}

/* Important: Override Bootstrap hardcoded 550px height */
.carousel-container .carousel-inner {
  position: relative;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 29 / 10;
  overflow: hidden;
}

.carousel-container .carousel-item {
  display: none;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 29 / 10;
}

.carousel-container .carousel-item.active {
  display: block;
}

.carousel-container .carousel-item img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 29 / 10;
  object-fit: cover;
  display: block;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.carousel-nav-btn:hover {
  background: #ffffff;
  color: var(--gold);
}

.carousel-nav-btn.prev {
  left: 16px;
}

.carousel-nav-btn.next {
  right: 16px;
}

.carousel-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: var(--navy);
  transform: scale(1.25);
}

/* ==========================================================================
   Book Nomination for Best Book Awards 2027
   ========================================================================== */
.official-notice-box {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}

.notice-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  padding: 5px 12px;
  border-radius: 4px;
}

.notice-deadline {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.notice-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.notice-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 24px;
}

.notice-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-bottom: 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}

.notice-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nomination-steps {
  margin: 0;
  padding-left: 20px;
}

.nomination-steps li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.link-bold {
  color: var(--navy);
  font-weight: 600;
  word-break: break-all;
  text-decoration: underline;
}

.address-block {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
}

.contact-mini-block {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-mini-block a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.notice-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .notice-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
}

/* ==========================================================================
   Forms & Book Suggestions
   ========================================================================== */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.portal-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.portal-icon {
  font-size: 22px;
  color: var(--navy);
}

.portal-card-top h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.portal-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.portal-status-row {
  margin-top: auto;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  width: 100%;
  justify-content: center;
}

.status-upcoming {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

@media (max-width: 900px) {
  .forms-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   Sponsors & Sponsorship Collapsible Table
   ========================================================================== */
.sponsors-showcase {
  text-align: center;
  margin-bottom: 44px;
}

.sponsors-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}

.sponsor-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.sponsor-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sponsor-edition-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sponsor-logo {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 12px;
}

.sponsor-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Sponsorship Accordion */
.sponsorship-container {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sponsorship-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  background: var(--navy);
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.toggle-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sponsorship-heading {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.sponsorship-subheading {
  font-size: 13px;
  color: #cbd5e1;
}

.sponsorship-chevron {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.sponsorship-table-body {
  padding: 26px;
  background: #ffffff;
}

.sponsorship-table-body.collapsed {
  display: none;
}

.sponsorship-lead {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-sponsorship {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-sponsorship th {
  background: #042649;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--border-strong);
}

.table-sponsorship td {
  padding: 14px;
  vertical-align: top;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.55;
}

.table-sponsorship tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

.price-cell {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.gst-text {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.benefits-ul {
  margin: 0;
  padding-left: 18px;
}

.benefits-ul li {
  margin-bottom: 6px;
}

.benefits-ul li:last-child {
  margin-bottom: 0;
}

.sponsorship-contact-note {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-left: 3px solid var(--navy);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.sponsorship-contact-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   Archive & Highlights (2026 Edition)
   ========================================================================== */
.archive-block {
  margin-top: 10px;
}

.archive-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.photo-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-thumb-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.photo-thumb-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-thumb-card:hover img {
  transform: scale(1.03);
}

.photo-caption {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: #ffffff;
  border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .photo-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .photo-highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* Press & Media Grid */
.media-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.media-card-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.media-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 8px;
}

.media-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.media-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 14px;
  flex-grow: 1;
}

.media-read-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.media-read-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-icon {
  font-size: 20px;
  color: var(--navy);
}

.contact-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.contact-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-card-body a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
}

.lightbox-caption-text {
  padding: 12px 18px;
  color: #ffffff;
  background: #1e293b;
  font-size: 14px;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 36px 20px;
  font-size: 14px;
  border-top: 3px solid var(--gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left p {
  margin: 0;
  line-height: 1.5;
}

.footer-subtext {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px !important;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Dark Mode & Accessibility Mode Support
   ========================================================================== */
body.dark-mode {
  --bg-body: #0b1120;
  --bg-alt: #0f172a;
  --bg-card: #1e293b;
  --border: #334155;
  --border-strong: #475569;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  background-color: var(--bg-body);
  color: var(--text-primary);
}

body.dark-mode .site-header {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .nav-links li a {
  color: #cbd5e1;
}

body.dark-mode .nav-links li a:hover {
  background: #1e293b;
  color: #ffffff;
}

body.dark-mode .hero-section {
  background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  border-color: #334155;
}

body.dark-mode .hero-title,
body.dark-mode .section-title,
body.dark-mode .inst-name,
body.dark-mode .info-card-header h3,
body.dark-mode .portal-card-top h3,
body.dark-mode .contact-card-header h3 {
  color: #f8fafc;
}

body.dark-mode .hero-schedule-bar,
body.dark-mode .hero-countdown-strip,
body.dark-mode .official-notice-box,
body.dark-mode .sponsors-invite-card,
body.dark-mode .portal-card,
body.dark-mode .info-card,
body.dark-mode .contact-card,
body.dark-mode .sponsor-item,
body.dark-mode .media-card-item,
body.dark-mode .photo-thumb-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .countdown-cell {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .countdown-digit {
  color: #f8fafc;
}

body.dark-mode .countdown-heading {
  color: #cbd5e1;
}

body.dark-mode .photo-caption {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

body.dark-mode .notice-two-col,
body.dark-mode .address-block,
body.dark-mode .sponsorship-table-body,
body.dark-mode .sponsorship-contact-note {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .table-sponsorship td {
  border-color: #334155;
  color: #cbd5e1;
}

body.dark-mode .table-sponsorship tbody tr:nth-child(even) {
  background: #162032;
}

body.dark-mode .btn-secondary-white {
  background: #1e293b;
  color: #f8fafc !important;
  border-color: #475569;
}

body.dark-mode .btn-secondary-white:hover {
  background: #334155;
}

body.dark-mode .control-btn {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #475569;
}

body.dark-mode .navbar-toggler {
  color: #f8fafc;
  border-color: #475569;
}

@media (max-width: 1024px) {
  body.dark-mode .navbar-collapse {
    background: #0f172a;
    border-color: #334155;
  }
}

body.accessibility-mode {
  font-family: 'OpenDyslexic', sans-serif !important;
  line-height: 1.85 !important;
  letter-spacing: 0.05em !important;
}

body.accessibility-mode .hero-title,
body.accessibility-mode .section-title,
body.accessibility-mode .notice-title,
body.accessibility-mode h1,
body.accessibility-mode h2,
body.accessibility-mode h3,
body.accessibility-mode h4 {
  font-family: 'OpenDyslexic', sans-serif !important;
}
