:root {
  --articles-blue: #2c4a7c;
  --articles-deep: #1e3a66;
  --articles-panel: #23426f;
  --articles-footer: #142a4a;
  --articles-gold: #e8943a;
  --articles-cream: #f4efe4;
  --articles-muted: #5c6b7e;
  --articles-light-muted: #c9d5e5;
  --articles-border: rgba(92,123,168,.22);
  --articles-max: 1200px;
}

body { background: var(--articles-cream); color: #18242f; }
.articles-container { width: min(100% - 48px, var(--articles-max)); margin: 0 auto; }
.articles-hero { padding: 72px 0 82px; background: var(--articles-blue); color: var(--articles-cream); }
.articles-breadcrumb { display: flex; gap: 10px; margin-bottom: 28px; color: var(--articles-light-muted); font-size: 13px; }
.articles-breadcrumb a:hover { color: var(--articles-cream); }
.articles-kicker, .articles-label { margin: 0 0 12px; color: var(--articles-gold); font: 13px system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif; letter-spacing: 3px; }
.articles-hero h1 { margin: 0 0 17px; font-size: clamp(44px, 6vw, 72px); line-height: 1.08; }
.articles-hero p:last-child { max-width: 720px; margin: 0; color: var(--articles-light-muted); font-size: 17px; line-height: 1.85; }
.articles-toolbar { position: sticky; top: 72px; z-index: 30; background: #fff; border-bottom: 1px solid var(--articles-border); box-shadow: 0 5px 20px rgba(21,33,46,.05); }
.articles-toolbar-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 28px 0 20px; }
.articles-toolbar-head h2 { margin: 0; color: var(--articles-footer); font-size: 28px; }
.articles-toolbar-head > span { color: var(--articles-muted); font-size: 13px; }
.articles-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 25px; }
.articles-filter { padding: 9px 18px; border: 1px solid var(--articles-border); border-radius: 999px; background: #fff; color: var(--articles-muted); cursor: pointer; font: inherit; font-size: 14px; transition: .2s ease; }
.articles-filter:hover { border-color: var(--articles-blue); color: var(--articles-blue); }
.articles-filter.active { border-color: var(--articles-gold); background: var(--articles-gold); color: var(--articles-footer); font-weight: 700; }
.articles-list { padding: 38px 0 82px; background: var(--articles-cream); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; min-height: 520px; }
.articles-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--articles-border); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(21,33,46,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.articles-card:hover { transform: translateY(-4px); border-color: var(--articles-gold); box-shadow: 0 18px 34px rgba(21,33,46,.14); }
.articles-cover { position: relative; aspect-ratio: 16 / 9; background: #23426f center/cover no-repeat; }
.articles-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,42,74,.72)); opacity: .55; }
.articles-cover-label { position: absolute; left: 18px; bottom: 15px; z-index: 1; color: #fff; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .5px; }
.articles-card-body { display: flex; flex: 1; flex-direction: column; padding: 19px 20px 20px; }
.articles-card-tag { align-self: flex-start; margin-bottom: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(44,74,124,.1); color: var(--articles-blue); font-size: 12px; font-weight: 700; }
.articles-card h3 { margin: 0 0 10px; color: var(--articles-footer); font-size: 19px; line-height: 1.45; }
.articles-card p { flex: 1; margin: 0 0 17px; color: var(--articles-muted); font-size: 14px; line-height: 1.75; }
.articles-card-meta { display: flex; align-items: center; gap: 9px; padding-top: 12px; border-top: 1px solid var(--articles-border); color: #738298; font-size: 12px; }
.articles-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #9aabc0; }
.articles-card-meta .read { margin-left: auto; color: var(--articles-blue); font-weight: 700; }
.articles-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.articles-page-btn { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--articles-border); border-radius: 8px; background: #fff; color: var(--articles-muted); cursor: pointer; font: inherit; transition: .2s ease; }
.articles-page-btn:hover:not(:disabled), .articles-page-btn.active { border-color: var(--articles-gold); background: var(--articles-gold); color: var(--articles-footer); }
.articles-page-btn:disabled { cursor: not-allowed; opacity: .45; }
.articles-cta { padding: 68px 0; background: var(--articles-deep); color: var(--articles-cream); }
.articles-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.articles-cta h2 { margin: 0 0 9px; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; }
.articles-cta p:last-child { margin: 0; color: var(--articles-light-muted); }
.articles-cta-button { display: inline-flex; flex-shrink: 0; padding: 14px 25px; border-radius: 8px; background: var(--articles-gold); color: var(--articles-footer); font-weight: 700; }
.articles-cta-button:hover { background: #f4c888; }
.site-footer { background: var(--articles-footer); color: var(--articles-light-muted); }
.articles-footer-inner { display: flex; justify-content: space-between; gap: 32px; padding: 52px 0 36px; }
.articles-footer-brand { max-width: 420px; }
.articles-footer-brand p { margin: 16px 0 0; font-size: 13px; line-height: 1.8; }
.articles-footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 24px; }
.articles-footer-links a { font-size: 13px; }
.articles-footer-links a:hover { color: var(--articles-cream); }
.articles-footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa0b3; font-size: 12px; }

@media (max-width: 900px) {
  .articles-container { width: calc(100% - 48px); max-width: 1200px; }
  .articles-filters { display: grid; grid-template-columns: 1fr; }
  .articles-filter { width: 100%; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .articles-container { width: calc(100% - 32px); }
  .articles-hero { padding: 48px 0 56px; }
  .articles-hero h1 { font-size: 44px; }
  .articles-hero p:last-child { font-size: 15px; }
  .articles-toolbar { position: static; }
  .articles-toolbar-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .articles-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .articles-filter { width: 100%; padding-inline: 8px; }
  .articles-grid { grid-template-columns: 1fr; min-height: 0; }
  .articles-list { padding-bottom: 58px; }
  .articles-pagination { flex-wrap: wrap; }
  .articles-footer-inner, .articles-footer-bottom { align-items: flex-start; flex-direction: column; }
}
