.theme-v5 {
    --v5-ink: #004050;
    --v5-text: #223033;
    --v5-link: #0b6f8f;
    --v5-blue: #eaf7fb;
    --v5-sand: #f4f1ea;
    --v5-line: #dce5e4;
    --v5-accent: #2cc3ec;
    color: var(--v5-text);
}
.theme-v5 :focus-visible { outline: 2px solid var(--v5-link); outline-offset: 3px; }
.theme-v5 > :is(header.header,.sub-menu-wrapper,.back-top), .theme-v5 .name-top[hidden] { display: none; }

.theme-v5 .v5-wrap { width: min(calc(100% - 80px), 1200px); margin-inline: auto; }
.theme-v5 .top-bar { background: #859c88; color: #1f2a22; }
.theme-v5 .top-bar > div { min-height: 40px; max-width: 1200px; }
.theme-v5 .top-bar a { color: inherit; }
.theme-v5 .top-bar img { filter: brightness(.22); }
.theme-v5 .v5-header { position: sticky; top: 0; z-index: 100; background: white; color: var(--v5-ink); border-bottom: 1px solid #e7eeee; }
.theme-v5 .v5-head-row, .theme-v5 .v5-actions, .theme-v5 .v5-nav { display: flex; align-items: center; gap: 22px; }
.theme-v5 .v5-head-row { height: 80px; justify-content: space-between; }
.theme-v5 .v5-head-row img { object-fit: contain; }
.theme-v5 .v5-nav > a, .theme-v5 .v5-nav button { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
.theme-v5 .v5-nav button svg { width: 14px; }
.theme-v5 .v5-btn, .theme-v5 .v5-chips a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; background: var(--v5-accent); color: #062b33; font-weight: 600; text-decoration: none; }
.theme-v5 .v5-actions .mn-status { display: inline-flex; background: #fdf3e1; color: #6b4a12; }
.theme-v5 .v5-actions .mn-status.is-open { background: #e3f2e3; color: #25552e; }
.theme-v5 #kontakt-i-godziny { scroll-margin-top: 88px; }
.theme-v5 .v5-actions .mn-toggle { display: none; }
.theme-v5 .v5-panel { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: min(1200px, 96vw); max-height: calc(100dvh - 122px); overflow: auto; background: #fff; border-radius: 0 0 32px 32px; box-shadow: 0 14px 34px #00405020; }
.theme-v5 .v5-shade { position: fixed; inset: 0; background: rgba(0,48,60,.32); z-index: 99; }
.theme-v5 .v5-offer-panel { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; padding: 24px; }
.theme-v5 .v5-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.theme-v5 .v5-category { display: flex; align-items: flex-start; gap: 10px; }
.theme-v5 .v5-category strong { font-size: 16px; }
.theme-v5 .v5-category ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; line-height: 1.7; }
.theme-v5 .v5-category a:hover, .theme-v5 .v5-nav > a:hover { text-decoration: underline; }
.theme-v5 .v5-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--v5-blue); color: var(--v5-link); }
.theme-v5 .v5-icon img { width: 28px; height: 28px; object-fit: contain; }
.theme-v5 .v5-menu-aside { background: var(--v5-sand); border-radius: 24px; padding: 20px; }
.theme-v5 .v5-menu-aside > strong { font-size: 22px; }
.theme-v5 .v5-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-v5 .v5-chips a { font-size: 15px; background: var(--v5-blue); color: #0d4a5a; font-weight: 500; }
.theme-v5 .v5-chips a:hover { background: #d5f2f8; }
.theme-v5 .v5-menu-aside .v5-chips { margin: 12px 0; }
.theme-v5 .v5-menu-aside .v5-chips a { padding-inline: 12px; min-height: 44px; font-size: 13px; background: #fff; }
.theme-v5 .v5-urgent::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0453a; }
.theme-v5 .v5-panel .patient-navigation { padding: 28px; }
.theme-v5 .v5-panel .patient-navigation__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.theme-v5 .v5-panel .patient-navigation__card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--v5-line); border-radius: 16px; padding: 16px; color: var(--v5-ink); }
.theme-v5 .v5-panel .patient-navigation__copy span { display: block; }
.theme-v5 .v5-panel .patient-navigation__description { font-size: 14px; color: #4c5d60; }
.theme-v5 .v5-whitening { display: flex; align-items: center; gap: 36px; min-height: 113px; padding: 0 40px; background: #92edff url('/Photo/7_97717_photo_tlo_rozwijanego_menu_w_topie.jpg') 100% 50% / cover; color: #fff; font-size: 23px; }
.theme-v5 .v5-whitening > div > strong { font-size: 18px; }
.theme-v5 .v5-whitening a { padding: 13px 30px; background: #859c88; color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.theme-v5 .footer { background: #0f3a45; color: #e2f2f6; padding-top: 64px; }
.theme-v5 .footer a, .theme-v5 .footer__contener__info { color: #e2f2f6; }
.theme-v5 .footer__contener__header { color: var(--v5-accent); }
.theme-v5 .footer a[href^="tel:"] { font-size: 22px; font-weight: 600; }
.theme-v5 .v5-footer-logo { display: block; margin: 0 0 40px; }

.theme-v5 { font-family: Poppins, sans-serif; }
.theme-v5 .v5-section { padding-block: 76px 90px; }
.theme-v5 :is(.v5-hero,.v5-smile) { background: var(--v5-sand); }
.theme-v5 :is(.v5-hero,.v5-section,.v5-smile,.v5-reasons) :is(h1,h2,h3) { margin: 0; color: var(--v5-ink); font-weight: 600; line-height: 1.13; letter-spacing: -.02em; }
.theme-v5 :is(.v5-section,.v5-smile) h2, .theme-v5 .v5-visit-heading { font-size: 40px; }
.theme-v5 :is(.v5-hero,.v5-smile,.v5-reasons,.v5-menu-aside,.v5-facts) em { font: italic 500 1em Fraunces, Georgia, serif; color: var(--v5-link); }
.theme-v5 .v5-label { margin: 0 0 12px; text-transform: uppercase; font: 600 13px/1.4 Poppins,sans-serif; letter-spacing: .12em; color: var(--v5-link); }
.theme-v5 .v5-hero { overflow: hidden; }
.theme-v5 .v5-hero-grid, .theme-v5 .v5-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.theme-v5 .v5-hero-copy { position: relative; z-index: 1; padding: 75px 0; }
.theme-v5 .v5-hero h1 { font-size: clamp(48px,5vw,64px); }
.theme-v5 .v5-intro, .theme-v5 .v5-smile p:not(.v5-label) { max-width: 500px; margin: 22px 0; font-size: 18px; line-height: 1.65; color: #4c5d60; }
.theme-v5 .v5-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.theme-v5 .v5-hero-buttons .v5-btn { min-height: 56px; padding: 0 26px; box-shadow: none; }
.theme-v5 .v5-outline, .theme-v5 .v5-score { background: #fff; color: var(--v5-ink); border: 1px solid #cfe1e4; }
.theme-v5 .v5-score { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 99px; font-size: 14px; }
.theme-v5 .v5-score span, .theme-v5 .v5-score-large span { color: #b16a03; letter-spacing: 2px; }
.theme-v5 .v5-portrait { position: relative; height: 640px; display: grid; place-items: end center; }
.theme-v5 .v5-portrait img { position: relative; width: auto; height: min(560px,45vw); max-width: 100%; object-fit: contain; object-position: center bottom; }
/* Dwie orbity większe od portretu i ucięte krawędziami hero, żeby nie czytały się jak aureola. */
.theme-v5 .v5-orbit { position: absolute; width: 840px; aspect-ratio: 1; border-radius: 50%; top: 55%; left: 52%; border: 1px solid #2cc3ec38; translate: -50% -50%; pointer-events: none; animation: v5-orbit 70s linear infinite; }
.theme-v5 .v5-orbit--far { width: 1100px; top: 78%; left: 70%; border-color: #9aa5a633; animation-duration: 110s; animation-direction: reverse; }
.theme-v5 .v5-orbit::after { content: ''; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--v5-accent); }
.theme-v5 .v5-orbit--far::after { background: #b7bfbf; }
@keyframes v5-orbit { to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) { .theme-v5 .v5-orbit { animation: none; } }
.theme-v5 .v5-signature { position: absolute; bottom: 16%; right: 0; background: #fff; color: var(--v5-ink); box-shadow: 0 14px 34px #00405020; border-radius: 20px; padding: 12px 18px; }
.theme-v5 .v5-signature small, .theme-v5 .v5-facts small { display: block; color: #4c5d60; }
.theme-v5 .v5-reasons { border-top: 3px solid var(--v5-accent); }
.theme-v5 .v5-reasons > div, .theme-v5 .v5-heading { display: flex; align-items: center; gap: 28px; }
.theme-v5 .v5-reasons > div { padding-top: 60px; }
.theme-v5 .v5-reasons h2 { flex: none; font-size: 30px; }
.theme-v5 .v5-heading { justify-content: space-between; margin-bottom: 28px; }
.theme-v5 .v5-heading > p { max-width: 440px; }
.theme-v5 .v5-offers { border: 1px solid var(--v5-line); border-radius: 28px; overflow: hidden; }
.theme-v5 .v5-offer-row { display: grid; grid-template-columns: 44px 64px minmax(0,1.05fr) minmax(0,1.5fr) 48px; align-items: center; column-gap: 24px; height: 108px; box-sizing: border-box; padding: 0 28px; color: var(--v5-ink); }
.theme-v5 .v5-offer-row + a { border-top: 1px solid #eef2f2; }
.theme-v5 .v5-offer-row:hover { background: #f6fbfc; }
.theme-v5 .v5-offer-row .v5-icon, .theme-v5 .v5-arrow { width: 56px; height: 56px; }
.theme-v5 .v5-number, .theme-v5 .v5-local-link { color: var(--v5-link); font-weight: 600; }
.theme-v5 .v5-offer-row strong { font-size: 21px; }
.theme-v5 .v5-summary > span, .theme-v5 .v5-summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-v5 .v5-summary { min-width: 0; font-size: 15px; color: #4c5d60; }
.theme-v5 .v5-summary small { margin-top: 4px; }
.theme-v5 .v5-summary small span { display: inline-block; padding: 2px 9px; background: var(--v5-blue); color: var(--v5-ink); border-radius: 20px; }
.theme-v5 .v5-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--v5-blue); font-size: 22px; }
.theme-v5 .v5-smile { overflow: hidden; }
.theme-v5 .v5-split { padding-block: 60px; gap: 70px; }
.theme-v5 .v5-split > img { width: 100%; height: clamp(300px,34vw,500px); object-fit: cover; object-position: 31.5% 50%; mix-blend-mode: multiply; border-radius: 26px; }
.theme-v5 .v5-smile .v5-chips a { background: #fff; }
.theme-v5 .v5-dark { background: var(--v5-ink); color: white; }
.theme-v5 .v5-smile .v5-dark { margin-top: 28px; }
.theme-v5 .v5-doctor { border-radius: 32px; padding: 52px; background: var(--v5-blue); display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.theme-v5 .v5-doctor-id, .theme-v5 .v5-facts > div { display: flex; gap: 16px; align-items: center; }
.theme-v5 .v5-doctor-id img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: white; }
.theme-v5 .v5-doctor-id h2 { font-size: 20px; }
.theme-v5 .v5-doctor .person-description { margin-top: 24px; font-size: 15.5px; line-height: 1.7; }
.theme-v5 .v5-doctor .person-description p:first-child { font: italic 400 30px/1.4 Fraunces,Georgia,serif; color: var(--v5-ink); }
.theme-v5 .v5-facts { display: grid; align-content: center; gap: 12px; }
.theme-v5 .v5-facts > div { border-radius: 22px; background: white; padding: 22px; }
.theme-v5 .v5-reviews { background: #5d7561; color: white; }
.theme-v5 .v5-reviews h2.v5-label { color: #fff; font-size: 15px; letter-spacing: .12em; }
.theme-v5 .v5-score-large { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.theme-v5 .v5-score-large b { font-size: 52px; line-height: 1.1; }
.theme-v5 .v5-score-large span { color: #ffce66; }
.theme-v5 .v5-reviews .selected-reviews { margin: 0; padding: 0; max-width: none; border-top: 0; }
.theme-v5 .v5-reviews .selected-reviews__heading { position: absolute; clip-path: inset(50%); }
.theme-v5 .v5-reviews .selected-reviews__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.theme-v5 .v5-reviews .selected-reviews__card { display: flex; flex-direction: column; background: #59715d; color: white; border: 0; border-radius: 24px; padding: 28px; margin: 0; }
.theme-v5 .v5-reviews blockquote { color: white; font: 400 15.5px/1.7 Poppins,sans-serif; }
.theme-v5 .v5-reviews figcaption { margin-top: auto; color: white; }
.theme-v5 .v5-visit-heading { color: var(--v5-ink); margin-bottom: 28px; }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__inner { width: min(calc(100% - 80px),1200px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.theme-v5 .dc-visit:has(.v5-map-card) :is(.dc-visit__copy,.dc-visit__schedule,.v5-map-card) { background: #fff; border-radius: 24px; padding: 24px; min-width: 0; }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__copy h2 { font-size: 24px; }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__schedule { order: -1; }
.theme-v5 .v5-map-card { display: grid; align-content: start; gap: 12px; }
.theme-v5 .v5-map-card a { color: var(--v5-link); text-decoration: underline; }
.theme-v5 .v5-map-art { display: grid; place-items: center; min-height: 140px; color: #aa362c; border-radius: 16px; background: linear-gradient(25deg,transparent 40%,white 41% 44%,transparent 45%),linear-gradient(108deg,transparent 50%,#c0e8f5 50% 59%,transparent 60%),repeating-linear-gradient(165deg,#e5eadd 0 23px,#fff 24px 28px); }
.theme-v5 .v5-map-art svg { width: 40px; height: 40px; }
.theme-v5 .start-blog { background: var(--v5-blue); }
.theme-v5 .start-blog__content__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.theme-v5 .start-blog__content__list__one { overflow: hidden; background: white; border-radius: 24px; padding-bottom: 24px; display: flex; flex-direction: column; }
.theme-v5 .start-blog__content__list__one__button { margin-top: auto; }
.theme-v5 .clinic-overview { background: white; }
.theme-v5 .clinic-overview__card { height: 100%; border: 1px solid var(--v5-line); border-radius: 24px; }
.theme-v5 .v5-local-link { display: block; margin-top: 12px; }

.theme-v5 .service-content { --sc-heading: #004050; --sc-ink: #223033; }
.theme-v5 .service-content .sc-light { background: white; }
.theme-v5 .service-content .sc-soft { background: var(--v5-sand); }
.theme-v5 .service-content .sc-section:nth-child(even of .sc-soft) { background: var(--v5-blue); }
.theme-v5 .service-content .sc-dark { background: #0f3a45; }
.theme-v5 .service-content .sc-reviews-background { background: #5d7561; }
.theme-v5 .sc-reviews-background > .sc-container > .sc-section-header :is(.sc-eyebrow,.sc-intro) { color: white; }
.theme-v5 .service-content .sc-reviews-background .sc-option { background: #546c58; color: #fff; }
.theme-v5 .service-content .sc-reviews-background .sc-option :is(h3,p,a) { color: inherit; }
.theme-v5 :is(.service-content,.about-page,.v5-patient-heading,.multicontent__faq) :is(.sc-highlight,.v5-title-accent) { background: none; text-decoration: none; color: var(--v5-link); font: italic 500 1em Fraunces,Georgia,serif; }
.theme-v5 .service-content .sc-highlight::after { display: none; }
.theme-v5 .service-content :is(.sc-dark,.sc-reviews-background) :is(.sc-highlight,.v5-title-accent) { color: #c1f2fa; }
.theme-v5 :is(.sc-hero-copy,.ab-hero-copy,.v5-patient-heading) .youarein { margin: 0 0 16px; padding: 0; background: transparent; }
.theme-v5 :is(.sc-hero-copy,.ab-hero-copy,.v5-patient-heading) .youarein__content { margin: 0; padding: 0; width: auto; justify-content: flex-start; font-size: 13px; }

.theme-v5 .mn-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.theme-v5 .v5-actions .mn-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #e8a33a; }
.theme-v5 .v5-actions .mn-status.is-open::before { background: #448350; }
@media (max-width: 1023px) {
    .theme-v5 .v5-wrap { width: min(calc(100% - 40px), 900px); }
    .theme-v5.has-mobile-navigation .v5-nav, .theme-v5.has-mobile-navigation .v5-actions > .v5-btn { display: none; }
    .theme-v5 .v5-actions .mn-toggle { display: inline-grid; place-items: center; background: var(--v5-blue); color: var(--v5-ink); border: 0; border-radius: 14px; width: 46px; height: 46px; }
    .theme-v5 .v5-head-row { height: 64px; }
    .theme-v5 .v5-head-row > a img { width: auto; height: 44px; }
    .theme-v5 .v5-offer-row { grid-template-columns: 30px 52px 1fr 1fr 44px; gap: 12px; padding-inline: 18px; }
    .theme-v5 .v5-doctor { padding: 28px; gap: 20px; }
    .theme-v5 .v5-reviews .selected-reviews__grid { grid-template-columns: 1fr; }
    .theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__inner { width: calc(100% - 40px); grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .theme-v5 .v5-section { padding-block: 40px; }
    .theme-v5 .v5-hero-grid, .theme-v5 .v5-split, .theme-v5 .v5-doctor { grid-template-columns: 1fr; gap: 20px; }
    .theme-v5 .v5-hero-grid { gap: 0; }
    .theme-v5 .v5-portrait { grid-row: 1; grid-template-rows: minmax(0,1fr); height: 240px; }
    .theme-v5 .v5-portrait img { width: 192px; height: 240px; }
    .theme-v5 .v5-orbit { display: none; }
    .theme-v5 .v5-signature { bottom: 16px; right: 0; padding: 8px 12px; border-radius: 12px; font-size: 12px; }
    .theme-v5 .v5-hero-copy { padding: 24px 0 32px; }
    .theme-v5 .v5-hero h1 { font-size: 36px; }
    .theme-v5 .v5-hero h1 br { display: none; }
    .theme-v5 .v5-hero-buttons { margin-block: 18px; gap: 8px; }
    .theme-v5 .v5-hero-buttons .v5-btn { min-height: 48px; padding-inline: 18px; }
    .theme-v5 .v5-intro, .theme-v5 .v5-smile p:not(.v5-label) { font-size: 15px; margin-block: 12px; }
    .theme-v5 .v5-reasons > div, .theme-v5 .v5-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .theme-v5 .v5-reasons > div { padding-top: 32px; }
    .theme-v5 :is(.v5-reasons,.v5-smile) h2, .theme-v5 .v5-visit-heading { font-size: 27px; }
    .theme-v5 .v5-chips a { font-size: 13px; min-height: 44px; padding-inline: 14px; }
    .theme-v5.mobile-home .v5-offer-desktop { display: none; }
    .theme-v5 #oferta .mh-section { padding-inline: 0; }
    .theme-v5 .v5-split { padding-block: 32px; }
    .theme-v5 .v5-split > img { height: 240px; }
    .theme-v5 .v5-doctor { padding: 20px; }
    .theme-v5 .v5-doctor .person-description p:first-child { font-size: 23px; }
    .theme-v5 .v5-doctor-id h2 { font-size: 18px; }
    .theme-v5 .v5-facts > div { padding: 14px; }
    .theme-v5 .v5-score-large b { font-size: 40px; }
    .theme-v5 .v5-reviews .selected-reviews__card { padding: 20px; }
    .theme-v5 .v5-visit-heading { display: none; }
    .theme-v5 .dc-visit .mh-hours-title { padding: 20px; }
    .theme-v5.mobile-home .footer, .theme-v5.mobile-home .footer .mh-footer-toggle { background: #0f3a45; color: #e2f2f6; }
    .theme-v5.mobile-home .footer a { color: #e2f2f6; }
    .theme-v5 .v5-footer-logo { height: 60px; width: auto; }
    .theme-v5 .v5-header.mh-away:not(:focus-within) { transform: translateY(-100%); }
    .theme-v5:not(.has-mobile-navigation) .v5-head-row { flex-wrap: wrap; height: auto; }
    .theme-v5:not(.has-mobile-navigation) .v5-panel { max-height: 65dvh; }
    .theme-v5:not(.has-mobile-navigation) :is(.v5-offer-panel,.v5-category-grid,.v5-panel .patient-navigation__grid) { grid-template-columns: 1fr; }
}

.theme-v5 .v5-whitening a { border-radius: 99px; }
.theme-v5 .v5-whitening > div { line-height: 1.4; }
.theme-v5 .v5-hero-buttons .appointment-cta { display: inline-flex; background: #2cc3ec; color: #062b33; }
.theme-v5 .v5-category li a { color: #385457; }
.theme-v5 .v5-category .v5-icon img { filter: brightness(0) saturate(100%) invert(35%) sepia(69%) saturate(760%) hue-rotate(152deg); }
.theme-v5 .dc-visit:has(.v5-map-card) { background: var(--v5-sand); color: var(--v5-text); }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__inner { align-items: stretch; }
.theme-v5 .dc-visit:has(.v5-map-card) .v5-visit-heading { max-width: 1200px; margin: 0 auto 32px; color: var(--v5-ink); }
.theme-v5 .dc-visit:has(.v5-map-card) :is(.dc-visit__contact,h2,h3,.dc-visit__description strong) { color: var(--v5-ink); }
.theme-v5 .dc-visit:has(.v5-map-card) :is(.dc-visit__description,.dc-visit__label) { color: #4c5d60; }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__eyebrow { color: var(--v5-link); }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__contact { background: var(--v5-blue); border-radius: 15px; gap: 10px; padding: 12px; }
.theme-v5 .dc-visit:has(.v5-map-card) .dc-visit__value { font-size: 17px; }
.theme-v5 .v5-map-card a { display: inline-flex; align-items: center; min-height: 44px; }
.theme-v5 .footer__contener__social a:has(>svg) { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.theme-v5 .footer__contener__social a > svg + img { display: none; }
.theme-v5 .v5-reviews .selected-reviews__card figcaption :is(strong,small) { color: #fff; }
@media (min-width: 768px) {
    .theme-v5 .start-blog { padding-block: 72px; }
    .theme-v5 .start-blog__content__list__one { display: grid; grid-template-columns: 32% minmax(0,1fr); grid-template-rows: auto auto 1fr auto; gap: 4px 20px; padding: 0 20px 0 0; }
    .theme-v5 .start-blog__content__list__one__photo { grid-row: 1 / 5; min-height: 190px; height: 100%; margin: 0; border-radius: 0; }
    .theme-v5 .start-blog__content__list__one__photo a { display: block; height: 100%; }
    .theme-v5 .start-blog__content__list__one__date { padding-top: 18px; }
    .theme-v5 .start-blog__content__list__one__button { padding-bottom: 18px; }
    .theme-v5 .start-blog__content__header h2 { color: var(--v5-ink); text-align: left; }
}
@media (max-width: 767.98px) {
    body.theme-v5.mobile-home #opinie-google { background: #5d7561; margin-top: 0; padding-block: 0; }
    body.theme-v5.mobile-home #kontakt-i-godziny { background: var(--v5-sand); padding: 32px 0; }
    .theme-v5.mobile-home .v5-reviews .selected-reviews__grid { display: flex; padding: 0; }
    .theme-v5.mobile-home .v5-reviews .selected-reviews__card { flex-basis: min(300px, calc(100vw - 60px)); }
}

/* Homepage typography and interactive targets. The contact strip has its own styles. */
.theme-v5 .v5-section h2, .theme-v5 .clinic-overview__intro h2 {
    font: 600 40px/1.15 Poppins,sans-serif; letter-spacing: -.01em; color: var(--v5-ink);
}
.theme-v5 .v5-label { margin-bottom: 8px; }
.theme-v5 .v5-hero h1 { line-height: 1.08; }
.theme-v5 .v5-hero h1 br { display: initial; }
.theme-v5 .v5-score { min-height: 40px; font-weight: 500; border-color: var(--v5-line); }
.theme-v5 .v5-score .v5-gold-stars { display: inline-flex; align-items: center; gap: 2px; }
.theme-v5 .v5-orbit::after { width: 10px; height: 10px; top: -5px; }
.theme-v5 .v5-orbit--far::after { width: 8px; height: 8px; top: -4px; }
.theme-v5 .v5-hero-buttons .appointment-cta { padding-inline: 28px; font: 600 16.5px/1.3 Poppins,sans-serif; letter-spacing: normal; gap: 10px; }
.theme-v5 .v5-hero-buttons .v5-outline { border-width: 1.5px; font-weight: 500; }
.theme-v5 .v5-btn { transition: transform .15s cubic-bezier(.2,.8,.2,1); }
.theme-v5 .v5-btn:hover { transform: translateY(-1px); text-decoration: none; }
.theme-v5 .v5-chips a { transition: background-color .2s,transform .2s; text-decoration: none; }
.theme-v5 .v5-chips a:hover { background: #d5f2f8; transform: translateY(-1px); text-decoration: none; }
.theme-v5 .v5-reasons h2 { font-weight: 600; }
.theme-v5 .v5-reasons .v5-chips { gap: 10px; }
.theme-v5 .v5-reasons .v5-chips a { padding-inline: 20px; }
.theme-v5 .v5-heading { align-items: flex-end; }
.theme-v5 .v5-heading > p:not(.v5-score-large) { max-width: 420px; color: #4c5d60; }
.theme-v5 .v5-offer-row { position: relative; transition: background-color .2s; }
.theme-v5 .v5-offer-row + .v5-offer-row { border-top: 1px solid #eef2f2; }
.theme-v5 .v5-offer-row:is(:hover,:focus-within) { background: #f3fbfd; }
.theme-v5 .v5-category-link, .theme-v5 .v5-offer-row:is(:hover,:focus-within) .v5-category-link {
    font: 600 22px/1.25 Poppins,sans-serif; color: var(--v5-ink); text-decoration: none;
}
.theme-v5 .v5-category-link::after, .theme-v5 .clinic-overview__card h3 a::after { content: ''; position: absolute; inset: 0; }
.theme-v5 .v5-category-link:focus-visible::after { outline: 2px solid var(--v5-link); outline-offset: -3px; }
.theme-v5 .v5-offer-row .v5-icon { border-radius: 16px; color: #1aa6cf; }
.theme-v5 .v5-number { font-size: 15px; }
.theme-v5 .v5-summary { font-size: 14.5px; }
.theme-v5 .v5-summary small { display: flex; flex-wrap: wrap; overflow: visible; gap: 6px; margin-top: 8px; }
.theme-v5 .v5-summary small a { position: relative; z-index: 1; background: var(--v5-blue); color: #0d4a5a; border-radius: 999px; padding: 3px 10px; font: 500 12.5px/1.35 Poppins,sans-serif; white-space: nowrap; text-decoration: none; }
.theme-v5 .v5-summary small a:hover { color: var(--v5-ink); background: #d5f2f8; }
.theme-v5 .v5-offer-row .v5-arrow { width: 48px; height: 48px; background: #f1f5f5; }
.theme-v5 .v5-offer-row:is(:hover,:focus-within) .v5-arrow { color: #062b33; background: var(--v5-accent); }
.theme-v5 .v5-smile .v5-split { max-width: 1440px; width: 100%; gap: 0; padding: 0; align-items: stretch; }
.theme-v5 .v5-split > img { height: 100%; min-height: 560px; border-radius: 0; }
.theme-v5 .v5-split > div { margin-block: auto; padding: 96px 64px 96px 48px; }
.theme-v5 .v5-smile h2 { font-size: 46px; line-height: 1.12; letter-spacing: -.015em; }
.theme-v5 .v5-smile p:not(.v5-label) { max-width: 480px; font-size: 17px; line-height: 1.7; }
.theme-v5 .v5-smile .v5-chips a { min-height: 44px; padding-inline: 18px; font-size: 14.5px; }
.theme-v5 :is(.v5-facts,.v5-smile,.v5-visit-card) .v5-btn { min-height: 54px; padding-inline: 26px; font-size: 15.5px; }
.theme-v5 .v5-smile .v5-dark { margin-top: 30px; }
.theme-v5 .v5-doctor { padding: 56px; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 40px 64px; }
.theme-v5 .v5-doctor-name { margin: 0; color: var(--v5-ink); font: 600 20px/1.4 Poppins,sans-serif; }
.theme-v5 .v5-quote { margin: 28px 0 26px; color: var(--v5-ink); font: italic 400 32px/1.4 Fraunces,Georgia,serif; }
.theme-v5 .v5-bio { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 36px; color: #3f4f52; font: 400 15.5px/1.75 Poppins,sans-serif; }
.theme-v5 .v5-bio p { margin: 0; }
.theme-v5 .v5-facts { grid-template-rows: 1fr 1fr auto; }
.theme-v5 .v5-facts > div { padding: 22px 24px; }
.theme-v5 .v5-facts strong { font-size: 17px; font-weight: 600; color: var(--v5-ink); }
.theme-v5 .v5-facts small { font-size: 14px; }
.theme-v5 .v5-facts strong em { display: block; }
.theme-v5 .v5-facts .v5-icon { width: 48px; height: 48px; }
.theme-v5 .v5-reviews h2.v5-label { font: 600 13px/1.4 Poppins,sans-serif; letter-spacing: .12em; color: #fff; }
.theme-v5 .v5-score-large { color: #fff; font-size: 15px; }
.theme-v5 .v5-score-large b { color: white; line-height: 1; font-weight: 700; }
.theme-v5 .v5-score-large span { font-size: 18px; color: #f6c453; }
.theme-v5 .v5-reviews .v5-btn { min-height: 50px; padding-inline: 24px; font-size: 15px; }
.theme-v5 .v5-reviews .selected-reviews__card { background: #526a56; gap: 14px; }
.theme-v5 .v5-reviews .selected-reviews__stars svg { width: 16px; height: 16px; fill: #f6c453; }
.theme-v5 .v5-reviews figcaption, .theme-v5 .v5-reviews figcaption strong { font-size: 14.5px; font-weight: 600; }
.theme-v5 .v5-visit { background: var(--v5-sand); }
.theme-v5 .v5-visit-grid, .theme-v5 .v5-blog-grid { display: grid; gap: 20px; }
.theme-v5 .v5-visit-grid { grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); margin-top: 32px; }
.theme-v5 .v5-visit-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid transparent; border-radius: 28px; padding: 28px; }
.theme-v5 .v5-visit-card h3 { margin: 0 0 14px; font: 600 18px/1.4 Poppins,sans-serif; letter-spacing: 0; color: var(--v5-ink); }
.theme-v5 .v5-visit-card > p { color: #4c5d60; font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.theme-v5 .v5-hours { display: grid; grid-template-columns: 1fr auto; margin: auto 0 0; font-size: 15px; color: #3f4f52; }
.theme-v5 .v5-hours :is(dt,dd) { border-bottom: 1px solid #eef2f2; margin: 0; padding: 11px 2px; }
.theme-v5 .v5-hours dd { text-align: right; }
.theme-v5 .v5-hours .mh-next-day { font-weight: 600; color: var(--v5-ink); }
.theme-v5 .v5-hours dt[data-relative-day]::after { content: attr(data-relative-day); font: 600 11.5px Poppins,sans-serif; color: #0d4a5a; background: var(--v5-blue); border-radius: 20px; padding: 2px 8px; margin-left: 6px; }
.theme-v5 .v5-visit-card .opening-status { margin: 0 0 14px; border-radius: 14px; padding: 10px 12px; background: #fdf3e1; color: #6b4a12; font: 500 13.5px/1.4 Poppins,sans-serif; }
.theme-v5 .v5-visit-card .opening-status.is-open { background: #e3f2e3; color: #25552e; }
.theme-v5 .v5-phone-number { font: 700 clamp(24px,2.4vw,34px)/1.25 Poppins,sans-serif; color: var(--v5-ink); }
.theme-v5 .v5-email { margin-block: 6px 22px; color: var(--v5-link); font-size: 15.5px; overflow-wrap: anywhere; }
.theme-v5 .v5-visit-card .v5-btn, .theme-v5 .v5-map-link > .v5-text-link { margin-top: auto; }
.theme-v5 .v5-address { display: flex; gap: 12px; align-items: center; }
.theme-v5 .v5-address .v5-icon { color: #e0453a; width: 56px; height: 56px; }
.theme-v5 .v5-address strong, .theme-v5 .v5-address small { display: block; }
.theme-v5 .v5-address small { color: #4c5d60; font-size: 14px; }
.theme-v5 .v5-map-link .v5-map-art { min-height: 120px; border-radius: 18px; margin-block: 18px; background: linear-gradient(28deg,transparent 40%,white 41% 45%,transparent 46%),linear-gradient(115deg,transparent 48%,white 49% 53%,transparent 54%),repeating-linear-gradient(165deg,#f1ede4 0 23px,#e6e0d3 24px 28px); }
.theme-v5 .v5-map-link, .theme-v5 .v5-post, .theme-v5 .clinic-overview__card { transition: transform .2s,border-color .2s; }
.theme-v5 :is(.v5-map-link,.v5-post,.clinic-overview__card):hover { transform: translateY(-2px); border-color: #bfe3ee; text-decoration: none; }
.theme-v5 .v5-text-link, .theme-v5 .v5-local-link { color: var(--v5-link); font: 600 14.5px/1.5 Poppins,sans-serif; text-decoration: none; }
.theme-v5 .v5-text-link:hover { color: var(--v5-ink); }
.theme-v5 .v5-blog { background: var(--v5-blue); }
.theme-v5 .v5-blog-grid { grid-template-columns: repeat(auto-fit,minmax(min(360px,100%),1fr)); }
.theme-v5 .v5-post { display: flex; background: white; border: 1px solid #d5ecf3; border-radius: 28px; overflow: hidden; }
.theme-v5 .v5-post > img { width: 180px; max-width: 36%; object-fit: cover; }
.theme-v5 .v5-post > div { min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 24px 26px; }
.theme-v5 .v5-post time { font-size: 13px; color: #5d6e71; }
.theme-v5 .v5-post h3 { font: 600 18px/1.35 Poppins,sans-serif; letter-spacing: normal; }
.theme-v5 .v5-post p { margin: 0; color: #4c5d60; font: 400 14.5px/1.6 Poppins,sans-serif; }
.theme-v5 .v5-post .v5-text-link { margin-top: auto; }
.theme-v5 .clinic-overview__intro { display: grid; grid-template-columns: 1fr 1.4fr; align-items: start; gap: 20px 64px; max-width: none; }
.theme-v5 .clinic-overview__intro > div { color: #4c5d60; font: 400 17px/1.75 Poppins,sans-serif; }
.theme-v5 .clinic-overview__grid { grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); margin-top: 44px; gap: 16px; }
.theme-v5 .clinic-overview__card { position: relative; display: flex; flex-direction: column; align-items: start; padding: 26px 26px 24px; }
.theme-v5 .clinic-overview__card h3 { color: var(--v5-ink); font: 600 19px/1.35 Poppins,sans-serif; }
.theme-v5 .clinic-overview__card h3 a { color: inherit; text-decoration: none; }
.theme-v5 .clinic-overview__card p { font-size: 15px; line-height: 1.7; }
.theme-v5 .v5-area { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--v5-sand); border-radius: 24px; padding: 24px 28px; margin-top: 24px; }
.theme-v5 .v5-area p { margin: 0; color: #4c5d60; font-size: 15.5px; }
.theme-v5 .v5-area a { flex: none; }
.theme-v5 .footer__contener { column-gap: 48px; row-gap: 40px; }
.theme-v5 .footer__contener > .v5-footer-identity { min-width: 0; padding-bottom: 40px; }
.theme-v5 .v5-footer-contact { display: grid; gap: 20px; color: #cfe7ee; font-size: 15px; line-height: 1.65; }
.theme-v5 .v5-footer-contact p { margin: 0; }
.theme-v5 .v5-footer-contact > a { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.theme-v5 .v5-footer-hours { display: grid; gap: 6px; margin-top: 4px; font-size: 13px; line-height: 1.7; }
.theme-v5 .footer a.v5-footer-phone[href^="tel:"] { color: white; font-size: 26px; font-weight: 700; }
.theme-v5 .v5-footer-contact small, .theme-v5 .footer-credits { color: #a9cbd5; }
.theme-v5 .footer__contener__header { font: 600 13px/1.4 Poppins,sans-serif; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.theme-v5 .footer__contener__menu :is(a,.dc-consent-menu-button) { display: inline-block; font: inherit; font-size: 14.5px; color: #e2f2f6; padding-block: 4px; }
.theme-v5 .footer :is(a,.dc-consent-menu-button):hover { color: white; }
.theme-v5 .footer-credits { margin-top: 56px; padding-top: 20px; border-top: 1px solid #295866; font-size: 13px; }
@media (min-width: 768px) {
    .theme-v5 .v5-hero-copy { padding: 88px 0 104px; }
    .theme-v5 .v5-portrait { height: 663px; grid-template-rows: minmax(0, 1fr); align-self: end; }
    .theme-v5 .v5-portrait img { height: min(640px, calc(54vw - 16px), 100%); user-select: none; -webkit-user-drag: none; }
    .theme-v5 .v5-signature { bottom: 110px; }
    .theme-v5 .v5-reasons > div { gap: 20px 40px; padding-block: 64px 24px; }
    .theme-v5 .v5-visit .v5-section, .theme-v5 .v5-blog .v5-section { padding-block: 88px; }
    .theme-v5 .v5-reviews .v5-section { padding-block: 88px 96px; }
    .theme-v5 .v5-section:has(> .v5-doctor) { padding-block: 96px; }
    .theme-v5 .clinic-overview { padding-block: 96px 88px; }
}
@media (min-width: 1024px) {
    .theme-v5 .footer__contener { grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .theme-v5 .footer__contener { grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(0, 1fr)) auto; }
}
@media (max-width: 767.98px) {
    .theme-v5.mobile-home > footer.footer { padding-top: 40px; }
    .theme-v5.mobile-home .footer__contener > .v5-footer-identity { padding-bottom: 36px; }
    .theme-v5 .v5-section h2, .theme-v5 .clinic-overview__intro h2 { font-size: 28px; }
    .theme-v5 .v5-heading, .theme-v5 .v5-area { align-items: flex-start; }
    .theme-v5 .v5-offer-content .v5-heading { display: grid; grid-template-columns: 1fr auto; }
    .theme-v5 .v5-offer-content .v5-heading p { grid-column: 1/-1; }
    .theme-v5 .v5-offer-row { height: auto; min-height: 96px; grid-template-columns: 40px minmax(0,1fr) 22px; padding: 12px; gap: 8px; }
    .theme-v5 .v5-offer-row .v5-icon { width: 38px; height: 38px; }
    .theme-v5 .v5-offer-row .v5-arrow { grid-column: 3; grid-row: 1; width: 24px; height: 24px; }
    .theme-v5 .v5-offer-row .v5-number { display: none; }
    .theme-v5 .v5-offer-row .v5-category-link { font-size: 16px; }
    .theme-v5 .v5-summary { grid-column: 1/-1; }
    .theme-v5 .v5-smile .v5-split { display: block; }
    .theme-v5 .v5-split > img { height: 260px; min-height: 0; }
    .theme-v5 .v5-split > div { padding: 30px 20px 40px; }
    .theme-v5 .v5-smile h2 { font-size: 32px; }
    .theme-v5 .v5-doctor { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
    .theme-v5 .v5-bio, .theme-v5 .clinic-overview__intro { grid-template-columns: 1fr; gap: 14px; }
    .theme-v5 .v5-bio.mh-folded { display: none; }
    .theme-v5 .v5-quote { font-size: 24px; }
    .theme-v5 .v5-area { flex-direction: column; }
    .theme-v5.mobile-home .clinic-overview__grid { display: grid; }
    .theme-v5 .v5-post > div { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-v5 :is(.v5-btn,.v5-chips a,.v5-post,.v5-map-link,.clinic-overview__card):hover { transform: none; }
}

/* Hero bez zdjęcia (cennik, usuwanie zębów): to samo białe tło i krój co pozostałe strony usług; oliwkowy łuk zastępuje zdjęcie. Kolory sekcji ustala wspólna reguła w CMS (ops/staging-copy/20261110-1100-spojne-strony-uslug.php). */
.theme-v5 .service-content .sc-hero.sc-light:not(:has(.sc-hero-image)),
.theme-v5 .ab-hero:has(.ab-hero-text) { position: relative; overflow: hidden; padding: 88px 0 80px; }
.theme-v5 .service-content .sc-hero.sc-light:not(:has(.sc-hero-image))::after,
.theme-v5 .ab-hero:has(.ab-hero-text)::after {
    content: ""; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; border-radius: 50%;
    transform: translateY(-50%); border: 64px solid #859c8826; pointer-events: none;
}
.theme-v5 .service-content .sc-hero.sc-light:not(:has(.sc-hero-image)) .sc-container,
.theme-v5 .ab-hero .ab-container { position: relative; z-index: 1; }
.theme-v5 .service-content .sc-hero.sc-light:not(:has(.sc-hero-image)) .sc-hero-copy { max-width: 760px; padding: 0; }

.theme-v5 .about-page { --ab-ink: var(--v5-ink); --ab-line: var(--v5-line); --ab-soft: var(--v5-sand); }
.theme-v5 .about-page .ab-hero-text .ab-hero-copy { max-width: 760px; }
.theme-v5 .about-page .ab-title { text-wrap: balance; }
.theme-v5 .about-page .ab-title .sc-highlight { display: inline; margin: 0; }
.theme-v5 .about-page .ab-intro { max-width: 68ch; }
.theme-v5 .about-page .ab-button {
    min-height: 54px; padding-inline: 24px; border-width: 1px; font-weight: 600; letter-spacing: normal;
}
.theme-v5 .about-page .ab-button-primary { background: var(--v5-accent); border-color: var(--v5-accent); color: #062b33; }
.theme-v5 .about-page .ab-button-primary:hover { background: #a9eaf9; border-color: #a9eaf9; }
.theme-v5 .about-page .ab-dark { background: #0f3a45; }
.theme-v5 .about-page .ab-dark :is(.sc-highlight,.v5-title-accent) { color: #c1f2fa; }
.theme-v5 .about-page .ab-cta.ab-soft { background: var(--v5-blue); }
.theme-v5 .about-page .ab-contact .ab-buttons { max-width: none; }
.theme-v5 .about-page .ab-team-card { border-radius: 24px; padding: clamp(24px, 2.5vw, 36px); }
.theme-v5 .about-page .ab-team-role { color: var(--v5-link); font-weight: 600; }
.theme-v5 .about-page .ab-team-card h3 { margin-bottom: 43px; } /* jeden wiersz tekstu (28,8 px) więcej niż wcześniej */
/* Symetria: od kart do opinii tyle samo co od opinii do końca tła sekcji. */
.theme-v5 .about-page .ab-team .ab-team-grid { margin-bottom: 78px; }
@media (max-width: 900px) { .theme-v5 .about-page .ab-team .ab-team-grid { margin-bottom: 60px; } }
.theme-v5 .about-page .ab-team-quote { border-color: var(--v5-accent); }
.theme-v5 .about-page .ab-team-quote blockquote { font: italic 400 clamp(22px, 2vw, 30px)/1.4 Fraunces, Georgia, serif; }
.theme-v5 .about-page .ab-services a { min-height: 48px; font-size: 15px; font-weight: 500; }
@media (min-width: 1050px) {
    .theme-v5 .about-page .ab-team-card:has(img) {
        display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: start; gap: 22px;
    }
    .theme-v5 .about-page .ab-team-card img { width: 116px; height: 145px; margin: 0; }
}

.theme-v5 .name-top.v5-patient-heading { height: auto; min-height: 0; padding: 0; background: #fff; border: 0; }
.theme-v5 .v5-patient-heading .name-top__content { position: static; height: auto; box-sizing: border-box; width: min(calc(100% - 48px), 1200px); margin: 0 auto; padding: 40px 0 24px; display: block; text-align: left; }
.theme-v5 .v5-patient-heading h1 { margin: 0; padding: 0; color: var(--v5-ink); font: 600 clamp(38px, 4vw, 58px)/1.12 Poppins,sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.theme-v5 .v5-patient-heading h1::after { display: none; }
.theme-v5 .v5-patient-heading .youarein__content { font-weight: 400; }
.theme-v5 .multicontent__faq__name:has(.v5-title-accent) { text-decoration: none; }

@supports (grid-template-rows: subgrid) {
    .theme-v5 .sc-grid > a.sc-related { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-items: start; }
}

/*
 * Jeden nagłówek podstrony (komputer): okruszki 40 px pod menu na każdej stronie, potem nadtytuł, H1, wstęp.
 * Hero usług nie centruje już tekstu w pionie (przez to okruszki skakały między 162 a 256 px), a zdjęcie
 * zaczyna się na wysokości okruszków. Blog, FAQ, porady i dokumenty mają ten sam układ co usługi.
 */
.theme-v5 .service-content > .sc-section:has(.sc-hero-copy h1),
.theme-v5 .service-content .sc-hero.sc-light:not(:has(.sc-hero-image)),
.theme-v5 .ab-hero:has(h1), .theme-v5 .ab-hero:has(.ab-hero-text) { padding-top: 40px; }
.theme-v5 .service-content .sc-hero-copy:has(> h1) { padding-top: 0; justify-content: flex-start; }
.theme-v5 .service-content :is(.sc-hero-grid,.pp-aftercare-grid,.pp-contact-grid):has(h1),
.theme-v5 .about-page .ab-hero-grid:has(h1) { align-items: start; }
.theme-v5 .about-page .ab-hero .ab-eyebrow { margin-bottom: 14px; }
.theme-v5 .v5-patient-heading .name-top__content { padding: 40px 0 32px; }
.theme-v5 .v5-patient-heading .v5-heading-eyebrow {
    margin: 0 0 14px; color: var(--v5-ink); font: 600 13px/1.65 Poppins,sans-serif; letter-spacing: 1.7px; text-transform: uppercase;
}
.theme-v5 .v5-patient-heading h1 { font-size: clamp(38px, 4.1vw, 58px); letter-spacing: -2px; }
.theme-v5 .v5-patient-heading .v5-heading-intro { max-width: 68ch; margin: 24px 0 0; color: #4c5d60; font: 400 17px/1.8 Poppins,sans-serif; }
.theme-v5 .v5-article-heading .name-top__content__date { margin-top: 24px; }
.theme-v5 .about-page .ab-hero .ab-title { margin-bottom: 24px; }

/* Stopka: prawa zastrzeżone nad linią, po prawej. */
.theme-v5 .footer-copyright { max-width: 1200px; margin: 56px auto 0; color: #a9cbd5; font-size: 13px; line-height: 1.5; text-align: right; }
.theme-v5 .footer-copyright + .footer-credits { margin-top: 14px; }
@media (max-width: 1248px) { .theme-v5 .footer-copyright { margin-inline: 24px; } }
/* Portrety lekarki i zespołu: bez zapisu z menu, przeciągania i menu długiego przytrzymania. */
.dc-protected-photo { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }

/* Strona główna, oferta: wyśrodkowany nagłówek bez akapitu obok. */
.theme-v5 .v5-offer-content .v5-offer-label { text-align: center; }
.theme-v5 .v5-offer-content .v5-heading.v5-offer-heading { display: block; text-align: center; }
/* Boksy obok lekarki: więcej oddechu między wierszami. */
.theme-v5 .v5-facts strong { display: block; line-height: 1.4; }
.theme-v5 .v5-facts strong em { margin-top: 4px; line-height: 1.35; }
.theme-v5 .v5-facts small { margin-top: 8px; line-height: 1.55; }
/* Hero: na pełnej szerokości zdjęcie lekarki 15 px niżej (dół przycina sekcja). Węższe ekrany: zdjęcie jest
   mniejsze (54vw) i przyklejone do dołu wysokiej kolumny, więc podnosimy je o połowę brakującej wysokości. */
@media (min-width: 1215px) { .theme-v5 .v5-portrait img { top: 15px; } }
@media (min-width: 768px) and (max-width: 1214.98px) { .theme-v5 .v5-portrait img { top: calc((54vw - 656px) / 2); } }

/* Strony usług: kursywa nagłówka sekcji zawsze w drugim wierszu (na TEST wszystkie 218 akcentów kończą nagłówek). */
.theme-v5 .service-content h2 :is(.sc-highlight,.v5-title-accent) { display: block; }
/* Sekcje tekstowe: nagłówek po lewej, tekst po prawej, wygodna długość wiersza. */
@media (min-width: 1024px) {
    .theme-v5 .service-content .sc-text > .sc-container { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1.75fr); gap: 24px 64px; align-items: start; }
    .theme-v5 .service-content .sc-text > .sc-container > .sc-section-header { max-width: none; margin-bottom: 0; }
    .theme-v5 .service-content .sc-text > .sc-container > .sc-legacy { max-width: 72ch; padding-top: 34px; }
}

/* Bez pojedynczych słów w ostatnim wierszu: szersze nagłówki sekcji (wstęp mieści się w linii) i text-wrap: pretty. */
.theme-v5 .service-content .sc-section-header { max-width: 960px; }
.theme-v5 :is(main,.service-content,.about-page,.footer) :is(p,li,dd,blockquote) { text-wrap: pretty; }
.theme-v5 .service-content :is(.sc-card,.sc-related,.sc-notice) p,
body .dc-consent-banner p { text-wrap: balance; }

/* Sekcje „Warto wiedzieć” na jasnym tle: karta informacyjna zlewała się z tłem. Biała karta jak ostrzeżenie obok, turkusowe obramowanie i ikony. */
.theme-v5 .service-content .sc-soft .sc-info { background: #fff; border: 1px solid #cfe5eb; }
.theme-v5 .service-content .sc-soft .sc-info li > span { background: #e3f3f7; color: #165566; }
