/* MedCare24 service detail layout: approved copy, compact typography */
body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions{padding-block:32px;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:40px;align-items:start}
:is(body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions) aside h2{font-size:30px;line-height:1.16;margin:0;overflow-wrap:anywhere}
:is(body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions)>div{border-top:0;min-width:0}
:is(body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions)>div>p,:is(body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions) article p{font-size:17px;line-height:1.65;margin:0;color:var(--ink-soft)}
body #service-questions article{display:block;min-height:0;padding:20px 0;border-bottom:1px solid var(--line)}
body #service-questions article:first-child{padding-top:0}
body #service-questions article h3{font-family:inherit;font-size:19px;line-height:1.35;font-weight:600;margin:0 0 10px;overflow-wrap:anywhere}
@media(max-width:760px){:is(body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions){grid-template-columns:1fr;gap:16px;padding-block:26px}:is(body:has(#service-questions) .principles.shell:has(>aside>h2:only-child):has(>div>p:only-child),body #service-questions) aside h2{font-size:26px;line-height:1.2}}
@media(max-width:520px){body .detail-hero:has(>img[src$="/external-management.webp"])>div{min-width:0}html[lang="de"] body .detail-hero:has(>img[src$="/external-management.webp"]) h1{font-size:clamp(27px,8.5vw,40px);overflow-wrap:break-word;hyphens:auto}}

/* MC24-RU-CLOSING-MOBILE-20261004 */
@media (max-width: 520px) {
  html[lang="ru"] .closing > .shell { grid-template-columns: minmax(0, 1fr); }
  html[lang="ru"] .closing > .shell > div { min-width: 0; }
  html[lang="ru"] .closing h2 {
    font-size: clamp(28px, 8vw, 40px);
    overflow-wrap: anywhere;
  }
}
