/* France-specific layer. Shared country-page typography and components come from the UK page styles. */
body.aifo-fr-best-template {
  background: #050608;
}

.aifo-fr-page .aifo-uk-hero {
  background:
    linear-gradient(90deg, rgba(2, 4, 7, 0.2) 0%, rgba(2, 4, 7, 0.08) 46%, rgba(2, 4, 7, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.04) 56%, rgba(0, 0, 0, 0.34) 100%),
    url("../../images/backgrounds/best-prop-firms-france-hero-v1.webp") right 0 top calc(var(--uk-header-offset, 98px) + 12px) / auto calc(100% - var(--uk-header-offset, 98px) - 12px) no-repeat;
  background-color: #000;
}

.aifo-fr-page .aifo-uk-hero-copy {
  max-width: 760px;
}

.aifo-fr-page .aifo-uk-hero h1 {
  max-width: 700px;
}

.aifo-fr-page .aifo-uk-kicker svg {
  flex: 0 0 auto;
  width: 28px;
  height: 20px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.aifo-fr-page .aifo-uk-filter-bar {
  align-items: flex-end;
}

.aifo-fr-page .aifo-uk-table {
  min-width: 0;
}

.aifo-fr-page .aifo-uk-table th:first-child {
  min-width: 0;
}

.aifo-fr-page .aifo-uk-table td:nth-child(3) {
  min-width: 0;
}

.aifo-fr-page .aifo-uk-table th:nth-child(1) { width: 13%; }
.aifo-fr-page .aifo-uk-table th:nth-child(2) { width: 14%; }
.aifo-fr-page .aifo-uk-table th:nth-child(3) { width: 16%; }
.aifo-fr-page .aifo-uk-table th:nth-child(4) { width: 18%; }
.aifo-fr-page .aifo-uk-table th:nth-child(5) { width: 18%; }
.aifo-fr-page .aifo-uk-table th:nth-child(6) { width: 21%; }

.aifo-fr-page .aifo-uk-table-wrap {
  max-height: var(--fr-table-viewport-height, 790px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #f98715 #1b1d22;
  scrollbar-width: thin;
}

.aifo-fr-page .aifo-uk-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 0;
}

.aifo-fr-page .aifo-uk-table-wrap::-webkit-scrollbar-track {
  background: #1b1d22;
}

.aifo-fr-page .aifo-uk-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #1b1d22;
  border-radius: 999px;
  background: #f98715;
}

.aifo-fr-page .aifo-uk-table thead th {
  z-index: 4;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* The hub table stylesheet makes its final heading static; restore it here so
   all six France headings remain pinned while the vertical viewport scrolls. */
.aifo-fr-page .aifo-uk-table thead th:last-child {
  position: sticky;
  top: 0;
  z-index: 4;
}

.aifo-fr-page .aifo-uk-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
}

.aifo-fr-page .aifo-uk-table thead th:first-child {
  left: 0;
  z-index: 5;
}

.aifo-fr-access-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dceee5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aifo-fr-access-status::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #41c982;
  box-shadow: 0 0 0 4px rgba(65, 201, 130, 0.1);
  content: "";
}

.aifo-fr-source-note {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.aifo-fr-time-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.aifo-fr-time-intro,
.aifo-fr-time-item {
  min-height: 126px;
  padding: 22px;
  background: #111319;
}

.aifo-fr-time-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(249, 135, 21, 0.18), transparent 48%),
    #0d0f14;
}

.aifo-fr-time-intro span,
.aifo-fr-time-item span {
  color: #f98715;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aifo-fr-time-intro h3,
.aifo-fr-time-item strong {
  display: block;
  margin: 8px 0 0;
  color: #fff;
  font-weight: 600;
  line-height: 1.25;
}

.aifo-fr-time-intro h3 {
  font-size: 20px;
}

.aifo-fr-time-item strong {
  font-size: 18px;
}

.aifo-fr-time-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.55;
}

.aifo-fr-page .aifo-uk-legal-icon {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.aifo-fr-page .aifo-uk-firm-card.is-featured::before {
  background: linear-gradient(90deg, #f98715, #ffb15c);
}

@media (max-width: 980px) {
  .aifo-fr-time-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aifo-fr-time-intro {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .aifo-fr-page .aifo-uk-hero {
    background:
      linear-gradient(180deg, rgba(2, 4, 7, 0.28), rgba(2, 4, 7, 0.94)),
      url("../../images/backgrounds/best-prop-firms-france-hero-v1.webp") 68% 14% / cover no-repeat;
  }

  .aifo-fr-time-strip {
    grid-template-columns: 1fr;
  }

  .aifo-fr-time-intro {
    grid-column: auto;
  }

  .aifo-fr-time-intro,
  .aifo-fr-time-item {
    min-height: auto;
    padding: 20px;
  }

}

@media (max-width: 430px) {
  #nav.aifo-nav.fixed-header .navbar-brand img {
    width: 92px;
    height: auto;
  }

  #nav.aifo-nav.fixed-header .aifo-nav__mobile-cta {
    padding-inline: 10px;
    font-size: 12px;
  }
}
