.artdcm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--artdcm-gap, 24px);
}
.artdcm-grid.artdcm-cols-1 { grid-template-columns: minmax(0, 1fr); }
.artdcm-grid.artdcm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.artdcm-grid.artdcm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.artdcm-grid.artdcm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.artdcm-card {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: var(--artdcm-radius, 10px);
    overflow: hidden;
    box-shadow: var(--artdcm-shadow, 0 3px 14px rgba(10, 36, 78, .08));
}
.artdcm-image {
    display: block;
    aspect-ratio: var(--artdcm-ratio, 16/9);
    overflow: hidden;
    background: #f1f3f6;
}
.artdcm-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--artdcm-fit, cover);
}
.artdcm-body { padding: 18px; }
.artdcm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.artdcm-tags a {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf3ff;
    color: #0b2a63;
    text-decoration: none;
}
.artdcm-card h3 {
    font-size: var(--artdcm-title-size, 19px);
    font-weight: var(--artdcm-title-weight, 600);
    line-height: 1.35;
    margin: 0 0 8px;
}
.artdcm-card h3 a { color: inherit; text-decoration: none; }
.artdcm-date { font-size: 12px; color: #7b8493; margin-bottom: 9px; }
.artdcm-card p { line-height: 1.55; }
.artdcm-more { font-weight: 700; text-decoration: none; }
.artdcm-archive { max-width: 1240px; margin: 0 auto; padding: 20px; }
.artdcm-search { display: flex; gap: 8px; margin: 0 0 24px; }
.artdcm-search input { min-width: 0; flex: 1; padding: 10px 12px; }
.artdcm-search button { padding: 10px 16px; }
.artdcm-pages { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.artdcm-pages a {
    min-width: 36px;
    text-align: center;
    padding: 8px;
    border: 1px solid #d7dde5;
    border-radius: 5px;
    text-decoration: none;
}
.artdcm-pages a.is-current { font-weight: 700; background: #f0f0f1; }
@media (max-width: 900px) {
    .artdcm-grid:not(.artdcm-cols-1) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .artdcm-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .artdcm-archive { padding: 14px; }
}
