.kg-relais {
    align-items: stretch; 
    margin-bottom: 100px !important;
    margin-top: 50px;
}

.kg-relais>div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kg-logo-relais {
  max-width: 350px;
  height: auto;
}

.kg-mid-highlight {
  background: linear-gradient(to top, #fd0 50%, transparent 50%);
  padding: 0 4px;
  width: fit-content;
}

.kg-card {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.kg-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  flex-direction: column;
}

.kg-card__head>p {
  margin-top: 0;
}
.kg-card__title {
    font-weight: bold;
    font-size: 18px;
}

.kg-card>p {
    text-align: center;
}

.kg-card__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 70px;
    height: 70px;
    transform: rotate(360deg);
}

.kg-chip {
  display: inline-block;
  border: 1px solid black;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin: 0.5rem 0;
}

.kg-slider-wrapper {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 20px;
    background: #fff; 
}

.kg-relais__slider {
    position: relative;
}

@media (min-width: 960px) {
  .kg-relais__slider,
  .kg-slider-wrapper {
    overflow: visible;
  }

  .kg-relais__slider {
    position: relative;
    z-index: 0;
    }

  .kg-slider-wrapper::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    width: calc(100% + 4rem);
    height: calc(100% + 3rem);
    right: -4rem;
    bottom: -3rem;
    background-image: url(/typo3conf/ext/kg_package/Resources/Public/images/svg/group-point-grand-angle.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 100% 100%;
  }
}

.kg-slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.kg-slider-btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: 1px solid black;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.kg-slider-btn.is-active {
  background: #fd0; 
  box-shadow: 0 0 4px #fff;
}

.kg-relais__slide {
  display: none;
}

.kg-relais__slide.is-active {
  display: block;
}


.kg-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
}


.kg-button-contact {
    border: 2px solid #fd0;
}

.kg-portail--btn {
  text-transform: uppercase !important;
}

.kg-adresse {
  /* padding-block: 15px; */
  font-size: 21px;
}

@media (max-width: 450px) {
  .kg-adresse {
    font-size: 17px;
  }
}