/*
 * ==========================================
 * File CSS: Edukasi Trivia
 * ------------------------------------------
 * File ini mengatur gaya (styling) khusus untuk halaman Edukasi Trivia.
 * Pastikan untuk menjaga hierarki spesifisitas agar tidak bentrok dengan layout utama.
 * ==========================================
 */



.home-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.blob { position: absolute; filter: blur(80px); animation: floatBlob 12s infinite alternate ease-in-out; opacity: 0.5; }
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; max-width: 60vw; max-height: 60vw; background: #19AEDD; border-radius: 50%; }
.blob-2 { bottom: -10%; right: -10%; width: 600px; height: 600px; max-width: 70vw; max-height: 70vw; background: #19DDAA; border-radius: 50%; animation-delay: -6s; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

.fade-up { animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.article-title-hover {
    transition: color 0.2s ease;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
.hero-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    order: 2;
}
.hero-img {
    order: 1;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-text {
        order: 1;
        padding-right: 1.5rem;
    }
    .hero-img {
        order: 2;
        margin-bottom: 0;
    }
}

.trivia-list-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 0.5rem;
}
.trivia-list-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-title-hover:hover {
    color: var(--primary-color) !important;
}
.animate-pulse {
    animation: pulse-shadow 2s infinite;
    background-color: #19AEDD;
    border-color: #19AEDD;
}
.animate-pulse:hover {
    background-color: #148cb2;
    transform: scale(1.05);
}
@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(25, 174, 221, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(25, 174, 221, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 174, 221, 0); }
}
