/* Requested scoped additions; approved design source CSS is unchanged. */
#pricing-insurance .insurance-logo-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
#pricing-insurance .insurance-logo-grid .card{padding:12px}
#pricing-insurance .insurance-logo-grid img{display:block;width:100%;height:88px;max-height:120px;object-fit:contain}
.site-footer .footer-grid{grid-template-columns:1.2fr .85fr 1fr 1fr;gap:28px}
.footer-brands a{display:block;width:100%;max-width:180px}
.footer-brands img{display:block;width:100%;height:auto;object-fit:contain}
.footer-brands img[src$="/legitscript-seal-9051851.png"]{width:73px;height:auto}
#common-concerns .home-concern + .home-concern{margin-top:32px}
#pricing-insurance .plan-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px}
#pricing-insurance .plan-list li{display:block;padding:10px 0;font-size:16px}
@media(max-width:1000px){
  #pricing-insurance .plan-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  #pricing-insurance .insurance-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  #pricing-insurance .plan-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
  #pricing-insurance .insurance-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #pricing-insurance .insurance-logo-grid .card{padding:12px}
  #pricing-insurance .insurance-logo-grid img{display:block;width:100%;height:auto}
  .site-footer .footer-grid{grid-template-columns:1fr}
}
/* Designer corrections (scoped). */
.dialog-nav details{display:block;min-width:0}
.dialog-nav details>*{min-width:0;max-width:100%}
.dialog-nav details>:not(summary){margin-top:var(--space-2)}
.dialog-nav details details{padding-left:var(--space-4)}
.dialog-nav a,.dialog-nav summary,.dialog-nav span{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
#menu{overflow-x:hidden}
.footer-brands a{display:inline-flex;width:auto;max-width:100%;min-height:0;padding:0;background:none;border:0;box-shadow:none}
.footer-brands img{width:180px;max-width:100%;height:auto;aspect-ratio:500/250;padding:0;background:none;border:0;box-shadow:none;object-fit:initial}
.footer-brands img[src$="/legitscript-seal-9051851.png"]{width:73px;height:auto;aspect-ratio:292/316}
.pricing-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-6);align-items:center;margin:var(--space-5) 0}
.pricing-intro p{margin:0}
.pricing-intro img{display:block;width:100%;height:auto;float:none;margin:0}
.body-copy:has(.pricing-intro) h2,.hero~.section h2{max-width:calc(var(--content-max)/2)}
.hero~.section,main:has(.pricing-intro) .section{padding-block:var(--space-8)}
.hero~.section>.wrap+.wrap{margin-top:var(--space-6)}
.hero~.section .body-copy h2:not(:first-child){margin-top:var(--space-7)}
.hero~.section .body-copy h2{margin-bottom:var(--space-5)}
.body-copy:has(.pricing-intro) h2:not(:first-child){margin-top:var(--space-7)}
.body-copy:has(.pricing-intro) h2{margin-bottom:var(--space-5)}
.hero .notice{background:var(--warm);color:var(--text);font-size:var(--font-body-size);font-weight:400;line-height:1.65}
@media(max-width:700px){
  .hero~.section,main:has(.pricing-intro) .section{padding-block:calc(var(--space-5) + var(--space-4))}
  .pricing-intro{grid-template-columns:1fr;gap:var(--space-5)}
  .footer-brands img{width:160px}
}
/* Service template pass (scoped to imported service/default pages). */
.body-copy{min-width:0}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy>h1{font-size:var(--font-h2);margin:0 0 var(--space-4)}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy>h1+a{margin-top:0}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy>h2:not(:first-child),:is([data-content-template="service"],[data-content-template="default"]) .body-copy>h1:not(:first-child){margin-top:var(--space-7)}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy>img{display:block;max-width:100%;height:auto;margin:var(--space-5) 0}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy a>img{display:block;width:auto;max-width:min(100%,360px);height:auto}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy>a:has(>i){display:inline-flex;align-items:center;gap:var(--space-2);margin:0 var(--space-4) var(--space-3) 0}
:is([data-content-template="service"],[data-content-template="default"]) .body-copy>a:has(>img){display:block;margin:var(--space-5) 0}
.body-copy table{width:100%;border-collapse:collapse}
.body-copy td,.body-copy th{text-align:left;vertical-align:top;padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--line)}
.body-copy td:first-child{white-space:nowrap}
.cn-arrow-nowrap{white-space:nowrap}
.cn-bp-tabs{display:block}
.cn-bp-fallback{display:none}
@media(max-width:1024px){
  .cn-bp-tabs{display:none}
  .cn-bp-fallback{display:block}
}
@media(max-width:700px){
  :is([data-content-template="service"],[data-content-template="default"]) .body-copy>a[href="/#new-appointment"]:first-of-type{display:flex;justify-content:center;align-items:center;min-height:48px;margin:var(--space-4) 0 var(--space-5);padding:11px 20px;background:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-control);color:#fff;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none}
  .body-copy table,.body-copy tbody,.body-copy tr,.body-copy td{display:block;width:100%}
  .body-copy thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .body-copy tr{padding:var(--space-3) 0;border-bottom:1px solid var(--line)}
  .body-copy td{border:0;padding:0}
  .body-copy td:first-child{font-weight:600}
}
/* client-support: mobile resource cards (the <=1024px source variant). */
.cn-resource-cards .cn-phone{white-space:nowrap}
.cn-resource-cards h3{margin:0;padding:var(--space-3) var(--space-4);background:var(--paper);border:1px solid var(--line);font-family:var(--font-body);font-size:var(--font-body-size);font-weight:400;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
.cn-resource-cards h3:nth-child(odd){border-bottom:0;border-radius:var(--radius-card) var(--radius-card) 0 0;font-weight:600;padding-bottom:var(--space-1)}
.cn-resource-cards h3:nth-child(even){border-top:0;border-radius:0 0 var(--radius-card) var(--radius-card);margin-bottom:var(--space-3);padding-top:0}
/* Bounded Lexington mobile hero and Columbus office-link spacing. */
@media(max-width:700px){
  html:has(link[rel="canonical"][href="https://counselingnow.com/ky-local-counseling/top-counseling-in-lexington/"]) main article>.page-top img[data-testid="img-page-hero"]{display:block;aspect-ratio:16/9;width:100%;height:auto;object-fit:cover;margin-top:var(--space-5)}
  html:has(link[rel="canonical"][href="https://counselingnow.com/ky-local-counseling/top-counseling-in-lexington/"]) main article>.page-top{padding-bottom:var(--space-3)}
  html:has(link[rel="canonical"][href="https://counselingnow.com/ky-local-counseling/top-counseling-in-lexington/"]) main article>.page-top+.section{padding-top:var(--space-5)}
}
html:has(link[rel="canonical"][href="https://counselingnow.com/local/counseling-now-best-online-counseling-and-psychiatry-in-columbus/"]) main article .body-copy>a:has(>i){display:inline-flex;align-items:center;gap:var(--space-2);margin:0 var(--space-4) var(--space-3) 0}
/* Columbus Getting Started: three direct image/link pairs in the flattened source. */
html:has(link[rel="canonical"][href="https://counselingnow.com/local/counseling-now-best-online-counseling-and-psychiatry-in-columbus/"]) main article .body-copy>img:is([src="/site-assets/cn-bulk/cn-bulk-0004.jpg"],[src="/site-assets/cn-bulk/cn-bulk-0005.jpg"],[src="/site-assets/cn-bulk/cn-bulk-0006.jpg"]){display:block;max-width:100%;height:auto;margin:var(--space-5) 0 var(--space-3)}
html:has(link[rel="canonical"][href="https://counselingnow.com/local/counseling-now-best-online-counseling-and-psychiatry-in-columbus/"]) main article .body-copy>img:is([src="/site-assets/cn-bulk/cn-bulk-0004.jpg"],[src="/site-assets/cn-bulk/cn-bulk-0005.jpg"],[src="/site-assets/cn-bulk/cn-bulk-0006.jpg"])+a{display:block;width:fit-content;max-width:100%;white-space:normal;margin:0 0 var(--space-5)}

/* Mobile page clearance only: no widget/config/loader changes. */
:root{--cn-chat-clear:calc(136px + env(safe-area-inset-bottom, 0px))}
@media(max-width:767px){
  html{scroll-padding-bottom:var(--cn-chat-clear)}
  footer.site-footer{padding-bottom:var(--cn-chat-clear)}
  footer.site-footer a[href^="tel:"]{display:inline-block;max-width:calc(100vw - 250px);white-space:normal}
  #main>:last-child{margin-bottom:24px}
  /* Fill the rest of the first viewport with non-interactive support copy.
     The existing mobile header is 64px plus its 1px border; photo is 125vw. */
  .cn-home-refresh .cn-hero-v2 .cn-hero-v2-body{display:grid;grid-template-rows:minmax(max(0px,calc(100svh - 65px - 125vw - 24px)),auto) auto}
  .cn-home-refresh .cn-hero-v2 .cn-home-contact{padding-bottom:136px}
  #main a:is([href="tel:911"],[href="tel:988"]){display:block;width:max-content;max-width:100%;margin-block:8px}
  #main.cn-primary .cn-route-blog .cn-blog-list{padding-bottom:var(--cn-chat-clear)}
}
