/* ==========================================================================
   RSUD dr. H. ISHAK UMARELLA - Custom Stylesheet (Preserving Educamb DNA)
   Colors: Primary #035c96 | Base #1c9aed | Dark #012a4a | Light #f8fafc
   ========================================================================== */

/* === 1. CRITICAL HEADER FIX (PREVENT ABSOLUTE OVERLAP) === */
.main-header {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    z-index: 100 !important;
}

/* Dokter yang melayani pada halaman penunjang medis. */
.penunjang-doctor-list__title {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.penunjang-doctor-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #035c96;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.penunjang-doctor-card:last-child {
    margin-bottom: 0;
}

.penunjang-doctor-card__photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.penunjang-doctor-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.penunjang-doctor-card__content {
    min-width: 0;
}

.penunjang-doctor-card__content h5 {
    margin: 0 0 3px;
    color: #035c96;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.penunjang-doctor-card__content p,
.penunjang-doctor-card__content small {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 575px) {
    .penunjang-doctor-card {
        align-items: flex-start;
        gap: 11px;
        padding: 12px;
    }

    .penunjang-doctor-card__photo {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }
}

/* === 22. REVISION: POPUP, NAVIGATION, MANAGEMENT & DATA TABLES === */
.rsud-announcement-modal .modal-dialog {
    width: calc(100vw - 30px);
    max-width: 430px;
    margin: 1.5rem auto;
}

.rsud-announcement-modal .modal-content {
    max-width: 100%;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
}

.rsud-announcement-modal .modal-header {
    position: relative;
    min-height: 62px;
    padding: 12px 56px 12px 18px;
    background: #035c96;
    border: 0;
}

.rsud-announcement-close {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 34px;
    height: 34px;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 27px;
    line-height: 32px;
    text-align: center;
    text-shadow: none;
    opacity: 0.95 !important;
    transform: translateY(-50%);
    border-radius: 50%;
    outline: none !important;
}

.rsud-announcement-close:hover,
.rsud-announcement-close:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    opacity: 1 !important;
}

.rsud-announcement-body {
    max-height: 500px;
    overflow-y: auto;
}

.rsud-announcement-body img {
    max-height: 500px;
    object-fit: contain;
}

/* Mobile navigation follows the burger position and enters from the left. */
.mobile-menu {
    right: auto;
    left: 0;
    padding-right: 0;
    padding-left: 30px;
}

.mobile-menu .menu-backdrop {
    right: auto;
    left: 0;
    transform: translateX(-101%);
}

.mobile-menu .menu-box {
    transform: translateX(-101%);
}

/* Keep the closing state visible long enough for the menu to slide out. */
.mobile-menu {
    transition: opacity 0.4s ease, visibility 0s linear 0.45s;
}

.mobile-menu .menu-backdrop {
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s ease, opacity 0.4s ease, visibility 0s linear 0.45s;
}

.mobile-menu .menu-box {
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s ease, opacity 0.35s ease, visibility 0s linear 0.45s;
}

.mobile-menu-visible .mobile-menu,
.mobile-menu-visible .mobile-menu .menu-backdrop,
.mobile-menu-visible .mobile-menu .menu-box {
    transition-delay: 0s;
}

.executive-img-wrap {
    width: 165px;
    height: 220px;
    background: #f4f7fb;
}

.executive-img-wrap img {
    object-fit: contain;
    object-position: center;
}

.executive-card:hover .executive-img-wrap img {
    transform: none;
}

.management-eyebrow,
.rsud-section-eyebrow {
    letter-spacing: 1px;
}

.management-heading,
.rsud-section-title {
    font-family: 'Frank Ruhl Libre', serif;
    color: #121212;
    font-size: 34px;
}

.management-intro,
.rsud-section-description {
    max-width: 680px;
    font-size: 14.5px;
    line-height: 1.75;
}

.management-section-heading {
    margin: 8px 0 28px;
    text-align: center;
}

.management-section-heading span {
    color: #718096;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.management-section-heading h3 {
    margin: 4px 0 0;
    color: #035c96;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 28px;
    font-weight: 700;
}

.management-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.management-card:hover {
    border-color: #b6d5ea;
    box-shadow: 0 14px 30px rgba(3, 92, 150, 0.12);
    transform: translateY(-4px);
}

.management-photo {
    display: flex;
    height: 310px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
    border-bottom: 1px solid #edf2f7;
}

.management-photo-primary {
    height: 380px;
}

.management-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.management-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 22px 20px;
    text-align: center;
}

.laboratory-information-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
}

.laboratory-information-image {
    position: relative;
    display: block;
    height: 560px;
    overflow: hidden;
    background: #edf2f7;
}

.laboratory-information-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.laboratory-information-image:hover img {
    transform: scale(1.02);
}

.laboratory-information-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(3, 92, 150, 0.92);
    border-radius: 50%;
}

.laboratory-information-card h4 {
    margin: 0;
    padding: 18px 20px;
    color: #035c96;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.management-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    color: #035c96;
    background: #eaf4fb;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.management-name {
    margin: 0 0 7px;
    color: #12344d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.management-position {
    margin: 0;
    color: #035c96;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.55;
}

.management-nip {
    margin: auto 0 0;
    padding-top: 12px;
    color: #718096;
    font-size: 11.5px;
}

.doctor-img-wrap img {
    object-fit: contain;
    object-position: center;
}

.doctor-card:hover .doctor-img-wrap img {
    transform: none;
}

.rsud-soft-section {
    background: #f8fafc;
}

.rsud-table-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
}

.rsud-table-card-header {
    padding: 16px 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #035c96 0%, #02456f 100%);
}

.rsud-professional-table {
    min-width: 860px;
    color: #475569;
    font-size: 13px;
}

.rsud-professional-table thead th {
    padding: 14px 16px;
    color: #ffffff;
    background: #035c96;
    border: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    vertical-align: middle;
}

.rsud-professional-table tbody td {
    padding: 14px 16px;
    border-color: #edf2f7;
    vertical-align: middle;
}

.rsud-professional-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.rsud-professional-table tfoot td {
    padding: 14px 16px;
    background: #eef6fb;
    border-top: 2px solid #d5e5f1;
    font-weight: 700;
}

.rsud-doctor-cell {
    min-width: 235px;
}

.rsud-schedule-photo-link {
    display: block;
    width: 58px;
    height: 58px;
    margin-right: 12px;
    overflow: hidden;
    flex: 0 0 58px;
    background: #f4f7fb;
    border: 1px solid #dce7ef;
    border-radius: 6px;
}

.rsud-schedule-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rsud-table-badge {
    display: inline-block;
    padding: 5px 9px;
    color: #035c96;
    background: #eaf4fb;
    border: 1px solid #cee3f2;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}

.rsud-time-pill {
    display: inline-block;
    min-width: 132px;
    padding: 6px 9px;
    color: #035c96;
    background: #f0f7fb;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.news-card-meta {
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-photo-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo-card:hover {
    box-shadow: 0 14px 28px rgba(3, 92, 150, 0.12);
    transform: translateY(-4px);
}

.gallery-photo-image {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    background: #eef3f7;
}

.gallery-photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-photo-image span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(3, 92, 150, 0.92);
    border-radius: 50%;
}

.gallery-photo-card:hover .gallery-photo-image img {
    transform: scale(1.035);
}

.gallery-photo-content {
    padding: 20px;
}

.gallery-photo-content h3 {
    margin: 0 0 9px;
    color: #12344d;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.gallery-photo-content p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .rsud-announcement-modal .modal-dialog {
        width: 90vw;
        max-width: 90vw;
        margin: 0.75rem auto;
    }

    .rsud-announcement-modal .modal-content {
        max-height: calc(100vh - 1.5rem);
    }

    .rsud-announcement-modal .modal-header {
        min-height: 58px;
        padding: 10px 50px 10px 14px;
    }

    .rsud-announcement-body {
        max-height: 55vh;
    }

    .rsud-announcement-body img {
        max-height: none;
    }

    .executive-img-wrap {
        width: 100%;
        height: 280px;
    }

    .management-heading,
    .rsud-section-title {
        font-size: 28px;
    }

    .management-photo,
    .management-photo-primary {
        height: 330px;
    }

    .laboratory-information-image {
        height: 440px;
    }

    .gallery-photo-image {
        height: 230px;
    }
}

.header-top-style9 {
    background-color: #024673 !important;
    padding: 8px 0;
}

.header-top-style9 .social-link-box-style1 p {
    color: rgba(255, 255, 255, 0.85);
}

.header-top-style9-right .quick-link-box .link-box ul li a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12.5px;
    font-weight: 500;
}

.header-top-style9-right .quick-link-box .link-box ul li a:hover {
    color: #ffffff;
}

.header-bottom-style9 {
    background-color: #035c96 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0 !important;
}

.header-bottom-style9-left .logo-text h3 {
    color: #ffffff !important;
    font-weight: 800;
    font-size: 22px;
}

.header-bottom-style9-left .logo-text span {
    color: #bbf2f6 !important;
}

.sticky-header .logo img {
    height: 48px;
    margin-right: 10px;
}

.sticky-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.sticky-logo-government,
.sticky-logo-tagline {
    display: block;
    white-space: nowrap;
}

.sticky-logo-government {
    color: #787b7d;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sticky-logo-text strong {
    display: block;
    margin: 2px 0;
    color: #035c96;
    font-size: 15px;
    line-height: 1.1;
}

.sticky-logo-tagline {
    color: #1c9aed;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    color: #ffffff;
    line-height: 1.2;
}

.mobile-logo-government {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-logo-text strong {
    margin: 3px 0;
    color: #ffffff;
    font-size: 14px;
}

.mobile-logo-tagline {
    color: #bbf2f6;
    font-size: 9.5px;
    font-weight: 600;
}

/* Dynamic management organization chart. */
.management-chart-heading span {
    color: #035c96;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.management-chart-heading h2 {
    margin: 8px 0;
    color: #012a4a;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 34px;
    font-weight: 800;
}

.management-chart-heading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.management-chart-shell {
    padding: 38px 28px 28px;
    overflow: hidden;
    background: #f5faff;
    border: 1px solid #c5dcec;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(3, 92, 150, 0.09);
}

.management-chart-level {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 22px;
    padding-top: 52px;
}

.management-chart-level:first-child {
    padding-top: 0;
}

.management-chart-level:not(:first-child)::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 27px;
    content: '';
    background: #4a90c2;
    transform: translateX(-50%);
}

.management-chart-level:not(:first-child)::after {
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 2px;
    content: '';
    background: #4a90c2;
}

.management-chart-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    max-width: 310px;
    min-width: 0;
    overflow: visible;
    background: #ffffff;
    border: 2px solid #1f6fa5;
    border-radius: 7px;
    box-shadow: 0 7px 18px rgba(3, 92, 150, 0.12);
}

.management-chart-level:not(:first-child) .management-chart-node::before {
    position: absolute;
    top: -26px;
    left: 50%;
    width: 2px;
    height: 26px;
    content: '';
    background: #4a90c2;
    transform: translateX(-50%);
}

.management-chart-role {
    padding: 9px 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #035c96, #1787c7);
    border-radius: 4px 4px 0 0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.management-chart-person {
    display: flex;
    min-height: 218px;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 13px 14px;
    text-align: center;
}

.management-chart-photo {
    width: 90px;
    height: 120px;
    flex: 0 0 auto;
    margin-bottom: 11px;
    overflow: hidden;
    background: #e8f3fa;
    border: 2px solid #d2e6f3;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(1, 42, 74, 0.14);
}

.management-chart-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.management-chart-person-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
}

.management-chart-person-copy strong {
    color: #012a4a;
    font-size: 13.5px;
    line-height: 1.45;
}

.management-chart-person-copy span {
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

@media (min-width: 1200px) {
    .management-chart-person {
        min-height: 238px;
    }

    .management-chart-photo {
        width: 105px;
        height: 140px;
    }
}

.management-chart-signature {
    display: flex;
    max-width: 390px;
    flex-direction: column;
    align-items: center;
    margin: 42px 0 0 auto;
    padding-top: 16px;
    color: #012a4a;
    border-top: 2px solid #1f6fa5;
    text-align: center;
}

.management-chart-signature span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.management-chart-signature strong {
    margin-top: 10px;
    font-size: 14px;
    text-decoration: underline;
}

.management-chart-signature small {
    margin-top: 3px;
    color: #64748b;
}

.header-contact-info-style9 ul li .text p,
.header-contact-info-style9 ul li .text p a {
    color: #ffffff !important;
}

.header-contact-info-style9 ul li .icon span {
    color: #1c9aed !important;
}

.header-style9 {
    background-color: #012a4a !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.22);
    border-bottom: 2px solid rgba(28, 154, 237, 0.25);
}

.header-style9 .outer-box {
    min-height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.header-style9-left .main-menu .navigation > li {
    margin-right: 6px;
}

.header-style9-left .main-menu .navigation > li > a {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 17.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    color: #ffffff !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
}

.header-style9-left .main-menu .navigation > li.dropdown > a:after {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
}

.header-style9-left .main-menu .navigation > li:hover > a,
.header-style9-left .main-menu .navigation > li.current > a {
    color: #1c9aed !important;
    background-color: rgba(255, 255, 255, 0.08);
}

.header-style9-left .main-menu .navigation > li:hover > a:after,
.header-style9-left .main-menu .navigation > li.current > a:after {
    color: #1c9aed !important;
}

/* Right Navigation Elements (WA, Search, IGD) */
.header-style9-right {
    display: flex !important;
    align-items: center !important;
}

.header-style9-right > ul {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding-left: 0;
}

.header-style9-right > ul > li {
    margin-left: 10px;
    list-style: none;
}

.header-style9-right > ul > li a,
.header-style9-right > ul > li button.search-toggler {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-style9-right > ul > li a:hover,
.header-style9-right > ul > li button.search-toggler:hover {
    background: #1c9aed;
    border-color: #1c9aed;
    color: #ffffff;
    transform: scale(1.05);
}

.header-emergency-badge {
    margin-left: 20px;
    display: inline-block;
}

.badge-igd {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    background-color: #e53e3e;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 14px rgba(229, 62, 62, 0.35);
    border: none;
    transition: all 0.3s ease;
    z-index: 1;
    text-decoration: none !important;
}

.badge-igd:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    content: "";
    opacity: 0;
    transform: translateX(-100%);
    transition: all 400ms ease;
    background-color: #9b2c2c;
    z-index: -1;
}

.badge-igd:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.badge-igd:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    content: "";
    opacity: 0;
    transform: translateX(100%);
    transition: all 400ms ease;
    background-color: #9b2c2c;
    z-index: -1;
}

.badge-igd:hover:after {
    opacity: 1;
    transform: translateX(0);
}

.badge-igd:hover {
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    animation: igd-beacon 1.6s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

@keyframes igd-beacon {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* === 2. HERO SLIDER STYLE 9 FIXES & CLEAN LAYOUT === */
.main-slider--style9 {
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
    background-color: #035c96;
}

.main-slider--style9 .slider-box {
    position: relative;
    overflow: hidden;
}

.main-slider--style9 .slide {
    min-height: 590px !important;
    padding: 95px 0 105px !important;
    display: flex !important;
    align-items: center;
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.main-slider--style9 .slide .image-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.main-slider--style9 .mobile-slider-image {
    display: none !important;
}

.slide-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0) 65%);
    z-index: 2;
}

.main-slider--style9 .auto-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.main-slider--style9 .content {
    position: relative;
    z-index: 3;
    max-width: 580px;
}

.main-slider--style9 .sub-title {
    margin-bottom: 14px;
    max-width: 460px;
}

.main-slider--style9 .sub-title h5,
.main-slider--style9 .sub-title span.badge {
    display: inline-block;
    color: #ffffff;
    background: rgba(3, 92, 150, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.8px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-slider--style9 .sub-title h5.hospital-identity-label {
    text-transform: none;
}

.main-slider--style9 .content .big-title h2 {
    color: #ffffff;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    max-width: 460px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.main-slider--style9 .content .text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 440px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.main-slider--style9 .btns-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    max-width: 580px;
}

.btn-hero-primary {
    background-color: #035c96;
    color: #ffffff !important;
    border: 2px solid #035c96;
    font-weight: 700;
    padding: 10px 22px;
    height: 46px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    margin: 0 !important;
    text-decoration: none !important;
}

.btn-hero-primary:hover {
    background-color: #012a4a;
    border-color: #012a4a;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.btn-hero-secondary {
    background-color: #ffffff;
    color: #035c96 !important;
    border: 2px solid #ffffff;
    font-weight: 700;
    padding: 10px 22px;
    height: 46px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    margin: 0 !important;
    text-decoration: none !important;
}

.btn-hero-secondary:hover {
    background-color: #035c96;
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.hero-director-box {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(255, 255, 255, 0.9);
    max-width: 290px;
    margin-left: auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-director-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.hero-director-photo {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-director-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(1, 42, 74, 0.95) 0%, rgba(3, 92, 150, 0.85) 75%, transparent 100%);
    backdrop-filter: blur(4px);
    padding: 24px 14px 10px;
    text-align: center;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Slider Nav Arrows & Dots */
.main-slider--style9 .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    pointer-events: none;
    z-index: 5;
}

.main-slider--style9 .owl-nav button.owl-prev,
.main-slider--style9 .owl-nav button.owl-next {
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 18px;
    pointer-events: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-slider--style9 .owl-nav button.owl-prev:hover,
.main-slider--style9 .owl-nav button.owl-next:hover {
    background: #035c96 !important;
    color: #ffffff !important;
    border-color: #035c96 !important;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(3, 92, 150, 0.4);
}

.main-slider--style9 .slide {
    height: clamp(600px, 50vw, 800px) !important;
    min-height: 0 !important;
    padding: 60px 0 100px !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.main-slider--style9 .owl-dots {
    position: absolute;
    bottom: 58px !important;
    left: 0;
    right: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 5;
    pointer-events: auto;
}

.main-slider--style9 .owl-dots .owl-dot {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
    outline: none !important;
}

.main-slider--style9 .owl-dots .owl-dot:before,
.main-slider--style9 .owl-dots .owl-dot:after {
    display: none !important;
    content: none !important;
}

.main-slider--style9 .owl-dots .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    border: none !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

.main-slider--style9 .owl-dots .owl-dot.active span,
.main-slider--style9 .owl-dots .owl-dot:hover span {
    width: 24px !important;
    height: 8px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9) !important;
}

/* === 3. BUTTON DNA (EDUCOMB STYLE) === */
.btn-one {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-color: #035c96 !important;
    border: 2px solid #035c96 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    line-height: 22px !important;
    font-weight: 700 !important;
    font-family: var(--thm-font-4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 12px 28px !important;
    border-radius: 4px !important;
    transition: all 0.35s ease !important;
    text-align: center;
    z-index: 1;
}

.btn-one:hover {
    background-color: #012a4a !important;
    border-color: #012a4a !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(3, 92, 150, 0.35) !important;
    transform: translateY(-2px);
}

.btn-one.style2 {
    background-color: transparent !important;
    border: 2px solid #035c96 !important;
    color: #035c96 !important;
}

.btn-one.style2:hover {
    background-color: #035c96 !important;
    border-color: #035c96 !important;
    color: #ffffff !important;
}

.btn-one.style3 {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.btn-one.style3:hover {
    background-color: #ffffff !important;
    color: #035c96 !important;
}

/* Poliklinik Card Buttons */
.btn-poli {
    display: block;
    width: 100%;
    background-color: #edf2f7;
    border: 1px solid #cbd5e0;
    color: #035c96;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-poli:hover {
    background-color: #035c96;
    border-color: #035c96;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3, 92, 150, 0.2);
}

/* === 4. QUICK ACTION & SEARCH SECTION === */
.quick-action-section {
    margin-top: -32px;
    position: relative;
    z-index: 10;
}

.quick-search-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 16px 20px;
    box-shadow: 0 16px 36px rgba(1, 42, 74, 0.14);
    border: 1px solid #cbd5e0;
}

/* === 5. POLIKLINIK CARD STYLES === */
.poli-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    padding: 26px 20px 22px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.poli-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #035c96;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poli-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(3, 92, 150, 0.12);
    border-color: #035c96;
}

.poli-card:hover::before {
    opacity: 1;
}

.poli-icon {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: rgba(3, 92, 150, 0.08);
    color: #035c96;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.poli-card:hover .poli-icon {
    background: #035c96;
    color: #ffffff;
}

.poli-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #121212;
    margin-bottom: 8px;
    line-height: 1.35;
}

.poli-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #035c96;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.poli-card p.text-muted {
    font-size: 13px;
    line-height: 1.5;
    min-height: 38px;
    margin-bottom: 0;
}

/* === 6. DOCTOR DIRECTORY CARDS (CLEAN & ELEGANT EDUCOMB DNA) === */
.doctor-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(3, 92, 150, 0.12);
    border-color: #035c96;
}

.doctor-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #edf2f7;
}

.doctor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-img-wrap img {
    transform: scale(1.05);
}

.doctor-content {
    padding: 16px 16px 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-poli-badge {
    display: inline-block;
    background: #ebf8ff;
    color: #035c96;
    border: 1px solid #bee3f8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.doctor-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #035c96;
    margin-bottom: 4px;
    line-height: 1.35;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.doctor-spec {
    font-size: 12.5px;
    color: #718096;
    font-weight: 500;
    margin-bottom: 10px;
}

.doctor-schedule-box {
    background: #f8fafc;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    color: #2d3748;
    margin-bottom: 12px;
    border: 1px solid #edf2f7;
    border-left: 3px solid #1c9aed;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Compact Slim Action Buttons */
.btn-doctor-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #035c96;
    border: 1px solid #035c96;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 7px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    flex-grow: 1;
    text-align: center;
}

.btn-doctor-action:hover {
    background-color: #012a4a;
    border-color: #012a4a;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(3, 92, 150, 0.25);
    transform: translateY(-1px);
}

.btn-doctor-zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: 1px solid #cbd5e0;
    color: #035c96;
    border-radius: 4px;
    font-size: 13px;
    margin-left: 6px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-doctor-zoom:hover {
    background: #035c96;
    color: #ffffff;
    border-color: #035c96;
}

.quick-filter-btn {
    background: #ffffff !important;
    color: #035c96 !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 14px !important;
    transition: all 0.25s ease !important;
}

.quick-filter-btn:hover,
.quick-filter-btn.active {
    background: #035c96 !important;
    color: #ffffff !important;
    border-color: #035c96 !important;
    box-shadow: 0 3px 8px rgba(3, 92, 150, 0.25) !important;
}

/* === 7. MODERN CLEAN TABLES FOR BEDS & TARIFFS === */
.table-rsud {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.table-rsud thead th {
    background: #035c96;
    color: #ffffff;
    font-weight: 600;
    font-size: 13.5px;
    padding: 14px 16px;
    border: none;
    letter-spacing: 0.3px;
}

.table-rsud tbody tr {
    transition: background 0.2s ease;
}

.table-rsud tbody tr:nth-child(even) {
    background: #f8fafc;
}

.table-rsud tbody tr:hover {
    background: #ebf8ff;
}

.table-rsud tbody td {
    padding: 13px 16px;
    font-size: 13.5px;
    color: #2d3748;
    border-top: 1px solid #e2e8f0;
    vertical-align: middle;
}

/* === 8. BEDS STAT CARDS === */
.bed-stat-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 22px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    height: 100%;
    transition: all 0.3s ease;
}

.bed-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(3, 92, 150, 0.12);
    border-color: #035c96;
}

.bed-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 16px;
    flex-shrink: 0;
}

.bed-stat-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #035c96;
    margin-bottom: 4px;
}

.bed-stat-label {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* === 9. NEWS CARDS SYMMETRIC === */
.news-card-home {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(3, 92, 150, 0.12);
    border-color: #035c96;
}

.news-card-thumb {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-home:hover .news-card-thumb img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 46px;
}

.news-card-title a {
    color: #121212;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #035c96;
}

.news-card-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 64px;
}

/* === 10. MCU PACKAGE PRICING CARDS === */
.mcu-card {
    background: #ffffff;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mcu-card.featured {
    border-color: #035c96;
    box-shadow: 0 16px 36px rgba(3, 92, 150, 0.15);
}

.mcu-badge-pop {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fc5046;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mcu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 92, 150, 0.16);
}

.mcu-title {
    font-size: 20px;
    font-weight: 700;
    color: #035c96;
    margin-bottom: 12px;
}

.mcu-price {
    font-size: 26px;
    font-weight: 800;
    color: #121212;
    margin-bottom: 20px;
}

.mcu-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.mcu-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13.5px;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.mcu-list li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 14px;
}

/* === 11. INM MUTU CHART CONTAINER === */
.inm-chart-container {
    background: #ffffff;
    border-radius: 4px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* === 12. STICKY FILTER BAR & UNIFIED FORM INPUTS === */
.filter-search-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 22px 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.rsud-form-input {
    height: 46px !important;
    border: 1.5px solid #cbd5e0 !important;
    border-radius: 4px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background-color: #ffffff !important;
    color: #1a202c !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

.rsud-form-input:focus {
    border-color: #035c96 !important;
    box-shadow: 0 0 0 3px rgba(3, 92, 150, 0.15) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

select.form-control,
.rsud-form-select {
    height: 46px !important;
    border: 1.5px solid #cbd5e0 !important;
    border-radius: 4px !important;
    padding: 10px 16px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    background-color: #ffffff !important;
    color: #1a202c !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    padding-right: 38px !important;
    cursor: pointer !important;
}

select.form-control:focus,
.rsud-form-select:focus {
    border-color: #035c96 !important;
    box-shadow: 0 0 0 3px rgba(3, 92, 150, 0.15) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

.nice-select {
    border: 1.5px solid #cbd5e0 !important;
    border-radius: 4px !important;
    height: 46px !important;
    line-height: 44px !important;
    font-size: 13.5px !important;
    padding-left: 16px !important;
    padding-right: 38px !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #1a202c !important;
}

.nice-select:hover,
.nice-select:focus,
.nice-select.open {
    border-color: #035c96 !important;
    box-shadow: 0 0 0 3px rgba(3, 92, 150, 0.15) !important;
}

/* === 13. BREADCRUMB HERO FIXES === */
.breadcrumb-area {
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.breadcrumb-area .inner-content {
    padding: 85px 0 90px !important;
    text-align: center;
    position: relative;
    z-index: 2;
}

.breadcrumb-area .inner-content .title h2 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    font-family: 'Frank Ruhl Libre', serif;
    margin-bottom: 8px;
}

.breadcrumb-menu ul li {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.breadcrumb-menu ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.breadcrumb-menu ul li a:hover {
    color: #ffffff;
}

.breadcrumb-menu ul li.active {
    color: #1c9aed;
    font-weight: 600;
}

.breadcrumb-menu ul li:after {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-menu ul li:last-child:after {
    display: none;
}

/* === 14. FOOTER STYLE 9 COMPREHENSIVE STYLING (EDUCOMB DNA) === */
.footer-style9-area {
    position: relative;
    display: block;
    background-color: #012a4a !important;
    overflow: hidden;
    z-index: 10;
    border-top: 3px solid #035c96;
}

.footer-top-style9 {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 35px 0 32px;
    background-color: #02213a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-style9 {
    position: relative;
    display: block;
    background-color: #012a4a !important;
    padding: 75px 0 65px;
}

.single-footer-widget-style9 .title,
.single-footer-widget-style9 .footer-widget-title-style9 {
    position: relative;
    display: block;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(28, 154, 237, 0.3);
}

.single-footer-widget-style9 .title h3,
.single-footer-widget-style9 .footer-widget-title-style9 h3 {
    color: #ffffff !important;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    font-family: 'Frank Ruhl Libre', serif;
    margin: 0;
}

.single-footer-widget-style9 .text p,
.single-footer-widget-style9 .our-company-info .text p {
    color: #cbd5e0 !important;
    font-size: 14.5px;
    line-height: 1.8;
}

.footer-widget-links-style9 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-links-style9 ul li {
    position: relative;
    display: block;
    margin-bottom: 11px;
}

.footer-widget-links-style9 ul li a {
    color: #cbd5e0 !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-widget-links-style9 ul li a:before {
    content: "\f105";
    font-family: "FontAwesome";
    color: #1c9aed;
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-widget-links-style9 ul li a:hover {
    color: #ffffff !important;
    transform: translateX(6px);
}

.footer-widget-links-style9 ul li a:hover:before {
    color: #ffffff;
}

.footer-contact-info-style9 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info-style9 ul li {
    color: #cbd5e0 !important;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.footer-contact-info-style9 ul li strong {
    color: #ffffff;
}

.footer-contact-info-style9 ul li a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer-contact-info-style9 ul li a:hover {
    color: #1c9aed !important;
}

.footer-social-links-style9 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-social-links-style9 ul li {
    margin-right: 8px;
}

.footer-social-links-style9 ul li a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-social-links-style9 ul li a:hover {
    background: #1c9aed !important;
    border-color: #1c9aed !important;
    transform: translateY(-3px);
}

.footer-bottom-style9 {
    background-color: #001f38 !important;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-style9 .rsud-footer-bottom-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px 48px;
    padding: 0;
}

.footer-bottom-style9 .copyright-style9 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    min-width: 0;
    text-align: left;
}

.footer-bottom-style9 .copyright-style9 p {
    color: #a0aec0 !important;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

.footer-bottom-style9 .copyright-style9 .footer-credit-style9 {
    margin-top: 0;
    color: #7f91a3 !important;
}

.footer-bottom-style9 .copyright-style9 a,
.footer-bottom-style9 .footer-credit-style9 a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-style9 .footer-credit-style9 a {
    color: #b9c7d5 !important;
    font-weight: 600;
}

.footer-bottom-style9 .copyright-style9 a:hover,
.footer-bottom-style9 .footer-credit-style9 a:hover {
    color: #ffffff !important;
}

.footer-bottom-style9 .footer-menu-style9 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 0;
}

.footer-bottom-style9 .footer-menu-style9 ul li {
    position: relative;
    margin: 0;
    padding-left: 22px;
    margin-left: 22px;
}

.footer-bottom-style9 .footer-menu-style9 ul li + li::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    content: "";
    background: rgba(160, 174, 192, 0.55);
    border-radius: 50%;
    transform: translateY(-50%);
}

.footer-bottom-style9 .footer-menu-style9 ul li:first-child {
    padding-left: 0;
    margin-left: 0;
}

.footer-bottom-style9 .footer-menu-style9 ul li a {
    color: #a0aec0 !important;
    font-size: 13.5px;
    line-height: 1.65;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.footer-bottom-style9 .footer-menu-style9 ul li a:hover {
    color: #1c9aed !important;
}

/* === 15. RESPONSIVE MOBILE FIXES === */
@media (max-width: 991px) {
    .header-top-style9-right {
        display: none !important;
    }
    .header-bottom-style9-middle {
        display: none !important;
    }
    .header-bottom-style9-right {
        display: none !important;
    }
    .main-slider--style9 .slide {
        min-height: 460px !important;
        padding: 50px 0 60px !important;
    }
    .main-slider--style9 .content .big-title h2 {
        font-size: 28px;
    }
    .main-slider--style9 .content .text p {
        font-size: 14.5px;
    }
    .main-slider--style9 .owl-nav {
        display: none !important;
    }
    .quick-action-section {
        margin-top: 15px;
    }
    .breadcrumb-area .inner-content {
        padding: 55px 0 60px !important;
    }
    .breadcrumb-area .inner-content .title h2 {
        font-size: 26px;
    }
    .footer-top-style9__inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-style9 .bottom-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0;
        text-align: center;
    }
    .footer-bottom-style9 .copyright-style9 {
        justify-content: center;
        text-align: center;
    }
    .footer-bottom-style9 .footer-menu-style9 ul {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom-style9 {
        padding: 24px 0 28px;
    }

    .footer-bottom-style9 .footer-menu-style9 ul {
        flex-direction: column;
        gap: 7px;
    }

    .footer-bottom-style9 .copyright-style9 {
        display: block;
    }

    .footer-bottom-style9 .copyright-style9 .footer-credit-style9 {
        margin-top: 4px;
    }

    .footer-bottom-style9 .footer-menu-style9 ul li,
    .footer-bottom-style9 .footer-menu-style9 ul li:first-child {
        margin: 0;
        padding: 0;
    }

    .footer-bottom-style9 .footer-menu-style9 ul li + li::before {
        display: none;
    }

    .scroll-top {
        right: 12px;
        bottom: 14px;
        width: 48px;
        height: 48px;
        line-height: 44px;
    }
}

/* === 14. EXECUTIVE LEADERSHIP GREETING CARDS === */
.executive-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.executive-card:hover {
    box-shadow: 0 10px 25px rgba(3, 92, 150, 0.12);
    transform: translateY(-3px);
    border-color: #cbd5e0;
}

.executive-img-wrap {
    position: relative;
    width: 135px;
    height: 170px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.executive-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.executive-card:hover .executive-img-wrap img {
    transform: scale(1.04);
}

.executive-role-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #035c96;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    padding: 3px 0;
}

.executive-quote {
    color: #4a5568;
    font-size: 13px;
    line-height: 1.7;
    font-style: italic;
    position: relative;
}

.executive-name {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 16.5px;
    font-weight: 700;
    color: #035c96;
    margin-bottom: 2px;
}

.executive-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #718096;
    text-transform: none;
    letter-spacing: 0.5px;
}

@media (max-width: 575.98px) {
    .executive-img-wrap {
        width: 100%;
        height: 220px;
        margin-bottom: 16px;
    }
}

/* === 15. INDEKS KEPUASAN MASYARAKAT (IKM) CARDS === */
.ikm-section {
    background: #f8fafc;
}

.ikm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ikm-card:hover {
    box-shadow: 0 12px 28px rgba(3, 92, 150, 0.12);
    transform: translateY(-4px);
    border-color: #cbd5e0;
}

.ikm-header-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(3, 92, 150, 0.08);
    color: #035c96;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ikm-service-title {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 19px;
    font-weight: 700;
    color: #121212;
    margin-bottom: 3px;
}

.ikm-respondent-count {
    color: #e53e3e;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ikm-score-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.ikm-score-number {
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
    color: #1a202c;
    letter-spacing: -1px;
    margin-right: 12px;
    font-family: var(--thm-font, sans-serif);
}

.ikm-badge-verified {
    display: inline-flex;
    align-items: center;
    background: #28a745;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.ikm-progress-wrap {
    background: #edf2f7;
    border-radius: 4px;
    height: 7px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ikm-progress-bar {
    background: linear-gradient(90deg, #035c96 0%, #28a745 100%);
    height: 100%;
    border-radius: 4px;
}

.ikm-footer-label {
    font-size: 12px;
    color: #718096;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header composition for tablet and mobile viewports. */
@media (max-width: 991.98px) {
    .header-top-style9 {
        display: none !important;
    }

    .header-bottom-style9 {
        display: block !important;
        min-height: 92px;
        padding: 12px 0 !important;
        background: #035c96 !important;
    }

    .header-bottom-style9 .outer-box {
        min-height: 68px;
        display: flex;
        align-items: center;
    }

    .header-bottom-style9-left {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
    }

    .header-style9-left {
        width: auto !important;
    }

    .header-style9-right {
        display: flex !important;
    }
}

@media (max-width: 575.98px) {
    .header-bottom-style9 {
        min-height: 78px;
        padding: 8px 0 !important;
    }

    .logo-box-style9 img {
        max-height: 54px !important;
        margin-right: 10px !important;
    }

    .header-bottom-style9-left .logo-text h3 {
        font-size: 15px !important;
    }

    .header-bottom-style9-left .logo-text span {
        font-size: 9.5px !important;
    }

    .header-style9-right > ul {
        display: none !important;
    }

    .header-style9 .outer-box {
        flex-wrap: nowrap !important;
    }

    .header-style9-left,
    .header-style9-right {
        flex: 0 0 auto;
    }

    .header-style9-left .main-menu {
        display: none !important;
    }

    .header-emergency-badge {
        margin-left: 8px;
    }

    .badge-igd {
        padding: 9px 12px;
        font-size: 11px;
    }
}

/* === 16. PART 2 PUBLIC PAGES === */
.rsud-filter-label {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rsud-filter-submit {
    min-height: 46px;
}

.room-class-tabs {
    gap: 6px;
}

.room-class-tabs .nav-item {
    min-width: 130px;
}

.room-class-tabs .nav-link {
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.room-class-tabs .nav-link.active {
    background: #035c96;
    color: #ffffff !important;
}

.service-delivery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-delivery-card:hover {
    transform: translateY(-4px);
    border-color: #b6d5ea;
    box-shadow: 0 14px 28px rgba(3, 92, 150, 0.12);
}

.service-img-thumb {
    position: relative;
    overflow: hidden;
}

.service-content-box {
    padding: 20px;
}

.rsud-data-table {
    min-width: 820px;
    font-size: 13.5px;
}

.bed-total-banner,
.article-contact-box {
    background: linear-gradient(135deg, #035c96 0%, #012a4a 100%);
    border-radius: 8px;
}

.news-list-image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.04);
}

.news-list-card h5 {
    font-size: 17px;
    line-height: 1.45;
}

.news-read-more {
    font-size: 12.5px;
    white-space: nowrap;
}

.article-card,
.related-news-box,
.video-main-card,
.video-playlist-box,
.accountability-year-card {
    border-radius: 8px !important;
}

.article-meta {
    font-size: 13px;
    line-height: 2;
}

.article-title {
    color: #121212;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 34px;
    line-height: 1.3;
}

.article-main-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-lead {
    padding: 16px 18px;
    border-left: 4px solid #035c96;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
}

.article-content {
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.article-content img,
.article-content iframe,
.article-content video {
    max-width: 100%;
}

.article-content blockquote {
    padding: 16px 18px;
    border-left: 4px solid #035c96;
    background: #f8fafc;
    color: #334155;
}

.article-share .btn {
    width: 34px;
    height: 34px;
    padding: 5px 0;
    border-radius: 50%;
}

.related-news-item:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.gallery-album-card .service-img-thumb {
    height: 250px;
}

.gallery-album-card .service-img-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-cover-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: rgba(1, 42, 74, 0);
    transition: background-color 0.3s ease;
}

.gallery-cover-link span {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(3, 92, 150, 0.92);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-album-card:hover .gallery-cover-link {
    background: rgba(1, 42, 74, 0.35);
}

.gallery-album-card:hover .gallery-cover-link span {
    opacity: 1;
    transform: scale(1);
}

.gallery-album-card:hover .service-img-thumb > img {
    transform: scale(1.04);
}

.video-playlist-box {
    max-height: 575px;
    overflow-y: auto;
}

.video-play-item {
    cursor: pointer;
    color: inherit;
}

.video-play-item:focus {
    outline: 2px solid #035c96;
    outline-offset: 3px;
}

.video-play-thumb {
    position: relative;
    width: 105px;
    height: 68px;
    flex: 0 0 105px;
    overflow: hidden;
    border-radius: 5px;
}

.video-play-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-thumb span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
}

.accountability-year-card {
    overflow: hidden;
}

.accountability-year-card .card-header {
    cursor: pointer;
}

.report-document-card {
    border-radius: 6px !important;
}

.inm-fullscreen-area {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    background: #f8fafc;
}

.inm-fullscreen-area > a {
    width: 100%;
}

.inm-fullscreen-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.contact-social-links a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef6fb;
    color: #035c96;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-social-links a:hover {
    background: #035c96;
    color: #ffffff;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.search-popup .close-search {
    background-image: none;
}

.search-popup .close-search::before,
.search-popup .close-search::after {
    position: absolute;
    top: 19px;
    left: 7px;
    width: 26px;
    height: 2px;
    content: "";
    background: #fff;
    border-radius: 2px;
}

.search-popup .close-search::before {
    transform: rotate(45deg);
}

.search-popup .close-search::after {
    transform: rotate(-45deg);
}

@media (max-width: 767.98px) {
    .room-class-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
    }

    .room-class-tabs .nav-item {
        min-width: max-content;
    }

    .article-title {
        font-size: 28px;
    }

    .article-meta span {
        display: block;
        margin-left: 0 !important;
    }

    .news-read-more {
        white-space: normal;
        text-align: right;
    }

    .video-playlist-box {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .filter-search-box {
        padding: 18px 16px;
    }

    .article-card {
        padding: 22px 18px !important;
    }

    .article-title {
        font-size: 25px;
    }

    .bed-total-banner h3 {
        font-size: 21px;
    }

    .gallery-album-card .service-img-thumb {
        height: 220px;
    }

}

/* Final specificity overrides for legacy card rules declared above. */
.executive-card .executive-img-wrap {
    width: 165px;
    height: 220px;
    background: #f4f7fb;
}

.executive-card .executive-img-wrap img,
.doctor-card .doctor-img-wrap img {
    object-fit: contain;
    object-position: center;
}

.executive-card:hover .executive-img-wrap img,
.doctor-card:hover .doctor-img-wrap img {
    transform: none;
}

@media (max-width: 575.98px) {
    .executive-card .executive-img-wrap {
        width: 100%;
        height: 280px;
    }
}

/* Public data table pagination */
table[data-public-pagination] {
    scroll-margin-top: 120px;
}

.rsud-public-table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.rsud-pagination-summary {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.rsud-pagination-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.rsud-pagination-button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #035c96;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.rsud-pagination-button:hover,
.rsud-pagination-button:focus-visible,
.rsud-pagination-button.is-active {
    color: #ffffff;
    background: #035c96;
    border-color: #035c96;
    outline: none;
}

.rsud-pagination-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(3, 92, 150, 0.2);
}

.rsud-pagination-button:disabled {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
}

.rsud-pagination-ellipsis {
    display: inline-flex;
    min-width: 24px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .rsud-public-table-pagination {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 12px;
    }

    .rsud-pagination-summary {
        text-align: center;
    }

    .rsud-pagination-controls {
        justify-content: center;
    }

    .rsud-pagination-button {
        width: 36px;
        height: 36px;
    }
}

/* === REVISI 3: MOBILE WIDTH SAFETY & HORIZONTAL HOME CARDS === */
body {
    max-width: 100%;
    overflow-x: hidden;
}

.boxed_wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .mobile-card-scroller {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        margin-right: 0;
        margin-left: 0;
        padding: 4px 2px 18px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #9fc6df #eaf2f7;
    }

    .mobile-card-scroller::-webkit-scrollbar {
        height: 5px;
    }

    .mobile-card-scroller::-webkit-scrollbar-track {
        background: #eaf2f7;
        border-radius: 10px;
    }

    .mobile-card-scroller::-webkit-scrollbar-thumb {
        background: #6eadd4;
        border-radius: 10px;
    }

    .mobile-card-scroller > [class*="col-"] {
        flex: 0 0 88%;
        max-width: 340px;
        min-width: 0;
        margin-bottom: 0 !important;
        padding-right: 0;
        padding-left: 0;
        scroll-snap-align: start;
    }

    .mobile-card-scroller .poli-card,
    .mobile-card-scroller .news-card-home {
        min-width: 0;
    }

    .mobile-card-scroller .news-card-body {
        padding: 18px;
    }

    .mobile-card-scroller .news-card-body .d-flex {
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu .menu-backdrop,
    .mobile-menu .menu-box {
        transition-duration: 0.01ms !important;
    }
}

/* === REVISI 4: POPUP, STICKY RESPONSIVE HEADER, SLIDER & ORG CHART === */
.rsud-announcement-modal .modal-content {
    display: flex;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    flex-direction: column;
}

.rsud-announcement-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.rsud-announcement-body > a {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

.rsud-announcement-body img {
    width: auto !important;
    max-width: 100%;
    max-height: calc(100vh - 154px);
    max-height: calc(100dvh - 154px);
    object-fit: contain;
}

@media (max-width: 1199.98px) {
    body {
        overflow-x: clip;
    }

    .boxed_wrapper {
        overflow: visible !important;
        overflow-x: clip !important;
    }

    .main-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1020 !important;
        box-shadow: 0 5px 18px rgba(1, 42, 74, 0.18);
    }

    .header-top-style9,
    .header-bottom-style9-middle,
    .header-bottom-style9-right {
        display: none !important;
    }

    .header-bottom-style9-left {
        width: 100%;
    }

    .main-slider--style9 .slide,
    .main-slider--style9 .slide .image-layer {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .main-slider--style9 .active .slide .image-layer {
        transform: none !important;
    }

    .main-slider--style9 .slide {
        height: 56.354916vw !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .main-slider--style9 .content {
        max-width: 500px;
    }
}

@media (max-width: 767.98px) {
    .management-chart-shell {
        padding: 26px 16px 22px;
    }

    .management-chart-heading {
        margin-bottom: 30px !important;
    }

    .management-chart-heading h2 {
        font-size: 27px;
    }

    .management-chart-level,
    .management-chart-level:first-child {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 30px 0 0 22px;
        border-left: 2px solid #4a90c2;
    }

    .management-chart-level:first-child {
        align-items: center;
        padding: 0 0 8px;
        border-left: 0;
    }

    .management-chart-level:not(:first-child)::before {
        top: 0;
        left: -2px;
        width: 24px;
        height: 2px;
        transform: none;
    }

    .management-chart-level:not(:first-child)::after {
        display: none;
    }

    .management-chart-node {
        width: 100%;
        max-width: none;
        flex-basis: auto;
    }

    .management-chart-person {
        min-height: 128px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 16px;
        text-align: left;
    }

    .management-chart-photo {
        width: 72px;
        height: 96px;
        margin: 0 14px 0 0;
    }

    .management-chart-person-copy {
        align-items: flex-start;
    }

    .management-chart-level:not(:first-child) .management-chart-node::before {
        top: 50%;
        left: -22px;
        width: 22px;
        height: 2px;
        transform: none;
    }

    .management-chart-signature {
        max-width: none;
        margin-top: 32px;
    }
}

@media (max-width: 575.98px) {
    .rsud-announcement-modal .modal-dialog {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin: 10px auto;
    }

    .rsud-announcement-modal .modal-content {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
    }

    .rsud-announcement-body img {
        max-height: calc(100vh - 142px);
        max-height: calc(100dvh - 142px);
    }

    .rsud-announcement-modal .modal-footer {
        padding: 8px 12px !important;
    }

    .header-bottom-style9 {
        display: none !important;
    }

    .header-style9 .outer-box {
        position: relative;
    }

    .header-style9-right {
        position: absolute !important;
        top: 50%;
        right: 0;
        margin: 0;
        transform: translateY(-50%);
    }

    .header-emergency-badge {
        margin-left: 0;
    }

    .main-slider--style9 .slide {
        display: block !important;
        height: 50vw !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .main-slider--style9 .slide .image-layer {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: none !important;
        overflow: hidden;
    }

    .main-slider--style9 .mobile-slider-image {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .main-slider--style9 .auto-container {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    .main-slider--style9 .auto-container > .row {
        width: 100%;
        margin: 0;
    }

    .main-slider--style9 .auto-container [class*="col-"] {
        padding: 0;
    }

    .main-slider--style9 .sub-title,
    .main-slider--style9 .btns-box {
        display: none !important;
    }

    .main-slider--style9 .content {
        max-width: 86%;
        text-align: left !important;
    }

    .main-slider--style9 .content .big-title h2 {
        max-width: 100%;
        margin-bottom: 7px;
        font-size: 20px;
        line-height: 1.16;
        text-align: left !important;
    }

    .main-slider--style9 .content .text p {
        max-width: 100%;
        margin-bottom: 0;
        font-size: 11.5px;
        line-height: 1.4;
        text-align: left !important;
    }

    .main-slider--style9 .owl-dots {
        bottom: 8px !important;
    }
}
