/* Homepage layout polish */
.home-page--content {
    background: linear-gradient(180deg, #f5fbfb 0%, #ffffff 45%, #f5fbfb 100%);
}

.home-page .main-section--full-bleed {
    width: 100vw;
    max-width: 100%;
    margin-inline: calc(50% - 50vw);
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.home-page .main-slider--full-width {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-page .main-slider--full-width .slide-link {
    display: block;
    text-decoration: none;
}

.home-page .main-slider--full-width .slide-content {
    width: 100%;
    aspect-ratio: 21 / 7;
    border-radius: 0;
}

.home-page .main-slider--full-width .slide-content picture,
.home-page .main-slider--full-width .slide-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .home-page .main-slider--full-width .slide-content {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 767px) {
    .home-page .main-slider--full-width .slide-content {
        aspect-ratio: 4 / 3;
    }
}

.home-page--content {
    padding-top: 0;
}

.home-page .home-section {
    padding: 56px 0;
}

.home-page .home-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.home-page .home-section-head .section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 10px;
}

.home-page .home-section-head .home-section-subtitle {
    margin: 0;
    color: #6b7b7a;
    font-size: 1rem;
    line-height: 1.7;
}

.home-page .specialties-section.specialties-rectangular-layout {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
    background: transparent !important;
}

.home-page .specialties-section.specialties-rectangular-layout .section-head.rectangular-head {
    justify-content: center !important;
    margin-bottom: 28px !important;
}

.home-page .doctors-section {
    padding: 24px 0 64px;
    background: transparent;
}

.home-page .doctors-section .section-head {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 12px;
}

.home-page .doctors-section .doctors-slider {
    max-width: 1320px;
    margin-inline: auto;
}

.home-page .doctors-section .section-btn {
    background: #37a59b;
    color: #fff;
    font-weight: 700;
}

.home-page .doctors-section .section-btn:hover {
    background: #2d8f86;
    color: #fff;
}

.header .logo .site-logo-img,
.nav-head .nav-logo .site-logo-img {
    width: auto;
    max-width: 150px;
    max-height: 50px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .header .logo .site-logo-img {
        max-width: 120px;
        max-height: 42px;
    }
}

.footer-logo .site-logo-img {
    max-width: 120px;
    max-height: 72px;
    object-fit: contain;
}

/* Offset fixed header — content sections only (banner is edge-to-edge under header) */
body:has(.home-page--content) .home-page--content {
    scroll-margin-top: 88px;
}

@media (max-width: 991px) {
    body:has(.home-page--content) .home-page--content {
        scroll-margin-top: 72px;
    }
}

.main-section--full-bleed + .home-page--content {
    margin-top: 0;
}
