/* Custom overrides */
.wpcf7-form fieldset {
  border: none;
}

.footer__box > * {
  padding-right: 2rem;
}

.footer__menu > li.menu-item-has-children {
  padding-bottom: 2rem;
}

@media (min-width: 576px) {
  .footer__box {
    flex-wrap: nowrap;
  }
}

/* Doctor cards - contact page */
.doctor-card {
  margin-top: 4rem;
  text-align: center;
}

.doctor-card__photo img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.doctor-card__info .contact__title {
  color: #c79e4f;
  margin-bottom: 4rem;
}

.doctor-card__address {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.doctor-card__label {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1rem;
}

.doctor-card__info .contact__text {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.1rem;
}

.doctor-card__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
}

.doctor-card__socials a {
  display: inline-flex;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.doctor-card__socials a:hover {
  opacity: 0.7;
}

.doctor-card__socials svg {
  height: 4.5rem;
  width: auto;
  display: block;
  overflow: visible;
}

@media (min-width: 768px) {
  .doctor-card {
    display: flex;
    align-items: center;
    text-align: left;
  }

  .doctor-card__photo {
    flex: 0 0 40%;
  }

  .doctor-card__info {
    flex: 0 0 60%;
    margin-left: calc(100% / 6);
  }

  .doctor-card__socials {
    justify-content: flex-start;
  }
}


  .coupon-layout__info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

/* Coupon/bon section */
@media (min-width: 768px) {

  .coupon-layout {
    display: flex;
    align-items: center;
  }

  .coupon-layout__photo {
    flex: 0 0 40%;
    margin-left: calc(-50vw + 40%);
  }

  .coupon-layout__photo img {
    width: 50vw;
    max-width: none;
    height: auto;
    display: block;
  }

  .coupon-layout__info .section__title {
    margin-bottom: 0;
  }

  .coupon-layout__info .btn {
    margin-top: 3rem;
  }

  
  .coupon-layout__info {
    margin-left: calc(100% / 6);
    align-items: flex-start;
  }
}

@media (min-width: 1600px) {
  .doctor-card__address,
  .doctor-card__label,
  .doctor-card__info .contact__text {
    font-size: 1.8rem;
  }

  .doctor-card__socials svg {
    height: 5rem;
  }
}

@media (max-width: 768px) {
    .show_in_view img {
        margin: 1rem auto 2rem auto;
    }
    .doctor-card {
        margin-bottom: 8rem;
    }
}
