/* ==========================================================================
   Pengumuman Guest Pages - Timeline History Style
   ========================================================================== */

.pengumuman-list-section { background: #f8fafc; min-height: 60vh; }

/* ---- Timeline ---- */
.peng-timeline { position: relative; }

.peng-timeline__item {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.peng-timeline__date-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 64px;
}

.peng-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    min-height: 70px;
    border-radius: 14px;
    background: linear-gradient(145deg, #0d1b3e 0%, #1e3a8a 100%);
    padding: 8px 6px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(13,27,62,0.25);
    flex-shrink: 0;
}

.peng-date-badge__day {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: 'Quicksand', sans-serif;
}
.peng-date-badge__month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}
.peng-date-badge__year {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

.peng-timeline__line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, #1e3a8a 0%, rgba(30,58,138,0.08) 100%);
    min-height: 30px;
    margin-top: 6px;
}

/* ---- Card ---- */
.peng-timeline__card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13,27,62,0.06);
    border: 1px solid rgba(13,27,62,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}
.peng-timeline__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(13,27,62,0.12);
}
.peng-card__img-wrap { width: 100%; height: 200px; overflow: hidden; }
.peng-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.peng-timeline__card:hover .peng-card__img { transform: scale(1.04); }

.peng-card__body { padding: 24px 28px; }

.peng-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(30,58,138,0.08);
    color: #1e3a8a;
    border: 1px solid rgba(30,58,138,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.peng-card__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0c152b;
    margin-bottom: 10px;
    line-height: 1.4;
}
.peng-card__title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.peng-card__title a:hover { color: #1e3a8a; }

.peng-card__desc { font-size: 0.9rem; color: #64748b; line-height: 1.65; margin-bottom: 18px; }

.peng-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e3a8a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: gap 0.2s, opacity 0.2s;
}
.peng-card__link:hover { gap: 14px; opacity: 0.85; }

/* ---- Empty ---- */
.peng-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.peng-empty i { font-size: 3rem; margin-bottom: 15px; opacity: 0.4; display: block; }
.peng-empty h4 { color: #64748b; font-weight: 700; }
.peng-empty p { font-size: 0.9rem; }

/* ---- Sidebar ---- */
.peng-sidebar-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13,27,62,0.06);
    border: 1px solid rgba(13,27,62,0.05);
    padding: 24px;
}
.peng-sidebar__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0c152b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(13,27,62,0.07);
}
.peng-recent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(13,27,62,0.05);
    text-decoration: none !important;
    transition: background 0.2s;
}
.peng-recent-item:last-child { border-bottom: none; }
.peng-recent-item:hover { background: rgba(13,27,62,0.02); }
.peng-recent-item--active { background: rgba(30,58,138,0.05); border-radius: 8px; padding: 10px 8px; }

.peng-recent-item__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #1e3a8a; flex-shrink: 0; margin-top: 6px;
}
.peng-recent-item__title { font-size: 0.85rem; font-weight: 600; color: #0c152b; line-height: 1.4; }
.peng-recent-item__date { font-size: 0.75rem; color: #94a3b8; margin-top: 3px; }

/* ---- Detail Card ---- */
.peng-detail-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(13,27,62,0.08);
    border: 1px solid rgba(13,27,62,0.05);
    overflow: hidden;
}
.peng-detail-card__hero-img { width: 100%; max-height: none; height: auto; display: block; }
.peng-detail-card__body { padding: 36px 40px; }
.peng-detail-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(13,27,62,0.08);
}
.peng-detail-card__meta .peng-card__badge {
    margin-bottom: 0;
}
.peng-detail-card__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}
.peng-detail-card__date i {
    font-size: 1rem;
    color: #1e3a8a !important;
}
.peng-detail-card__title { font-family: 'Quicksand', sans-serif; font-size: 1.75rem; font-weight: 800; color: #0c152b; margin-bottom: 24px; line-height: 1.35; }
.peng-detail-card__content { font-size: 1rem; line-height: 1.8; color: #374151; }
.peng-detail-card__content img { max-width: 100%; border-radius: 8px; margin: 12px 0; }

/* ---- Attachment Section ---- */
.peng-attachment-section {
    margin-top: 30px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid rgba(30, 58, 138, 0.08);
    border-radius: 16px;
}
.peng-attachment-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c152b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.peng-attachment-title i {
    color: #1e3a8a;
}
.peng-attachment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.peng-attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid rgba(13, 27, 62, 0.05);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.peng-attachment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 27, 62, 0.06);
    border-color: rgba(30, 58, 138, 0.15);
}
.peng-attachment-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.peng-attachment-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(30, 58, 138, 0.06);
    color: #1e3a8a;
    border-radius: 10px;
    font-size: 1.2rem;
}
.peng-attachment-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}
.peng-attachment-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 1px;
}
.peng-attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #1e3a8a;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s;
}
.peng-attachment-btn:hover {
    background: #0d1b3e;
}

.peng-detail-card__footer { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(13,27,62,0.07); }

.peng-back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #0d1b3e 0%, #1e3a8a 100%);
    color: #fff !important; font-weight: 700; font-size: 0.85rem;
    padding: 12px 24px; border-radius: 30px; text-decoration: none !important;
    transition: all 0.3s; box-shadow: 0 4px 15px rgba(13,27,62,0.25);
}
.peng-back-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13,27,62,0.35); }

@media (max-width: 767px) {
    .peng-timeline__item { flex-direction: column; gap: 14px; }
    .peng-timeline__date-col { flex-direction: row; width: 100%; gap: 12px; }
    .peng-timeline__line { display: none; }
    .peng-detail-card__body { padding: 24px 20px; }
    .peng-detail-card__title { font-size: 1.35rem; }
    .peng-attachment-item { flex-direction: column; align-items: flex-start; gap: 12px; }
    .peng-attachment-btn { width: 100%; justify-content: center; }
}
