/* Bizon News: layout and type follow the Polonya Haber / konuk-haber design
   (paper background, white masthead with accent bar, Inter 800 headlines,
   solid accent tags, short accent rule, muted spaced labels). */

@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latinext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latinext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../fonts/inter-latinext-800.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f6f3ee;
  --card: #ffffff;
  --ink: #16161a;
  --muted: #6b6b73;
  --line: #e2ddd4;
  /* Bizon blue (Polonya Haber uses red #d62839 in the same role) */
  --accent: #1d6fb8;
  --panel-top: #222227;
  --panel-bottom: #0f0f12;
  --glow: rgba(29, 111, 184, 0.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.5;
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* masthead */
.masthead { background: #fff; border-bottom: 2px solid var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: auto; display: block; }
.brand__word { font-weight: 800; font-size: 30px; letter-spacing: -0.025em; line-height: 1; }
.brand__dot { color: var(--accent); }
.pill {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border: 2px solid var(--accent); border-radius: 18px;
  color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.mast-bar { height: 4px; background: var(--accent); }

/* intro */
.intro { padding: 56px 0 40px; max-width: 760px; }
.tag, .card__tag {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}
.intro h1 { margin: 22px 0 12px; font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; }
.intro p { margin: 0; color: var(--muted); font-size: 18px; }
.rule { width: 72px; height: 6px; background: var(--accent); margin-top: 28px; }

/* cards */
.cards {
  list-style: none; margin: 0; padding: 0 0 64px;
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.card { display: flex; }
.card__link {
  display: flex; flex-direction: column; width: 100%;
  background: var(--card); color: inherit; text-decoration: none;
  border: 2px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card__link:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22, 22, 26, 0.1); border-color: var(--accent); }
.card__link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.card__panel {
  position: relative; height: 150px; overflow: visible;
  background:
    radial-gradient(120% 90% at 85% 10%, var(--glow), transparent 60%),
    linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  display: flex; align-items: center; padding: 0 24px;
  border-bottom: 4px solid var(--accent);
}
.card__local {
  color: rgba(255, 255, 255, 0.92); font-weight: 800; font-size: 34px; letter-spacing: 0.08em; line-height: 1;
}
.card__tag { position: absolute; left: 24px; bottom: -18px; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 38px 24px 20px; }
.card__title { margin: 0 0 8px; font-weight: 800; font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }
.card__text { margin: 0; color: var(--muted); font-size: 16px; }
.card__rule { width: 48px; height: 5px; background: var(--accent); margin: 20px 0 18px; }
.card__foot {
  margin-top: auto; padding-top: 14px; border-top: 2px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.muted-label { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.card__handle { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; font-size: 17px; white-space: nowrap; }
.card__handle .ig { width: 18px; height: 18px; fill: currentColor; }
.card__handle .arrow { width: 20px; height: 20px; transition: transform 0.2s ease; }
.card__link:hover .arrow { transform: translateX(4px); }

/* featured: all-of-Poland account spans the full row */
.card--featured { grid-column: 1 / -1; }
.card--featured .card__panel { height: 200px; }
.card--featured .card__local { font-size: clamp(44px, 7vw, 76px); }
.card--featured .card__title { font-size: 34px; }
.card--featured .card__text { font-size: 18px; max-width: 640px; }

/* footer */
.site-footer { background: #fff; border-top: 2px solid var(--line); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.site-footer__copy { color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .masthead__inner { min-height: 68px; }
  .brand__mark { width: 32px; }
  .brand__word { font-size: 24px; }
  .pill { height: 30px; padding: 0 12px; font-size: 11px; }
  .intro { padding: 36px 0 28px; }
  .intro p { font-size: 16px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .card__panel { height: 120px; }
  .card__local { font-size: 28px; }
  .card--featured .card__panel { height: 150px; }
  .card--featured .card__title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .card__link, .card__handle .arrow { transition: none; }
}
