@import url("https://fonts.googleapis.com/css2?family=MuseoModerno:ital,wght@0,100..900;1,100..900&family=Zilla+Slab+Highlight:wght@400;700&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

html,
body {
  margin: 0px;
  font-family: Zilla Slab;
  font-size: clamp(1.2rem, 0.9rem + 0.4vw, 1.125rem);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: #004225;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

::selection {
  background-color: #004225;
  color: white;
}

header {
  background-color: #dac8ae;
}

footer {
  background-color: #dac8ae;
}

header nav a {
  font-family: Zilla Slab;
  font-weight: 600;
  text-decoration: none;
  color: #3a2a1a;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.1rem);
}

blockquote {
  border-left: 4px solid #ddd;
  padding-left: 12px;
  margin-left: 0;
  color: #555;
  font-style: italic;
}

.content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.col-centered {
  float: none;
  margin-right: auto;
  margin-left: auto;
}


.navbar-brand {
  margin-right: 0;
}

.navbar-brand img {
  display: block;
  width: clamp(160px, 45vw, 250px);
  height: auto;
}

.site-notice-wrap {
  background: linear-gradient(90deg, #e9dcc4 0%, #f7edd9 50%, #e9dcc4 100%);
  border-top: 1px solid #d7c2a0;
  border-bottom: 1px solid #d7c2a0;
  padding: 0.5rem 1rem;
}

.site-notice {
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
  color: #3a2a1a;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  padding: 0.1rem 0;
  line-height: 1.35;
}

.site-notice__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  background: #004225;
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-right: 0.55rem;
}

.site-notice__text {
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.05rem);
  font-weight: 600;
}

h1 {
  font-family: Zilla Slab Highlight;
  font-size: clamp(1.5rem, 1rem + 2.25vw, 2.75rem);
  font-weight: bold !important;
}

h2 {
  font-family: Zilla Slab Highlight;
  font-weight: bolder !important;
}

.hero {
  width: 100%;
  height: 60vh;
  background-image:
    linear-gradient(var(--hero-overlay, rgba(0, 0, 0, 0.5)), var(--hero-overlay, rgba(0, 0, 0, 0.5))),
    var(--hero-image, url(/img/CF_BIRMINGHAM_0072.JPG));
  background-size: cover;
  background-position-x: center;
  background-position-y: var(--hero-position-y, center);
  line-height: 1.1;
}

.hero--image {
  background-size: cover;
}

.hero--video {
  position: relative;
  overflow: hidden;
  line-height: normal;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/img/CF_BIRMINGHAM_0072.JPG);
  background-size: cover;
  background-position: center;
}

.hero--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
}

.hero h1 {
  font-family: Zilla Slab Highlight;
  color: white;
  font-size: clamp(2.5rem, 1.5rem + 6vw, 5rem);
}

.hero h2 {
  font-family: Zilla Slab;
  color: white;
  font-size: clamp(1.25rem, 1rem + 2.5vw, 2.2rem);
}

.hero h3,
.hero .hero-meta {
  font-family: Zilla Slab;
  color: white;
  font-size: clamp(1.05rem, 0.95rem + 1.6vw, 1.75rem);
  margin-bottom: 5px;
}

.hero h4,
.hero .hero-submeta {
  font-family: Zilla Slab;
  color: white;
  font-size: clamp(1rem, 0.9rem + 1.2vw, 1.5rem);
}

.hero-logo {
  width: 30%;
}

.hero-logo--wide {
  width: 60%;
}

.events {
  display: flex;
  flex-direction: column;
}

.event-card {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--card-image, none);
  background-color: aquamarine;
  background-size: cover;
  background-position-x: center;
  background-position-y: var(--card-position-y, center);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 20px;
  width: 100%;
  height: 30vh;
  color: white;
}

.event-card__logo {
  width: 35%;
  margin-bottom: 0.1vh;
}

.btn {
  background-color: #004225;
  border-radius: 15px;
  padding: 10px;
  color: white;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid #004225;
  outline-offset: 3px;
}
.event-project {
  background: rgba(0, 66, 37, 0.98);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  margin: 0;
  display: block;
  color: white;
  text-decoration: none;
}

.event-project img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.event-project__media {
  margin-bottom: 0.75rem;
  border-radius: 14px;
  overflow: hidden;
}

.event-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.event-project__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
}

.event-project__authors {
  margin: 0;
}

.projects-showcase {
  margin-bottom: 1.5rem;
}

.projects-showcase__row {
  position: relative;
}

.projects-showcase__row--podium {
  padding: 0;
}

.projects-showcase .event-project {
  position: relative;
  height: 100%;
  gap: 0;
}

.projects-showcase .event-project--winner,
.projects-showcase .event-project--runnerup,
.projects-showcase .event-project--third {
  transform: none;
}

.event-project--winner {
  border-color: rgba(255, 238, 184, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.projects-showcase__row--podium .event-project--winner .event-project__title {
  font-size: 1.4rem;
}

.event-project__label {
  margin: 0 0 0.6rem;
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 233, 186, 0.95);
  color: #3a2a1a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-project__label--silver {
  background: rgba(243, 245, 247, 0.95);
}

.event-project__label--bronze {
  background: rgba(244, 208, 179, 0.95);
}

.gallery-carousel .carousel-inner {
  overflow: hidden;
}

.gallery-carousel__image {
  border-radius: 12px;
  max-height: 70vh;
  object-fit: cover;
}

.gallery-carousel__control {
  width: 3rem;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  text-decoration: none;
}

.sponsor-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* @media (max-width: 768px) {
  html,
  body {
    font-size: 16px;
  }

  header nav a {
    font-size: 1rem;
  }

  .site-notice-wrap {
    padding: 0.45rem 0.7rem;
  }

  .site-notice {
    width: 100%;
    padding: 0.1rem 0;
  }

  .site-notice__label {
    margin-right: 0.35rem;
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
  }

  .site-notice__text {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .hero {
    line-height: normal;
    gap: 0.75rem;
    background-position-y: center !important;
  }

  .hero img {
    width: 55%;
  }

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

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero h3,
  .hero .hero-meta {
    font-size: 1.3rem;
  }

  .hero h4,
  .hero .hero-submeta {
    font-size: 1.1rem;
  }

  .gallery-carousel,
  .sponsor-carousel {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .projects-showcase__row--podium,
  .projects-showcase__row--rest {
    padding: 0;
  }

  .projects-showcase__row--podium .event-project--winner .event-project__title {
    font-size: 1.25rem;
  }

  .gallery-carousel .carousel-item {
    padding: 0.35rem 2.35rem 1.5rem;
  }

  .sponsor-carousel {
    padding: 0.75rem 0.25rem 0.4rem;
  }

  .gallery-carousel__image {
    max-height: 52vh;
  }
}

#image-carousel .splide__slide {
  height: auto !important;
}

#image-carousel .splide__slide img {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 10px;
  display: block;
}

.splide__slide img {
  width: 100%;
  height: auto;
}

iframe {
  width: 100%;
  height: auto;
  border: none;
  display: block;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero--video video {
    display: none;
  }
} */
