﻿/* === Р¤РѕРЅС‹ === */
.specialists-list, 
section, 
main, 
body, 
.spec-final-layout {
    background-color: #ECE3CA !important;
}

.specialist-detail__info-col,
.accordion-item,
.dr-new-acc-item,
.specialist-card,
.spec-main-photo,
.spec-quote-card,
.premium-services-box,
.services-display,
.nav-item.active {
    background-color: #E0D6B6 !important;
}

.services-sidebar,
.sub-cat-acc summary {
    background-color: #D9CFA9 !important;
}

.category-filter, 
.services-list {
    background-color: transparent !important;
}

/* === РЁСЂРёС„С‚С‹ === */
@font-face {
    font-family: 'NAMU';
    src: url('/static/fonts/NAMU-1750.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NAMU';
    src: url('/static/fonts/NAMU-Pro.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'NAMU', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
}

b, strong, .logo-text, .nav-item, summary {
    font-weight: 700 !important;
}

.center-text { text-align: center; }

/* === РЎРµС‚РєР° РєР°СЂС‚РѕС‡РµРє СЃРїРµС†РёР°Р»РёСЃС‚РѕРІ === */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
}

.specialist-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #E0D6B6 !important;
    position: relative;
    /* Р¤РРљРЎ: РѕС‚СЃС‚СѓРї СЃРЅРёР·Сѓ, С‡С‚РѕР±С‹ С‚РµРєСЃС‚ РЅРµ Р»РµР· РЅР° РєРЅРѕРїРєСѓ */
    padding-bottom: 80px; 
}

.specialist-card__photo-wrap {
    width: 100%;
    aspect-ratio: 1/1.1;
    background: #D9CFA9;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Р¤РРљРЎ: С‚РµРєСЃС‚ Р·Р°РіР»СѓС€РєРё С‚РµРїРµСЂСЊ СЃРµСЂС‹Р№ */
    color: #434b44 !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    text-align: center;
}

.specialist-card__photo-wrap * {
    color: #434b44 !important;
    text-decoration: none !important;
}

.specialist-card__name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #434B44 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    min-height: 2.6em;
    display: grid;
    align-content: start;
    gap: 2px;
}

.specialist-card__name-line {
    display: block;
    overflow-wrap: anywhere;
}

.specialist-card__specs,
.specialist-card__exp,
.specialist-card__edu {
    font-size: 11px;
    line-height: 1.4;
    color: #434B44;
    opacity: 0.6;
    margin-bottom: 4px;
}

.specialist-card__body {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.specialist-card__more {
    font-size: 10px;
    font-weight: 800;
    color: #ECE3CA !important;
    background-color: #434B44;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
    width: fit-content;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.specialist-card__more:hover {
    background-color: #5a6254;
    transform: scale(1.05);
}

/* === Р”РµС‚Р°Р»СЊРЅР°СЏ СЃС‚СЂР°РЅРёС†Р° === */
.spec-name-title { 
    font-size: clamp(30px, 4vw, 44px); 
    font-weight: 800; 
    text-transform: uppercase; 
    color: #434b44; 
    margin-bottom: 50px; 
    letter-spacing: -1px; 
}

.spec-grid-system { 
    display: grid; 
    grid-template-columns: 360px 1fr; 
    gap: 80px; 
    align-items: start; 
    width: 100%;
}

.specialist-card__specs-wrap {
    min-height: 46px;
    margin-bottom: 6px;
}

.specialist-card__specs-label {
    display: block;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #434b44;
    opacity: 0.55;
    margin-bottom: 3px;
}

.specialist-card__specs {
    margin: 0;
    font-size: 11px;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spec-final-layout {
    overflow-x: hidden;
}

.spec-main-photo { 
    width: 100%; 
    aspect-ratio: 1 / 1.15; 
    border-radius: 40px; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
}

.spec-main-photo img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.spec-main-photo .photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #434b44 !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    text-align: center;
    text-decoration: none !important;
}

.spec-quote-card { 
    margin-top: 30px; 
    padding: 40px 30px; 
    border-radius: 30px; 
    border: 1px solid rgba(67, 75, 68, 0.1); 
    position: relative; 
}

.q-mark { 
    position: absolute; 
    top: 20px; 
    left: 25px; 
    font-size: 50px; 
    color: #434b44; 
    opacity: 0.1; 
    line-height: 1; 
}

.q-content { 
    margin: 0; 
    font-style: italic; 
    font-size: 16px; 
    color: #434b44; 
    text-align: center; 
    line-height: 1.5; 
    font-weight: 400; 
}

.spec-badges-info { 
    display: flex; 
    gap: 80px; 
    margin-bottom: 50px; 
}

.badge-label { 
    display: block; 
    font-size: 11px; 
    font-weight: 800; 
    color: #434b44; 
    opacity: 0.6; 
    letter-spacing: 1.5px; 
    margin-bottom: 10px; 
}

.badge-value { 
    font-size: 28px; 
    font-weight: 800; 
    color: #434b44; 
}

.spec-accordion-list { 
    border-top: 2px solid #434b44; 
}

.spec-details { 
    border-bottom: 1px solid rgba(67, 75, 68, 0.1); 
}

.spec-details summary { 
    list-style: none; 
    padding: 30px 0; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 18px; 
    font-weight: 800; 
    color: #434b44; 
    text-transform: uppercase; 
}

.spec-icon { 
    font-size: 24px; 
    color: #434b44; 
}

.spec-details-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: max-height 0.28s ease, opacity 0.28s ease, transform 0.28s ease, padding 0.28s ease;
    padding: 0;
}

.spec-details[open] .spec-details-content {
    opacity: 1;
    transform: translateY(0);
    padding: 0 0 24px;
}

.spec-details[open] .spec-details-content.no-padding {
    padding: 0;
}

.edu-card-layout { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
}

.edu-title-main { 
    font-size: 18px; 
    font-weight: 800; 
    color: #434b44; 
    text-transform: uppercase; 
    overflow-wrap: anywhere;
    word-break: break-word;
}

.edu-year-tag { 
    font-size: 16px; 
    color: #434b44; 
    opacity: 0.7; 
}

.edu-list {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.edu-list li {
    font-size: 16px;
    line-height: 1.35;
    color: #434b44;
    opacity: 0.8;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.edu-structured-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.edu-structured-item {
    position: relative;
    padding-left: 18px;
}

.edu-structured-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(67, 75, 68, 0.75);
}

.edu-structured-item--section::before {
    content: none;
}

.edu-structured-item__line {
    display: block;
    font-size: clamp(20px, 1.1vw, 26px);
    line-height: 1.3;
    font-weight: 700;
    color: #434b44;
    text-transform: none;
}

.edu-structured-item__inst {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.45;
    color: #434b44;
    opacity: 0.48;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.edu-structured-item--section {
    padding-left: 0;
    margin-top: 14px;
    margin-bottom: 2px;
}

.edu-structured-item--section .edu-structured-item__line {
    font-size: clamp(20px, 1.1vw, 26px);
    font-weight: 700;
}

.edu-structured-item--section .edu-structured-item__inst {
    display: none;
}

.edu-structured-item--type {
    padding-left: 0;
    margin-top: 6px;
    margin-bottom: -2px;
}

.edu-structured-item--type::before {
    content: none;
}

.edu-structured-item--type .edu-structured-item__line {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(67, 75, 68, 0.95);
    background: rgba(67, 75, 68, 0.08);
}

.edu-structured-item--type .edu-structured-item__inst {
    display: none;
}

.premium-services-box { 
    display: grid; 
    grid-template-columns: 320px 1fr; 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(67, 75, 68, 0.08);
    border: 1px solid rgba(67, 75, 68, 0.1);
    margin: 10px 0 40px;
}

.services-sidebar { 
    border-right: 1px solid rgba(67, 75, 68, 0.1); 
    padding: 25px 0; 
}

.sidebar-header { 
    padding: 0 30px 15px; 
    font-size: 10px; 
    font-weight: 800; 
    color: #434b44; 
    letter-spacing: 2px; 
    opacity: 0.6; 
}

.nav-sections-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.nav-item { 
    padding: 18px 30px; 
    font-size: 12px; 
    font-weight: 800; 
    color: #434b44; 
    opacity: 0.5;
    cursor: pointer; 
    transition: all 0.28s ease;
    border-left: 4px solid transparent;
    text-transform: uppercase;
}

.nav-item.active { 
    opacity: 1; 
    border-left: 4px solid #434b44; 
    color: #434b44;
}

.services-display { 
    padding: 30px; 
}

#services-content-target {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

#services-content-target.is-enter,
#services-content-target.is-leave {
    opacity: 0;
    transform: translateY(8px);
}

.sub-cat-acc { 
    margin-bottom: 12px; 
    border: 1px solid rgba(67, 75, 68, 0.1); 
    border-radius: 16px; 
    overflow: hidden; 
}

.sub-cat-acc .items-list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: max-height 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.sub-cat-acc[open] .items-list {
    opacity: 1;
    transform: translateY(0);
}

.sub-cat-acc[open] summary {
    border-bottom: 1px solid rgba(67, 75, 68, 0.12);
}

.sub-cat-acc summary { 
    padding: 18px 20px; 
    font-size: 14px; 
    font-weight: 800; 
    color: #434b44; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    list-style: none;
    cursor: pointer;
    text-transform: uppercase;
}

.service-row-item { 
    padding: 14px 20px; 
    font-size: 13px;
    font-weight: 600;
    color: #434b44;
    border-bottom: 1px solid rgba(67, 75, 68, 0.05);
}

.spec-calendar-section {
    margin-top: 24px;
    padding: 12px 0 28px;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 3.5fr) minmax(0, 2.5fr);
    gap: 16px;
    align-items: start;
}

.booking-side-col {
    min-width: 0;
    padding-right: 2px;
    display: flex;
    flex-direction: column;
}

.booking-side-col .booking-submit-btn {
    margin-top: 10px;
    align-self: flex-start;
    width: auto;
}

.calendar-title {
    margin: 0 0 18px;
    padding-top: 4px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #434b44;
}

.booking-slot-box {
    margin-bottom: 18px;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid rgba(67, 75, 68, 0.22);
    border-radius: 16px;
    background: rgba(224, 214, 182, 0.35);
    box-shadow: inset 0 0 0 1px rgba(67, 75, 68, 0.05);
}

.booking-slot-head {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #434b44;
    margin-bottom: 10px;
}

.booking-slots-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
    max-height: 300px;
    overflow: auto;
    padding-right: 2px;
}

.booking-slot-selected {
    font-size: 13px;
    color: #434b44;
    opacity: 0.9;
}

.slot-pill-btn {
    border: 1px solid rgba(67, 75, 68, 0.22);
    border-radius: 10px;
    background: #f1ede4;
    color: #434b44;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.28s ease;
    text-align: center;
    white-space: nowrap;
}

.slot-pill-btn.active {
    background: #434b44;
    color: #ece3ca;
    border-color: #434b44;
}

.calendar-head-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.calendar-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(67, 75, 68, 0.2);
    background: #f1ede4;
    color: #434b44;
    cursor: pointer;
    transition: all 0.28s ease;
}

.calendar-month-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #434b44;
}

.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
}

.calendar-table th {
    color: #8a8d83;
    font-size: 10px;
    font-weight: 800;
    padding-bottom: 8px;
}

.calendar-table td.empty {
    background: transparent;
}

.calendar-empty-cell {
    display: block;
    min-height: 42px;
    border-radius: 12px;
    background: rgba(241, 237, 228, 0.45);
    border: 1px solid rgba(67, 75, 68, 0.06);
}

.calendar-table td {
    height: 42px;
}

.calendar-table .day {
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.28s ease;
}

.calendar-table .day.has-slots {
    background: #434b44;
    color: #ece3ca;
}

.calendar-table .day.no-slots {
    background: #f1ede4;
    color: #434b44;
    opacity: 0.45;
}

.calendar-table .day.day-outside {
    background: rgba(241, 237, 228, 0.35);
    color: #434b44;
    opacity: 0.35;
    cursor: not-allowed;
}

.calendar-table .day.active {
    box-shadow: 0 0 0 2px rgba(67, 75, 68, 0.35);
}

.calendar-error {
    padding: 12px;
    border-radius: 12px;
    background: #f1ede4;
    color: #434b44;
    font-size: 13px;
}

.spec-booking-details {
    border-bottom: 0;
}

.doctor-booking-form {
    border: 1px solid rgba(67, 75, 68, 0.12);
    border-radius: 16px;
    background: rgba(224, 214, 182, 0.35);
    padding: 16px;
}

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

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-field span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #434b44;
    opacity: 0.75;
}

.booking-field input {
    height: 40px;
    border: 1px solid rgba(67, 75, 68, 0.18);
    border-radius: 10px;
    background: #f1ede4;
    color: #434b44;
    padding: 0 12px;
    font-size: 14px;
}

.booking-field input:focus {
    outline: none;
    border-color: rgba(67, 75, 68, 0.34);
    box-shadow: 0 0 0 2px rgba(67, 75, 68, 0.12);
}

.booking-submit-btn {
    margin-top: 14px;
    border: none;
    border-radius: 999px;
    background: #434b44;
    color: #ece3ca;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.28s ease;
}

.booking-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.booking-result-msg {
    margin-top: 10px;
    font-size: 13px;
    color: #434b44;
}

.booking-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.booking-modal.is-open {
    display: flex;
}

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.booking-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 24px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(67, 75, 68, 0.2);
    background: #ece3ca;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.booking-modal__title {
    font-size: 18px;
    font-weight: 800;
    color: #434b44;
    margin-bottom: 12px;
}

.booking-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #434b44;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.booking-confirm-modal__dialog {
    width: min(560px, calc(100vw - 24px));
}

.booking-confirm-card {
    border: 1px solid rgba(67, 75, 68, 0.16);
    background: rgba(224, 214, 182, 0.42);
    border-radius: 14px;
    padding: 10px 14px;
}

.booking-confirm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(67, 75, 68, 0.1);
    color: #434b44;
}

.booking-confirm-row:last-child {
    border-bottom: 0;
}

.booking-confirm-row span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    opacity: 0.72;
}

.booking-confirm-row strong {
    font-size: 14px;
    text-align: right;
    line-height: 1.25;
}

.booking-confirm-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.booking-confirm-print-btn {
    border: none;
    border-radius: 999px;
    background: #434b44;
    color: #ece3ca;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.28s ease;
}

.booking-confirm-print-btn:hover {
    background: #5a6254;
}

.booking-confirm-print-icon {
    font-size: 14px;
    line-height: 1;
}

/* === РђРґР°РїС‚РёРІ === */
@media (max-width: 1200px) {
    .booking-layout {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 1200px) { .specialists-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .specialists-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .specialists-grid { grid-template-columns: 1fr; }
    .booking-grid { grid-template-columns: 1fr; }

    .spec-final-layout .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .spec-name-title {
        font-size: 34px;
        line-height: 1.05;
        margin-bottom: 20px;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .spec-grid-system {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .spec-main-photo {
        border-radius: 24px;
    }

    .spec-quote-card {
        margin-top: 14px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .spec-badges-info {
        gap: 20px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .badge-value {
        font-size: 24px;
    }

    .spec-details summary {
        font-size: 16px;
        padding: 20px 0;
    }

    .premium-services-box {
        grid-template-columns: 1fr;
        border-radius: 18px;
        margin-bottom: 24px;
    }

    .services-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(67, 75, 68, 0.12);
        padding: 10px 0;
    }

    .sidebar-header {
        padding: 0 14px 10px;
    }

    .nav-item {
        padding: 12px 14px;
    }

    .services-display {
        padding: 14px;
    }

    .sub-cat-acc summary {
        padding: 14px 14px;
        font-size: 13px;
    }

    .service-row-item {
        padding: 12px 14px;
    }

    .calendar-table {
        border-spacing: 4px;
    }

    .calendar-table .day {
        min-height: 36px;
        font-size: 12px;
        border-radius: 9px;
    }

    .calendar-empty-cell,
    .calendar-table td {
        min-height: 36px;
        height: 36px;
    }

    .booking-slot-box,
    .doctor-booking-form {
        padding: 12px;
        border-radius: 12px;
    }

    .booking-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-side-col {
        padding-right: 0;
    }

    .booking-slots-list {
        grid-template-columns: 1fr;
        max-height: 220px;
    }

    .booking-field input {
        height: 38px;
    }

    .booking-modal__dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 20px);
        padding: 14px;
    }
}


.specialist-card {
    cursor: pointer;
}

.specialist-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.specialist-card__name {
    min-height: 3.3em;
    margin-bottom: 10px;
}

.specialist-card__name-line--last {
    font-size: clamp(16px, 1.05vw, 21px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0.2px;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.specialist-card__name-line--first {
    font-size: clamp(13px, 0.88vw, 16px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0.1px;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.specialist-card__specs {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.specialist-card__spec-line {
    display: block;
}

@media (max-width: 992px) {
    .specialist-card__name-line--last {
        font-size: 19px;
    }
    .specialist-card__name-line--first {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .specialist-card__name-line--last {
        font-size: 17px;
    }
    .specialist-card__name-line--first {
        font-size: 14px;
    }
}

.specialist-card__photo-wrap,
.spec-main-photo{
  position: relative !important;
  overflow: hidden !important;
  background-color: #d9cfa9 !important;
}

.specialist-card__photo-wrap::before,
.spec-main-photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url('/static/img/logo.svg') center/54% no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.specialist-card__photo-wrap > *,
.spec-main-photo > *{
  position: relative;
  z-index: 1;
}

.specialist-card__photo-wrap::before,
.spec-main-photo::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('/static/img/logo.png') right 10% center / 46% no-repeat;
  opacity:0.14;
  pointer-events:none;
  z-index:0;
}

.specialist-card__photo-wrap,
.spec-main-photo{
  position:relative !important;
  overflow:hidden !important;
}

.specialist-card__photo-wrap > *,
.spec-main-photo > *{
  position:relative;
  z-index:1;
}

.specialist-card__photo-wrap{
  background: #d9cfa9 !important;
}


/* force remove doctor photo gradient */
.specialist-card__photo-wrap,
.spec-main-photo,
.service-doctor-photo-wrap,
.appointment-v2-card-photo-wrap,
.home-doctors-card__photo-wrap {
  background: #d9cfa9 !important;
}

.specialist-card__photo-wrap::before,
.spec-main-photo::before,
.service-doctor-photo-wrap::before,
.appointment-v2-card-photo-wrap::before,
.home-doctors-card__photo-wrap::before {
  content: none !important;
  background: none !important;
  filter: none !important;
  opacity: 0 !important;
}

/* === MOBILE SPECIALIST SERVICES EXPAND FIX 20260422 === */
@media (max-width: 900px) {
  .premium-services-box {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    align-items: start !important;
  }

  .services-sidebar,
  .services-display,
  #services-content-target {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .sub-cat-acc,
  .sub-cat-acc .items-list,
  .service-row-item {
    max-height: none !important;
  }
}
/* === /MOBILE SPECIALIST SERVICES EXPAND FIX 20260422 === */


/* === ABOUT CAROUSEL HARD OVERRIDE 20260422 === */
.about-image-carousel,
.about-image-carousel__viewport,
.about-image-slide {
  width: 100% !important;
}

.about-image-carousel {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.about-image-carousel__viewport {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  overflow: hidden !important;
  scroll-behavior: smooth !important;
  border-radius: 18px !important;
}

.about-image-slide {
  min-width: 100% !important;
  width: 100% !important;
  height: 320px !important;
  overflow: hidden !important;
  display: block !important;
}

.about-image-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: transparent !important;
  border-radius: 18px !important;
}

@media (max-width: 900px) {
  .about-image-slide {
    height: 220px !important;
  }
}
/* === /ABOUT CAROUSEL HARD OVERRIDE 20260422 === */

/* === ABOUT CAROUSEL ZOOM FIX 20260422 === */
.about-image-carousel {
  overflow: hidden !important;
}

.about-image-carousel__viewport {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  overflow: hidden !important;
}

.about-image-slide {
  width: 100% !important;
  min-width: 100% !important;
  height: 320px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  position: relative !important;
}

.about-image-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.32) !important;
  transform-origin: center center !important;
  display: block !important;
  border-radius: 18px !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .about-image-slide {
    height: 220px !important;
  }

  .about-image-slide img {
    transform: scale(1.38) !important;
  }
}
/* === /ABOUT CAROUSEL ZOOM FIX 20260422 === */

/* === ABOUT CAROUSEL SQUARE FIX 20260422 === */
.about-image-carousel {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.about-image-carousel__viewport {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  overflow: hidden !important;
  scroll-behavior: smooth !important;
}

.about-image-slide {
  width: 100% !important;
  min-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  position: relative !important;
  background: transparent !important;
}

.about-image-slide img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: transparent !important;
}

.about-image-carousel__arrow {
  z-index: 5 !important;
}
/* === /ABOUT CAROUSEL SQUARE FIX 20260422 === */

/* === ABOUT CAROUSEL FINAL HARD FIX 20260422 === */
.about-content .about-image-carousel {
  width: 100% !important;
  max-width: 560px !important;
  margin: 8px auto 0 !important;
  overflow: hidden !important;
}

.about-content .about-image-carousel__viewport {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  overflow: hidden !important;
  scroll-behavior: smooth !important;
}

.about-content .about-image-slide {
  width: 100% !important;
  min-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: transparent !important;
}

.about-content .about-image-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border-radius: 22px !important;
}

.about-content .about-image-carousel__arrow {
  z-index: 6 !important;
}

@media (max-width: 900px) {
  .about-content .about-image-carousel {
    max-width: 100% !important;
  }

  .about-content .about-image-slide {
    aspect-ratio: 1 / 1 !important;
  }
}
/* === /ABOUT CAROUSEL FINAL HARD FIX 20260422 === */

/* === ABOUT CAROUSEL NATURAL IMAGE SIZE 20260422 === */
.about-content .about-image-carousel {
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 0 !important;
  overflow: hidden !important;
}

.about-content .about-image-carousel__viewport {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  overflow: hidden !important;
  scroll-behavior: smooth !important;
  align-items: start !important;
}

.about-content .about-image-slide {
  width: 100% !important;
  min-width: 100% !important;
  display: block !important;
  overflow: hidden !important;
  background: transparent !important;
  border-radius: 22px !important;
}

.about-content .about-image-slide img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border-radius: 22px !important;
  background: transparent !important;
}

.about-content .about-image-carousel__arrow {
  z-index: 6 !important;
}
/* === /ABOUT CAROUSEL NATURAL IMAGE SIZE 20260422 === */

/* === ABOUT CAROUSEL RESET TO IMAGE SIZE 20260422 === */
.about-content .about-image-carousel,
.about-content .about-image-carousel__viewport,
.about-content .about-image-slide {
  width: 100% !important;
  max-width: 100% !important;
}

.about-content .about-image-carousel {
  overflow: hidden !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
}

.about-content .about-image-carousel__viewport {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  overflow: hidden !important;
  align-items: start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.about-content .about-image-slide {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 22px !important;
}

.about-content .about-image-slide img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  max-width: 100% !important;
  object-fit: fill !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border-radius: 22px !important;
}

.about-content .about-image-carousel__arrow {
  z-index: 6 !important;
}
/* === /ABOUT CAROUSEL RESET TO IMAGE SIZE 20260422 === */

/* PERSONAL DATA CONSENT 20260428 */
.booking-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 14px;
    color: #263238;
    font-size: 14px;
    line-height: 1.35;
}

.booking-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #2f4a43;
}

.booking-consent a {
    color: #2f4a43;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.booking-submit-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

/* PERSONAL DATA CONSENT LINK POLISH 20260428 */
.booking-consent a {
    color: #1f5d51;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.booking-consent a:hover {
    color: #153f38;
}

/* PERSONAL DATA CONSENT LINK FINAL COLOR 20260428 */
.booking-consent a,
.booking-consent a:visited {
    color: #434B44 !important;
    font-weight: 700;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-color: #434B44 !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px;
    border-bottom: 0 !important;
}

.booking-consent a:hover {
    color: #434B44 !important;
    text-decoration-color: #434B44 !important;
}

/* SPECIALIST PERSONAL DATA NOTE 20260430 */
.specialist-card__personal-data-note {
    margin: 8px 0 0;
    color: rgba(67, 75, 68, .82);
    font-size: 10.5px;
    line-height: 1.25;
    font-weight: 400;
    text-align: left;
}

@media (max-width: 640px) {
    .specialist-card__personal-data-note {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* SPECIALIST DETAIL PERSONAL DATA NOTE 20260430 */
.specialist-detail__personal-data-note {
    margin: 8px 0 0;
    color: rgba(67, 75, 68, .82);
    font-size: 10.5px;
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
}

@media (max-width: 640px) {
    .specialist-detail__personal-data-note {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* SPECIALIST DETAIL PERSONAL DATA NOTE CENTER 20260430 */
.specialist-detail__personal-data-note {
    text-align: center !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* SERVICE DOCTOR PERSONAL DATA NOTE 20260430 */
.service-doctor-personal-data-note {
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0 0;
    color: rgba(67, 75, 68, .82);
    font-size: 10.5px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
}

@media (max-width: 640px) {
    .service-doctor-personal-data-note {
        font-size: 10px;
        line-height: 1.3;
    }
}
