/* SIHAKI Guest — PATCH 12: Halaman pengumuman. Tema mengikuti Guest V7–V10. */
.pengumuman-section {
    background: #f7faf8;
    min-height: 420px;
}
.pengumuman-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px;
}
.pengumuman-list-header h2 {
    margin: 0 0 7px;
    font-size: clamp(1.45rem, 2.4vw, 1.8rem);
    font-weight: 730;
    letter-spacing: -0.012em;
}
.pengumuman-list-header p {
    margin: 0;
    color: #64766b;
    font-size: 0.98rem;
}
.pengumuman-total {
    flex-shrink: 0;
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid #d5e6dc;
    background: #edf5ef;
    border-radius: 7px;
    color: #246b48;
    font-size: 0.88rem;
    font-weight: 650;
}
.pengumuman-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfebe3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(22, 58, 37, 0.045);
    transition: box-shadow 180ms ease, transform 180ms ease;
}
.pengumuman-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(22, 58, 37, 0.10);
}
.pengumuman-card-image, .pengumuman-detail-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(130deg, #07533f 0%, #147a53 57%, #359963 100%);
}
.pengumuman-card-image img, .pengumuman-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pengumuman-card-image img {
    transition: transform 250ms ease;
}
.pengumuman-card:hover .pengumuman-card-image img {
    transform: scale(1.025);
}
.pengumuman-image-fallback {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    color: rgba(255,255,255,0.95);
    background: radial-gradient(ellipse at 88% 18%, rgba(255,255,255,0.17), transparent 44%), linear-gradient(125deg, #07533f, #167a56 58%, #439b68);
}
.pengumuman-image-fallback::after {
    content: '';
    position: absolute;
    width: 46%;
    height: 130%;
    right: -9%;
    top: -20%;
    border-left: 2px solid rgba(255,255,255,0.13);
    transform: skewX(-24deg);
}
.pengumuman-image-fallback > i {
    font-size: 2.6rem;
    opacity: 0.76;
}
.pengumuman-image-fallback > span {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1px;
    font-size: 1.38rem;
    font-weight: 740;
    line-height: 1.25;
    letter-spacing: 0;
}
.pengumuman-image-fallback small {
    font-size: 0.87rem;
    font-weight: 500;
    opacity: 0.88;
}
.pengumuman-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 11px;
    padding: 22px;
}
.pengumuman-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667c6e;
    font-size: 0.85rem;
}
.pengumuman-date i {
    color: #178258;
}
.pengumuman-card h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 720;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.pengumuman-card h3 a {
    color: #1e3327;
}
.pengumuman-card h3 a:hover {
    color: #0e714c;
}
.pengumuman-card-content p {
    margin: 0;
    color: #62746b;
    font-size: 0.92rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.pengumuman-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    color: #0d714c;
    font-size: 0.9rem;
    font-weight: 700;
}
.pengumuman-read:hover {
    color: #06573c;
    gap: 12px;
}
.pengumuman-empty {
    margin: 15px auto;
    padding: 68px 24px;
    background: white;
    border: 1px solid #e0ece5;
    border-radius: 10px;
    text-align: center;
}
.pengumuman-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ecf7f0;
    color: #167c56;
    font-size: 1.8rem;
}
.pengumuman-empty h3 {
    margin: 16px 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
}
.pengumuman-empty p {
    margin: 0 0 22px;
    color: #65796c;
}
.pengumuman-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.pengumuman-pagination p {
    margin: 0;
    font-size: 0.9rem;
    color: #627466;
}
.pengumuman-pagination .pagination {
    gap: 5px;
    flex-wrap: wrap;
}
.pengumuman-pagination .page-link {
    display: inline-flex;
    min-width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border: 1px solid #d5e5db;
    border-radius: 6px !important;
    color: #206344;
    background: #fff;
    font-size: 0.9rem;
}
.pengumuman-pagination .page-item.active .page-link {
    color: #fff;
    background: #136c4b;
    border-color: #136c4b;
}
.pengumuman-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background: #ebf4ef;
}
.pengumuman-pagination .page-item.disabled .page-link {
    color: #9dab9f;
    background: #f5f8f6;
}
.pengumuman-detail-section {
    background: #f7faf8;
}
.pengumuman-detail-header h1 {
    max-width: 980px;
    overflow-wrap: anywhere;
}
.pengumuman-detail-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
}
.pengumuman-detail-wrap {
    width: min(100%, 920px);
    margin: 0 auto;
}
.pengumuman-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 21px;
    font-size: 0.94rem;
    font-weight: 650;
}
.pengumuman-article {
    overflow: hidden;
    border: 1px solid #dde9df;
    border-radius: 11px;
    background: white;
    box-shadow: 0 8px 24px rgba(22, 58, 37, 0.045);
}
.pengumuman-detail-cover {
    aspect-ratio: 16 / 7;
}
.pengumuman-article-inner {
    padding: clamp(24px, 4vw, 48px);
}
.pengumuman-lead {
    margin-bottom: 25px;
    padding-bottom: 23px;
    border-bottom: 1px solid #e6ede7;
    color: #375947;
    font-size: 1.08rem;
    line-height: 1.75;
    font-weight: 520;
}
.pengumuman-article-body {
    color: #25372c;
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.pengumuman-article-body p {
    margin-bottom: 1.2rem;
}
.pengumuman-article-body h2, .pengumuman-article-body h3, .pengumuman-article-body h4 {
    margin-top: 1.65rem;
    margin-bottom: 0.7rem;
    line-height: 1.35;
    color: #193c2a;
    font-weight: 710;
}
.pengumuman-article-body h2 {
    font-size: 1.5rem;
}
.pengumuman-article-body h3 {
    font-size: 1.26rem;
}
.pengumuman-article-body h4 {
    font-size: 1.1rem;
}
.pengumuman-article-body a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pengumuman-article-body blockquote {
    padding: 9px 18px;
    border-left: 3px solid #259067;
    color: #527061;
    background: #f5f9f6;
}
.pengumuman-article-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #e4ece6;
    padding-top: 22px;
    margin-top: 34px;
    color: #6a7d70;
    font-size: 0.88rem;
}
.pengumuman-article-bottom span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.pengumuman-article-bottom a {
    font-weight: 650;
}
@media (max-width: 767.98px) {
    .pengumuman-card-content {
        padding: 19px;
    }
    .pengumuman-detail-cover {
        aspect-ratio: 16 / 9;
    }
    .pengumuman-article-inner {
        padding: 23px 20px;
    }
    .pengumuman-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (prefers-reduced-motion: reduce) {
    .pengumuman-card, .pengumuman-card-image img, .pengumuman-read {
        transition: none;
    }
}

/* PATCH 14: Gambar Summernote yang diunggah ke uploads dapat dibaca di detail Guest. */
.pengumuman-article-body img {display:block;max-width:100%;height:auto;margin:20px auto;border-radius:7px;}
.pengumuman-article-body table {display:table;width:100%;border-collapse:collapse;margin:22px 0;font-size:.94rem;}
.pengumuman-article-body th,.pengumuman-article-body td {border:1px solid #dbe7df;padding:9px 12px;vertical-align:top;}
.pengumuman-article-body th {background:#f1f7f3;font-weight:650;}
.pengumuman-article-body pre {padding:14px;overflow-x:auto;background:#f6f8f7;border-radius:6px;}
