/* Halaman daftar artikel. Semua selector memakai namespace article-list. */
.article-list {
    padding: 48px 0 80px;
    background: #f7f8f8;
    font-family: Poppins, Arial, sans-serif;
}

.article-list__wrap { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }

.article-list__intro {
    padding: 12px 0 8px;
    color: #58666b;
}

.article-list__intro p { margin: 0 0 14px; color: #9ba2a3; font-size: 13px; font-weight: 500; }
.article-list__intro p a { color: #9ba2a3; text-decoration: none; }
.article-list__intro p span { display: inline; margin: 0 3px; color: #cf3b2e; }
.article-list__intro h1 { max-width: 680px; margin: 0; color: #ca3b30; font-size: 33px; line-height: 1.2; }
.article-list__intro > span { display: block; max-width: 670px; margin-top: 14px; color: #718084; font-size: 16px; line-height: 1.7; }

.article-list__categories { display: flex; gap: 10px; overflow-x: auto; padding: 26px 2px 16px; scrollbar-width: thin; }
.article-list__categories a { flex: 0 0 auto; padding: 9px 15px; border: 1px solid #cfe6e2; border-radius: 999px; color: #17665e; background: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.article-list__categories a:hover, .article-list__categories .is-active { border-color: #087b70; color: #fff; background: #087b70; }

.article-list__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 22px; }
.article-list__toolbar > p { margin: 0; color: #61716f; font-size: 14px; }
.article-list__toolbar form { display: flex; width: min(100%, 320px); }
.article-list__toolbar input { min-width: 0; flex: 1; padding: 10px 13px; border: 1px solid #d8e6e3; border-right: 0; border-radius: 8px 0 0 8px; background: #fff; font: inherit; font-size: 13px; }
.article-list__toolbar button { padding: 0 16px; border: 0; border-radius: 0 8px 8px 0; color: #fff; background: #ca3b30; font: inherit; font-size: 13px; font-weight: 700; }
.article-list__toolbar button i { margin-right: 6px; }

.article-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-list__card { display: flex; min-height: 402px; flex-direction: column; overflow: hidden; border: 1px solid #e3ecea; border-radius: 14px; background: #fff; color: #28343d; text-decoration: none; box-shadow: 0 5px 15px rgba(28, 56, 52, .06); transition: transform .2s ease, box-shadow .2s ease; }
.article-list__card:hover { color: #28343d; transform: translateY(-4px); box-shadow: 0 13px 28px rgba(28, 56, 52, .13); }
.article-list__card img { width: 100%; height: 190px; object-fit: cover; }
.article-list__card section { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.article-list__card small { color: #087b70; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.article-list__card h2 { margin: 12px 0 11px; color: #172d3a; font-size: 19px; font-weight: 700; line-height: 1.38; }
.article-list__card p { margin: 0 0 18px; color: #687781; font-size: 13px; line-height: 1.7; }
.article-list__card b { margin-top: auto; color: #c71919; font-size: 13px; }
.article-list__card b i { margin-left: 4px; }

.article-list__empty { padding: 58px 24px; border: 1px dashed #b9d8d2; border-radius: 14px; color: #60706e; background: #fff; text-align: center; }
.article-list__empty i { color: #16a38e; font-size: 32px; }
.article-list__empty h2 { margin: 12px 0 5px; color: #203c3a; font-size: 22px; }
.article-list__empty p { margin: 0 0 18px; }
.article-list__empty a { color: #087b70; font-weight: 700; }

.article-list__pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.article-list__page { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid #d2e4e1; border-radius: 8px; color: #286960; background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.article-list__page:hover, .article-list__page.is-active { border-color: #087b70; color: #fff; background: #087b70; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 850px) { .article-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .article-list { padding: 32px 0 60px; }
    .article-list__wrap { width: min(100% - 28px, 1140px); }
    .article-list__intro { padding: 8px 0; }
    .article-list__intro h1 { font-size: 28px; }
    .article-list__intro span { font-size: 14px; }
    .article-list__toolbar { align-items: stretch; flex-direction: column; }
    .article-list__toolbar form { width: 100%; }
    .article-list__grid { grid-template-columns: 1fr; gap: 16px; }
    .article-list__card { min-height: 0; flex-direction: row; }
    .article-list__card img { width: 126px; height: auto; min-height: 160px; }
    .article-list__card section { padding: 16px; }
    .article-list__card h2 { margin: 8px 0; font-size: 16px; }
    .article-list__card p { display: none; }
    .article-list__pagination { flex-wrap: wrap; }
    .article-list__page--previous span, .article-list__page--next span { display: none; }
}
