* { box-sizing: border-box; }
body { margin: 0; background: #f3f6fa; color: #172b42; font-family: system-ui, sans-serif; line-height: 1.8; }
header, main, footer { width: min(900px, 100%); margin: auto; padding: 24px; }
header { padding-top: 28px; }
.language-switch { display: flex; gap: 4px; justify-content: flex-end; }
.language-switch a { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: .9rem; }
.language-switch [aria-current] { background: #172b42; color: white; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.3; }
h2 { font-size: 1.3rem; line-height: 1.5; }
h3 { font-size: 1rem; margin-bottom: 8px; }
p { white-space: pre-line; }
.card { background: white; border: 1px solid #dce4ee; border-radius: 16px; padding: 28px; margin-bottom: 24px; overflow-wrap: anywhere; }
.original-title { color: #526478; font-size: .85rem; margin-top: -8px; }
.pagination, .result-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 24px 0; }
.pagination a, .pagination span, .result-pagination span { padding: 8px 12px; }
.pagination [aria-current], .result-pagination [aria-current] { background: #24527a; color: white; border-radius: 6px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.source-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid #dce4ee; border-radius: 8px; background: #fff; color: #172b42; font-size: .95rem; font-weight: 700; text-decoration: none; }
.source-badge:hover { border-color: #075ca8; background: #eaf2fa; }
.source-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.source-publication { font-size: .85rem; }
footer, time { color: #526478; font-size: .9rem; }
time { display: inline-block; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #eaf2fa; color: #24527a; padding: 3px 10px; border-radius: 8px; font-size: .8rem; }
details { border-top: 1px solid #dce4ee; margin-top: 24px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
a { color: #075ca8; }
.source { display: inline-block; margin-top: 20px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #087cbb; outline-offset: 4px; }
.new-badge { display: inline-block; margin-right: 10px; padding: 3px 8px; border-radius: 6px; background: #dff5e8; color: #166534; font-size: .75rem; font-weight: 700; vertical-align: middle; }
@media (max-width: 600px) { header, main, footer { padding: 20px 16px; } .card { padding: 20px; } }
[hidden] { display: none !important; }
.site-updated { color: #526478; font-size: .9rem; margin-bottom: 0; }
.search-panel { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; background: white; border: 1px solid #dce4ee; border-radius: 12px; padding: 20px; margin-top: 32px; }
.search-field { min-width: 0; }
.keyword-field { grid-column: 1 / -1; }
.search-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.search-field input, .search-field select { display: block; width: 100%; min-height: 44px; border: 1px solid #8b9cad; border-radius: 6px; background: white; padding: 8px 10px; color: inherit; font: inherit; font-size: .95rem; }
.reset-filters { align-self: end; min-height: 44px; border: 1px solid #8b9cad; border-radius: 6px; background: #f3f6fa; color: #24527a; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
.search-help { grid-column: 1 / -1; color: #526478; font-size: .85rem; margin: 0; }
.result-pagination button { border: 0; background: transparent; color: #075ca8; font: inherit; cursor: pointer; padding: 8px 12px; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #087cbb; outline-offset: 3px; }
@media (max-width: 600px) { .search-panel { grid-template-columns: 1fr; padding: 16px; gap: 12px; } .reset-filters { justify-self: start; } }
