/**
 * ========================================================
 * MADING & SCRAPBOOK SECTIONS DESIGN SYSTEM
 * Sesuai Referensi Gambar Pengguna:
 * - media_1794246889558_751702a6.jpg (Profil)
 * - media_1794246942855_45cfea1d.jpg (Biaya & Syarat)
 * - media_1794246958097_6437281a.jpg (Jurusan)
 * - media_1794247107844_7965b658.jpg (Agenda)
 * - media_1794247211607_2ff9669a.jpg (Berita)
 * ========================================================
 */

/* 1. DASAR KANVAS & TYPOGRAPHY */
.section-mading {
    position: relative;
    background-color: #fcfcfc;
    background-image: 
        radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 70px 0 100px;
    overflow: hidden;
    color: #0f172a;
    font-family: 'Nunito', 'Roboto', sans-serif;
}

/* Judul & Teks Mading */
.mading-sec-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #0a2558;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.mading-sec-subtitle {
    font-size: 1.05rem;
    color: #475569;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Garis Pembagi Judul Dua Warna (Biru & Kuning) */
.mading-double-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 12px auto 16px;
}

.mading-double-divider .bar-blue {
    width: 38px;
    height: 4px;
    background: #0284c7;
    border-radius: 999px;
}

.mading-double-divider .bar-yellow {
    width: 38px;
    height: 4px;
    background: #facc15;
    border-radius: 999px;
}

/* Badge Kapsul Mading */
.mading-badge-capsule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mading-badge-capsule.badge-sky {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.mading-badge-capsule.badge-blue {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.mading-badge-capsule.badge-gold {
    background: #facc15;
    color: #0f172a;
    box-shadow: 0 3px 8px rgba(250, 204, 21, 0.35);
}

/* 2. ORNAMEN STATIONERY SCRAPBOOK */

/* Lakban / Washi Tape Kuning */
.mading-tape-yellow {
    position: absolute;
    width: 85px;
    height: 28px;
    background: rgba(250, 204, 21, 0.88);
    pointer-events: none;
    z-index: 6;
    clip-path: polygon(0% 4%, 96% 0%, 100% 96%, 4% 100%);
    border-left: 2px dashed rgba(202, 138, 4, 0.5);
    border-right: 2px dashed rgba(202, 138, 4, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Paperclip Kawat Perak */
.mading-paperclip-silver {
    position: absolute;
    width: 22px;
    height: 48px;
    z-index: 7;
    pointer-events: none;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28));
}

/* Klip Kertas Binder Biru */
.mading-binder-blue {
    position: absolute;
    width: 44px;
    height: 52px;
    z-index: 7;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.32));
}

/* Paku Mading 3D */
.mading-pin-3d {
    position: absolute;
    width: 28px;
    height: 34px;
    z-index: 8;
    pointer-events: none;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

/* Sunburst / Garis Percikan Kuning */
.mading-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 4;
}

/* Gelombang Sobekan Kertas Berlapis Bawah (White, Yellow, Blue) */
.mading-torn-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 65px;
    pointer-events: none;
    z-index: 3;
    display: block;
}

/* Ornamen Titik Sudut (Dot Grids) */
.mading-corner-dots {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#0284c7 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}
.mading-corner-dots.top-right { top: 25px; right: 25px; }
.mading-corner-dots.top-left { top: 25px; left: 25px; }
.mading-corner-dots.bottom-left { bottom: 65px; left: 25px; }
.mading-corner-dots.bottom-right { bottom: 65px; right: 25px; }

/* 3. TOMBOL CTA KAPSUL KUNING EMAS */
.mading-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #facc15;
    color: #0f172a !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.45);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.mading-btn-gold:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(250, 204, 21, 0.6);
}

/* ========================================================
   SECTION: PROFIL SEKOLAH (media_1794246889558_751702a6.jpg)
   ======================================================== */
#profil.section-mading {
    background: #ffffff;
    background-image: 
        radial-gradient(#e0f2fe 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    padding-bottom: 90px;
}

/* Watermark Sketsa Bangunan di Kiri */
.profil-watermark-sketch {
    position: absolute;
    top: 15px;
    left: -20px;
    width: 320px;
    height: 320px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

/* Frame Polaroid Foto Sambutan */
.profil-polaroid-frame {
    position: relative;
    background: #ffffff;
    padding: 14px 14px 22px;
    border-radius: 4px;
    transform: rotate(-3deg);
    filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.16));
    transition: transform 0.3s ease;
    z-index: 2;
}

.profil-polaroid-frame:hover {
    transform: rotate(-1.5deg) scale(1.01);
}

.profil-polaroid-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

/* Tag Kertas Sobek di Bawah Foto Polaroid */
.profil-torn-tag {
    position: absolute;
    bottom: -18px;
    left: -12px;
    right: 25px;
    background: #fbf8ed;
    border: 1px dashed #d5cbba;
    padding: 8px 18px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
    clip-path: polygon(0% 4%, 98% 0%, 100% 94%, 85% 98%, 60% 94%, 35% 98%, 0% 95%);
    z-index: 4;
}

.profil-tag-motto {
    font-family: 'Patrick Hand', cursive, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0a2558;
    line-height: 1.2;
    margin: 0;
}

.profil-tag-submotto {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
    margin: 0;
}

/* Kartu Visi & Misi Bersisian */
.profil-card-visi {
    background: #e0f2fe;
    border-radius: 14px;
    padding: 18px 20px;
    height: 100%;
    border: 1px solid #bae6fd;
}

.profil-card-misi {
    background: #fef9c3;
    border-radius: 14px;
    padding: 18px 20px;
    height: 100%;
    border: 1px solid #fde047;
}

.profil-card-header {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0a2558;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profil-card-desc {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.55;
    margin: 0;
}

/* Avatar Kepala Sekolah */
.profil-kepsek-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profil-kepsek-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.profil-kepsek-name {
    font-size: 1rem;
    font-weight: 800;
    color: #0a2558;
    margin: 0;
}

.profil-kepsek-role {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

/* ========================================================
   SECTION: BIAYA & SYARAT (media_1794246942855_45cfea1d.jpg)
   ======================================================== */
#biaya.section-mading {
    position: relative;
    background: #ffffff;
    padding-bottom: 90px;
    overflow: hidden;
}

/* Floating Diamonds Kiri Atas Sesuai Desain Referensi */
.biaya-floating-diamond-yellow {
    position: absolute;
    top: 75px;
    left: 80px;
    width: 46px;
    height: 46px;
    border: 3.5px solid #facc15;
    border-radius: 12px;
    transform: rotate(38deg);
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.biaya-floating-diamond-cyan {
    position: absolute;
    top: 52px;
    left: 122px;
    width: 32px;
    height: 32px;
    border: 3px solid #38bdf8;
    border-radius: 8px;
    transform: rotate(20deg);
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 991px) {
    .biaya-floating-diamond-yellow,
    .biaya-floating-diamond-cyan {
        display: none;
    }
}

/* Kartu Rincian Biaya (Putih, Rounded 20px) */
.biaya-white-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.biaya-header-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a2558;
    display: flex;
    align-items: center;
    gap: 10px;
}

.biaya-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #facc15;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Tabel Biaya */
.table-biaya-mading {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    margin-bottom: 18px;
}

.table-biaya-mading thead th {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0a2558;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 8px;
}

.table-biaya-mading tbody td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
    vertical-align: middle;
}

.table-biaya-mading .pos-title {
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.table-biaya-mading .pos-desc {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
}

.table-biaya-mading .pos-nominal {
    font-weight: 800;
    color: #0a2558;
    text-align: right;
    white-space: nowrap;
}

/* Bar Total Pembayaran */
.biaya-total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.biaya-total-pill {
    background: #0b57d0;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 6px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.3);
}

/* Card Peduli Yatim Piatu */
.biaya-yatim-box {
    background: #fffbeb;
    border: 1px solid #fef08a;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.biaya-yatim-icon {
    font-size: 1.25rem;
    color: #ef4444;
    margin-top: 2px;
}

.biaya-yatim-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: #854d0e;
    margin-bottom: 2px;
}

.biaya-yatim-desc {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
}

/* Kartu Syarat Masuk (Royal Blue) */
.syarat-blue-card {
    position: relative;
    background: linear-gradient(135deg, #0b57d0 0%, #0256c4 100%);
    border-radius: 20px;
    padding: 34px 28px;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(11, 87, 208, 0.35);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.syarat-card-dots {
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 2px, transparent 2px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 1;
}
.syarat-card-dots.top-right { top: 20px; right: 20px; }
.syarat-card-dots.bottom-right { bottom: 20px; right: 20px; }

/* Tilted Diamonds di Sudut Kanan Atas Kartu Syarat Sesuai Desain */
.syarat-decor-diamond-outline {
    position: absolute;
    top: 24px;
    right: 56px;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.syarat-decor-diamond-gold {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    background: #facc15;
    border-radius: 10px;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1;
}

/* Lengkungan Ombak Kuning & Biru Sudut Kanan Bawah Sesuai Desain */
.syarat-card-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 70px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-bottom-right-radius: 20px;
}
.syarat-card-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.syarat-header-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.syarat-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #facc15;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.syarat-header-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 20px;
}

.syarat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.syarat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.syarat-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #facc15;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.syarat-item-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.syarat-item-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    display: block;
}

/* ========================================================
   SECTION: JURUSAN (media_1794246958097_6437281a.jpg)
   ======================================================== */
#jurusan.section-mading {
    background: #edf6fe;
    background-image: 
        radial-gradient(#93c5fd 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    padding-bottom: 90px;
}

/* Header Banner Lembar Kertas Sobek (Jurusan) */
.jurusan-torn-header-sheet {
    position: relative;
    max-width: 820px;
    margin: 0 auto 35px;
    background: #ffffff;
    padding: 26px 36px 30px;
    text-align: center;
    filter: drop-shadow(0 14px 30px rgba(15, 23, 42, 0.12));
    clip-path: polygon(
        0% 0.5%, 4% 0%, 8% 0.6%, 12% 0.1%, 16% 0.7%, 20% 0%, 24% 0.6%, 28% 0.1%, 32% 0.7%, 36% 0.2%, 40% 0.6%, 44% 0%, 48% 0.7%, 52% 0.1%, 56% 0.8%, 60% 0.2%, 64% 0.7%, 68% 0.1%, 72% 0.8%, 76% 0.2%, 80% 0.6%, 84% 0.1%, 88% 0.7%, 92% 0%, 96% 0.6%, 100% 0.2%,
        100% 98.4%, 96% 99.2%, 92% 98.5%, 88% 99.3%, 84% 98.6%, 80% 99.2%, 76% 98.5%, 72% 99.3%, 68% 98.7%, 64% 99.2%, 60% 98.5%, 56% 99.4%, 52% 98.6%, 48% 99.3%, 44% 98.7%, 40% 99.4%, 36% 98.6%, 32% 99.3%, 28% 98.5%, 24% 99.4%, 20% 98.6%, 16% 99.2%, 12% 98.5%, 8% 99.4%, 4% 98.7%, 0% 99.1%
    );
}

/* Tab Switcher Jurusan */
.jurusan-pills-bar {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    gap: 6px;
    margin-bottom: 30px;
}

.jurusan-pill-btn {
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jurusan-pill-btn.active {
    background: #0a2558 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(10, 37, 88, 0.3) !important;
}

/* Card Detail Jurusan */
.jurusan-detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 30px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
}

.jurusan-quote {
    font-style: italic;
    font-size: 1.05rem;
    color: #0a2558;
    margin: 8px 0 20px;
    font-weight: 600;
}

.jurusan-photo-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.jurusan-photo-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.jurusan-kuota-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0a2558;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.jurusan-prospek-box {
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.jurusan-prospek-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0369a1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.jurusan-prospek-text {
    font-size: 0.86rem;
    color: #0f172a;
    line-height: 1.45;
    margin: 0;
}

.jurusan-materi-header {
    background: #fef9c3;
    color: #0a2558;
    font-weight: 800;
    font-size: 0.96rem;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jurusan-competency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    margin-bottom: 24px;
}

.jurusan-competency-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.35;
}

.jurusan-competency-item i {
    color: #0284c7;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========================================================
   SECTION: AGENDA (media_1794247107844_7965b658.jpg)
   ======================================================== */
#agenda.section-mading {
    background: #ffffff;
    background-image: 
        radial-gradient(#e0f2fe 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    padding-bottom: 90px;
}

/* Ilustrasi Kalender Meja 3D di Kiri */
.agenda-3d-calendar-illus {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 140px;
    height: 120px;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

/* Post-It Checklist di Kanan */
.agenda-sticky-checklist {
    position: absolute;
    top: -10px;
    right: 25px;
    background: #ffffff;
    border-radius: 4px;
    padding: 14px 18px;
    transform: rotate(3deg);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
    z-index: 5;
    border-top: 2px solid #facc15;
}

.agenda-sticky-checklist-item {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* Header Agenda Torn Sheet */
.agenda-torn-header-sheet {
    position: relative;
    max-width: 660px;
    margin: 0 auto;
    background: #ffffff;
    padding: 22px 35px 24px;
    text-align: center;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.1));
    clip-path: polygon(
        0% 0.6%, 4% 0%, 8% 0.7%, 12% 0.1%, 16% 0.8%, 20% 0.1%, 24% 0.7%, 28% 0.1%, 32% 0.8%, 36% 0.2%, 40% 0.7%, 44% 0%, 48% 0.8%, 52% 0.1%, 56% 0.8%, 60% 0.2%, 64% 0.7%, 68% 0.1%, 72% 0.8%, 76% 0.2%, 80% 0.7%, 84% 0.1%, 88% 0.8%, 92% 0.1%, 96% 0.7%, 100% 0.2%,
        100% 98.4%, 96% 99.2%, 92% 98.5%, 88% 99.3%, 84% 98.6%, 80% 99.2%, 76% 98.5%, 72% 99.3%, 68% 98.7%, 64% 99.2%, 60% 98.5%, 56% 99.4%, 52% 98.6%, 48% 99.3%, 44% 98.7%, 40% 99.4%, 36% 98.6%, 32% 99.3%, 28% 98.5%, 24% 99.4%, 20% 98.6%, 16% 99.2%, 12% 98.5%, 8% 99.4%, 4% 98.7%, 0% 99.1%
    );
}

/* 4 Kartu Agenda Memo */
.agenda-mading-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.agenda-memo-card {
    position: relative;
    filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.08));
    transition: transform 0.25s ease;
}

.agenda-memo-card:hover {
    transform: translateY(-6px);
}

/* Paku Mading 3D Agenda */
.agenda-pin-3d {
    position: absolute;
    top: -16px;
    right: 20px;
    width: 32px;
    height: 40px;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.22));
}

/* Kertas Memo Agenda Putih Sobek */
.agenda-memo-paper {
    background: #ffffff;
    border-radius: 4px;
    padding: 24px 18px 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Pinggir Kertas Bawah Sobek */
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 96.5%, 
        95% 97.8%, 90% 95.8%, 85% 98.0%, 80% 96.4%, 75% 97.7%, 70% 96.0%, 65% 97.8%, 
        60% 96.3%, 55% 97.6%, 50% 95.9%, 45% 97.8%, 40% 96.4%, 35% 97.7%, 30% 96.1%, 
        25% 97.9%, 20% 96.3%, 15% 97.7%, 10% 96.0%, 5% 97.8%, 0% 96.7%
    );
}

.agenda-pill-date {
    background: #0284c7;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.agenda-pill-time {
    background: #facc15;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.agenda-memo-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0a2558;
    line-height: 1.35;
    margin: 12px 0 8px;
}

.agenda-memo-desc {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.agenda-memo-location {
    font-size: 0.8rem;
    font-weight: 700;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

/* ========================================================
   SECTION: BERITA & INFORMASI (media_1794247211607_2ff9669a.jpg)
   ======================================================== */
#berita.section-mading {
    background: #ffffff;
    background-image: 
        radial-gradient(#e0f2fe 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    padding-bottom: 90px;
}

/* Header Berita: Kartu "Kabar Sekolah" di Kiri & "Semua Berita" di Kanan */
.berita-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 16px;
}

.berita-tag-paper {
    background: #ffffff;
    border-radius: 4px;
    padding: 10px 18px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transform: rotate(-3deg);
    position: relative;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0a2558;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.berita-all-paper-btn {
    background: #ffffff;
    border-radius: 4px;
    padding: 8px 18px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    font-weight: 800;
    font-size: 0.95rem;
    color: #0a2558;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.berita-all-paper-btn:hover {
    color: #0284c7;
    transform: translateY(-2px);
}

/* 3 Kartu Berita Memo */
.berita-mading-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.berita-memo-card {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.1));
    display: flex;
    flex-direction: column;
    /* Pinggir Kertas Bawah Sobek */
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 97%, 
        96% 98.2%, 92% 96.5%, 88% 98.4%, 84% 97.1%, 80% 98.2%, 76% 96.8%, 72% 98.3%, 
        68% 97.1%, 64% 98.2%, 60% 96.7%, 56% 98.3%, 52% 97.1%, 48% 98.2%, 44% 96.9%, 
        40% 98.4%, 36% 97.1%, 32% 98.2%, 28% 96.8%, 24% 98.3%, 20% 97.1%, 16% 98.2%, 
        12% 96.9%, 8% 98.4%, 4% 97.2%, 0% 97.8%
    );
    transition: transform 0.25s ease;
}

.berita-memo-card:hover {
    transform: translateY(-6px);
}

.berita-photo-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.berita-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.berita-cat-pill {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: #0284c7;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.berita-content-wrap {
    padding: 16px 16px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.berita-date-txt {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.berita-title-wrap {
    border-left: 3.5px solid #facc15;
    padding-left: 8px;
    margin-bottom: 10px;
}

.berita-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0a2558;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card-excerpt {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.berita-btn-wrap {
    margin-top: auto;
}

/* ========================================================
   SECTION: GALERI DOKUMENTASI (media_1794247519502_2f6ac8bd.jpg)
   ======================================================== */
#galeri.section-mading {
    background: #edf6fe;
    background-image: 
        radial-gradient(#93c5fd 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    padding-bottom: 95px;
    position: relative;
    overflow: hidden;
}

/* Header Wrap */
.galeri-header-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto 38px;
    text-align: center;
}

/* Paku Mading 3D Biru di Tengah Atas Lembar */
.galeri-pin-3d {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 40px;
    z-index: 12;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

/* Kamera 3D di Kiri */
.galeri-camera-illus-box {
    position: absolute;
    top: -12px;
    left: 10px;
    width: 120px;
    height: 95px;
    z-index: 8;
    pointer-events: none;
    transform: rotate(-8deg);
}

.galeri-camera-illus {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.16));
}

.galeri-sparkle-left {
    position: absolute;
    top: -8px;
    left: -12px;
    width: 32px;
    height: 32px;
}

/* Polaroid Mini di Kanan */
.galeri-polaroid-mini-box {
    position: absolute;
    top: -12px;
    right: 15px;
    z-index: 8;
    pointer-events: none;
    transform: rotate(12deg);
}

.galeri-sparkle-right {
    position: absolute;
    top: -14px;
    right: -10px;
    width: 32px;
    height: 32px;
}

.galeri-polaroid-mini {
    position: relative;
    background: #ffffff;
    padding: 8px 8px 18px;
    border-radius: 4px;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.14));
}

.galeri-polaroid-mini-inner {
    width: 80px;
    height: 64px;
    background: #bae6fd;
    overflow: hidden;
    border-radius: 2px;
}

/* Lembar Sobek Putih Tengah */
.galeri-torn-sheet {
    position: relative;
    max-width: 660px;
    margin: 0 auto;
    background: #ffffff;
    padding: 22px 35px 24px;
    text-align: center;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.1));
    clip-path: polygon(
        0% 0.6%, 4% 0%, 8% 0.7%, 12% 0.1%, 16% 0.8%, 20% 0.1%, 24% 0.7%, 28% 0.1%, 32% 0.8%, 36% 0.2%, 40% 0.7%, 44% 0%, 48% 0.8%, 52% 0.1%, 56% 0.8%, 60% 0.2%, 64% 0.7%, 68% 0.1%, 72% 0.8%, 76% 0.2%, 80% 0.7%, 84% 0.1%, 88% 0.8%, 92% 0.1%, 96% 0.7%, 100% 0.2%,
        100% 98.4%, 96% 99.2%, 92% 98.5%, 88% 99.3%, 84% 98.6%, 80% 99.2%, 76% 98.5%, 72% 99.3%, 68% 98.7%, 64% 99.2%, 60% 98.5%, 56% 99.4%, 52% 98.6%, 48% 99.3%, 44% 98.7%, 40% 99.4%, 36% 98.6%, 32% 99.3%, 28% 98.5%, 24% 99.4%, 20% 98.6%, 16% 99.2%, 12% 98.5%, 8% 99.4%, 4% 98.7%, 0% 99.1%
    );
}

/* 4 Kartu Galeri Memo */
.galeri-mading-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.galeri-memo-card {
    position: relative;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
    transition: transform 0.25s ease;
    cursor: pointer;
}

.galeri-memo-card:hover {
    transform: translateY(-6px);
}

/* Lakban Kuning Menempel di Sudut Atas */
.galeri-tape {
    top: 4px;
    left: 4px;
    width: 76px;
    height: 25px;
    z-index: 10;
}

/* Lembar Kertas Memo Putih Sobek Bawah */
.galeri-memo-paper {
    background: #ffffff;
    padding: 12px 12px 22px;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 97.2%, 
        96% 98.3%, 92% 96.9%, 88% 98.5%, 84% 97.2%, 80% 98.3%, 76% 97.0%, 72% 98.4%, 
        68% 97.2%, 64% 98.3%, 60% 97.0%, 56% 98.4%, 52% 97.2%, 48% 98.3%, 44% 97.0%, 
        40% 98.4%, 36% 97.2%, 32% 98.3%, 28% 97.0%, 24% 98.4%, 20% 97.2%, 16% 98.3%, 
        12% 97.0%, 8% 98.4%, 4% 97.2%, 0% 97.8%
    );
}

.galeri-photo-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    background: #0f172a;
}

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

.galeri-memo-card:hover .galeri-photo-img {
    transform: scale(1.05);
}

.galeri-count-pill {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.galeri-content-wrap {
    padding: 12px 4px 6px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.galeri-cat-badge {
    background: #facc15;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 999px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.galeri-card-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0a2558;
    line-height: 1.32;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.68rem;
}

.galeri-card-desc {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.38rem;
}

/* ========================================================
   RESPONSIVITAS MOBILE & TABLET
   ======================================================== */
@media (max-width: 991.98px) {
    .agenda-mading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .berita-mading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .galeri-mading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .jurusan-competency-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .section-mading {
        padding: 45px 0 70px;
    }
    .mading-sec-title {
        font-size: 1.65rem;
    }
    .profil-polaroid-frame {
        transform: rotate(0deg);
        margin-bottom: 30px;
    }
    .profil-polaroid-img {
        height: 260px;
    }
    .agenda-3d-calendar-illus,
    .agenda-sticky-checklist,
    .galeri-camera-illus-box,
    .galeri-polaroid-mini-box {
        display: none;
    }
    .agenda-mading-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .berita-mading-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .galeri-mading-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .jurusan-pills-bar {
        width: 100%;
        justify-content: center;
    }
    .jurusan-detail-card {
        padding: 20px 16px;
    }
}

