/**
 * E-PINTAS MIMIKA - Pengumuman Styles (List & Detail)
 * ----------------------------------------------------
 */

/* Pengumuman Card Design */
.pengumuman-card-box {
    background: #ffffff;
    border-radius: var(--theme-radius-xl, 20px);
    overflow: hidden;
    border: 1px solid var(--theme-border-color, rgba(0, 47, 108, 0.08));
    box-shadow: var(--theme-card-shadow, 0 8px 24px rgba(0, 47, 108, 0.05));
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pengumuman-card-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--theme-card-hover-shadow, 0 20px 35px rgba(0, 47, 108, 0.12));
    border-color: rgba(2, 132, 199, 0.3);
}

.pengumuman-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.pengumuman-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pengumuman-card-box:hover .pengumuman-thumb-img {
    transform: scale(1.08);
}

.pengumuman-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002f6c 0%, #0369a1 100%);
}

.placeholder-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.4s ease;
}

.pengumuman-card-box:hover .placeholder-icon {
    transform: scale(1.15) rotate(-5deg);
    color: rgba(255, 255, 255, 0.5);
}

.pengumuman-type-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(2, 132, 199, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.pengumuman-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.pengumuman-meta-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--theme-text-muted, #64748b);
    display: flex;
    align-items: center;
}

.pengumuman-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--theme-text-main, #002f6c);
    line-height: 1.45;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pengumuman-card-box:hover .pengumuman-card-title {
    color: var(--theme-primary-light, #0284c7);
}

.pengumuman-card-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pengumuman-card-footer {
    border-top: 1px solid #f1f5f9;
}

.read-arrow {
    transition: transform 0.25s ease;
}

.pengumuman-card-box:hover .read-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .pengumuman-thumb-wrapper {
        height: 180px;
    }
}
