:root {
--accent: #307BC4 !important;
--primary: #274760 !important;
--secondary: #7D91A0 !important;
--primary-font: Tajawal, sans-serif;
--secondary-font: Tajawal, sans-serif;
}

/* ========================================================
   Al Sana Medical Blog - Responsive Featured Image UX
   ======================================================== */
.cs_blog_details_content_section > img.w-100,
.cs_blog_details_content_section > img.cs_radius_20 {
    display: block !important;
    width: 100% !important;
    max-height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(39, 71, 96, 0.08) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Optimize white space under hero banner */
.cs_blog_details_content_section > img.w-100 + .cs_height_90,
.cs_blog_details_content_section > img.cs_radius_20 + .cs_height_90 {
    height: 35px !important;
}

/* Tablet adjustments */
@media (max-width: 991px) {
    .cs_blog_details_content_section > img.w-100,
    .cs_blog_details_content_section > img.cs_radius_20 {
        max-height: 320px !important;
        border-radius: 14px !important;
    }
    .cs_blog_details_content_section > img.w-100 + .cs_height_90,
    .cs_blog_details_content_section > img.cs_radius_20 + .cs_height_90 {
        height: 25px !important;
    }
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .cs_blog_details_content_section > img.w-100,
    .cs_blog_details_content_section > img.cs_radius_20 {
        max-height: 230px !important;
        border-radius: 10px !important;
    }
    .cs_blog_details_content_section > img.w-100 + .cs_height_90,
    .cs_blog_details_content_section > img.cs_radius_20 + .cs_height_90 {
        height: 20px !important;
    }
}

/* ========================================================
   GAP-03: Mobile Cookie Consent & Floating Chat Offset
   ======================================================== */
@media (max-width: 768px) {
    body:has(.cookie-consent) .asana-chat-buttons {
        bottom: 215px !important;
        transition: bottom 0.3s ease;
    }
}



/* ========================================================
   Mobile Header & RTL Hamburger Menu Alignment Fix
   ======================================================== */
html[dir="rtl"] .cs_site_header.cs_style1 .cs_menu_toggle {
    right: auto !important;
    left: 0px !important;
    z-index: 102 !important;
}

html[dir="rtl"] .cs_site_header.cs_style1 .cs_main_header_right {
    padding-left: 38px !important;
    padding-right: 0px !important;
}

@media (max-width: 767px) {
    .cs_site_branding img {
        max-width: 155px !important;
        height: auto !important;
    }
}

/* ========================================================
   WhatsApp Floating Button - Official WhatsApp Icon
   ======================================================== */
.asana-wa svg {
    display: none !important;
}
.asana-wa::before {
    content: "" !important;
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    background-color: #ffffff !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19.05 4.91A9.816 9.816 0 0 0 12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01zm-7.01 15.24c-1.48 0-2.93-.4-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.264 8.264 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.25-8.24 2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.83c.02 4.54-3.68 8.23-8.23 8.23zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.17.25-.65.81-.8 1-.15.19-.3.21-.55.08-.25-.12-1.05-.39-2-1.23-.74-.66-1.23-1.47-1.38-1.72-.15-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.15.17-.25.25-.42.08-.17.04-.31-.02-.44-.06-.12-.56-1.34-.76-1.84-.2-.49-.4-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.13.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.53.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.67-1.18.21-.58.21-1.07.15-1.18-.07-.1-.23-.17-.48-.29z'/%3E%3C/svg%3E") no-repeat center / contain !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19.05 4.91A9.816 9.816 0 0 0 12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01zm-7.01 15.24c-1.48 0-2.93-.4-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.264 8.264 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.25-8.24 2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.83c.02 4.54-3.68 8.23-8.23 8.23zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.17.25-.65.81-.8 1-.15.19-.3.21-.55.08-.25-.12-1.05-.39-2-1.23-.74-.66-1.23-1.47-1.38-1.72-.15-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.15.17-.25.25-.42.08-.17.04-.31-.02-.44-.06-.12-.56-1.34-.76-1.84-.2-.49-.4-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.13.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.53.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.67-1.18.21-.58.21-1.07.15-1.18-.07-.1-.23-.17-.48-.29z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}
