/* ── Cookie Banner ─────────────────────────────── */

.cookie-banner {
  background: var(--udb-gray-800);
  color: var(--udb-gray-300);
  padding: 0.875rem 0;
  font-size: 0.8125rem;
  position: relative;
  z-index: 1000;
}
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cookie-banner p { margin: 0; flex: 1; color: var(--udb-gray-300); }
.cookie-banner a { color: var(--udb-gold-light); }
.cookie-btn {
  background: var(--udb-gold);
  color: var(--udb-white);
  border: none;
  padding: 0.4375rem 1.125rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
}
.cookie-btn:hover { background: var(--udb-gold-light); }

/* ── Header ────────────────────────────────────── */

.site-header {
  background: var(--udb-white);
  border-bottom: 1px solid var(--udb-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top utility bar */
.header-top-bar {
  background: var(--udb-navy);
  padding: 0.3125rem 0;
  font-size: 0.75rem;
}
.header-top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.header-top-bar a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color var(--transition-fast);
}
.header-top-bar a:hover { color: var(--udb-gold-light); }

/* Main header area */
.header-main {
  padding: 0.875rem 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--udb-navy);
}
.header-logo img {
  height: 48px;
  width: auto;
}
.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.0625rem;
  line-height: 1.25;
  color: var(--udb-navy);
}
.header-logo-subtitle {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--udb-gray-400);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.125rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-search-toggle {
  background: none;
  border: 1px solid var(--udb-gray-300);
  border-radius: 3px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--udb-gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}
.header-search-toggle:hover {
  border-color: var(--udb-navy);
  color: var(--udb-navy);
}

.info-for-btn {
  background: none;
  border: 1px solid var(--udb-gray-300);
  border-radius: 3px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--udb-navy);
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition-fast);
}
.info-for-btn:hover { border-color: var(--udb-navy); }

.info-for-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--udb-white);
  border: 1px solid var(--udb-gray-200);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  z-index: 200;
  padding: 0.375rem 0;
}
.info-for-btn:hover .info-for-dropdown { display: block; }
.info-for-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--udb-gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: background var(--transition-fast);
}
.info-for-dropdown a:hover {
  background: var(--udb-gray-50);
  color: var(--udb-navy);
}

/* ── Main Navigation ────────────────────────────── */

.main-nav {
  border-top: 1px solid var(--udb-gray-200);
}
.main-nav .container {
  display: flex;
  align-items: stretch;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  padding: 0.75rem;
  cursor: pointer;
  color: var(--udb-navy);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.nav-links li { position: relative; margin: 0; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9375rem;
  color: var(--udb-gray-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--udb-navy);
  border-bottom-color: var(--udb-gold);
}

.nav-links > li:hover > .dropdown { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--udb-white);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--udb-gray-200);
  border-radius: 0 0 6px 6px;
  border-top: 2px solid var(--udb-gold);
  z-index: 200;
  padding: 0.5rem 0;
}
.dropdown a {
  display: block;
  padding: 0.5rem 1.125rem;
  color: var(--udb-gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: all var(--transition-fast);
}
.dropdown a:hover {
  background: var(--udb-gray-50);
  color: var(--udb-navy);
  padding-left: 1.375rem;
}

/* ── Hero ───────────────────────────────────────── */

.hero {
  position: relative;
  height: 540px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transition: transform 8s ease-out;
}
.hero:hover .hero-bg { transform: scale(1.02); }

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12,20,41,0.88) 0%,
    rgba(12,20,41,0.65) 35%,
    rgba(12,20,41,0.25) 65%,
    rgba(12,20,41,0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5rem;
  max-width: 580px;
}

.hero h1 {
  color: var(--udb-white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ── Quick Links Bar ────────────────────────────── */

.quick-links-bar {
  background: var(--udb-white);
  border-bottom: 1px solid var(--udb-gray-200);
  padding: 1.25rem 0;
  margin-top: -1px;
  position: relative;
  z-index: 10;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--udb-gray-50);
  border: 1px solid var(--udb-gray-200);
  border-radius: 6px;
  text-decoration: none;
  color: var(--udb-navy);
  transition: all var(--transition-base);
}
.quick-link-card:hover {
  border-color: var(--udb-navy);
  background: var(--udb-white);
  color: var(--udb-navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.quick-link-icon {
  width: 40px;
  height: 40px;
  background: var(--udb-navy);
  color: var(--udb-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.quick-link-card h3 {
  font-size: 0.9375rem;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
}
.quick-link-card p {
  font-size: 0.8125rem;
  color: var(--udb-gray-500);
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

/* ── News Cards ─────────────────────────────────── */

.news-card {
  background: var(--udb-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-card-body { padding: 1.25rem; }
.news-card-date {
  font-size: 0.75rem;
  color: var(--udb-gray-400);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.news-card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.news-card-title a { text-decoration: none; }
.news-card-title a:hover { text-decoration: underline; text-decoration-color: var(--udb-gold); }
.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--udb-gray-500);
  line-height: 1.55;
  margin: 0;
}

/* ── Sidebar ────────────────────────────────────── */

.sidebar {
  background: var(--udb-gray-50);
  border-radius: 6px;
  padding: 1.5rem;
}
.sidebar h3 {
  font-size: 1rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--udb-gold);
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin-bottom: 0.125rem; }
.sidebar-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--udb-gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
}
.sidebar-nav a:hover { background: var(--udb-gray-200); color: var(--udb-navy); }
.sidebar-nav a.active { background: var(--udb-navy); color: var(--udb-white); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Event Cards ────────────────────────────────── */

.event-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--udb-white);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}
.event-card:hover { box-shadow: var(--shadow-md); }

.event-date {
  text-align: center;
  min-width: 56px;
  background: var(--udb-navy);
  color: var(--udb-white);
  border-radius: 6px;
  padding: 0.5rem 0.625rem;
  line-height: 1;
  flex-shrink: 0;
}
.event-date .event-month {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--udb-gold-light);
}
.event-date .event-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 900;
  margin-top: 0.125rem;
}

.event-info h3 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.event-info h3 a { text-decoration: none; }
.event-info h3 a:hover { text-decoration: underline; text-decoration-color: var(--udb-gold); }
.event-info p {
  font-size: 0.8125rem;
  color: var(--udb-gray-400);
  margin: 0;
}

/* ── Footer ─────────────────────────────────────── */

.site-footer {
  background: var(--udb-navy-dark);
  color: var(--udb-gray-400);
  padding: 3.5rem 0 0;
  margin-top: 0;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  line-height: 1.65;
  font-size: 0.8125rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--udb-white);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4375rem; }
.footer-col a {
  color: var(--udb-gray-400);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--udb-gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--udb-gray-500);
}
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a {
  color: var(--udb-gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-social a:hover { color: var(--udb-gold-light); }

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-top-bar { display: none; }

  .header-main .container { flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: flex-end; margin-top: 0.5rem; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-links.open { display: flex; }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    background: var(--udb-gray-50);
  }
  .dropdown a { padding-left: 2.25rem; }
  .dropdown a:hover { padding-left: 2.5rem; }

  .hero { height: 380px; }
  .hero-content { padding: 0 1.5rem; max-width: 100%; }
  .hero h1 { font-size: 1.875rem; }

  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .two-col { grid-template-columns: 1fr; }

  .cookie-banner .container { flex-direction: column; text-align: center; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
