/* Psychiatra Bydgoszcz Site Care
   Warstwa estetyczna dla stron: Start oraz Leczenie zaburzeń.
*/

.home-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.home-primary-action,
.home-secondary-action,
.choice-buttons a {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.home-primary-action,
.choice-buttons a:first-child {
    background: #3d9c00;
    border: 1px solid #3d9c00;
    color: #fff !important;
    font-weight: 700;
}

.home-secondary-action,
.choice-buttons a:last-child {
    background: transparent;
    border: 1px solid rgba(29, 64, 53, .32);
    color: #1d4035 !important;
    font-weight: 700;
}

.home-primary-action:hover,
.home-secondary-action:hover,
.choice-buttons a:hover {
    transform: translateY(-1px);
}

.home-treatment-list {
    display: grid;
    gap: 10px 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
}

.home-treatment-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.home-treatment-list a {
    align-items: center;
    color: #344238 !important;
    display: flex;
    font-size: 1.02rem;
    line-height: 1.35;
    min-height: 34px;
    padding-left: 22px;
    position: relative;
    text-decoration: none !important;
}

.home-treatment-list a::before {
    color: #3d9c00;
    content: "›";
    font-size: 1.45em;
    left: 0;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-52%);
}

.home-treatment-list a:hover {
    color: #1d4035 !important;
    text-decoration: underline !important;
}

.treatment-guide {
    color: #344238;
    margin: 0 auto;
}

.treatment-guide *,
.treatment-guide *::before,
.treatment-guide *::after {
    box-sizing: border-box;
}

.treatment-guide h2,
.treatment-guide h3 {
    color: #1d4035;
}

.section-kicker {
    color: #3d9c00 !important;
    font-size: .82rem !important;
    font-weight: 700;
    letter-spacing: .05em;
    margin: 0 0 12px !important;
    text-transform: uppercase;
}

.treatment-intro {
    background: #f3f7f4;
    border-left: 5px solid #3d9c00;
    margin: 22px 0 28px;
    padding: 34px 40px;
}

.treatment-intro h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
    margin: 0 0 22px;
}

.treatment-intro p:not(.section-kicker) {
    font-size: 1.08rem;
    line-height: 1.68;
    max-width: 980px;
}

.treatment-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0 48px;
}

.treatment-grid article {
    background: linear-gradient(135deg, #fff 0%, #f7faf7 100%);
    border: 1px solid #d9e1dc;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(29, 64, 53, .06);
    min-height: 105px;
    overflow: hidden;
    padding: 20px 52px 18px 24px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.treatment-grid article::before {
    background: #3d9c00;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    transition: width .3s ease;
    width: 72px;
}

.treatment-grid article::after {
    color: #3d9c00;
    content: "→";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1;
    position: absolute;
    right: 22px;
    top: 22px;
    transition: transform .25s ease;
}

.treatment-grid article:hover {
    border-color: #b9c9be;
    box-shadow: 0 15px 34px rgba(29, 64, 53, .12);
    transform: translateY(-3px);
}

.treatment-grid article:hover::before {
    width: 100%;
}

.treatment-grid article:hover::after {
    transform: translateX(5px);
}

.treatment-grid h3 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 8px;
    padding: 0;
}

.treatment-grid h3 a {
    color: #1d4035 !important;
    text-decoration: none !important;
}

.treatment-grid h3 a::after {
    content: "";
    inset: 0;
    position: absolute;
}

.treatment-grid p {
    color: #59645f;
    font-size: .94rem;
    line-height: 1.45;
    margin: 0;
    position: relative;
    z-index: 1;
}

.information-grid,
.psy-closing-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 52px 0;
}

.information-grid section,
.psy-closing-grid section,
.consultation-choice {
    background: #fff;
    border: 1px solid #d9e1dc;
    padding: 32px 36px;
}

.information-grid h2,
.psy-closing-grid h2,
.consultation-choice h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.18;
    margin-top: 0;
}

.information-grid p,
.information-grid li,
.psy-closing-grid p,
.psy-closing-grid li,
.consultation-choice p {
    font-size: 1.02rem;
    line-height: 1.65;
}

.crisis-notice {
    background: #f2eee9;
    border-left: 4px solid #8b735b;
    color: #312d28;
    margin: 44px 0;
    padding: 22px 26px;
}

.crisis-notice p {
    font-size: 1.02rem;
    line-height: 1.62;
    margin: 0;
}

.consultation-choice {
    background: #f3f7f4;
    margin: 50px 0;
}

.choice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.psy-closing-grid details {
    border-bottom: 1px solid #d9e1dc;
    padding: 13px 0;
}

.psy-closing-grid summary {
    color: #1d4035;
    cursor: pointer;
    font-weight: 700;
}

.last-updated {
    color: #79837d !important;
    font-size: .92rem !important;
}

/* Strona „Dla pacjenta” korzysta z treści zapisanej w edytorze WordPressa. */
.patient-guide {
    color: #344238;
    margin: 0 auto;
}

.patient-guide *,
.patient-guide *::before,
.patient-guide *::after {
    box-sizing: border-box;
}

.patient-guide > section > h2 {
    color: #1d4035;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.2;
    margin: 42px 0 18px;
}

.patient-grid {
    align-items: stretch;
    margin-top: 22px;
}

.patient-grid article {
    height: 100%;
}

.patient-grid article:focus-within {
    outline: 3px solid rgba(61, 156, 0, .28);
    outline-offset: 3px;
}

.patient-note {
    background: #f2eee9;
    border-left: 4px solid #8b735b;
    margin: 46px 0 12px;
    padding: 30px 34px;
}

.patient-note h2 {
    color: #1d4035;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    line-height: 1.2;
    margin: 0 0 18px;
}

.patient-note p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.patient-note p:last-child {
    margin-bottom: 0;
}

/* Stabilny hub „Dla pacjenta” – niezależny od niepełnej kopii treści w bazie. */
.psy-patient-hub,
.psy-patient-hub *,
.psy-patient-hub *::before,
.psy-patient-hub *::after {
    box-sizing: border-box;
}

.psy-patient-intro {
    background: #f3f7f4;
    border-left: 5px solid #3d9c00;
    margin: 20px 0 34px;
    padding: 30px 34px;
}

.psy-patient-intro h2,
.psy-patient-hub > section > h2,
.psy-patient-note h2 {
    color: #1d4035;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.2;
}

.psy-patient-intro h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    margin: 0 0 14px;
}

.psy-patient-intro > p:not(.section-kicker) {
    max-width: 920px;
}

.psy-patient-intro__actions,
.psy-patient-note > p:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0 !important;
}

.psy-patient-intro__actions a,
.psy-patient-note > p:last-child a {
    align-items: center;
    border: 1px solid #bfcfc5;
    color: #1d4035 !important;
    display: inline-flex;
    font-weight: 700;
    min-height: 46px;
    padding: 10px 17px;
    text-decoration: none !important;
}

.psy-patient-intro__actions a:first-child {
    background: #3d9c00;
    border-color: #3d9c00;
    color: #fff !important;
}

.psy-patient-hub > section > h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    margin: 0 0 20px;
}

.psy-patient-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psy-patient-card {
    background: linear-gradient(135deg, #fff 0%, #f7faf7 100%);
    border: 1px solid #d9e1dc;
    border-top: 4px solid #4b9e00;
    min-height: 126px;
    padding: 22px 24px;
    position: relative;
}

.psy-patient-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2vw, 1.36rem);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 9px;
}

.psy-patient-card h3 a {
    color: #1d4035;
    text-decoration: none;
}

.psy-patient-card h3 a::after {
    content: "";
    inset: 0;
    position: absolute;
}

.psy-patient-card p {
    color: #59645f;
    font-size: .94rem;
    line-height: 1.48;
    margin: 0;
    position: relative;
}

.psy-patient-note {
    background: #f2eee9;
    border-left: 4px solid #8b735b;
    margin: 34px 0 0;
    padding: 24px 28px;
}

.psy-patient-note h2 {
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
    margin: 0 0 10px;
}

/* Kontakt: treść pozostaje w edytorze, wtyczka odpowiada za stabilny układ. */
.psy-contact-page {
    color: #344238;
    margin: 0 auto;
    width: 100%;
}

.psy-contact-page *,
.psy-contact-page *::before,
.psy-contact-page *::after {
    box-sizing: border-box;
}

.psy-contact-intro {
    background: #f3f7f4;
    border-left: 5px solid #3d9c00;
    margin: 22px 0 30px;
    padding: 32px 38px;
}

.psy-contact-intro h2 {
    color: #1d4035;
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    line-height: 1.18;
    margin: 0 0 16px;
}

.psy-contact-intro p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
    max-width: 900px;
}

.psy-contact-details {
    align-items: stretch;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 30px;
}

.psy-contact-card {
    background: linear-gradient(135deg, #fff 0%, #f7faf7 100%);
    border: 1px solid #d9e1dc;
    border-top: 5px solid #3d9c00;
    min-width: 0;
    padding: 26px 28px;
}

.psy-contact-card h2 {
    color: #1d4035;
    font-size: 1.55rem;
    line-height: 1.22;
    margin: 0 0 20px;
}

.psy-contact-card p,
.psy-contact-card address,
.psy-contact-card li {
    font-size: .98rem;
    line-height: 1.55;
}

.psy-contact-card address {
    font-style: normal;
}

.psy-contact-primary {
    align-items: center;
    background: #3d9c00;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
    min-height: 48px;
    padding: 10px 18px;
    text-decoration: none !important;
}

.psy-contact-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.psy-contact-hours {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.psy-contact-hours li {
    border-bottom: 1px solid #e1e7e3;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0 !important;
    padding: 8px 0 !important;
}

.psy-contact-hours li:last-child {
    border-bottom: 0;
}

.psy-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
}

.psy-location-layout {
    align-items: stretch;
    display: grid !important;
    gap: 24px;
    grid-template-columns: minmax(280px, 30%) minmax(0, 70%) !important;
    margin: 34px 0 46px;
}

.psy-booking-panel,
.psy-map-panel {
    background: #f3f7f4;
    border: 1px solid #d9e1dc;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 28px;
}

.psy-booking-panel h2,
.psy-map-panel h2 {
    color: #1d4035;
    font-size: 1.65rem;
    line-height: 1.22;
    margin: 0 0 12px;
}

.psy-booking-panel > p,
.psy-map-heading p {
    font-size: .98rem;
    line-height: 1.55;
}

.psy-booking-widget {
    align-items: flex-start;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 430px;
    overflow: visible;
    padding-top: 12px;
    width: 100%;
}

.psy-booking-widget > * {
    max-width: 100% !important;
}

.psy-map-heading {
    flex: 0 0 auto;
}

.psy-map-wrapper {
    flex: 1 1 auto;
    min-height: 420px;
    overflow: hidden;
    width: 100%;
}

.psy-map-wrapper iframe {
    border: 0;
    display: block;
    height: 100% !important;
    min-height: 420px;
    width: 100% !important;
}

.psy-contact-page .psy-map-actions {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 18px 0 0 !important;
    width: 100% !important;
}

.psy-contact-page .psy-map-actions a.psy-map-button,
.psy-contact-page .psy-map-actions a.psy-map-button.secondary {
    align-items: center;
    display: flex !important;
    font-size: .98rem;
    justify-content: center;
    line-height: 1.35;
    margin: 0 !important;
    min-height: 72px;
    padding: 15px 18px !important;
    text-align: center;
    text-decoration: none !important;
    width: 100% !important;
}

.psy-contact-page .psy-map-actions a.psy-map-button {
    background: #1d4035 !important;
    border: 1px solid #1d4035 !important;
    color: #fff !important;
}

.psy-contact-page .psy-map-actions a.psy-map-button.secondary {
    background: #fff !important;
    border: 1px solid #bdcbc2 !important;
    color: #1d4035 !important;
}

.psy-contact-summary {
    align-items: stretch;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 34px;
}

.psy-contact-summary section {
    border: 1px solid #d9e1dc;
    padding: 28px 32px;
}

.psy-contact-summary h2 {
    color: #1d4035;
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 0 0 16px;
}

.psy-contact-summary p {
    font-size: .98rem;
    line-height: 1.6;
    margin: 0;
}

.psy-privacy-note {
    background: #f2eee9;
    border-left: 4px solid #8b735b;
    margin: 0 0 18px;
    padding: 22px 26px;
}

.psy-privacy-note p {
    font-size: .92rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1050px) {
    .psy-location-layout {
        grid-template-columns: minmax(260px, 36%) minmax(0, 64%) !important;
    }
}

@media (max-width: 900px) {
    .home-treatment-list,
    .treatment-grid,
    .information-grid,
    .psy-closing-grid {
        grid-template-columns: 1fr;
    }

    .treatment-intro,
    .information-grid section,
    .psy-closing-grid section,
    .consultation-choice {
        padding: 26px 22px;
    }

    .patient-note {
        padding: 24px 22px;
    }

    .psy-contact-details,
    .psy-location-layout,
    .psy-contact-summary {
        grid-template-columns: 1fr !important;
    }

    .psy-contact-intro,
    .psy-contact-card,
    .psy-booking-panel,
    .psy-map-panel,
    .psy-contact-summary section {
        padding: 24px 22px;
    }

    .psy-booking-widget {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .psy-contact-page .psy-map-actions {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Kwalifikacje zawodowe ===== */

.qualification-intro {
    background: #f3f7f4;
    border: 1px solid #d9e1dc;
    border-left: 5px solid #3d9c00;
    margin: 18px 0 42px;
    padding: 34px 40px 36px;
}

.qualification-label {
    color: #3d9c00;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .075em;
    margin: 0 0 14px !important;
    text-transform: uppercase;
}

.qualification-intro h2 {
    color: #1d4035;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 18px;
}

.qualification-intro p:not(.qualification-label) {
    color: #48564f;
    font-size: 1.02rem;
    line-height: 1.68;
    margin: 0;
    max-width: 920px;
}

.qualification-section {
    margin: 0 0 44px;
}

.qualification-section > h2 {
    color: #1d4035;
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 24px;
}

.qualification-grid {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qualification-card {
    background: linear-gradient(135deg, #fff 0%, #f8faf8 100%);
    border: 1px solid #d9e1dc;
    box-shadow: 0 8px 24px rgba(29, 64, 53, .055);
    min-width: 0;
    padding: 26px 28px 28px;
    position: relative;
}

.qualification-card::before {
    background: #3d9c00;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    width: 72px;
}

.qualification-card.highlighted {
    background: #f3f7f4;
    border-left: 5px solid #3d9c00;
    margin: 0 0 18px;
    padding-left: 30px;
}

.qualification-card.highlighted::before {
    display: none;
}

.qualification-card h3 {
    color: #1d4035;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 12px;
}

.qualification-card p {
    color: #536059;
    font-size: .96rem;
    line-height: 1.62;
    margin: 0;
}

.training-list {
    background: #f8faf8;
    border: 1px solid #d9e1dc;
    padding: 12px 30px;
}

.training-list ul {
    display: grid;
    gap: 0 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.training-list li {
    border-bottom: 1px solid #e1e7e3;
    color: #4c5952;
    font-size: .96rem;
    line-height: 1.5;
    margin: 0 !important;
    min-width: 0;
    padding: 13px 0 13px 22px !important;
    position: relative;
}

.training-list li::before {
    color: #3d9c00;
    content: "›";
    font-size: 1.35rem;
    font-weight: 700;
    left: 2px;
    line-height: 1;
    position: absolute;
    top: 13px;
}

.qualification-summary {
    background: #f2f6f3;
    border: 1px solid #d4dfd8;
    border-left: 5px solid #1d4035;
    margin: 6px 0 34px;
    padding: 34px 40px 36px;
}

.qualification-summary h2 {
    color: #1d4035 !important;
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 18px;
}

.qualification-summary p {
    color: #48564f !important;
    font-size: .98rem;
    line-height: 1.65;
    margin: 0 0 12px;
    max-width: 1040px;
}

.qualification-actions {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    max-width: 940px;
}

.qualification-actions a {
    align-items: center;
    background: #fff;
    border: 1px solid #b9c9be;
    color: #1d4035 !important;
    display: flex;
    font-size: .94rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.35;
    min-height: 52px;
    padding: 12px 18px;
    text-align: center;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.qualification-actions a:first-child {
    background: #3d9c00;
    border-color: #3d9c00;
    color: #fff !important;
}

.qualification-actions a:hover,
.qualification-actions a:focus {
    border-color: #3d9c00;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .qualification-intro,
    .qualification-summary {
        padding: 28px 24px;
    }

    .qualification-grid,
    .training-list ul {
        grid-template-columns: 1fr;
    }

    .qualification-card,
    .qualification-card.highlighted {
        padding: 24px 22px 25px;
    }

    .training-list {
        padding: 8px 22px;
    }
}

@media (max-width: 680px) {
    .qualification-actions {
        grid-template-columns: 1fr;
    }
}

/* ===== Konsultacja psychiatryczna online ===== */

.psy-online-page {
    color: #45524b;
}

.psy-online-page > .treatment-intro {
    border: 1px solid #d9e1dc;
    border-left: 5px solid #3d9c00;
    margin-bottom: 22px;
}

.psy-online-page > .treatment-intro p {
    color: #425048;
    margin: 0 0 14px;
}

.psy-online-page > .treatment-intro p:last-child {
    margin-bottom: 0;
}

.psy-online-nav {
    background: #fff;
    border: 1px solid #d9e1dc;
    margin: 0 0 26px;
    padding: 22px 26px 24px;
}

.psy-online-nav > p {
    color: #1d4035;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .07em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.psy-online-nav ul {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.psy-online-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.psy-online-nav a {
    align-items: center;
    background: #f5f8f6;
    border: 1px solid #e0e6e2;
    color: #1d4035 !important;
    display: flex;
    font-size: .86rem;
    justify-content: center;
    line-height: 1.35;
    min-height: 46px;
    padding: 9px 11px;
    text-align: center;
    text-decoration: none !important;
}

.psy-online-nav a:hover,
.psy-online-nav a:focus {
    border-color: #3d9c00;
}

.psy-online-page > section {
    background: #fff;
    border: 1px solid #d9e1dc;
    box-shadow: 0 7px 22px rgba(29, 64, 53, .045);
    margin: 0 0 20px;
    padding: 28px 34px 30px;
}

.psy-online-page > section:nth-of-type(even) {
    background: #f8faf8;
}

.psy-online-page > section h2 {
    color: #1d4035;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.28;
    margin: 0 0 18px;
    scroll-margin-top: 24px;
}

.psy-online-page > section p {
    font-size: .98rem;
    line-height: 1.65;
    margin: 0 0 15px;
    max-width: 980px;
}

.psy-online-page > section > ul {
    display: grid;
    gap: 0 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin: 18px 0 !important;
    padding: 0 !important;
}

.psy-online-page > section > ul > li {
    border-bottom: 1px solid #e2e8e4;
    font-size: .95rem;
    line-height: 1.5;
    margin: 0 !important;
    padding: 10px 0 10px 22px !important;
    position: relative;
}

.psy-online-page > section > ul > li::before {
    color: #3d9c00;
    content: "✓";
    font-size: .86rem;
    font-weight: 700;
    left: 1px;
    position: absolute;
    top: 12px;
}

.psy-online-page > section:nth-of-type(3) {
    background: #f2f7f3;
    border-left: 5px solid #3d9c00;
}

.psy-online-page > section:nth-of-type(3) > p:first-of-type {
    font-size: 1.05rem;
    font-weight: 700;
}

.psy-online-page > section:nth-of-type(3) > p:nth-of-type(2) > a {
    align-items: center;
    background: #3d9c00;
    border: 1px solid #3d9c00;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 50px;
    padding: 11px 22px;
    text-decoration: none !important;
}

.psy-online-page .zl-url {
    max-width: 100%;
}

.psy-online-page > section:last-of-type {
    background: #f3f7f4;
    border-top: 5px solid #1d4035;
}

.psy-online-page > section:last-of-type h3 {
    border-top: 1px solid #d9e1dc;
    color: #1d4035;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 20px 0 8px;
    padding-top: 18px;
}

.psy-online-page > section:last-of-type h2 + h3 {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.psy-online-page a:focus-visible {
    outline: 3px solid rgba(61, 156, 0, .35);
    outline-offset: 3px;
}

/* Widoczne dane zawodowe lekarza na stronach priorytetowych. */
.psy-credentials-panel {
    background: #f3f7f4;
    border: 1px solid #d6e0da;
    border-left: 5px solid #1d4035;
    clear: both;
    color: #45524b;
    margin: 40px 0 24px;
    padding: 30px 34px;
}

.psy-credentials-label {
    color: #3d9c00 !important;
    font-size: .8rem !important;
    font-weight: 700;
    letter-spacing: .075em;
    margin: 0 0 12px !important;
    text-transform: uppercase;
}

.psy-credentials-panel h2 {
    color: #1d4035 !important;
    font-size: clamp(1.45rem, 2.5vw, 1.95rem) !important;
    line-height: 1.3;
    margin: 0 0 14px !important;
}

.psy-credentials-panel > p:not(.psy-credentials-label):not(.psy-credentials-links) {
    font-size: .98rem;
    line-height: 1.65;
    margin: 0;
    max-width: 920px;
}

.psy-credentials-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 22px 0;
}

.psy-closing-grid .psy-credentials-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psy-credentials-list > div {
    background: #fff;
    border: 1px solid #d9e1dc;
    min-width: 0;
    padding: 15px 17px;
}

.psy-credentials-list dt {
    color: #758078;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.psy-credentials-list dd {
    color: #1d4035;
    font-size: 1rem;
    font-weight: 700;
    margin: 5px 0 0;
}

.psy-credentials-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0 !important;
}

.psy-credentials-links a {
    font-weight: 700;
}

@media (max-width: 1050px) {
    .psy-online-nav ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .psy-online-page > section {
        padding: 24px 22px 26px;
    }

    .psy-online-page > section > ul,
    .psy-online-nav ul {
        grid-template-columns: 1fr;
    }

    .psy-online-nav {
        padding: 20px;
    }

    .psy-credentials-panel {
        padding: 24px 22px;
    }

    .psy-credentials-list {
        grid-template-columns: 1fr;
    }

    .psy-closing-grid .psy-credentials-list {
        grid-template-columns: 1fr;
    }
}

/* ===== Wspólna warstwa artykułów, usług i materiałów dla pacjenta ===== */

.psy-site-care-page .psy-article-content,
.psy-site-care-page .psy-article-content *,
.psy-site-care-page .psy-article-content *::before,
.psy-site-care-page .psy-article-content *::after {
    box-sizing: border-box;
}

.psy-site-care-page .psy-article-content {
    color: #45524b;
    min-width: 0;
    width: 100%;
}

.psy-site-care-page .psy-article-content > p,
.psy-site-care-page .psy-article-content > ul,
.psy-site-care-page .psy-article-content > ol,
.psy-site-care-page .psy-article-content > blockquote {
    max-width: 980px;
}

.psy-site-care-page .psy-article-content p,
.psy-site-care-page .psy-article-content li {
    font-size: 1rem;
    line-height: 1.7;
}

.psy-site-care-page .psy-article-content h2 {
    color: #1d4035;
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    font-weight: 400;
    line-height: 1.25;
    margin: 42px 0 18px;
    scroll-margin-top: 28px;
}

.psy-site-care-page .psy-article-content h3 {
    color: #1d4035;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.35;
    margin: 30px 0 14px;
}

.psy-site-care-page .psy-article-content a:focus-visible {
    outline: 3px solid rgba(61, 156, 0, .35);
    outline-offset: 3px;
}

.psy-site-care-page .psy-article-content img,
.psy-site-care-page .psy-article-content iframe {
    height: auto;
    max-width: 100%;
}

.psy-service-page .psy-article-content > p:first-of-type,
.psy-patient-article-page .psy-article-content > p:first-of-type,
.psy-medical-article-page .psy-article-content > p:first-of-type {
    color: #34443c;
    font-size: 1.08rem;
    line-height: 1.7;
}

.article-navigation {
    background: #f3f7f4;
    border: 1px solid #d9e1dc;
    border-left: 5px solid #3d9c00;
    margin: 18px 0 34px;
    padding: 24px 28px 26px;
}

.article-navigation > p,
.db-article-label {
    color: #3d9c00 !important;
    font-size: .8rem !important;
    font-weight: 700;
    letter-spacing: .075em;
    margin: 0 0 13px !important;
    text-transform: uppercase;
}

.article-navigation ul {
    display: grid;
    gap: 8px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.article-navigation li {
    border-bottom: 1px solid #dfe6e1;
    margin: 0 !important;
    padding: 7px 0 !important;
}

.article-navigation a {
    color: #1d4035 !important;
    display: block;
    font-size: .94rem;
    text-decoration: none !important;
}

.article-navigation a::before {
    color: #3d9c00;
    content: "›";
    font-weight: 700;
    margin-right: 8px;
}

.article-navigation.db-article-continuation {
    background: #fff;
    border-left-color: #1d4035;
    margin: 30px 0;
    padding: 18px 22px 20px;
}

.article-navigation.db-article-continuation > p {
    color: #45524b !important;
    font-size: .78rem !important;
    font-weight: 700;
    letter-spacing: .075em;
    margin: 0 0 8px !important;
    text-transform: uppercase;
}

.article-navigation.db-article-continuation ul {
    grid-template-columns: 1fr;
    gap: 3px;
}

.article-navigation.db-article-continuation li {
    padding: 5px 0 !important;
}

.article-navigation.db-article-continuation a {
    font-size: .92rem;
}

.article-navigation[aria-label="Następna część artykułu"] {
    background: #fff;
    border-left-color: #1d4035;
    margin-top: 34px;
}

.article-navigation[aria-label="Następna część artykułu"] > p {
    color: #45524b !important;
    font-size: .98rem !important;
    font-weight: 400;
    letter-spacing: 0;
    margin: 0 !important;
    text-transform: none;
}

.article-navigation[aria-label="Następna część artykułu"] a::before {
    content: none;
}

.db-info-box,
.db-warning-box {
    margin: 32px 0;
    padding: 24px 28px;
}

.db-info-box {
    background: #f3f7f4;
    border: 1px solid #d9e1dc;
    border-left: 5px solid #3d9c00;
}

.db-warning-box {
    background: #f2eee9;
    border: 1px solid #ded3c8;
    border-left: 5px solid #8b735b;
    color: #39332d;
}

.db-info-box p,
.db-warning-box p {
    font-size: .98rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

.db-test-lead {
    margin-top: 6px;
}

.psy-test-page .psy-article-content form,
.psy-test-page .psy-article-content .qsm-quiz-container,
.psy-test-page .psy-article-content .mlw_qmn_quiz {
    background: #f8faf8;
    border: 1px solid #d9e1dc;
    margin: 28px 0;
    padding: 26px;
}

.psy-booking-link {
    margin: 26px 0 !important;
}

.psy-booking-link a {
    align-items: center;
    background: #3d9c00;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 50px;
    padding: 11px 22px;
    text-decoration: none !important;
}

.db-article-footer {
    border-top: 1px solid #d9e1dc;
    margin-top: 54px;
    padding-top: 30px;
}

.db-author-card {
    background: #f3f7f4;
    border: 1px solid #d7e0da;
    border-left: 5px solid #1d4035;
    padding: 30px 34px;
}

.db-author-card h2,
.db-article-cta h2 {
    color: #1d4035;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem) !important;
    margin: 0 0 14px !important;
}

.db-author-card > p {
    max-width: 880px;
}

.db-author-card dl {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
    margin: 20px 0;
}

.db-author-card dl div {
    border-left: 2px solid #3d9c00;
    padding-left: 12px;
}

.db-author-card dt {
    color: #738078;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.db-author-card dd {
    color: #1d4035;
    font-weight: 700;
    margin: 2px 0 0;
}

.db-updated {
    color: #748079 !important;
    font-size: .88rem !important;
    margin-bottom: 0 !important;
}

.db-existing-footer {
    background: #f3f7f4;
    border: 1px solid #d7e0da;
    border-left: 5px solid #1d4035;
    margin-top: 38px;
    padding: 26px 30px;
}

.db-existing-footer > p:first-child {
    color: #34443c;
    font-size: .96rem;
    line-height: 1.65;
    margin-top: 0;
}

.db-existing-author-meta {
    border-top: 1px solid #d6dfd9;
    margin-top: 18px;
    padding-top: 18px;
}

.db-existing-author-meta p {
    font-size: .88rem !important;
    line-height: 1.55 !important;
    margin: 5px 0 !important;
}

.db-related {
    background: #fff;
    border: 1px solid #d9e1dc;
    margin: 20px 0;
    padding: 26px 30px;
}

.db-related ul {
    display: grid;
    gap: 10px 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.db-related li {
    border-bottom: 1px solid #e2e7e4;
    margin: 0 !important;
    padding: 9px 0 !important;
}

.db-related a {
    color: #1d4035 !important;
    text-decoration: none !important;
}

.db-related a::after {
    color: #3d9c00;
    content: " →";
}

.db-article-cta {
    align-items: center;
    background: #1d4035;
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 30px 34px;
}

.db-article-cta h2,
.db-article-cta .db-article-label {
    color: #fff !important;
}

.db-article-cta > p {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 !important;
}

.db-article-cta a {
    align-items: center;
    background: #3d9c00;
    border: 1px solid #3d9c00;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    text-decoration: none !important;
}

.db-article-cta a + a {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
}

/* Zwięzły przełącznik wersji angielskiej w nagłówku. */
.db-header-tel .psy-language-switch {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 3px;
    box-sizing: border-box;
    color: #fff !important;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    margin-left: 5px;
    overflow: hidden;
    text-decoration: none !important;
    vertical-align: middle;
    width: 34px;
}

.db-header-tel .psy-language-switch svg {
    display: block;
    height: 20px;
    width: 30px;
}

.db-header-tel .psy-language-switch:hover,
.db-header-tel .psy-language-switch:focus-visible {
    background: #3d9c00;
    border-color: #3d9c00;
    outline: 2px solid rgba(255, 255, 255, .75);
    outline-offset: 2px;
}

/* Zwarta karta autora pod wyróżnionym artykułem „Depresja” na stronie startowej. */
.home .db-publication {
    display: flex;
    flex-direction: column;
}

.psy-home-professional {
    background: #f3f7f4;
    border: 1px solid #d7e0da;
    border-left: 5px solid #1d4035;
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 20px;
    min-height: 0;
    padding: 18px 22px;
}

.psy-home-professional__label {
    color: #758078;
    font-size: .76rem !important;
    font-weight: 700;
    letter-spacing: .045em;
    margin: 0 0 6px !important;
    text-transform: uppercase;
}

.psy-home-professional__identity {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
}

.psy-home-professional__identity h2 {
    color: #1d4035;
    font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
    margin: 0 !important;
}

.psy-home-professional__identity p {
    color: #536159;
    font-size: .92rem !important;
    font-weight: 600;
    margin: 0 !important;
}

.psy-home-professional__summary {
    color: #4f5c55;
    font-size: .94rem !important;
    line-height: 1.55 !important;
    margin: 8px 0 8px !important;
    max-width: 760px;
}

.psy-home-professional__registry,
.db-author-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
}

.psy-home-professional__registry {
    color: #748079;
    font-size: .78rem !important;
    margin: 0 0 10px !important;
}

.psy-home-professional__links,
.db-author-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.psy-home-professional__links {
    margin: 0 !important;
}

.psy-home-professional__links a,
.db-author-card__actions a {
    align-items: center;
    border: 1px solid #bdcbc2;
    box-sizing: border-box;
    color: #1d4035 !important;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 700;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px;
    text-decoration: none !important;
}

/*
 * Wersja 2.0.6: wymuszenie zwartej karty na stronie startowej.
 * Starszy kod motywu / Custom CSS jest drukowany po arkuszu wtyczki i nadpisywał
 * flex, min-height, marginesy oraz padding. !important jest tu celowe: ogranicza
 * poprawkę do jednej karty i zapobiega rozciąganiu jej do wysokości prawej kolumny.
 */
html body.home .db-publication > .psy-home-professional {
    align-self: stretch !important;
    flex: 0 0 auto !important;
    height: auto !important;
    justify-content: flex-start !important;
    margin: 16px 0 0 !important;
    min-height: 0 !important;
    padding: 14px 18px !important;
}

html body.home .psy-home-professional__label {
    margin: 0 0 3px !important;
}

html body.home .psy-home-professional__identity h2,
html body.home .psy-home-professional__identity p {
    line-height: 1.25 !important;
}

html body.home .psy-home-professional__summary {
    font-size: .9rem !important;
    line-height: 1.42 !important;
    margin: 5px 0 6px !important;
}

html body.home .psy-home-professional__registry {
    line-height: 1.35 !important;
    margin: 0 0 7px !important;
}

html body.home .psy-home-professional__links {
    gap: 6px !important;
}

html body.home .psy-home-professional__links a {
    font-size: .82rem !important;
    min-height: 34px !important;
    padding: 5px 10px !important;
}

.db-article-start {
    border-top: 1px solid #d7e0da;
    margin: 28px 0 0;
    padding: 18px 0 0;
}

.db-article-start a {
    color: #2f8f00;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== Korekty responsywnego układu 2.0.5 ===== */

/* Leczenie zaburzeń: zwarta sekcja form konsultacji mimo dawnych reguł Custom CSS. */
html body .treatment-guide .consultation-choice {
    align-items: start !important;
    display: grid !important;
    gap: 8px 34px !important;
    grid-template-areas:
        "label actions"
        "title actions"
        "copy actions" !important;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 360px) !important;
    margin: 34px 0 !important;
    padding: 28px 32px !important;
}

html body .treatment-guide .consultation-choice .section-kicker {
    grid-area: label !important;
    margin: 0 0 2px !important;
}

html body .treatment-guide .consultation-choice h2 {
    font-size: clamp(1.65rem, 2.7vw, 2.2rem) !important;
    grid-area: title !important;
    margin: 0 0 8px !important;
}

html body .treatment-guide .consultation-choice > p:not(.section-kicker) {
    grid-area: copy !important;
    margin: 0 !important;
}

html body .treatment-guide .consultation-choice .choice-buttons {
    align-self: center !important;
    display: grid !important;
    gap: 10px !important;
    grid-area: actions !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

html body .treatment-guide .consultation-choice .choice-buttons a {
    box-sizing: border-box !important;
    min-height: 48px !important;
    min-width: 0 !important;
    padding: 10px 16px !important;
    text-align: center !important;
    width: 100% !important;
}

/* Konsultacje online: widget ma szerokość treści użytkowej i zaczyna się przy tekście. */
html body .psy-online-page > .patient-article > article > section:nth-of-type(3) > p:last-child {
    box-sizing: border-box !important;
    margin: 18px 0 24px !important;
    max-width: 420px !important;
    overflow: hidden !important;
    width: 100% !important;
}

html body .psy-online-page iframe[title*="Docplanner"] {
    display: block !important;
    margin: 0 !important;
    max-width: 420px !important;
    width: 100% !important;
}

/* Kontakt: brak wymuszonych pustych wysokości, równe przyciski dojazdu. */
html body .psy-contact-page .psy-contact-primary {
    background: #1d4035 !important;
    border: 1px solid #1d4035 !important;
    color: #fff !important;
}

html body .psy-contact-page .psy-location-layout {
    align-items: start !important;
    gap: 20px !important;
    grid-template-columns: minmax(290px, 31%) minmax(0, 69%) !important;
    margin: 28px 0 34px !important;
}

html body .psy-contact-page .psy-booking-panel,
html body .psy-contact-page .psy-map-panel {
    height: auto !important;
    min-height: 0 !important;
    padding: 24px !important;
}

html body .psy-contact-page .psy-booking-widget {
    flex: 0 0 auto !important;
    height: auto !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-top: 10px !important;
}

html body .psy-contact-page .psy-map-wrapper {
    flex: 0 0 auto !important;
    height: clamp(310px, 32vw, 400px) !important;
    min-height: 310px !important;
}

html body .psy-contact-page .psy-map-wrapper iframe {
    height: 100% !important;
    min-height: 0 !important;
}

html body .psy-contact-page .psy-map-actions {
    display: grid !important;
    gap: 12px !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 14px 0 0 !important;
    width: 100% !important;
}

html body .psy-contact-page .psy-map-actions > p:empty {
    display: none !important;
}

html body .psy-contact-page .psy-map-actions > p {
    display: contents !important;
}

html body .psy-contact-page .psy-map-actions br {
    display: none !important;
}

html body .psy-contact-page .psy-map-actions a.psy-map-button,
html body .psy-contact-page .psy-map-actions a.psy-map-button.secondary {
    box-sizing: border-box !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 64px !important;
    min-width: 0 !important;
    padding: 12px 16px !important;
    width: 100% !important;
}

html body .psy-contact-page .psy-contact-summary {
    gap: 18px !important;
    margin-bottom: 26px !important;
}

html body .psy-contact-page .psy-contact-summary section {
    padding: 24px 26px !important;
}

/* Kwalifikacje: przyciski nie mogą wyjść poza kartę na telefonie. */
html body .qualification-actions,
html body .qualification-actions a {
    box-sizing: border-box !important;
    min-width: 0 !important;
}

@media (max-width: 800px) {
    html body .treatment-guide .consultation-choice {
        gap: 7px !important;
        grid-template-areas:
            "label"
            "title"
            "copy"
            "actions" !important;
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 22px !important;
    }

    html body .treatment-guide .consultation-choice .choice-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin-top: 14px !important;
    }

    html body .psy-contact-page .psy-location-layout {
        gap: 16px !important;
        grid-template-columns: 1fr !important;
        margin: 24px 0 28px !important;
    }

    html body .psy-contact-page .psy-map-wrapper {
        height: 340px !important;
        min-height: 280px !important;
    }
}

@media (max-width: 700px) {
    html body .qualification-summary {
        margin: 28px 0 18px !important;
        padding: 20px !important;
    }

    html body .qualification-summary h2 {
        margin-bottom: 16px !important;
    }

    html body .qualification-summary p {
        font-size: .98rem !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }

    html body .qualification-summary .qualification-actions {
        display: grid !important;
        gap: 9px !important;
        grid-template-columns: 1fr !important;
        margin-top: 18px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    html body .qualification-summary .qualification-actions a {
        height: auto !important;
        min-height: 46px !important;
        padding: 9px 12px !important;
        width: 100% !important;
    }
}

@media (max-width: 520px) {
    html body .treatment-guide .consultation-choice .choice-buttons {
        grid-template-columns: 1fr !important;
    }

    html body .psy-contact-page .psy-booking-panel,
    html body .psy-contact-page .psy-map-panel {
        padding: 18px !important;
    }

    html body .psy-contact-page .psy-map-wrapper {
        height: 300px !important;
    }

    html body .psy-contact-page .psy-map-actions {
        gap: 8px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding-top: 10px !important;
    }

    html body .psy-contact-page .psy-map-actions a.psy-map-button,
    html body .psy-contact-page .psy-map-actions a.psy-map-button.secondary {
        font-size: .82rem !important;
        min-height: 62px !important;
        padding: 9px 7px !important;
    }
}

.psy-home-professional__links a:nth-child(2),
.db-author-card__actions a:nth-child(2) {
    background: #3d9c00;
    border-color: #3d9c00;
    color: #fff !important;
}

.psy-home-professional__links a:hover,
.psy-home-professional__links a:focus-visible,
.db-author-card__actions a:hover,
.db-author-card__actions a:focus-visible {
    background: #1d4035;
    border-color: #1d4035;
    color: #fff !important;
}

/* Kompaktowa wersja stopki autorskiej pod artykułami. */
.db-article-footer--compact {
    margin-top: 36px;
    padding-top: 22px;
}

.db-author-card--compact {
    align-items: center;
    display: grid;
    gap: 18px 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 20px 24px;
}

.db-author-card--compact h2 {
    font-size: clamp(1.2rem, 2vw, 1.48rem) !important;
    margin: 2px 0 7px !important;
}

.db-author-card--compact h2 span {
    color: #65736b;
    font-family: inherit;
    font-size: .72em;
    font-weight: 600;
    white-space: nowrap;
}

.db-author-card__summary {
    color: #536159;
    font-size: .9rem !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
}

.db-author-card__meta {
    color: #748079;
    font-size: .76rem !important;
    margin: 0 !important;
}

.db-author-card__actions {
    justify-content: flex-end;
    margin: 0 !important;
    max-width: 330px !important;
}

.db-article-footer--compact .db-related {
    margin: 14px 0 0;
    padding: 20px 24px;
}

.psy-legal-page .psy-article-content {
    max-width: 1040px;
}

.psy-legal-page .psy-article-content > h2 {
    border-top: 1px solid #d9e1dc;
    padding-top: 28px;
}

.psy-english-notice h2 {
    margin-top: 0 !important;
}

@media (max-width: 820px) {
    .article-navigation ul,
    .db-related ul,
    .db-article-cta {
        grid-template-columns: 1fr;
    }

    .article-navigation,
    .db-info-box,
    .db-warning-box,
    .db-author-card,
    .db-related,
    .db-article-cta {
        padding: 22px;
    }

    .psy-home-professional {
        flex: 0 1 auto;
        min-height: 0;
        padding: 20px;
    }

    .db-author-card--compact {
        grid-template-columns: 1fr;
    }

    .db-author-card__actions {
        justify-content: flex-start;
        max-width: none !important;
    }
}

/* ==========================================================
   Wdrożenie 3.0: źródła medyczne i samodzielna rejestracja
   ========================================================== */

.db-sources {
    box-sizing: border-box;
    clear: both;
    margin: 30px 0 22px;
    padding: 18px 20px;
    background: #f7faf8;
    border: 1px solid #d9e1dc;
    border-left: 4px solid #4b9e00;
}

.db-sources h2 {
    margin: 0 0 10px !important;
    color: #263f36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem !important;
    font-weight: 400;
    line-height: 1.3 !important;
}

.db-sources-list {
    margin: 0;
    padding-left: 20px;
}

.db-sources-list li {
    font-size: .88rem;
    line-height: 1.5;
    margin: 0 0 7px;
}

.db-sources-list cite {
    font-style: normal;
}

.db-sources-list a {
    display: inline;
    margin-left: 4px;
    color: #3f8500;
    font-size: .88rem;
}

.db-sources-note,
.db-sources-license {
    margin: 11px 0 0 !important;
    color: #59645f;
    font-size: .82rem !important;
    line-height: 1.48 !important;
}

/* Źródła i stopka autorska są jednym komponentem, bez dwóch ramek. */
.db-article-footer > .db-sources {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d9e1dc;
    margin: 0;
    padding: 0 0 16px;
}

.db-article-footer--compact.db-footer-with-sources {
    background: #f3f7f4;
    border: 1px solid #d7e0da;
    border-left: 5px solid #1d4035;
    padding: 20px 22px;
}

.db-article-footer--compact.db-footer-with-sources > .db-author-card {
    background: transparent;
    border: 0;
    padding: 16px 0 0;
}

.db-existing-footer > .db-sources {
    padding-bottom: 16px;
}

.db-existing-footer > .db-sources + p {
    margin-top: 16px;
}

.db-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 16px 0 0;
}

.db-footer-links a {
    align-items: center;
    border: 1px solid #bfcfc5;
    color: #1d4035 !important;
    display: inline-flex;
    font-weight: 700;
    min-height: 42px;
    padding: 8px 14px;
    text-decoration: none !important;
}

.db-footer-links a:nth-child(2) {
    background: #3d9c00;
    border-color: #3d9c00;
    color: #fff !important;
}

.db-test-result-disclaimer {
    background: #f7faf8;
    border: 1px solid #d9e1dc;
    border-left: 5px solid #4b9e00;
    margin: 38px 0 28px;
    padding: 26px 30px;
}

.db-test-result-disclaimer h2 {
    color: #1d4035;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem) !important;
    font-weight: 400;
    margin: 0 0 14px !important;
}

.db-test-result-disclaimer p {
    margin: 0 0 14px !important;
}

.db-test-result-source {
    border-top: 1px solid #d9e1dc;
    color: #59645f;
    font-size: .9rem !important;
    padding-top: 14px;
}

.db-test-result-source cite {
    font-style: normal;
}

.db-test-result-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.db-test-result-links a {
    border: 1px solid #bfcfc5;
    color: #1d4035 !important;
    display: inline-flex;
    font-weight: 700;
    padding: 9px 14px;
    text-decoration: none !important;
}

.db-test-result-links a:last-child {
    background: #3d9c00;
    border-color: #3d9c00;
    color: #fff !important;
}

@media (max-width: 760px) {
    .psy-patient-grid {
        grid-template-columns: 1fr;
    }

    .psy-patient-intro,
    .psy-patient-note,
    .db-test-result-disclaimer {
        padding: 21px;
    }

    .psy-patient-card {
        min-height: 0;
        padding: 20px;
    }

    .psy-patient-intro__actions,
    .psy-patient-note > p:last-child,
    .db-footer-links,
    .db-test-result-links {
        align-items: stretch;
        flex-direction: column;
    }

    .psy-patient-intro__actions a,
    .psy-patient-note > p:last-child a,
    .db-footer-links a,
    .db-test-result-links a {
        justify-content: center;
        width: 100%;
    }
}

.pbsc-booking-cta-inline {
    display: inline-block;
    padding: 11px 18px;
    background: #3f9f00;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.pbsc-booking-cta-inline:hover,
.pbsc-booking-cta-inline:focus {
    background: #2f7800;
    color: #fff !important;
}

.db-booking-page {
    box-sizing: border-box;
    color: #34443e;
    max-width: 1180px;
}

.db-booking-page *,
.db-booking-page *::before,
.db-booking-page *::after {
    box-sizing: border-box;
}

.db-booking-page > section,
.db-booking-page > nav,
.db-booking-page > aside {
    margin: 0 0 28px;
}

.db-booking-page h2 {
    color: #1d4035;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 16px;
}

.db-booking-page h3 {
    color: #1d4035;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 12px;
}

.db-booking-page p,
.db-booking-page li {
    line-height: 1.65;
}

.db-booking-page .db-article-intro,
.db-booking-page .db-info-box,
.db-booking-page .db-warning-box,
.db-booking-page .db-booking-widget,
.db-booking-page .faq-section,
.db-booking-page .db-booking-links {
    background: #f3f7f4;
    border: 1px solid #d7e0da;
    border-left: 5px solid #4b9e00;
    padding: clamp(20px, 3vw, 32px);
}

.db-booking-page .db-section-label {
    color: #3f8500;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .055em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.db-page-toc {
    border: 1px solid #d7e0da;
    padding: 18px 22px;
}

.db-page-toc ul,
.db-booking-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 24px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.db-booking-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.db-booking-card {
    background: #fff;
    border: 1px solid #d7e0da;
    min-height: 178px;
    padding: 22px;
}

.db-booking-widget {
    scroll-margin-top: 28px;
}

.db-zl-widget {
    contain: layout;
    min-height: 620px;
    overflow: hidden;
    position: relative;
}

.db-widget-loading {
    color: #65736b;
    font-size: .95rem;
    margin: 0 0 12px !important;
}

.db-booking-page .crisis-notice {
    background: #f5f0e9;
    border-left: 5px solid #876f50;
    padding: 20px 24px;
}

.db-booking-page .faq-section details {
    border-top: 1px solid #d7e0da;
    padding: 14px 0;
}

.db-booking-page .faq-section summary {
    color: #1d4035;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 700px) {
    .db-sources {
        padding: 20px 18px;
    }

    .db-sources-list a {
        display: block;
        margin: 4px 0 0;
    }

    .db-booking-grid {
        grid-template-columns: 1fr;
    }

    .db-booking-card {
        min-height: 0;
    }

    .db-page-toc ul,
    .db-booking-links ul {
        display: block;
    }

    .db-page-toc li,
    .db-booking-links li {
        margin-bottom: 8px;
    }

    .db-zl-widget {
        min-height: 680px;
    }
}

/* ===== 3.0.4: Kontakt i Kwalifikacje jako spójne segmenty treści ===== */

/* Kafelki konsultacji są częścią kolumny mapy i pojawiają się bezpośrednio pod nią. */
html body .psy-contact-page .psy-map-panel > .psy-contact-summary {
    box-sizing: border-box !important;
    gap: 12px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 18px 0 0 !important;
    width: 100% !important;
}

html body .psy-contact-page .psy-map-panel > .psy-contact-summary section {
    background: #fff !important;
    min-width: 0 !important;
    padding: 20px 22px !important;
}

html body .psy-contact-page .psy-map-panel > .psy-contact-summary h2 {
    font-size: 1.32rem !important;
    margin-bottom: 10px !important;
}

html body .psy-contact-page .psy-map-panel > .psy-contact-summary p {
    font-size: .94rem !important;
    line-height: 1.52 !important;
}

/* Dane autora są zwykłym elementem strony Kontakt, nie blokiem poza jej treścią. */
html body .psy-contact-page > .psy-credentials-panel--author {
    margin: 28px 0 26px !important;
}

/* Zakres konsultacji i dane rejestrowe tworzą jeden połączony moduł. */
html body .psy-qualification-combined {
    border: 1px solid #d6e0da;
    border-left: 5px solid #1d4035;
    box-sizing: border-box;
    clear: both;
    margin: 44px 0 34px;
    overflow: hidden;
}

html body .psy-qualification-combined > .qualification-summary {
    border: 0 !important;
    margin: 0 !important;
}

html body .psy-qualification-combined > .psy-credentials-panel--professional {
    border: 0 !important;
    border-top: 1px solid #d6e0da !important;
    margin: 0 !important;
}

@media (max-width: 900px) {
    html body .psy-contact-page .psy-map-panel > .psy-contact-summary {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 700px) {
    html body .psy-qualification-combined {
        margin: 28px 0 20px;
    }

    html body .psy-qualification-combined > .qualification-summary,
    html body .psy-qualification-combined > .psy-credentials-panel--professional {
        padding: 22px 20px !important;
    }
}
