/* =========================================================
   GLOBAL PREMIUM HEADER — Unified Header System
   (Safe: applies ONLY when body has class "page-header-global")
========================================================= */

.page-header-global .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0)
  );
  backdrop-filter: blur(4px);
}

/* 3‑column global grid */
.page-header-global .site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 0;
}

/* Global logo */
.page-header-global .logo {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

/* Global nav layout */
.page-header-global .main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

/* Global nav links */
.page-header-global .main-nav a {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 18px;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
  text-decoration: none;
}

/* Active underline */
.page-header-global .main-nav a.active {
  border-bottom: 3px solid #ffffff;
}

/* Spacer for right‑side balance */
.page-header-global .header-balance {
  width: 40px;
}

/* Mobile header */
@media (max-width: 600px) {
  .page-header-global .site-header .container {
    grid-template-columns: 1fr;
    row-gap: 10px;
    text-align: center;
  }

  .page-header-global .main-nav {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
  }
}

/* ============================================================
   CALENDAR PAGE — GLOBAL FOOTER (ISOLATED)
   ============================================================ */

.page-calendar .site-footer {
  font-family: 'Montserrat', sans-serif;
  background: #0d2247;
  padding: 28px 0 18px;
  border-top: 1px solid #0b1a33;
  color: #dbe4f3;
}

.page-calendar .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid #0b1a33;
  max-width: 1200px;
  margin: 0 auto;
}

.page-calendar .footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-calendar .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-calendar .footer-col ul li {
  margin-bottom: 4px;
}

.page-calendar .footer-col ul li a {
  font-size: 0.97rem;
  color: #dbe4f3;
  text-decoration: none;
  transition: 0.2s ease;
  position: relative;
  padding-left: 14px;
}

.page-calendar .footer-col ul li a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 1px;
  color: #9bb0d4;
  font-size: 0.7rem;
}

.page-calendar .footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-calendar .footer-bottom {
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #0b1a33;
}

.page-calendar .footer-bottom p {
  font-size: 0.93rem;
  color: #dbe4f3;
  letter-spacing: 0.25px;
}

.page-calendar .back-to-top {
  background: transparent;
  border: 1px solid #dbe4f3;
  color: #dbe4f3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
}

.page-calendar .back-to-top:hover {
  background: #dbe4f3;
  color: #0d2247;
}

