/* Special frontpage — pays-block country selector */

footer,
.header-center,
.header-right,
.header__center,
.header__right,
.countries-notice,
.header-infos,
.field-block-content--field-paragraphs,
#block-elior-com-countries,
.elior-com-countries {
  display: none !important;
}

body.path-frontpage #main,
body.path-frontpage main#main {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.path-frontpage .site-wrapper,
body.path-frontpage .inner-wrap {
  min-height: 0 !important;
  height: auto !important;
}

.header-left .site-logo {
  filter: none !important;
}

body.path-frontpage,
body.body-special-frontpage {
  background-color: #115B83 !important;
  min-height: 100vh !important;
  height: 100vh !important;
  overflow: hidden !important;
}

header,
.header,
#region-header,
body.path-frontpage .header .bg-color-white,
.header__left,
.header-left,
.header-inner {
  background-color: #ffffff !important;
}

.header__inner .site-logo,
.header-left .site-logo {
  height: 3rem;
}

.special-wrapper,
.col-sm-12.special-wrapper {
  margin: 0 !important;
  padding: 10rem 2.5rem 3rem !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  background-color: #115B83;
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
}

.special-wrapper > .pays-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
}

.special-wrapper .pays-block__title-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 0 3.5rem !important;
  padding: 0 !important;
  text-align: left;
  height: auto !important;
  overflow: visible !important;
}

.special-wrapper .pays-block__title,
.special-wrapper h2.pays-block__title,
.special-wrapper .special-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 3.25rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  width: auto !important;
}

.special-wrapper .pays-block__title b,
.special-wrapper .special-title b {
  color: #fff !important;
  font-weight: 700 !important;
}

.special-wrapper .pays-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 5rem;
  row-gap: 3.75rem;
  justify-items: start;
  width: 100%;
}

.special-wrapper .pays-list__item {
  width: 100%;
}

.special-wrapper .pays-list__item a {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* Crisp circular SVG flags (img, locked square — no theme stretch) */
.special-wrapper .pays-list__flag {
  --flag-size: 64px;
  display: block !important;
  flex: 0 0 var(--flag-size) !important;
  width: var(--flag-size) !important;
  height: var(--flag-size) !important;
  min-width: var(--flag-size) !important;
  min-height: var(--flag-size) !important;
  max-width: var(--flag-size) !important;
  max-height: var(--flag-size) !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: content-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  vertical-align: middle !important;
  align-self: center;
  shape-rendering: geometricPrecision;
}

.special-wrapper .pays-list__name {
  color: inherit;
}

@media (max-width: 1023px) {
  body.path-frontpage,
  body.body-special-frontpage {
    overflow: hidden !important;
  }

  .special-wrapper,
  .col-sm-12.special-wrapper {
    padding: 8rem 1.25rem 2rem !important;
  }

  .special-wrapper > .pays-block {
    max-width: none !important;
  }

  .special-wrapper .pays-block__title-container {
    margin-bottom: 2rem !important;
  }

  .special-wrapper .pays-block__title,
  .special-wrapper h2.pays-block__title,
  .special-wrapper .special-title {
    font-size: 2rem !important;
  }

  .special-wrapper .pays-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 2.25rem;
  }

  .special-wrapper .pays-list__item a {
    font-size: 1.0625rem;
    white-space: normal;
  }

  .special-wrapper .pays-list__flag {
    --flag-size: 56px;
  }
}

@media (max-width: 640px) {
  .special-wrapper .pays-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 1.75rem;
  }

  .special-wrapper .pays-block__title,
  .special-wrapper h2.pays-block__title,
  .special-wrapper .special-title {
    font-size: 1.75rem !important;
  }

  .special-wrapper .pays-list__flag {
    --flag-size: 48px;
  }
}

@media (min-width: 1024px) {
  body.path-frontpage,
  body.body-special-frontpage {
    overflow: hidden !important;
  }

  .special-wrapper,
  .col-sm-12.special-wrapper {
    padding: 10rem 2.5rem 3rem !important;
  }
}