/* ============================================
   Articles Category Shortcode v2.0 — Styles
   ============================================ */

/* ── CARD STYLE ── */
.acs-wrap {
    display: grid;
    gap: 22px;
    margin: 24px 0;
}
.acs-col-1 { grid-template-columns: 1fr; }
.acs-col-2 { grid-template-columns: repeat(2, 1fr); }
.acs-col-3 { grid-template-columns: repeat(3, 1fr); }
.acs-col-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .acs-col-3, .acs-col-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .acs-wrap { grid-template-columns: 1fr !important; gap: 16px; }
}

.acs-item {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.acs-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.acs-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.acs-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.acs-date { font-size: 12px; color: #999; display: block; margin-bottom: 7px; }
.acs-title { font-size: 15px; font-weight: 700; margin: 0 0 9px; line-height: 1.45; }
.acs-title a { color: #1a1a1a; text-decoration: none; }
.acs-title a:hover { color: #0073aa; }
.acs-excerpt { font-size: 13px; color: #555; margin: 0 0 12px; line-height: 1.6; flex: 1; }
.acs-more { font-size: 13px; color: #0073aa; text-decoration: none; font-weight: 600; }
.acs-more:hover { text-decoration: underline; }


/* ── LIST STYLE ── */
.acs-list-wrap {
    display: grid;
    gap: 0;
    margin: 20px 0;
}

/* Multi-column list grid */
.acs-list-col-2 { grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
.acs-list-col-3 { grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.acs-list-col-4 { grid-template-columns: repeat(4, 1fr); gap: 0 30px; }

@media (max-width: 768px) {
    .acs-list-wrap { grid-template-columns: 1fr !important; }
}

.acs-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.acs-list-item:last-child { border-bottom: none; }

.acs-list-img-link { flex-shrink: 0; }
.acs-list-img-link img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.acs-list-body { flex: 1; }

.acs-list-date {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 5px;
}

.acs-list-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}
.acs-list-title a { color: #1a1a1a; text-decoration: none; }
.acs-list-title a:hover { color: #0073aa; }
