:root {
    --bc-green: #166534;
    --bc-green-dark: #14532d;
    --bc-green-soft: #f0fdf4;
    --bc-text: #1f2937;
    --bc-muted: #667085;
    --bc-border: #e5e7eb;
    --bc-surface: #ffffff;
    --bc-background: #fbfcfb;
    --bc-radius: 14px;
}

* { box-sizing: border-box; }

body {
    color: var(--bc-text);
    background: var(--bc-surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { text-underline-offset: 4px; }

.bc-navbar {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--bc-border);
    backdrop-filter: blur(14px);
}

.bc-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bc-text);
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -.04em;
}

.bc-brand:hover { color: var(--bc-green); }

.bc-brand-mark {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    color: white;
    background: var(--bc-green);
    font-size: 1rem;
    font-weight: 800;
}

.bc-navbar .nav-link {
    color: #475467;
    font-size: .92rem;
    font-weight: 500;
    padding-inline: 1rem !important;
}

.bc-navbar .nav-link:hover { color: var(--bc-green); }

.btn {
    border-radius: 9px;
    font-size: .92rem;
    font-weight: 600;
    padding: .68rem 1.05rem;
}

.btn-bc-primary {
    color: white;
    background: var(--bc-green);
    border: 1px solid var(--bc-green);
}

.btn-bc-primary:hover,
.btn-bc-primary:focus {
    color: white;
    background: var(--bc-green-dark);
    border-color: var(--bc-green-dark);
}

.btn-bc-outline {
    color: #344054;
    background: white;
    border: 1px solid #d0d5dd;
}

.btn-bc-outline:hover {
    color: var(--bc-green);
    background: var(--bc-green-soft);
    border-color: #86c99a;
}

.bc-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(220,252,231,.55), transparent 38%),
        linear-gradient(180deg, #fff 0%, #fbfdfb 100%);
}

.bc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    color: var(--bc-green);
    background: var(--bc-green-soft);
    border: 1px solid #dcfce7;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
}

.bc-status-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
}

.bc-hero-title {
    max-width: 720px;
    font-size: clamp(2.7rem, 5.5vw, 4.7rem);
    font-weight: 760;
    letter-spacing: -.065em;
    line-height: 1.06;
}

.bc-hero-title span { color: var(--bc-green); }

.bc-hero-copy {
    max-width: 570px;
    color: var(--bc-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.bc-trust-note {
    color: #667085;
    font-size: .85rem;
}

.bc-visual-card {
    padding: 25px;
    background: white;
    border: 1px solid #e4e9e5;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(16, 48, 28, .08);
}

.bc-visual-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef0ee;
}

.bc-window-dots { display: flex; gap: 5px; }
.bc-window-dots i {
    width: 7px;
    height: 7px;
    background: #d0d5dd;
    border-radius: 50%;
}

.bc-cloud-icon {
    display: grid;
    width: 112px;
    height: 100px;
    place-items: center;
    margin: 28px auto 0;
    color: var(--bc-green);
    background: var(--bc-green-soft);
    border-radius: 26px;
}

.bc-cloud-icon svg { width: 82px; height: 64px; }

.bc-service-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #eef0ee;
}

.bc-service-icon, .bc-card-icon {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--bc-green);
    background: var(--bc-green-soft);
    border: 1px solid #dcfce7;
    border-radius: 11px;
    font-size: .9rem;
    font-weight: 750;
}

.bc-service-row strong, .bc-service-row small { display: block; }
.bc-service-row strong { font-size: .88rem; }
.bc-service-row small { margin-top: 3px; color: var(--bc-muted); font-size: .78rem; }
.bc-arrow { margin-left: auto; color: var(--bc-green); }

.section-space { padding: 90px 0; }

.bc-section-heading { max-width: 650px; }

.bc-section-label {
    color: var(--bc-green);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .12em;
}

.bc-section-heading h2, .bc-benefit-title {
    margin-top: 14px;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 740;
    letter-spacing: -.05em;
    line-height: 1.16;
}

.bc-section-heading p {
    margin-top: 14px;
    color: var(--bc-muted);
    line-height: 1.7;
}

.bc-service-card {
    padding: 27px;
    background: white;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius);
    transition: border-color .2s ease, transform .2s ease;
}

.bc-service-card:hover {
    transform: translateY(-3px);
    border-color: #a7d8b3;
}

.bc-service-card h3 {
    margin-top: 24px;
    font-size: 1.15rem;
    font-weight: 700;
}

.bc-service-card p {
    min-height: 52px;
    margin-top: 10px;
    color: var(--bc-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.bc-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--bc-green);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}

.bc-benefits { background: var(--bc-background); }

.bc-benefit-item {
    display: flex;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid var(--bc-border);
}

.bc-benefit-item:first-child { padding-top: 0; }
.bc-benefit-item > span {
    color: #86a891;
    font-size: .85rem;
    font-weight: 700;
}

.bc-benefit-item h3 { font-size: 1.05rem; font-weight: 700; }
.bc-benefit-item p {
    margin: 8px 0 0;
    color: var(--bc-muted);
    font-size: .9rem;
    line-height: 1.7;
}

.bc-cta { padding: 0 0 90px; }

.bc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    color: white;
    background: var(--bc-green-dark);
    border-radius: 18px;
}

.bc-cta .bc-section-label { color: #bbf7d0; }
.bc-cta h2 {
    margin-top: 12px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 730;
    letter-spacing: -.045em;
}

.bc-cta p { margin: 10px 0 0; color: #d1e7d7; }

.btn-bc-light {
    flex: 0 0 auto;
    color: var(--bc-green-dark);
    background: white;
    border: 1px solid white;
}

.btn-bc-light:hover { color: var(--bc-green-dark); background: #ecfdf3; }

.bc-footer { border-top: 1px solid var(--bc-border); }

@media (max-width: 991.98px) {
    .bc-hero { padding: 64px 0 72px; }
    .bc-hero-title { max-width: 650px; }
    .bc-visual-card { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 575.98px) {
    .bc-hero { padding: 48px 0 56px; }
    .bc-hero-title { font-size: clamp(2.45rem, 12vw, 3.5rem); }
    .bc-hero-copy { font-size: 1rem; }
    .section-space { padding: 64px 0; }
    .bc-visual-card { padding: 18px; border-radius: 15px; }
    .bc-cta { padding-bottom: 64px; }
    .bc-cta-inner { align-items: flex-start; flex-direction: column; padding: 28px 24px; }
    .bc-service-card { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Header Custom Menu: styles are configured per button in the backend. */
.bc-navbar .bc-header-custom-button {
    color: var(--hcm-text);
    background-color: var(--hcm-bg);
    border: var(--hcm-border-width) solid var(--hcm-border);
    border-radius: var(--hcm-radius);
    font-size: var(--hcm-font-size);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.bc-navbar .bc-header-custom-button:hover,
.bc-navbar .bc-header-custom-button:focus-visible {
    color: var(--hcm-hover-text);
    background-color: var(--hcm-hover-bg);
    border-color: var(--hcm-border);
}

/* BorneoCloud navbar: fixed header on scroll */
.bc-navbar-sticky {
    position: relative;
    z-index: 1030;
    width: 100%;
    background: #fff;
}

.bc-navbar-sticky.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--bc-border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.bc-navbar-sticky .bc-navbar {
    min-height: 76px;
    padding-block: 12px;
    background: transparent;
    border: 0;
}

.bc-navbar-sticky .bc-navbar > .container {
    align-items: center;
}

.bc-navbar-sticky .bc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.bc-navbar-sticky .bc-brand-mark {
    flex: 0 0 auto;
}

.bc-navbar-sticky .navbar-toggler {
    flex: 0 0 auto;
    margin-left: auto;
}

.bc-navbar-sticky .navbar-collapse {
    align-items: center;
}

@media (max-width: 991.98px) {
    .bc-navbar-sticky .bc-navbar {
        min-height: 72px;
        padding-block: 10px;
    }

    .bc-navbar-sticky .navbar-collapse {
        padding: 16px 0 8px;
    }

    .bc-navbar-sticky .navbar-nav {
        width: 100%;
        margin-bottom: 12px !important;
    }

    .bc-navbar-sticky .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .bc-navbar-sticky .navbar-collapse > .d-flex {
        width: 100%;
        padding-bottom: 8px;
    }

    .bc-navbar-sticky .navbar-collapse .btn {
        text-align: center;
    }
}

/* Sticky state: keep the complete navbar fixed at the viewport top */
.bc-navbar-sticky.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
}

.bc-navbar-spacer[hidden] {
    display: none !important;
}

/* BorneoCloud floating sticky header — SumoPod-inspired */
.bc-navbar-sticky.is-fixed {
    position: fixed !important;
    top: 12px !important;
    left: 50%;
    right: auto;
    width: calc(100% - 32px);
    max-width: 1250px;
    box-sizing: border-box;
    transform: translateX(-50%);
    z-index: 1050;
    overflow: visible;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 12px 38px rgba(15, 23, 42, 0.10);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.bc-navbar-sticky.is-fixed .bc-navbar {
    min-height: 68px;
    padding: 8px 20px;
    border: 0;
    background: transparent;
}

.bc-navbar-sticky.is-fixed .bc-navbar > .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 0;
}

.bc-navbar-sticky.is-fixed .bc-brand {
    gap: 10px;
    margin-right: 20px;
    color: #172033;
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.bc-navbar-sticky.is-fixed .bc-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.bc-navbar-sticky.is-fixed .navbar-nav .nav-link {
    color: #475467;
    font-weight: 550;
    padding-inline: 12px !important;
}

.bc-navbar-sticky.is-fixed .navbar-nav .nav-link:hover {
    color: var(--bc-green);
}

.bc-navbar-sticky.is-fixed .navbar-collapse > .d-flex {
    gap: 10px !important;
}

.bc-navbar-sticky.is-fixed .navbar-collapse .btn {
    min-height: 44px;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 650;
    white-space: nowrap;
}

.bc-navbar-sticky.is-fixed .btn-bc-outline {
    border-color: #e5e7eb;
    background: #f3f4f6;
}

.bc-navbar-sticky.is-fixed .btn-bc-primary {
    background: #193ce5;
    border-color: #193ce5;
    color: #fff;
}

.bc-navbar-sticky.is-fixed .btn-bc-primary:hover {
    background: #1532c5;
    border-color: #1532c5;
    color: #fff;
}

.bc-navbar-sticky.is-fixed .bc-header-custom-button {
    border-radius: 999px;
    padding-inline: 18px;
}

@media (max-width: 991.98px) {
    .bc-navbar-sticky.is-fixed {
        top: 8px !important;
        width: calc(100% - 24px);
        border-radius: 24px;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar {
        min-height: 64px;
        padding: 8px 12px;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        padding: 0 4px;
        flex-wrap: wrap;
    }

    .bc-navbar-sticky.is-fixed .bc-brand {
        font-size: 1.05rem;
        margin-right: 8px;
    }

    .bc-navbar-sticky.is-fixed .bc-brand-mark {
        width: 34px;
        height: 34px;
    }

    .bc-navbar-sticky.is-fixed .navbar-toggler {
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 7px 10px;
    }

    .bc-navbar-sticky.is-fixed .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        padding: 12px 8px 8px;
    }

    .bc-navbar-sticky.is-fixed .navbar-collapse > .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .bc-navbar-sticky.is-fixed .navbar-collapse .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .bc-navbar-sticky.is-fixed {
        animation: bc-floating-header-in 180ms ease-out;
    }

    @keyframes bc-floating-header-in {
        from {
            opacity: 0.85;
            margin-top: -5px;
        }
        to {
            opacity: 1;
            margin-top: 0;
        }
    }
}

/* BorneoCloud mobile navigation: borderless fullscreen */
@media (max-width: 991.98px) {
    .bc-navbar-sticky .navbar-toggler,
    .bc-navbar-sticky.is-fixed .navbar-toggler {
        border: 0 !important;
        box-shadow: none !important;
        outline: none;
        background: transparent !important;
        border-radius: 0 !important;
        padding: 8px !important;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .bc-navbar-sticky .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .bc-navbar-sticky .navbar-toggler-icon {
        width: 26px;
        height: 26px;
        background-size: 26px 26px;
    }

    .bc-navbar-sticky .navbar-collapse,
    .bc-navbar-sticky.is-fixed .navbar-collapse {
        position: fixed;
        inset: 0;
        z-index: 2000;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        left: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 100px 28px 32px !important;
        margin: 0;
        background: #fff;
        display: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .bc-navbar-sticky .navbar-collapse.show,
    .bc-navbar-sticky .navbar-collapse.collapsing {
        display: block;
    }

    .bc-navbar-sticky .navbar-collapse.collapsing {
        height: 100vh !important;
        height: 100dvh !important;
        transition: none !important;
    }

    .bc-navbar-sticky .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        margin: 0 0 28px !important;
    }

    .bc-navbar-sticky .navbar-collapse .nav-link {
        padding: 15px 0 !important;
        color: #172033;
        font-size: 1.25rem;
        font-weight: 650;
        border-bottom: 1px solid #f0f2f0;
    }

    .bc-navbar-sticky .navbar-collapse > .d-flex {
        display: flex;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100%;
    }

    .bc-navbar-sticky .navbar-collapse > .d-flex .btn {
        width: 100%;
        min-height: 50px;
        border-radius: 14px;
        text-align: center;
    }

    /* Keep brand and hamburger above the fullscreen menu */
    .bc-navbar-sticky .bc-navbar > .container {
        position: relative;
        z-index: 2001;
    }

    .bc-navbar-sticky .navbar-collapse.show ~ * {
        position: relative;
    }
}

/* Mobile fullscreen navigation refinement */
@media (max-width: 991.98px) {
    .bc-navbar-sticky .navbar-collapse,
    .bc-navbar-sticky.is-fixed .navbar-collapse {
        position: fixed;
        inset: 0;
        z-index: 2000;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 24px 32px !important;
        margin: 0;
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .bc-navbar-sticky .navbar-collapse:not(.show):not(.collapsing),
    .bc-navbar-sticky.is-fixed .navbar-collapse:not(.show):not(.collapsing) {
        display: none;
    }

    .bc-navbar-sticky .navbar-collapse.show,
    .bc-navbar-sticky.is-fixed .navbar-collapse.show {
        display: block;
    }

    .bc-navbar-sticky .bc-mobile-menu-header {
        position: sticky;
        top: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        margin: 0 -24px 18px;
        padding: 12px 24px;
        background: rgba(255, 255, 255, .97);
        border-bottom: 1px solid #eef0ee;
    }

    .bc-navbar-sticky .bc-mobile-menu-title {
        color: #172033;
        font-size: 1.15rem;
        font-weight: 750;
    }

    .bc-navbar-sticky .bc-mobile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f3f5f4;
        color: #172033;
        font-size: 32px;
        font-weight: 300;
        line-height: 1;
        cursor: pointer;
    }

    .bc-navbar-sticky .bc-mobile-menu-close:focus-visible {
        outline: 2px solid var(--bc-green);
        outline-offset: 3px;
    }

    .bc-navbar-sticky .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0 0 24px !important;
    }

    .bc-navbar-sticky .navbar-collapse .nav-item {
        width: 100%;
    }

    .bc-navbar-sticky .navbar-collapse .nav-link {
        display: block;
        padding: 17px 0 !important;
        color: #344054;
        font-size: 1.15rem;
        font-weight: 600;
        border-bottom: 1px solid #eef0ee;
    }

    .bc-navbar-sticky .navbar-collapse > .d-flex {
        display: flex;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100%;
        margin-top: 28px;
        padding: 0 0 24px;
    }

    .bc-navbar-sticky .navbar-collapse > .d-flex .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        border-radius: 14px;
        font-size: 1rem;
        text-align: center;
    }
}


/* Mobile viewport overflow safeguards */
@media (max-width: 575.98px) {
    html,
    body {
        max-width: 100%;
    }

    .bc-navbar-sticky,
    .bc-navbar-sticky .bc-navbar,
    .bc-navbar-sticky .bc-navbar > .container {
        min-width: 0;
        max-width: 100%;
    }

    .bc-navbar-sticky.is-fixed {
        left: 8px;
        right: 8px;
        width: auto;
        max-width: calc(100% - 16px);
        transform: none;
    }

    .bc-navbar-sticky .bc-brand {
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .bc-navbar-sticky .navbar-collapse,
    .bc-navbar-sticky.is-fixed .navbar-collapse {
        max-width: 100%;
    }

    .bc-hero .row > *,
    .bc-benefits .row > *,
    .bc-service-card,
    .bc-product-card,
    .bc-blog-card {
        min-width: 0;
    }

    .bc-service-card,
    .bc-product-card,
    .bc-blog-card {
        overflow-wrap: anywhere;
    }

    .bc-carousel-image,
    .bc-product-image img,
    .bc-blog-card-image img {
        max-width: 100%;
    }
}

/* =====================================================
   BorneoCloud: mobile navbar + horizontal overflow fix
   ===================================================== */

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 991.98px) {
    /* Header normal dan sticky memakai ukuran yang konsisten */
    .bc-navbar-sticky {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bc-navbar-sticky .bc-navbar {
        width: 100%;
        min-height: 64px;
        padding: 8px 0;
        box-sizing: border-box;
    }

    .bc-navbar-sticky .bc-navbar > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        gap: 10px;
        box-sizing: border-box;
    }

    .bc-navbar-sticky .bc-brand {
        min-width: 0;
        max-width: calc(100% - 58px);
        gap: 9px;
        margin-right: 0;
        font-size: 1.05rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .bc-navbar-sticky .bc-brand-mark {
        width: 38px;
        height: 38px;
        min-width: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .bc-navbar-sticky .navbar-toggler {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 8px;
        margin-left: auto;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    /* Sticky: jangan gunakan kombinasi left 50% + transform
       pada layar mobile */
    .bc-navbar-sticky.is-fixed {
        position: fixed !important;
        top: 8px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0;
        padding: 0;
        transform: none !important;
        border-radius: 22px;
        box-sizing: border-box;
        overflow: visible;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar {
        min-height: 60px;
        padding: 6px 0;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .bc-navbar-sticky.is-fixed .bc-brand {
        max-width: calc(100% - 54px);
        gap: 8px;
        margin-right: 0;
        font-size: 1rem;
    }

    .bc-navbar-sticky.is-fixed .bc-brand-mark {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .bc-navbar-sticky.is-fixed .navbar-toggler {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    /* Menu terbuka tetap berada dalam batas viewport */
    .bc-navbar-sticky .navbar-collapse {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bc-navbar-sticky .navbar-collapse > .d-flex {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bc-navbar-sticky .navbar-collapse .btn,
    .bc-navbar-sticky .bc-header-custom-button {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }

    /* Hero dan gambar tidak boleh melebihi lebar layar */
    .bc-hero,
    .bc-hero-carousel,
    .bc-hero-carousel .container,
    .bc-carousel-track,
    .bc-carousel-slide,
    .bc-carousel-slide .row,
    .bc-carousel-image {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bc-carousel-image {
        height: auto;
        object-fit: contain;
    }
}

/* BorneoCloud: clean sticky header capsule */
@media (max-width: 767px) {
    .bc-navbar-sticky {
        position: relative;
        border-radius: 9999px !important;
        overflow: hidden !important;
        isolation: isolate;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        background-image: none !important;
    }

    .bc-navbar-sticky::before,
    .bc-navbar-sticky::after {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .bc-navbar-sticky > * {
        min-width: 0;
    }
}

/* Fix: mobile menu must not be clipped by sticky header */
@media (max-width: 767px) {
    .bc-navbar-sticky {
        overflow: visible !important;
        isolation: auto !important;
    }
}

/* BorneoCloud: mobile navigation full-screen fix */
@media (max-width: 991.98px) {
    .bc-navbar-sticky #bcNavigation.show,
    .bc-navbar-sticky.is-fixed #bcNavigation.show {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;

        margin: 0 !important;
        padding: 0 24px 32px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;

        background: #fff !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 10000 !important;
    }

    .bc-navbar-sticky #bcNavigation.collapsing,
    .bc-navbar-sticky.is-fixed #bcNavigation.collapsing {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow: hidden !important;
        transition: none !important;
    }

    .bc-navbar-sticky #bcNavigation.show .bc-mobile-menu-header {
        position: sticky;
        top: 0;
        z-index: 10;
        margin: 0 -24px 18px !important;
        padding: 12px 24px !important;
        min-height: 76px;
        background: #fff !important;
    }

    .bc-navbar-sticky #bcNavigation.show .navbar-nav,
    .bc-navbar-sticky #bcNavigation.show .navbar-nav .nav-item {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .bc-navbar-sticky #bcNavigation.show .navbar-nav .nav-link {
        display: block !important;
        visibility: visible !important;
        color: #172033 !important;
        padding: 16px 0 !important;
    }

    .bc-navbar-sticky #bcNavigation.show > .d-flex {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 24px !important;
    }
}

/* BorneoCloud: mobile hamburger dropdown, not fullscreen modal */
@media (max-width: 991.98px) {
    .bc-navbar-sticky {
        position: relative;
        overflow: visible !important;
        isolation: auto !important;
    }

    .bc-navbar-sticky .bc-navbar {
        position: relative;
        overflow: visible !important;
    }

    .bc-navbar-sticky .bc-navbar > .container {
        position: relative;
        z-index: auto !important;
    }

    .bc-navbar-sticky #bcNavigation,
    .bc-navbar-sticky.is-fixed #bcNavigation {
        position: absolute !important;
        inset: auto 0 auto 0 !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 110px) !important;
        max-height: calc(100dvh - 110px) !important;

        margin: 0 !important;
        padding: 14px 20px 20px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        background: #fff !important;
        border: 1px solid #edf0ed !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12) !important;

        z-index: 3000 !important;
    }

    .bc-navbar-sticky #bcNavigation:not(.show):not(.collapsing),
    .bc-navbar-sticky.is-fixed #bcNavigation:not(.show):not(.collapsing) {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation.show,
    .bc-navbar-sticky.is-fixed #bcNavigation.show {
        display: block !important;
    }

    .bc-navbar-sticky #bcNavigation.collapsing,
    .bc-navbar-sticky.is-fixed #bcNavigation.collapsing {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100dvh - 110px) !important;
        overflow-y: auto !important;
        transition: none !important;
    }

    /* No modal-style Menu header or close button */
    .bc-navbar-sticky #bcNavigation .bc-mobile-menu-header {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .bc-navbar-sticky #bcNavigation .navbar-nav .nav-item {
        display: block !important;
        width: 100% !important;
    }

    .bc-navbar-sticky #bcNavigation .navbar-nav .nav-link {
        display: block !important;
        padding: 14px 4px !important;
        color: #172033 !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-bottom: 1px solid #f0f2f0 !important;
    }

    .bc-navbar-sticky #bcNavigation > .d-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 16px 0 0 !important;
        padding: 0 !important;
    }

    .bc-navbar-sticky #bcNavigation > .d-flex .btn {
        width: 100% !important;
        min-height: 46px !important;
        border-radius: 12px !important;
    }
}

/* Fix: show close button in mobile hamburger dropdown */
@media (max-width: 991.98px) {
    .bc-navbar-sticky #bcNavigation.show .bc-mobile-menu-header,
    .bc-navbar-sticky #bcNavigation.collapsing .bc-mobile-menu-header {
        display: flex !important;
        position: sticky;
        top: 0;
        z-index: 10;
        align-items: center;
        justify-content: flex-end;
        min-height: 52px;
        margin: 0 0 8px !important;
        padding: 0 0 8px !important;
        background: #fff !important;
        border-bottom: 1px solid #f0f2f0;
    }

    .bc-navbar-sticky #bcNavigation .bc-mobile-menu-title {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation .bc-mobile-menu-close {
        display: inline-flex !important;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #f3f5f4 !important;
        color: #172033 !important;
        font-size: 30px !important;
        line-height: 1 !important;
        cursor: pointer;
    }
}

/* BorneoCloud: pure animated hamburger-to-close icon */
@media (max-width: 991.98px) {
    .bc-navbar-sticky .navbar-toggler,
    .bc-navbar-sticky.is-fixed .navbar-toggler {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 8px !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        position: relative;
        z-index: 3010 !important;
    }

    .bc-navbar-sticky .navbar-toggler:focus,
    .bc-navbar-sticky .navbar-toggler:focus-visible {
        box-shadow: none !important;
        outline: none !important;
    }

    /* Replace Bootstrap's default icon */
    .bc-navbar-sticky .navbar-toggler-icon {
        display: none !important;
        background-image: none !important;
    }

    .bc-navbar-sticky .bc-hamburger-lines {
        position: relative;
        display: block !important;
        width: 24px;
        height: 20px;
        flex: 0 0 24px;
    }

    .bc-navbar-sticky .bc-hamburger-lines > span {
        position: absolute;
        left: 0;
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: #172033;
        transform-origin: center;
        transition:
            top 220ms ease,
            transform 220ms ease,
            opacity 160ms ease;
    }

    .bc-navbar-sticky .bc-hamburger-lines > span:nth-child(1) {
        top: 3px;
    }

    .bc-navbar-sticky .bc-hamburger-lines > span:nth-child(2) {
        top: 9px;
    }

    .bc-navbar-sticky .bc-hamburger-lines > span:nth-child(3) {
        top: 15px;
    }

    /* Hamburger transforms into X when Bootstrap opens the menu */
    .bc-navbar-sticky .navbar-toggler[aria-expanded="true"]
    .bc-hamburger-lines > span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .bc-navbar-sticky .navbar-toggler[aria-expanded="true"]
    .bc-hamburger-lines > span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .bc-navbar-sticky .navbar-toggler[aria-expanded="true"]
    .bc-hamburger-lines > span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    /* No separate close control inside the dropdown */
    .bc-navbar-sticky #bcNavigation .bc-mobile-menu-header {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-navbar-sticky .bc-hamburger-lines > span {
        transition: none !important;
    }
}

/* Final override: true hamburger dropdown, never fullscreen */
@media (max-width: 991.98px) {
    .bc-navbar-sticky,
    .bc-navbar-sticky.is-fixed {
        overflow: visible !important;
        isolation: auto !important;
    }

    .bc-navbar-sticky .bc-navbar,
    .bc-navbar-sticky.is-fixed .bc-navbar {
        position: relative !important;
        overflow: visible !important;
    }

    .bc-navbar-sticky #bcNavigation,
    .bc-navbar-sticky.is-fixed #bcNavigation,
    .bc-navbar-sticky #bcNavigation.show,
    .bc-navbar-sticky.is-fixed #bcNavigation.show,
    .bc-navbar-sticky #bcNavigation.collapsing,
    .bc-navbar-sticky.is-fixed #bcNavigation.collapsing {
        position: absolute !important;
        inset: auto !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - 120px) !important;

        margin: 0 !important;
        padding: 12px 20px 20px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        background: #fff !important;
        border: 1px solid #edf0ed !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 40px rgba(16, 24, 40, .12) !important;
        z-index: 3000 !important;
    }

    .bc-navbar-sticky #bcNavigation:not(.show):not(.collapsing),
    .bc-navbar-sticky.is-fixed #bcNavigation:not(.show):not(.collapsing) {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation.show,
    .bc-navbar-sticky.is-fixed #bcNavigation.show {
        display: block !important;
    }

    /* Remove separate X button/header from the dropdown */
    .bc-navbar-sticky #bcNavigation .bc-mobile-menu-header {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
    }

    .bc-navbar-sticky #bcNavigation > .d-flex {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 16px 0 0 !important;
    }

    /* Keep hamburger above the dropdown */
    .bc-navbar-sticky .navbar-toggler {
        position: relative !important;
        z-index: 3010 !important;
    }
}

/* BorneoCloud: independent animated hamburger dropdown */
@media (max-width: 991.98px) {
    .bc-navbar-sticky,
    .bc-navbar-sticky.is-fixed,
    .bc-navbar-sticky .bc-navbar {
        overflow: visible !important;
    }

    .bc-navbar-sticky .bc-navbar {
        position: relative !important;
    }

    .bc-navbar-sticky .navbar-toggler {
        position: relative !important;
        z-index: 3010 !important;
    }

    .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        inset-inline: 0 !important;

        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: calc(100dvh - 120px) !important;
        margin: 0 !important;
        padding: 12px 20px 20px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        background: #fff !important;
        border: 1px solid #edf0ed !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 40px rgba(16, 24, 40, .12) !important;
        z-index: 3000 !important;

        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transform-origin: top center;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    }

    .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown.bc-menu-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .bc-navbar-sticky #bcNavigation .bc-mobile-menu-header {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .bc-navbar-sticky #bcNavigation .navbar-nav .nav-link {
        display: block !important;
        padding: 14px 4px !important;
        color: #172033 !important;
        border-bottom: 1px solid #f0f2f0 !important;
    }

    .bc-navbar-sticky #bcNavigation > .d-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 16px 0 0 !important;
    }

    .bc-navbar-sticky #bcNavigation > .d-flex .btn {
        width: 100% !important;
    }

    .bc-navbar-sticky .bc-hamburger-lines > span {
        transition: top 220ms ease, transform 220ms ease, opacity 160ms ease;
    }

    .bc-navbar-sticky .navbar-toggler[aria-expanded="true"]
    .bc-hamburger-lines > span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .bc-navbar-sticky .navbar-toggler[aria-expanded="true"]
    .bc-hamburger-lines > span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .bc-navbar-sticky .navbar-toggler[aria-expanded="true"]
    .bc-hamburger-lines > span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown,
    .bc-navbar-sticky .bc-hamburger-lines > span {
        transition: none !important;
    }
}

/* Fix: force independent dropdown visibility */
@media (max-width: 991.98px) {
    .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown {
        display: none !important;
    }

    .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown.bc-menu-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;

        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100dvh - 120px) !important;
        overflow-y: auto !important;

        background: #fff !important;
        border: 1px solid #edf0ed !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 40px rgba(16, 24, 40, .12) !important;
        z-index: 3000 !important;
    }
}

/* Resolve Bootstrap .collapse visibility conflict */
@media (max-width: 991.98px) {
    html body .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown.bc-menu-open:not(.show):not(.collapsing),
    html body .bc-navbar-sticky.is-fixed #bcNavigation.bc-mobile-dropdown.bc-menu-open:not(.show):not(.collapsing) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;

        width: 100% !important;
        height: auto !important;
        max-height: calc(100dvh - 120px) !important;
        overflow-y: auto !important;

        background: #fff !important;
        border: 1px solid #edf0ed !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 40px rgba(16, 24, 40, .12) !important;
        z-index: 3000 !important;
        transform: translateY(0) !important;
    }

    html body .bc-navbar-sticky #bcNavigation.bc-mobile-dropdown:not(.bc-menu-open),
    html body .bc-navbar-sticky.is-fixed #bcNavigation.bc-mobile-dropdown:not(.bc-menu-open) {
        display: none !important;
    }
}

/* BorneoCloud: clean floating sticky header radius */
@media (max-width: 991.98px) {
    .bc-navbar-sticky.is-fixed {
        border-radius: 24px !important;
        overflow: clip !important;
        background: #fff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
        isolation: isolate !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar {
        border-radius: inherit !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        border-radius: inherit !important;
        background: transparent !important;
    }

    /* Keep dropdown outside the clipped header wrapper */
    .bc-navbar-sticky.is-fixed #bcNavigation {
        border-radius: 20px !important;
    }
}

/* Fix: preserve rounded sticky header without clipping dropdown */
@media (max-width: 991.98px) {
    .bc-navbar-sticky.is-fixed {
        overflow: visible !important;
        isolation: isolate !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 24px !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar {
        position: relative !important;
        overflow: visible !important;
        background: #fff !important;
        border: 1px solid #edf0ed !important;
        border-radius: 24px !important;
        box-shadow: 0 8px 28px rgba(15, 23, 42, .08) !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        border-radius: 24px !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .bc-navbar-sticky.is-fixed #bcNavigation.bc-mobile-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100dvh - 120px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
        z-index: 3000 !important;
    }

    .bc-navbar-sticky.is-fixed #bcNavigation.bc-mobile-dropdown.bc-menu-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* BorneoCloud: consistent floating header radius on tablet and desktop */
@media (min-width: 768px) {
    .bc-navbar-sticky.is-fixed {
        position: fixed !important;
        top: 12px !important;
        left: 50% !important;
        right: auto !important;
        width: calc(100% - 48px) !important;
        max-width: 1250px !important;
        transform: translateX(-50%) !important;

        border: 1px solid #e5e7eb !important;
        border-radius: 9999px !important;
        background: #fff !important;
        box-shadow: 0 8px 28px rgba(15, 23, 42, .08) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;

        overflow: visible !important;
        isolation: isolate !important;
        z-index: 1050 !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar {
        min-height: 68px;
        border: 0 !important;
        border-radius: inherit !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        max-width: 100% !important;
        min-height: inherit;
        padding-left: 20px !important;
        padding-right: 20px !important;
        border-radius: inherit !important;
        background: transparent !important;
    }

    .bc-navbar-sticky.is-fixed .navbar-brand {
        flex-shrink: 0;
    }

    /* Tablet: slightly smaller capsule */
    @media (min-width: 768px) and (max-width: 991.98px) {
        .bc-navbar-sticky.is-fixed {
            width: calc(100% - 32px) !important;
            top: 10px !important;
            border-radius: 28px !important;
        }

        .bc-navbar-sticky.is-fixed .bc-navbar {
            min-height: 64px;
        }
    }
}

/* BorneoCloud: compact sticky navbar height */
@media (min-width: 768px) {
    .bc-navbar-sticky.is-fixed .bc-navbar {
        min-height: 50px !important;
        height: 50px !important;
    }

    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        min-height: 50px !important;
        height: 50px !important;
    }
}

/* BorneoCloud: sticky navbar height 60px */
@media (min-width: 768px) {
    .bc-navbar-sticky.is-fixed .bc-navbar,
    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        min-height: 60px !important;
        height: 60px !important;
    }
}

/* BorneoCloud: sticky navbar height 65px */
@media (min-width: 768px) {
    .bc-navbar-sticky.is-fixed .bc-navbar,
    .bc-navbar-sticky.is-fixed .bc-navbar > .container {
        min-height: 65px !important;
        height: 65px !important;
    }
}

/* BorneoCloud: horizontal listing on mobile */
@media (max-width: 575.98px) {

    /* Homepage: product cards */
    .bc-products-section .bc-product-card,
    .bc-product-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
        height: auto !important;
        min-height: 124px;
        border-radius: 13px;
        transform: none;
    }

    .bc-product-card > .bc-product-image {
        flex: 0 0 34% !important;
        width: 34% !important;
        min-width: 0;
        height: auto !important;
        min-height: 124px;
        padding: 8px;
        border-bottom: 0;
        border-right: 1px solid #eef0ee;
    }

    .bc-product-card > .bc-product-image img {
        width: 100%;
        height: 100%;
        max-height: 150px;
        object-fit: contain;
    }

    .bc-product-card > .bc-product-body {
        flex: 1 1 0;
        min-width: 0;
        min-height: 0;
        padding: 12px !important;
        overflow-wrap: anywhere;
    }

    .bc-product-card .bc-product-name {
        margin: 6px 0;
        font-size: .95rem;
        line-height: 1.35;
    }

    .bc-product-card .bc-product-description {
        min-height: 0;
        margin-bottom: 8px;
        font-size: .8rem;
        line-height: 1.5;
    }

    .bc-product-card .bc-product-footer {
        padding-top: 9px;
        gap: 6px;
    }

    .bc-product-card .bc-product-price,
    .bc-product-card .bc-product-price strong {
        font-size: .95rem;
    }

    /* Homepage: blog cards */
    .bc-blog-card {
        flex-direction: row !important;
        align-items: stretch;
        min-height: 124px;
        border-radius: 13px;
        transform: none;
    }

    .bc-blog-card > .bc-blog-card-image {
        flex: 0 0 34%;
        width: 34%;
        height: auto !important;
        min-height: 124px;
        border-bottom: 0;
        border-right: 1px solid #eef0ee;
    }

    .bc-blog-card > .bc-blog-card-image img {
        width: 100%;
        height: 100%;
        min-height: 124px;
        object-fit: cover;
    }

    .bc-blog-card > .bc-blog-card-body {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px !important;
        overflow-wrap: anywhere;
    }

    .bc-blog-card .bc-blog-title {
        margin: 6px 0;
        font-size: .95rem;
        line-height: 1.4;
    }

    .bc-blog-card .bc-blog-excerpt {
        font-size: .8rem;
        line-height: 1.5;
    }

    .bc-blog-card .bc-blog-link {
        padding-top: 7px;
        font-size: .8rem;
    }

    /* Blog archive page */
    .section-space .row > [class*="col-"] > article.card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
        height: auto !important;
        min-height: 124px;
        border-radius: 13px;
    }

    .section-space .row > [class*="col-"] > article.card > a:first-child {
        flex: 0 0 34%;
        width: 34%;
        min-width: 0;
        display: block;
        overflow: hidden;
        border-right: 1px solid #eef0ee;
    }

    .section-space .row > [class*="col-"] > article.card > a:first-child img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        min-height: 124px;
        object-fit: cover;
    }

    .section-space .row > [class*="col-"] > article.card > a:first-child > div {
        height: 100% !important;
        min-height: 124px;
        font-size: 1.6rem !important;
    }

    .section-space .row > [class*="col-"] > article.card > .card-body {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px !important;
        overflow-wrap: anywhere;
    }

    .section-space .row > [class*="col-"] > article.card h2 {
        font-size: .95rem;
        line-height: 1.4;
    }

    .section-space .row > [class*="col-"] > article.card p {
        font-size: .8rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }
}

