/* ==========================================================================
   THE MONTESSORI DISCOVERY CARDS (REVISED: POLOS & MOBILE 2x2)
   ========================================================================== */

/* Typography Header */
.section-subtitle-orange {
    color: #f97316;
    font-weight: 850;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.section-heading-slate {
    color: #0f172a;
    font-weight: 850;
    font-size: calc(1.65rem + 0.8vw);
    letter-spacing: -0.5px;
}

/* WADAH PENJELASAN MANDIRI TUAN */
.section-custom-explanation {
    max-width: 680px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #475569;
}

/* Premium Card Master */
.discovery-card-premium {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative; /* Penting untuk mengaktifkan stretched-link */
}

.discovery-card-premium:hover {
    transform: translateY(-8px);
    border-color: #f97316;
    box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.12);
}

/* Image Box Polos Tanpa Elemen Mengganggu */
.discovery-card-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.discovery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.discovery-card-premium:hover .discovery-img {
    transform: scale(1.06);
}

/* Konten Teks */
.discovery-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.discovery-desc {
    line-height: 1.55;
    color: #64748b;
}

.border-top-subtle {
    border-top: 1px solid #f1f5f9;
}

/* Footer & Tombol Bulat */
.action-label {
    color: #0f172a;
    transition: color 0.3s ease;
}

.discovery-card-premium:hover .action-label {
    color: #f97316;
}

.btn-circle-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f8fafc;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.discovery-card-premium:hover .btn-circle-arrow {
    background-color: #f97316;
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   OPTIMASI MOBILE (HP < 576px) UNTUK SKALA GRID 2x2
   ========================================================================== */
@media (max-width: 575.98px) {
    .discovery-card-premium {
        border-radius: 18px; /* Kelengkungan disesuaikan agar tidak terlalu membulat di kotak kecil */
    }

    .discovery-card-img-box {
        height: 135px; /* Menjaga rasio foto tetap persegi panjang di kolom 50% HP */
    }

    .discovery-title {
        font-size: 0.95rem; /* Menghindari teks judul patah menjadi 3 baris */
    }

    .discovery-desc {
        font-size: 0.75rem !important;
        line-height: 1.4;
        margin-bottom: 0.5rem !important;
    }

    .btn-circle-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .section-custom-explanation {
        font-size: 0.925rem;
        padding: 0 10px;
    }
}

/* ==========================================================================
   SECTION 2: FEATURED HIGHLIGHT (EDITORIAL SPOTLIGHT)
   ========================================================================== */

.featured-highlight-section {
    background-color: #f8fafc; /* Slate-50 */
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

/* Master Card Container */
.highlight-master-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-master-card:hover {
    box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.15);
    border-color: #ffd1b3;
}

/* Kiri: Gambar Cover */
.highlight-img-box {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    background-color: #0f172a;
}

.highlight-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.highlight-master-card:hover .highlight-cover-img {
    transform: scale(1.05);
}

/* Soft Badge Pengganti bg-warning */
.badge-soft-orange {
    background-color: #fff4eb;
    color: #f97316;
    border: 1px solid #ffd1b3;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-floating-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
}

/* Kanan: Teks */
.highlight-title {
    color: #0f172a;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 850;
    line-height: 1.3;
}

.highlight-excerpt {
    line-height: 1.7;
    font-size: 1rem;
    color: #475569;
}

/* Footer & Mini Avatar SSM */
.text-slate {
    color: #0f172a;
}

.staf-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

/* Empty State Teaser */
.highlight-empty-state {
    background: #ffffff;
    border-radius: 28px;
    border: 2px dashed #e2e8f0;
}

.empty-state-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background-color: #fff4eb;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
    .highlight-img-box {
        min-height: 260px; /* Di HP/Tablet, gambar tidak perlu setinggi 350px karena dia di atas */
    }
}
/* Tampilan Kategori di bawah judul */
.highlight-category-tag {
    font-size: 0.825rem;
    font-weight: 700;
    color: #f97316;
    background-color: #fff4eb;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid #ffd1b3;
}

/* Tombol Baca Lengkap yang Ramping & Tidak Melar */
.btn-read-sleek {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.925rem;
    font-weight: 750;
    color: #f97316;
    background-color: transparent;
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid #f97316;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-read-sleek:hover {
    background-color: #f97316;
    color: #ffffff;
    box-shadow: 0 6px 15px -3px rgba(249, 115, 22, 0.4);
    transform: translateX(4px);
}
