body {
    font-family: IRANSansWeb, sans-serif !important;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
main img {
    max-width: 100%;
    height: auto;
}

.header_back_right {
    position: absolute;
    right: 0;
    top: 0
}

.header_back_left {
    position: absolute;
    left: 0;
    top: 0
}

.title-header {
    font-size: 50px;
    color: white;
    word-spacing: -5px
}

.sub-title-header {
    font-size: 18px;
    color: white;
    margin-top: 24px;
}

.header-search-wrap {
    margin-top: 30px;
    display: inline-flex;
    align-items: stretch;
    width: 30%;
    max-width: 100%;
    height: 50px;
    background: #fff;
    border-radius: 80px;
    overflow: hidden;
    border: none;
}

.header-search {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: none;
    padding: 0 24px 0 20px;
    border-radius: 0;
    font-size: 1rem;
}
.header-search:focus {
    outline: none;
}

.btn-header-search {
    background: black;
    font-family: IRANSansWeb, sans-serif !important;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 80px 0 0 80px;
    width: 70px;
    min-width: 70px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section1 {
    border-radius: 80px 80px 0 0;
    background: white;
    min-height: 100px;
    background-image: linear-gradient(#FEFEFF, #D7DADA);
}

.section1-card {
    border-radius: 32px;
    box-shadow: 0px 4px 5px #8b9ba1;
    min-height: 140px;
    background-image: linear-gradient(#E5E8ED, #D4D9DA);

    align-content: center;

}

.section1-plus {
    color: white;
    background-color: #399E95;
    border-radius: 50%;
    padding: 3px 10px;
    font-size: 18px;
    position: relative;
    font-weight: bold;
    top: 0px;
    right: 0px;

}

.section1-card-title {
    font-size: 14px;
    margin-top: 10px;
    color: var(--site-text, #181c32);
}

.section1-turn {
    position: relative;
    color: var(--site-text, #181c32);
    background: #FFFFFF3D;
    border-radius: 8px;
    border: 1px solid white;
    top: 10px;
    padding: 5px 7px;
}


.section2 {
    background: #D7DADA;
    min-height: 100px;


}

.section2-right-area {
    background-image: linear-gradient(to right, #CF5827, #FFA10B);
    border-radius: 0 30px 30px 0;
}


.section2-left-area {
    background-image: linear-gradient(to right, #CF5827, #FFA10B);
    border-radius: 30px 0 0 30px;
}

.section2-right-area img {
    position: absolute;
}

.section1-row {
    padding-top: 80px;
}


.color-white {
    color: white;
}

.banner-title {
    padding-top: 30px;
    padding-right: 40px;
    font-size: 32px;
    color: white;
    text-shadow: 2px 2px 6px black;
}

.banner-sub-title {
    padding-top: 5px;
    padding-right: 40px;
    font-size: 22px;
    color: white;
    text-shadow: 2px 2px 6px black;
}


.section2-turn {
    position: relative;
    color: var(--site-text, #181c32);
    background: #FFFFFF3D;
    border-radius: 8px;
    border: 1px solid white;
    top: 15px;
    right: 40px;
    padding: 5px 7px;
}

.nav-link {
    font-size: 15px;
    color: var(--site-text, #181c32);
}

.site-header {
    padding: 1rem clamp(0.75rem, 2.5vw, 1.75rem) 0;
    position: relative;
    z-index: 100;
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--site-surface, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 0.65rem 1.25rem;
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.site-header-brand img {
    border-radius: 12px;
    object-fit: contain;
}

.site-header-brand-text {
    display: none;
    flex-direction: column;
    line-height: 1.3;
}

.site-header-brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--site-brand, #399E95);
}

.site-header-brand-sub {
    font-size: 0.75rem;
    color: var(--site-text-muted, #6b7280);
}

.site-header-nav {
    gap: 0.25rem;
}

.site-header-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header-nav .nav-link:hover {
    color: var(--site-brand, #399E95);
    background-color: var(--site-brand-soft, rgba(57, 158, 149, 0.12));
}

.site-header-nav .nav-link.active {
    color: var(--site-brand, #399E95) !important;
    font-weight: 600;
    background-color: var(--site-brand-soft, rgba(57, 158, 149, 0.16));
}

.site-header-actions {
    flex-shrink: 0;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--site-brand, #399E95);
    font-family: inherit;
    color: #fff !important;
    border: none;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-login:hover {
    background: #2f8a82 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.site-navbar-toggler {
    border: 1px solid var(--site-border, #e5e7eb);
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
}

.site-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem var(--site-brand-soft, rgba(57, 158, 149, 0.25));
}

.section2-bottom-area {
    background-image: linear-gradient(to bottom, #CF5827, #FFA10B);
    border-radius: 0 0 30px 30px;
    min-height: 170px;
}


.section2-top-area {
    background-image: linear-gradient(to bottom, #CF5827, #FFA10B);
    border-radius: 30px 30px 0 0;
}

.section2-bottom-area img {
    position: absolute;
}


.banner-title2 {
    padding-top: 20px;
    padding-right: 40px;
    font-size: 25px;
    color: white;
    text-shadow: 2px 2px 6px black;
}

.banner-sub-title2 {
    padding-top: 5px;
    padding-right: 40px;
    font-size: 18px;
    color: white;
    text-shadow: 2px 2px 6px black;
}


.section2-turn2 {
    position: relative;
    color: var(--site-text, #181c32);
    background: #FFFFFF3D;
    border-radius: 8px;
    border: 1px solid white;
    top: 20px;
    padding: 5px 7px;
}

.slide-content {
    padding-left: 20px !important;
    padding-right: 10px !important;
}

.swiper-slide {
    margin-left: 27px !important;
}

.section4-card-title {
    font-size: 16px;
    margin-top: 18px;
    margin-right: 10px;
    color: var(--site-text, #181c32);
}

.section-4-city {
    position: absolute;
    left: 0;
    background: #399E9529;
    color: #399E95;
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.section4-col-7 {
    position: relative;
}

.section4-sub-card-title {
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: justify;
    font-weight: normal;
    color: var(--site-text, #181c32);
}

.section4-turn {
    background: #399E95;
    display: block;
    color: white;
    margin-right: 8px;
    border-radius: 8px;
    border: 1px solid white;
    padding: 5px 7px;
    width: 100%;
}

.section4-turn-icon {
    color: white;
    position: relative;
    top: 1px;
    left: 0px;
}

.swiper-navBtn {
    position: absolute !important;
    top: 80px !important;

}

.swiper-navBtn-150 {
    top: 150px !important;
}

.swiper-navBtn-left {
    right: -20px !important;
}

.swiper-navBtn-right {
    left: -18px !important;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: '' !important;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: '' !important;
}

.section4-c {
    color: #399E95;
    background: #399E9529;
    padding: 6px;
    border-radius: 5px;
}

.back_ads {
    height: 174px;
    width: 70%;
}


.section5-card-title {
    font-size: 16px;
    padding-top: 18px;
    margin-right: 10px;
    color: var(--site-text, #181c32);
}

.section-5-city {
    position: absolute;
    left: 10px;
    background: var(--site-brand-soft, #399E9529);
    color: var(--site-brand, #399E95);
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 14px;
    font-weight: bold;
}

.section5-col-7 {
    position: relative;
}

.section5-sub-card-title {
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: justify;
    font-weight: normal;
    color: var(--site-text, #181c32);
}

.section5-turn {
    background: #30313C;
    display: block;
    color: white;
    margin-right: 8px;
    border-radius: 8px;
    border: 1px solid white;
    padding: 5px 7px;
    width: 95%;
}

.section5-turn-icon {
    color: white;
    position: relative;
    top: 1px;
    left: 0px;
}

.section5 {
    background-image: linear-gradient(to bottom, #D7DADA, #FFFFFF);
    min-height: 100px;
}

.section5 h2,
.section5 h2.text-center,
.section5 p.text-center {
    color: var(--site-text, #181c32);
}

.section5-slide-body {
    background-color: var(--site-surface, #ffffff);
    color: var(--site-text, #181c32);
    border-radius: 30px;
    position: relative;
    top: -45px;
}

.section5-slide-body .section5-card-title,
.section5-slide-body .section5-sub-card-title {
    color: inherit;
}

.section6 {
    background: var(--site-surface, #ffffff);
    min-height: 100px;
}

.section6-card {
    border-radius: 30px;
    box-shadow: 0 4px 5px #b1c2c8;
    background: var(--site-surface, #ffffff);
    color: var(--site-text, #181c32);
    padding: 0 1rem 1.5rem;
}

.section6-card h3,
.section6-card p {
    color: inherit;
}

.site-footer {
    padding: 0 clamp(0.75rem, 2.5vw, 1.75rem) 1.25rem;
    margin-top: 0.5rem;
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--site-surface, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1.5rem 1rem;
}

.site-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
}

.site-footer-brand img {
    border-radius: 12px;
    object-fit: contain;
}

.site-footer-brand-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--site-brand, #399E95);
    line-height: 1.3;
}

.site-footer-brand-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--site-text-muted, #6b7280);
    line-height: 1.4;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    width: 100%;
}

.site-footer-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--site-text, #374151);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.site-footer-nav a:hover {
    color: var(--site-brand, #399E95);
}

.site-footer-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 1rem 0 0.75rem;
}

.site-footer-bottom {
    text-align: center;
}

.site-footer-bottom span {
    font-size: 0.75rem;
    color: var(--site-text-muted, #9ca3af);
}

/* Tablet */
@media (max-width: 991.98px) {
    .title-header {
        font-size: 38px;
    }
    .sub-title-header {
        font-size: 16px;
    }
    .section1-row {
        padding-top: 40px;
    }
    .section1-card-title {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }
    .title-header {
        font-size: 22px;
        line-height: 1.4;
        word-spacing: -1px;
    }
    .sub-title-header {
        font-size: 14px;
        margin-top: 16px;
        line-height: 1.5;
        word-spacing: 0;
    }
    header.text-center.mt-20.mb-20 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .header-search-wrap {
        width: 100%;
        margin-top: 20px;
        height: 48px;
    }
    .header-search,
    .btn-header-search {
        height: 48px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }
    .btn-header-search {
        min-width: 56px;
    }
    .header_back_left,
    .header_back_right {
        width: 60%;
        max-width: 200px;
    }
    .section1-row {
        padding-top: 20px;
    }
    .section1-card {
        min-height: 120px;
        padding: 10px;
    }
    .section1-card .col-7,
    .section1-card .col-5 {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .section1-card-title {
        font-size: 13px;
        margin-top: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .section1-turn {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .banner-title2 {
        font-size: 18px;
        padding-right: 16px;
        padding-left: 16px;
    }
    .banner-sub-title2 {
        font-size: 14px;
        padding-right: 16px;
        padding-left: 16px;
    }
    .section2-bottom-area {
        min-height: 160px;
        padding-bottom: 20px;
    }
    .section2-turn2 {
        padding: 10px 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .slide-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .section4 .row.pr-10,
    .section5 .row.pr-10 {
        padding-right: 8px;
    }
    .section4 .card .row .col-7,
    .section4 .card .row .col-5,
    .section5 .card .row .col-12 {
        padding-left: 6px;
        padding-right: 6px;
    }
    .section4-col-7 {
        padding-left: 8px;
        padding-right: 8px;
    }
    .section4-sub-card-title,
    .section5-sub-card-title {
        padding-left: 4px;
        padding-right: 4px;
    }
    .section4-card-title,
    .section5-card-title {
        font-size: 14px;
    }
    .section4-sub-card-title,
    .section5-sub-card-title {
        font-size: 11px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .section4-turn,
    .section5-turn {
        padding: 10px;
        min-height: 44px;
    }
    .swiper-navBtn,
    .swiper-navBtn-150 {
        top: 50% !important;
        transform: translateY(-50%);
    }
    .swiper-navBtn-left {
        right: 4px !important;
    }
    .swiper-navBtn-right {
        left: 4px !important;
    }
    .section6 .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    .section6 h3 {
        font-size: 1rem;
    }
    .section6 p {
        font-size: 14px;
        line-height: 1.6;
    }
    .section2.pt-20,
    .section5.pt-20 {
        padding-top: 1.5rem !important;
    }
    .section4 .card,
    .section5 .card {
        overflow: hidden;
    }
    .section2.pt-20 h2.text-center,
    .section5.pt-20 h2.text-center {
        font-size: 1.25rem;
    }
    .section2.pt-20 p.text-center,
    .section5.pt-20 p.text-center {
        font-size: 14px;
    }
    .nav-link {
        text-align: right;
        padding: 12px 8px;
    }
    .site-header {
        padding: 0.75rem 0.5rem 0;
    }

    .site-header-inner {
        border-radius: 16px;
        padding: 0.75rem 1rem;
    }

    .site-header-nav .nav-link {
        text-align: right;
        padding: 0.65rem 0.5rem;
    }

    .site-header-actions {
        width: 100%;
        justify-content: space-between;
        padding-top: 0.5rem;
        border-top: 1px solid var(--site-border, #e5e7eb);
    }

    .site-navbar-toggler {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-login {
        flex: 1;
        justify-content: center;
    }
    .site-footer-inner {
        padding: 1rem 1rem 0.85rem;
        border-radius: 16px;
    }

    .site-footer-top {
        flex-direction: column;
        text-align: center;
    }

    .site-footer-brand {
        justify-content: center;
    }

    .site-footer-nav {
        gap: 0.5rem 1rem;
    }

    .site-footer-nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .title-header {
        font-size: 20px;
    }
    .sub-title-header {
        font-size: 13px;
    }
    .header_back_left,
    .header_back_right {
        width: 50%;
    }
    .section1-card .col-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .section1-card .col-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

/* فاصله و عرض صفحات سایت (لیست، جزئیات، درباره) */
.site-main {
    padding: 1rem clamp(0.75rem, 2.5vw, 1.75rem) 2rem;
}

.site-page-container,
#kt_app_content_container.site-page-container {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2.5vw, 1.75rem);
    padding-right: clamp(1rem, 2.5vw, 1.75rem);
    background: var(--site-surface, #fff);
    color: var(--site-text, inherit);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#kt_app_content_container.site-page-container {
    min-height: 50vh;
}

#kt_app_content_container .row.flex-nowrap {
    flex-wrap: wrap !important;
    margin-left: 0;
    margin-right: 0;
}

#kt_app_content_container .row.flex-nowrap > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (min-width: 1200px) {
    #kt_app_content_container .row.flex-nowrap {
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 575.98px) {
    .site-main {
        padding: 0.75rem 0.5rem 1.5rem;
    }

    .site-page-container,
    #kt_app_content_container.site-page-container {
        border-radius: 16px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* تم سراسری سایت — هماهنگ با Metronic (data-theme روی html) */
body.site-page {
    --site-brand: #399E95;
    --site-brand-soft: rgba(57, 158, 149, 0.16);
    --site-outer-bg: #399E95;
    --site-surface: #ffffff;
    --site-surface-2: #eff2f5;
    --site-text: #181c32;
    --site-text-muted: #6b7280;
    --site-border: #e5e7eb;
    background-color: var(--site-outer-bg) !important;
    color: var(--site-text);
}

[data-theme="dark"] body.site-page {
    --site-outer-bg: #1a3835;
    --site-surface: #1e1e2d;
    --site-surface-2: #2b2b40;
    --site-text: #ffffff;
    --site-text-muted: #92929f;
    --site-border: #323248;
    --site-brand-soft: rgba(57, 158, 149, 0.28);
    --bs-card-bg: #2b2b40;
    color-scheme: dark;
}

body.site-page .site-navbar {
    background: transparent !important;
    padding: 0;
}

body.site-page .site-header-nav .nav-link,
body.site-page .navbar-light .site-header-nav .nav-link {
    color: var(--site-text);
}

@media (min-width: 992px) {
    .site-header-brand-text {
        display: flex;
    }

    .site-header-actions {
        padding-right: 0.25rem;
    }
}

body.site-page .site-footer-brand-title {
    color: var(--site-brand);
}

body.site-page .site-footer-nav a {
    color: var(--site-text);
}

body.site-page .site-footer-brand-sub,
body.site-page .site-footer-bottom span {
    color: var(--site-text-muted);
}

body.site-page .site-footer-nav a:hover {
    color: var(--site-brand);
}

[data-theme="dark"] body.site-page .text-dark {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .text-muted {
    color: var(--bs-secondary-color) !important;
}

[data-theme="dark"] body.site-page .bg-light,
[data-theme="dark"] body.site-page .bg-white,
[data-theme="dark"] body.site-page .card.bg-light {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section6-card {
    background: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .section6-card h3,
[data-theme="dark"] body.site-page .section6-card p {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .card:not(.bg-primary):not(.bg-success):not(.bg-danger):not(.bg-warning):not(.bg-info) {
    --bs-card-bg: #2b2b40 !important;
    background-color: #2b2b40 !important;
    color: #ffffff !important;
    border-color: #323248 !important;
}

[data-theme="dark"] body.site-page .card.shadow-sm {
    box-shadow: var(--bs-box-shadow-sm) !important;
}

[data-theme="dark"] body.site-page .site-header-inner {
    background: #2b2b40 !important;
    border: 1px solid #323248;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .site-header-nav .nav-link,
[data-theme="dark"] body.site-page .navbar-light .site-header-nav .nav-link {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .site-header-nav .nav-link:hover,
[data-theme="dark"] body.site-page .site-header-nav .nav-link.active {
    background-color: var(--site-brand-soft) !important;
}

[data-theme="dark"] body.site-page .site-navbar-toggler {
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .text-secondary {
    color: var(--bs-secondary-color) !important;
}

[data-theme="dark"] body.site-page .nav-pills .nav-link {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .nav-link.active {
    color: var(--bs-primary) !important;
}

[data-theme="dark"] body.site-page .form-control,
[data-theme="dark"] body.site-page .form-select,
[data-theme="dark"] body.site-page .header-search {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .header-search::placeholder {
    color: var(--bs-secondary-color);
}

[data-theme="dark"] body.site-page .header-search-wrap {
    background: var(--bs-gray-200);
}

[data-theme="dark"] body.site-page .btn-secondary {
    background-color: var(--bs-gray-300);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .btn-link {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page hr,
[data-theme="dark"] body.site-page .border-dashed,
[data-theme="dark"] body.site-page .border-gray-600 {
    border-color: var(--bs-border-color) !important;
}

[data-theme="dark"] body.site-page .badge.bg-light,
[data-theme="dark"] body.site-page .badge.bg-white {
    background-color: var(--bs-gray-300) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .accordion-item {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .accordion-button {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .accordion-button:not(.collapsed) {
    background-color: var(--bs-gray-300);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .list-group-item {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .site-page-container,
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container {
    background: #1e1e2d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .site-footer-inner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body.site-page .site-footer-divider {
    background: linear-gradient(to left, transparent, var(--bs-border-color) 20%, var(--bs-border-color) 80%, transparent);
}

[data-theme="dark"] body.site-page .section1 {
    background: var(--site-surface);
    background-image: linear-gradient(var(--site-surface), var(--site-surface-2));
}

[data-theme="dark"] body.site-page .section1-card {
    background-image: linear-gradient(var(--bs-gray-200), var(--bs-gray-300));
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.site-page .section1-card-title,
[data-theme="dark"] body.site-page .section4-card-title,
[data-theme="dark"] body.site-page .section5-card-title,
[data-theme="dark"] body.site-page .section4-sub-card-title,
[data-theme="dark"] body.site-page .section5-sub-card-title {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .section1-turn,
[data-theme="dark"] body.site-page .section2-turn,
[data-theme="dark"] body.site-page .section2-turn2 {
    color: var(--bs-body-color);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .section2 {
    background: var(--site-surface-2);
}

[data-theme="dark"] body.site-page .section5 {
    background-image: linear-gradient(to bottom, var(--site-surface-2), var(--site-surface));
}

[data-theme="dark"] body.site-page .section5 h2,
[data-theme="dark"] body.site-page .section5 h2.text-center,
[data-theme="dark"] body.site-page .section5 p.text-center {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section5-slide-body {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section5-slide-body .section5-card-title,
[data-theme="dark"] body.site-page .section5-slide-body .section5-sub-card-title {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section5 .card.swiper-slide {
    background-color: var(--bs-gray-200) !important;
}

[data-theme="dark"] body.site-page .section6 {
    background: var(--site-surface);
}

[data-theme="dark"] body.site-page .section-4-city,
[data-theme="dark"] body.site-page .section4-c {
    color: var(--site-brand);
    background: var(--site-brand-soft);
}

[data-theme="dark"] body.site-page .section-5-city {
    color: var(--site-brand);
    background: var(--site-brand-soft);
}

[data-theme="dark"] body.site-page .section4-col-7.bg-white {
    background-color: var(--bs-gray-100) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section4-col-7 .section4-card-title,
[data-theme="dark"] body.site-page .section4-col-7 .section4-sub-card-title {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section2 h2.text-center,
[data-theme="dark"] body.site-page .section2 p.text-center {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page input[style*="#dddddd"],
[data-theme="dark"] body.site-page select[style*="#dddddd"],
[data-theme="dark"] body.site-page textarea[style*="#dddddd"] {
    border-color: var(--bs-border-color) !important;
    background-color: var(--bs-gray-200) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .modal-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .modal-header,
[data-theme="dark"] body.site-page .modal-footer {
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .dropdown-menu {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .dropdown-item {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .dropdown-item:hover {
    background-color: var(--bs-gray-200);
}

[data-theme="dark"] body.site-page .pagination .page-link {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* --- متن سراسری: صفحات داخلی، لیست‌ها، درباره، جزئیات --- */
body.site-page .site-main,
body.site-page .site-page-container,
body.site-page #kt_app_content_container.site-page-container {
    color: var(--site-text);
}

body.site-page .site-page-container :is(h1, h2, h3, h4, h5, h6, p, li, label, .fw-medium, .fw-semibold),
body.site-page #kt_app_content_container.site-page-container :is(h1, h2, h3, h4, h5, h6, p, li, label, .fw-medium, .fw-semibold) {
    color: inherit;
}

body.site-page main .section1 h2,
body.site-page main .section1 h3,
body.site-page main .section4 h2,
body.site-page main .section4 h3,
body.site-page main .section6 h2,
body.site-page main .section6 h3 {
    color: var(--site-text);
}

body.site-page .section1 .text-center,
body.site-page .section4 .text-center,
body.site-page .section6 .text-center {
    color: var(--site-text);
}

body.site-page .text-dark {
    color: var(--site-text) !important;
}

body.site-page .text-black {
    color: var(--site-text) !important;
}

body.site-page .bg-gray-300 {
    background-color: var(--site-surface-2, #e4e6ef) !important;
    color: var(--site-text);
}

body.site-page .bg-gray-300 .fw-medium,
body.site-page .bg-gray-300 .small {
    color: inherit;
}

[data-theme="dark"] body.site-page .text-black {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .site-page-container :is(h1, h2, h3, h4, h5, h6),
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container :is(h1, h2, h3, h4, h5, h6) {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .site-page-container p,
[data-theme="dark"] body.site-page .site-page-container li,
[data-theme="dark"] body.site-page .site-page-container label,
[data-theme="dark"] body.site-page .site-page-container .fw-medium,
[data-theme="dark"] body.site-page .site-page-container .fw-semibold,
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container p,
[data-theme="dark"] body.site-page #kt_app_content_container.site-page-container .fw-medium {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .bg-gray-300 {
    background-color: var(--bs-gray-200) !important;
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page main .section1 h2,
[data-theme="dark"] body.site-page main .section1 h3,
[data-theme="dark"] body.site-page main .section4 h2,
[data-theme="dark"] body.site-page main .section6 h2,
[data-theme="dark"] body.site-page main .section6 h3 {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .section1 .text-center,
[data-theme="dark"] body.site-page .section4 .text-center {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page .card .card-body,
[data-theme="dark"] body.site-page .card .card-body p,
[data-theme="dark"] body.site-page .card .card-body span:not(.badge) {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .nav-pills .nav-link.active {
    color: var(--bs-primary) !important;
}

[data-theme="dark"] body.site-page .btn-outline-secondary,
[data-theme="dark"] body.site-page .btn-light {
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .form-check-label {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .cursor-pointer.text-dark {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page a.text-dark {
    color: var(--bs-body-color) !important;
}

[data-theme="dark"] body.site-page a.text-dark:hover {
    color: var(--bs-primary) !important;
}

/* صفحات لیست پزشکان و مراکز درمانی */
body.site-page .site-listing-page {
    color: var(--site-text);
}

body.site-page .site-listing-page .site-filter-panel,
body.site-page .site-listing-page .site-filter-toolbar {
    background-color: var(--site-surface-2, #eff2f5) !important;
    color: var(--site-text, #181c32) !important;
    border: 1px solid var(--site-border, #e5e7eb);
}

body.site-page .site-listing-page .site-filter-panel h5,
body.site-page .site-listing-page .site-filter-panel .form-label,
body.site-page .site-listing-page .site-filter-panel .form-check-label,
body.site-page .site-listing-page .site-filter-panel .nav-link,
body.site-page .site-listing-page .site-filter-toolbar .card-body,
body.site-page .site-listing-page .site-filter-toolbar span {
    color: inherit;
}

body.site-page .site-listing-page .site-filter-input-addon {
    background-color: var(--site-surface, #fff) !important;
    border-color: var(--site-border, #e5e7eb);
    color: var(--site-text-muted, #6b7280);
}

body.site-page .site-listing-page .site-filter-panel .form-control {
    background-color: var(--site-surface, #fff);
    color: var(--site-text);
    border-color: var(--site-border, #e5e7eb);
}

body.site-page .site-listing-page .site-listing-chip {
    background-color: var(--site-surface-2, #eff2f5);
    color: var(--site-text);
}

body.site-page .site-listing-page .site-listing-chip--active {
    background: linear-gradient(to bottom right, rgba(17, 84, 185, 0.5), rgba(10, 129, 162, 0.5)) !important;
}

body.site-page .site-listing-page .site-listing-chip--active .fw-bold,
body.site-page .site-listing-page .site-listing-chip--active span {
    color: #fff !important;
}

body.site-page .site-listing-page .site-filter-dropdown-btn {
    border: 1px solid var(--site-border, #ddd) !important;
    background-color: var(--site-surface, #fff) !important;
    color: var(--site-text) !important;
}

body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link {
    color: var(--site-text) !important;
    background-color: transparent !important;
    font-size: 0.95rem !important;
    border-radius: 0.75rem !important;
}

body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link.active {
    color: var(--bs-primary, #009ef7) !important;
    background-color: var(--site-surface, #fff) !important;
    border-bottom: 3px solid var(--bs-primary, #009ef7) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-toolbar,
[data-theme="dark"] body.site-page .site-listing-page .card.site-filter-panel,
[data-theme="dark"] body.site-page .site-listing-page .card.site-filter-toolbar {
    --bs-card-bg: #2b2b40 !important;
    background-color: #2b2b40 !important;
    color: #ffffff !important;
    border-color: #323248 !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel h5,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .form-label,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .form-check-label,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .nav-link,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .fw-bold,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-toolbar,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-toolbar .card-body {
    color: var(--bs-body-color, #fff) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .text-muted {
    color: var(--bs-secondary-color, #92929f) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-listing-chip:not(.site-listing-chip--active) {
    background-color: var(--bs-gray-200, #2b2b40) !important;
    color: var(--bs-body-color, #fff) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-dropdown-btn,
[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .form-control {
    background-color: #323248 !important;
    border-color: #474761 !important;
    color: #ffffff !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-input-addon {
    background-color: #323248 !important;
    border-color: #474761 !important;
    color: #ffffff !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link:not(.active) {
    color: var(--bs-gray-700, #92929f) !important;
    background-color: transparent !important;
}

[data-theme="dark"] body.site-page .site-listing-page .site-filter-panel .nav-pills .nav-link.active {
    color: var(--bs-primary, #009ef7) !important;
    background-color: var(--bs-gray-300, #323248) !important;
    border-bottom-color: var(--bs-primary, #009ef7) !important;
}

[data-theme="dark"] body.site-page .site-listing-page .btn-light {
    background-color: var(--bs-gray-300) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .site-listing-page #filtersModal .modal-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .site-listing-page #filtersModal .site-filter-panel {
    --bs-card-bg: #2b2b40 !important;
    background-color: #2b2b40 !important;
    color: #ffffff !important;
    border-color: #323248 !important;
}

[data-theme="dark"] body.site-page .site-listing-page #filtersModal .btn-close {
    filter: invert(1) grayscale(100%);
}

[data-theme="dark"] body.site-page .site-listing-page .dropdown-menu {
    background-color: var(--bs-body-bg);
}

[data-theme="dark"] body.site-page .site-listing-page .dropdown-item {
    color: var(--bs-body-color);
}

[data-theme="dark"] body.site-page .site-listing-page .alert-info {
    background-color: rgba(var(--bs-info-rgb, 114, 57, 234), 0.15);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-theme="dark"] body.site-page .site-listing-page .pagination .page-link {
    background-color: var(--bs-gray-200);
    color: var(--bs-body-color);
}

/* Doctors public page — Bootstrap recreation of the supplied visual reference. */
body.site-doctors-route {
    --imteb-primary: #0f98bc;
    --imteb-primary-soft: rgba(15, 152, 188, 0.08);
    --imteb-secondary: #ff7429;
    --imteb-secondary-soft: rgba(255, 116, 41, 0.08);
    --imteb-page-bg: #f2ffff;
    --imteb-text: #222;
    --imteb-muted: rgba(0, 0, 0, 0.5);
    --imteb-line: #eeeeee;
    --imteb-shadow: 0 0 16px rgba(0, 52, 66, 0.14);
    background: var(--imteb-page-bg) !important;
    color: var(--imteb-text) !important;
    font-family: "peyda", Tahoma, sans-serif !important;
}

body.site-doctors-route .site-header {
    padding: 1.5rem 0.75rem 0;
    z-index: 1040;
}

body.site-doctors-route .site-header-inner {
    max-width: none;
    min-height: 92px;
    padding: 1rem;
    border: 0;
    border-radius: 1rem;
    background: #fff !important;
    box-shadow: var(--imteb-shadow) !important;
}

body.site-doctors-route .site-header-brand img {
    width: 62px;
    height: 58px;
    border-radius: 0;
    mix-blend-mode: multiply;
}

body.site-doctors-route .site-header-brand-text,
body.site-doctors-route .site-header-actions > .app-navbar,
body.site-doctors-route .site-header-actions > :not(.btn-login):not(.site-doctors-support):not(.site-theme-toggle) {
    display: none !important;
}

body.site-doctors-route .site-header-nav {
    gap: 0.25rem;
}

body.site-doctors-route .site-header-nav .nav-link {
    padding: 0.45rem 0.55rem;
    color: var(--imteb-text) !important;
    background: transparent !important;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

body.site-doctors-route .site-header-nav .nav-link.active {
    color: var(--imteb-text) !important;
    font-size: 1rem;
    font-weight: 700;
    transform: translateY(-2px);
}

body.site-doctors-route .site-header-nav .nav-link:hover {
    color: var(--imteb-primary) !important;
    transform: translateY(-2px);
}

body.site-doctors-route .btn-login,
body.site-doctors-route .site-doctors-support {
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

body.site-doctors-route .btn-login {
    background: var(--imteb-primary) !important;
    color: #fff !important;
}

body.site-doctors-route .site-doctors-support {
    color: var(--imteb-primary) !important;
    background: var(--imteb-primary-soft);
}

.imteb-doctors-page,
.imteb-doctors-page * {
    box-sizing: border-box;
}

.imteb-page-shell {
    padding: 1rem 0.75rem 2rem;
}

.imteb-doctors-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.imteb-doctors-sidebar {
    position: sticky;
    top: 0.75rem;
    display: none;
    width: 35%;
    flex: 0 1 35%;
}

.imteb-doctors-results {
    width: 100%;
    min-width: 0;
}

.imteb-filter-card,
.imteb-filter-modal .modal-content {
    border: 0;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--imteb-shadow);
}

.imteb-filter-card {
    padding: 1.5rem;
}

.imteb-filter-heading {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-bottom: 1.75rem;
}

.imteb-filter-heading h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.imteb-icon--filter {
    display: inline-flex;
    color: var(--imteb-primary);
}

.imteb-filter-types,
.imteb-mobile-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.imteb-filter-types {
    margin-bottom: 2rem;
}

.imteb-mobile-types {
    margin-bottom: 1rem;
}

.imteb-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 88px;
    padding: 0.5rem;
    border: 2px solid transparent;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.13);
    color: var(--imteb-text) !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.imteb-type-card:hover {
    transform: translateY(-2px);
}

.imteb-type-card.is-active {
    background: var(--imteb-primary);
    color: #fff !important;
    border-color: rgba(190, 241, 255, 0.8);
}

.imteb-type-icon {
    width: 48px;
    height: 48px;
}

.imteb-type-icon svg {
    width: 100%;
    height: 100%;
}

.imteb-consult-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.imteb-consult-tabs button {
    min-height: 40px;
    padding: 0.35rem 0.5rem;
    border: 0;
    border-bottom: 4px solid transparent;
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-consult-tabs button.is-active {
    border-color: var(--imteb-primary);
    color: var(--imteb-primary);
    font-weight: 600;
}

.imteb-filter-scroll {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.imteb-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 500;
}

.imteb-filter-field input,
.imteb-filter-field select {
    width: 100%;
    min-height: 49px;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.75rem;
    outline: 0;
    background: #fff;
    color: var(--imteb-text);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
}

.imteb-filter-field input:focus,
.imteb-filter-field select:focus {
    border-color: var(--imteb-primary);
    box-shadow: 0 0 0 3px rgba(15, 152, 188, 0.1);
}

.imteb-filter-field select:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.imteb-search-control {
    position: relative;
    display: block;
}

.imteb-search-control input {
    padding-left: 2.75rem;
}

.imteb-search-control svg {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: #666;
    transform: translateY(-50%);
}

.imteb-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.imteb-radio-group legend {
    width: 100%;
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 500;
}

.imteb-radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-radio-group input {
    width: 15px;
    height: 15px;
    accent-color: var(--imteb-primary);
}

.imteb-clear-filters,
.imteb-apply-filters {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-clear-filters {
    margin-top: 0.25rem;
    background: rgba(188, 15, 15, 0.08);
    color: #bc0f0f;
}

.imteb-apply-filters {
    margin-top: 1rem;
    background: var(--imteb-primary);
    color: #fff;
}

.imteb-mobile-types {
    display: grid;
}

.imteb-mobile-types .imteb-type-card {
    min-height: 91px;
}

.imteb-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--imteb-shadow);
}

.imteb-sort-links,
.imteb-results-count {
    display: none;
}

.imteb-sort-links {
    align-items: center;
    gap: 1rem;
}

.imteb-sort-links button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font-family: inherit;
    font-size: 0.875rem;
}

.imteb-sort-links button.is-active {
    color: var(--imteb-primary);
    font-weight: 600;
}

.imteb-results-count {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.imteb-mobile-toolbar {
    display: flex;
    width: 100%;
}

.imteb-mobile-toolbar > * + * {
    border-right: 1px solid var(--imteb-line);
}

.imteb-mobile-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--imteb-text);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
}

.imteb-mobile-tool.dropdown-toggle::after {
    display: none;
}

.imteb-doctors-intro,
.imteb-doctors-seo {
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--imteb-shadow);
}

.imteb-doctors-intro {
    margin-top: 1rem;
}

.imteb-doctors-intro h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.imteb-doctors-intro h1 img {
    flex: 0 0 40px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.imteb-doctors-intro hr,
.imteb-doctors-seo hr,
.imteb-doctor-card hr {
    margin: 0.75rem 0;
    border: 0;
    border-top: 1px solid var(--imteb-line);
    opacity: 1;
}

.imteb-doctors-intro p,
.imteb-doctors-seo p {
    margin: 0;
    color: var(--imteb-text);
    font-size: 0.875rem;
    line-height: 1.9;
}

.imteb-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 16px;
    padding: 0.75rem 0;
}

.imteb-active-filters button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border: 0;
    border-radius: 999px;
    background: var(--imteb-primary-soft);
    color: var(--imteb-primary);
    font-family: inherit;
    font-size: 0.8125rem;
}

.imteb-doctors-grid {
    position: relative;
    display: grid;
    gap: 1rem;
    transition: opacity 0.15s ease;
}

.imteb-doctors-grid.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.imteb-doctor-card {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--imteb-shadow);
}

.imteb-doctor-card__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.imteb-doctor-card__avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 1rem;
    object-fit: cover;
}

.imteb-doctor-card__identity {
    min-width: 0;
    flex: 1 1 auto;
}

.imteb-doctor-card__identity h2 {
    margin: 0;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
}

.imteb-doctor-card__identity > p {
    margin: 0;
    overflow: hidden;
    color: var(--imteb-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imteb-doctor-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    padding-top: 0.35rem;
    color: var(--imteb-text);
    font-size: 0.8125rem;
}

.imteb-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.imteb-rating svg {
    color: #ffc107;
}

.imteb-meta-separator {
    color: #999;
}

.imteb-doctor-card__actions {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.imteb-doctor-card__actions button {
    display: inline-flex;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--imteb-text);
}

.imteb-doctor-card__badges {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
}

.imteb-doctor-card__badges span,
.imteb-doctor-card__centers a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: max-content;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    background: var(--imteb-primary-soft);
    color: #000 !important;
    font-size: 0.8125rem;
    text-decoration: none;
    white-space: nowrap;
}

.imteb-doctor-card__badges img,
.imteb-doctor-card__centers img {
    border-radius: 50%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.imteb-doctor-card__centers {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.imteb-doctor-card__centers strong {
    padding-top: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.imteb-doctor-card__address {
    margin: 0;
    padding-bottom: 0.75rem;
    color: var(--imteb-muted);
    font-size: 0.8125rem;
    line-height: 1.8;
}

.imteb-doctor-card__footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

.imteb-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 1.5rem;
    border-radius: 999px;
    background: var(--imteb-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-doctor-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.imteb-empty-state {
    padding: 2rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--imteb-shadow);
    color: var(--imteb-muted);
    text-align: center;
}

.imteb-pagination {
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.imteb-pagination nav > div:first-child {
    display: none !important;
}

.imteb-pagination nav > div:last-child,
.imteb-pagination nav > div:last-child > div:last-child {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.imteb-pagination .pagination {
    gap: 0.2rem;
    margin: 0;
}

.imteb-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0.25rem;
    border: 0;
    border-radius: 0.5rem !important;
    background: transparent;
    color: #444;
    box-shadow: none !important;
}

.imteb-pagination .active > .page-link {
    background: var(--imteb-primary);
    color: #fff;
}

.imteb-doctors-seo {
    margin-top: 2rem;
}

.imteb-doctors-seo h2 {
    margin: 0 0 0.6rem;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 600;
}

.imteb-doctors-seo ul {
    margin: 0;
    padding-right: 1.25rem;
}

.imteb-doctors-seo li {
    margin: 0.35rem 0;
    list-style: disc;
    font-size: 0.875rem;
}

.imteb-doctors-seo a {
    color: var(--imteb-text);
    text-decoration: none;
}

.imteb-filter-modal .modal-header {
    border: 0;
}

.imteb-filter-modal .modal-body {
    padding: 0 1rem 1rem;
}

body.site-doctors-route .site-footer {
    margin-top: 2rem;
    padding: 5rem 0.75rem 1.75rem;
    background: linear-gradient(0deg, #d4f3fe 0%, #fff 120%);
}

body.site-doctors-route .site-footer-inner {
    max-width: none;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.59) !important;
    box-shadow: var(--imteb-shadow);
    backdrop-filter: blur(24px);
}

body.site-doctors-route .site-footer-brand img {
    width: 70px;
    height: 70px;
    border-radius: 0;
    mix-blend-mode: multiply;
}

body.site-doctors-route .site-footer-brand-title {
    color: var(--imteb-primary) !important;
}

body.site-doctors-route .site-footer-nav a,
body.site-doctors-route .site-footer-bottom,
body.site-doctors-route .site-footer-bottom span {
    color: var(--imteb-text) !important;
}

body.site-doctors-route .site-footer-divider {
    background: rgba(30, 40, 51, 0.08);
}

@media (min-width: 576px) {
    body.site-doctors-route .site-header,
    .imteb-page-shell {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .imteb-doctor-card__avatar {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .imteb-doctor-card__identity h2 {
        font-size: 1.0625rem;
    }
}

@media (min-width: 768px) {
    .imteb-doctors-sidebar {
        display: block;
    }

    .imteb-doctors-results {
        width: 65%;
        flex: 0 1 65%;
    }

    .imteb-mobile-types,
    .imteb-mobile-toolbar {
        display: none;
    }

    .imteb-sort-links,
    .imteb-results-count {
        display: flex;
    }

    .imteb-doctors-intro h1 {
        font-size: 1.125rem;
    }

    .imteb-filter-scroll {
        max-height: 55vh;
        overflow-y: auto;
        padding-left: 0.5rem;
        scrollbar-color: #ccc transparent;
        scrollbar-width: thin;
    }
}

@media (min-width: 992px) {
    body.site-doctors-route .site-header-inner {
        padding-right: 1.75rem;
        padding-left: 1.75rem;
    }

    body.site-doctors-route .site-header-nav {
        gap: 0.6rem;
    }

    body.site-doctors-route .site-header-nav .nav-link {
        font-size: 0.9375rem;
    }

    body.site-doctors-route .site-header-brand img {
        width: 76px;
    }

    .imteb-filter-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .imteb-filter-card {
        padding: 1.5rem 0.75rem;
    }
}

@media (min-width: 1280px) {
    body.site-doctors-route .site-header,
    .imteb-page-shell,
    body.site-doctors-route .site-footer {
        padding-right: 11rem;
        padding-left: 11rem;
    }
}

@media (max-width: 767.98px) {
    body.site-doctors-route .site-header-inner {
        min-height: 76px;
        padding: 0.75rem 1rem;
    }

    body.site-doctors-route .site-header-brand img {
        width: 54px;
        height: 48px;
    }

    body.site-doctors-route .site-header-actions {
        margin: 0 !important;
    }

    body.site-doctors-route .site-doctors-support {
        display: none !important;
    }

    body.site-doctors-route .btn-login {
        width: 42px;
        min-width: 42px;
        padding: 0;
        overflow: hidden;
        color: transparent !important;
        font-size: 0;
    }

    body.site-doctors-route .btn-login::after {
        content: "";
        width: 19px;
        height: 19px;
        border: 1.8px solid #fff;
        border-radius: 50%;
        box-shadow: 0 8px 0 -4px #fff;
    }

    .imteb-results-toolbar {
        padding: 0.65rem 0.75rem;
    }

    .imteb-meta-separator {
        display: none;
    }

    .imteb-doctor-card__meta {
        padding-left: 3.5rem;
    }

    .imteb-filter-modal .modal-content {
        border-radius: 0;
    }
}

/* Shared reference layout: one visual system for every public page. */
body.public-site-reference .site-main {
    padding: 0 !important;
}

body.public-site-reference .site-page-container,
body.public-site-reference #kt_app_content_container.site-page-container {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 1rem 0.75rem 2rem !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

body.public-site-reference .site-header {
    margin-bottom: 0;
}

body.public-site-reference .site-header-leading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.public-site-reference .site-navbar-toggler {
    width: 40px;
    height: 32px;
    padding: 0;
    border: 0;
    box-shadow: none !important;
}

body.public-site-reference .site-navbar-toggler img {
    width: 40px;
    height: 28px;
}

body.public-site-reference .site-doctors-support,
body.public-site-reference .btn-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

body.public-site-reference .btn-login svg {
    display: none;
}

body.public-site-reference .site-footer {
    margin-top: 0;
}

body.public-site-reference .site-footer-inner {
    display: block;
    text-align: right;
}

body.public-site-reference .site-footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

body.public-site-reference .site-footer-brand img {
    width: 90px;
    height: 75px;
    object-fit: contain;
}

body.public-site-reference .site-footer-description {
    width: 87%;
    margin: 0 auto;
    color: var(--imteb-text) !important;
    font-size: 0.9375rem;
    line-height: 2;
    text-align: justify;
}

body.public-site-reference .site-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 4rem;
    width: 87%;
    margin: 3rem auto 0;
}

body.public-site-reference .site-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

body.public-site-reference .site-footer-nav strong,
body.public-site-reference .site-footer-contact > strong {
    display: block;
    margin-bottom: 1rem;
    color: var(--imteb-text);
    font-size: 0.9375rem;
    font-weight: 700;
}

body.public-site-reference .site-footer-nav a {
    display: block;
    margin-bottom: 0.5rem;
    padding: 0;
    color: var(--imteb-text) !important;
    font-size: 0.9375rem;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

body.public-site-reference .site-footer-nav a:hover {
    color: var(--imteb-primary) !important;
    transform: translateY(-2px);
    opacity: 0.8;
}

body.public-site-reference .site-footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    color: var(--imteb-text);
    font-size: 0.9375rem;
}

body.public-site-reference .site-footer-bottom {
    padding-top: 1rem;
    color: #1e2833 !important;
    font-size: 0.9375rem;
    text-align: center;
}

body.public-site-reference .site-footer-divider {
    width: 100%;
    height: 1px;
    margin: 1.5rem 0 0;
}

/* Home */
.public-home-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    overflow: hidden;
    padding: 1.375rem 0.75rem 2rem;
    color: var(--imteb-text);
}

.public-home-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -2;
    height: 760px;
    background: url("../images/public-site/reference/landing-bg.svg") top center / cover no-repeat;
    opacity: 0.7;
}

.public-home-hero {
    position: relative;
    text-align: center;
}

.public-home-umbrella {
    position: absolute;
    top: 0.5rem;
    left: -1rem;
    z-index: -1;
    display: none;
    width: 200px;
    height: 208px;
}

.public-home-kicker {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    color: var(--imteb-text);
    font-size: 1.875rem;
    letter-spacing: -1px;
}

.public-home-kicker strong {
    color: var(--imteb-primary);
    font-size: 3rem;
    font-weight: 700;
}

.public-home-hero > h1 {
    margin: 0.75rem 0 0;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.public-home-booking {
    width: 100%;
    padding: 3.75rem 5rem 0;
}

.public-home-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.5rem;
    height: 46px;
    padding: 0 1.75rem;
    border: 0;
}

.public-home-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 200px;
    min-height: 42px;
    padding: 0.5rem 0.75rem 0.4rem;
    border: 0 !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
    background: #d8f7ff !important;
    color: #000 !important;
    font-size: 1.125rem;
    font-weight: 500;
}

.public-home-tabs .nav-link.active {
    min-height: 52px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-weight: 600;
    box-shadow: 0 -4px 12.4px rgba(0, 0, 0, 0.16);
}

.public-home-tab-content {
    position: relative;
    z-index: 1;
    min-height: 315px;
    padding: 1.5rem 0;
    border: 2px solid #fff;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.59);
    backdrop-filter: blur(24px);
}

.public-home-tab-content > .tab-pane > p {
    margin: 0 0 1rem;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 500;
}

.public-home-search {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 570px;
    max-width: calc(100% - 2rem);
    min-height: 44px;
    margin: 0 auto;
    padding: 0.65rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    background: #fff;
    color: #999 !important;
    font-size: 1rem;
    text-decoration: none;
}

.public-home-search svg {
    color: var(--imteb-primary);
}

.public-home-specialties {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding-top: 0.5rem;
}

.public-home-specialties a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    padding: 0.5rem;
    color: var(--imteb-text) !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.public-home-specialties a:hover {
    transform: translateY(-8px);
}

.public-home-specialties img {
    width: 124px;
    height: 124px;
    border-radius: 1rem;
    object-fit: cover;
}

.public-home-specialties span {
    margin-top: 0.75rem;
}

.public-home-specialties small {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
}

.public-home-statistics {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
}

.public-home-statistics > div {
    width: max-content;
    text-align: center;
}

.public-home-statistics strong {
    display: block;
    font-size: 3rem;
    font-weight: 700;
}

.public-home-statistics span {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding-top: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.public-home-statistics i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--imteb-secondary);
}

.public-home-stat-line {
    display: none;
}

.public-home-section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.public-home-section-heading h2 {
    margin: 0;
    color: var(--imteb-text);
    font-size: 2rem;
    font-weight: 700;
}

.public-home-section-heading p {
    margin: 0.4rem 0 0;
    font-size: 1rem;
}

.public-home-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.public-home-service-grid article {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 1.25rem;
    border-radius: 2rem;
    background: #d8f7ff;
}

.public-home-service-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.public-home-service-title img {
    width: 58px;
    height: 58px;
}

.public-home-service-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.public-home-service-grid article > p {
    margin: 1rem 0;
    color: rgba(34, 34, 34, 0.84);
    font-size: 0.9375rem;
    line-height: 2;
    text-align: justify;
}

.public-home-service-grid article > a {
    align-self: flex-end;
    margin-top: auto;
    color: var(--imteb-primary) !important;
    font-weight: 600;
    text-decoration: none;
}

.public-home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, var(--imteb-primary), #087c9b);
    color: #fff;
}

.public-home-cta h2 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.75rem;
}

.public-home-cta p {
    margin: 0;
    color: #fff;
}

.public-home-cta > a {
    min-width: 140px;
    padding: 0.7rem 1.25rem;
    border-radius: 1rem;
    background: #fff;
    color: var(--imteb-primary) !important;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

/* Detail pages share the same shell and cards; only their reference column ratios differ. */
body.public-doctor-page .site-page-container > main,
body.public-center-page .site-page-container > main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
}

body.public-doctor-page .site-page-container > main > [class*="col-"],
body.public-center-page .site-page-container > main > [class*="col-"] {
    padding: 0;
}

body.public-doctor-page .site-page-container .card,
body.public-center-page .site-page-container .card,
body.public-center-page .site-page-container .bg-light,
body.public-doctor-page .site-page-container .bg-light {
    border: 0 !important;
    background: #fff !important;
    box-shadow: var(--imteb-shadow) !important;
}

body.public-doctor-page .site-page-container .card {
    border-radius: 2rem !important;
}

body.public-center-page .site-page-container .card,
body.public-center-page .site-page-container .bg-light {
    border-radius: 1rem !important;
}

body.public-doctor-page .site-page-container .card-body,
body.public-center-page .site-page-container .card-body {
    padding: 1.25rem;
}

body.public-doctor-page .site-page-container .btn-primary,
body.public-center-page .site-page-container .btn-primary {
    border-color: var(--imteb-primary) !important;
    background: var(--imteb-primary) !important;
}

body.public-doctor-page .site-page-container .badge,
body.public-center-page .site-page-container .badge {
    padding: 0.35rem 0.6rem;
    border: 0 !important;
    border-radius: 1rem;
    background: var(--imteb-primary-soft) !important;
    color: var(--imteb-text) !important;
    font-size: 0.8125rem;
    font-weight: 400;
}

body.public-doctor-page .site-page-container .accordion-item,
body.public-center-page .site-page-container .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--imteb-line);
    background: transparent;
}

body.public-doctor-page .site-page-container .accordion-button,
body.public-center-page .site-page-container .accordion-button {
    padding: 1rem 0;
    background: transparent !important;
    color: var(--imteb-text) !important;
    box-shadow: none !important;
    font-size: 0.875rem;
}

/* Doctor detail — matched to the public Imteb physician page. */
.imteb-doctor-detail,
.imteb-doctor-detail * {
    box-sizing: border-box;
}

.imteb-doctor-detail {
    width: 100%;
    padding: 1rem 11rem 4rem;
    color: #222;
}

.imteb-doctor-layout {
    display: grid;
    grid-template-columns: minmax(0, 60fr) minmax(320px, 40fr);
    grid-template-areas:
        "profile booking"
        "reviews booking"
        "reviews faq";
    align-items: start;
    gap: 1rem;
}

.imteb-doctor-profile-card,
.imteb-booking-card,
.imteb-center-selector,
.imteb-doctor-faq-card,
.imteb-doctor-reviews-card {
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 0 16px rgba(0, 52, 66, 0.14);
}

.imteb-doctor-profile-card {
    grid-area: profile;
    padding: 1.25rem;
}

.imteb-doctor-profile-card__top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.imteb-doctor-profile-card__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
}

.imteb-doctor-profile-card__identity > img {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 0.75rem;
    object-fit: cover;
}

.imteb-doctor-profile-card__identity h1 {
    margin: 0;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.imteb-doctor-profile-card__identity p {
    margin: 0.2rem 0 0;
    color: #333;
    font-size: 0.875rem;
}

.imteb-doctor-profile-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    padding-top: 0.5rem;
    color: #222;
    font-size: 0.875rem;
}

.imteb-doctor-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.imteb-doctor-rating i,
.imteb-review-summary__stars i,
.imteb-review-metrics i,
.imteb-review-list header > span i {
    color: #ffc107;
}

.imteb-meta-separator {
    color: #9ca3af;
}

.imteb-doctor-profile-card__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.55rem;
    padding-top: 0.2rem;
}

.imteb-doctor-profile-card__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(34, 34, 34, 0.5);
    font-size: 1.25rem;
}

.imteb-doctor-profile-card__actions .is-favorite {
    color: #dc2626;
}

.imteb-doctor-about {
    position: relative;
    padding-top: 1rem;
}

.imteb-doctor-about__text {
    overflow: hidden;
    max-height: 4500px;
    color: rgba(34, 34, 34, 0.84);
    font-size: 0.875rem;
    line-height: 2;
    text-align: justify;
    transition: max-height 0.5s ease;
}

.imteb-doctor-about.is-collapsed .imteb-doctor-about__text {
    max-height: 3.5em;
}

.imteb-doctor-about__fade {
    display: none;
    pointer-events: none;
    position: absolute;
    right: 0;
    bottom: 1.4rem;
    left: 0;
    height: 2rem;
    background: linear-gradient(to top, #fff, transparent);
}

.imteb-doctor-about.is-collapsed .imteb-doctor-about__fade {
    display: block;
}

.imteb-doctor-about > button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    margin: 0.5rem auto 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 52, 66, 0.14);
}

.imteb-doctor-booking-column {
    grid-area: booking;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.imteb-center-selector {
    padding: 1.25rem;
}

.imteb-center-selector > strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.imteb-center-selector > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.imteb-center-selector button {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(15, 152, 188, 0.35);
    border-radius: 0.75rem;
    background: #fff;
    color: #0f98bc;
    font-size: 0.8125rem;
}

.imteb-center-selector button.is-selected {
    background: #0f98bc;
    color: #fff;
}

.imteb-booking-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

.imteb-booking-card__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.imteb-booking-card__head img {
    width: 24px;
    height: 24px;
}

.imteb-booking-card__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.imteb-booking-card__head a {
    color: #222 !important;
    text-decoration: none;
}

.imteb-booking-card__address {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.75rem 0;
    color: rgba(34, 34, 34, 0.64);
}

.imteb-booking-card__address i {
    margin-top: 0.1rem;
    color: #222;
}

.imteb-booking-card__address p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
}

.imteb-booking-card__services {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    padding-bottom: 0.5rem;
    overflow: hidden;
}

.imteb-booking-card__services > span {
    flex: 0 0 auto;
    padding-top: 0.2rem;
    font-size: 0.875rem;
}

.imteb-booking-card__services > div {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.imteb-service-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.25rem;
    min-height: 26px;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    background: rgba(255, 116, 41, 0.08);
    color: #222;
    font-size: 0.75rem;
    white-space: nowrap;
}

.imteb-service-pill img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.imteb-booking-card__nearest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.45rem;
    padding: 0.25rem 0 0.75rem;
    font-size: 0.875rem;
}

.imteb-booking-card__nearest strong {
    font-weight: 500;
}

.imteb-booking-card__button,
.imteb-open-review,
.imteb-review-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border: 0;
    border-radius: 1rem;
    background: #0f98bc;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-doctor-faq-card {
    grid-area: faq;
    padding: 1.25rem;
}

.imteb-doctor-faq-card > h2,
.imteb-doctor-reviews-card > h2 {
    margin: 0;
    padding-bottom: 0.65rem;
    font-size: 1rem;
    font-weight: 600;
}

.imteb-doctor-faq-card .accordion-item {
    border: 0;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.imteb-doctor-faq-card .accordion-item:last-child {
    border-bottom: 0;
}

.imteb-doctor-faq-card .accordion-button {
    padding: 1rem 0;
    background: transparent !important;
    color: #222 !important;
    box-shadow: none !important;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.8;
    text-align: right;
}

.imteb-doctor-faq-card .accordion-body {
    padding: 0 0 1rem;
    color: rgba(34, 34, 34, 0.74);
    font-size: 0.875rem;
    line-height: 2;
}

.imteb-doctor-reviews-card {
    grid-area: reviews;
    margin-top: 0;
    padding: 1.25rem;
}

.imteb-review-summary {
    padding: 1rem 0;
    border-radius: 2rem;
    background: rgba(255, 193, 7, 0.08);
    text-align: center;
}

.imteb-review-summary > strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.imteb-review-summary__stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.15rem;
    font-size: 1.15rem;
}

.imteb-review-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 0;
    text-align: right;
}

.imteb-review-metrics > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 1rem;
    align-items: center;
}

.imteb-review-metrics span,
.imteb-review-metrics b {
    font-size: 0.8125rem;
    font-weight: 400;
}

.imteb-review-metrics progress {
    grid-column: 1 / -1;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    accent-color: #ffc107;
}

.imteb-review-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.imteb-review-facts > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    border-radius: 1rem;
    background: #f7f7f7;
}

.imteb-review-facts strong {
    color: #0f98bc;
    font-size: 1.25rem;
}

.imteb-review-facts span {
    color: rgba(34, 34, 34, 0.7);
    font-size: 0.8125rem;
}

.imteb-open-review {
    margin: 0.25rem 0 1rem;
}

.imteb-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.imteb-review-list article {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 1rem;
}

.imteb-review-list article header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.imteb-review-list article header > div {
    display: flex;
    flex-direction: column;
}

.imteb-review-list article header strong,
.imteb-review-list article header span {
    font-size: 0.875rem;
}

.imteb-review-list article time {
    color: #999;
    font-size: 0.75rem;
}

.imteb-review-list article p {
    margin: 0.65rem 0 0;
    color: rgba(34, 34, 34, 0.82);
    font-size: 0.875rem;
    line-height: 1.9;
    text-align: justify;
}

.imteb-review-list .is-recommended {
    color: #198754;
}

.imteb-doctor-empty {
    margin: 0;
    padding: 1rem 0;
    color: #777;
    font-size: 0.875rem;
    text-align: center;
}

/* Appointment modal */
.imteb-appointment-modal {
    --appointment-primary: #0f98bc;
    z-index: 1100;
}

.imteb-appointment-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: min(680px, 46vw);
    margin-right: auto;
    margin-left: auto;
}

.imteb-appointment-modal .modal-content {
    max-height: 84vh;
    overflow: hidden !important;
    border: 0;
    border-radius: 1rem !important;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 52, 66, 0.24);
}

.imteb-appointment-close,
.imteb-review-modal__close {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0.35rem;
    background: #fff;
    color: #222;
}

.imteb-appointment-doctor {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 3rem 0.75rem 1rem;
}

.imteb-appointment-doctor img {
    width: 55px;
    height: 55px;
    border-radius: 0.75rem;
    object-fit: cover;
}

.imteb-appointment-doctor h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.imteb-appointment-doctor p {
    margin: 0.2rem 0 0;
    color: #666;
    font-size: 0.8125rem;
}

.imteb-appointment-body {
    height: 100%;
    overflow-y: auto;
    padding: 0 1rem 1rem;
}

.imteb-service-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.imteb-service-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 1rem !important;
    background: #fff;
}

.imteb-service-accordion .accordion-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.8rem 1rem;
    background: rgba(15, 152, 188, 0.08) !important;
    color: #222 !important;
    box-shadow: none !important;
}

.imteb-service-accordion .accordion-button::after {
    position: absolute;
    left: 1rem;
}

.imteb-service-accordion .accordion-button span {
    padding-left: 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.imteb-service-accordion .accordion-button small {
    color: rgba(34, 34, 34, 0.58);
    font-size: 0.75rem;
}

.imteb-service-accordion .accordion-body {
    padding: 0.5rem 1rem 1rem;
}

.imteb-date-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0 0.75rem;
}

.imteb-date-heading > strong,
.imteb-time-section > strong {
    font-size: 0.9375rem;
    font-weight: 600;
}

.imteb-date-heading button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.4rem 0.75rem;
    border: 0;
    border-radius: 1rem;
    background: rgba(255, 116, 41, 0.08);
    color: #ff7429;
    font-size: 0.75rem;
    font-weight: 500;
}

.imteb-date-list {
    display: flex;
    width: 100%;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.75rem;
    border-bottom: 1px dashed #222;
    scrollbar-width: thin;
}

.imteb-date-list > button {
    display: flex;
    flex: 0 0 84px;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 84px;
    padding: 0.65rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    background: rgba(15, 152, 188, 0.08);
    color: #222;
    box-shadow: 0 2px 5px #e9f9fc;
}

.imteb-date-list > button > span {
    font-size: 0.75rem;
    font-weight: 500;
}

.imteb-date-list > button b {
    width: 100%;
    padding: 0.25rem;
    border-radius: 0.4rem;
    background: #fff;
    color: #222;
    font-size: 0.75rem;
}

.imteb-date-list > button.is-selected {
    background: #0f98bc;
    color: #fff;
}

.imteb-date-list > button.is-selected b {
    background: #00aad6;
    color: #fff;
}

.imteb-time-section {
    padding-top: 0.65rem;
}

.imteb-time-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.6rem;
}

.imteb-time-list > button {
    min-width: 70px;
    padding: 0.25rem 0.5rem;
    border: 0;
    border-radius: 0.4rem;
    background: rgba(15, 152, 188, 0.08);
    color: #0f98bc;
    font-size: 0.875rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.imteb-time-list > button:hover,
.imteb-time-list > button.is-selected {
    background: #00aad6;
    color: #fff;
}

.imteb-time-list > button.is-disabled {
    background: rgba(34, 34, 34, 0.08);
    color: #999;
    text-decoration: line-through;
}

.imteb-time-list > p {
    width: 100%;
    margin: 0;
    padding: 1rem 0;
    color: #777;
    font-size: 0.8125rem;
    text-align: center;
}

.imteb-empty-appointment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #777;
    text-align: center;
}

.imteb-empty-appointment i {
    color: #0f98bc;
    font-size: 2rem;
}

.imteb-empty-appointment p {
    margin: 0;
}

.imteb-appointment-confirmation {
    padding-top: 0.5rem;
}

.imteb-attention-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.75rem;
    font-size: 1.0625rem;
}

.imteb-attention-title i,
.imteb-attention-title strong {
    color: #dc2626;
}

.imteb-attention-title span {
    font-weight: 600;
}

.imteb-rules-box {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(15, 152, 188, 0.08);
}

.imteb-rules-box ul {
    margin: 0;
    padding-right: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.9;
    text-align: justify;
}

.imteb-rules-box a {
    color: #2563eb !important;
}

.imteb-selected-appointment {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.imteb-selected-appointment > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #fafafa;
}

.imteb-selected-appointment small {
    color: #777;
}

.imteb-selected-appointment strong {
    font-size: 0.8125rem;
    font-weight: 500;
}

.imteb-rules-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0 0.75rem;
    cursor: pointer;
}

.imteb-rules-check input {
    width: 20px;
    height: 20px;
    accent-color: #0f98bc;
}

.imteb-confirm-actions {
    display: flex;
    gap: 1rem;
}

.imteb-confirm-actions button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 1rem;
    font-weight: 500;
}

.imteb-confirm-actions .is-cancel {
    background: rgba(15, 152, 188, 0.08);
    color: #0f98bc;
}

.imteb-confirm-actions .is-continue {
    background: #0f98bc;
    color: #fff;
}

.imteb-confirm-actions .is-continue:disabled {
    background: #ccc;
    color: #777;
}

/* Review modal */
.imteb-review-modal {
    position: relative;
    overflow: hidden !important;
    padding: 1.5rem;
    border: 0;
    border-radius: 1rem !important;
}

.imteb-review-modal h2 {
    margin: 0 0 1rem;
    padding-left: 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.imteb-review-modal > label:not(.imteb-review-recommend) {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-review-stars {
    display: flex;
    gap: 0.35rem;
    padding-top: 0.35rem;
}

.imteb-review-stars button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #ccc;
    font-size: 1.5rem;
}

.imteb-review-stars i.is-active {
    color: #ffc107;
}

.imteb-review-modal textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    outline: 0;
}

.imteb-review-modal textarea:focus {
    border-color: #0f98bc;
}

.imteb-review-recommend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    cursor: pointer;
}

.imteb-review-recommend input {
    width: 18px;
    height: 18px;
    accent-color: #0f98bc;
}

@media (max-width: 1279.98px) {
    .imteb-doctor-detail {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .imteb-appointment-modal .modal-dialog {
        max-width: min(720px, 80vw);
    }
}

@media (max-width: 991.98px) {
    .imteb-doctor-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "profile"
            "booking"
            "faq"
            "reviews";
    }

    .imteb-doctor-booking-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .imteb-center-selector {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .imteb-doctor-detail {
        padding: 1rem 0.75rem 3rem;
    }

    .imteb-doctor-profile-card,
    .imteb-booking-card,
    .imteb-center-selector,
    .imteb-doctor-faq-card,
    .imteb-doctor-reviews-card {
        border-radius: 1rem;
    }

    .imteb-doctor-profile-card__top {
        flex-direction: column;
    }

    .imteb-doctor-profile-card__identity {
        align-items: flex-start;
    }

    .imteb-doctor-profile-card__identity > img {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .imteb-doctor-profile-card__actions {
        align-self: flex-end;
        margin-top: -1rem;
    }

    .imteb-meta-separator {
        display: none;
    }

    .imteb-doctor-booking-column {
        display: flex;
    }

    .imteb-review-metrics {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .imteb-appointment-modal .modal-dialog {
        display: flex;
        align-items: flex-end;
        width: 100%;
        max-width: none;
        min-height: 100%;
        margin: 0;
    }

    .imteb-appointment-modal .modal-content {
        width: 100%;
        max-height: 92vh;
        border-radius: 1rem 1rem 0 0 !important;
    }

    .imteb-service-accordion .accordion-body {
        padding-right: 0.65rem;
        padding-left: 0.65rem;
    }

    .imteb-date-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .imteb-selected-appointment {
        grid-template-columns: 1fr;
    }
}

/* Clinic detail — aligned with the public Imteb clinic profile. */
.imteb-clinic-detail,
.imteb-clinic-detail * {
    box-sizing: border-box;
}

.imteb-clinic-detail {
    width: 100%;
    padding: 1rem 11rem 4rem;
    color: #222;
}

.imteb-clinic-layout {
    display: grid;
    grid-template-columns: minmax(0, 70fr) minmax(280px, 30fr);
    grid-template-areas:
        "profile sidebar"
        "physicians sidebar"
        "services sidebar"
        "reviews sidebar";
    align-items: start;
    gap: 1rem;
}

.imteb-clinic-profile-card,
.imteb-clinic-physicians-card,
.imteb-clinic-services-card,
.imteb-clinic-reviews-card,
.imteb-clinic-contact-card,
.imteb-clinic-insurance-card,
.imteb-clinic-faq-card {
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0 16px rgba(0, 52, 66, 0.14);
}

.imteb-clinic-profile-card {
    grid-area: profile;
    padding: 1.25rem;
}

.imteb-clinic-profile-card__top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.imteb-clinic-profile-card__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
}

.imteb-clinic-profile-card__identity > img {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    padding: 0.25rem;
    border-radius: 0.75rem;
    background: #fff;
    object-fit: contain;
}

.imteb-clinic-profile-card__identity h1 {
    margin: 0;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.imteb-clinic-profile-card__identity p {
    margin: 0.2rem 0 0;
    color: #444;
    font-size: 0.875rem;
}

.imteb-clinic-profile-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    padding-top: 0.45rem;
    font-size: 0.875rem;
}

.imteb-clinic-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.imteb-clinic-rating i,
.imteb-clinic-physician__rating i {
    color: #ffc107;
}

.imteb-clinic-profile-card__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
}

.imteb-clinic-profile-card__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(34, 34, 34, 0.5);
    font-size: 1.25rem;
}

.imteb-clinic-profile-card__actions .is-favorite {
    color: #dc2626;
}

.imteb-clinic-specialities {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding-top: 1rem;
}

.imteb-clinic-specialities > strong {
    flex: 0 0 auto;
    padding-top: 0.2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.imteb-clinic-specialities > div {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.imteb-clinic-specialities span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.25rem;
    min-height: 28px;
    padding: 0.2rem 0.55rem;
    border-radius: 1rem;
    background: rgba(15, 152, 188, 0.08);
    font-size: 0.8125rem;
    white-space: nowrap;
}

.imteb-clinic-specialities img {
    object-fit: contain;
    mix-blend-mode: multiply;
}

.imteb-clinic-about {
    position: relative;
    padding-top: 1rem;
}

.imteb-clinic-about h2 {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.imteb-clinic-about__text {
    overflow: hidden;
    max-height: 4500px;
    color: rgba(34, 34, 34, 0.82);
    font-size: 0.875rem;
    line-height: 2;
    text-align: justify;
    transition: max-height 0.4s ease;
}

.imteb-clinic-about.is-collapsed .imteb-clinic-about__text {
    max-height: 3.8em;
}

.imteb-clinic-about__fade {
    display: none;
    pointer-events: none;
    position: absolute;
    right: 0;
    bottom: 1.4rem;
    left: 0;
    height: 2.2rem;
    background: linear-gradient(to top, #fff, transparent);
}

.imteb-clinic-about.is-collapsed .imteb-clinic-about__fade {
    display: block;
}

.imteb-clinic-about > button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    margin: 0.5rem auto 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 52, 66, 0.14);
}

.imteb-clinic-sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.imteb-clinic-contact-card,
.imteb-clinic-insurance-card,
.imteb-clinic-faq-card {
    padding: 1.25rem;
}

.imteb-clinic-contact-card > h2,
.imteb-clinic-insurance-card > h2,
.imteb-clinic-faq-card > h2,
.imteb-clinic-reviews-card > h2 {
    margin: 0;
    padding-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.imteb-clinic-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
}

.imteb-clinic-contact-row > i {
    flex: 0 0 auto;
    padding-top: 0.15rem;
    color: #0f98bc;
    font-size: 1.1rem;
}

.imteb-clinic-contact-row > div {
    min-width: 0;
}

.imteb-clinic-contact-row strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
}

.imteb-clinic-contact-row p {
    margin: 0.2rem 0 0;
    color: rgba(34, 34, 34, 0.68);
    font-size: 0.8125rem;
    line-height: 1.9;
    text-align: justify;
}

.imteb-clinic-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-top: 0.25rem;
}

.imteb-clinic-phones a {
    padding: 0.25rem 0.55rem;
    border-radius: 0.65rem;
    background: rgba(15, 152, 188, 0.08);
    color: #0f98bc !important;
    font-size: 0.8125rem;
    text-decoration: none;
}

.imteb-clinic-map {
    width: 100%;
    height: 185px;
    margin-top: 0.85rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #eaf7fa;
    z-index: 1;
}

.imteb-clinic-map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    margin-top: 0.5rem;
    border-radius: 0.75rem;
    background: rgba(15, 152, 188, 0.08);
    color: #0f98bc !important;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

.imteb-clinic-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
}

.imteb-clinic-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 0.75rem;
    background: #f7f7f7;
    color: #0f98bc !important;
}

.imteb-clinic-socials img {
    object-fit: contain;
}

.imteb-clinic-insurance-card > div {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.imteb-clinic-insurance-card span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.45rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(15, 152, 188, 0.06);
    font-size: 0.8125rem;
}

.imteb-clinic-insurance-card img {
    border-radius: 50%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.imteb-clinic-faq-card .accordion-item {
    border: 0;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.imteb-clinic-faq-card .accordion-item:last-child {
    border-bottom: 0;
}

.imteb-clinic-faq-card .accordion-button {
    padding: 1rem 0;
    background: transparent !important;
    color: #222 !important;
    box-shadow: none !important;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.8;
    text-align: right;
}

.imteb-clinic-faq-card .accordion-body {
    padding: 0 0 1rem;
    color: rgba(34, 34, 34, 0.74);
    font-size: 0.875rem;
    line-height: 2;
}

.imteb-clinic-physicians-card {
    grid-area: physicians;
    padding: 1.25rem;
}

.imteb-clinic-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
}

.imteb-clinic-section-heading > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.imteb-clinic-section-heading img {
    flex: 0 0 auto;
    object-fit: contain;
}

.imteb-clinic-section-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.imteb-clinic-section-heading p {
    margin: 0.1rem 0 0;
    color: #777;
    font-size: 0.75rem;
}

.imteb-clinic-physicians-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.imteb-clinic-physician {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 1rem;
    background: #fff;
}

.imteb-clinic-physician__identity {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.imteb-clinic-physician__identity > img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    object-fit: cover;
}

.imteb-clinic-physician__identity > div {
    min-width: 0;
}

.imteb-clinic-physician h3 {
    margin: 0;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imteb-clinic-physician h3 a {
    color: #222 !important;
    text-decoration: none;
}

.imteb-clinic-physician__identity p {
    margin: 0.15rem 0 0;
    overflow: hidden;
    color: #666;
    font-size: 0.8125rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imteb-clinic-physician__rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding-top: 0.25rem;
    font-size: 0.75rem;
}

.imteb-clinic-physician__rating strong {
    font-weight: 500;
}

.imteb-clinic-physician__nearest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    min-height: 46px;
    margin-top: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(15, 152, 188, 0.06);
    font-size: 0.75rem;
}

.imteb-clinic-physician__nearest i {
    color: #0f98bc;
}

.imteb-clinic-physician__nearest strong {
    font-weight: 500;
}

.imteb-clinic-physician__nearest.is-empty {
    color: #777;
    background: #f8f8f8;
}

.imteb-clinic-physician__book {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 0.65rem;
    border-radius: 0.75rem;
    background: #0f98bc;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
}

.imteb-clinic-services-card {
    grid-area: services;
    padding: 1.25rem;
}

.imteb-clinic-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.imteb-clinic-services-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #eee;
    border-radius: 1rem;
}

.imteb-clinic-services-list article > div {
    min-width: 0;
}

.imteb-clinic-services-list h3 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.imteb-clinic-services-list p {
    margin: 0.2rem 0 0;
    color: #777;
    font-size: 0.75rem;
    line-height: 1.7;
}

.imteb-clinic-services-list article > strong {
    flex: 0 0 auto;
    color: #0f98bc;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.imteb-clinic-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding-top: 0.4rem;
}

.imteb-clinic-service-tags span {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 152, 188, 0.08);
    color: #0f98bc;
    font-size: 0.6875rem;
}

.imteb-clinic-reviews-card {
    grid-area: reviews;
    padding: 1.25rem;
}

.imteb-clinic-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #777;
    text-align: center;
}

.imteb-clinic-empty i {
    color: #0f98bc;
    font-size: 2rem;
}

.imteb-clinic-empty p,
.imteb-clinic-empty-text {
    margin: 0;
    color: #777;
    font-size: 0.875rem;
    text-align: center;
}

.imteb-clinic-empty-text {
    padding: 1rem 0;
}

@media (max-width: 1279.98px) {
    .imteb-clinic-detail {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 991.98px) {
    .imteb-clinic-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "profile"
            "sidebar"
            "physicians"
            "services"
            "reviews";
    }

    .imteb-clinic-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .imteb-clinic-faq-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .imteb-clinic-physicians-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .imteb-clinic-detail {
        padding: 1rem 0.75rem 3rem;
    }

    .imteb-clinic-profile-card__top {
        flex-direction: column;
    }

    .imteb-clinic-profile-card__identity {
        align-items: flex-start;
    }

    .imteb-clinic-profile-card__identity > img {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .imteb-clinic-profile-card__actions {
        align-self: flex-end;
        margin-top: -1rem;
    }

    .imteb-clinic-sidebar {
        display: flex;
    }

    .imteb-clinic-services-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .imteb-clinic-services-list article > strong {
        align-self: flex-end;
    }
}

/* About page */
.public-about-shell > main {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    color: var(--imteb-text);
}

.public-about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 3rem;
    min-height: 520px;
    overflow: hidden;
    padding: 3.5rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #fff 12%, #e1faff 100%);
    box-shadow: var(--imteb-shadow);
}

.public-about-copy {
    position: relative;
    z-index: 2;
}

.public-about-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--imteb-secondary-soft);
    color: var(--imteb-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.public-about-copy h1 {
    max-width: 620px;
    margin: 1rem 0 1.25rem;
    color: var(--imteb-text);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.45;
}

.public-about-copy p,
.public-about-services p {
    margin: 0 0 0.9rem;
    color: rgba(34, 34, 34, 0.78);
    font-size: 0.9375rem;
    line-height: 2.1;
    text-align: justify;
}

.public-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.public-about-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--imteb-primary);
    border-radius: 1rem;
    color: var(--imteb-primary) !important;
    font-weight: 600;
    text-decoration: none;
}

.public-about-actions a:first-child {
    background: var(--imteb-primary);
    color: #fff !important;
}

.public-about-visual {
    position: relative;
    min-height: 390px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
}

.public-about-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 150px;
    height: 120px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
}

.public-about-orbit {
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(15, 152, 188, 0.35);
    border-radius: 50%;
}

.public-about-orbit--two {
    inset: 27%;
    border-style: solid;
    border-color: rgba(255, 116, 41, 0.18);
}

.public-about-person {
    position: absolute;
    z-index: 2;
    width: 104px;
    height: 104px;
    border: 7px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 52, 66, 0.16);
}

.public-about-person--one { top: 5%; right: 12%; }
.public-about-person--two { right: 4%; bottom: 7%; }
.public-about-person--three { bottom: 8%; left: 5%; }

.public-about-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.public-about-feature-grid article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 180px;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--imteb-shadow);
    text-align: center;
    transition: transform 0.18s ease;
}

.public-about-feature-grid article:hover {
    transform: translateY(-4px);
}

.public-about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 1.25rem;
    background: var(--imteb-primary-soft);
}

.public-about-feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.public-about-feature-grid h3 {
    margin: 0;
    color: var(--imteb-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.8;
}

.public-about-services {
    display: grid;
    grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
    overflow: hidden;
    padding: 2.5rem 3rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #d8f7ff, #fff);
}

.public-about-services-art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.72);
}

.public-about-services-art img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.public-about-services h2 {
    margin: 1rem 0 0.75rem;
    color: var(--imteb-text);
    font-size: 2rem;
    font-weight: 700;
}

@media (min-width: 576px) {
    body.public-site-reference .site-page-container,
    body.public-site-reference #kt_app_content_container.site-page-container,
    .public-home-shell {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

@media (min-width: 992px) {
    body.public-doctor-page .site-page-container > main > .col-lg-7 {
        width: calc(60% - 0.5rem);
        flex: 0 0 calc(60% - 0.5rem);
    }

    body.public-doctor-page .site-page-container > main > .col-lg-5 {
        width: calc(40% - 0.5rem);
        flex: 0 0 calc(40% - 0.5rem);
    }

    body.public-center-page .site-page-container > main > .col-lg-7 {
        width: calc(70% - 0.5rem);
        flex: 0 0 calc(70% - 0.5rem);
    }

    body.public-center-page .site-page-container > main > .col-lg-5 {
        width: calc(30% - 0.5rem);
        flex: 0 0 calc(30% - 0.5rem);
    }
}

@media (min-width: 1280px) {
    body.public-site-reference .site-page-container,
    body.public-site-reference #kt_app_content_container.site-page-container,
    .public-home-shell {
        padding-right: 11rem !important;
        padding-left: 11rem !important;
    }
}

@media (max-width: 991.98px) {
    .public-home-booking {
        padding-right: 0;
        padding-left: 0;
    }

    .public-home-service-grid {
        grid-template-columns: 1fr;
    }

    body.public-doctor-page .site-page-container > main,
    body.public-center-page .site-page-container > main {
        flex-direction: column;
    }

    .public-about-hero {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .public-about-visual {
        min-height: 330px;
    }

    .public-about-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.public-site-reference .site-header-actions {
        display: flex !important;
        flex-direction: row;
    }

    body.public-site-reference .site-doctors-support {
        display: inline-flex !important;
        width: 42px;
        min-width: 42px;
        padding: 0;
    }

    body.public-site-reference .site-doctors-support span,
    body.public-site-reference .btn-login span {
        display: none;
    }

    body.public-site-reference .btn-login {
        width: 42px;
        min-width: 42px;
        padding: 0;
        color: #fff !important;
    }

    body.public-site-reference .btn-login::after {
        display: none;
    }

    body.public-site-reference .btn-login svg {
        display: block;
    }

    body.public-site-reference .site-footer-description,
    body.public-site-reference .site-footer-columns {
        width: 100%;
    }

    body.public-site-reference .site-footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    body.public-site-reference .site-footer-contact {
        grid-column: 1 / -1;
    }

    .public-home-shell {
        gap: 5rem;
    }

    .public-home-kicker {
        width: 300px;
        font-size: 1.5rem;
    }

    .public-home-kicker strong {
        font-size: 1.625rem;
    }

    .public-home-hero > h1 {
        font-size: 0.9375rem;
        line-height: 1.8;
    }

    .public-home-booking {
        padding-top: 4.375rem;
    }

    .public-home-tabs {
        padding: 0 1rem;
    }

    .public-home-tabs .nav-item {
        flex: 1 1 50%;
    }

    .public-home-tabs .nav-link {
        width: 100%;
        font-size: 0.875rem;
    }

    .public-home-tabs .nav-link img {
        width: 22px;
        height: 22px;
    }

    .public-home-specialties {
        display: grid;
        grid-template-columns: repeat(2, 130px);
        justify-content: center;
        gap: 0.5rem;
    }

    .public-home-specialties a {
        width: 130px;
    }

    .public-home-specialties img {
        width: 110px;
        height: 110px;
    }

    .public-home-tab-content {
        min-height: 490px;
    }

    .public-home-statistics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 0.75rem;
    }

    .public-home-statistics strong {
        font-size: 2rem;
    }

    .public-home-statistics span {
        font-size: 0.875rem;
    }

    .public-home-statistics > img:not(.public-home-stat-line) {
        display: none;
    }

    .public-home-stat-line {
        position: absolute;
        display: block;
        pointer-events: none;
    }

    .public-home-stat-line.horizontal {
        top: 50%;
        left: 0;
        width: 100%;
    }

    .public-home-stat-line.vertical {
        top: 0;
        left: 50%;
        height: 100%;
        transform: translateX(-50%);
    }

    .public-home-section-heading h2 {
        font-size: 1.5rem;
    }

    .public-home-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .public-about-shell > main {
        gap: 4.5rem;
    }

    .public-about-hero {
        gap: 1.5rem;
        min-height: 0;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .public-about-copy h1 {
        font-size: 2rem;
    }

    .public-about-visual {
        min-height: 280px;
    }

    .public-about-person {
        width: 78px;
        height: 78px;
    }

    .public-about-logo {
        width: 110px;
        height: 90px;
    }

    .public-about-feature-grid {
        gap: 0.75rem;
    }

    .public-about-feature-grid article {
        min-height: 150px;
        padding: 1rem 0.75rem;
    }

    .public-about-services {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .public-about-services-art {
        min-height: 190px;
    }

    .public-about-services h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 640px) {
    .public-home-umbrella {
        display: block;
    }
}

@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-100.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-200.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "PeydaPublic"; src: url("../fonts/public-site/peyda/peyda-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

body.public-site-reference,
body.public-site-reference button,
body.public-site-reference input,
body.public-site-reference select,
body.public-site-reference textarea {
    font-family: "PeydaPublic", Arial, sans-serif !important;
}
