/* ======================
   GLOBAL — MAS v3.0.0
   Utility classes & elemen umum semua halaman
   ====================== */

/* ======================
   UTILITY CLASSES
   ====================== */
.box-shadow {
    box-shadow: 0px 0px 16px -6px rgba(0,74,173,0.3);
}

.left-box-shadow {
    box-shadow: -5px 10px 36px -10px rgba(0,74,173,0.2);
}

.break-text {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

/* ======================
   SCROLL TO TOP
   ====================== */
.scroll-to-top {
    font-weight: 500;
    position: fixed;
    bottom: 27px;
    left: 20px;
    color: var(--mas-orange);
    font-size: 36px;
    text-align: center;
    line-height: 1;
    text-decoration: none;
    z-index: 9999;
    display: none;
    transition: all 0.3s ease;
    background: none;
    border: none;
    box-shadow: none;
}

.scroll-to-top:hover {
    color: var(--mas-orange-bright);
}

.scroll-to-top.show {
    display: block;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 15px;
        left: 15px;
        font-size: 40px;
    }
}

/* ======================
   KONTEN KHUSUS
   ====================== */
.category-desc-custom {
    background-color: var(--mas-blue-soft);
    text-align: center;
    color: #000000;
    font-size: 18px;
    line-height: 1.6;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.share-buttons {
    margin-top: 60px;
}

.hook-pesan-terapis {
    margin-bottom: 30px;
}

.mas-toc-wrapper {
    margin-bottom: 20px;
}

/* ======================
   PREV-NEXT BUTTON
   ====================== */
.prev-next-post {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.prev-post a,
.next-post a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--mas-orange);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    margin: 5px;
    text-align: center;
    transition: background 0.3s ease;
}

.next-post a {
    background: var(--mas-blue);
}

.prev-post a::before {
    content: "← ";
    font-size: 16px;
}

.next-post a::after {
    content: " →";
    font-size: 16px;
}

@media (max-width: 768px) {
    .prev-next-post {
        flex-direction: column;
        align-items: center;
    }

    .prev-post a,
    .next-post a {
        width: 100%;
        max-width: 300px;
    }
}

/* ======================
   GALLERY SLIDER
   ====================== */
.gb-gallery-slider img {
    width: 100%;
    border-radius: 12px;
}

/* ==========================================================
   CONTAINER SILAHKAN TANYA ADMIN (FIXED & AMAN TANPA BOCOR)
   ========================================================== */

/* 1. Container Utama */
.gb-container-f007761e {
    position: relative !important;
    z-index: 1 !important;
    min-height: 100vh !important;
    padding-top: 100px;
    padding-bottom: 100px;
    background: #f5ecdb;
    
    /* Trik agar background fixed di dalam section ini saja */
    clip-path: inset(0 0 0 0);
}

/* 2. Pseudo element pembawa gambar */
.gb-container-f007761e::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
    
    /* Gambar Desktop */
    background: url("https://massagearmyspa.com/wp-content/uploads/2026/07/Desktop-Tanya-Admin.avif") no-repeat center center / cover !important;
}

/* 3. Tampilan Mobile (<= 1100px) */
@media (max-width: 1100px) {
    .gb-container-f007761e {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .gb-container-f007761e::before {
        /* Gambar Mobile */
        background: url("https://massagearmyspa.com/wp-content/uploads/2026/07/Mobile-Tanya-Admin.avif") no-repeat center center / contain !important;
        background-color: #f5ecdb !important;
    }
}