@font-face {
  font-family: 'UniviaPro';
  src: url('https://www.prono-formule1.com/wp-content/uploads/2026/03/UniviaPro-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.ast-container,
.entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.f1-countdown-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 900px;
  overflow: hidden;
  color: #ffffff;
  /* background-image: url('https://www.prono-formule1.com/wp-content/uploads/images/pilote/kimi-antonelli-champion-du-monde-2026.jpg'); */
  background-image: url('https://www.prono-formule1.com/wp-content/uploads/images/pilote/esteban-ocon-31.jpg');
  background-position: 60% center;
  background-repeat: no-repeat;
  background-size: 115%;
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
}

.f1-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 25%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.32) 100%
  );
  z-index: 1;
}

.f1-inner {
  position: relative;
  z-index: 2;
  max-width: 1450px;
  margin: 0 auto;
  padding: 120px 28px 80px;
  box-sizing: border-box;
}

.f1-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 88px;
}

.f1-top-left,
.f1-top-right {
  position: relative;
  display: inline-block;
  color: #ff4a3d;
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 10px 0;
}

.f1-top-left::before,
.f1-top-right::before,
.f1-top-left::after,
.f1-top-right::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff4a3d;
}

.f1-top-left::before,
.f1-top-right::before {
  top: 0;
}

.f1-top-left::after,
.f1-top-right::after {
  bottom: 0;
}

.f1-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 92px;
}

.f1-head-left {
  max-width: 620px;
}

.f1-title-main {
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 84px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.f1-title-sub {
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 74px;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0;
}

.f1-head-right {
  text-align: right;
  min-width: 420px;
}

.f1-date {
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.f1-time {
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0;
}

.f1-counter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin-bottom: 54px;
}

.f1-unit {
  text-align: center;
}

.f1-number {
  color: rgba(255, 74, 61, 0.65);
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 170px;
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 5px;
  margin: 0;
  text-shadow: 0 0 12px rgba(255, 74, 61, 0.25);
  font-variant-numeric: tabular-nums;
}

.f1-label {
  color: #ffffff;
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 10px;
}

.f1-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.f1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 238px;
  height: 58px;
  padding: 0 24px;
  box-sizing: border-box;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'UniviaPro', 'Poppins', Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  border: 1px solid rgba(255,255,255,0.28);
  transition: all 0.2s ease;
}

.f1-btn-dark {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
}

.f1-btn-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

.f1-btn-red {
  color: #ff4a3d;
  border-color: rgba(255, 74, 61, 0.55);
  background: rgba(0, 0, 0, 0.18);
}

.f1-btn-red:hover {
  background: rgba(255, 74, 61, 0.08);
}

/* =========================
   TABLETTE LARGE / PETIT DESKTOP
========================= */
@media (max-width: 1200px) {
  .f1-countdown-hero {
    min-height: 820px;
    background-size: 125%;
    background-position: 63% center;
  }

  .f1-inner {
    padding: 100px 24px 70px;
  }

  .f1-topbar {
    gap: 24px;
    margin-bottom: 70px;
  }

  .f1-top-left,
  .f1-top-right {
    font-size: 20px;
  }

  .f1-head {
    gap: 30px;
    margin-bottom: 72px;
  }

  .f1-head-left {
    max-width: 520px;
  }

  .f1-head-right {
    min-width: 360px;
  }

  .f1-title-main {
    font-size: 68px;
  }

  .f1-title-sub {
    font-size: 58px;
  }

  .f1-date {
    font-size: 56px;
  }

  .f1-time {
    font-size: 58px;
  }

  .f1-counter {
    gap: 18px;
  }

  .f1-number {
    font-size: 126px;
    letter-spacing: -4px;
  }

  .f1-label {
    font-size: 17px;
  }
}

/* =========================
   TABLETTE
========================= */
@media (max-width: 900px) {
  .f1-countdown-hero {
    min-height: 760px;
    background-size: 138%;
    background-position: 66% center;
  }

  .f1-inner {
    padding: 90px 22px 60px;
  }

  .f1-topbar,
  .f1-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .f1-topbar {
    gap: 18px;
    margin-bottom: 52px;
  }

  .f1-top-left,
  .f1-top-right {
    font-size: 18px;
  }

  .f1-head {
    gap: 20px;
    margin-bottom: 56px;
  }

  .f1-head-left {
    max-width: none;
  }

  .f1-head-right {
    text-align: left;
    min-width: auto;
  }

  .f1-title-main {
    font-size: 56px;
  }

  .f1-title-sub {
    font-size: 46px;
  }

  .f1-date {
    font-size: 46px;
  }

  .f1-time {
    font-size: 48px;
  }

  .f1-counter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    margin-bottom: 42px;
  }

  .f1-number {
    font-size: 108px;
    letter-spacing: -3px;
  }

  .f1-label {
    font-size: 16px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .f1-countdown-hero {
    min-height: auto;
    background-size: 165%;
    background-position: 68% center;
  }

  .f1-inner {
    padding: 60px 16px 40px;
  }

  .f1-topbar {
    gap: 14px;
    margin-bottom: 30px;
  }

  .f1-top-left,
  .f1-top-right {
    font-size: 13px;
    padding: 6px 0;
  }

  .f1-head {
    gap: 12px;
    margin-bottom: 30px;
  }

  .f1-title-main {
    font-size: 34px;
    letter-spacing: 0;
    line-height: 1;
  }

  .f1-title-sub {
    font-size: 28px;
    letter-spacing: 0;
    line-height: 1;
  }

  .f1-date {
    font-size: 28px;
    letter-spacing: 0;
  }

  .f1-time {
    font-size: 30px;
    letter-spacing: 0;
  }

  .f1-counter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
    margin-bottom: 28px;
  }

  .f1-number {
    font-size: 64px;
    letter-spacing: -2px;
  }

  .f1-label {
    font-size: 13px;
    margin-top: 6px;
  }

  .f1-actions {
    gap: 12px;
  }

  .f1-btn {
    width: 100%;
    min-width: 0;
    height: 48px;
    font-size: 14px;
  }
}
