:root {
  --bg: #f6f4ef;
  --paper: #fffef9;
  --text: #0f0f0f;
  --muted: #5c5c5c;
  --line: #cec8ba;
  --accent: #1a4a8a;
  --accent2: #c0392b;
  --shadow: 0 10px 28px rgba(0,0,0,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.68;
}

img { max-width: 100%; display: block; border-radius: 3px; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
}

/* ── TOP STRIP ─────────────────────────────────────────── */
.top-strip {
  background: #0d1b2a;
  color: #e8e4dc;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.top-strip__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 0;
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 0 12px;
  border-bottom: 2.5px solid #0d1b2a;
}

.brand {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(28px, 5vw, 60px);
  letter-spacing: 0.07em;
  text-align: center;
  color: #0d1b2a;
}

.brand-accent { color: var(--accent2); }

.brand-meta {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.brand-meta--right { text-align: right; }

.czech-flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  background: linear-gradient(180deg, #fff 50%, #d7141a 50%);
  border: 1px solid #ccc;
  border-radius: 2px;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}
.czech-flag::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #11457e;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}

.main-nav a {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text);
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { border-color: var(--accent2); color: var(--accent2); }

/* ── BREAKING BANNER ─────────────────────────────────────── */
.breaking-bar {
  background: var(--accent2);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breaking-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.breaking-label {
  background: #fff;
  color: var(--accent2);
  padding: 2px 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  flex-shrink: 0;
  border-radius: 2px;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.main-layout { padding: 36px 0 60px; }

/* ── HERO GRID ───────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.hero--lead {
  padding: 32px 32px 32px 32px;
  border-right: 1px solid var(--line);
}

.hero-side {
  display: flex;
  flex-direction: column;
}

/* ── EYEBROW / KICKER ────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

.eyebrow--blue { color: var(--accent); }

/* ── ARTICLE HEADINGS ────────────────────────────────────── */
h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
  color: #0d1b2a;
  margin-bottom: 12px;
}

h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.28;
  color: #0d1b2a;
  margin-bottom: 10px;
}

h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 17px;
  color: #0d1b2a;
  margin-bottom: 8px;
}

.standfirst {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.article-body p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.72;
}

/* ── IMAGES ─────────────────────────────────────────────── */
.article-image {
  margin: 18px 0;
  position: relative;
}
.article-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
}
.image-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 5px;
}

/* Placeholder for user photos */
.photo-placeholder {
  background: #e8e4dc;
  border: 2px dashed #b0a898;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
}
.photo-placeholder .ph-icon { font-size: 32px; opacity: 0.5; }
.photo-placeholder .ph-label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.photo-placeholder .ph-hint {
  font-size: 12px;
  font-style: italic;
  opacity: 0.7;
}

/* ── HERO SIDE WIDGETS ───────────────────────────────────── */
.mini-feature {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  flex: 1;
}
.mini-feature p { font-size: 14px; color: var(--muted); }

.quote-box {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: #f0ece3;
}
.quote-box p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: #2c2c2c;
}
.quote-box p::before { content: '"'; font-size: 28px; color: var(--accent2); line-height: 0; vertical-align: -0.4em; margin-right: 4px; }

.facts-box {
  padding: 24px;
  flex: 1;
}
.facts-box h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 14px;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.fact-row:last-child { border: none; }
.fact-val { font-weight: 700; color: var(--accent); }

/* ── SECTION DIVIDER ─────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 24px;
}
.section-divider__line { flex: 1; height: 1.5px; background: var(--line); }
.section-divider__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--muted);
  white-space: nowrap;
}

/* ── ARTICLE CARDS GRID ──────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.article-card {
  background: var(--paper);
  padding: 26px 24px;
  position: relative;
}
.article-card:hover { background: #fffdf5; }

/* ── TWO-COLUMN ARTICLE ──────────────────────────────────── */
.article-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.article-double__image {
  position: relative;
  overflow: hidden;
}
.article-double__image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.article-double__content { padding: 32px; }

/* ── FULL-WIDTH ARTICLE ──────────────────────────────────── */
.article-full {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 40px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.article-full .article-grid-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

/* ── SPECIAL FEATURE ─────────────────────────────────────── */
.feature-banner {
  background: #0d1b2a;
  color: #e8e4dc;
  padding: 40px 40px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.feature-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(26,74,138,0.3) 100%);
}
.feature-banner .eyebrow { color: #f0c040; }
.feature-banner h2 { color: #fff; font-size: clamp(20px, 3vw, 30px); }
.feature-banner .standfirst { color: #b0b8c8; }
.feature-banner .article-body p { color: #c8d0dc; font-size: 14.5px; }
.feature-banner .article-meta { color: #7899b0; border-color: #1e3a5a; }

/* ── PULLQUOTE ───────────────────────────────────────────── */
.pullquote {
  border-left: 4px solid var(--accent2);
  padding: 14px 20px;
  margin: 20px 0;
  background: #f8f4ec;
}
.pullquote p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  color: #2c2c2c;
  margin: 0 !important;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar-box {
  background: #f0ece3;
  padding: 20px;
  border-top: 3px solid var(--accent2);
}
.sidebar-box h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent2);
  margin-bottom: 12px;
}
.sidebar-box p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.sidebar-box ul { padding-left: 16px; }
.sidebar-box li { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-bottom: 6px; }

/* ── TAG / LABEL ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.tag--red { background: var(--accent2); }
.tag--dark { background: #0d1b2a; }

.page-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
}

.page-links a {
  display: inline-block;
  background: #0d1b2a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
  transition: background 0.2s;
}

.page-links a:hover {
  background: var(--accent2);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #0d1b2a;
  color: #8899aa;
  font-size: 12.5px;
  padding: 32px 0 24px;
  border-top: 3px solid var(--accent2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.footer-brand {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 22px;
  color: #c8d4e0;
  margin-bottom: 8px;
}
.footer-col h6 {
  font-size: 11px;
  color: #f0c040;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.footer-col p { line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid #1e3a5a;
  padding-top: 16px;
  text-align: center;
  font-size: 11.5px;
  color: #556677;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero--lead { border-right: none; border-bottom: 1px solid var(--line); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-double { grid-template-columns: 1fr; }
  .article-full .article-grid-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: 1fr; text-align: center; }
  .brand-meta--right { text-align: center; }
}
