/* =========================
   PUBLIC - DAFTAR PENGUMUMAN
   ========================= */

.peng-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 18px 70px;
}

.peng-page-title {
    margin: 0 0 28px;
    text-align: center;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
}

.peng-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    color: #475569;
    font-size: 15px;
}

.peng-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
    justify-content: center;
    gap: 26px;
}

.peng-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.peng-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.peng-card-thumb {
    width: 100%;
    height: 280px;
    background: #f8fafc;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.peng-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.peng-card-body {
    padding: 18px 18px 20px;
}

.peng-card-link {
    text-decoration: none;
}

.peng-card-title {
    margin: 0 0 10px;
    color: #0d6efd;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
}

.peng-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.peng-meta-sep {
    margin: 0 2px;
}

.peng-card-desc {
    margin: 0 0 18px;
    min-height: 44px;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.peng-card-desc--empty {
    color: #94a3b8;
    font-style: italic;
}

.peng-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.peng-btn:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

/* =========================
   PUBLIC - DETAIL PENGUMUMAN
   ========================= */

.peng-detail-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 70px;
}

.peng-detail-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px 22px 30px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.peng-back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.peng-back-link:hover {
    color: #0d6efd;
}

.peng-detail-title {
    margin: 4px 0 10px;
    text-align: center;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
}

.peng-detail-meta {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

.peng-dot {
    margin: 0 8px;
}

.peng-detail-summary {
    max-width: 900px;
    margin: 0 auto 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    color: #334155;
    line-height: 1.7;
    font-size: 15px;
}

.peng-preview-section {
    max-width: 980px;
    margin: 0 auto 26px;
}

.peng-pdf-viewer {
    width: 100%;
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    overflow: hidden;
}

.peng-pdf-viewer iframe {
    width: 100%;
    height: 720px;
    border: none;
    display: block;
    background: #fff;
}

.peng-image-preview {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.peng-image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.peng-preview-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.peng-attachment-open,
.peng-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.peng-attachment-open {
    background: #e5e7eb;
    color: #0f172a;
}

.peng-attachment-open:hover {
    background: #d1d5db;
}

.peng-download-btn {
    background: #0d6efd;
    color: #fff;
}

.peng-download-btn:hover {
    background: #0b5ed7;
}

.peng-detail-content {
    max-width: 900px;
    margin: 0 auto;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.9;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
    .peng-page-title {
        font-size: 44px;
    }

    .peng-card-thumb {
        height: 240px;
    }

    .peng-detail-title {
        font-size: 28px;
    }

    .peng-pdf-viewer iframe {
        height: 620px;
    }
}

@media (max-width: 768px) {
    .peng-wrap,
    .peng-detail-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .peng-page-title {
        font-size: 34px;
    }

    .peng-grid {
        grid-template-columns: 1fr;
    }

    .peng-card {
        max-width: 100%;
    }

    .peng-card-thumb {
        height: 220px;
    }

    .peng-detail-box {
        padding: 18px 16px 24px;
    }

    .peng-detail-title {
        font-size: 22px;
    }

    .peng-detail-summary,
    .peng-detail-content {
        font-size: 14px;
    }

    .peng-pdf-viewer iframe {
        height: 420px;
    }
}