/* ─────────────────────────────────────────────────────────────
   DOCTOR PAGE — #sec-branch, the clinics this doctor receives in

   The homepage's "מיקומים וזמינות" cards (.dmc-clinics-availability,
   .dmc-location-card — home-v2.css, which the template already loads),
   filtered to the doctor's clinics. Only what the doctor page needs on top
   is set here: the opening line under the heading, the two extra lines in
   each card (reception days, parking/access), so the card grows from the
   homepage's fixed 490px instead of clipping them, and the section's
   spacing as the last block above the footer.
   ───────────────────────────────────────────────────────────── */

.dmc-dr-page-wrapper.dmc-dr-story #sec-branch.dmc-dr-clinics {
  padding-top: 100px !important;
  padding-bottom: 140px !important;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__intro {
  max-width: 760px;
  margin: 16px auto 0;
  color: #283565;
  font-family: Polin, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card {
  height: auto !important;
  min-height: 490px;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-clinics-availability__grid {
  align-items: stretch;
}

/* The title link, without the inline style the homepage card carries. */
.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__title a {
  color: inherit;
  text-decoration: none;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__title a:hover,
.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__title a:focus-visible {
  color: #087CF5;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(40, 53, 101, 0.12);
  text-align: right;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  font-family: Polin, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #283565;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__row dt {
  margin: 0;
  font-weight: 600;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__row dd {
  margin: 0;
  font-weight: 400;
}

/* The actions sit at the foot of the card, whatever the content above. */
.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__actions {
  margin-top: auto !important;
  padding-top: 28px;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__phone-btn:focus-visible,
.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__address-link:focus-visible,
.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__title a:focus-visible {
  outline: 3px solid #087CF5;
  outline-offset: 3px;
}

.dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .dmc-dr-page-wrapper.dmc-dr-story #sec-branch.dmc-dr-clinics {
    padding-top: 60px !important;
    padding-bottom: 100px !important;
  }

  .dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics__intro {
    font-size: 17px;
    padding: 0 8px;
  }

  /* 44px touch targets on a phone. */
  .dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__phone-btn,
  .dmc-dr-page-wrapper.dmc-dr-story .dmc-dr-clinics .dmc-location-card__address-link {
    min-height: 44px;
  }
}
