/* Clinic v4.11.0 — consolidated public UX and content polish.
   Replaces the loaded overrides from v4.10.1/v4.10.2/v4.10.3 without changing business logic. */

:root{
  --ux411-line:rgba(23,54,74,.12);
  --ux411-soft:#f7fafc;
  --ux411-ink:#17364a;
  --ux411-muted:#637888;
  --ux411-primary:var(--vc-primary,#0f6ea8);
  --ux411-focus:rgba(15,110,168,.22);
}

/* Public accessibility / interaction baseline. */
body.public-shell :where(a,button,input,select,textarea):focus-visible{
  outline:3px solid var(--ux411-focus);
  outline-offset:2px;
}
body.public-shell :where(button,a,input,select,textarea){
  -webkit-tap-highlight-color:transparent;
}
body.public-shell .doctor-section-heading--center>div{
  width:min(760px,100%);
  margin-inline:auto;
}
body.public-shell .doctor-section-heading h2{
  text-wrap:balance;
}
body.public-shell .doctor-section-heading p{
  text-wrap:pretty;
}

/* Final consolidated version of the homepage "three steps" block. */
body.public-shell .doctor-steps-section{
  padding-block:50px;
}
body.public-shell .doctor-steps-section .doctor-section-heading{
  margin-bottom:20px;
}
body.public-shell .doctor-steps-section .doctor-section-heading h2{
  margin:4px 0 5px;
  font-size:clamp(1.5rem,2.2vw,1.95rem);
  line-height:1.38;
}
body.public-shell .doctor-steps-section .doctor-section-heading p{
  margin:0;
  font-size:.8rem;
  line-height:1.8;
}
body.public-shell .doctor-steps-section .doctor-steps-grid{
  width:min(900px,100%);
  margin-inline:auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:14px;
}
body.public-shell .doctor-steps-section .doctor-steps-grid>article{
  position:relative;
  min-width:0;
  min-height:160px;
  padding:17px 15px 15px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid var(--ux411-line);
  border-radius:17px;
  background:linear-gradient(180deg,#f8fcfe 0%,#f2f8fb 100%);
  box-shadow:0 9px 24px rgba(16,42,67,.035);
}
body.public-shell .doctor-steps-section .doctor-steps-grid>article>span{
  position:absolute;
  top:10px;
  right:12px;
  color:rgba(17,120,184,.28);
  font-size:1.48rem;
  line-height:1;
  font-weight:900;
}
body.public-shell .doctor-steps-section .doctor-steps-grid__icon{
  width:44px;
  height:44px;
  margin:0 auto 11px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#0f6ea8;
  color:#fff;
  box-shadow:0 0 0 5px rgba(255,255,255,.9),0 8px 17px rgba(15,110,168,.12);
}
body.public-shell .doctor-steps-section .doctor-steps-grid__icon svg{
  width:20px;
  height:20px;
}
body.public-shell .doctor-steps-section .doctor-steps-grid h3{
  margin:0 0 5px;
  color:var(--ux411-ink);
  font-size:.93rem;
  line-height:1.5;
}
body.public-shell .doctor-steps-section .doctor-steps-grid p{
  max-width:30ch;
  margin:0 auto;
  color:var(--ux411-muted);
  font-size:.75rem;
  line-height:1.7;
}

/* Hero social-proof line + segmented three-step trust strip. */
body.public-shell .vc-hero-proof{
  gap:9px;
  margin-top:15px;
}
body.public-shell .vc-proof-avatars{
  padding-left:6px;
}
body.public-shell .vc-proof-avatars span{
  width:27px;
  height:27px;
  margin-left:-6px;
  border-width:2px;
}
body.public-shell .vc-hero-proof>div:last-child{
  line-height:1.25;
}
body.public-shell .vc-hero-proof strong{
  font-size:.71rem;
}
body.public-shell .vc-hero-proof span{
  font-size:.6rem;
}
body.public-shell .meet-home-trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:min(500px,100%);
  margin-top:12px;
  padding:5px 6px;
  gap:0;
  border:1px solid rgba(27,96,132,.15);
  border-radius:14px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 22px rgba(16,42,67,.035);
  overflow:hidden;
}
body.public-shell .meet-home-trust>div{
  position:relative;
  min-width:0;
  min-height:48px;
  padding:5px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:0!important;
}
body.public-shell .meet-home-trust>div+div::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:50%;
  width:1px;
  height:30px;
  transform:translateY(-50%);
  background:rgba(27,96,132,.16);
}
body.public-shell .meet-home-trust strong{
  display:block;
  margin:0;
  color:#075c8a;
  font-size:.76rem;
  line-height:1.15;
  font-weight:900;
}
body.public-shell .meet-home-trust span{
  display:block;
  margin-top:4px;
  color:#7b8d98;
  font-size:.56rem;
  line-height:1.35;
  white-space:normal;
}

/* Booking progress: consistent dimensions without altering flow/state logic. */
body.public-shell.booking-page-v4320 .booking-easy-status,
body.public-shell.booking-page-v4320 .booking-easy-progress{
  width:min(860px,100%);
  margin-inline:auto;
}
body.public-shell.booking-page-v4320 .booking-easy-progress{
  padding:12px 14px;
  gap:7px;
  border-radius:18px;
}
body.public-shell.booking-page-v4320 .booking-easy-progress>button{
  min-height:58px;
  padding:7px 9px;
  border-radius:14px;
  align-content:center;
}
body.public-shell.booking-page-v4320 .booking-easy-progress>button>span{
  width:35px;
  height:35px;
  border-radius:12px;
  font-size:.9rem;
}
body.public-shell.booking-page-v4320 .booking-easy-progress>button>b{
  font-size:.84rem;
  line-height:1.35;
  white-space:normal;
}
body.public-shell.booking-page-v4320 .booking-easy-progress>button>small{
  font-size:.68rem;
  line-height:1.45;
  white-space:normal;
}
body.public-shell.auth-public-page .patient-auth-benefits{
  max-width:500px;
}
body.public-shell.auth-public-page .patient-auth-benefits>span{
  min-height:46px;
}

/* Content hub: calmer proportions, consistent focus and readable article measure. */
body.public-shell.articles-page .articles-hero{
  padding:48px 0 34px;
}
body.public-shell.articles-page .articles-hero__inner{
  align-items:center;
}
body.public-shell.articles-page .articles-hero h1{
  margin:10px 0 7px;
  font-size:clamp(1.85rem,3.4vw,2.75rem);
  line-height:1.35;
}
body.public-shell.articles-page .articles-hero p{
  max-width:650px;
  font-size:.86rem;
}
body.public-shell.articles-page .articles-section{
  padding-top:30px;
}
body.public-shell.articles-page .articles-toolbar{
  padding:10px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  background:#fbfdfe;
}
body.public-shell.articles-page .articles-tabs{
  box-shadow:none;
}
body.public-shell.articles-page .articles-tabs a,
body.public-shell.articles-page .articles-search button,
body.public-shell.articles-page .articles-hero__book{
  min-height:44px;
}
body.public-shell.articles-page .articles-search{
  height:44px;
  box-shadow:none;
}
body.public-shell.articles-page .articles-grid{
  gap:15px;
}
body.public-shell.articles-page .article-card,
body.public-shell.article-detail-page .article-card{
  min-height:235px;
  padding:18px;
  border-radius:18px;
}
body.public-shell .article-card:focus-within{
  border-color:rgba(7,89,133,.34);
  box-shadow:0 0 0 4px rgba(7,89,133,.08),0 14px 34px rgba(15,23,42,.055);
}
body.public-shell .article-card h2,
body.public-shell .article-card h3{
  text-wrap:balance;
}
body.public-shell.article-detail-page .article-detail{
  padding-top:30px;
}
body.public-shell.article-detail-page .article-detail__header{
  max-width:820px;
}
body.public-shell.article-detail-page .article-detail__header h1{
  font-size:clamp(1.9rem,4vw,3rem);
  text-wrap:balance;
}
body.public-shell.article-detail-page .article-detail__header>p{
  max-width:70ch;
  font-size:.86rem;
  text-wrap:pretty;
}
body.public-shell.article-detail-page .article-detail__layout{
  grid-template-columns:minmax(0,1fr) 250px;
  gap:24px;
}
body.public-shell.article-detail-page .article-detail__content{
  padding:26px 28px;
}
body.public-shell.article-detail-page .prose-content{
  max-width:78ch;
  color:#294254;
  font-size:.84rem;
  line-height:2.1;
  overflow-wrap:anywhere;
}
body.public-shell.article-detail-page .prose-content :where(h2,h3,h4){
  text-wrap:balance;
  scroll-margin-top:110px;
}
body.public-shell.article-detail-page .prose-content :where(p,li){
  text-wrap:pretty;
}
body.public-shell.article-detail-page .prose-content img{
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
body.public-shell.article-detail-page .prose-content table{
  font-size:.78rem;
}
body.public-shell.article-detail-page .article-detail__aside{
  top:96px;
}
body.public-shell.article-detail-page .article-related__head h2{
  text-wrap:balance;
}

@media(max-width:991.98px){
  body.public-shell .doctor-steps-section{
    padding-block:42px;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid{
    width:min(760px,100%);
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid>article{
    min-height:150px;
    padding:15px 13px 13px;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid__icon{
    width:42px;
    height:42px;
    border-radius:13px;
  }
  body.public-shell .meet-home-trust{
    width:min(500px,100%);
    margin-inline:auto;
  }
  body.public-shell.article-detail-page .article-detail__layout{
    grid-template-columns:1fr;
  }
  body.public-shell.article-detail-page .article-detail__aside{
    position:static;
  }
  body.public-shell.article-detail-page .prose-content{
    max-width:none;
  }
}

@media(max-width:767.98px){
  body.public-shell .doctor-steps-section{
    padding-block:34px;
  }
  body.public-shell .doctor-steps-section .doctor-section-heading{
    margin-bottom:15px;
  }
  body.public-shell .doctor-steps-section .doctor-section-heading h2{
    font-size:1.3rem;
  }
  body.public-shell .doctor-steps-section .doctor-section-heading p{
    font-size:.73rem;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid{
    grid-template-columns:1fr;
    gap:9px;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid>article{
    min-height:0;
    padding:13px 46px 13px 13px;
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:10px;
    align-items:center;
    text-align:right;
    border-radius:14px;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid>article>span{
    top:9px;
    right:10px;
    font-size:1.2rem;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid__icon{
    grid-row:1/3;
    grid-column:1;
    width:36px;
    height:36px;
    margin:0;
    border-radius:11px;
    box-shadow:none;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid__icon svg{
    width:17px;
    height:17px;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid h3{
    grid-column:2;
    margin:0 0 2px;
    font-size:.84rem;
  }
  body.public-shell .doctor-steps-section .doctor-steps-grid p{
    grid-column:2;
    max-width:none;
    margin:0;
    font-size:.68rem;
    line-height:1.55;
  }
  body.public-shell .vc-hero-proof{
    justify-content:center;
    margin-top:12px;
  }
  body.public-shell .vc-proof-avatars span{
    width:25px;
    height:25px;
  }
  body.public-shell .meet-home-trust{
    width:min(100%,460px);
    margin-top:10px;
    padding:4px;
    border-radius:12px;
  }
  body.public-shell .meet-home-trust>div{
    min-height:44px;
    padding:4px 6px;
  }
  body.public-shell .meet-home-trust>div+div::before{
    height:26px;
  }
  body.public-shell .meet-home-trust strong{
    font-size:.7rem;
  }
  body.public-shell .meet-home-trust span{
    margin-top:3px;
    font-size:.51rem;
  }
  body.public-shell.booking-page-v4320 .booking-easy-progress{
    width:100%;
    padding:9px 7px;
    gap:5px;
    border-radius:16px;
  }
  body.public-shell.booking-page-v4320 .booking-easy-progress>button{
    min-height:52px;
    padding:6px 5px;
    border-radius:12px;
  }
  body.public-shell.booking-page-v4320 .booking-easy-progress>button>span{
    width:30px;
    height:30px;
    border-radius:10px;
    font-size:.8rem;
  }
  body.public-shell.booking-page-v4320 .booking-easy-progress>button>b{
    font-size:.72rem;
  }
  body.public-shell.booking-page-v4320 .booking-easy-progress>button>small{
    display:none;
  }
  body.public-shell.articles-page .articles-hero{
    padding:30px 0 24px;
  }
  body.public-shell.articles-page .articles-toolbar{
    padding:8px;
    border-radius:15px;
  }
  body.public-shell.articles-page .article-card,
  body.public-shell.article-detail-page .article-card{
    min-height:205px;
    padding:16px;
  }
  body.public-shell.article-detail-page .article-detail__content{
    padding:19px 16px;
  }
  body.public-shell.article-detail-page .prose-content{
    font-size:.79rem;
    line-height:2;
  }
}

@media(max-width:420px){
  body.public-shell .meet-home-trust{
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%;
  }
  body.public-shell .meet-home-trust>div{
    min-height:42px;
    padding-inline:4px;
  }
  body.public-shell .meet-home-trust strong{font-size:.66rem}
  body.public-shell .meet-home-trust span{font-size:.48rem}
}

@media(prefers-reduced-motion:reduce){
  body.public-shell .article-card{
    transition:none!important;
  }
  body.public-shell .article-card:hover{
    transform:none!important;
  }
}
