.wp-block-columns {
  display: flex;
  gap: 1.175rem !important;
}

.wp-block-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wp-block-column > * {
  margin-block-end: 0;
  margin-top: 12px;
}

.section > .wp-block-column > * {
  margin-top: 18px;
}

.wp-block-group:not(.cover-banner):not(.cover):not(.side-background) > div > * {
  margin-block-end: 0;
  margin-top: 24px;
}

.wp-block-column > *:first-child, .wp-block-group > div > *:first-child {
  margin-block-start: 0;
}

.intervention-zone > summary > span, .intervention-cities > p {
  font-weight: bold;
  margin: 0;
}

.intervention-zone > section > ul, .intervention-cities > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style-type: none;
  padding: 0;
  margin: 26px 0 0;
  gap: 16px;
  align-items: center;
}

.intervention-zone > section > ul > li {
  margin: 0 !important;
}

.intervention-zone > section > ul > li > a {
  text-decoration: none;
  color: var(--midnightBlue);
  font-weight: 500;
  text-align: center;
  display: block;
  background-color: var(--ghostWhite);
  border: 1px solid var(--ghostWhite);
  padding: 8px 0;
  transition: 0.1s;
  line-height: initial;
}

.intervention-zone > section > ul > li > a:hover {
  border-color: var(--liberty);
  transition: 0.1s;
}

.contactBannerWrapper {
  border-radius: 5px;
  margin: 42px auto;
  padding: 32px 0;
  max-width: 1000px;
}

.contactBanner {
  margin-bottom: 54px;
  padding: 0 15%;
}

.contactBanner > * {
  margin: 0;
}

.contactBanner > *:not(:last-child) {
  margin-bottom: 16px;
}

.contactBannerPhone {
  text-align: center;
}

.contactBannerPhone > div {
  width: fit-content;
  margin-left: auto;
}

.contactBannerPhone a {
  background-color: white;
  color: var(--midnightBlue);
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 1px auto 4px;
  font-size: 20px;
  font-weight: 600;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 15px;
  transition: 0.1s;
}

.contactBannerPhone a:hover {
  background-color: var(--ghostWhite);
  transition: 0.1s;
}

.contactBannerPhone span:first-child {
  font-size: 22px;
  font-weight: 600;
}

.contactBannerPhone span:last-child {
  font-size: 12px;
  font-weight: 600;
}

.contactBannerInfos {
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 48px;
}

.contactBannerInfos > * {
  flex-basis: 50%;
}

.contactBannerInfos a {
  text-decoration: none;
}

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

.contactBannerAppointment a {
  width: fit-content;
  display: flex;
  align-items: center;
  color: black;
  background-color: white;
  font-size: 17px;
  font-weight: 600;
  border-radius: 15px;
  padding: 6px 16px;
  gap: 8px;
  transition: 0.1s;
}

.contactBannerAppointment a:first-child img {
  height: 24px;
  width: auto;
  filter: brightness(0%);
}

.contactBannerAppointment a:hover {
  background-color: var(--ghostWhite);
  transition: 0.1s;
}

.dropdownText {
  margin: 0 auto;
}

.dropdownText.topBorder {
  border-top: 1px solid var(--midnightBlue);
  padding: 16px 5px 20px;
  margin-top: 0 !important;
}

.dropdownText.fullBorder {
  border: 1px solid var(--platinum);
  border-radius: 5px;
  padding: 18px 36px;
}

.dropdownText.fullBorder:not(:last-child) {
  margin-bottom: 8px;
}

.dropdownText.fullBorder section > *:last-child {
  margin-bottom: 0;
}

.dropdownText summary {
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
}

.dropdownText summary::-webkit-details-marker {
  display: none;
}

.dropdownText summary::after {
  content:"";
  display: inline-block;
  min-height: 14px;
  min-width: 24px;
  background-image: url("/wp-content/themes/theme-neo-funeraire/images/menu_arrow.svg");
  transform: rotate(180deg);
  transition: 0.2s;
}

.dropdownText section {
  font-size: 15px;
}

.dropdownText[open] summary::after {
  transition: 0.2s;
  transform: rotate(0deg);
}

.tabs--pills {
  display: flex;
}

.tabs--pill {
  text-align : center;
  padding: 10px 24px;
  border: 1px solid var(--platinum);
  user-select : none;
  font-size: 20px;
  font-weight: 600;
  background-color: var(--ghostWhite);
}

.tabs--pill:hover {
  cursor: pointer;
}

.tabs--pill:first-child {
  border-radius: 5px 0 0 0;
}
.tabs--pill:last-child {
  border-radius: 0 5px 0 0;
}

.greenTabs .tabs--pill:first-child {
  background-color: var(--yellowGreen);
}
.greenTabs .tabs--pill:nth-child(2) {
  background-color: var(--yellowGreenCrayola);
}

.purpleTabs .tabs--pill:first-child {
  background-color: var(--midnightBlue);
  color: white;
}
.purpleTabs .tabs--pill:nth-child(2) {
  background-color: var(--liberty);
  color: white;
}

.tabs--pill.active {
  border: none;
}

.tab--child {
  display: none;
}

.tab--child.open{
  display: grid;
}

.tab--child > .has-background:not(.section) > div > *:not(figure) {
  margin-left: 5%;
  margin-right: 5%;
}

.tab--child > .has-background:not(.section) > div > *:last-child {
  margin-bottom: 24px !important;
}

.tabs--list {
  max-width: 1000px;
}

.wp-block-baluchon-card {
  border: solid 1px var(--platinum);
  border-radius: 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: white;
}

.wp-block-baluchon-card figure {
  position: relative;
}

.wp-block-baluchon-card > *:not(figure) {
  margin: 12px 20px 0;
}

.wp-block-baluchon-card > *:not(figure):last-child {
  margin: auto 20px 16px;
  padding-top: 16px;
}

.wp-block-baluchon-card.large-margin-inner-card > *:not(figure) {
  margin: 12px 48px 0;
}

.wp-block-baluchon-card.large-margin-inner-card > *:not(figure):last-child {
  margin: auto 48px 42px;
}

.wp-block-baluchon-card img {
  width: 100%;
}

.wp-block-baluchon-card .wp-block-button__link,
.section .wp-block-button__link {
  font-size: 18px;
}

.wp-block-baluchon-card figcaption {
  position: absolute;
  background-color: white;
  font-weight: 600;
  bottom: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 50px;
}

.cover {
  margin: 0;
  max-width: 100%;
}

.cover h1, .cover h2 {
  font-size: 50px;
}

.cover .wp-block-column > figure {
  margin: 0;
  margin-bottom: -6px;
}

.cover .wp-block-columns {
  max-width: calc(100% - ((100% - 1420px) / 2));
  margin-left: auto;
  margin-right: 0;
  gap: 6rem !important;
}

.cover .wp-block-column:first-child > * {
  margin: 0;
}

.cover .wp-block-column:first-child > *:not(:first-child) {
  margin-top: 1.75rem;
}

.cover .wp-block-column:first-child {
  margin: 2rem 0;
}

.cover li {
  font-size: 18px;
}

.citiesList > p {
  font-size: 15px;
  padding: 12px 0;
}

.citiesList {
  background-color: var(--ghostWhite);
  min-width: 100%;
  padding: .5rem 0 1.5rem;
  margin-top: 0;
}

.citiesList > * {
  max-width: 1260px;
  margin: 0 auto;
}

.citiesWrapper {
  display: flex;
  gap: 10px;
}

.citiesWrapper > *:first-child {
  flex-basis: 40%;
}
.citiesWrapper > *:last-child {
  flex-basis: 60%;
}

.cityCards {
  max-height: 419px;
  overflow-y: scroll;
  padding-right: 10px;
}

.city {
  display: block;
  text-decoration: none;
  color: var(--midnightBlue);
  background-color: white;
  border: 1px solid var(--platinum);
  border-radius: 5px;
  padding: 12px 8px 6px 12px;
}

.city > * {
  margin: 0;
}

.city .cityInformation, .city span {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.cityInformation {
  margin-bottom: 8px;
  gap: 6px;
}

.cityInformation img {
  height: 20px;
  width: 20px;
}

.city span {
  color: var(--liberty);
  gap: 8px;
  justify-content: right;
  margin-top: 8px;
}

.cityName {
  font-weight: bold;
  margin-bottom: 10px;
}

.city:hover span {
  text-decoration: underline;
}

.city:not(:last-child) {
  margin-bottom: 18px;
}

.cityMap {
  display: block;
}

.cityMap img {
  width: 100%;
}

.cityCards::-webkit-scrollbar {
  width: 11px;
}

/* Track */
.cityCards::-webkit-scrollbar-track {
  background-color: white;
  border-radius: 3px;
}

/* Handle */
.cityCards::-webkit-scrollbar-thumb {
  background: var(--midnightBlue);
  border-radius: 3px;
}

.stretch-columns {
  align-items: initial !important;
}

.is-style-overflow {
  overflow-x: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  max-width: calc(100% - ((100% - 1420px) / 2));
  margin-left: auto;
  margin-right: 0;
  padding-bottom: 1px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.is-style-overflow::-webkit-scrollbar {
  display: none;
}

.is-style-overflow > * {
  min-width: calc((100% / 5) - 5em);
  max-width: calc((100% / 5) - 5em);
}

.is-style-overflow > *:last-child {
  margin-right: 5%;
}

.wp-block-spacer {
  margin-top: 0 !important;
}

.granite-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 5px;
  margin-top: 5px !important;
}

.granite-block {
  margin: 0;
}

.country-selector {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
}

.country-selector > div:first-child > img {
  transform: rotate(180deg);
  height: 9px;
  width: auto;
}

.country-selector > div:first-child, .granite-countries > div {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 5px;
  padding: 15px 30px;
  margin: 0 auto;
  width: fit-content;
  gap: 10px;
  color: #999999;
  background-color: white;
}

.country-selector > div:first-child:hover, .granite-countries > div:hover, .granite-countries > div.selected-country {
  cursor: pointer;
  color: black;
  box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 13%);
}

.country-selector > div:first-child:hover > img {
  filter: brightness(0%);
}

.granite-countries {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 10;
}

.granite-countries > div {
  padding: 15px 0;
  width: 200px;
  justify-content: center;
  gap: 6px;
  margin: 5px auto 0;
}

@media screen and (min-width: 1440px) {
  .regular-width {
    max-width: calc(100% - ((100% - 1260px) / 2)) !important;
  }

  .width-1260px > div {
    max-width: 1260px;
  }
}

@media screen and (max-width: 1440px) {
  .is-style-overflow,
  .cover .wp-block-columns {
    max-width: calc(100% - ((100% - 1260px) / 2));
  }
}

@media screen and (max-width: 1280px) {
  .is-style-overflow,
  .cover .wp-block-columns {
    max-width: calc(100% - ((100% - 1000px) / 2));
  }

  main > .wp-block-baluchon-card {
    margin: 0 5%;
  }

  .citiesList {
    margin: 0;
    padding: 0 0 .5rem;
  }

  .citiesList > * {
    max-width: 100%;
    margin: 0 5%;
  }

  .citiesWrapper {
    flex-direction: column;
    gap: 1.75rem !important;
  }

  .dropdownText.fullBorder {
    max-width: 100%;
    padding: 12px;
  }
}

@media screen and (max-width: 1024px) {
  .wp-block-group:not(.cover-banner):not(.cover):not(.side-background) > div > * {
    margin-top: 16px;
  }

  .cover .wp-block-columns {
    margin-left: 0;
    gap: 0 !important;
  }

  .cover .wp-block-column:first-child {
    margin: 2rem 5%;
  }

  .cover h1, .cover h2 {
    font-size: 32px;
  }

  .cover li {
    font-size: 17px;
  }

  .cover .wp-block-column:first-child > *:not(:first-child) {
    margin-top: 1.25rem;
  }

  .tabs--list {
    max-width: 100%;
  }

  .tabs--pill {
    font-size: 15px;
  }

  .tabs--pills {
    flex-direction: column;
  }

  .tabs--pill:first-child {
    border-radius: 0;
  }
  .tabs--pill:last-child {
    border-radius: 0;
  }

  .contactBannerWrapper {
    max-width: 100%;
    margin: 32px 5%;
  }

  .contactBanner {
    padding: 0 5%;
    margin-bottom: 28px;
  }

  .contactBannerInfos {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 8px;
  }

  .contactBannerAppointment {
    align-items: center;
    padding: 0 5%;
  }

  .dropdownText {
    max-width: 100%;
  }

  .dropdownText summary {
    font-size: 19px;
  }

  .wp-block-columns {
    flex-direction: column;
  }

  .cover .wp-block-column:first-child > .certified {
    margin-bottom: 0 !important;
    flex-direction: column;
    font-size: 16px;
    text-align: center;
    margin: 0 15%;
  }

  .is-style-overflow {
    max-width: 95%;
    flex-direction: row;
  }

  .is-style-overflow > * {
    min-width: calc((100% / 3) - 5em);
  }

  .wp-block-baluchon-card .wp-block-button__link,
  .section .wp-block-button__link {
    font-size: 17px;
  }

  .wp-block-baluchon-card.large-margin-inner-card > *:not(figure) {
    margin: 12px 20px 0;
  }

  .wp-block-baluchon-card.large-margin-inner-card > *:not(figure):last-child {
    margin: auto 20px 16px;
  }

  .icon-columns {
    flex-direction: row;
  }

  .icon-columns > *:first-child {
    flex-basis: 16% !important;
  }

  .granite-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media screen and (max-width: 768px) {
  .granite-gallery {
    grid-template-columns: repeat(1, 1fr);
  }

  .is-style-overflow > * {
    min-width: 63%;
  }

  .is-style-overflow br {
    display: none;
  }
}