/* Profile layout follows the approved white variant. Global kit remains authoritative. */
body.szc-doctor-profile .elementor .e-con.szc-profile {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding: 28px 32px 48px;
    color: var(--e-global-color-text, #50595f);
    font-family: var(--e-global-typography-text-font-family, Inter), sans-serif;
    --widgets-spacing: 0px 0px;
}
.szc-profile *, .szc-profile *::before, .szc-profile *::after { box-sizing: border-box; }
body.szc-doctor-profile .elementor .szc-profile .elementor-widget, body.szc-doctor-profile .elementor .szc-profile .e-con { min-width: 0; }
body.szc-doctor-profile .elementor .szc-profile .elementor-widget { margin-bottom: 0; }
.szc-profile p { margin: 0 0 12px; }
.szc-profile p:last-child { margin-bottom: 0; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; padding: 0 0 20px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb .elementor-widget { width: auto; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb svg { width: 16px; height: 16px; vertical-align: middle; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb .szc-profile-breadcrumb-angle { width: 10px; height: 16px; transform: rotate(-90deg); fill: currentColor; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb-current { overflow-wrap: anywhere; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb a { color: var(--e-global-color-text, #50595f); }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb span { margin-inline: 8px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-notice { font-size: 13px; line-height: 1.4; margin-bottom: 16px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-columns {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr);
    align-items: start;
    gap: 24px;
    padding: 0;
    width: 100%;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-main, body.szc-doctor-profile .elementor .szc-profile .szc-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 0;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-section, body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity,
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc, body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs {
    background: var(--e-global-color-9d6aead, #fff);
    border: 1px solid var(--e-global-color-c260a02, #f2f4f6);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(34, 34, 34, .065);
    width: 100%;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-section { padding: 28px; gap: 16px; scroll-margin-top: 112px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-section-title .elementor-heading-title { margin: 0; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px;
    gap: 28px;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait { flex: 0 0 34%; width: 34%; max-width: 220px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait img {
    display: block;
    width: 100%;
    height: 248px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait:not(:has(img)) { display: none; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity-copy { flex: 1 1 0; width: auto; padding: 30px 0 0; gap: 12px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-title, body.szc-doctor-profile .elementor .szc-profile .szc-profile-profession { font-size: 18px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-name .elementor-heading-title {
    font-size: clamp(28px, 2.4vw, 36px);
    line-height: 1.08;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-share {
    position: absolute;
    right: 22px;
    top: 18px;
    background: transparent;
    border: 0;
    padding: 4px;
    color: var(--e-global-color-text, #50595f);
    font: inherit;
    font-size: 13px;
    cursor: default;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs { padding: 0 20px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs, body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs nav {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs nav::-webkit-scrollbar { display: none; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 12px 12px;
    border-bottom: 3px solid transparent;
    color: var(--e-global-color-primary, #222);
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs a[aria-current="true"],
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs a[aria-current="location"] {
    border-bottom-color: var(--e-global-color-accent, #0a918f);
    font-weight: 700;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc { padding: 26px 24px; gap: 20px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc nav { display: grid; gap: 12px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc a { color: var(--e-global-color-text, #50595f); text-decoration: none; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc a[aria-current] { color: var(--e-global-color-primary, #222); font-weight: 700; }
.szc-profile a:focus-visible, .szc-profile button:focus-visible, .szc-profile-section:focus-visible {
    outline: 2px solid var(--e-global-color-primary, #222);
    outline-offset: 4px;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 48px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--e-global-color-ab08009, #bec2c6);
    border-radius: 0;
    background: transparent;
    color: var(--e-global-color-primary, #222);
    font: inherit;
    text-align: left;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-row-label { flex: 1; font-weight: 600; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-row-note { color: var(--e-global-color-text, #50595f); font-size: 14px; font-weight: 400; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-row::after {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 18px;
    background: currentColor;
    /* Font Awesome Free angle-down, reused from the site's menu. Icons: CC BY 4.0. */
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-row:disabled, body.szc-doctor-profile .elementor .szc-profile .szc-profile-disabled-link:disabled,
body.szc-doctor-profile .elementor .szc-profile .szc-profile-share:disabled { opacity: 1; cursor: default; filter: none; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-disabled-link {
    display: inline-block;
    width: auto;
    min-height: 44px;
    padding: 10px 0;
    background: transparent;
    color: var(--e-global-color-text, #50595f);
    border: 0;
    border-radius: 0;
    font: inherit;
    font-weight: 600;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-badge {
    display: inline-block;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--e-global-color-6a53256, #f1f5f9);
    color: var(--e-global-color-text, #50595f);
    font-size: 12px;
    line-height: 1.4;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-map {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 168px;
    padding: 24px;
    border-radius: 12px;
    background: var(--e-global-color-6a53256, #f1f5f9);
    color: var(--e-global-color-text, #50595f);
    text-align: center;
}
body.szc-doctor-profile .elementor .szc-profile .szc-profile-map svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.5; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-inline-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-external-card { padding: 20px; border: 1px solid var(--e-global-color-ab08009, #bec2c6); border-radius: 12px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-external-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--e-global-color-primary, #222); }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-external-card p { font-size: 14px; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-disabled-note { display: block; color: var(--e-global-color-text, #50595f); font-size: 12px; line-height: 1.5; }
body.szc-doctor-profile .elementor .szc-profile .elementor-widget-text-editor { overflow-wrap: anywhere; }
body.szc-doctor-profile:not(.szc-doctor-demo) .szc-profile-demo-section,
body.szc-doctor-profile:not(.szc-doctor-demo) .szc-profile [data-demo-section] { display: none; }
body.szc-doctor-profile:not(.szc-doctor-demo):not(.szc-doctor-has-intro) .szc-profile #o-lekarzu { display: none; }
.szc-profile [hidden] { display: none; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs a[hidden],
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs[hidden],
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc[hidden],
body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc li[hidden],
body.szc-doctor-profile:not(.szc-doctor-demo) .elementor .szc-profile .szc-profile-tabs a[data-demo-section],
body.szc-doctor-profile:not(.szc-doctor-demo) .elementor .szc-profile .szc-profile-toc a[data-demo-section] { display: none; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs-widget:has(.szc-profile-tabs[hidden]) { display: none; }
@media (min-width: 1025px) and (min-height: 820px) {
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-sidebar { position: sticky; top: var(--szc-profile-sticky-top, 144px); align-self: start; max-height: calc(100vh - var(--szc-profile-sticky-top, 144px) - 16px); overflow-y: auto; scrollbar-width: thin; padding: 12px; margin: -12px; width: calc(100% + 24px); }
}
@media (max-width: 1024px) {
    body.szc-doctor-profile .elementor .e-con.szc-profile { padding-bottom: 106px; padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-columns { grid-template-columns: minmax(0, 1fr); }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-sidebar { display: contents; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-toc { display: none; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait { flex-basis: 30%; max-width: 220px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs-widget { position: sticky; top: 46px; z-index: 10; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-section { scroll-margin-top: 128px; }
}
@media (max-width: 767px) {
    body.szc-doctor-profile .elementor .e-con.szc-profile { padding: 20px 20px calc(102px + env(safe-area-inset-bottom, 0px)); }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-main { gap: 20px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-breadcrumb { padding-bottom: 16px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-section { padding: 22px 20px; gap: 14px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-section, body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity, body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs { box-shadow: 0 3px 14px rgba(34, 34, 34, .055); }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity { padding: 18px 16px; gap: 16px; align-items: center; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait { flex: 0 0 38%; width: 38%; max-width: 140px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait img { height: 180px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity-copy { padding: 0; gap: 10px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-name .elementor-heading-title { font-size: clamp(22px, 6.8vw, 28px); line-height: 1.08; letter-spacing: -.035em; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-title, body.szc-doctor-profile .elementor .szc-profile .szc-profile-profession { font-size: 16px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-share { display: none; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs-widget { top: 0; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs { padding: 0 10px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs nav { gap: 4px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs a { min-height: 54px; padding-inline: 10px; font-size: 15px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-row { gap: 10px; flex-wrap: wrap; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-row-note { font-size: 13px; }
    .szc-profile #uslugi .szc-profile-row::after { transform: rotate(-90deg); }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-map { min-height: 148px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-inline-cards { grid-template-columns: minmax(0, 1fr); }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-section { scroll-margin-top: 100px; }
}
@media (max-width: 360px) {
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-identity { gap: 12px; padding: 16px 14px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait { flex-basis: 34%; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-portrait img { height: 150px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs { padding-inline: 4px; }
    body.szc-doctor-profile .elementor .szc-profile .szc-profile-tabs a { padding-inline: 8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    body.szc-doctor-profile .elementor .e-con.szc-profile { scroll-behavior: auto; }
    .szc-profile a { transition: none; }
}

body.szc-doctor-profile .elementor .szc-profile .szc-profile-share-widget { position:absolute; right:22px; top:18px; width:auto; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-share-widget .szc-profile-share { position:static; }
body.szc-doctor-profile .elementor .szc-profile .szc-profile-share-widget .szc-profile-disabled-note { display:none; }
@media(max-width:767px) { body.szc-doctor-profile .elementor .szc-profile .szc-profile-share-widget { display:none; } }
/* Optional native Elementor cards follow the current doctor's saved data. */
body.szc-doctor-profile:not(.szc-doctor-has-services) .elementor .szc-profile-section--services,
body.szc-doctor-profile:not(.szc-doctor-has-places) .elementor .szc-profile-section--places,
body.szc-doctor-profile:not(.szc-doctor-has-external) .elementor .szc-profile-section--external,
body.szc-doctor-profile:not(.szc-doctor-has-faq) .elementor .szc-profile-section--faq {
    display: none;
}
.szc-doctor-contact-dialog .szc-profile-copy {
    border: 0;
    background: transparent;
    color: #1A2110;
    padding: 8px 0;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.szc-doctor-contact-dialog .szc-profile-copy:hover,
.szc-doctor-contact-dialog .szc-profile-copy:focus-visible {
    color: #066B69;
    background: transparent;
}
.szc-doctor-contact-dialog .szc-profile-copy-status { font-size: 13px; }
