/* ===================================
   FONTS
   =================================== */

@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Poppins&display=swap");

/* Formula1 Font */
@font-face {
  font-family: "Formula1";
  src: url("https://www.formula1.com/etc/designs/fom-website/fonts/F1Regular/Formula1-Regular.woff2") format("woff2"),
    url("https://www.formula1.com/etc/designs/fom-website/fonts/F1Regular/Formula1-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formula1";
  src: url("https://www.formula1.com/etc/designs/fom-website/fonts/F1Bold/Formula1-Bold.woff2") format("woff2"),
    url("https://www.formula1.com/etc/designs/fom-website/fonts/F1Bold/Formula1-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


/* ===================================
   BASE STYLES
   =================================== */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(7, 7, 161, 1) 50%, rgba(0, 0, 0, 1) 100%) no-repeat;
  min-height: 100%;
  min-width: 100%;
  overflow-y: auto;
  background-color: #000000;
  color: #ffffff;
  --icon-brightness: brightness(1);
}

@media (prefers-color-scheme: dark) {
  body {
    --icon-brightness: brightness(1.3);
  }
}

.icon {
  filter: var(--icon-brightness);
}
.flip-arrow {
  display: inline-block;
  transform: scaleX(-1);
}

.flip-stars {
  display: inline-block;
  transform: scaleX(-1);
}




.canva {
  height: 100%;
  width: 100%;
  overflow-y: auto;
}


/* ===================================
   TYPOGRAPHY
   =================================== */

h1 {
  font-family: "Titillium Web", sans-serif;
  font-weight: bold;
  font-size: 2.5em;
}

h2, h3 {
  font-family: "Poppins", sans-serif;
}

h3 {
  font-weight: 200;
}

h4, h5 {
  font-family: "Titillium Web", sans-serif;
}

h4 {
  font-weight: bold;
}

h6 {
  font-family: "Titillium Web", sans-serif;
  font-size: 0.8em;
  font-style: italic;
  color: white;
  margin-top: 7px;
}

p {
  font-family: "Titillium Web", sans-serif;
}

dt {
  text-align: left;
}

.fw-bold {
  font-family: "Titillium Web", sans-serif;
  font-weight: bold;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}


/* ===================================
   GOLDEN TEXT EFFECTS
   =================================== */

.golden-base {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  -webkit-margin-before: 0.3em;
  -webkit-margin-after: 0.2em;
}

.golden1 {
  background-image: -webkit-linear-gradient(#fff65c, #3a2c00);
  text-shadow: -0.02em -0.03em 0.005em rgba(255, 223, 0, 0.6);
  font-size: 2.5em;
}

.golden2 {
  background-image: -webkit-linear-gradient(#e8d800, #e0cf00 52%, #a86800 55%, #a86800);
  text-shadow: -0.02em -0.03em 0.005em rgba(255, 255, 0, 0.56);
  font-size: 2.5em;
}

.golden3 {
  -webkit-text-stroke: 0.01em white;
  font-size: 2.5em;
  text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange, 4px -5px 6px yellow, -4px -10px 10px yellow, 0 -10px 30px yellow;
  animation: animate 2s infinite alternate linear;
}

@keyframes animate {
  0% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange, 0 0 0 yellow, 0 0 5px yellow, -2px -5px 5px yellow, 4px -10px 10px yellow;
  }
  25% {
    text-shadow: 0 3px 20px red, 0 0 30px red, 0 0 20px orange, 0 0 5px yellow, -2px -5px 5px yellow, 3px -10px 10px yellow, -4px -15px 20px yellow;
  }
  50% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 -5px 10px orange, -2px -5px 5px yellow, 3 -10px 10px yellow, -4px -15px 20px yellow, 2px -20px 30px rgba(255, 255, 0, 0.5);
  }
  75% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 -5px 10px orange, 3 -5px 5px yellow, -4px -10px 10px yellow, 2px -20px 30px rgba(255, 255, 0, 0.5), 0 -25px 40px rgba(255, 255, 0, 0);
  }
  100% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange, 0 0 0 yellow, 0 0 5px yellow, -2px -5px 5px yellow, 4px -10px 10px yellow;
  }
}


/* ===================================
   NAVIGATION
   =================================== */

.navbar {
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(7, 7, 161, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

.navbar-toggler {
  font-size: 40px;
  color: white;
  outline: none;
  box-shadow: none;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
  color: white;
}

.navbar-brand {
  color: white;
  font-weight: bold;
  font-size: 1em;
}

.navbar-brand:hover {
  color: white;
}

.navbar-nav a {
  text-decoration: none;
  color: white;
  font-size: 1em;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  transition: all 0.5s;
}

.navbar-nav a:hover {
  color: rgba(103, 230, 236);
}

.offcanvas {
  background: rgba(23, 23, 66);
}

.offcanvas-header img {
  display: block;
  width: 4.68em;
  height: 4.68em;
  border-radius: 50%;
  margin: 0 auto;
  background: black;
}

.offcanvas-header h5,
.offcanvas-header h6 {
  margin: 0;
}

.offcanvas-header h6 {
  margin-bottom: 1.5rem; /* same as Bootstrap mb-3 */
}

/* Animated Circle Gradient Border for Profile Image */
.profile-image-wrapper {
  position: relative;
  display: inline-block;
  width: 5em;
  height: 5em;
}

.profile-image-wrapper img {
  width: 4.5em;
  height: 4.5em;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  display: block;
  margin: auto;
}

.profile-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#3457d5, #1e90ff, #67e6ec, blue, #3457d5);
  animation: rotateBorder 3s linear infinite;
  z-index: 0;
}

.profile-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0.25em;
  border-radius: 50%;
  background: black;
  z-index: 1;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#currentDateTime {
  display: block !important;
  color: white;
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  z-index: 1;
}

@media (min-width: 768px) {
  #currentDateTime {
    display: block;
  }
}


/* ===================================
   BANNER
   =================================== */

.masthead {
  height: 25vh;
  min-height: 15.62em;
  background-image: url("/images/banner/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* ===================================
   ANNOUNCEMENT BAR
   =================================== */

.announcement-bar {
  background-color: #000;
  color: #fff;
  width: 100%;
  font-family: "Titillium Web", sans-serif;
  font-weight: bold;
  position: relative;
  z-index: 1000;
}

.announcement-text {
  transition: opacity 0.5s ease;
}

.announcement-text.fade-out {
  opacity: 0;
}


/* ===================================
   TICKER
   =================================== */

.ticker-outer-container {
  position: relative;
  margin-bottom: 1rem;
}

.ticker-container {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(30, 30, 30, 0.98) 100%);
  border: 2px solid #001ae1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.ticker-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001ae1 0%, #ffffff 50%, #001ae1 100%);
  z-index: 2;
}

.ticker-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001ae1 0%, #ffffff 50%, #001ae1 100%);
  z-index: 2;
}

.ticker-header-container {
  background: linear-gradient(90deg, rgba(0, 6, 225, 0.2) 0%, rgba(0, 6, 225, 0.1) 50%, rgba(0, 6, 225, 0.2) 100%);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(0, 6, 225, 0.3);
  text-align: center;
}

.ticker-header-title {
  font-family: "Formula1", "Titillium Web", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  position: relative;
  display: inline-block;
  padding: 8px 60px;
  background: linear-gradient(135deg, #001ae1 0%, #140048 100%);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(87, 3, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  overflow: hidden;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 6, 225, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 6, 225, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  }
}

.ticker-header-title::before,
.ticker-header-title::after {
  content: "•";
  color: #ffffff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ticker-header-title::before {
  left: 20px;
}

.ticker-header-title::after {
  right: 20px;
}

.ticker-content-wrapper {
  padding: 0;
  width: 100%;
}

.ticker-viewport {
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  width: 100%;
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
  padding-left: 20px;
}

.ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-separator {
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
}

.ticker-dot {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 380px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.ticker-item:hover {
  background: rgba(0, 6, 225, 0.1);
  border-color: rgba(0, 6, 225, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 6, 225, 0.2);
}

.ticker-badge {
  font-family: "Formula1", "Titillium Web", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-badge-new {
  background: #e10600;
  color: white;
}

.ticker-badge-update {
  background: #00d2be;
  color: black;
}

.ticker-badge-feature {
  background: #ffd700;
  color: black;
}

.ticker-badge-improvement {
  background: #32cd32;
  color: black;
}

.ticker-badge-legal {
  background: #9370db;
  color: white;
}

.ticker-text {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-overhang-image {
  position: absolute;
  top: -15px;
  left: -15px;
  z-index: 10;
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.ticker-viewport::before,
.ticker-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 100%);
}

.ticker-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 100%);
}


/* ===================================
   RACE HEADER & COUNTDOWN
   =================================== */

.race-header {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(30, 30, 30, 0.85) 100%);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.race-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e10600 0%, #ffffff 50%, #e10600 100%);
}

.race-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e10600 0%, #ffffff 50%, #e10600 100%);
}

.race-title {
  color: #ffffff;
  font-family: "Formula1", "Titillium Web", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.race-details {
  margin-top: 15px;
}

.weather-bar-container {
  margin-bottom: 15px;
}

.weather-status {
  display: inline-block;
  background: rgba(20, 20, 20, 0.8);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: "Formula1", sans-serif;
  border: 2px solid #e10600;
}

#weather-bar img,
#weather-bar i,
#weather-bar .weather-icon {
  background-color: black;
  border-radius: 50%;
  padding: 5px;
}

#weather-bar img {
  width: 30px;
  height: 30px;
}

.race-info {
  margin: 15px 0;
}

.race-specs {
  color: #ffffff;
  font-family: "Formula1", sans-serif;
  font-size: 1rem;
  background: rgba(0, 6, 225, 0.15);
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid #e10600;
  letter-spacing: 0.5px;
}

.race-specs .separator {
  color: #e10600;
  margin: 0 8px;
}

.countdown-container {
  margin-top: 20px;
}

#countdown {
  font-family: "Formula1", "Titillium Web", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 25px;
  border-radius: 10px;
  display: inline-block;
  border: 2px solid #e10600;
  box-shadow: 0 4px 15px rgba(0, 6, 225, 0.3);
}


/* ===================================
   CARDS & IMAGES
   =================================== */

.card-img-custom {
  border-radius: 15px !important;
}

.card-img-top {
  height: 40vh;
  width: 100%;
  object-fit: cover;
}

.blue-filter {
  filter: saturate(300%);
}

.flip-image {
  transform: scaleX(-1);
}

.brightened-image {
  filter: brightness(1.5);
}

.flag {
  width: 50px;
  height: 30px;
  margin: 4px 0px 4px 5px;
  border: 1px solid white;
}

.overhang-container {
  position: relative;
}

.overhang-img {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 35px;
  height: 35px;
  object-fit: cover;
  z-index: 99;
}


/* ===================================
   OWL CAROUSEL
   =================================== */

.owl-prev {
  left: -30px;
}

.owl-next {
  right: -30px;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 25%;
}

.owl-prev span,
.owl-next span {
  font-size: 80px;
  color: white;
}

.owl-theme,
.owl-nav[class*="owl-"]:hover {
  background: transparent;
}


/* ===================================
   BUTTONS & LINKS
   =================================== */

.btn-primary {
  background: linear-gradient(157deg, rgba(0, 0, 0, 1) 0%, rgba(52, 52, 235, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

.bg-secondary {
  background: linear-gradient(157deg, rgba(0, 0, 0, 1) 0%, rgba(52, 52, 235, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

.btn-info {
  background: linear-gradient(157deg, rgba(0, 0, 0, 1) 0%, rgba(52, 52, 235, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

.btn-close:focus {
  outline: none;
  box-shadow: none;
}

.link {
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  color: white;
  background-color: rgba(4, 23, 194, 0.657);
  font-weight: 900;
  z-index: 1;
  position: relative;
  overflow: hidden;
  padding: 1px;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
}

#scrollToTopBtn.d-none {
  display: none !important;
  visibility: hidden !important;
}

@media (min-width: 768px) {
  #scrollToTopBtn {
    display: inline-block;
  }
}


/* ===================================
   BORDERS & DIVIDERS
   =================================== */

.divider {
  border-bottom: 2px solid #67e6ec;
}

.border-info {
  border: 0.125em solid #67e6ec;
  border-radius: 0.31em;
}

.border-shadow {
  box-shadow: 0 0 1.25em rgba(103, 230, 236, 1);
}

.black-bar {
  background: linear-gradient(157deg, rgba(0, 0, 0, 0.7) 0%, rgba(105, 105, 105, 0.7) 50%, rgba(0, 0, 0, 0.7) 100%);
  color: white;
  height: auto;
  font-size: 16px;
  font-family: bold;
  font-style: italic;
  margin: 0px 2px 1px 2px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 0 0 1px white;
  outline-color: transparent;
  z-index: 99;
}


/* ===================================
   IMAGE MODAL
   =================================== */

#myImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
  height: 85%;
  border-radius: 0.31em;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid #67e6ec;
}

#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 10px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 43.75em;
  border: 2px solid #67e6ec;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 43.75em;
  text-align: center;
  color: #ccc;
  padding: 2px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.close {
  position: absolute;
  top: 10px;
  right: 30px;
  color: #f1f1f1;
  font-size: 2.5em;
  font-weight: bold;
  transition: 0.3s;
  z-index: 2;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
}


/* ===================================
   COOKIE BANNER
   =================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f8f9fa;
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  border-top: 1px solid #dee2e6;
}

.cookie-banner p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #495057;
}


/* ===================================
   FOOTER
   =================================== */

.footer-toggle-container {
  position: relative;
  width: 25%;
  margin: 0 auto;
  white-space: nowrap; /* Keeps text on one line */
  text-align: center; /* Centers text horizontally */
  padding: 10px 0; /* Adds vertical space */
  min-width: 250px; /* Prevents container from getting too narrow */
  overflow: hidden; /* Contains any overflow */
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .footer-toggle-container {
    width: 80%; /* Wider on mobile */
  }
}

.footer-toggle-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001ae1 0%, #ffffff 50%, #001ae1 100%);
  z-index: 2;
}

.footer-toggle-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001ae1 0%, #ffffff 50%, #001ae1 100%);
  z-index: 2;
}

/* Add left and right borders using box-shadow on the main element */
.footer-toggle-container {
  box-shadow: 
    inset -3px 0 0 0 #001ae1,
    inset 3px 0 0 0 #001ae1;
}

/* Or using border property */
.footer-toggle-container {
  border-left: 3px solid #001ae1;
  border-right: 3px solid #001ae1;
}


/* ===================================
   ROTATE SCREEN MESSAGE
   =================================== */

#rotate-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  z-index: 9999;
  text-align: center;
  padding-top: 50vh;
}

@media (min-width: 1025px) {
  #rotate-message {
    display: none !important;
  }
}


/* ===================================
   RESPONSIVE - TICKER
   =================================== */

@media (max-width: 1200px) {
  .ticker-item {
    min-width: 340px;
    padding: 10px 20px;
  }
  .ticker-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .ticker-header-title {
    font-size: 1.3rem;
    padding: 8px 50px;
    letter-spacing: 1.5px;
  }
  .ticker-header-title::before {
    font-size: 1.5rem;
    left: 15px;
  }
  .ticker-header-title::after {
    font-size: 1.5rem;
    right: 15px;
  }
  .ticker-item {
    min-width: 300px;
    gap: 12px;
    padding: 8px 16px;
  }
  .ticker-text {
    font-size: 0.9rem;
  }
  .ticker-track {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .ticker-container {
    border-width: 1px;
    border-radius: 10px;
  }
  .ticker-header-container {
    padding: 12px 15px;
  }
  .ticker-header-title {
    font-size: 1.2rem;
    padding: 6px 40px;
    letter-spacing: 1px;
  }
  .ticker-header-title::before {
    font-size: 1.3rem;
    left: 12px;
  }
  .ticker-header-title::after {
    font-size: 1.3rem;
    right: 12px;
  }
  .ticker-track {
    gap: 25px;
    padding-left: 15px;
    animation-duration: 35s;
  }
  .ticker-item {
    min-width: 280px;
    padding: 8px 14px;
    gap: 10px;
  }
  .ticker-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .ticker-text {
    font-size: 0.85rem;
  }
  .ticker-overhang-image {
    top: -12px;
    left: -12px;
    height: 35px;
    width: 35px;
  }
  .ticker-viewport::before,
  .ticker-viewport::after {
    width: 50px;
  }
  .race-title {
    font-size: 1.5rem;
  }
  .race-specs {
    font-size: 1rem;
    padding: 8px 15px;
  }
  #countdown {
    font-size: 1.4rem;
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .ticker-header-title {
    font-size: 1.1rem;
    padding: 5px 35px;
  }
  .ticker-header-title::before {
    font-size: 1.1rem;
    left: 10px;
  }
  .ticker-header-title::after {
    font-size: 1.1rem;
    right: 10px;
  }
  .ticker-item {
    min-width: 260px;
    padding: 7px 12px;
  }
  .ticker-text {
    font-size: 0.8rem;
  }
  .ticker-track {
    animation-duration: 30s;
    gap: 20px;
    padding-left: 12px;
  }
  .ticker-viewport::before,
  .ticker-viewport::after {
    width: 40px;
  }
}

@media (max-width: 400px) {
  .ticker-header-title {
    font-size: 1rem;
    padding: 4px 30px;
  }
  .ticker-header-title::before {
    font-size: 1rem;
    left: 8px;
  }
  .ticker-header-title::after {
    font-size: 1rem;
    right: 8px;
  }
  .ticker-item {
    min-width: 240px;
    padding: 6px 10px;
  }
  .ticker-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
  .ticker-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .ticker-header-title {
    font-size: 0.95rem;
    padding: 4px 25px;
  }
  .ticker-header-title::before {
    font-size: 0.9rem;
    left: 6px;
  }
  .ticker-header-title::after {
    font-size: 0.9rem;
    right: 6px;
  }
  .ticker-item {
    min-width: 220px;
    padding: 5px 8px;
  }
  .ticker-badge {
    font-size: 0.55rem;
    padding: 2px 5px;
  }
  .ticker-text {
    font-size: 0.7rem;
  }
  .ticker-viewport::before,
  .ticker-viewport::after {
    width: 30px;
  }
}


/* ===================================
   RESPONSIVE - GENERAL
   =================================== */

@media (max-width: 767.98px) {
  .cookie-banner {
    padding: 10px 0;
  }
  .cookie-banner .btn {
    display: inline-block;
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 43.75em) {
  .modal-content {
    width: 100%;
  }
}