/* ===== BASE TYPOGRAPHY ===== */
/* Mobile First Approach */
.h1 {
  font-size: 1.09rem;
}
.h2 {
  font-size: 0.91rem;
}
.t1 {
  font-size: 0.73rem;
}
.b1 {
  font-size: 0.64rem;
}
.b2 {
  font-size: 0.55rem;
}
.btn {
  font-size: 0.73rem;
}

/* Desktop */
@media (min-width: 769px) {
  .h1 {
    font-size: 0.83rem;
  }
  .h2 {
    font-size: 0.75rem;
  }
  .t1 {
    font-size: 0.45rem;
  }
  .b1 {
    font-size: 0.38rem;
  }
  .b2 {
    font-size: 0.3rem;
  }
  .btn {
    font-size: 0.38rem;
  }
}

/* ===== APPOINTMENT COMPONENT ===== */
.second-appointment {
  width: 16rem;
  padding: 1rem 0;
  text-transform: initial;
}

.appointment__heading {
  color: var(--brandColor);
}

.appointment__media {
  width: 16.54rem;
  height: 6.18rem;
  margin-top: 0.4rem;
}

.appointment__img {
  width: 100%;
  height: 100%;
}

/* By default, show desktop image, hide mobile */
.appointment__img--desktop {
  display: block;
}
.appointment__img--mobile {
  display: none;
}

.appointment__subheading {
  color: var(--brandColor);
  font-weight: 500;
  line-height: 1.2;
  margin: 0.5rem 0 0.2rem;
}

.appointment__text {
  color: #2d2d2d;
  margin-top: 0.3rem;
}

.appointment__points {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.appointment__points li {
  color: #2d2d2d;
  display: flex;
}

.appointment__icon {
  height: 0.9rem;
  width: 0.9rem;
  margin: 0.1rem 0.5rem 0 0;
}

.appointment__contact {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0.6rem 0.9rem 0.6rem;
  border: 1px solid rgba(45, 45, 45, 0.3);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.appointment__contactHeading {
  color: var(--brandColor);
  font-weight: 600;
}

.appointment__contact img {
  height: 0.9rem;
}

.appointment__contact li {
  display: flex;

  margin-top: 0.6rem;
}
@media screen and (max-width: 768px) {
  .appointment__contact li {
    font-weight: 400;
  }
}

.appointment__contact li img {
  margin: 0.15rem 0.5rem 0 0;
  height: 0.8rem;
}

.appointment__contact li p a {
  color: var(--brandColor);
}

/* ===== DESKTOP ENHANCEMENTS ===== */
@media screen and (min-width: 769px) {
  .second-appointment {
    width: 18.75rem;
  }

  .appointment__media {
    width: 20.75rem;
    height: 6.41rem;
  }

  .appointment__subheading {
    font-size: 0.603rem;
    text-transform: initial;
  }

  .appointment__text {
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.02em;
    width: 18rem;
    font-size: 0.377rem;
    margin-top: 0.3rem;
  }

  .appointment__text span {
    font-weight: 600;
  }

  .appointment__points li {
    font-weight: 400;
    font-size: 0.377rem;
    line-height: 1.4;
    width: 22rem;
  }

  .appointment__icon {
    height: 0.377rem;
    width: 0.377rem;
  }

  .appointment__contact li {
    font-weight: 400;
  }

  .appointment__contact li p {
    font-size: 0.377rem;
    color: #2d2d2d;
    font-weight: 400;
  }

  .appointment__contact li img {
    height: 0.377rem;
    margin-top: 0;
    margin-right: 0.3rem;
  }
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  /* Switch image display for mobile */
  .appointment__img--desktop {
    display: none;
  }
  .appointment__img--mobile {
    display: block;
  }
}
