/*
 * Styles for Single Cluster Page
 */

/* --- Hero Section (Card Style) --- */
.cluster-hero {
    background: #fff;
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
}

.cluster-hero-image {
    width: 100%;
    height: auto;
}

.cluster-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.cluster-hero-content {
    max-width: 1400px;
    width: 100%;
    padding: 1rem 0rem 0.2rem 0rem;
}

.cluster-title-container {
    display: flex;
    flex-direction: column;
}

.cluster-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
    line-height: 1.2;
}

.cluster-info {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: start;
}

.cluster-pt {
    font-size: 0.95rem;
    color: #123456;
}

/* --- Button --- */
.contact-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    background-color: #e60000;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1rem;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    width: fit-content;
    transition: 0.2s all ease-in-out;
}

.contact-button:hover {
    background-color: #c00000;
    color: #ffff;
}

.contact-button i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cluster-hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .cluster-title {
        font-size: 1.5rem;
    }

    .cluster-contact-button {
        width: 100%;
    }

    .cluster-hero-image img {
        height: 200px;
    }
}

/* --- Main Layout --- */
.cluster-container {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
    padding: 2rem 0rem;
    position: relative;
    column-gap: 2rem;
}

@media (min-width: 992px) {
    .cluster-container {
        grid-template-columns: 340px 1fr;
    }
}

/* --- Sidebar Section --- */
.cluster-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 8rem;
    align-self: start;
}

.cluster-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 6px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.cta-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    height: 100%;
}

.cta-title {
    padding-top: 5px;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 600;
    color: #192a3d;
    text-align: start;
    margin-bottom: 8px;
}

.cta-subtitle {
    font-size: 0.9rem;
    color: #4a5568;
    text-align: start;
    margin-bottom: 1rem;
}

.sidebar-title {
    display: flex;
    align-items: center;
    justify-content: start;
    font-weight: 600;
    font-size: 18px;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #fff;
    background-color: #123456;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    text-align: start;
}
.action-buttons-wrapper {
    display: flex;
    flex-direction: column; /* Susun tombol ke bawah */
    gap: 12px; /* Jarak otomatis antar tombol (WA, Booking, Brosur) */
    width: 100%;
    margin-top: 15px;
}

/* --- 2. BASE STYLE TOMBOL (Dipakai semua tombol) --- */
.contact-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;          
    padding: 12px 20px;    
    border-radius: 8px; /* Sudut lebih modern */
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none; 
    color: #ffffff;       
    box-sizing: border-box; 
    transition: all 0.3s ease;
    line-height: 1.5;
    position: relative; /* Penting untuk posisi Badge Promo */
    border: none; /* Reset border default button */
    font-family: inherit; /* Reset font button */
}

/* Style Icon SVG di dalam tombol */
.contact-button svg {
    margin-right: 10px;
    fill: #ffffff;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Hover Effect Umum */
.contact-button:hover {
    transform: translateY(-2px); /* Naik sedikit saat dihover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* --- 3. WARNA SPESIFIK TIAP TOMBOL --- */

/* Tombol WhatsApp (Hijau) */
.wa-button {
    background-color: #25D366;
}
.wa-button:hover {
    background-color: #1ebe5a;
}

/* Tombol Booking (Merah) */
.booking-button {
    background-color: #D32F2F; 
}
.booking-button:hover {
    background-color: #b71c1c; 
}

/* Tombol Brosur (Biru) - INI YANG BARU */
.ebrosure-button {
    background-color: #123456; 
}
.ebrosure-button:hover {
    background-color: #0f2b47; 
}
.promo-badge {
    position: absolute;
    top: -10px; /* Mengatur posisi vertikal (sedikit keluar ke atas) */
    right: -5px; /* Mengatur posisi horizontal (sedikit keluar ke kanan) */
    background-color: #ff0000; /* Warna merah */
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px; /* Membuat sudut membulat seperti pil */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Efek bayangan */
    z-index: 10;
    line-height: 1.2;
    letter-spacing: 0.5px;
    
    /* Opsional: Tambahkan animasi berdenyut agar menarik perhatian */
    animation: pulse-badge 2s infinite;
}

/* Animasi untuk badge (Opsional) */
@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.sidebar-contents {
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0rem 1rem;
}

.sidebar-sub {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.8rem;
    color: #7c7c7c;
}

.sidebar-pt {
    font-weight: 400;
    font-size: 0.9rem;
    color: #1a202c;
}

@media (max-width: 986px) {
    .cluster-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        width: 100%;
    }

    .cluster-sidebar-info {
        width: 100%;
    }

    .maps-iframe {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cluster-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .cluster-sidebar {
        grid-template-columns: 1fr;
    }
}

/* --- Main Content Section --- */
.cluster-content {
    border-radius: 8px;
    min-width: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    color: #1a202c;
}

/* --- Gallery Section (Using dis-slider) --- */
.cluster-gallery-section {
    margin-bottom: 2.5rem;
}

.dis-slider-wrapper {
    width: 100%;
    margin: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.dis-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.dis-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f2f4f6;
}

.dis-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.6s ease-in-out,
        visibility 0.6s ease-in-out;
}

.dis-slide-image.active {
    opacity: 1;
    visibility: visible;
}
.promo-hero-section {
    width: 100%;
    background: #fff; /* Atau warna background web kamu */
}

/* Area Slider */
.dis-slider-container {
    position: relative;
    width: 100%;
    height: 500px; /* Tinggi gambar slider */
    overflow: hidden;
}

.dis-image-wrapper {
    width: 100%;
    height: 100%;
}

/* Dots melayang di dalam gambar, kanan bawah */
.dis-dots-container {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 6px;
}




.cluster-developer {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}



.cluster-info-static {
    background: #fff;
    position: relative;
    z-index: 20;
    padding: 20px 20px 0px 20px;
    border-radius: 8px 8px 0 0; /* Ujung atas agak bulat */
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05); /* Shadow halus ke atas */
    width: 90%; /* Buat lebih kecil sedikit dari slider agar terlihat melayang */
    margin-left: auto;
    margin-right: auto;

    display: flex;
    justify-content: space-between; 
    align-items: center; /* Ganti baseline jadi center agar logo rapi vertikal */
    gap: 20px; /* Jarak aman antara teks dan logo */
}

.cluster-text-wrapper {
    flex: 1; 
}

.cluster-title {
    margin-top: 0; /* Pastikan judul tidak punya margin atas bawaan */
    line-height: 1.2;
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 5px;
}

.cluster-developer {
    margin-top: 5px;
    color: #666;
    font-weight: 500;
}

/* --- Hero Slider Wrapper --- */
.promo-hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #fff;
}

/* Container Slider */
.promo-hero-section .dis-slider-container {
    position: relative;
    width: 100%;
    
    aspect-ratio: 16 / 4 !important;
    overflow: hidden;
    z-index: 1;
    height: auto;
}

.promo-hero-section .dis-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, transparent 20%);
    pointer-events: none;
}



/* Image Wrapper */
.promo-hero-section .dis-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #eee;
    aspect-ratio: 1144 / 250 !important;
}

.promo-hero-section .dis-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover !important;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.promo-hero-section .dis-slide-image.active {
    opacity: 1;
    visibility: visible;
}

.promo-hero-section .dis-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dots Indikator - Dipindah ke kanan atas area judul agar lebih menyatu */
.promo-hero-section .dis-dots-container {
    position: absolute;
    /* Pindah ke sisi kanan tengah gambar */
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    /* Ubah orientasi jadi vertikal supaya elegan */
    flex-direction: column; 
    z-index: 30;
    gap: 12px;
}

.promo-hero-section .dis-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.1);
}

.promo-hero-section .dis-dot.active {
    background: #fff;
    height: 20px; /* Efek memanjang untuk dot yang aktif */
    border-radius: 10px;
}

/* --- Area Teks Overlap (Menghilangkan kesan "patah") --- */
.promo-hero-section .cluster-info-static {
    .promo-hero-section .cluster-info-static {
    background: #ffffff;
    position: relative;
    z-index: 40; 
    padding: 30px 40px; 
    border-radius: 15px 15px 0 0; 
    box-shadow: 0 -15px 30px rgba(0,0,0,0.05);
    width: 85%;
    margin-left: auto;
    margin-right: auto;

    /* --- Kunci Sejajar --- */
    display: flex;
    justify-content: space-between; 
    align-items: baseline; 
    gap: 20px; 
}
}

.cluster-dev-name {
    font-size: 0.9rem; /* Dikecilkan dikit agar terlihat lebih elegan saat sejajar */
    color: #123456;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 !important; /* Reset semua margin */
    white-space: nowrap; /* Mencegah nama developer turun ke bawah (tetap satu baris) */
}

.cluster-logo-wrapper {
    flex-shrink: 0; /* Agar logo tidak gepeng tertekan teks */
}

.dev-logo-img {
    max-width: 100px; /* Atur lebar maksimal logo */
    height: auto;     /* Tinggi menyesuaikan proporsi */
    max-height: 60px; /* Batasi tinggi agar tidak merusak layout box */
    object-fit: contain;
    display: block;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    /* Container Judul & Logo */
    .promo-hero-section .cluster-info-static {
        width: 95%; /* Lebarkan box di HP */
        margin-top: -30px; /* Overlap dikurangi */
        padding: 20px; /* Padding lebih kecil */
        
        /* PENTING: Tetap sejajar kiri-kanan */
        flex-direction: row; 
        align-items: center; 
        gap: 15px;
    }

    /* Judul di Mobile */
    .promo-hero-section .cluster-title {
        font-size: 1.4rem; /* Kecilkan font agar muat */
        line-height: 1.2;
        flex: 1; /* Biarkan judul mengambil sisa ruang yang ada */
        word-wrap: break-word; /* Cegah teks panjang merusak layout */
    }

    /* Wrapper Nama Dev & Logo */
    /* Kita sembunyikan teks "Developed By" di HP biar tidak sempit, sisakan Logo saja */
    .cluster-dev-name {
        display: none; 
    }

    /* Wrapper Logo */
    .cluster-logo-wrapper {
        flex-shrink: 0; /* Logo dilarang gepeng */
        margin-bottom: 0; /* Reset margin */
    }

    /* Gambar Logo di Mobile */
    .dev-logo-img {
        max-width: 60px; /* Ukuran logo lebih kecil & proporsional */
        max-height: 40px; 
        object-fit: contain;
    }
}
.dis-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1a202c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dis-nav-btn:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.dis-prev-btn {
    left: 16px;
}
.dis-next-btn {
    right: 16px;
}

.dis-bottom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    padding: 16px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
}

.dis-label-wrapper {
    position: relative;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.dis-slide-label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s;
    pointer-events: all;
}

.dis-slide-label.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dis-dots-wrapper {
    text-align: center;
    pointer-events: all;
}

.dis-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    cursor: pointer;
    padding: 0;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.dis-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dis-dot.active {
    background-color: #e53e3e;
}

@media (max-width: 767px) {
    .dis-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .dis-prev-btn {
        left: 10px;
    }
    .dis-next-btn {
        right: 10px;
    }
    .dis-image-wrapper {
        aspect-ratio: 4 / 3;
    }
}

/* --- About Section --- */
.cluster-about-section {
    border-radius: 6px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 0.8rem 1.2rem;
}

.cluster-description p {
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* --- Unit Types Section --- */
.cluster-unit-section {
    margin-top: 2.5rem;
}

.unit-badge {
    padding: 0.3rem 1.2rem;
    border-radius: 1rem;
    background-color: #ebf8ff;
    color: #2b6cb0;
    font-weight: 500;
    font-size: 0.75rem;
    width: fit-content;
}

/* Quantity Badge Variants */
.unit-badge-quantity {
    background-color: #e0e0e0;
}

/* Low Stock (0-3 units) - Red */
.unit-badge-low-stock,
.unit-badge-sold-out {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

/* Medium Stock (4-9 units) - Yellow */
.unit-badge-medium-stock {
    background-color: #fef3c7 !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}

/* High Stock (10+ units) - Green */
.unit-badge-high-stock {
    background-color: #d1fae5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

/* SOLD OUT Special Styling */
.unit-badge-sold-out {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    font-weight: 700 !important;
}

/* --- NEW Unit Star Badge --- */
.unit-new-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff0000 0%, #ff0000 100%);
    clip-path: polygon(50% 0%, 64% 33%, 98% 35%, 74% 58%, 79% 91%, 50% 75%, 21% 91%, 27% 59%, 2% 35%, 35% 34%);
    animation: pulse-star 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
}

.unit-new-badge .new-text {
    transform: rotate(10deg);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

@keyframes pulse-star {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 16px rgba(229, 62, 62, 0.6);
    }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .unit-badges-container {
        gap: 6px;
    }

    .unit-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .unit-new-badge {
        width: 55px;
        height: 55px;
    }

    .unit-new-badge .new-text {
        font-size: 9px;
    }
}

.cluster-unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.unit-card {
    border-radius: 4px !important;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
    background: #ffffff;
    padding: 0 !important;
    padding-bottom: 0.5rem !important;
    position: relative;
}

.unit-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.unit-card-image {
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.unit-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.unit-card:hover .unit-card-image img {
    transform: scale(1.05);
}

.unit-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
}

.unit-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-block-end: 0;
}

.unit-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.unit-specs span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.price-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: #1a202c;
}

.unit-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e53e3e;
    margin-block-end: 0;
}

.unit-detail-link {
    width: 100%;
    background-color: #f9fafb;
    color: #e53e3e;
    padding: 0.3rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid #e53e3e;
    text-align: center;
}

.unit-spec-overlay {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;

    background-color: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    color: #ffffff;
    font-size: 0.575rem;
    font-weight: 500;
    text-wrap: nowrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    flex-wrap: nowrap;
}

.spec-item svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.spec-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.375rem;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* --- Facilities Section --- */
.cluster-facility-section {
    margin-top: 2.5rem;
}

.cluster-facility-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.facility-card {
    text-align: start;
    background: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.facility-card:hover {
    background: #ffffff;
    border-color: #d1d5db;
}

.facility-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1a202c;
}

.facility-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.facility-description {
    font-size: 0.75rem !important;
    color: #828282 !important;
}

/* --- Responsive Design --- */
@media (max-width: 991px) {
    .cluster-container {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .cluster-content {
        padding: 0;
    }

    .cluster-sidebar {
        order: 1;
        position: relative;
        top: 0;
    }

    .cluster-info-box {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 700px) {
    .cluster-container {
        padding: 1.5rem 1rem;
    }

    .cluster-content {
        padding: 0px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .cluster-unit-grid {
        grid-template-columns: 1fr;
    }

    .cluster-facility-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Accessibility Section --- */
.cluster-accessibility-section {
    margin-top: 2.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.accessibility-tabs {
    display: flex;
    flex-direction: column;
}

.accessibility-tab-list {
    overflow-x: auto;
    display: flex;
    list-style: none;
    white-space: nowrap;
    padding: 0;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid #e5e7eb;
}

.accessibility-tab {
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: #4b5563;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.accessibility-tab:hover {
    color: #1a202c;
}

.accessibility-tab.active {
    color: #123456;
    border-bottom-color: #123456;
}

.accessibility-tab-content {
    margin-top: 1rem;
}

.accessibility-panel {
    display: none;
}

.accessibility-panel.active {
    display: block;
}

.access-list {
    list-style: disc;
    margin-left: 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

.hidden-button {
    background-color: transparent;
    border: none;
    width: 40px;
    height: 50px;
}

/* --- Read More/Less Toggle --- */
.cluster-description-wrapper {
    position: relative;
}

.cluster-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 4.5em;
}

.cluster-description.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
    overflow: visible;
}

.read-more-toggle-btn {
    background-color: transparent;
    color: #e53e3e;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Unit Badges Container */
.unit-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

