/* =========================
   RESET + BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --uofc-red: #c8102e;
  --uofc-red-dark: #a50d25;
  --ink: #1f2933;
  --bg: #f3f4f6;
  --card: #ffffff;
  --border: #e5e7eb;
}

body {
  margin: 0;
  font-family: "Georgia", "Merriweather", serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

/* =========================
   TOP BANNER / NAV
   ========================= */
.top-banner {
  position: sticky;
  top: 0;
  z-index: 300;
  width: 100%;
  background-color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.top-banner .banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left + right groups */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* NAV LINKS AS RED BUTTONS */
.top-banner a,
.top-banner a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 16px;
  border-radius: 999px;

  background-color: var(--uofc-red);
  color: #fff;

  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  line-height: 1;

  box-shadow: 0 2px 6px rgba(200, 16, 46, 0.25);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.top-banner a:hover,
.top-banner a:focus-visible {
  background-color: var(--uofc-red-dark);
  box-shadow: 0 4px 10px rgba(200, 16, 46, 0.35);
  transform: translateY(-1px);
  outline: none;
}

.top-banner a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(200, 16, 46, 0.25);
}

/* Optional: current page style (add class="active" on that link) */
.top-banner a.active {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.8) inset, 0 2px 6px rgba(200, 16, 46, 0.25);
}

/* Responsive banner stacking */
@media (max-width: 768px) {
  body {
    padding-top: 110px; /* banner becomes taller when stacked */
  }

  .top-banner .banner-inner {
    flex-direction: column;
    align-items: center;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
  }
}

/* =========================
   CONTAINER / PAGE LAYOUT
   ========================= */
.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 28px 28px;
  background-color: var(--card);
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .container {
    margin: 18px 12px;
    padding: 22px 18px;
  }
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 0 28px 0;
  text-align: center;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #111827;
  letter-spacing: 0.01em;
}

p {
  font-size: 1.05rem;
  margin: 0 0 18px 0;
  max-width: 75ch;
}

.intro {
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 40px;
  color: #374151;
}

@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.2rem; }
  p, .intro { font-size: 1rem; }
}

/* =========================
   SECTIONS
   ========================= */
section {
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--border);
}

section:last-of-type {
  border-left: none;
  padding-left: 0;
  margin-bottom: 0;
}

/* =========================
   LINKS (non-banner)
   ========================= */
.container a {
  color: #1a365d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container a:hover {
  color: #111827;
}