:root {
  color-scheme: light;
  --ink: #122c43;
  --muted: #607386;
  --line: #dce5ed;
  --blue: #176dc1;
  --blue-dark: #10559a;
  --surface: #ffffff;
  --page: #f4f7fa;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.page-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.page-shell { padding-top: 61px; padding-bottom: 66px; }
.intro { max-width: 760px; margin-bottom: 48px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow-mark { width: 7px; height: 7px; border-radius: 50%; background: #e04c54; box-shadow: 0 0 0 4px #fce9eb; }
h1 { max-width: 700px; margin: 0; color: #102b43; font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -.055em; }
.intro-copy { max-width: 610px; margin: 17px 0 0; color: #62778a; font-size: 17px; line-height: 1.65; }
.feed { padding: 30px; border: 1px solid #e3eaf0; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 28px rgba(24, 54, 79, .045); }
.feed-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.feed-heading h2 { margin: 0; color: #17364f; font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
.result-count { min-height: 20px; margin: 7px 0 0; color: #718294; font-size: 13px; }
.feed-mark { padding: 7px 11px; border: 1px solid #e3edf5; border-radius: 999px; color: #60798e; font-size: 11px; font-weight: 750; letter-spacing: .02em; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 19px; border-bottom: 1px solid #e9eef2; }
.category-tabs { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #e4eaf0; border-radius: 10px; background: #f7f9fb; }
.category-tab { min-height: 36px; padding: 0 13px; border: 0; border-radius: 7px; color: #64778a; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.category-tab:hover { color: var(--blue-dark); }
.category-tab.is-active { color: #fff; background: #176dc1; box-shadow: 0 2px 5px rgba(23, 109, 193, .22); }
.filter-fields { display: flex; align-items: center; gap: 9px; }
.search-field, .country-field { display: flex; min-height: 42px; align-items: center; border: 1px solid #dfe7ed; border-radius: 9px; background: #fff; }
.search-field { width: 238px; gap: 9px; padding: 0 11px; }
.search-field svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: #8292a0; stroke-width: 1.8; stroke-linecap: round; }
.search-field input, .country-field select { min-width: 0; border: 0; outline: 0; color: #344b5f; background: transparent; font: inherit; font-size: 13px; }
.search-field input { width: 100%; }
.search-field input::placeholder { color: #91a0ad; }
.country-field { min-width: 142px; padding: 0 10px; }
.country-field select { width: 100%; cursor: pointer; }
.search-field:focus-within, .country-field:focus-within { border-color: #72a8d8; box-shadow: 0 0 0 3px rgba(23, 109, 193, .11); }
.feed-notice { margin: 17px 0 0; padding: 11px 13px; border-radius: 8px; color: #71551b; background: #fff8e8; font-size: 13px; line-height: 1.5; }
.feed-notice[hidden] { display: none; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 22px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid #e4eaf0; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.article-card:hover { transform: translateY(-2px); border-color: #bfd6e8; box-shadow: 0 9px 22px rgba(24, 54, 79, .09); }
.article-card:focus-visible, .category-tab:focus-visible, .show-more:focus-visible { outline: 3px solid rgba(23, 109, 193, .65); outline-offset: 3px; }
.article-cover { position: relative; display: flex; height: 184px; align-items: flex-end; overflow: hidden; background: linear-gradient(135deg, #dbeaf5, #eef3f7 62%, #f8e6e6); }
.article-cover::before { position: absolute; top: -52px; right: -10px; width: 180px; height: 180px; border: 1px solid rgba(23, 109, 193, .12); border-radius: 50%; content: ""; }
.article-cover::after { position: absolute; top: -20px; right: 34px; width: 180px; height: 180px; border: 1px solid rgba(224, 76, 84, .13); border-radius: 50%; content: ""; }
.article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-cover.has-image::before, .article-cover.has-image::after { display: none; }
.article-label { position: relative; z-index: 1; margin: 0 0 13px 14px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.42); border-radius: 6px; color: #fff; background: rgba(16, 43, 67, .78); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.article-body { display: flex; min-height: 204px; flex-direction: column; padding: 16px 17px 15px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin-bottom: 9px; color: #788a99; font-size: 11px; font-weight: 650; }
.article-meta .country { color: #537086; }
.article-title { margin: 0; color: #183850; font-size: 17px; line-height: 1.4; letter-spacing: -.025em; }
.article-excerpt { display: -webkit-box; overflow: hidden; margin: 8px 0 15px; color: #647789; font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.article-read { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: #176dc1; font-size: 12px; font-weight: 800; }
.article-read::after { width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; content: ""; transform: rotate(45deg); }
.feed-state { grid-column: 1 / -1; padding: 46px 18px; border: 1px dashed #d6e1e9; border-radius: 12px; color: #667c8e; text-align: center; font-size: 14px; line-height: 1.6; }
.feed-state strong { display: block; margin-bottom: 4px; color: #193850; font-size: 16px; }
.retry-button { margin-top: 13px; padding: 9px 14px; border: 0; border-radius: 7px; color: #fff; background: var(--blue); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.retry-button:hover { background: var(--blue-dark); }
.feed-actions { display: flex; justify-content: center; padding-top: 23px; }
.show-more { min-height: 42px; padding: 0 18px; border: 1px solid #d3e0ea; border-radius: 8px; color: #22577f; background: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.show-more:hover { border-color: #9fc3df; background: #f7fbfe; }
.show-more[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed { padding: 24px; }
  .article-cover { height: 170px; }
}
@media (max-width: 640px) {
  .page-shell { width: min(100% - 32px, 540px); }
  .page-shell { padding-top: 42px; padding-bottom: 40px; }
  .intro { margin-bottom: 31px; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; letter-spacing: .08em; }
  h1 { font-size: clamp(34px, 9vw, 46px); }
  .intro-copy { margin-top: 13px; font-size: 15px; }
  .feed { padding: 19px 15px; border-radius: 14px; }
  .feed-heading { align-items: flex-start; margin-bottom: 18px; }
  .feed-heading h2 { font-size: 20px; }
  .feed-mark { margin-top: 1px; padding: 6px 8px; font-size: 10px; }
  .filters { align-items: stretch; flex-direction: column; gap: 12px; padding-bottom: 15px; }
  .category-tabs { width: max-content; max-width: 100%; }
  .category-tab { min-height: 35px; padding-inline: 12px; font-size: 12px; }
  .filter-fields { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 8px; }
  .search-field { width: auto; min-width: 0; }
  .country-field { min-width: 0; padding-inline: 8px; }
  .search-field input, .country-field select { font-size: 12px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; padding-top: 15px; }
  .article-cover { height: 190px; }
  .article-body { min-height: 0; padding: 14px 15px 15px; }
  .article-title { font-size: 17px; }
  .article-excerpt { margin-bottom: 12px; }
  .feed-state { padding: 36px 12px; }
}
@media (max-width: 360px) {
  .page-shell { width: calc(100% - 24px); }
  .filter-fields { grid-template-columns: minmax(0, 1fr) 118px; }
  .search-field { gap: 6px; padding-inline: 8px; }
  .category-tab { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
