/* NextPatient widget restyle — scoped under .np-sec so it matches
   Oppenheimer tokens. !important beats the widget's injected <style>. */

.np-sec,
.np-sec .nextpatient-box,
.np-sec .nextpatient-font {
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.np-sec *,
.np-sec *::before,
.np-sec *::after {
  box-sizing: border-box;
}

.np-sec .nextpatient-box {
  width: 100% !important;
  max-width: 100% !important;
  padding-bottom: 8px !important;
  overflow-x: clip !important;
}

/* Filters */
.np-sec .nextpatient-criteria-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 16px !important;
  margin-bottom: 20px !important;
}

.np-sec .nextpatient-criteria-box {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 180px !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.np-sec .nextpatient-criteria-label,
.np-sec .nextpatient-criteria-label label {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--rose-text) !important;
  letter-spacing: .04em;
  margin: 0 0 6px !important;
}

.np-sec .nextpatient-criteria-input {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.np-sec .nextpatient-criteria-box select,
.np-sec .nextpatient-criteria-box input,
.np-sec .nextpatient-criteria-input select,
.np-sec .nextpatient-criteria-input input,
.np-sec select,
.np-sec input[type="text"],
.np-sec input[type="search"],
.np-sec input[type="number"],
.np-sec input[type="tel"],
.np-sec input[type="email"],
.np-sec input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border: var(--hairline) !important;
  border-radius: var(--radius-control) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  width: 100% !important;
  max-width: 100% !important;
}

.np-sec .nextpatient-search-submit,
.np-sec .nextpatient-criteria-box input[type="submit"],
.np-sec input[type="submit"] {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 12px 24px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: var(--accent) !important;
  background-image: none !important;
  color: var(--accent-ink) !important;
  cursor: pointer !important;
  width: auto !important;
  max-width: 100% !important;
}

.np-sec .nextpatient-search-submit:hover,
.np-sec input[type="submit"]:hover {
  filter: brightness(.92);
}

/* Provider cards: drop table layout so nothing spills at 390px */
.np-sec .nextpatient-provider-table {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  text-align: left !important;
}

.np-sec .nextpatient-provider-table .nextpatient-provider {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: var(--paper) !important;
  border: var(--hairline) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-soft) !important;
  padding: 20px !important;
  margin: 0 0 16px !important;
  overflow: hidden !important;
}

.np-sec .nextpatient-provider-table .nextpatient-provider-image-cell {
  display: block !important;
  flex: 0 0 160px !important;
  width: 160px !important;
  height: 200px !important;
  border-radius: 16px !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: var(--blush-mist) !important;
}

.np-sec .nextpatient-provider-table .nextpatient-provider-provider-cell {
  display: block !important;
  flex: 1 1 220px !important;
  min-width: 0 !important;
  padding-left: 0 !important;
  vertical-align: top !important;
}

.np-sec .nextpatient-provider-name,
.np-sec .nextpatient-provider-table .nextpatient-provider-name,
.np-sec .nextpatient-provider-name b {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  letter-spacing: -.005em !important;
  font-style: normal !important;
  text-align: left !important;
}

.np-sec .nextpatient-provider-blurb,
.np-sec .nextpatient-provider-table .nextpatient-provider-blurb,
.np-sec .nextpatient-provider-address,
.np-sec .nextpatient-provider-age-range,
.np-sec .nextpatient-provider-table .nextpatient-provider-address,
.np-sec .nextpatient-provider-table .nextpatient-provider-age-range {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  text-align: left !important;
  margin-top: 6px !important;
}

.np-sec .nextpatient-provider-table .nextpatient-provider-name-block {
  display: block !important;
}

/* Time pills — shaped like .btn */
.np-sec .nextpatient-provider-times,
.np-sec .nextpatient-provider-table .nextpatient-provider-times {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 10px 0 4px !important;
  text-align: left !important;
  max-width: 100% !important;
}

.np-sec .nextpatient-provider-times > div {
  display: block !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  vertical-align: top !important;
}

.np-sec a.nextpatient-slot-time,
.np-sec a.nextpatient-slot-time:link,
.np-sec a.nextpatient-slot-time:visited,
.np-sec .nextpatient-box a.nextpatient-slot-time,
.np-sec .nextpatient-box a.nextpatient-slot-time:visited,
.np-sec .nextpatient-provider-table .nextpatient-slot-time,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  min-height: 48px !important;
  height: auto !important;
  min-width: 110px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  border: 2px solid #5F7463 !important;
  background: #fff !important;
  background-image: none !important;
  color: #4D5F51 !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

/* 1005: rose hover/focus removed. Slot hover is gated later under @media (hover:hover) with a subtle green; taps stay green. */

.np-sec .nextpatient-slot-time-day,
.np-sec .nextpatient-provider-table .nextpatient-slot-time-day {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  padding: 0 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.np-sec .nextpatient-slot-time-time,
.np-sec .nextpatient-provider-table .nextpatient-slot-time-time {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  color: #4D5F51 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.np-sec .nextpatient-slot-time-more,
.np-sec a.nextpatient-slot-time.nextpatient-slot-time-more,
.np-sec .nextpatient-provider-table .nextpatient-slot-time-more {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  color: #4D5F51 !important;
}

.np-sec .nextpatient-provider-more-times,
.np-sec .nextpatient-provider-table .nextpatient-provider-more-times {
  margin-top: 10px !important;
  text-align: left !important;
}

.np-sec .nextpatient-link,
.np-sec a.nextpatient-link,
.np-sec a.nextpatient-link:visited,
.np-sec .nextpatient-provider-table .nextpatient-profile-url,
.np-sec .nextpatient-provider-table .nextpatient-profile-url a {
  color: var(--rose-text) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
}

.np-sec .nextpatient-no-times-available,
.np-sec .call-no-times,
.np-sec .nextpatient-provider-table .call-no-times,
.np-sec .nextpatient-provider-table .next-appt-block,
.np-sec .nextpatient-provider-table .next-appt-block .explanation,
.np-sec .nextpatient-provider-table .next-appt-block .time-line {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
}

/* Mobile / 390px: no sideways scroll, keep 44px targets, show small photo */
@media (max-width: 500px) {
  .np-sec .nextpatient-provider-table .nextpatient-provider {
    padding: 16px !important;
    gap: 12px !important;
  }

  .np-sec .nextpatient-provider-table .nextpatient-provider-image-cell {
    display: none !important;
  }

  .np-sec .nextpatient-provider-table .nextpatient-provider-provider-cell {
    flex: 1 1 100% !important;
    padding-left: 0 !important;
  }

  .np-sec .nextpatient-provider-table .nextpatient-provider-name-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .np-sec .nextpatient-provider-table .nextpatient-provider-name-block-left,
  .np-sec .nextpatient-provider-table .nextpatient-provider-name-block-right {
    display: block !important;
  }

  .np-sec .nextpatient-provider-small-photo,
  .np-sec .nextpatient-provider-table .nextpatient-provider-small-photo {
    display: block !important;
    width: 72px !important;
    height: 96px !important;
    min-width: 72px !important;
    border-radius: 12px !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: var(--blush-mist) !important;
  }

  .np-sec .nextpatient-provider-times,
  .np-sec .nextpatient-provider-table .nextpatient-provider-times {
    text-align: left !important;
  }

  .np-sec a.nextpatient-slot-time,
  .np-sec .nextpatient-box a.nextpatient-slot-time,
  .np-sec .nextpatient-provider-table .nextpatient-slot-time {
    min-width: 112px !important;
    width: auto !important;
    flex: 0 1 auto !important;
  }

  .np-sec .nextpatient-provider-more-times,
  .np-sec .nextpatient-provider-table .nextpatient-provider-more-times {
    text-align: left !important;
  }
}

/* Call block (book-opp / reservar-opp) — photo of Adam with a Call CTA */
.np-call {
  padding: 8px 0 32px;
}

.np-call-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--blush-mist);
  text-decoration: none;
  color: inherit;
}

.np-call-card .media,
.np-call-card .rp,
.np-call-card img {
  display: block;
  width: 100%;
  height: auto;
}

.np-call-over {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 16px 20px;
  background: linear-gradient(to top, rgba(62, 71, 76, .78), rgba(62, 71, 76, 0));
}

.np-call-over .btn {
  min-width: 168px;
  min-height: 48px;
  font-size: 16px;
}

.np-call-num {
  color: #fff;
  font: 600 16px/1.3 var(--font-body);
  letter-spacing: .08em;
}

.np-call-card:hover .np-call-over .btn,
.np-call-card:focus-visible .np-call-over .btn {
  filter: brightness(.96);
}

/* Hide Visit Reason picker on /book-opp/ and /es/reservar-opp/.
   Reason is already fixed by the widget script's rs= / reason_id= params
   (Phone Consult 36842 on the RN widget, In-Office Consult 37315 on the MD widget).
   NextPatient has no documented param to hide this UI; extra hide_* query
   params are ignored. The select stays in the DOM so slots and More links keep working. */
.np-sec.np-hide-reason .nextpatient-criteria-container {
  display: none !important;
}

/* ===== book-opp / reservar-opp (8:40 AM): photo gate, headings, spacing, crops, hide sticky bar ===== */
body.page-book .actionbar{display:none!important}
@media(max-width:767px){body.page-book{padding-bottom:0!important}}

/* Hero: same framed, full-image treatment as other site heroes — faces stay in frame */
body.page-book .phero.phero-book{padding-block:18px 8px}
body.page-book .phero.phero-book .phero-grid{gap:20px;padding-block:0;align-items:center}
body.page-book .phero.phero-book .media,
body.page-book .phero.phero-book .tt-photo .media{
  aspect-ratio:auto!important;
  height:auto!important;
  max-height:none!important;
  border-radius:24px;
  overflow:hidden;
  background:var(--paper);
  box-shadow:var(--shadow-soft);
}
body.page-book .phero.phero-book .media img,
body.page-book .phero.phero-book .tt-photo .media img{
  display:block;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
}
body.page-book .tt-photo-note{margin:8px 0 0!important;padding:0;text-align:center}

/* Even vertical rhythm: headings, widgets, placeholder */
body.page-book .np-block{padding:24px 0 4px}
body.page-book .np-block .wrap{max-width:var(--max)}
body.page-book .np-block h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(26px,3vw,34px);
  line-height:1.15;
  letter-spacing:-.005em;
  margin:0 0 8px;
  color:var(--ink);
}
body.page-book .np-desc{
  margin:0;
  font-size:16px;
  line-height:1.55;
  color:var(--muted);
}
body.page-book .np-desc a{color:var(--rose-text)}
body.page-book .np-sec{padding:8px 0 16px}
body.page-book .np-placeholder{padding:8px 0 36px}
body.page-book main{padding-bottom:12px}

/* Photo gate: default = placeholder on, MD widget off (works without JS) */
body.page-book #np-md{display:none}
body.page-book #np-call-placeholder{display:block}
html.has-photos body.page-book #np-md{display:block}
html.has-photos body.page-book #np-call-placeholder{display:none}

/* "Call to schedule" pretend NextPatient card */
.np-fake{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px 24px;
  max-width:640px;
  padding:20px;
  background:var(--paper);
  border:var(--hairline);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
  text-decoration:none;
  color:inherit;
}
.np-fake-photo{
  flex:0 0 160px;
  width:160px;
  border-radius:16px;
  overflow:hidden;
  background:var(--blush-mist);
  box-shadow:var(--shadow-soft);
}
.np-fake-photo img,
.np-fake-photo .rp,
.np-fake-photo picture{
  display:block;
  width:100%;
  height:auto;
}
.np-fake-copy{flex:1 1 200px;min-width:0}
.np-fake-name{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(24px,2.4vw,30px);
  line-height:1.15;
  letter-spacing:-.005em;
  color:var(--ink);
  margin:0 0 10px;
}
.np-fake-cta{
  font-family:var(--font-body);
  font-weight:600;
  font-size:16px;
  line-height:1.4;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--rose-text);
}
.np-fake:hover .np-fake-cta{color:var(--rose-clay)}
@media(max-width:500px){
  .np-fake{padding:16px;gap:14px}
  .np-fake-photo{flex-basis:120px;width:120px;border-radius:14px}
}

/* Locked MD card: same box as the unlocked widget; only the times row differs */
#np-call-placeholder a.nextpatient-slot-time{
  min-width: 220px !important;
  width: auto !important;
  padding-inline: 18px !important;
}
#np-call-placeholder .nextpatient-provider{
  text-decoration: none;
  color: inherit;
}


/* 0915: small headshot + name; exactly 3 green slot pills in one row; More on the next line.
   Applies at 390 / 820 / 1440. Extra slots past 3 are hidden. */
.np-sec .nextpatient-provider-table .nextpatient-provider-image-cell {
  display: none !important;
}
.np-sec .nextpatient-provider-table .nextpatient-provider-provider-cell {
  flex: 1 1 100% !important;
  width: 100% !important;
  min-width: 0 !important;
}
.np-sec .nextpatient-provider-table .nextpatient-provider-name-block {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
}
.np-sec .nextpatient-provider-name-block-left,
.np-sec .nextpatient-provider-table .nextpatient-provider-name-block-left,
.np-sec .nextpatient-provider-name-block-right,
.np-sec .nextpatient-provider-table .nextpatient-provider-name-block-right {
  display: block !important;
}
.np-sec .nextpatient-provider-small-photo,
.np-sec .nextpatient-provider-table .nextpatient-provider-small-photo {
  display: block !important;
  width: 72px !important;
  height: 96px !important;
  min-width: 72px !important;
  min-height: 96px !important;
  flex: 0 0 72px !important;
  border-radius: 12px !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: var(--blush-mist) !important;
  background-repeat: no-repeat !important;
}
.np-sec .nextpatient-provider-times,
.np-sec .nextpatient-provider-table .nextpatient-provider-times {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Hide any slot after the first three (More is excluded) */
.np-sec .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)):nth-of-type(n+4),
.np-sec .nextpatient-provider-table .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)):nth-of-type(n+4) {
  display: none !important;
}

/* Three slot pills share one row and shrink to fit */
.np-sec .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)),
.np-sec .nextpatient-provider-table .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)) {
  display: block !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 160px !important;
  width: auto !important;
}

/* More starts a new line, sized like one slot, left-aligned */
.np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more),
.np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.np-sec a.nextpatient-slot-time,
.np-sec a.nextpatient-slot-time:link,
.np-sec a.nextpatient-slot-time:visited,
.np-sec .nextpatient-box a.nextpatient-slot-time,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time,
.np-sec .nextpatient-provider-table .nextpatient-slot-time {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 8px 6px !important;
  border: 2px solid #5F7463 !important;
  background: #fff !important;
  background-image: none !important;
  color: #4D5F51 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
/* 1005: hover/focus for slots is at the end of this file (hover-gated, no rose). */
.np-sec .nextpatient-slot-time-day,
.np-sec .nextpatient-provider-table .nextpatient-slot-time-day,
.np-sec .nextpatient-slot-time-time,
.np-sec .nextpatient-provider-table .nextpatient-slot-time-time,
.np-sec .nextpatient-slot-time-more,
.np-sec a.nextpatient-slot-time.nextpatient-slot-time-more,
.np-sec .nextpatient-provider-table .nextpatient-slot-time-more {
  color: #4D5F51 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

/* More link itself is a left-aligned pill, same width as a slot (max 160) */
.np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) a.nextpatient-slot-time,
.np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) a.nextpatient-slot-time {
  width: 100% !important;
  max-width: 160px !important;
}

/* Locked Call pill sits in the slots row and can span that row so the phone number fits */
#np-call-placeholder .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)) {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}
#np-call-placeholder a.nextpatient-slot-time {
  width: 100% !important;
  max-width: 280px !important;
  min-width: 0 !important;
  padding-inline: 16px !important;
}
#np-call-placeholder .nextpatient-provider {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 430px) {
  .np-sec .nextpatient-slot-time-day,
  .np-sec .nextpatient-provider-table .nextpatient-slot-time-day {
    font-size: 10px !important;
    letter-spacing: .02em !important;
  }
  .np-sec .nextpatient-slot-time-time,
  .np-sec .nextpatient-provider-table .nextpatient-slot-time-time,
  .np-sec a.nextpatient-slot-time.nextpatient-slot-time-more {
    font-size: 13px !important;
  }
  .np-sec a.nextpatient-slot-time,
  .np-sec .nextpatient-provider-table a.nextpatient-slot-time {
    padding: 6px 4px !important;
    min-height: 44px !important;
  }
  .np-sec .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)),
  .np-sec .nextpatient-provider-table .nextpatient-provider-times > div:not(:has(.nextpatient-slot-time-more)) {
    max-width: calc((100% - 16px) / 3) !important;
  }
  .np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more),
  .np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) a.nextpatient-slot-time,
  .np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) a.nextpatient-slot-time {
    width: 100% !important;
    max-width: calc((100% - 16px) / 3) !important;
  }
}


/* 0931: More must sit on the line below the three slot pills at 390, 820 and 1440.
   00023-hht shipped a 390 rule that let More share the slot row. */
.np-sec .nextpatient-provider-times,
.np-sec .nextpatient-provider-table .nextpatient-provider-times {
  flex-wrap: wrap !important;
}
.np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more),
.np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) {
  flex: 1 1 100% !important;
  flex-basis: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}
@media (max-width: 430px) {
  .np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more),
  .np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) {
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .np-sec .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) a.nextpatient-slot-time,
  .np-sec .nextpatient-provider-table .nextpatient-provider-times > div:has(.nextpatient-slot-time-more) a.nextpatient-slot-time {
    width: 100% !important;
    max-width: calc((100% - 16px) / 3) !important;
  }
}


/* 0937: plain tel link by the locked-card name — no pill, bubble, or button */
#np-call-placeholder a.np-phone-plain,
#np-call-placeholder a.np-phone-plain:link,
#np-call-placeholder a.np-phone-plain:visited {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--ink, #3E474C) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  line-height: 1.3 !important;
}
#np-call-placeholder a.np-phone-plain:hover,
#np-call-placeholder a.np-phone-plain:focus-visible {
  background: none !important;
  color: var(--ink, #3E474C) !important;
  text-decoration: underline !important;
}
#np-call-placeholder .nextpatient-provider-name-block-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
}

/* LP / open booking pages: same page as /book-opp/, MD widget always unlocked */
body.page-book-open #np-md {
  display: block !important;
}
body.page-book-open #np-call-placeholder {
  display: none !important;
}

/* 1005: slot pills and More stay green. A tap on a touch device must not leave a
   rose (or any) sticky hover. Subtle sage hover only when the device can hover.
   Keyboard users get a green focus-visible ring only. */
.np-sec a.nextpatient-slot-time,
.np-sec a.nextpatient-slot-time:link,
.np-sec a.nextpatient-slot-time:visited,
.np-sec a.nextpatient-slot-time:hover,
.np-sec a.nextpatient-slot-time:focus,
.np-sec a.nextpatient-slot-time:active,
.np-sec .nextpatient-box a.nextpatient-slot-time,
.np-sec .nextpatient-box a.nextpatient-slot-time:visited,
.np-sec .nextpatient-box a.nextpatient-slot-time:hover,
.np-sec .nextpatient-box a.nextpatient-slot-time:focus,
.np-sec .nextpatient-box a.nextpatient-slot-time:active,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:hover,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:focus,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:active,
.np-sec .nextpatient-provider-table .nextpatient-slot-time,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:hover,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:focus,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:active {
  -webkit-tap-highlight-color: transparent;
}
.np-sec a.nextpatient-slot-time:hover,
.np-sec a.nextpatient-slot-time:focus,
.np-sec a.nextpatient-slot-time:active,
.np-sec a.nextpatient-slot-time:focus-visible,
.np-sec .nextpatient-box a.nextpatient-slot-time:hover,
.np-sec .nextpatient-box a.nextpatient-slot-time:focus,
.np-sec .nextpatient-box a.nextpatient-slot-time:active,
.np-sec .nextpatient-box a.nextpatient-slot-time:focus-visible,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:hover,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:focus,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:active,
.np-sec .nextpatient-provider-table a.nextpatient-slot-time:focus-visible,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:hover,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:focus,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:active,
.np-sec .nextpatient-provider-table .nextpatient-slot-time:focus-visible {
  background: #fff !important;
  background-image: none !important;
  border-color: #5F7463 !important;
  color: #4D5F51 !important;
  outline: none !important;
}
@media (hover: hover) {
  .np-sec a.nextpatient-slot-time:hover,
  .np-sec .nextpatient-box a.nextpatient-slot-time:hover,
  .np-sec .nextpatient-provider-table a.nextpatient-slot-time:hover,
  .np-sec .nextpatient-provider-table .nextpatient-slot-time:hover {
    background: #E3E9E0 !important;
    background-image: none !important;
    border-color: #4D5F51 !important;
    color: #4D5F51 !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .np-sec a.nextpatient-slot-time:focus-visible,
  .np-sec .nextpatient-box a.nextpatient-slot-time:focus-visible,
  .np-sec .nextpatient-provider-table a.nextpatient-slot-time:focus-visible,
  .np-sec .nextpatient-provider-table .nextpatient-slot-time:focus-visible {
    background: #fff !important;
    background-image: none !important;
    border-color: #5F7463 !important;
    color: #4D5F51 !important;
    outline: 2px solid #5F7463 !important;
    outline-offset: 3px !important;
  }
}
