/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

/* ===================== */
/* HEADER / NAVBAR       */
/* ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-cream);
  height: 95px;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  align-items: center;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.header__logo img {
  height: 85px;
  width: 179px;
  object-fit: contain;
}


.nav__list {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav__link {
  position: relative;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  line-height: 60px;
  padding-bottom: 6px;
  transition: color 0.3s;
}

.nav__link:hover {
  color: var(--color-orange);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link--active,
.nav__link--active:hover {
  color: inherit;
}

/* Nav Dropdown (Info) */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 120;
  min-width: 260px;
  padding: 8px 0;
}

.nav__item--dropdown:hover .nav__dropdown {
  display: block;
}

.nav__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.4;
  color: var(--color-black);
  transition: background-color 0.2s, color 0.2s;
}

.nav__dropdown-link:hover {
  background-color: var(--color-cream);
  color: var(--color-orange);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.btn--primary {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #FC6F20;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  position: relative;
  user-select: none;
}

.lang-selector__flag {
  width: 18px;
  height: 18px;
  border-radius: 2px;
}

.lang-selector__chevron {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
  transition: transform 0.3s;
}

.lang-selector--open .lang-selector__chevron {
  transform: rotate(0deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 120;
  min-width: 140px;
}

.lang-dropdown--open {
  display: block;
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lang-dropdown__item:hover {
  background-color: var(--color-cream);
}

.lang-dropdown__item--active {
  font-weight: 600;
  color: var(--color-orange);
}

.lang-dropdown__item img {
  width: 18px;
  height: 18px;
  border-radius: 2px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger__line {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger__line + .hamburger__line {
  margin-top: 5px;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__mobile-actions {
  display: none;
}

/* ===================== */
/* HERO SECTION          */
/* ===================== */
.hero {
  position: relative;
  height: 840px;
  overflow: hidden;
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(21, 33, 55, 0.7) 0%, rgba(21, 33, 55, 0) 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}

.hero__wma-logo {
  height: 100px;
  width: auto;
  margin-bottom: 30px;
}

.hero__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 40px;
  margin-bottom: 10px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  color: var(--color-orange);
  line-height: 40px;
  margin-bottom: 15px;
}

.hero__countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.countdown__item {
  width: 100px;
  height: 100px;
  background-color: var(--color-orange);
  border-radius: var(--radius-button);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown__number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-white);
  line-height: 1;
}

.countdown__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  line-height: 1;
  margin-top: 4px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 50px;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 15px;
  font-style: italic;
}

/* ===================== */
/* WHEN AND WHERE        */
/* ===================== */
.when-where {
  background-color: var(--color-cream);
  padding: 80px 0;
}

.when-where .container {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

.when-where__images {
  position: relative;
  width: 600px;
  height: 570px;
  flex-shrink: 0;
}

.when-where__img {
  position: absolute;
  border-radius: var(--radius-card);
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.when-where__images:hover .when-where__img--1,
.when-where__images--animate .when-where__img--1 {
  transform: translate(-8px, -10px) rotate(-1.5deg);
}

.when-where__images:hover .when-where__img--2,
.when-where__images--animate .when-where__img--2 {
  transform: translate(10px, -6px) rotate(1deg);
}

.when-where__images:hover .when-where__img--3,
.when-where__images--animate .when-where__img--3 {
  transform: translate(-6px, 8px) rotate(1.5deg);
}

.when-where__img--1 {
  top: 0;
  left: 0;
  width: 400px;
  height: 267px;
}

.when-where__img--2 {
  top: 120px;
  left: 310px;
  width: 309px;
  height: 288px;
}

.when-where__img--3 {
  top: 290px;
  left: 50px;
  width: 296px;
  height: 277px;
}

.when-where__info {
  flex: 1;
  padding-top: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 50px;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 60px;
  margin-bottom: 20px;
}

.when-where__description {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 40px;
  max-width: 706px;
}

.when-where__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-item__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.detail-item__text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
}

/* ===================== */
/* RUNNING THROUGH ZAGREB */
/* ===================== */
.gallery {
  padding: 60px 0 80px;
}

.gallery__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.gallery__arrow {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: filter 0.3s;
}

.gallery__arrow:hover {
  filter: invert(55%) sepia(96%) saturate(600%) hue-rotate(360deg) brightness(100%) contrast(96%);
}

.gallery__arrow--right {
  transform: rotate(180deg);
}

.gallery__title {
  margin-bottom: 0;
  text-align: center;
}

.gallery__images {
  display: flex;
  gap: 0;
  overflow: hidden;
  scroll-behavior: smooth;
}

.gallery__images img {
  width: calc(100% / 3);
  height: 515px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.gallery__images img:hover {
  opacity: 0.85;
}

/* Gallery Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox--open {
  display: flex;
}

.lightbox__img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-button);
  user-select: none;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close::before,
.lightbox__close::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
}

.lightbox__close::before {
  transform: rotate(45deg);
}

.lightbox__close::after {
  transform: rotate(-45deg);
}

.lightbox__close:hover::before,
.lightbox__close:hover::after {
  background-color: var(--color-orange);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.lightbox__arrow:hover img {
  filter: invert(55%) sepia(96%) saturate(600%) hue-rotate(360deg) brightness(100%) contrast(96%);
}

.lightbox__arrow--prev {
  left: 24px;
}

.lightbox__arrow--next {
  right: 24px;
}

.lightbox__arrow--next img {
  transform: rotate(180deg);
}

.lightbox__arrow img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.7;
}

/* ===================== */
/* ABOUT PAGE            */
/* ===================== */
.about-hero {
  position: relative;
  height: 662px;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(21, 33, 55, 0.7) 0%, rgba(21, 33, 55, 0) 70%);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-hero__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  color: var(--color-orange);
  line-height: 40px;
}

.about-hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 100px;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 100px;
  margin-top: 8px;
}

.about-section {
  padding: 80px 0;
}

.about-section--cream {
  background-color: var(--color-cream);
}

.about-section .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.about-section__text {
  max-width: 952px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 30px;
  text-align: justify;
}

.about-section__text p {
  margin-bottom: 20px;
}

.about-section__text p:last-child {
  margin-bottom: 0;
}

.about-section__text strong {
  font-weight: 700;
}

.about-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.about-logos img {
  height: 100px;
  width: auto;
}

.about-organizers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 50px;
}

.about-organizers img {
  height: 117px;
  width: auto;
}

/* ===================== */
/* REPRESENT YOUR COUNTRY */
/* ===================== */
.represent {
  background-color: var(--color-white);
  padding: 80px 0;
}

.represent .container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.represent__content {
  flex: 1;
  max-width: 663px;
}

.represent__text {
  font-size: 18px;
  line-height: 30px;
  margin-top: 30px;
}

.represent__text p {
  margin-bottom: 20px;
}

.represent__text p:last-child {
  margin-bottom: 0;
}

.represent__illustration {
  flex-shrink: 0;
  width: 628px;
}

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

/* ===================== */
/* PARTNERS              */
/* ===================== */
.partners {
  padding: 60px 0;
}

.partners__organizers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 90px;
}

.partners__organizers img {
  height: auto;
  width: auto;
  flex-shrink: 1;
}

.partners__organizers img:nth-child(1) {
  width: 266px;
}

.partners__organizers img:nth-child(2) {
  width: 296px;
}

.partners__organizers img:nth-child(3) {
  width: 340px;
}

.partners__sponsors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.partners__sponsors img {
  height: auto;
  width: auto;
}

.partners__sponsors img:nth-child(1) {
  height: 52px;
}

.partners__sponsors img:nth-child(2) {
  height: 24px;
}

.partners__sponsors img:nth-child(3) {
  height: 40px;
}

.partners__sponsors img:nth-child(4) {
  height: 40px;
}

.partners__institutions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 70px;
}

.partners__institutions img {
  height: auto;
  width: auto;
}

.partners__institutions img:nth-child(1) {
  height: 104px;
}

.partners__institutions img:nth-child(2) {
  height: 56px;
}

.partners__institutions img:nth-child(3) {
  height: 60px;
}

.partners__institutions img:nth-child(4) {
  height: 96px;
}

.partners__institutions img:nth-child(5) {
  height: 112px;
}

/* ===================== */
/* NEWS                  */
/* ===================== */
.news {
  background-color: var(--color-cream);
  padding: 80px 0;
}

.news .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.news__grid {
  display: flex;
  gap: 40px;
}

.news-card {
  flex: 1;
  text-align: center;
}

.news-card__image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
}

.news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 10px;
}

.news-card__date-icon {
  width: 14px;
  height: 14px;
}

.news-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  line-height: 32px;
  color: var(--color-black);
  max-width: 352px;
  margin: 0 auto;
}

/* ===================== */
/* NEWS ARTICLE          */
/* ===================== */
.article-hero {
  position: relative;
  height: 662px;
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.article-content {
  padding: 40px 0 80px;
}

.article-content__inner {
  max-width: 952px;
  margin: 0 auto;
}

.article-content__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 12px;
}

.article-content__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 50px;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 60px;
  margin-bottom: 24px;
  text-align: center;
}

.article-content__text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 30px;
  text-align: justify;
}

.article-content__text p {
  margin-bottom: 20px;
}

.article-content__text p:last-child {
  margin-bottom: 0;
}

.article-content__image {
  width: 100%;
  height: 635px;
  object-fit: cover;
  object-position: top;
  margin: 30px 0;
}

/* ===================== */
/* NEWS PAGE             */
/* ===================== */
.newspage {
  padding: 50px 0 80px;
}

.newspage__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.newspage__grid .news-card {
  flex: 0 0 calc((100% - 60px) / 3);
  text-align: center;
}

/* ===================== */
/* INFO PAGES            */
/* ===================== */

/* Info Hero */
.info-hero {
  position: relative;
  height: 337px;
  overflow: hidden;
}

.info-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.info-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(21, 33, 55, 0.7) 0%, rgba(21, 33, 55, 0) 70%);
}

.info-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.info-hero__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 25px;
  color: var(--color-orange);
  line-height: 1.4;
}

.info-hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 80px;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px;
}

/* Info Content Layout */
.info-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.info-content__layout {
  display: flex;
  gap: 0;
  padding: 60px 0 80px;
}

/* Info Sidebar */
.info-sidebar {
  position: sticky;
  top: 115px;
  width: 220px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-right: 30px;
}

.info-sidebar__nav {
  display: flex;
  flex-direction: column;
}

.info-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Sidebar mobile toggle (hidden on desktop) */
.info-sidebar__toggle {
  display: none;
}

.info-sidebar__link {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
  border-radius: var(--radius-button);
  line-height: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.info-sidebar__link:hover {
  color: var(--color-orange);
}

.info-sidebar__link--active,
.info-sidebar__link--active:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

/* Info Article */
.info-article {
  flex: 1;
  min-width: 0;
  max-width: 1072px;
  padding-left: 80px;
  border-left: 1px solid var(--color-orange);
}

.info-article__intro {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 50px;
}

.info-section {
  scroll-margin-top: 180px;
  margin-bottom: 50px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 35px;
  color: var(--color-black);
  text-transform: uppercase;
  line-height: 60px;
  margin-bottom: 14px;
}

.info-section__subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-black);
  line-height: 30px;
  margin-top: 30px;
  margin-bottom: 8px;
}

.info-section__text > .info-section__subtitle:first-child {
  margin-top: 0;
}

.info-section__text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 30px;
  text-align: justify;
}

.info-section__text p {
  margin-bottom: 16px;
}

.info-section__text p:last-child {
  margin-bottom: 0;
}

.info-section__text ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.info-section__text ul li {
  margin-bottom: 8px;
}

.info-section__text ol {
  list-style: decimal;
  padding-left: 27px;
  margin-bottom: 16px;
}

.info-section__text ol li {
  margin-bottom: 8px;
}

.info-article__intro p {
  margin-bottom: 16px;
}

.info-article__intro p:last-child {
  margin-bottom: 0;
}

.info-section__text a {
  color: var(--color-orange);
  text-decoration: underline;
}

.info-section__text a:hover {
  opacity: 0.8;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 24px;
}

.info-table th,
.info-table td {
  padding: 10px 16px;
  text-align: left;
  border: 1px solid #ddd;
}

.info-table th {
  background-color: var(--color-navy);
  color: #fff;
  font-weight: 600;
}

.info-table tbody tr:nth-child(even) {
  background-color: var(--color-cream);
}

.info-section--download {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
}

.info-section--download .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  text-decoration: none;
  color: #fff;
}

.info-section--download .btn:hover {
  opacity: 1;
}

.info-section__text ol[type="a"] {
  list-style: lower-alpha;
  padding-left: 32px;
}

/* ===================== */
/* VENUE & SCHEDULE      */
/* ===================== */
.venue-section {
  padding: 60px 0;
}

.venue-section + .venue-section {
  padding-top: 0;
}

.venue-section .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.venue-section__content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 30px;
}

.venue-section__content p {
  margin-bottom: 16px;
}

.venue-section__content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

.venue-section__content ul li {
  margin-bottom: 8px;
}

.venue-section__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  background-color: var(--color-cream);
  border-radius: var(--radius-card);
  margin-top: 30px;
}

.venue-section__map-icon {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.venue-section__map-placeholder p {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}

/* ===================== */
/* RACE MAP              */
/* ===================== */
.racemap-section {
  padding: 50px 0 80px;
}


.racemap-map,
.racemap-profile {
  max-width: 952px;
  margin: 0 auto 40px;
}

.racemap-map .section-title,
.racemap-profile .section-title,
.racemap-video .section-title {
  margin-bottom: 24px;
}

.racemap-map__img,
.racemap-profile__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.racemap-video {
  max-width: 952px;
  margin: 0 auto;
}

.racemap-video__player {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background-color: #0D0D0D;
}

/* ===================== */
/* CONTACT               */
/* ===================== */
.contact-section {
  padding: 50px 0 80px;
}

.contact-form {
  max-width: 588px;
  margin: 0 auto;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  margin-bottom: 8px;
}

.contact-form__required {
  color: var(--color-orange);
}

.contact-form__input {
  width: 100%;
  height: 46px;
  background-color: #f7f7f7;
  border: none;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  outline: none;
  transition: box-shadow 0.2s;
}

.contact-form__input:focus {
  box-shadow: 0 0 0 2px var(--color-orange);
}

.contact-form__textarea {
  width: 100%;
  height: 165px;
  background-color: #f7f7f7;
  border: none;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  outline: none;
  resize: vertical;
  transition: box-shadow 0.2s;
}

.contact-form__textarea:focus {
  box-shadow: 0 0 0 2px var(--color-orange);
}

.contact-form__radios {
  display: flex;
  gap: 24px;
}

.contact-form__radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  cursor: pointer;
}

.contact-form__radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.contact-form__radio input[type="radio"]:checked {
  border-color: var(--color-orange);
}

.contact-form__radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.contact-form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-orange);
  cursor: pointer;
}

.contact-form__checkbox-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: var(--color-black);
}

.contact-form__gdpr-link {
  color: var(--color-orange);
  text-decoration: underline;
  font-weight: 600;
}

.contact-form__gdpr-link:hover {
  color: var(--color-navy);
}

/* GDPR Modal */
.gdpr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.gdpr-modal--open {
  display: flex;
}

.gdpr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.gdpr-modal__dialog {
  position: relative;
  background: var(--color-white);
  border-radius: 10px;
  max-width: 720px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.gdpr-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.gdpr-modal__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--color-navy);
}

.gdpr-modal__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-black);
  line-height: 1;
  padding: 0 4px;
}

.gdpr-modal__close:hover {
  color: var(--color-orange);
}

.gdpr-modal__body {
  padding: 24px 30px 30px;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 24px;
  color: var(--color-black);
}

.gdpr-modal__body p {
  margin-bottom: 16px;
}

.gdpr-modal__body p:last-child {
  margin-bottom: 0;
}

/* Contact Select */
.contact-form__select {
  width: 100%;
  height: 46px;
  background-color: #f7f7f7;
  border: none;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D0D0D' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: box-shadow 0.2s;
}

.contact-form__select:focus {
  box-shadow: 0 0 0 2px var(--color-orange);
}

.contact-form__select:invalid {
  color: #999;
}

/* Contact Error Messages */
.contact-form__error {
  display: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: #d32f2f;
  margin-top: 4px;
  line-height: 1.4;
}

.contact-form__error--visible {
  display: block;
}

/* Contact Error Borders */
.contact-form__input--error {
  box-shadow: 0 0 0 2px #d32f2f;
}

.contact-form__textarea--error {
  box-shadow: 0 0 0 2px #d32f2f;
}

.contact-form__select--error {
  box-shadow: 0 0 0 2px #d32f2f;
}

/* Contact Status Message */
.contact-form__status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form__status--visible {
  display: block;
}

.contact-form__status--success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.contact-form__status--error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Button Loading State */
.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

.contact-form .btn {
  margin-top: 16px;
}

/* ===================== */
/* DEPARTURE TIMING      */
/* ===================== */
.info-hero--no-image {
  background-color: #c4c4c4;
}

.timing-section {
  padding: 60px 0 80px;
}

.timing-section__text {
  max-width: 952px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 30px;
  text-align: justify;
}

.timing-section__text p {
  margin-bottom: 20px;
}

.timing-section__text p:last-child {
  margin-bottom: 0;
}

/* ===================== */
/* FOOTER                */
/* ===================== */
.footer {
  background-color: var(--color-navy);
  padding: 50px 0 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  height: 130px;
  width: auto;
  margin: 0 auto 16px;
}

.footer__tagline {
  font-size: 16px;
  color: var(--color-white);
  line-height: 24px;
  max-width: 347px;
  margin: 0 auto 24px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.footer__social-link {
  width: 24px;
  height: 24px;
  background-color: var(--color-white);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: background-color 0.3s;
}

.footer__social-link:hover {
  background-color: var(--color-orange);
}

.footer__social-link img {
  display: none;
}

.footer__social-link[aria-label="Facebook"] {
  -webkit-mask-image: url('../assets/icons/icon-facebook.svg');
  mask-image: url('../assets/icons/icon-facebook.svg');
}

.footer__social-link[aria-label="Instagram"] {
  -webkit-mask-image: url('../assets/icons/icon-instagram.svg');
  mask-image: url('../assets/icons/icon-instagram.svg');
}

.footer__social-link[aria-label="YouTube"] {
  -webkit-mask-image: url('../assets/icons/icon-youtube.svg');
  mask-image: url('../assets/icons/icon-youtube.svg');
}

.footer__social-link[aria-label="YouTube"] {
  margin-top: 2px;
}

.footer__copyright {
  font-size: 12px;
  color: var(--color-white);
  line-height: 24px;
}

/* ============================================
   REGISTER PAGE
   ============================================ */

.register-declaration {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 95px - 360px);
  padding: 80px 240px;
  background-color: var(--color-white);
}

.register-declaration__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 626px;
  text-align: center;
}

.register-declaration__logo {
  width: 548px;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
}

.register-declaration__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 25px;
  line-height: 25px;
  color: var(--color-black);
  margin-bottom: 12px;
}

.register-declaration__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: var(--color-black);
  margin-bottom: 30px;
}

.register-declaration__link {
  color: var(--color-orange);
  text-decoration: none;
}

.register-declaration__link:hover {
  text-decoration: underline;
}

.register-declaration__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 30px;
  cursor: pointer;
}

.register-declaration__checkbox input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-orange);
}

.register-declaration__checkbox-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-black);
}

.register-declaration__btn {
  text-transform: uppercase;
}

.register-declaration__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Register embeds */

.register-embeds {
  padding: 60px 240px 80px;
  background-color: var(--color-white);
}

.register-embeds__content {
  max-width: 800px;
  margin: 0 auto;
}

.register-embeds__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 35px;
  line-height: 60px;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.register-embeds__title:first-child {
  margin-top: 0;
}

#RegForm {
  min-height: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#RegForm iframe {
  margin: 0 auto;
  display: block;
}

#RegStatus,
#LargestTeams {
  min-height: 200px;
  width: 100%;
}
