* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #10233f;
  background: #071a35;
  position: relative;
}

/*
  Fixed background layer.
  This stays attached to the browser window while the page content scrolls.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(4, 20, 48, 0.38),
      rgba(4, 20, 48, 0.38)
    ),
    url("images/logo.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*
  The poster belongs to the hero instead of the entire page.
  This prevents the image from being heavily zoomed and cropped on phones.
*/

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: transparent;
}

.overlay {
  width: min(900px, 92%);
  padding: 38px 30px;
  background: transparent;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(0, 0, 0, 0.75);
}

.dates {
  color: #ffd84d;
  margin-top: 10px;
}


/* WEATHER CARD */

.weather-card {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 240px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #ffffff;
  text-align: right;
  z-index: 5;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(0, 0, 0, 0.8);
}

.weather-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

#weather-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

#weather-icon img {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.75));
}

#weather-temp {
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(0, 0, 0, 0.8);
}

#weather-location {
  margin-top: 3px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  opacity: 0.95;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.75);
}

#weather-condition {
  margin-top: 7px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: capitalize;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.75);
}

.weather-details {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 7px;
  padding-top: 0;
  border-top: none;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.75);
}

/* NAVIGATION */

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(8, 39, 84, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

nav button,
nav a {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.94);
  color: #082754;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

nav button:hover,
nav a:hover {
  transform: translateY(-2px);
  background: #ffd84d;
}

/* CONTENT */

main {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 70px 0;
}

.content-section {
  display: block;
  min-height: 55vh;
  margin-bottom: 70px;
  padding: 36px 10px;
  background: transparent;
  color: #ffffff;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(0, 0, 0, 0.75);
  scroll-margin-top: 95px;
}

/*
  This keeps compatibility with your existing JavaScript.
  All sections remain visible so the page scrolls naturally.
*/
.content-section.active {
  display: block;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
  padding-left: 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.8);
}

.card {
  background: transparent;
  padding: 18px 0;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.7);
}

.card h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.card p {
  line-height: 1.6;
}

.alert {
  border-left: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  background: #c71f37;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 17px;
  border-radius: 10px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #941529;
  transform: translateY(-2px);
}

/* FOOTER */

footer {
  text-align: center;
  background: rgba(5, 28, 65, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 24px;
}

/* TABLET */

@media (max-width: 900px) {
  .hero {
    min-height: 72vh;
    padding: 28px 18px;
    background-position: center top;
  }

  .weather-card {
    top: 16px;
    right: 16px;
    width: 190px;
    transform: scale(0.88);
    transform-origin: top right;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  body::before {
background-image: url("images/mobile-logo.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero {
    min-height: max(620px, 100svh);
    align-items: flex-end;
    padding: 0 14px 42px;
    background: transparent;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        transparent 0%,
        transparent 42%,
        rgba(4, 20, 48, 0.36) 58%,
        rgba(4, 20, 48, 0.92) 82%,
        #071a35 100%
      );
  }

  .overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 22px 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.05;
  }

  .hero p {
    font-size: 1rem;
  }

  /*
    The weather box competes with the artwork on narrow screens.
    Hide it on phones; it remains visible on tablets and desktop.
  */
  .weather-card {
    display: none;
  }

  main {
    width: min(94%, 1120px);
    padding: 45px 0;
  }

  .content-section {
    min-height: auto;
    margin-bottom: 45px;
    padding: 24px 4px;
  }

  nav {
    gap: 8px;
    padding: 12px;
  }

  nav button,
  nav a {
    flex: 1 1 42%;
    padding: 11px 10px;
  }

  .weather-details {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 590px;
    padding-bottom: 28px;
  }

  nav button,
  nav a {
    flex-basis: 100%;
  }

  .hero h1 {
    font-size: 2.05rem;
  }
}

/* Floating text refinements */

.content-section p,
.content-section li {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.75;
}

.card h3 {
  font-size: 1.5rem;
  color: #ffd84d;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(0, 0, 0, 0.75);
}

.grid {
  align-items: start;
}

@media (max-width: 700px) {
  .content-section {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* =========================================================
   BURGER MENU — DESKTOP AND MOBILE
   Requires:
   .mobile-header
   #menu-toggle
   #main-nav
   #menu-backdrop
   ========================================================= */

.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    height: 0;
    z-index: 1001;
    pointer-events: none;
}

.mobile-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1002;
    pointer-events: auto;
}

.menu-toggle span {
    display:block;
    width:28px;
    height:3px;
    margin:5px 0;
    border-radius:999px;
    background:#fff;
    transition:.25s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Replaces the normal horizontal navigation at every screen size */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1001;
  width: min(82vw, 340px);
  padding: 82px 18px 28px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  overflow-y: auto;
  background: #061831;
  box-shadow: 14px 0 40px rgba(0, 0, 0, 0.42);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
}

#main-nav.open {
  transform: translateX(0);
}

#main-nav a,
#main-nav button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

#main-nav a:hover,
#main-nav button:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.16);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.58);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-backdrop.show {
  visibility: visible;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

/* Keeps page content below the fixed burger header */
.hero {
  padding-top: 100px;
}

/* =========================================================
   MOBILE WEATHER — UPPER LEFT
   ========================================================= */

@media (max-width: 700px) {
  .weather-card {
    display: block;
    position: absolute;
    top: 74px;
    left: 14px;
    right: auto;
    width: 170px;
    padding: 0;
    text-align: left;
    transform: none;
    z-index: 6;
  }

  .weather-top {
    justify-content: flex-start;
    gap: 7px;
  }

  #weather-icon img {
    width: 42px;
    height: 42px;
  }

  #weather-temp {
    font-size: 1.9rem;
  }

  #weather-location {
    margin-top: 2px;
    font-size: 0.78rem;
  }

  #weather-condition {
    margin-top: 4px;
    font-size: 0.82rem;
  }

  .weather-details {
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px 10px;
    margin-top: 5px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 134px;
  }

  .mobile-title {
    font-size: 0.94rem;
  }
}

@media (max-width: 380px) {
  .weather-card {
    width: 150px;
  }

  .weather-details {
    font-size: 0.66rem;
  }
}

.information-page {
  min-height: 100vh;
  margin: 0;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.information-page .page-content {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

@media (max-width: 768px) {
  .information-page {
    background-image: url("images/mobile-logo.png");
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
  }
}
.schedule-card {
    max-width: 850px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(255,255,255,.92);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    color: #003366;
}

.schedule-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #b22222;
    font-size: 2rem;
    border-bottom: 3px solid #003366;
    padding-bottom: 10px;
}

.schedule-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #d9d9d9;
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    width: 180px;
    font-weight: bold;
    color: #b22222;
    flex-shrink: 0;
}

.details {
    flex: 1;
    line-height: 1.7;
}

.details strong {
    color: #003366;
}

.meet-start {
    background: #003366;
    color: #fff;
    border-radius: 8px;
    margin-top: 20px;
    padding: 20px;
}

.meet-start .time,
.meet-start strong,
.meet-start .event-title {
    color: #fff;
}

.event-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
}

@media (max-width: 700px) {
    .schedule-item {
        flex-direction: column;
    }

    .time {
        width: 100%;
        margin-bottom: 8px;
    }

    .schedule-card {
        padding: 20px;
    }

    .schedule-card h2 {
        font-size: 1.6rem;
    }
}

.schedule-section {
    margin-top: 22px;
    padding: 18px;
    background: rgba(240, 245, 250, 0.95);
    border-left: 5px solid #003366;
    border-radius: 8px;
}

.schedule-section h3 {
    margin: 0 0 12px;
    color: #b22222;
    font-size: 1.35rem;
}

.event-block {
    padding: 10px 0;
    line-height: 1.6;
}

.schedule-break {
    margin: 10px 0;
    padding: 10px 14px;
    background: #fff3cd;
    border: 1px solid #e0b84f;
    border-radius: 6px;
    color: #664d03;
    font-weight: bold;
    text-align: center;
}

.highlight-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-left-color: #b22222;
}

.highlight-section h3 {
    margin-bottom: 0;
}

.awards-section {
    background: #003366;
    color: #fff;
    border-left-color: #ffd700;
}

.awards-section h3 {
    color: #ffd700;
}

@media (max-width: 700px) {
    .schedule-section {
        padding: 15px;
    }

    .schedule-section h3 {
        font-size: 1.2rem;
    }
}
.vendor-card {
    max-width: 850px;
}

.vendor-intro {
    margin-bottom: 22px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 5px solid #b22222;
    border-radius: 8px;
    color: #003366;
    font-size: 1.05rem;
    font-weight: bold;
    text-align: center;
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vendor-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.offsite-vendors {
    margin-top: 28px;
    background: #003366;
    border-left-color: #ffd700;
    color: #ffffff;
}

.offsite-vendors h3 {
    color: #ffd700;
    text-align: center;
}

.offsite-vendor {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}

.offsite-vendor:last-child {
    border-bottom: none;
}

.vendor-name {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: bold;
}

.vendor-address {
    color: #ffd700;
    font-weight: bold;
    text-decoration: none;
}

.vendor-address:hover,
.vendor-address:focus {
    color: #ffffff;
    text-decoration: underline;
}

.vendor-note {
    display: inline-block;
    margin-left: 7px;
    padding: 4px 8px;
    background: #b22222;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    vertical-align: middle;
}

@media (max-width: 700px) {
    .vendor-grid {
        grid-template-columns: 1fr;
    }

.vendor-item strong {
    font-size: 1.1rem;
}

.vendor-item {
    min-height: 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

    .vendor-note {
        display: block;
        width: fit-content;
        margin: 7px auto 0;
    }
}

.vendor-description {
    margin-top: 8px;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
}

.parking-card {
    max-width: 950px;
}

.parking-notice {
    margin-bottom: 25px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 5px solid #003366;
    border-radius: 8px;
    color: #1f2f40;
    line-height: 1.7;
}

.parking-notice h3 {
    margin: 0 0 15px;
    color: #b22222;
    font-size: 1.4rem;
    text-align: center;
}

.parking-notice p {
    margin: 0 0 15px;
}

.parking-notice p:last-of-type {
    margin-bottom: 0;
}

.parking-warning {
    margin-top: 20px;
    padding: 16px;
    background: #fff3cd;
    border: 2px solid #e0b84f;
    border-radius: 8px;
    color: #5f4700;
    font-weight: 500;
}

.parking-warning strong {
    color: #b22222;
}

.parking-map {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    margin: 0 auto;

    border: 4px solid #003366;
    border-radius: 10px;
    box-sizing: border-box;
}

.parking-map-section h3 {
    margin-bottom: 10px;
}

.map-description {
    margin: 0 auto 18px;
    max-width: 700px;
    color: #1f2f40;
    line-height: 1.6;
}

.parking-map-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.parking-map {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    margin: 0 auto;

    border: 4px solid #003366;
    border-radius: 10px;
    box-sizing: border-box;
}

.parking-map-link:hover .parking-map,
.parking-map-link:focus .parking-map {
    transform: scale(1.01);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.map-instruction {
    margin: 12px 0 0;
    color: #5d6873;
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 700px) {
    .parking-notice {
        padding: 18px;
    }

    .parking-notice h3 {
        font-size: 1.25rem;
    }

    .parking-map {
        border-width: 3px;
        border-radius: 7px;
    }

    .parking-map-section {
        padding: 15px;
    }
}
/* FIX PARKING MAPS ON MOBILE AND DESKTOP */
.schedule-card.parking-card,
.parking-card .parking-map-section,
.parking-card .parking-map-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.parking-card .parking-map-section {
    overflow: hidden;
}

.parking-card .parking-map-link {
    display: block;
}

.parking-card img.parking-map {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto;
    box-sizing: border-box;
    object-fit: contain;
}

/* Mobile adjustments */
@media screen and (max-width: 700px) {
    .parking-card {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        margin: 20px auto;
        padding: 14px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .parking-card .parking-map-section {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        margin: 20px 0 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .parking-card img.parking-map {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-width: 3px;
    }
}

/* Accommodations */

.lodging-item {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 18px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,.08);
}

.lodging-item:last-child {
    margin-bottom: 0;
}

.lodging-name {
    color: #003366;
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.lodging-address {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.lodging-phone {
    color: #b22222;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 18px;
}

.lodging-button {
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: .25s;
}

.lodging-button:hover {
    background: #b22222;
    transform: translateY(-2px);
}

@media (max-width:700px){

    .lodging-item{
        padding:18px;
    }

    .lodging-name{
        font-size:1.2rem;
    }

    .lodging-button{
        width:100%;
        box-sizing:border-box;
    }

}

/* Sponsors */

.sponsor-card {
    max-width: 1100px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 260px;
    padding: 20px;

    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);

    transition: transform .25s ease,
                box-shadow .25s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.sponsor-item img {
    width: auto;
    height: auto;

    max-width: 90%;
    max-height: 180px;

    object-fit: contain;
}
@media (max-width:700px){

.sponsor-grid {
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.sponsor-item{
    min-height:180px;
}

.sponsor-item img{
    width:90%;
    max-width:700px;
    max-height:none;
}
}

/* ========================================
   FIX TEAM LOGOS
======================================== */

.teams-card {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 30px auto;
    box-sizing: border-box;
    overflow: hidden;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    box-sizing: border-box;
}

.team-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.team-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 100%;
    height: 280px;

    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.team-section img.team-logo {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 250px !important;

    min-width: 0 !important;

    margin: 0 auto !important;
    object-fit: contain !important;
}

.team-section h3 {
    margin: 15px 0 0;
    padding-top: 14px;
    border-top: 3px solid #003366;
    color: #b22222;
    font-size: 1.35rem;
}

/* Mobile */
@media screen and (max-width: 700px) {
    .teams-card {
        width: calc(100% - 24px);
        margin: 20px auto;
        padding: 14px;
    }

    .teams-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-section {
        padding: 14px;
    }

    .team-logo-wrap {
        height: 230px;
        padding: 10px;
    }

    .team-section img.team-logo {
        max-width: 100% !important;
        max-height: 210px !important;
    }
}


/* ========================================
   FINAL TEAMS PAGE OVERRIDE
   Keeps every logo inside its card
======================================== */

.teams-card {
    width: min(1100px, calc(100% - 40px));
    max-width: 1100px;
    margin: 30px auto;
    padding: 25px;
    overflow: hidden;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.team-section {
    min-width: 0;
    width: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.team-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 260px;
    padding: 12px;
    overflow: hidden;
}

.team-logo-wrap > img.team-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 230px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.team-section h3 {
    margin: 15px 0 0;
    padding-top: 14px;
    border-top: 3px solid #003366;
    color: #b22222;
    font-size: 1.35rem;
}

@media screen and (max-width: 700px) {
    .teams-card {
        width: calc(100% - 24px);
        margin: 20px auto;
        padding: 14px;
    }

    .teams-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-section {
        padding: 14px;
    }

    .team-logo-wrap {
        height: 210px;
        padding: 8px;
    }

    .team-logo-wrap > img.team-logo {
        max-width: 100% !important;
        max-height: 190px !important;
    }
}
/* ========================================
   HOME PAGE ANNOUNCEMENTS
======================================== */

/*
   Leaves a clear stretch of the background visible
   before the announcements begin.
*/
.home-scroll-break {
    min-height: 42vh;
    width: 100%;
    pointer-events: none;
}

.home-announcements {
    width: 100%;
    padding: 55px 20px 80px;
    background: transparent;
}
.announcements-card {
    max-width: 900px;
}

.announcement-list {
    display: grid;
    gap: 18px;
}

.announcement-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 20px;

    padding: 20px;

    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-left: 5px solid #003366;
    border-radius: 10px;

    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.1);
}

.announcement-date {
    color: #b22222;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
}

.announcement-content {
    min-width: 0;
}

.announcement-content h3 {
    margin: 0 0 9px;
    color: #003366;
    font-size: 1.2rem;
}

.announcement-content p {
    margin: 0;
    color: #34495e;
    line-height: 1.65;
}

.announcement-link {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 16px;

    background: #003366;
    border-radius: 22px;

    color: #ffffff;
    font-size: 0.92rem;
    font-weight: bold;
    text-decoration: none;
}

.announcement-link:hover,
.announcement-link:focus {
    background: #b22222;
}

/* Phone layout */
@media screen and (max-width: 700px) {
    .home-scroll-break {
        min-height: 28vh;
    }

    .home-announcements {
        padding: 35px 12px 55px;
    }

    .announcement-item {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 17px;
    }

    .announcement-date {
        padding-bottom: 7px;
        border-bottom: 1px solid #d9d9d9;
    }

    .announcement-content h3 {
        font-size: 1.1rem;
    }
}
.team-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 72px;
    height: 72px;
    transition: transform .2s ease;
}

.social-icon:hover {
    transform: scale(1.15);
}

.small-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sponsor-ad-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.sponsor-ad-card {
    width: 100%;
    max-width: 850px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    text-align: center;
}

.sponsor-ad-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.sponsor-deadline {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.sponsor-pricing {
    max-width: 600px;
    margin: 0 auto 25px;
}

.sponsor-pricing p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.sponsor-pricing strong {
    min-width: 90px;
}

.artwork-note {
    margin: 25px 0;
}

.race-sponsorship {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #ccc;
}

.race-sponsorship h3 {
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .sponsor-ad-card {
        padding: 22px 18px;
    }

    .sponsor-pricing p {
        flex-direction: column;
        gap: 4px;
    }
}

.vendor-description {
    margin-top: 8px;
    line-height: 1.5;
}

/* =========================
   THANK YOU NACHES PAGE
========================= */

.thank-you-page {
    min-height: 100vh;
    padding: 120px 20px 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.thank-you-card {
    width: min(950px, 100%);
    padding: 45px 40px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    text-align: center;
}

.thank-you-card h1 {
    font-size: clamp(2.3rem, 6vw, 4rem);
    margin-bottom: 25px;
}

.thank-you-intro {
    font-size: 1.3rem;
    font-weight: 600;
}

.thank-you-card p {
    line-height: 1.7;
    margin: 18px auto;
    max-width: 800px;
}

.thank-you-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.thank-you-link-card {
    padding: 30px 25px;
    border-radius: 15px;
    background: rgba(245, 245, 245, 0.95);
}

.thank-you-link-card h2 {
    margin-top: 0;
}

.thank-you-button {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 24px;
    background: #0b2c5d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.thank-you-button:hover {
    transform: translateY(-2px);
}

.thank-you-closing {
    margin-top: 45px;
}


/* MOBILE */

@media (max-width: 700px) {

    .thank-you-page {
        padding: 90px 15px 40px;
    }

    .thank-you-card {
        padding: 30px 20px;
    }

    .thank-you-links {
        grid-template-columns: 1fr;
    }

    .thank-you-intro {
        font-size: 1.1rem;
    }
}
 /* THANK YOU PAGE HAMBURGER MENU */

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.8);
    color: white;

    font-size: 28px;
    cursor: pointer;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -280px;

    width: 260px;
    height: 100vh;

    padding: 90px 20px 30px;

    background: rgba(5, 18, 45, 0.98);

    display: flex;
    flex-direction: column;
    gap: 10px;

    z-index: 1000;

    transition: left 0.3s ease;
}

.side-menu.active {
    left: 0;
}

.side-menu a {
    display: block;

    padding: 12px 15px;

    color: white;
    text-decoration: none;
    font-size: 1.05rem;

    border-radius: 6px;
}

.side-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
}

