/* Side navigation panel width */
.cs_sidenav_in {
    max-width: 400px !important;
    padding: 40px 36px !important;
}

.cs_sidenav_in hr {
    width: calc(100% + 72px) !important;
}

/* Header logo — all layouts (1–4) + mobile sidenav */
.cs_site_header a.cs_site_branding > img,
.cs_site_header .cs_site_branding img,
.cs_sidenav a.cs_site_branding > img,
.cs_sidenav .cs_site_branding img,
.cs_logo_box a.cs_site_branding > img,
.cs_logo_box .cs_site_branding img,
a.cs_site_branding > img {
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.cs_footer_brand_icon {
    max-height: 50px;
    max-width: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cs_footer .cs_text_widget > img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Admin page builder — logo header pakai ikon favicon (tanpa wordmark ProHealth) */
.yoo-header .yoo-logo-link img,
.yoo-header .yoo-light-logo img {
    max-height: 42px !important;
    max-width: 42px !important;
    width: auto !important;
    object-fit: contain;
}

/* Sembunyikan seluruh chrome admin ProHealth saat tertanam di shell Khamdallah */
body.admin-v2.pb-inertia-admin #app > .yoo-height-b60,
body.admin-v2.pb-inertia-admin #app > .yoo-height-lg-b60,
body.admin-v2.pb-inertia-admin #app > .yoo-header,
body.admin-v2.pb-inertia-admin #app > .yoo-sidebarheader,
body.admin-v2.pb-inertia-admin #app > .yoo-sidebarheader-toggle,
body.admin-v2.pb-inertia-admin #app .yoo-content > .yoo-height-b30,
body.admin-v2.pb-inertia-admin #app .yoo-content > .yoo-height-lg-b30,
body.admin-v2.pb-inertia-admin #app .yoo-footer,
body.admin-v2.pb-inertia-admin #app footer,
body.admin-v2.pb-inertia-admin #app .yoo-copyride,
body.admin-v2.pb-inertia-admin #app .yoo-footer-nav {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

body.admin-v2.pb-inertia-admin #app .yoo-content {
    margin-left: 0 !important;
    padding-top: 0 !important;
    min-height: auto !important;
}

/* Primary CTA buttons — green gradient (replaces Prohealth blue) */
.cs_btn.cs_style_1 {
    box-shadow: 0 4px 20px 0 rgba(26, 90, 58, 0.17) !important;
}

.cs_btn.cs_style_1::before {
    background-image: linear-gradient(134deg, var(--accent), var(--primary)) !important;
}

.cs_btn.cs_style_1::after {
    background-image: linear-gradient(270deg, var(--accent), var(--primary)) !important;
}

.cs_btn.cs_style_1:hover::before,
.cs_btn.cs_style_1:hover::after {
    opacity: 1 !important;
}

/* Hero headline slider — gold highlight on green background */
.cs_hero .cs_hero_title .cd-headline.cs_accent_color,
.cs_hero .cs_hero_title .cd-headline.cs_accent_color .cd-words-wrapper b {
    color: #ffc107 !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

/* Department cards — green gradient + white icons */
.cs_iconbox.cs_style_9 {
    background: linear-gradient(154deg, #d4ede0, #5aad8a) !important;
    box-shadow: 0 8px 24px rgba(26, 90, 58, 0.12);
}

.cs_iconbox.cs_style_9:hover {
    background: linear-gradient(154deg, #c8e6d4, var(--accent)) !important;
    box-shadow: 0 12px 32px rgba(26, 90, 58, 0.18);
}

.cs_iconbox.cs_style_9 img {
    filter: brightness(0) invert(1);
    max-height: 64px;
    width: auto;
}

/* FAQ accordion arrow — green icon */
.cs_accordian_arrow svg,
.cs_accordian_arrow svg path {
    fill: var(--accent) !important;
    stroke: var(--accent) !important;
}

/* Testimonial & legacy light-blue section backgrounds → green gradient */
section[id^="testimonial-"].cs_bg_filed,
section.cs_bg_filed[style*="224, 238, 250"],
section.cs_bg_filed[style*="224,238,250"],
section.cs_bg_filed[style*="#e0eefa"],
section.cs_bg_filed[style*="#E0EEFA"],
section.cs_bg_filed[style*="#d2eaef"],
section.cs_bg_filed[style*="#D2EAEF"] {
    background-color: transparent !important;
    background-image: linear-gradient(135deg, #f0faf5 0%, #d4ede0 48%, #b8dfc8 100%) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Footer brand shield — green + readable site name */
.cs_footer.cs_style_1 .cs_footer_brand > svg {
    color: #5aad8a !important;
    width: min(300px, 78vw) !important;
}

.cs_footer.cs_style_1 .cs_footer_brand_text {
    font-family: var(--primary-font) !important;
    font-size: clamp(1.15rem, 2.8vw, 1.65rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    line-height: 1.3 !important;
    margin-top: 8px !important;
    max-width: 260px;
    padding: 0 16px;
    text-align: center;
}

.cs_footer.cs_style_1 .cs_footer_brand_icon {
    max-height: 58px;
    max-width: 58px;
}
