/*
 * Kartu artikel edukasi - dipakai lintas halaman (grid Beranda, halaman
 * penuh Edukasi, dsb), jadi ini component global bukan page-specific.
 * Warna sengaja hardcode (bukan var(--beranda-*)) supaya file ini berdiri
 * sendiri, gak gantung ke custom property yang didefinisikan di CSS
 * halaman lain.
 */

.article-card,
.article-card-skeleton {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #eef0f6;
    padding: 1.5rem;
}

.article-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.2);
    border-color: transparent;
}

.article-accent {
    width: 2.5rem;
    height: 0.3rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.article-accent-k3 { background: #f59e0b; }
.article-accent-ps { background: #0ea5a4; }

.article-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.article-category-k3 { color: #f59e0b; }
.article-category-ps { color: #0ea5a4; }

.article-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1b1f2e;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.article-card p {
    font-size: 0.85rem;
    color: #6b7280;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9aa1b3;
    border-top: 1px solid #f1f2f7;
    padding-top: 0.85rem;
}

/* Halaman detail artikel (Edukasi show) */
.article-detail-body {
    font-size: 0.98rem;
    line-height: 1.85;
    color: #374151;
}

.article-detail-body h2,
.article-detail-body h3 {
    color: #1b1f2e;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-detail-body p {
    margin-bottom: 1.1rem;
}

.article-detail-body img {
    max-width: 100%;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.article-detail-body ul,
.article-detail-body ol {
    margin-bottom: 1.1rem;
    padding-left: 1.25rem;
}
