/* ==========================================
   PAGE
========================================== */

.pengumuman-page{
    padding:50px 0 80px;
    background:#f8fafc;
    min-height:70vh;
}

/* ==========================================
   HERO
========================================== */

.pengumuman-hero{
    background:linear-gradient(
        135deg,
        var(--primary),
        #1e40af
    );
    border-radius:24px;
    padding:50px;
    color:#fff;
    margin-bottom:40px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;

    overflow:hidden;
    position:relative;
}

.pengumuman-hero::before{
    content:'';
    position:absolute;
    right:-80px;
    top:-80px;
    width:260px;
    height:260px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
}

.hero-content{
    max-width:700px;
    position:relative;
    z-index:2;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.15);

    font-size:13px;
    font-weight:600;

    margin-bottom:18px;
}

.hero-content h1{
    font-size:42px;
    font-weight:700;
    margin-bottom:14px;
}

.hero-content p{
    margin:0;
    font-size:16px;
    line-height:1.8;
    opacity:.95;
}

.hero-stat{
    position:relative;
    z-index:2;
}

.stat-card{
    background:#fff;
    color:#1f2937;

    min-width:180px;

    border-radius:18px;

    padding:20px;

    display:flex;
    align-items:center;
    gap:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.stat-icon{
    width:55px;
    height:55px;

    border-radius:14px;

    background:#eff6ff;

    color:var(--primary);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
}

.stat-info strong{
    display:block;
    font-size:28px;
}

.stat-info span{
    color:#64748b;
    font-size:13px;
}

/* ==========================================
   CARD
========================================== */

.pengumuman-card{
    height:100%;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    border:1px solid #e2e8f0;

    transition:.3s ease;

    box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.pengumuman-card:hover{
    transform:translateY(-6px);

    box-shadow:0 20px 40px rgba(0,0,0,.10);
}

/* ==========================================
   IMAGE
========================================== */

.pengumuman-thumbnail{
    display:block;
    height:230px;
    overflow:hidden;
}

.pengumuman-thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.pengumuman-card:hover img{
    transform:scale(1.08);
}

/* ==========================================
   PLACEHOLDER
========================================== */

.pengumuman-placeholder{
    width:100%;
    height:100%;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #e2e8f0
        );

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    color:var(--primary);
}

.pengumuman-placeholder i{
    font-size:60px;
    margin-bottom:10px;
}

.pengumuman-placeholder::after{
    content:'PENGUMUMAN RESMI';
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
}

/* ==========================================
   CONTENT
========================================== */

.pengumuman-content{
    padding:22px;
}

.pengumuman-meta{
    margin-bottom:12px;
}

.meta-date{
    display:inline-flex;
    align-items:center;
    gap:8px;

    background:#eff6ff;
    color:var(--primary);

    padding:8px 12px;

    border-radius:999px;

    font-size:13px;
    font-weight:600;
}

.pengumuman-content h3{
    margin:0 0 12px;
    font-size:20px;
    line-height:1.5;
}

.pengumuman-content h3 a{
    color:#1f2937;
    text-decoration:none;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.pengumuman-content p{
    color:#64748b;
    font-size:14px;
    line-height:1.8;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:76px;
}

.pengumuman-footer{
    margin-top:18px;
}

.btn-read{
    display:inline-flex;
    align-items:center;
    gap:8px;

    text-decoration:none;

    color:var(--primary);

    font-weight:600;
}

.btn-read:hover{
    color:#1e40af;
}

/* ==========================================
   EMPTY
========================================== */

.empty-state{
    background:#fff;
    padding:80px 30px;
    text-align:center;

    border-radius:20px;
    border:1px solid #e5e7eb;
}

.empty-icon{
    width:90px;
    height:90px;

    margin:auto auto 20px;

    border-radius:50%;

    background:#eff6ff;

    color:var(--primary);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:36px;
}

/* ==========================================
   PAGINATION
========================================== */

.pagination-wrapper{
    margin-top:50px;
    display:flex;
    justify-content:center;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:991px){

    .pengumuman-hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-content h1{
        font-size:32px;
    }

}

@media(max-width:768px){

    .pengumuman-page{
        padding:25px 0 50px;
    }

    .pengumuman-hero{
        padding:30px;
    }

    .hero-content h1{
        font-size:28px;
    }

    .pengumuman-thumbnail{
        height:220px;
    }

}