.articles-page { background: #f5f8fc; }
.articles-page a { text-decoration: none; }
.articles-main { max-width: 1140px; padding: 0 20px; margin: 20px auto 24px; }
.articles-toolbar { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 18px; align-items: center; flex-wrap: wrap; }
.article-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.article-filters a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px; border-radius: 20px; font-size: 13px; color: var(--text-secondary); background: var(--surface); }
.article-filters small { font-size: 11px; background: var(--surface-muted); padding: 0 4px; border-radius: 8px; }
.article-filters a.active { color: #fff; background: #2460ff; }.article-filters a.active small { background: #6891ff; }
.articles-search { display: flex; gap: 14px; margin-left: auto; }
.articles-search select,.articles-search input { height: 38px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); padding: 0 12px; color: var(--text); font: inherit; font-size: 12px; }
.articles-search > div { position: relative; }.articles-search input { width: 270px; padding-right: 36px; }.articles-search button { position: absolute; right: 0; top: 0; height: 38px; width: 36px; background: transparent; border: 0; font-size: 23px; color: var(--text-secondary); cursor: pointer; }
.articles-layout { display: grid; grid-template-columns: minmax(0,1fr) 254px; gap: 18px; align-items: start; }.articles-primary { min-width: 0; }
.article-list,.articles-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-xs); }.article-list { padding: 0 12px; }
.article-row { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }.article-row:last-child { border-bottom: 0; }
.article-thumb { position: relative; flex: 0 0 104px; height: 74px; display: grid; place-items: center; border-radius: 5px; background: linear-gradient(135deg,#233e52,#101f2c); color: #6bc7d6; font: 700 28px monospace; overflow: hidden; }.article-thumb img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.article-row-content { flex: 1; min-width: 0; }.article-row h2 { margin: 0 0 6px; font-size: 14px; line-height: 1.6; }.article-row h2 a { color: var(--text); }.article-row h2 a:hover { color: var(--accent); }.article-row p { font-size: 12px; color: var(--text-secondary); margin: 0 0 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.article-row-tags { display: flex; gap: 6px; flex-wrap: wrap; }.article-row-tags a,.popular-tags a { display: inline-flex; gap: 8px; border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--text-secondary); background: var(--surface-muted); }.article-row-tags .category-badge { color: var(--accent); background: #edf3ff; }
.article-row-meta { flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; font-size: 11px; color: var(--text-secondary); }.article-row-arrow { color: var(--text-secondary); font-size: 21px; padding: 6px; }
.articles-sidebar { display: flex; flex-direction: column; gap: 18px; }.articles-panel { padding: 18px; }.articles-panel h2 { font-size: 17px; margin: 0 0 14px; }.sidebar-categories { display: flex; flex-direction: column; gap: 5px; }.sidebar-categories a { display: flex; justify-content: space-between; color: var(--text); padding: 8px; border-radius: 5px; font-size: 13px; }.sidebar-categories small { color: var(--text-secondary); font-size: 12px; }.sidebar-categories a.active { color: var(--accent); background: #edf3ff; }
.popular-tags { display: flex; flex-wrap: wrap; gap: 8px; }.popular-tags small { color: var(--text-secondary); }.articles-panel-head { display: flex; justify-content: space-between; align-items: baseline; }.articles-panel-head > a { font-size: 12px; color: var(--accent); }.latest-articles { display: flex; flex-direction: column; gap: 14px; }.latest-articles a { display: flex; gap: 12px; justify-content: space-between; font-size: 11px; color: var(--text); }.latest-articles span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.latest-articles time { flex-shrink: 0; color: var(--text-secondary); }
.article-contact { display: flex; gap: 14px; background: linear-gradient(135deg,var(--surface),var(--surface-muted)); }.article-contact > span { font-size: 28px; color: var(--accent); }.article-contact h2 { font-size: 13px; margin: 4px 0; }.article-contact p { font-size: 12px; color: var(--text-secondary); margin: 0 0 16px; }.article-contact a { display: inline-block; padding: 6px 20px; background: #2460ff; color: #fff; border-radius: 6px; font-size: 12px; }
.articles-pagination { display: flex; align-items: center; justify-content: center; position: relative; gap: 20px; margin: 20px 0; min-height: 36px; }.articles-pagination > span { margin-left: auto; font-size: 12px; color: var(--text-secondary); }.article-pages { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }.article-pages a,.article-pages > span { display: inline-grid; place-items: center; min-width: 32px; height: 34px; border-radius: 6px; color: var(--text); background: var(--surface); font-size: 12px; }.article-pages .current { background: #2460ff; color: #fff; }.articles-empty { text-align: center; padding: 60px 20px; }.articles-empty h2 { font-size: 20px; }.articles-empty p { color: var(--text-secondary); }.articles-empty a,.selected-tag a { color: var(--accent); }.selected-tag { font-size: 13px; margin-bottom: 15px; }.selected-tag a { margin-left: 12px; }
.articles-page footer { margin-top: 24px; }html[data-theme="dark"] .sidebar-categories a.active,html[data-theme="dark"] .article-row-tags .category-badge { background: #233553; }
@media(max-width:1100px) { .articles-layout { grid-template-columns: minmax(0,1fr) 250px; }.article-thumb { flex-basis: 90px; height: 80px; }.article-row { gap: 12px; }.article-row-meta { font-size: 10px; } }
@media(max-width:900px) { .articles-layout { grid-template-columns: minmax(0,1fr); }.articles-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .articles-main { padding: 0 12px; }.articles-search { width: 100%; gap: 8px; }.articles-search > div { min-width: 0; flex: 1; }.articles-search input { width: 100%; }.article-filters { gap: 6px; }.article-filters a { font-size: 12px; padding: 5px 11px; }.article-row { flex-wrap: wrap; gap: 8px 12px; }.article-thumb { flex-basis: 78px; height: 76px; }.article-row-content { flex-basis: calc(100% - 92px); }.article-row h2 { font-size: 13px; }.article-row p { display: none; }.article-row-meta { flex-direction: row; margin-left: 90px; gap: 12px; }.article-row-arrow { display: none; }.articles-sidebar { display: flex; }.articles-pagination { flex-wrap: wrap; }.articles-pagination > span { margin-left: 0; } }

.tag-empty { color: var(--text-secondary); font-size: 12px; margin: 0; }



