:root {
  color-scheme: light;
  --accent: #c41632;
  --accent-dark: #a50f26;
  --ink: #18181b;
  --muted: #575b62;
  --line: #e5e5e8;
  --paper: #fff;
  --wash: #f5f5f6;
  --body: Inter, "Segoe UI", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(calc(100% - 80px), 1344px); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 9; background: white; padding: 8px 14px; }
.skip:focus { top: 12px; }
.masthead { border-top: 5px solid var(--accent); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 99px; gap: 24px; }
.logo { display: inline-flex; align-items: center; width: 272px; text-decoration: none; }
.brand-crop { display: block; position: relative; width: 100%; aspect-ratio: 1445 / 285; overflow: hidden; flex: none; }
.brand-crop img { position: absolute; width: 106.3%; max-width: none; top: -80%; left: -4.45%; }
html[lang="pl"] .brand-crop img { top: -190.5%; }
.slovak-name { display: none; }
html[lang="sk"] .logo .brand-crop { width: 54px; aspect-ratio: 1; }
html[lang="sk"] .logo .brand-crop img { width: 555%; top: -84%; left: -24%; }
html[lang="sk"] .slovak-name { display: inline; margin-left: 8px; font: 900 30px/1 var(--body); letter-spacing: -.05em; white-space: nowrap; }
.slovak-name strong { color: var(--accent); }
.language { display: flex; gap: 3px; border: 1px solid var(--line); border-radius: 5px; padding: 3px; }
.language button { border: 0; background: transparent; color: var(--muted); padding: 5px 10px; border-radius: 3px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.language button[aria-pressed="true"] { background: var(--accent); color: white; }
.nav-shell { border-block: 1px solid var(--line); }
.nav { display: flex; gap: clamp(13px, 2.5vw, 37px); overflow-x: auto; scrollbar-width: thin; }
.nav button { flex: none; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 12px 0 10px; font-size: .9rem; font-weight: 750; }
.nav button[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.nav button:hover { color: var(--accent); }
.edition { padding-top: 25px; }
.edition-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 13px; }
.edition-heading h1 { font-size: .96rem; font-weight: 800; }
.kicker { display: inline-block; color: var(--accent-dark); font-size: .82rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.story-link { display: inline; border: 0; background: transparent; padding: 0; text-align: left; color: inherit; font: inherit; }
.story-link:hover { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .12em; }
.card { border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.card img { aspect-ratio: 3/1.75; object-fit: cover; margin-bottom: 10px; }
.card h3 { font: 700 1.37rem/1.14 var(--display); margin-top: 4px; }
.card p { color: var(--muted); margin-top: 7px; }
.footer { background: var(--wash); border-top: 1px solid var(--line); margin-top: 42px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 19px; gap: 18px; font-size: .88rem; }
#footer-brand { color: var(--accent-dark); font-weight: 850; font-size: 1rem; }
#footer-note { color: var(--muted); }
.signoff { margin-top: 16px; font-weight: 800; }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 40px); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 28px); }
  .masthead-inner { flex-wrap: wrap; min-height: 0; gap: 10px; padding-block: 12px; }
  .logo { width: 218px; }
  html[lang="sk"] .logo .brand-crop { width: 44px; }
  html[lang="sk"] .slovak-name { font-size: 25px; }
  .language button { padding-inline: 7px; }
  .nav { gap: 17px; }
  .nav button { padding-block: 8px; }
  .edition { padding-top: 17px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 3px; }
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr) minmax(220px, .86fr);
  gap: 18px;
  align-items: start;
}
.main-story, .top-secondary, .latest { min-width: 0; border: 1px solid var(--line); }
.main-story { background: var(--wash); }
.main-story img { height: clamp(155px, 16vw, 224px); object-fit: cover; }
.main-copy { padding: 15px 16px 17px; }
.main-copy h2 { margin-block: 4px 8px; font: 700 clamp(1.55rem, 2.25vw, 2.35rem)/1.04 var(--display); letter-spacing: -.038em; }
.main-copy p { color: var(--muted); line-height: 1.4; }
.top-secondary { padding: 11px; }
.secondary-feature img { height: clamp(97px, 10vw, 143px); object-fit: cover; margin-bottom: 6px; }
.secondary-feature h2 { font: 700 clamp(1.16rem, 1.55vw, 1.45rem)/1.12 var(--display); }
.compact-story { display: flex; align-items: start; gap: 10px; min-width: 0; }
.compact-story img { width: 73px; height: 54px; object-fit: cover; flex: none; }
.compact-story h3 { font: 700 1.03rem/1.19 var(--display); }
.compact-story .kicker { font-size: .72rem; letter-spacing: .04em; margin-bottom: 2px; }
.top-secondary > .compact-story { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 9px; }
.latest { border-top: 3px solid var(--accent); padding: 9px 13px 2px; }
.latest h2 { font: 700 1.68rem/1.07 var(--display); letter-spacing: -.035em; }
.latest ol { list-style: none; padding: 0; margin: 6px 0 0; }
.latest li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.latest li:last-child { border-bottom: 0; }
.latest time { font-size: .78rem; font-weight: 800; color: var(--accent-dark); padding-top: 1px; font-variant-numeric: tabular-nums; }
.latest .story-link { display: block; font-size: .89rem; font-weight: 720; line-height: 1.25; }
.sections-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 23px; }
.news-section { border: 1px solid var(--line); border-top: 2px solid var(--accent); min-width: 0; }
.section-head { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.section-head h2 { font: 700 clamp(1.2rem, 1.74vw, 1.58rem)/1.08 var(--display); letter-spacing: -.025em; }
.section-more { color: var(--accent-dark); font-weight: 740; font-size: .79rem; background: transparent; border: 0; padding: 0; text-align: right; flex: none; }
.section-more:hover { text-decoration: underline; }
.section-stories { padding: 11px 12px 0; }
.section-feature img { height: clamp(95px, 10vw, 147px); object-fit: cover; margin-bottom: 7px; }
.section-feature h3 { font: 700 1.17rem/1.14 var(--display); }
.section-feature p { color: var(--muted); font-size: .87rem; line-height: 1.35; margin-top: 5px; }
.section-feature { padding-bottom: 10px; }
.section-headlines .compact-story { padding-block: 9px; border-top: 1px solid var(--line); }
.section-headlines .compact-story .kicker { display: none; }
.section-headlines .compact-story img { width: 60px; height: 44px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
@media (max-width: 1020px) {
  .top-grid { grid-template-columns: minmax(0, 1.14fr) minmax(0, .9fr) minmax(186px, .81fr); gap: 12px; }
  .sections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .section-feature img { height: clamp(100px, 15vw, 155px); }
}
@media (max-width: 700px) {
  .top-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 12px; }
  .latest { grid-column: 1 / -1; }
  .main-story img { height: clamp(128px, 24vw, 180px); }
  .main-copy { padding: 12px; }
  .sections-grid { margin-top: 16px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .top-grid, .sections-grid, .category-grid { grid-template-columns: minmax(0, 1fr); }
  .top-secondary { grid-row: 3; display: grid; gap: 8px; }
  .top-secondary > .compact-story { margin-top: 0; }
  .main-story img { height: clamp(132px, 44vw, 190px); }
  .secondary-feature img, .section-feature img { height: clamp(105px, 34vw, 165px); }
  .main-copy h2 { font-size: 1.76rem; }
}


.image-credit { color: var(--muted); font-size: .76rem; margin: 4px 12px 0; }
.weather-source-list { list-style: none; padding: 0 12px; margin: 0; }
.weather-source-list li + li { border-top: 1px solid var(--line); }
.weather-source-list a { display: flex; justify-content: space-between; gap: 12px; padding-block: 11px; text-decoration: none; }
.weather-source-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.weather-source-list span { color: var(--muted); font-size: .87rem; }
.edition .weather-panel { max-width: 580px; }
.article-page { max-width: 780px; margin: 0 auto; }
.article-back { font-size: .9rem; color: var(--accent-dark); font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin-top: 19px; }
.article-meta time { font-size: .86rem; color: var(--muted); }
.article-page h1 { font: 700 clamp(2rem, 4vw, 3.55rem)/1.02 var(--display); letter-spacing: -.04em; margin: 7px 0 13px; text-wrap: balance; }
.article-summary { font-size: clamp(1.05rem, 2vw, 1.23rem); color: var(--muted); line-height: 1.48; }
.article-page figure { margin: 20px 0; }
.article-page figcaption { color: var(--muted); font-size: .84rem; }
.article-body { font-size: 1.07rem; margin-top: 21px; }
.article-body p + p { margin-top: 15px; }
.article-sources { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 13px; }
.article-sources h2 { font: 700 1.22rem var(--display); }
.article-sources ul { padding-inline-start: 19px; margin-block: 7px 0; }
.article-sources a { color: var(--accent-dark); }

/* Editorial image origin stays visible both on cards and in the full article. */
.news-image { position: relative; }
.news-image-label { position:absolute; left:6px; top:6px; border-radius:3px; background:#18181beb; color:white; padding:3px 6px; font:600 .7rem/1.2 var(--body); pointer-events:none; }
.compact-story .news-image { flex:none; }
.compact-story .news-image-label { left:2px; right:2px; top:auto; bottom:2px; padding:2px; font-size:.53rem; text-align:center; }
.article-page figure img { width:100%; max-height:520px; object-fit:contain; background:#f5f5f6; }
.article-page figcaption { margin-top:7px; overflow-wrap:anywhere; }
.article-page figcaption a, .image-credit a { color:inherit; text-decoration:underline; }
.translation-credit{display:grid;gap:4px;padding:11px 14px;margin:12px 0 16px;border-left:4px solid var(--accent);background:var(--wash);font-size:.92rem;color:var(--muted)}
.translation-credit strong{color:var(--ink)}.translation-credit a{text-decoration:underline;font-weight:600}
.edition-meta { text-align:right; }
.weather-widget { padding:14px 14px 11px; margin:0 0 10px; border:1px solid #dce5ee; border-radius:6px; background:#f1f6fb; color:#163149; }
.weather-place { font-weight:700; font-size:.98rem; }
.weather-current { min-height:56px; display:flex; align-items:center; gap:10px; }
.weather-current svg { display:block; width:48px; height:48px; flex:0 0 auto; }
.weather-reading { display:grid; line-height:1.12; gap:3px; }
.weather-reading strong { font-size:1.85rem; font-variant-numeric:tabular-nums; }
.weather-reading span { font-size:.93rem; }
.weather-model,.weather-hint { font-size:.81rem; color:#4a5e72; }
.weather-widget button { margin:8px 0 3px; background:#fff; border:1px solid #9ab0c4; border-radius:4px; font-weight:600; color:#1e486b; padding:.27rem .55rem; }
.weather-message { margin:5px 0; font-size:.91rem; }
/* Keep the date and nameday distinct, even on a narrow screen. */
.today-meta { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.6rem 1.7rem; min-width:0; text-align:right; color:var(--ink); font-size:clamp(1.03rem,.92rem + .46vw,1.22rem); line-height:1.3; font-weight:650; }
.edition-date { white-space:nowrap; }
.edition-nameday { min-width:0; overflow-wrap:anywhere; }
.nameday-name { font-weight:850; color:var(--accent-dark); }
@media(max-width:650px) {
  .edition-heading { align-items:flex-start; }
  .today-meta { flex-direction:column; align-items:flex-end; gap:.52rem; max-width:72%; }
  .weather-widget { padding:12px; }
}

/* Article-only typography. The homepage and section cards keep their layout. */
.article-page { --reading: 68ch; }
.article-page .article-body { max-width: var(--reading); color: var(--ink); font-size: clamp(1.035rem, 1rem + .16vw, 1.15rem); line-height: 1.68; }
.article-page .article-body > p { margin: 0 0 1.05em; overflow-wrap: break-word; }
.article-page .article-body > p strong { font-weight: 800; }
.article-page .article-body .article-intertitle { font: 700 clamp(1.35rem, 1.2rem + .55vw, 1.85rem)/1.2 var(--display); letter-spacing: -.02em; margin: 1.45em 0 .38em; text-wrap: balance; }
.article-page .article-body .article-intertitle:first-child { margin-top: 0; }
.article-page .article-inline { margin: 1.4em 0 1.55em; }
.article-page .article-inline img { display: block; height: auto; }
.article-page .article-inline figcaption { line-height: 1.45; }
.article-page .article-callout { margin: 1.22em 0 1.45em; padding: .9em 1.03em; border-inline-start: .25em solid var(--accent); background: var(--wash); }
.article-page .article-callout h2 { margin: 0 0 .3em; font: 750 1.1em/1.25 var(--display); }
.article-page .article-callout p, .article-page .article-callout ul { margin: 0; }
.article-page .article-callout ul { padding-inline-start: 1.2em; }
.article-page .article-callout li + li { margin-top: .32em; }
.article-page.article-brief { max-width: 690px; }
.article-page.article-brief .article-body { line-height: 1.58; }
.article-page.article-dispatch .article-summary { padding-inline-start: .8em; border-inline-start: 3px solid var(--accent); }
.article-page.article-analysis .article-intertitle { border-top: 1px solid var(--line); padding-top: .55em; }
.article-page.article-feature .article-summary { font-family: var(--display); font-weight: 650; }
.article-page.article-feature .article-body > p:first-child::first-letter { float: left; margin: .06em .12em 0 0; color: var(--accent-dark); font: 700 3.25em/.9 var(--display); }
.article-page.article-guide .article-intertitle { color: var(--accent-dark); }
@media (max-width: 520px) {
  .article-page .article-callout { padding: .72em .8em; }
  .article-page .article-body .article-intertitle { text-wrap: pretty; }
}
