.ac-section {
    font-family: 'Inter', sans-serif;
    padding: 0;
    width: 100%;
}

/* ---------- Grid ---------- */
.ac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 900px) {
    .ac-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    }
}

@media (max-width: 560px) {
    .ac-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    }
}

/* ---------- Card ---------- */
.ac-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
                box-shadow 0.28s ease;
    cursor: pointer;
}

.ac-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09), 0 16px 40px rgba(0, 0, 0, 0.10);
}

/* ---------- Thumbnail ---------- */
.ac-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8ecec;
    flex-shrink: 0;
}

.ac-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.40s ease;
}

.ac-card:hover .ac-thumbnail img {
    transform: scale(1.05);
}

/* Placeholder saat gambar belum ada */
.ac-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4e8e8 0%, #e8f4f4 100%);
}

.ac-thumbnail-placeholder svg {
    opacity: 0.35;
}

/* ---------- Body ---------- */
.ac-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 18px;
    gap: 10px;
}

/* ---------- Category ---------- */
.ac-category {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #735A31;
    line-height: 1;
}

/* ---------- Title ---------- */
.ac-title {
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    font-weight: 700;
    color: #387F81;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Excerpt ---------- */
.ac-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #3F4949;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* ---------- Footer ---------- */
.ac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 16px;
    border-top: 1px solid #f0f4f4;
    gap: 10px;
}

.ac-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #8fa3a3;
    font-weight: 500;
}

.ac-date svg {
    flex-shrink: 0;
}

.ac-read-more {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #387F81;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.ac-read-more:hover {
    gap: 8px;
    color: #2a6365;
}

/* ---------- Skeleton / Loading ---------- */
.ac-skeleton .ac-thumbnail {
    background: #e8ecec;
}

.sk {
    background: linear-gradient(90deg, #eef2f2 25%, #e2e8e8 50%, #eef2f2 75%);
    background-size: 200% 100%;
    animation: sk-shimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes sk-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sk-thumb  { width: 100%; height: 100%; border-radius: 0; }
.sk-cat    { width: 60px; height: 11px; }
.sk-title  { width: 100%; height: 16px; margin-bottom: 4px; }
.sk-title2 { width: 75%; height: 16px; }
.sk-ex1    { width: 100%; height: 12px; }
.sk-ex2    { width: 90%; height: 12px; }
.sk-ex3    { width: 70%; height: 12px; }
.sk-date   { width: 90px; height: 12px; }

/* ---------- Error / Empty State ---------- */
.ac-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #8fa3a3;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.ac-error span {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
}