/* Entity pages share the catalogue palette without repeating the site masthead. */
.pm-service-detail-page .pm-service-breadcrumbs { flex-wrap:wrap; overflow:visible; white-space:normal; }
.pm-service-detail-page .pm-service-breadcrumbs > a,.pm-service-detail-page .pm-service-breadcrumbs__item { flex-shrink:0; }
.pm-service-detail-page .pm-service-breadcrumbs__item:last-child { flex:1; overflow:hidden; }
.pm-service-detail-page .pm-service-breadcrumbs [aria-current="page"] { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.pm-service-detail-page .pm-service-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,300px); gap:32px; align-items:center; min-width:0; padding:clamp(20px,2.6vw,36px); border:1px solid var(--clinic-line,#c7dbff); border-radius:24px; background:#fff; }
.pm-service-intro__heading { display:flex; gap:24px; align-items:center; min-width:0; }
.pm-service-intro__icon { flex:none; width:96px; height:96px; object-fit:contain; }
.pm-service-intro__copy { min-width:0; }
.pm-service-intro .pm-service-detail-kicker { margin:0 0 10px; font-size:11px; letter-spacing:.12em; }
.pm-service-intro .pm-hero-heading__title { margin:0; font-family:var(--pm-font-heading); color:var(--pm-ink-900); font-size:clamp(26px,2.2vw,38px); line-height:1.2; font-weight:700; overflow-wrap:anywhere; hyphens:auto; text-wrap:pretty; }
.pm-service-intro__summary { margin:14px 0 0; max-width:75ch; font-size:16px; line-height:1.6; color:var(--pm-ink-700); }
.pm-service-intro__booking { display:grid; gap:14px; align-content:center; padding:20px 24px; border-radius:18px; background:var(--pm-brand-50,#f3f7fd); min-width:0; }
.pm-service-intro__booking dl,.pm-service-intro__booking dd { margin:0; }
.pm-service-intro__booking dt { font-size:13px; line-height:1.4; color:var(--pm-ink-700); }
.pm-service-intro__booking dd { margin-top:4px; font-size:clamp(20px,1.65vw,24px); font-weight:700; color:var(--pm-ink-900); line-height:1.25; white-space:nowrap; }
.pm-service-intro__booking > p { margin:0; font-size:13px; line-height:1.5; color:var(--pm-ink-700); }
.pm-service-intro__booking > a { display:flex; align-items:center; justify-content:center; width:100%; min-height:46px; height:auto; min-width:0; margin:0; padding:12px 16px; border-radius:12px; line-height:1.3; text-align:center; }
.pm-service-detail-page .pm-service-detail-nav { gap:8px; padding:0; }
.pm-service-detail-page .pm-service-detail-section-title { font-size:clamp(23px,2vw,32px); line-height:1.25; }
.pm-service-detail-page .pm-service-detail-section-head { margin-bottom:0; }
.pm-service-detail-page .pm-service-detail-section-head--row { flex-wrap:wrap; gap:12px; }
.pm-service-detail-page .pm-service-detail-section { scroll-margin-top:100px; }
.pm-service-item-about__direction { display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--pm-brand-700); padding:18px 20px; background:var(--pm-brand-50,#f3f7fd); border-radius:14px; text-decoration:none; }
.pm-service-item-about__direction span { display:grid; gap:5px; min-width:0; }
.pm-service-item-about__direction small { font-size:13px; color:var(--pm-ink-700); }
.pm-service-item-about__direction strong { font-size:18px; line-height:1.35; overflow-wrap:anywhere; hyphens:auto; }
.pm-service-item-about__direction svg { flex:none; }
.pm-service-item-about__direction:hover { background:var(--pm-brand-100,#e8effa); }
.pm-service-item-about .pm-service-detail-overview__description { margin-bottom:20px; }
.pm-service-detail-page .pm-service-item-preparation { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; }
.pm-service-item-preparation h2 { margin:0 0 12px; }
.pm-service-item-preparation p:not(.pm-service-detail-kicker) { margin:0; max-width:70ch; line-height:1.6; color:var(--pm-ink-700); }
.pm-service-item-preparation__contact { display:grid; gap:6px; padding:16px 20px; border:1px solid var(--clinic-line,#c7dbff); border-radius:14px; color:var(--pm-brand-700); }
.pm-service-item-preparation__contact span { font-size:13px; }
.pm-service-item-preparation__contact strong { font-size:20px; white-space:nowrap; }
.pm-service-detail-page :is(.pm-service-intro__booking a,.pm-service-item-about__direction,.pm-service-item-preparation__contact):focus-visible { outline:3px solid var(--pm-brand-700); outline-offset:4px; }

/* Editorial directions use the same spacing and cards as individual services. */
.pm-service-detail-page .pm-service-information {
 margin:0;
 padding:clamp(20px,2.2vw,32px);
 gap:clamp(24px,3vw,48px);
 border-color:var(--clinic-line,#c7dbff);
 border-radius:24px;
 grid-template-columns:minmax(190px,280px) minmax(0,1fr);
}
.pm-service-detail-page .pm-service-information__index h2 { font-family:var(--pm-font-heading); font-size:clamp(23px,2vw,30px); font-weight:700; color:var(--pm-ink-900); }
.pm-service-detail-page .pm-service-information__chapter h3 { font-family:var(--pm-font-heading); font-weight:700; color:var(--pm-ink-900); }
.pm-service-detail-page .pm-service-information__index nav a { padding:9px 0; overflow-wrap:anywhere; }
.pm-service-detail-page .pm-service-information__chapter { scroll-margin-top:calc(var(--pm-public-header-height,77px) + 20px); }
.pm-service-detail-page .pm-service-information__chapter p { max-width:none; }
.pm-service-detail-page .pm-service-detail-section { scroll-margin-top:calc(var(--pm-public-header-height,77px) + 20px); }
.pm-service-detail-page .pm-service-detail-section > * { min-width:0; }
.pm-service-detail-page .pm-service-detail-preparation:has(> ul):has(> .pm-service-detail-preparation__articles) { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.pm-service-detail-page .pm-service-detail-preparation__articles { display:flex; flex-wrap:wrap; gap:12px; align-content:start; }
.pm-service-detail-page .pm-service-detail-preparation__articles > a { flex:1 1 calc((100% - 12px) / 2); min-width:min(100%,260px); }
.pm-service-detail-page .pm-service-detail-preparation:has(> ul) .pm-service-detail-preparation__articles { display:grid; grid-template-columns:minmax(0,1fr); }
.pm-service-detail-page .pm-service-detail-related__grid { display:flex; flex-wrap:wrap; gap:12px; }
.pm-service-detail-page .pm-service-detail-related__grid > a { display:flex; flex-direction:column; flex:1 1 calc((100% - 24px) / 3); min-width:min(100%,280px); }
.pm-service-detail-page .pm-service-detail-related__grid em { padding-top:6px; }
.pm-service-detail-page .pm-service-detail-count { width:fit-content; justify-self:start; }
.pm-service-detail-page :is(.pm-service-detail-related__grid > a,.pm-service-detail-preparation__articles > a) { align-content:start; }
.pm-service-detail-page :is(.pm-service-detail-related__grid strong,.pm-service-detail-preparation__articles strong,.pm-service-detail-variant h3,.pm-service-detail-overview__columns li,.pm-service-detail-preparation li) { overflow-wrap:anywhere; }
.pm-service-detail-page .pm-service-detail-faq > .pm-modal-disclosure + .pm-modal-disclosure { border-top:1px solid var(--clinic-line,#c7dbff); }
.pm-service-detail-page .pm-service-detail-faq > .pm-modal-disclosure > .pm-modal-disclosure__trigger { min-height:56px; padding:16px 0; border-radius:0; color:var(--pm-ink-900); font-weight:600; line-height:1.5; }
.pm-service-detail-page .pm-service-detail-faq [data-modal-caption] { overflow-wrap:anywhere; }
.pm-service-detail-page .pm-service-detail-variant > a { min-height:44px; border-radius:12px; text-align:center; }
.pm-service-detail-page .pm-service-detail-inline-empty > a { flex-shrink:0; min-height:44px; border-radius:12px; white-space:nowrap; }
.pm-service-detail-page .pm-doctor-schedule[aria-busy="false"]:has([data-schedule-content]:empty),
.pm-service-detail-page .pm-doctor-schedule[aria-busy="false"]:has([data-schedule-content] > .pm-doctor-schedule__retry) { min-height:0; }
.pm-service-detail-page .pm-service-detail-doctor--registry .pm-service-detail-doctor__identity { max-width:none; grid-template-columns:minmax(0,1fr) auto; align-items:center; }
@media(max-width:900px) {
 .pm-service-detail-page .pm-service-detail-preparation:has(> ul):has(> .pm-service-detail-preparation__articles) { grid-template-columns:minmax(0,1fr); }
 .pm-service-detail-page .pm-service-detail-preparation:has(> ul) .pm-service-detail-preparation__articles { display:flex; }
}
@media(max-width:760px) {
 .pm-service-detail-page .pm-service-information { grid-template-columns:minmax(0,1fr); gap:24px; border-radius:20px; }
 .pm-service-detail-page .pm-service-information__index { padding-bottom:20px; }
 .pm-service-detail-page .pm-service-detail-variant { gap:10px; }
 .pm-service-detail-page .pm-service-detail-variant > a { justify-self:stretch; }
}
@media(max-width:1050px) {
 .pm-service-detail-page .pm-service-breadcrumbs > .pm-service-breadcrumbs__item:last-child { display:none; }
 .pm-service-detail-page .pm-service-breadcrumbs > .pm-service-breadcrumbs__item { min-width:0; max-width:100%; flex-shrink:1; }
 .pm-service-detail-page .pm-service-breadcrumbs__item > a { overflow-wrap:anywhere; }
 .pm-service-detail-page .pm-service-intro { grid-template-columns:minmax(0,1fr); gap:24px; }
 .pm-service-intro__booking { grid-template-columns:minmax(0,1fr) auto; align-items:center; padding:16px 20px; }
 .pm-service-intro__booking > a { width:auto; min-width:180px; }
 .pm-service-intro__booking > p:last-child { grid-column:1/-1; }
 .pm-service-intro__icon { width:80px; height:80px; }
}
@media(max-width:600px) {
 .pm-service-detail-page .pm-service-intro { padding:20px; gap:20px; border-radius:20px; }
 .pm-service-intro__heading { display:grid; gap:14px; }
 .pm-service-intro__icon { width:64px; height:64px; }
 .pm-service-intro .pm-hero-heading__title { font-size:26px; }
 .pm-service-intro__booking { padding:16px; grid-template-columns:minmax(0,1fr); gap:12px; }
 .pm-service-intro__booking > a { width:100%; min-width:0; }
 .pm-service-detail-page .pm-service-breadcrumbs > .pm-service-breadcrumbs__item:last-child { display:none; }
 .pm-service-detail-page .pm-service-detail-section-head { margin-bottom:0; }
 .pm-service-detail-page .pm-service-item-preparation { grid-template-columns:minmax(0,1fr); gap:18px; }
 .pm-service-item-about__direction { padding:16px; gap:12px; }
 .pm-service-item-preparation__contact { justify-self:start; }
 .pm-service-detail-page .pm-service-detail-doctor--registry .pm-service-detail-doctor__identity { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:360px) {
 .pm-service-intro .pm-hero-heading__title { font-size:24px; }
 .pm-service-detail-page .pm-doctor-schedule__calendar { gap:4px; }
 .pm-service-detail-page .pm-doctor-schedule__dates { gap:4px; }
 .pm-service-detail-page .pm-doctor-schedule__dates button strong { font-size:12px; }
}
