/**
 * Pengumuman - Custom Styles
 * Menggunakan theme LEBAK RUHAY
 */

/* Hero Pengumuman */
.hero-pengumuman {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

/* Pengumuman List */
.pengumuman-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pengumuman-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

.pengumuman-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.pengumuman-featured {
    border: 2px solid var(--color-primary);
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.pengumuman-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pengumuman-content {
    flex: 1;
    min-width: 0;
}

.pengumuman-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(196, 30, 58, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
}

.pengumuman-title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.75rem;
    line-height: var(--line-height-tight);
}

.pengumuman-title a {
    color: var(--color-gray-800);
    text-decoration: none;
    transition: color var(--transition-base);
}

.pengumuman-title a:hover {
    color: var(--color-primary);
}

.pengumuman-excerpt {
    font-size: clamp(0.875rem, 2vw, 0.9375rem);
    color: var(--color-gray-600);
    line-height: var(--line-height-relaxed);
    margin-bottom: 1rem;
}

.pengumuman-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
    color: var(--color-gray-600);
}

.pengumuman-date,
.pengumuman-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pengumuman-date i,
.pengumuman-location i {
    color: var(--color-primary);
}

.pengumuman-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .pengumuman-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pengumuman-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .pengumuman-new {
        position: static;
        margin-top: 0.5rem;
    }
}

