.local-notices{padding-top:18px}.local-notices p{padding:16px 24px;background:#eaf4ee;border-left:4px solid #3c7666}.local-form-wrap{max-width:860px}.local-form p{display:flex;flex-direction:column;gap:8px}.local-form label{font-weight:600}.local-form input:not([type=checkbox]):not([type=hidden]),.local-form select,.local-form textarea,.local-filter input,.local-filter select{width:100%;border:1px solid #b8c8c2;border-radius:8px;padding:12px;background:#fff;color:#173a32;font:inherit}.local-form input[type=checkbox]{align-self:flex-start;width:20px;height:20px}.local-form .errorlist{color:#a52b2b}.local-auth-card{max-width:540px;padding:30px;border:1px solid #d1dfd9;border-radius:18px;margin-top:28px}.local-tabs,.local-pagination,.local-filter{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.local-tabs{margin-bottom:24px}.local-filter{padding:20px 0;align-items:end}.local-filter label{display:grid;gap:8px;flex:1;min-width:140px}.local-filter button{min-height:48px}.local-pagination{margin:32px 0;justify-content:space-between}.local-link{background:none;border:none;text-decoration:underline;padding:20px 0;cursor:pointer;color:inherit;font:inherit}.local-specialist-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:60px;margin-top:30px}.local-portrait{width:100%;border-radius:24px;margin-bottom:24px}.local-specialist section{margin:30px 0}.local-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.local-tags span{padding:6px 12px;background:#edf4ef;border-radius:18px;font-size:14px}.local-article{max-width:950px}.local-article-image{max-height:420px;width:100%;object-fit:cover;border-radius:20px}.local-article h2{margin-top:32px}.local-search-result{padding:20px 0;border-bottom:1px solid #dae3de}.blog-reference-card--entry>a:first-child:has(img){display:block!important;margin:0!important}.blog-reference-card--entry>a:first-child img{width:100%;height:210px;object-fit:cover;border-radius:14px}.local-portal .button{margin:12px 0}.local-portal h2{margin-top:32px}@media(max-width:700px){.local-specialist-grid{grid-template-columns:1fr;gap:24px}.local-portrait{max-width:320px}.local-auth-card{padding:20px}.local-filter{align-items:stretch}.local-filter label{min-width:100%}} 
/* Standalone /forms/<kind>/ controls need a consistent touch and keyboard target. */
.local-form-wrap .local-form input:not([type=checkbox]):not([type=hidden]),
.local-form-wrap .local-form select,
.local-form-wrap .local-form textarea,
.local-form-wrap .local-form button[type=submit]{box-sizing:border-box;width:100%;min-height:48px}
.local-form-wrap .local-form textarea{min-height:160px;resize:vertical}
.local-form-wrap .local-form input:not([type=checkbox]):not([type=hidden]):focus-visible,
.local-form-wrap .local-form select:focus-visible,
.local-form-wrap .local-form textarea:focus-visible,
.local-form-wrap .local-form button[type=submit]:focus-visible{outline:3px solid #3c7666;outline-offset:2px}

/* Visual-review fixes: the public catalogue and the compact home showcase serve different jobs. */
.specialist-card{display:flex;min-width:0;flex-direction:column}
.specialist-card__body{display:flex;flex:1;min-width:0;align-items:stretch!important;justify-content:flex-start!important;flex-direction:column;margin:0!important;padding:20px 20px 0!important;border:0!important}
.specialist-card h3{margin:0 0 8px}.specialist-card__role{min-height:0!important;margin:0!important;color:var(--muted);font-size:13px;line-height:1.35}.specialist-card__experience{display:inline-flex;align-self:flex-start;margin-top:14px;padding:5px 8px;border:1px solid rgba(35,91,75,.18);border-radius:999px;color:var(--green);font-size:11px;font-weight:700;line-height:1.2}.specialist-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 0;padding:0;list-style:none}.specialist-card__tags li{padding:5px 8px;border-radius:999px;background:var(--sage);color:var(--green);font-size:11px;line-height:1.25}.specialist-card__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 20px 20px!important;padding-top:14px;border-top:1px solid rgba(24,58,49,.12);font-size:13px}.specialist-card__actions a:first-child{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.home .specialist-browser--showcase{display:block;margin-top:46px}.home .specialist-browser--showcase .specialist-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}.home .specialist-browser--showcase .specialist-card h3,.home .specialist-browser--showcase .specialist-card h3 a{display:-webkit-box;overflow:hidden;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.home .specialist-showcase__more{justify-content:center;margin:32px 0 0}

/* Text on coloured editorial cards must remain readable without changing the approved palette. */
.home .path-card--dark h2,.home .path-card--dark p,.home .path-card--dark .path-card__link{color:#fff}.home .blog-preview__statement{color:#fff}.home .blog-preview__statement h2,.home .blog-preview__statement p:not(.eyebrow){color:#fff}.home .blog-preview__statement h2 em{color:#f7d9cf}

/* The public event cards keep one readable column on a phone. */
@media(min-width:761px) and (max-width:1100px){.specialist-browser{display:block}.filter-sidebar{margin:18px 0 28px}.specialist-results .specialist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.home .events-preview__grid .event-preview-card--direction{min-height:240px!important}.home .events-preview__grid .event-preview-card--direction .event-preview-card__direction{min-width:0;padding:24px!important;gap:28px}.home .event-preview-card__direction strong{font-size:clamp(32px,10vw,44px)!important;overflow-wrap:anywhere}.home .event-preview-card__direction b{line-height:1.35}.home .specialist-browser--showcase .specialist-grid{grid-template-columns:1fr}.home .specialist-card__body{padding:18px 18px 0}.home .specialist-card__actions{margin:18px 18px!important}}

/* Search and reading flows: make the next useful step evident without pushing an appointment. */
.local-search-result__type{margin:0 0 6px;color:#3c7666;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.local-search-empty{max-width:640px;margin:34px 0;padding:28px;border:1px solid #d1dfd9;border-radius:18px;background:#f6f3ec}.local-search-empty h2{margin-top:0}.local-article .entry-content{max-width:60ch}.local-article-next{max-width:60ch;margin-top:52px;padding:28px;border-radius:18px;background:#edf4ef}.local-article-next h2{margin-top:0}.local-article-next .button{margin-right:16px}.blog-reference-page .blog-active-tags{display:none}.blog-reference-page .blog-reference-card p{color:#466a63!important}.b2b-login-header{padding:20px 0;border-bottom:1px solid #d1dfd9;background:#fff}.b2b-login-header .shell{display:flex;align-items:center;justify-content:space-between;gap:20px}.b2b-login-header__brand{color:#173a32;font-weight:800;letter-spacing:.16em;text-decoration:none}.b2b-login-trust{padding:14px 16px;border-left:3px solid #3c7666;background:#edf4ef;color:#173a32}@media(max-width:700px){.local-article-next{padding:22px}.b2b-login-header .shell{align-items:flex-start;flex-direction:column;gap:8px}}@media(max-width:520px){.blog-reference-page .blog-reference-card--entry{grid-template-columns:1fr!important}.blog-reference-page .blog-reference-card--entry>a:first-child:has(img){grid-column:1;width:100%}.blog-reference-page .blog-reference-card--entry>a:first-child img{height:190px}}

/* The compact header leaves room for the page itself while retaining every navigation control. */
@media(max-width:600px){.site-header .header-contact-bar{display:none!important}.site-header .nav,.site-header.is-scrolled .nav{width:calc(100% - 24px)!important;min-height:64px!important;margin:10px auto 0!important;padding:9px 12px!important;border-radius:18px!important;gap:8px!important}.site-header .brand{width:112px!important;flex:0 1 112px}.site-header .nav-tools{display:flex!important;align-items:center;justify-content:flex-end;gap:2px;min-width:0}.site-header .nav-tools>.button--appointment{min-height:40px!important;padding:0 10px!important;border-radius:10px!important;font-size:11px!important;line-height:1.1!important;white-space:nowrap}.site-header .search-trigger,.site-header .account-trigger{width:34px!important;height:40px!important;flex:0 0 34px!important}.site-header .search-trigger .dashicons,.site-header .account-trigger .dashicons{font-size:22px!important;line-height:22px!important}.site-header .menu-toggle{order:4;min-width:44px!important;min-height:44px!important;padding:0!important}.site-header .menu-toggle span{display:none}.site-header .nav-links.is-open{top:calc(100% + 8px)!important;width:calc(100vw - 24px)!important;padding:16px 18px!important}.home .final-cta__form .contact-appointment-form{grid-template-columns:1fr!important;grid-template-rows:none!important}.home .final-cta__form .contact-appointment-form>label,.home .final-cta__form .contact-appointment-form .portal-consent,.home .final-cta__form .contact-appointment-form .button{grid-column:auto!important;grid-row:auto!important}.site-footer .footer-brand img{max-width:220px}.site-footer .footer-grid{gap:26px}.site-footer{color:rgba(255,255,255,.9)}.site-footer a{color:#fff}}

/* P1 visual-review repairs: measured readability and tap targets. */
.blog-reference-page .blog-reference-card--overview p,
.blog-reference-page .blog-reference-card--overview .blog-reference-card__label{color:#fff!important}
.events-preview__statement h2{color:#fff}
@media(max-width:600px){
  /* The home header is intentionally glassy at the top, but must become an
     independent readable surface once it overlays arbitrary page sections. */
  body.home .site-header.is-scrolled,
  body.home .site-header.is-scrolled .nav{background:rgba(247,243,236,.98)!important;box-shadow:0 1px 0 rgba(23,26,24,.12)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  body.home .site-header.is-scrolled .nav{border-color:rgba(23,26,24,.12)!important}
  body.home .site-header.is-scrolled .search-trigger,
  body.home .site-header.is-scrolled .account-trigger,
  body.home .site-header.is-scrolled .menu-toggle{color:var(--green)!important}
  .specialist-card__actions a{display:inline-flex;align-items:center;min-height:44px;padding-block:10px}
  .portal-consent a{display:inline-flex;align-items:center;min-height:24px}
  .portal-consent input[type=checkbox]{width:24px;height:24px}
}

/* The next review pass: avoid poster-sized panels when the message itself is
   short.  The homepage hero is intentionally excluded. */
@media(min-width:761px){
  .home .final-cta__intro,.home .final-cta__form{min-height:520px;padding-block:34px}
}
.portal-hero,.portal-account-hero,.cooperation-hero{padding:42px 0 50px}
.portal-hero h1,.portal-account-hero h1,.cooperation-hero h1{font-size:clamp(46px,5.5vw,82px)}
@media(max-width:760px){
  .home .events-preview__grid .event-preview-card--direction{min-height:210px!important}
}

/* Global type needs a little more air without changing the editorial scale. */
body{letter-spacing:.015em}
.blog-grid .entity-card p,.blog-reference-card p{font-weight:400!important;line-height:1.58!important}
.blog-grid .entity-card .entity-card__type,.blog-reference-card__label{font-weight:400!important}
.profile-credo blockquote{font-weight:400!important;line-height:1.42!important}

/* The header keeps its geometry at the scroll threshold.  The contact row fades
   from view but never collapses, so the navigation cannot jump over content. */
@media(min-width:601px){
  .site-header.is-scrolled{position:fixed!important;top:0!important}
  .site-header.is-scrolled .header-contact-bar{
    max-height:none!important;min-height:44px!important;overflow:visible!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    transition:opacity .12s ease,visibility 0s linear .12s!important;
  }
  .site-header.is-scrolled .nav{margin-top:12px!important}
}
@media(max-width:600px){.site-header.is-scrolled{position:fixed!important;top:0!important}}

/* Every dark-green editorial surface carries its copy in the inverse colour. */
.portal-choice--specialist h2,.portal-choice--specialist p,.portal-choice--specialist b,
.portal-choice--specialist small,.portal-choice--specialist strong{color:#fff!important}
.profile-credo,.profile-credo blockquote{color:#fff!important}
.portal-coop-strip h2{color:#fff!important}

/* Contact page starts with the same quiet rhythm as the rest of the directory. */
.contacts-page__hero{padding-top:32px!important}
@media(max-width:760px){.contacts-page__hero{padding-top:46px!important}}

/* The free-text fields must not invite visitors to put health data into a web form. */
.form-health-note{margin:8px 0 0!important;color:var(--muted)!important;font-size:12px!important;line-height:1.45!important}

/* /testy/: description, footer and hit-area are now a single deliberate card. */
.tests-page .test-catalog-card{position:relative;min-height:0!important}
.tests-page .test-catalog-card__number{display:none!important}
.tests-page .test-catalog-card__category{position:relative;z-index:2;margin-top:0!important}
.tests-page .test-catalog-card h2{margin:14px 0 10px!important;font-size:clamp(24px,2vw,30px)!important;line-height:1.12!important}
.tests-page .test-catalog-card>p{margin-bottom:20px!important}
.tests-page .test-catalog-card footer{position:relative;z-index:1;margin-top:auto!important}
.tests-page .test-catalog-card footer a::after{position:absolute;inset:0;z-index:1;content:"";border-radius:inherit}
.tests-page .test-catalog-card footer a{position:relative;z-index:2}
.tests-page .test-catalog-card:hover{border-color:var(--green)!important}

/* The supplied legal texts are intentionally displayed verbatim and read as a
   document, rather than as a marketing page. */
.legal-document{max-width:940px;padding-top:54px!important;padding-bottom:96px!important}
.legal-document h1{margin:0 0 34px;font:clamp(34px,4vw,56px)/1.05 var(--font-heading)}
.legal-document p{max-width:880px;margin:0 0 14px;line-height:1.65;white-space:pre-wrap}
.legal-document p:has(+ p){text-wrap:pretty}
@media(max-width:760px){.legal-document{padding-top:40px!important;padding-bottom:66px!important}.legal-document p{font-size:15px}}

/* User-tested editorial corrections: compact cards, clear contrast and a
   contained hero panel that leaves the clinic image itself undimmed. */
.home .path-card{min-height:clamp(430px,34vw,540px);padding:clamp(34px,4.5vw,62px)}
.home .path-card h2{margin:clamp(34px,5vw,74px) 0 18px;font-size:clamp(40px,4.2vw,64px)}
.home .path-card p{max-width:33ch;font-size:17px;line-height:1.5}
.home .blog-grid .entity-card{aspect-ratio:1.25/1;grid-template-rows:46% 54%}
.home .blog-grid .entity-card h3{margin:14px 0 9px!important}
.home .blog-preview__statement{min-height:0;padding:clamp(28px,3vw,42px)}

/* The FAQ directory is a real next step, never an inert anchor. */
.home #faq .faq-all-link{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}

/* Keep the FAQ as a self-contained panel: the content needs the same breathing
   room above and below, rather than a large top offset and a cramped exit. */
.home #faq{padding-block:clamp(64px,5vw,80px)!important}

/* Dark green CTA: all editorial copy needs the same contrast as the button. */
.help-cta,.help-cta h1,.help-cta h2,.help-cta h3,.help-cta p{color:#fff!important}
.help-cta .eyebrow{color:#dce9e3!important}

/* Cabinet headers start in their sticky state, so scrolling never swaps the
   header's height or visual treatment halfway through a dashboard. */
body.b2b-cabinet .site-header,
body.portal-role-patient .site-header,
body.portal-role-specialist .site-header,
body.portal-role-b2b .site-header{position:fixed!important;top:0!important}
body.b2b-cabinet .site-header .header-contact-bar,
body.portal-role-patient .site-header .header-contact-bar,
body.portal-role-specialist .site-header .header-contact-bar,
body.portal-role-b2b .site-header .header-contact-bar{max-height:none!important;min-height:44px!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
body.b2b-cabinet .site-header .nav,
body.portal-role-patient .site-header .nav,
body.portal-role-specialist .site-header .nav,
body.portal-role-b2b .site-header .nav{margin-top:12px!important;background:rgba(247,243,236,.98)!important;color:var(--ink)!important;box-shadow:0 1px 0 rgba(23,26,24,.12)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.b2b-cabinet .site-header .brand-logo--reverse,
body.portal-role-patient .site-header .brand-logo--reverse,
body.portal-role-specialist .site-header .brand-logo--reverse,
body.portal-role-b2b .site-header .brand-logo--reverse{opacity:0!important}
body.b2b-cabinet .site-header .brand-logo--color,
body.portal-role-patient .site-header .brand-logo--color,
body.portal-role-specialist .site-header .brand-logo--color,
body.portal-role-b2b .site-header .brand-logo--color{opacity:1!important}

/* Terracotta is an accent surface, not a background for black type. */
.blog-reference-page .blog-reference-card--overview,
.blog-reference-page .blog-reference-card--overview>.blog-reference-card__link{background:#b85438!important;color:#fff!important}
.blog-reference-page .blog-reference-card--overview h2,
.blog-reference-page .blog-reference-card--overview h3,
.blog-reference-page .blog-reference-card--overview p,
.blog-reference-page .blog-reference-card--overview .blog-reference-card__label{color:#fff!important}
.blog-reference-page .blog-reference-card--overview .blog-reference-card__cta{background:rgba(40,27,20,.22)!important;border:1px solid rgba(255,255,255,.4)}

/* A reading card must use its horizontal space rather than leave a dead right column. */
.blog-reference-page .blog-reference-card--entry{grid-template-columns:220px minmax(0,1fr)!important;grid-template-areas:"media title" "media excerpt" "media tags" "media action";gap:0 28px;align-items:start;min-height:0;padding:24px 28px!important}
.blog-reference-page .blog-reference-card--entry>a:first-child:has(img){display:block!important;grid-area:media;width:220px!important;height:170px!important;margin:0!important;padding:0!important;min-height:0!important;background:none!important}
.blog-reference-page .blog-reference-card--entry>a:first-child:has(img) img{width:220px!important;height:170px!important;border-radius:16px;object-fit:cover}
.blog-reference-page .blog-reference-card--entry h2{grid-area:title;max-width:28ch;margin:2px 0 12px!important;font-size:clamp(27px,2.15vw,36px)}
.blog-reference-page .blog-reference-card--entry p{grid-area:excerpt;max-width:68ch;margin:0 0 14px!important}
.blog-reference-page .blog-reference-card--entry .blog-tag-list{grid-area:tags;margin:0 0 14px!important}
.blog-reference-page .blog-reference-card--entry>a:last-child{grid-area:action;grid-column:auto;justify-self:start;margin:0!important}

/* The information page reads from the quiet left side of the photo. */
body.page-template-about .about-life-banner__glass{right:auto;left:clamp(38px,9vw,170px);width:min(560px,calc(100% - 76px));align-items:flex-start;text-align:left;background:rgba(13,40,31,.48)}
body.page-template-about .about-life-banner__actions{justify-content:flex-start}
/* Keep the centre-page gallery close to the source aspect ratio on wide screens.
   It avoids scaling its 1915px source frames above their native detail. */
@media (min-width: 761px){body.page-template-about .about-life-banner{min-height:clamp(720px,44vw,848px)}}

/* Keep headings balanced while regular copy remains naturally responsive. */
h1,h2,h3,.hero-title,.page-title,.section-title{text-wrap:balance}
.entry-content p,.lead,blockquote,.faq-directory__answer>div{text-wrap:pretty}

@media(max-width:800px){
  .home .path-card{min-height:390px;padding:34px 28px}
  .home .path-card h2{margin-top:42px;font-size:clamp(38px,11vw,52px)}
  .home .blog-grid .entity-card{aspect-ratio:auto;grid-template-rows:190px auto;min-height:0}
  .blog-reference-page .blog-reference-card--entry{grid-template-columns:140px minmax(0,1fr)!important;padding:20px!important}
  .blog-reference-page .blog-reference-card--entry>a:first-child:has(img),.blog-reference-page .blog-reference-card--entry>a:first-child:has(img) img{width:140px!important;height:130px!important}
  body.page-template-about .about-life-banner__glass{left:12px;right:12px;width:auto;align-items:flex-start;text-align:left}
  body.page-template-about .about-life-banner__actions{justify-content:flex-start}
}

/* Follow-up after the visual review: these are editorial cards, not posters.
   Let the copy set the height and reserve only the space it genuinely needs. */
.home .path-card{min-height:clamp(340px,28vw,440px);padding:clamp(28px,3.6vw,48px)}
.home .path-card h2{margin:clamp(18px,3.6vw,48px) 0 18px;font-size:clamp(38px,3.8vw,56px)}
.home .blog-grid .entity-card{height:500px;aspect-ratio:auto;grid-template-rows:210px minmax(0,1fr);min-height:0}
.home .blog-grid .entity-card .blog-grid__content{padding-bottom:28px}

/* The editorial rows follow the same horizontal rhythm as the rest of the
   site.  Their labels introduce the row instead of trailing it, and short
   copy no longer creates poster-like empty panels. */
@media(min-width:1101px){
  .home .blog-grid,.home .events-preview__layout{width:min(1320px,calc(100% - 72px));margin-left:auto;margin-right:auto}
  .home .blog-grid{grid-template-columns:minmax(220px,.78fr) minmax(0,1.5fr) repeat(2,minmax(0,.88fr));align-items:start}
  .home .events-preview__layout{grid-template-columns:minmax(260px,.78fr) repeat(2,minmax(0,1.18fr))}
}
@media(min-width:761px){
  .home .blog-preview__statement{order:-1;align-self:start;justify-content:flex-start;gap:24px;min-height:0}
  .home .blog-preview__statement .button,.home .events-preview__statement .button{align-self:flex-start;margin-top:0}
  .home .blog-grid .entity-card{height:auto;min-height:0;grid-template-rows:200px auto}
  .home .events-preview__statement{justify-content:flex-start;gap:24px}
}
@media(min-width:761px) and (max-width:1100px){
  .home .blog-grid,.home .events-preview__layout{width:min(100% - 48px,1320px);margin-left:auto;margin-right:auto}
  .home .blog-preview__statement{grid-column:1/-1}
}

/* On a phone a reading card needs one readable column.  Keeping a thumbnail
   beside the text leaves the actual article title only a few words wide. */
@media(max-width:600px){
  /* The article heading immediately below already names the current page.
     Repeating a long title in the breadcrumb made it a narrow 139px column. */
  .blog-reference-page .blog-catalog-crumbs{flex-wrap:wrap;row-gap:4px}
  .blog-reference-page .blog-catalog-crumbs>span:nth-of-type(4),
  .blog-reference-page .blog-catalog-crumbs>span:nth-of-type(5){display:none}
  .home .path-card{min-height:340px;padding:28px 24px}
  .home .path-card h2{margin-top:20px;font-size:clamp(36px,10vw,48px)}
  .home .blog-grid .entity-card{height:auto;grid-template-rows:190px auto}
  .blog-reference-page .blog-reference-card--entry{grid-template-columns:1fr!important;grid-template-areas:"media" "title" "excerpt" "tags" "action";gap:0;padding:18px!important}
  .blog-reference-page .blog-reference-card--entry>a:first-child:has(img),
  .blog-reference-page .blog-reference-card--entry>a:first-child:has(img) img{width:100%!important;height:190px!important}
  .blog-reference-page .blog-reference-card--entry h2{max-width:none;margin-top:18px!important;font-size:clamp(25px,8vw,34px)!important}
  .blog-reference-page .blog-reference-card--entry p{max-width:none}

  /* The disclosure icon has its own fixed lane, so long legal headings never
     run beneath it on a narrow screen. */
  .clinic-faq-group>summary{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:14px;align-items:center}
  .clinic-faq-group__copy{min-width:0}
  .clinic-faq-group__meta{min-width:38px;justify-content:flex-end}
}
/* Read-only SQNS schedule. The appointment itself remains in MIS. */
.booking-schedule{max-width:880px;padding-top:72px;padding-bottom:96px}.booking-schedule h1{max-width:620px}.booking-schedule__lead{max-width:620px;color:var(--muted);font-size:18px;line-height:1.5}.booking-schedule__form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:36px;padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff}.booking-schedule__form label{display:grid;gap:8px;font-weight:700}.booking-schedule__form select{min-height:48px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}.booking-schedule__times,.booking-schedule__error{margin-top:24px;padding:24px;border-radius:20px;background:#f6f3ec}.booking-schedule__times h2{margin-top:0}.booking-schedule__times ul{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}.booking-schedule__times li{padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:700}.booking-schedule__error{border:1px solid #d7b9ab}@media(max-width:700px){.booking-schedule{padding-top:40px;padding-bottom:64px}.booking-schedule__form{grid-template-columns:1fr;padding:18px}.booking-schedule__lead{font-size:16px}}

/* Internal pages start with the fixed header's final geometry.  Keep the
   contact line visible there too: hiding it after the first scroll pixel was
   the source of the perceived jump. */
body:not(.home) .site-header.is-scrolled .header-contact-bar{max-height:none!important;min-height:44px!important;overflow:visible!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:none!important}

/* The specialist sidebar is one calm list.  Individual filters gain a box
   only after opening, never a stack of competing outlines. */
.filter-sidebar .filter-dropdown.facet-accordion{border:0;border-bottom:1px solid var(--line);border-radius:0}
.filter-sidebar .filter-dropdown>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;column-gap:10px;padding:16px 4px}
.filter-sidebar .filter-dropdown>summary>span{min-width:0}
.filter-sidebar .filter-dropdown>summary b{font-size:15px;line-height:1.25}
.filter-sidebar .filter-dropdown>summary em{font-style:normal;font-size:12px;color:var(--muted);white-space:nowrap}
.filter-sidebar .filter-dropdown>summary em:empty{display:none}
.filter-sidebar .filter-dropdown>summary:after{margin:0;justify-self:end;line-height:1}

/* Home editorial cards accept future articles without turning the row into a
   set of unrelated poster heights.  The full text remains on the article page. */
@media(min-width:761px){
  .home .blog-grid{grid-template-columns:minmax(220px,.72fr) minmax(0,1.3fr) repeat(2,minmax(0,1fr));align-items:stretch}
  .home .blog-preview__statement{align-self:stretch;display:flex;flex-direction:column}
  .home .blog-preview__statement .button{margin-top:auto}
  .home .blog-grid .entity-card{height:100%;grid-template-rows:200px minmax(0,1fr)}
  .home .blog-grid .entity-card h3,.home .blog-grid .entity-card p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
  .home .blog-grid .entity-card h3{-webkit-line-clamp:4}
  .home .blog-grid .home-blog-card--featured h3{-webkit-line-clamp:3}
.home .blog-grid .entity-card p{-webkit-line-clamp:3}
  .home .blog-grid .home-blog-card--featured p{-webkit-line-clamp:4}
}

/* The home gallery is a concise introduction, not a fourth oversized card.
   It intentionally reuses the original local photos from the full gallery. */
.home .clinic-gallery--refreshed{background:transparent!important;border:0!important}
.home .clinic-gallery--refreshed figcaption span{display:none}
.home .clinic-gallery--refreshed figcaption{font-size:12px;line-height:1.3}
.home .clinic-gallery--refreshed img{transform:none!important;will-change:auto}
/* The eyebrow labels the offer; the offer itself remains the visual priority. */
.home .hero .eyebrow{margin-bottom:14px!important;font-size:12px!important;font-weight:600!important;letter-spacing:.11em!important;line-height:1.2!important;opacity:.76}
/* The gallery lives inside imported page markup.  Keep it aligned with the
   shared site container even when that markup is rendered as a grid item. */
.home .clinic-gallery--refreshed{justify-self:center!important;align-self:start}
/* The skip link moves focus to main.  Focus must remain available to assistive
   technology without drawing a browser-default blue rectangle around the page. */
#content:focus{outline:0}
@media(min-width:761px){
  .home .clinic-gallery--refreshed{display:grid!important;width:min(1320px,calc(100vw - 72px))!important;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr))!important;grid-template-rows:auto clamp(300px,30vw,440px)!important;gap:12px!important;margin:56px auto 0!important;padding:0!important;min-height:0!important}
  .home .clinic-gallery--refreshed .clinic-gallery__statement{grid-column:1/-1!important;grid-row:1!important;display:flex!important;min-height:0!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:26px 32px!important;border-radius:20px!important}
  .home .clinic-gallery--refreshed .clinic-gallery__statement p{font-size:clamp(26px,2.5vw,38px)!important;line-height:1.05!important}
  .home .clinic-gallery--refreshed .clinic-gallery__statement a{align-self:center!important;margin:0!important}
  .home .clinic-gallery--refreshed figure:not(.clinic-gallery__statement){grid-row:2!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important}
  .home .clinic-gallery--refreshed .clinic-gallery__feature{grid-column:1!important}
  .home .clinic-gallery--refreshed figure:not(.clinic-gallery__feature):not(.clinic-gallery__statement){grid-column:auto!important}
  .home .clinic-gallery--refreshed figure:not(.clinic-gallery__statement) img{width:100%!important;height:100%!important;object-fit:cover!important}
}
@media(max-width:760px){
  .home .clinic-gallery--refreshed{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:calc(100% - 32px)!important;margin:36px auto 0!important;padding:0!important}
  .home .clinic-gallery--refreshed .clinic-gallery__statement{grid-column:1!important;grid-row:auto!important;min-height:0!important;padding:24px!important;border-radius:16px!important}
  .home .clinic-gallery--refreshed .clinic-gallery__statement p{font-size:28px!important}
  .home .clinic-gallery--refreshed .clinic-gallery__statement a{align-self:flex-start!important;margin-top:18px!important}
  .home .clinic-gallery--refreshed figure:not(.clinic-gallery__statement){grid-column:1!important;height:240px!important;min-height:0!important;aspect-ratio:auto!important}
  .home .clinic-gallery--refreshed figure:not(.clinic-gallery__statement) img{width:100%!important;height:100%!important;object-fit:cover!important}
}
/* The generic screen-reader utility clips the skip link even while focused.
   Restore its dimensions only for keyboard focus. */
.skip-link.screen-reader-text:focus{clip:auto;clip-path:none;width:auto;height:auto;margin:0;overflow:visible;white-space:normal}

/* Phone home page: the navigation follows the same glass-to-solid transition
   as desktop.  Content cards lead with their editorial statement and use only
   the height their copy needs. */
@media(max-width:760px){
  body.home .site-header,
  body.home .site-header .nav{
    transition:background .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease,-webkit-backdrop-filter .25s ease,backdrop-filter .25s ease!important;
  }
  body.home .site-header:not(.is-scrolled){background:transparent!important;color:#fff!important;box-shadow:none!important}
  body.home .site-header:not(.is-scrolled) .nav{background:transparent!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  body.home .site-header:not(.is-scrolled) .search-trigger,
  body.home .site-header:not(.is-scrolled) .account-trigger,
  body.home .site-header:not(.is-scrolled) .menu-toggle{color:#fff!important}
  body.home .site-header:not(.is-scrolled) .brand-logo--reverse{opacity:1!important}
  body.home .site-header:not(.is-scrolled) .brand-logo--color{opacity:0!important}

  .home .blog-grid{display:flex!important;flex-direction:column;gap:12px!important}
  .home .blog-preview__statement{order:-1;min-height:0!important;gap:24px!important;padding:28px!important}
  .home .blog-preview__statement h2{font-size:clamp(30px,8.3vw,40px)!important;line-height:1.04!important}
  .home .blog-preview__statement .button{align-self:flex-start!important;width:auto!important;margin:0!important}

  .home .events-preview__statement{min-height:0!important;gap:24px!important;padding:28px!important}
  .home .events-preview__statement .button{align-self:stretch!important;width:100%!important;margin:0!important}

  .home #faq{padding-block:52px!important}
  .home #faq .faq-grid{gap:30px!important}
  .home #faq .section-title{margin:0!important;font-size:clamp(38px,10vw,50px)!important;line-height:1!important}
  .home #faq .faq-list{margin:0!important}
}
@media(min-width:400px) and (max-width:760px){.home #faq .section-title br{display:none}}

/* The centre-page banner must not stretch to the physical height of a tall
   phone.  It is an editorial cover, not an empty viewport. */
@media(max-width:760px){
  body.page-template-about .about-life-banner{min-height:clamp(640px,125vw,820px)!important}
  body.page-template-about .about-life-banner__glass{inset:116px 12px 16px!important;min-height:0!important;padding:28px 20px 80px!important}
}

/* One menu surface at tablet and phone widths.  Earlier rules mixed a
   transparent hero flyout with an interior flyout, leaving pale text and a
   misplaced active state above page copy. */
@media(max-width:1180px){
  .site-header .nav-links.is-open{
    z-index:20!important;top:calc(100% + 8px)!important;left:12px!important;right:12px!important;width:auto!important;margin:0!important;padding:16px 18px!important;border:1px solid rgba(23,25,23,.14)!important;border-radius:22px!important;background:rgba(247,243,236,.98)!important;color:var(--ink)!important;box-shadow:0 14px 32px rgba(16,33,27,.18)!important;transform:none!important;-webkit-backdrop-filter:blur(18px)!important;backdrop-filter:blur(18px)!important;
  }
  .site-header .nav-links.is-open a{color:var(--ink)!important}
.site-header .menu-toggle[aria-expanded="true"]{border-color:transparent!important;background:transparent!important;box-shadow:none!important;color:var(--coral)!important}
}

/* Names in the specialist catalogue stay readable even when a full name spans
   several lines.  A little tracking softens the dense display face. */
.specialist-card h3,.specialist-card h3 a{font-weight:500!important;letter-spacing:-.012em!important}
/* «После перехода выберите врача» stands above the card links, so every card in a row ends with «Подробнее / Записаться» on one line */
.specialist-card__booking-note{order:2;margin-top:14px}.specialist-card__actions{order:3}
/* Every booking link on a card looks the same, also when there are two («Записаться», «Онлайн») */
.specialist-card__actions a:not(:first-child){color:var(--coral);font-weight:700}

/* Optional publication dates get their own row, never the excerpt cell. */
.blog-reference-page .blog-reference-card--entry:has(> .article-meta){grid-template-areas:"media title" "media date" "media excerpt" "media tags" "media action"}
.blog-reference-page .blog-reference-card--entry>p.article-meta{grid-area:date;max-width:none;margin:0 0 10px!important;font-size:14px}
@media(max-width:520px){.blog-reference-page .blog-reference-card--entry:has(> .article-meta){grid-template-areas:"media" "title" "date" "excerpt" "tags" "action"}}

/* Test category control keeps the search height and an inset chevron on every browser. */
html body main#content .tests-page .tests-category select{
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  height:100%;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23204e43' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 20px center;
  background-size:20px 20px;
}
/* Important form tokens live in this layer; keep the category text clear of its chevron. */
@layer design-system{
  html body main#content .tests-page .tests-category select{min-height:56px!important;padding-left:20px!important;padding-right:52px!important}
}
