.article-index { padding-block: 36px; }
.article-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.article-intro h1 { margin: 12px 0; font-size: 42px; font-weight: 650; letter-spacing: .04em; line-height: 1.25; }
.article-intro h1 span { color: var(--accent); }
.articles-panel { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); scroll-margin-top: 20px; }
.articles-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; }
.article-summary h2 { margin-bottom: 6px; font: 600 20px/1.5 var(--display); letter-spacing: .08em; }
.article-summary p { color: var(--muted); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.article-item { min-width: 0; border-top: 1px solid var(--border); }
.article-item:nth-child(even) { border-left: 1px solid var(--border); }
.article-item:nth-child(4n + 3), .article-item:nth-child(4n + 4) { background: var(--row-alt); }
.article-entry { position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 24px 28px; }
.article-entry::before { content: ''; position: absolute; top: 24px; bottom: 24px; left: 0; width: 2px; background: var(--accent); opacity: 0; }
.article-entry:hover { color: var(--text); background: var(--surface-hover); }
.article-entry:hover::before, .article-entry:focus-visible::before { opacity: 1; }
.article-entry:focus-visible { outline-offset: -3px; }
.article-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.article-topic { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 12px; overflow-wrap: anywhere; }
.article-topic::before { content: ''; width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.article-topline time, .article-date { margin-left: auto; color: var(--muted); font: 12px/1.5 var(--mono); }
.article-title-line { display: flex; align-items: flex-start; gap: 18px; }
.article-title-line h3 { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 550; line-height: 1.65; overflow-wrap: anywhere; }
.article-arrow { margin-top: 5px; color: var(--input-border); }
.article-entry:hover .article-title-line h3, .article-entry:focus-visible .article-title-line h3 { color: var(--accent); }
.article-entry:hover .article-arrow, .article-entry:focus-visible .article-arrow { color: var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: auto; color: var(--muted); font-size: 12px; }
.article-meta > span { min-width: 0; overflow-wrap: anywhere; }
.article-meta strong { margin-left: 5px; color: var(--text); font-weight: 400; }
.article-views strong { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.articles-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-top: 1px solid var(--border); }

@media (max-width: 1199px) {
    .article-entry { padding: 22px; }
    .article-title-line h3 { font-size: 17px; }
}
@media (max-width: 991px) {
    .article-index { padding-block: 32px; }
    .article-intro { align-items: flex-start; }
    .article-intro h1 { font-size: 36px; }
    .article-grid { grid-template-columns: minmax(0, 1fr); }
    .article-item:nth-child(even) { border-left: 0; }
    .article-item:nth-child(n) { background: transparent; }
    .article-item:nth-child(even) { background: var(--row-alt); }
    .articles-toolbar { padding: 24px 22px; }
    .articles-toolbar .search-area { width: 320px; }
}
@media (max-width: 767px) {
    .article-intro { display: block; margin-bottom: 24px; }
    .articles-toolbar { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 20px 30px; }
    .articles-toolbar .search-area { width: 100%; }
    .article-entry { padding: 22px 20px; }
    .article-meta { column-gap: 16px; }
    .article-reply { flex-basis: 100%; }
    .articles-footer { padding: 20px; gap: 16px; }
}
@media (max-width: 575px) {
    .article-intro h1 { font-size: 32px; }
    .article-intro .eyebrow { font-size: 11px; }
    .article-entry { padding-inline: 18px; }
    .article-topline time, .article-date { font-size: 11px; }
    .article-title-line { gap: 12px; }
}
