/* Port Harcourt Dentist v2.6.3 — mobile header, service CTA, article chat and offer strip. */

/* Compact clinic announcement, injected above the main navigation. */
.phd-site-announcement {
  position: relative;
  z-index: 102;
  width: 100%;
  padding: 9px 0;
  background: var(--phd-announcement-bg, #173cad);
  color: var(--phd-announcement-text, #fff);
}
.phd-site-announcement-inner {
  display: flex;
  width: min(calc(100% - 72px), 1320px);
  min-height: 26px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-inline: auto;
}
.phd-site-announcement-label {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .12em;
}
.phd-site-announcement p {
  min-width: 0;
  margin: 0;
  color: var(--phd-announcement-text, #fff);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.phd-site-announcement-inner > a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: var(--phd-announcement-text, #fff);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}
.phd-site-announcement-inner > a:hover {
  background: rgba(255,255,255,.14);
  color: var(--phd-announcement-text, #fff);
}
@media (max-width: 640px) {
  .phd-site-announcement { padding: 8px 0; }
  .phd-site-announcement-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 24px);
    gap: 6px 10px;
  }
  .phd-site-announcement-label { grid-column: 1; grid-row: 1; justify-self: start; }
  .phd-site-announcement-inner > a { grid-column: 2; grid-row: 1; }
  .phd-site-announcement p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
  }
}

/* Mobile/tablet header: three intentional columns prevent logo/menu/button overlap. */
.header-cta-mobile { display: none; }
@media (max-width: 1080px) {
  .site-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 118px;
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
    width: calc(100% - 30px) !important;
    min-height: 72px;
    margin-inline: auto;
  }
  .site-header .site-branding {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: 175px;
    overflow: hidden;
  }
  .site-header .custom-logo-link {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
  .site-header .custom-logo,
  .site-header .phd-fallback-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
  }
  .site-header .menu-toggle {
    display: grid !important;
    grid-column: 2;
    grid-row: 1;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-self: center;
    justify-self: center;
    margin: 0 !important;
    padding: 0;
    border: 1px solid #dce2f0;
    border-radius: 9px;
    background: #fff;
    color: var(--phd-deep, #02114e);
    box-shadow: 0 2px 7px rgba(2,17,78,.06);
  }
  .site-header .menu-toggle svg { display: block; width: 22px; height: 22px; }
  .site-header .header-actions {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0 !important;
  }
  .site-header .header-phone { display: none !important; }
  .site-header .header-actions .button {
    display: inline-flex !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 43px;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
    line-height: 1.15;
    white-space: nowrap;
    text-align: center;
  }
  .header-cta-desktop { display: none !important; }
  .header-cta-mobile { display: inline !important; }
  .site-header .primary-navigation {
    position: absolute;
    z-index: 120;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: min(72vh, 580px);
    overflow-y: auto;
    margin: 0;
    padding: 10px 18px 18px;
    border-top: 1px solid #e4e8f1;
    background: #fff;
    box-shadow: 0 16px 28px rgba(2,17,78,.16);
  }
  .site-header .primary-navigation.is-open { display: block !important; }
  .site-header .primary-navigation ul { display: grid; gap: 0; margin: 0; padding: 0; }
  .site-header .primary-navigation a {
    display: block;
    padding: 13px 5px;
    color: var(--phd-deep, #02114e);
    font-size: 14px;
    line-height: 1.35;
  }
  .site-header .primary-navigation .current-menu-item > a:after,
  .site-header .primary-navigation .current_page_item > a:after { display: none !important; }
  .site-header .primary-navigation .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header .primary-navigation .sub-menu a { padding: 10px 5px; color: #596782; font-size: 13px; }
}
@media (max-width: 380px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) 38px 104px;
    gap: 7px;
    min-height: 66px;
  }
  .site-header .menu-toggle { width: 38px; height: 38px; flex-basis: 38px; }
  .site-header .custom-logo,
  .site-header .phd-fallback-logo { max-height: 43px; }
  .site-header .header-actions .button { min-height: 41px; font-size: 10px; padding-inline: 6px; }
}

/* Service detail page: a properly boxed CTA with legible white text and both actions. */
.phd-service-contact-band { padding: 12px 0 6px; }
.phd-service-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  border-radius: 16px;
  background: linear-gradient(118deg, var(--phd-deep, #02114e), var(--phd-accent-dark, #102f91));
  box-shadow: 0 14px 32px rgba(2,17,78,.12);
}
.phd-service-contact-copy { min-width: 0; }
.phd-service-contact-kicker {
  display: block;
  margin: 0 0 9px;
  color: #c5d2ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}
.phd-service-contact-copy h2,
.entry-content .phd-service-contact-copy h2 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.035em;
}
.phd-service-contact-copy p,
.entry-content .phd-service-contact-copy p {
  max-width: 720px;
  margin: 0 !important;
  color: rgba(255,255,255,.84) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.phd-service-contact-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 11px;
}
.phd-service-contact-actions > .button { white-space: nowrap; }
.phd-service-contact-actions .phd-secondary-shortcode { display: inline-flex; max-width: 100%; }
.phd-service-contact-actions .phd-secondary-shortcode > * { max-width: 100%; }
@media (max-width: 780px) {
  .phd-service-contact-band { padding-top: 8px; }
  .phd-service-contact-inner { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
  .phd-service-contact-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .phd-service-contact-inner { padding: 23px 19px; border-radius: 12px; }
  .phd-service-contact-actions { align-items: stretch; flex-direction: column; }
  .phd-service-contact-actions > .button,
  .phd-service-contact-actions .phd-secondary-shortcode { width: 100%; }
  .phd-service-contact-actions .phd-secondary-shortcode > * { width: 100% !important; justify-content: center !important; }
}

/* In-article live-chat invitation, using the same administrator-configured chat action. */
.phd-article-chat-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 32px 0;
  padding: 24px 26px;
  border: 1px solid #dfe5f0;
  border-radius: 13px;
  background: #f2f5fc;
}
.phd-article-chat-copy { min-width: 0; }
.phd-article-chat-copy > span { display: block; margin-bottom: 7px; color: var(--phd-accent, #173cad); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.phd-article-chat-copy h2 { margin: 0 0 6px; color: var(--phd-deep, #02114e); font-size: 21px; line-height: 1.2; }
.phd-article-chat-copy p { margin: 0; color: #68748a; font-size: 13px; line-height: 1.55; }
.phd-article-chat-action { flex: 0 0 auto; }
.phd-article-chat-action .phd-secondary-shortcode { display: inline-flex; }
@media (max-width: 640px) {
  .phd-article-chat-inline { align-items: flex-start; flex-direction: column; padding: 20px; }
  .phd-article-chat-action { width: 100%; }
  .phd-article-chat-action .phd-secondary-shortcode,
  .phd-article-chat-action .phd-secondary-shortcode > * { width: 100% !important; }
}

/* v2.6.5 — service detail: align the featured image with the article column and keep the enquiry panel beside it. */
.phd-service-detail-section{padding-top:48px;padding-bottom:64px}
.phd-service-detail-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,.82fr);align-items:start;gap:42px}
.phd-service-detail{min-width:0;max-width:none;margin:0}
.phd-service-detail-image{width:100%;max-width:none;margin:0 0 30px;overflow:hidden;border:1px solid #e1e7f2;border-radius:16px;background:#f3f6fc;box-shadow:0 10px 26px rgba(2,17,78,.07)}
.phd-service-detail-image img{display:block;width:100%;max-width:none;height:clamp(280px,36vw,500px);aspect-ratio:16/9;object-fit:cover;object-position:center}
.phd-service-detail-content{max-width:850px;color:#46536e;font-size:16px;line-height:1.8}
.phd-service-detail-content p{margin:0 0 1.2em}
.phd-service-detail-content h2,.phd-service-detail-content h3{color:var(--phd-deep);line-height:1.2}
.phd-service-booking-aside{min-width:0;position:sticky;top:124px}
.phd-service-booking-card{padding:27px 25px;border:1px solid #dbe3f3;border-radius:15px;background:linear-gradient(145deg,#f1f5ff 0%,#fff 78%);box-shadow:0 12px 30px rgba(2,17,78,.075)}
.phd-service-booking-card .phd-service-contact-kicker{color:var(--phd-accent);font-size:10px;font-weight:900;letter-spacing:.14em}
.phd-service-booking-card h2{margin:0 0 11px;color:var(--phd-deep);font-size:clamp(22px,2vw,28px);line-height:1.2;letter-spacing:-.03em}
.phd-service-booking-card p{margin:0 0 18px;color:#65718a;font-size:14px;line-height:1.65}
.phd-service-booking-actions{display:grid;gap:10px}
.phd-service-booking-actions>.button{width:100%;min-height:50px;white-space:normal;text-align:center}
.phd-service-booking-actions .phd-secondary-shortcode{display:flex;width:100%;max-width:100%;justify-content:stretch}
.phd-service-booking-actions .phd-secondary-shortcode>*{width:100%!important;max-width:100%;justify-content:center!important}
.phd-service-booking-card>small{display:block;margin-top:14px;color:#7a8499;font-size:11px;line-height:1.5}
@media(max-width:900px){.phd-service-detail-layout{grid-template-columns:minmax(0,1.55fr) minmax(240px,.9fr);gap:26px}.phd-service-booking-card{padding:22px 19px}}
@media(max-width:780px){.phd-service-detail-section{padding-top:28px}.phd-service-detail-layout{grid-template-columns:1fr;gap:26px}.phd-service-booking-aside{position:static;grid-row:2}.phd-service-detail-image{margin-bottom:23px}.phd-service-detail-image img{height:clamp(230px,58vw,420px)}}
@media(max-width:520px){.phd-service-detail-image{border-radius:12px}.phd-service-detail-image img{height:235px;aspect-ratio:4/3}.phd-service-booking-card{padding:22px 18px}.phd-service-booking-card h2{font-size:23px}}

/* v2.6.5 — put the booking form first on phones so patients do not have to scroll past the introduction. */
@media(max-width:780px){
  .phd-booking-layout{display:grid;grid-template-columns:1fr;gap:22px}
  .phd-booking-form-panel{grid-column:1;grid-row:1;margin:0;padding:23px 21px}
  .phd-booking-intro{grid-column:1;grid-row:2}
  .phd-booking-page .phd-page-hero{padding:25px 0 27px}
  .phd-booking-page .phd-breadcrumbs{margin-bottom:15px;font-size:11px}
  .phd-booking-page .phd-page-hero .section-kicker{margin-bottom:7px}
  .phd-booking-page .phd-page-hero h1{margin-bottom:7px;font-size:clamp(29px,7vw,36px)}
  .phd-booking-page .phd-page-hero p{margin:0;font-size:13px;line-height:1.5}
  .phd-booking-page .phd-page-section{padding:18px 0 38px}
  .phd-booking-panel-heading{margin-bottom:15px}
  .phd-booking-panel-heading h2{margin:0 0 5px;font-size:22px;line-height:1.2}
  .phd-booking-panel-heading p{margin:0;color:#69758b;font-size:12px;line-height:1.45}
  .phd-booking-intro{padding-top:5px}
}
@media(max-width:520px){
  .phd-booking-form-panel{padding:18px 16px;border-radius:13px}
  .phd-booking-page .phd-page-hero{padding:19px 0 21px}
  .phd-booking-page .phd-page-hero h1{font-size:29px}
  .phd-booking-page .phd-booking-facts{grid-template-columns:1fr;gap:8px;margin-top:17px}
  .phd-booking-page .phd-booking-facts>div{padding:10px 12px}
}


/* v2.6.5 refinement: service article image and copy share a clear, wider content column. */
.phd-service-detail-layout {
  width:min(calc(100% - 56px),1320px);
  max-width:1320px;
  margin-inline:auto;
  grid-template-columns:minmax(0,1fr) minmax(300px,360px);
  gap:44px;
}
.phd-service-detail,
.phd-service-detail-content { min-width:0; max-width:none; }
.phd-service-detail-image { width:100%; max-width:none; margin:0 0 28px; }
.phd-service-detail-image img {
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  max-height:540px;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  background:#f3f6fc;
}
.phd-service-detail-content > :not(figure):not(.wp-block-image) { max-width:820px; }
.phd-service-detail-content figure,
.phd-service-detail-content .wp-block-image { width:100%; max-width:100%; margin:24px 0; }
.phd-service-detail-content figure img,
.phd-service-detail-content .wp-block-image img { display:block; width:100%; height:auto; max-width:100%; }
@media(max-width:900px) {
  .phd-service-detail-layout { width:min(calc(100% - 40px),760px); grid-template-columns:1fr; gap:24px; }
  .phd-service-booking-aside { position:static; grid-row:auto; }
}
@media(max-width:520px) {
  .phd-service-detail-layout { width:calc(100% - 30px); }
  .phd-service-detail-image img { max-height:none; }
}

/* Desktop booking keeps the explanation on the left and the form on the right. */
.phd-booking-layout { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:44px; }
.phd-booking-intro { grid-column:1; grid-row:1; }
.phd-booking-form-panel { grid-column:2; grid-row:1; }

/* Mobile booking: compact the intro banner so the form is visible immediately. */
@media(max-width:780px) {
  .phd-booking-layout { grid-template-columns:1fr; gap:16px; }
  .phd-booking-form-panel { grid-column:1; grid-row:1; }
  .phd-booking-intro { grid-column:1; grid-row:2; }
  .phd-booking-page .phd-page-hero { padding:14px 0 15px; }
  .phd-booking-page .phd-breadcrumbs { display:none; }
  .phd-booking-page .phd-page-hero .section-kicker { margin-bottom:5px; font-size:9px; }
  .phd-booking-page .phd-page-hero h1 { margin:0; font-size:clamp(24px,6vw,30px); line-height:1.12; }
  .phd-booking-page .phd-page-hero p { display:none; }
  .phd-booking-page .phd-page-section { padding:12px 0 30px; }
  .phd-booking-panel-heading { margin-bottom:12px; }
  .phd-booking-panel-heading h2 { margin:0 0 5px; font-size:20px; }
  .phd-booking-panel-heading p { margin:0; font-size:11px; line-height:1.4; }
  .phd-booking-intro { padding-top:4px; }
}
@media(max-width:520px) {
  .phd-booking-page .phd-page-hero { padding:11px 0 12px; }
  .phd-booking-page .phd-page-hero h1 { font-size:25px; }
  .phd-booking-page .phd-page-section { padding-top:10px; }
  .phd-booking-form-panel { padding:15px 14px; border-radius:12px; }
  .phd-booking-panel-heading .section-kicker { font-size:9px; }
  .phd-booking-panel-heading h2 { font-size:19px; }
}

/* v2.6.9: a compact, useful offers strip that belongs to the homepage flow. */
.phd-home-offers{padding:28px 0 38px;background:#fff}
.phd-home-offers-panel{padding:26px 28px 28px;border:1px solid #dce4f2;border-radius:17px;background:linear-gradient(140deg,#f8faff 0%,#f1f5ff 100%);box-shadow:0 7px 24px rgba(2,17,78,.045)}
.phd-home-offers-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}
.phd-home-offers-heading h2{margin:5px 0 6px;color:var(--phd-deep);font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.12;letter-spacing:-.035em}
.phd-home-offers-heading p{margin:0;color:var(--phd-muted);font-size:.88rem}
.phd-home-offers-all{display:inline-flex;flex:0 0 auto;align-items:center;gap:9px;padding:10px 13px;border:1px solid #b9c9ed;border-radius:8px;background:#fff;color:var(--phd-accent);font-size:.82rem;font-weight:850}
.phd-home-offers-all:hover{border-color:var(--phd-accent);background:var(--phd-accent);color:#fff}
.phd-home-offers-all svg{width:16px;height:16px}
.phd-home-offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.phd-home-offer-card{display:flex;min-width:0;flex-direction:column;padding:19px 20px;border:1px solid #dbe3f1;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(2,17,78,.035)}
.phd-home-offer-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px}
.phd-home-offer-state{display:inline-flex;align-items:center;gap:7px;color:#24603e;font-size:.68rem;font-weight:850}
.phd-home-offer-state i{width:7px;height:7px;border-radius:50%;background:#2e9b5c}
.phd-home-offer-card--upcoming{border-color:#cdd8f2;background:#fbfcff}
.phd-home-offer-card--upcoming .phd-home-offer-state{color:#26479d}
.phd-home-offer-card--upcoming .phd-home-offer-state i{background:#3158bc}
.phd-home-offer-top strong{padding:6px 9px;border-radius:7px;background:#eaf0ff;color:#173cad;font-size:.77rem;font-weight:900;white-space:nowrap}
.phd-home-offer-card h3{margin:0 0 8px;color:var(--phd-deep);font-size:1.04rem;line-height:1.22}
.phd-home-offer-card p{margin:0 0 11px;color:var(--phd-muted);font-size:.81rem;line-height:1.55}
.phd-home-offer-card>small{display:block;margin-top:auto;color:#44516b;font-size:.73rem;font-weight:750;line-height:1.45}
.phd-home-offer-card>small.phd-home-offer-period{margin-top:6px;color:#78839a;font-weight:600}
.phd-home-offer-action{display:inline-flex;align-items:center;gap:8px;margin-top:14px;color:var(--phd-accent);font-size:.78rem;font-weight:850;text-decoration:none}
.phd-home-offer-action:hover{color:var(--phd-deep);text-decoration:underline;text-underline-offset:3px}
.phd-home-offer-action svg{width:15px;height:15px}

/* v2.6.9: compact the desktop hero on shorter screens. The full-width split image remains intact. */
@media (min-width:781px) and (max-height:900px){
  .phd-ref-hero{min-height:390px}
  .phd-ref-hero-inner.container{min-height:390px}
  .phd-ref-hero-photo-frame .phd-hero-slide-image{height:100%;min-height:0}
  .phd-ref-hero .hero-content{padding:28px 0 26px}
  .phd-ref-hero .eyebrow{margin-bottom:11px;font-size:11px}
  .phd-ref-hero h1{font-size:clamp(38px,3.45vw,54px);line-height:1;margin-bottom:13px}
  .phd-ref-hero .hero-content>p{font-size:15px;line-height:1.45;margin-bottom:17px}
  .phd-ref-hero .hero-proof{margin-top:15px;gap:12px 16px}
  .phd-ref-hero .hero-proof span{font-size:11px}
  .phd-ref-hero .hero-proof svg{width:18px;height:18px}
  .phd-ref-hero .phd-primary-cta,.phd-ref-hero .button--outline-light{min-height:48px}
  .phd-ref-hero-controls{bottom:12px}
  .phd-utility-inner{min-height:27px}
  .header-inner{min-height:62px}
  .primary-navigation a{padding-top:18px;padding-bottom:18px}
}
@media (min-width:781px) and (max-height:740px){
  .phd-ref-hero{min-height:340px}
  .phd-ref-hero-inner.container{min-height:340px}
  .phd-ref-hero .hero-content{padding:19px 0 18px}
  .phd-ref-hero .eyebrow{margin-bottom:8px;font-size:10px}
  .phd-ref-hero h1{font-size:clamp(34px,3vw,47px);line-height:.98;margin-bottom:10px}
  .phd-ref-hero .hero-content>p{font-size:14px;line-height:1.38;margin-bottom:13px}
  .phd-ref-hero .hero-actions{gap:10px}
  .phd-ref-hero .phd-primary-cta,.phd-ref-hero .button--outline-light{min-height:44px;padding-inline:17px;font-size:13px}
  .phd-ref-hero .hero-proof{margin-top:11px;gap:9px 13px}
  .phd-ref-hero .hero-proof span{font-size:10px}
  .phd-ref-hero-controls{bottom:9px;padding:5px 7px}
  .phd-ref-hero-controls>button{width:30px;height:30px;font-size:20px}
  .phd-utility-inner{min-height:24px}
  .header-inner{min-height:56px}
  .primary-navigation a{padding-top:15px;padding-bottom:15px}
}
@media(max-width:780px){.phd-home-offers{padding:20px 0 28px}.phd-home-offers-panel{padding:20px 17px;border-radius:14px}.phd-home-offers-heading{align-items:flex-start;flex-direction:column;gap:12px}.phd-home-offers-grid{grid-template-columns:1fr;gap:11px}.phd-home-offer-card{padding:16px}.phd-home-offer-card h3{font-size:.98rem}}

/* v2.7.1: consistent, compact contact actions on all public information pages. */
.phd-sitewide-contact-actions{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:46px 0 12px;padding:28px 30px;border:1px solid #dce4f3;border-radius:18px;background:linear-gradient(135deg,#f5f8ff 0%,#fff 72%);box-shadow:0 10px 28px rgba(8,32,120,.055)}
.phd-sitewide-contact-copy{max-width:560px}.phd-sitewide-contact-copy>span{display:block;margin-bottom:7px;color:#2449b2;font-size:10px;font-weight:800;letter-spacing:.14em}.phd-sitewide-contact-copy h2{margin:0 0 7px;color:#101a3a;font-size:clamp(20px,2vw,27px);line-height:1.2}.phd-sitewide-contact-copy p{margin:0;color:#68738a;font-size:14px;line-height:1.6}.phd-sitewide-contact-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.phd-sitewide-contact-buttons .button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:13px}
.phd-home-hmo-status--active{background:#e8f6ee!important;color:#167044!important;border-color:#c5e8d2!important}
@media(max-width:760px){.phd-sitewide-contact-actions{display:block;margin:30px 0 8px;padding:22px 18px}.phd-sitewide-contact-buttons{display:grid;grid-template-columns:1fr;margin-top:17px}.phd-sitewide-contact-buttons .button{width:100%;white-space:normal}}

/* v2.7.8 — keep homepage HMO logo marks and provider names in separate, responsive grid areas. */
.phd-home-hmo-list{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.phd-home-hmo-item{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center;column-gap:10px;row-gap:4px;min-width:0;min-height:82px;padding:13px!important;overflow:hidden}
.phd-home-hmo-mark{grid-column:1;grid-row:1/3;display:grid!important;place-items:center;width:44px!important;height:44px!important;min-width:44px;max-width:44px;overflow:hidden;line-height:0;font-size:11px}
.phd-home-hmo-mark img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:2px!important}
.phd-home-hmo-item strong{grid-column:2;grid-row:1;display:block;min-width:0;max-width:100%;font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.phd-home-hmo-item .phd-home-hmo-status{grid-column:2;grid-row:2;display:inline-flex;width:max-content;max-width:100%;margin:0;white-space:normal;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:900px){.phd-home-hmo-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.phd-home-hmo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.phd-home-hmo-item{grid-template-columns:38px minmax(0,1fr)!important;min-height:78px;padding:10px!important;column-gap:8px}.phd-home-hmo-mark{width:38px!important;height:38px!important;min-width:38px;max-width:38px}.phd-home-hmo-item strong{font-size:11px}.phd-home-hmo-item .phd-home-hmo-status{font-size:9px}}
@media(max-width:380px){.phd-home-hmo-list{grid-template-columns:minmax(0,1fr)}}

/* v2.8.1: service and seasonal offer photography */
.phd-home-offer-image{width:100%;height:148px;margin:-19px -20px 15px;width:calc(100% + 40px);overflow:hidden;border-radius:12px 12px 0 0;background:#f2f5fa}
.phd-home-offer-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.phd-ref-service-icon--photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:600px){.phd-home-offer-image{height:132px}}


/* v2.8.2 — polished submenu indicators and touch-friendly mobile disclosure. */
.primary-navigation .menu-item-has-children{position:relative}
.primary-navigation .menu-item-has-children>a{display:inline-flex;align-items:center;gap:7px}
.primary-navigation .menu-item-has-children>a:after{content:"";display:inline-block;width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease,opacity .2s ease;opacity:.72}
.primary-navigation .menu-item-has-children:hover>a:after,
.primary-navigation .menu-item-has-children:focus-within>a:after{transform:rotate(225deg) translate(-1px,-1px);opacity:1}
.primary-navigation .sub-menu{border:1px solid #e4eaf3;border-radius:12px;box-shadow:0 16px 38px rgba(12,29,70,.13);padding:9px;min-width:230px;background:#fff}
.primary-navigation .sub-menu a{border-radius:8px;transition:background .18s ease,color .18s ease,padding .18s ease}
.primary-navigation .sub-menu a:hover,.primary-navigation .sub-menu a:focus-visible{background:#f1f5ff;color:#173b91;padding-left:15px}
.primary-navigation .submenu-toggle{display:none}
@media(max-width:780px){
 .primary-navigation .menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center}
 .primary-navigation .menu-item-has-children>a{min-width:0}
 .primary-navigation .menu-item-has-children>a:after{display:none}
 .primary-navigation .menu-item-has-children>.submenu-toggle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e1e7f1;border-radius:9px;background:#fff;color:#173b91;cursor:pointer}
 .primary-navigation .submenu-toggle:before{content:"";width:8px;height:8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg) translate(-1px,-1px);transition:transform .2s ease}
 .primary-navigation .menu-item-has-children.submenu-open>.submenu-toggle:before{transform:rotate(225deg) translate(-1px,-1px)}
 .primary-navigation .menu-item-has-children>.sub-menu{grid-column:1/-1;display:none;position:static;box-shadow:none;border:0;border-left:2px solid #dce6fb;border-radius:0;margin:3px 0 9px 8px;padding:4px 0 4px 12px;min-width:0;width:auto}
 .primary-navigation .menu-item-has-children.submenu-open>.sub-menu{display:block}
}


/* v2.8.2 — refined patient testimonial presentation. */
.phd-ref-testimonials{padding-top:64px;padding-bottom:64px}
.phd-ref-testimonial-layout{align-items:center;gap:44px}
.phd-ref-testimonial-label h2{max-width:390px;letter-spacing:-.035em}
.phd-ref-testimonial-slider{position:relative;min-width:0;padding:30px 32px;border:1px solid #e3e9f3;border-radius:20px;background:linear-gradient(145deg,#fff 0%,#f8faff 100%);box-shadow:0 14px 38px rgba(15,34,76,.07)}
.phd-ref-testimonial-slide{min-height:190px}
.phd-ref-quote-mark{color:#3159b8;opacity:.85}
.phd-ref-quote-content blockquote{font-size:clamp(16px,1.55vw,19px);line-height:1.7;color:#263653;font-weight:500}
.phd-ref-patient-meta{display:flex;align-items:center;gap:12px;margin-top:22px;padding-top:17px;border-top:1px solid #e7ecf4}
.phd-ref-patient-avatar{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:50%;background:#eaf0ff;color:#2449a5;font-size:17px;font-weight:800;overflow:hidden}
.phd-ref-patient-avatar--photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.phd-ref-patient-meta>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}
.phd-ref-patient-meta strong{color:#14254a;font-size:14px}
.phd-ref-patient-meta small{color:#77839a;font-size:11px}
.phd-ref-rating{margin-left:auto;color:#e5a326;letter-spacing:2px;white-space:nowrap}
.phd-ref-testimonial-controls{margin-top:20px}
.phd-google-reviews-link{display:inline-flex;align-items:center;gap:7px;font-weight:750;text-decoration:none}
@media(max-width:780px){.phd-ref-testimonials{padding-top:42px;padding-bottom:44px}.phd-ref-testimonial-layout{gap:24px}.phd-ref-testimonial-slider{padding:22px 19px;border-radius:16px}.phd-ref-testimonial-slide{min-height:0}.phd-ref-quote-content blockquote{font-size:15px}.phd-ref-patient-meta{gap:9px}}


/* v2.8.3 — premium patient testimonial section refinement. */
.phd-ref-testimonials{
  position:relative;
  overflow:hidden;
  padding:78px 0 82px;
  background:
    radial-gradient(ellipse at 8% 12%,rgba(221,231,255,.48),transparent 42%),
    linear-gradient(180deg,#f8faff 0%,#fff 100%);
}
.phd-ref-testimonials:before{
  content:"";
  position:absolute;
  top:34px;
  right:7%;
  width:112px;
  height:112px;
  border:1px solid rgba(43,78,157,.09);
  border-radius:50%;
  box-shadow:0 0 0 17px rgba(43,78,157,.025),0 0 0 34px rgba(43,78,157,.018);
  pointer-events:none;
}
.phd-ref-testimonial-layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(230px,.78fr) minmax(0,1.55fr);
  align-items:center;
  gap:clamp(28px,5vw,70px);
}
.phd-ref-testimonial-label .section-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:15px;
  color:#3157ad;
  font-size:10px;
  font-weight:850;
  letter-spacing:.17em;
}
.phd-ref-testimonial-label .section-kicker:before{
  content:"";
  width:23px;
  height:2px;
  border-radius:2px;
  background:#3157ad;
}
.phd-ref-testimonial-label h2{
  max-width:360px;
  margin:0 0 15px;
  color:#142344;
  font-size:clamp(29px,3.2vw,43px);
  line-height:1.08;
  letter-spacing:-.045em;
}
.phd-ref-testimonial-label p{
  max-width:330px;
  margin:0 0 23px;
  color:#69758c;
  font-size:14px;
  line-height:1.75;
}
.phd-google-reviews-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 15px;
  border:1px solid #dce5f5;
  border-radius:999px;
  background:#fff;
  color:#23489d;
  font-size:12px;
  font-weight:800;
  box-shadow:0 5px 16px rgba(17,42,95,.045);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.phd-google-reviews-link:hover{
  transform:translateY(-2px);
  border-color:#b8c9ec;
  box-shadow:0 9px 22px rgba(17,42,95,.09);
}
.phd-ref-testimonial-slider{
  position:relative;
  min-width:0;
  padding:clamp(25px,3.2vw,42px);
  border:1px solid #e5eaf3;
  border-radius:24px;
  background:#fff;
  box-shadow:0 22px 60px rgba(19,39,83,.085);
}
.phd-ref-testimonial-slider:before{
  content:"“";
  position:absolute;
  top:12px;
  right:28px;
  color:#edf2fc;
  font-family:Georgia,serif;
  font-size:100px;
  line-height:1;
  pointer-events:none;
}
.phd-ref-testimonial-slide{
  position:relative;
  min-height:205px;
  z-index:1;
}
.phd-ref-quote-mark{display:none}
.phd-ref-quote-content{position:relative;z-index:1}
.phd-ref-quote-content blockquote{
  max-width:760px;
  margin:0;
  color:#263653;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(17px,1.65vw,21px);
  font-weight:500;
  line-height:1.72;
  letter-spacing:-.012em;
}
.phd-ref-patient-meta{
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:27px;
  padding-top:19px;
  border-top:1px solid #edf0f6;
}
.phd-ref-patient-avatar{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:3px solid #f1f4fa;
  border-radius:50%;
  background:linear-gradient(145deg,#eaf0ff,#dce6fa);
  color:#24499f;
  font-size:17px;
  font-weight:850;
}
.phd-ref-patient-avatar--photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}
.phd-ref-patient-meta>span:nth-child(2){
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:4px;
}
.phd-ref-patient-meta strong{
  color:#142344;
  font-size:14px;
  font-weight:850;
  letter-spacing:-.01em;
}
.phd-ref-patient-meta small{
  color:#7b879b;
  font-size:11px;
  line-height:1.4;
}
.phd-ref-rating{
  margin-left:auto;
  color:#e5a52d;
  font-size:14px;
  letter-spacing:2px;
  white-space:nowrap;
}
.phd-ref-testimonial-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:23px;
}
.phd-ref-testimonial-dots{display:flex;align-items:center;gap:7px}
.phd-ref-testimonial-dots button{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:99px;
  background:#d9e1ef;
  transition:width .2s ease,background .2s ease;
}
.phd-ref-testimonial-dots button.is-active{width:23px;background:#3157ad}
.phd-ref-testimonial-arrows{display:flex;gap:8px}
.phd-ref-testimonial-arrows button{
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  border:1px solid #e2e8f2;
  border-radius:50%;
  background:#fff;
  color:#24499f;
  font-size:22px;
  line-height:1;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.phd-ref-testimonial-arrows button:hover{
  border-color:#3157ad;
  background:#3157ad;
  color:#fff;
}
.phd-ref-testimonial-empty{
  padding:30px;
  border:1px solid #e5eaf3;
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 45px rgba(19,39,83,.06);
}
@media(max-width:780px){
  .phd-ref-testimonials{padding:52px 0 56px}
  .phd-ref-testimonials:before{top:20px;right:-35px;width:85px;height:85px}
  .phd-ref-testimonial-layout{grid-template-columns:1fr;gap:25px}
  .phd-ref-testimonial-label h2{max-width:480px;font-size:32px}
  .phd-ref-testimonial-label p{max-width:520px;margin-bottom:16px}
  .phd-ref-testimonial-slider{padding:25px 21px;border-radius:19px}
  .phd-ref-testimonial-slider:before{top:10px;right:17px;font-size:76px}
  .phd-ref-testimonial-slide{min-height:0}
  .phd-ref-quote-content blockquote{font-size:17px;line-height:1.68}
  .phd-ref-patient-meta{margin-top:21px;padding-top:16px}
}
@media(max-width:420px){
  .phd-ref-testimonial-label h2{font-size:29px}
  .phd-ref-testimonial-slider{padding:22px 17px}
  .phd-ref-patient-avatar{width:46px;height:46px;flex-basis:46px}
  .phd-ref-rating{font-size:12px;letter-spacing:1px}
  .phd-ref-testimonial-arrows button{width:35px;height:35px}
}
@media(prefers-reduced-motion:reduce){
  .phd-google-reviews-link,.phd-ref-testimonial-dots button,.phd-ref-testimonial-arrows button{transition:none}
}


/* v2.8.4 — repair testimonial inner layout: remove the legacy quote-icon grid track. */
.phd-ref-testimonial-slider,
.phd-ref-testimonial-track,
.phd-ref-testimonial-slide,
.phd-ref-quote-content{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.phd-ref-testimonial-slide{
  display:block!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
.phd-ref-quote-content{
  display:block!important;
  grid-column:1/-1!important;
}
.phd-ref-quote-content blockquote{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.phd-ref-patient-meta{
  width:100%!important;
  max-width:100%!important;
  flex-wrap:wrap!important;
}
.phd-ref-patient-meta>span:nth-child(2){flex:1 1 130px!important}
@media(max-width:780px){
  .phd-ref-testimonial-layout{grid-template-columns:minmax(0,1fr)!important}
  .phd-ref-testimonial-slider{width:100%!important}
}


/* v2.8.5 — compact testimonial section, visually integrated with adjacent homepage sections. */
.phd-ref-testimonials{
  padding:38px 0 42px!important;
  margin:0!important;
  background:linear-gradient(180deg,#fff 0%,#f8faff 100%)!important;
}
.phd-ref-testimonials:before{display:none!important}
.phd-ref-testimonial-layout{
  grid-template-columns:minmax(220px,.78fr) minmax(0,1.55fr)!important;
  align-items:center!important;
  gap:clamp(22px,3vw,42px)!important;
}
.phd-ref-testimonial-label .section-kicker{margin-bottom:9px!important}
.phd-ref-testimonial-label h2{
  margin:0 0 9px!important;
  font-size:clamp(24px,2.5vw,33px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
}
.phd-ref-testimonial-label p{
  margin:0 0 14px!important;
  font-size:13px!important;
  line-height:1.55!important;
}
.phd-google-reviews-link{
  min-height:36px!important;
  padding:0 12px!important;
  font-size:11px!important;
}
.phd-ref-testimonial-slider{
  padding:22px 25px 17px!important;
  border:1px solid #e6ebf4!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(19,39,83,.055)!important;
}
.phd-ref-testimonial-slider:before{
  top:4px!important;
  right:18px!important;
  font-size:70px!important;
  color:#f0f3f9!important;
}
.phd-ref-testimonial-track{min-height:0!important}
.phd-ref-testimonial-slide{
  min-height:0!important;
  padding:0!important;
}
.phd-ref-quote-content blockquote{
  font-family:inherit!important;
  font-size:clamp(15px,1.3vw,17px)!important;
  line-height:1.58!important;
  font-weight:500!important;
  color:#34425c!important;
}
.phd-ref-patient-meta{
  margin-top:15px!important;
  padding-top:12px!important;
  gap:10px!important;
}
.phd-ref-patient-avatar{
  width:42px!important;
  height:42px!important;
  flex-basis:42px!important;
  border-width:2px!important;
}
.phd-ref-patient-meta strong{font-size:13px!important}
.phd-ref-patient-meta small{font-size:10px!important}
.phd-ref-rating{font-size:12px!important;letter-spacing:1px!important}
.phd-ref-testimonial-controls{margin-top:13px!important}
.phd-ref-testimonial-dots button{width:6px!important;height:6px!important}
.phd-ref-testimonial-dots button.is-active{width:18px!important}
.phd-ref-testimonial-arrows button{width:32px!important;height:32px!important;font-size:19px!important}
@media(max-width:780px){
 .phd-ref-testimonials{padding:30px 0 32px!important}
 .phd-ref-testimonial-layout{grid-template-columns:minmax(0,1fr)!important;gap:17px!important}
 .phd-ref-testimonial-label h2{font-size:27px!important}
 .phd-ref-testimonial-label p{font-size:12px!important;margin-bottom:10px!important}
 .phd-ref-testimonial-slider{padding:19px 17px 14px!important;border-radius:14px!important}
 .phd-ref-quote-content blockquote{font-size:15px!important;line-height:1.55!important}
 .phd-ref-patient-meta{margin-top:13px!important;padding-top:11px!important}
}
@media(max-width:420px){
 .phd-ref-testimonials{padding:25px 0 27px!important}
 .phd-ref-testimonial-label h2{font-size:25px!important}
 .phd-ref-testimonial-slider{padding:17px 14px 13px!important}
}


/* v2.8.6 — visually highlight the patient's actual testimonial comment. */
.phd-ref-quote-content blockquote{
  position:relative!important;
  display:block!important;
  margin:0!important;
  padding:17px 19px!important;
  border:1px solid #e2eaf8!important;
  border-left:3px solid #3157ad!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#f3f7ff 0%,#f8faff 100%)!important;
  color:#293b5c!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
  font-size:clamp(15px,1.3vw,17px)!important;
  line-height:1.62!important;
}
@media(max-width:780px){
  .phd-ref-quote-content blockquote{padding:14px 15px!important;border-radius:9px!important}
}
