:root {
  --bg: #0f1115;
  --surface: #fff;
  --surface-alt: #f4f5f7;
  --ink: #16181d;
  --muted: #5b6470;
  --line: #e3e6ea;
  --accent: #d12d2d;
  --accent-dk: #a81f1f;
  --radius: 12px;
  --max: 1200px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--surface-alt); line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

.site-header { background: var(--bg); color: #fff; padding: 1.4rem 0; }
.site-header .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.site-header .header-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-wrap { display: flex; align-items: center; gap: 0.7rem; }
.brand-avatar { flex: none; display: block; }
.brand-avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; border: 2px solid rgba(255, 255, 255, 0.85); }
.brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
/* Atrybut `hidden` musi wygrywać z regułami `display:…` (przycisk/baner PWA i dzwonek
   są domyślnie hidden i pokazywane dopiero przez JS dla właściwych przeglądarek). */
[hidden] { display: none !important; }

.notif-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; font: inherit; font-weight: 700; font-size: 0.9rem;
  color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.cta-zapis { text-decoration: none; background: var(--accent); border-color: var(--accent); }
.cta-zapis:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.notif-btn:hover { background: rgba(255, 255, 255, 0.12); }
.notif-btn.on { background: var(--accent); border-color: var(--accent); }
.notif-btn:disabled { opacity: 0.55; cursor: default; }
.brand {
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
  padding-bottom: 0.22rem;
  box-shadow: inset 0 -3px 0 var(--accent);
}
.tagline { color: #aeb6c2; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.02em; }
.tagline b { color: var(--accent); }

.filters { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1rem 0; position: sticky; top: 0; z-index: 10; }
.filters form { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: flex-end; }
.filters .grow { flex: 1 1 220px; }
.filters input, .filters select { font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.filters label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.2rem; }
.filters .field { min-width: 150px; }
.filter-actions { display: flex; gap: 0.5rem; }

/* zwijany pasek filtrów — tylko na telefonach */
.filters__toggle { display: none; }
.filters__chevron { transition: transform 0.2s; }
@media (max-width: 720px) {
  .filters__toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    font: inherit; font-weight: 700; color: var(--ink);
    background: var(--surface-alt); border: 1px solid var(--line);
    border-radius: 8px; padding: 0.6rem 0.9rem; cursor: pointer;
  }
  .filters form { display: none; margin-top: 0.7rem; }
  .filters.open form { display: flex; }
  .filters.open .filters__chevron { transform: rotate(180deg); }
}
.btn { font: inherit; font-weight: 700; padding: 0.6rem 1.1rem; border-radius: 8px; border: 0; cursor: pointer; background: var(--accent); color: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.btn:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-alt); }

.results-meta { padding: 1.2rem 0 0.4rem; color: var(--muted); font-size: 0.95rem; }

.grid { display: grid; gap: 1.25rem; padding: 1rem 0 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-thumb { aspect-ratio: 16 / 9; background: var(--surface-alt); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #b8bfc9; font-weight: 700; letter-spacing: 0.1em; }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.source-badge { background: var(--surface-alt); border: 1px solid var(--line); color: var(--ink); font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; }
.card h2 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.title-en { font-size: 0.85rem; color: var(--muted); font-style: italic; margin: 0; }
.excerpt { color: #303641; font-size: 0.95rem; margin: 0; }
.excerpt.clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.show-more { align-self: flex-start; background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0; font-size: 0.9rem; }
.card-actions { margin-top: auto; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.read-original { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--accent); text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.8rem; }
.read-original:hover { background: var(--surface-alt); }
/* Nazwy klas celowo neutralne — patrz _share.html (blokery społecznościowe ukrywają .share-*). */
.spreadbar { display: inline-flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.spreadbtn { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; font: inherit; font-weight: 700; font-size: 0.85rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem; min-width: 2.1rem; height: 2.1rem; cursor: pointer; }
.spreadbtn svg { flex: none; width: 18px; height: 18px; display: block; }
.spreadbtn[data-net="x"] svg { width: 16px; height: 16px; }
.spreadbtn--text { padding: 0.45rem 0.7rem; }
.spreadbtn:hover { background: var(--surface-alt); color: var(--ink); }
.spreadbtn.copied { color: #1e7e45; border-color: #1e7e45; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: var(--accent); }

/* strona pojedynczego artykułu */
.single { max-width: 760px; }
.single-back { display: inline-block; margin: 1.4rem 0 1rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.single-back:hover { color: var(--ink); }
.single-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 1.4rem; }
.single-thumb { width: 100%; max-height: 440px; object-fit: cover; }
.single-article .card-meta,
.single-article > h1,
.single-article > .title-en,
.single-article > .single-excerpt,
.single-article > .card-actions { padding-inline: clamp(1rem, 4vw, 1.6rem); }
.single-article .card-meta { margin-top: 1.2rem; }
.single-article > h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0.5rem 0; line-height: 1.25; }
.single-excerpt { font-size: 1.06rem; color: #303641; margin: 0.8rem 0 1.4rem; }
.single-note { color: var(--muted); font-size: 0.9rem; margin: 1.2rem 0 3rem; }
.pending-note { font-size: 0.78rem; color: #b0843a; margin: 0; }

.pagination { display: flex; justify-content: center; gap: 0.6rem; padding: 0 0 3rem; align-items: center; }
.pagination a, .pagination span { padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 600; }
.pagination .disabled { color: #b8bfc9; background: var(--surface-alt); }

.site-footer { background: var(--bg); color: #aeb6c2; padding: 1.6rem 0; font-size: 0.85rem; }
.footer-ig { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 700; text-decoration: none; margin-bottom: 0.7rem; }
.footer-ig:hover { color: var(--accent); }
.empty { padding: 3rem 0; text-align: center; color: var(--muted); }

/* ── Newsletter (zapis e-mail) ─────────────────────────────────────────── */
/* przewijanie do formularza z belki — z offsetem na lepkie filtry */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.newsletter { background: var(--surface); border-top: 1px solid var(--line); padding: 1.6rem 0; scroll-margin-top: 90px; }
.newsletter__email.flash { animation: zapisflash 1.3s ease; }
@keyframes zapisflash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(209, 45, 45, 0); }
  15% { box-shadow: 0 0 0 4px rgba(209, 45, 45, 0.35); border-color: var(--accent); }
  60% { box-shadow: 0 0 0 4px rgba(209, 45, 45, 0.15); border-color: var(--accent); }
}
.newsletter__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.newsletter__lead { flex: 1 1 240px; }
.newsletter__lead strong { display: block; font-size: 1.05rem; }
.newsletter__lead span { color: var(--muted); font-size: 0.9rem; }
.newsletter__form { flex: 1 1 320px; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.newsletter__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter__email { flex: 1 1 180px; font: inherit; padding: 0.6rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.newsletter__btn { font: inherit; font-weight: 700; padding: 0.6rem 1.1rem; border-radius: 8px; border: 0; cursor: pointer; background: var(--accent); color: #fff; }
.newsletter__btn:hover { background: var(--accent-dk); }
.newsletter__consent { flex: 1 1 100%; font-size: 0.78rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.4rem; }
.newsletter__consent input { margin-top: 0.15rem; }

/* ── Portal: pasek kategorii ───────────────────────────────────────────── */
.catbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.catbar__row { display: flex; gap: 0.5rem; overflow-x: auto; padding-block: 0.7rem; -webkit-overflow-scrolling: touch; }
.chip { flex: 0 0 auto; font-size: 0.85rem; font-weight: 700; color: var(--ink); text-decoration: none;
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Portal: układ hero + sidebar ──────────────────────────────────────── */
.portal { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; padding-top: 1.4rem; }
.portal__main { min-width: 0; }
.section-title { font-size: 1.15rem; margin: 1.8rem 0 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.portal__more { margin: 1.4rem 0 0; }

/* news główny (lead) */
.lead { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; }
.lead__thumb { display: block; aspect-ratio: 16 / 8; background: var(--surface-alt); overflow: hidden; }
.lead__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead__body { padding: 1.1rem 1.2rem 1.3rem; }
.lead__title { font-size: 1.7rem; line-height: 1.2; margin: 0.5rem 0 0.6rem; }
.lead__title a { color: var(--ink); text-decoration: none; }
.lead__title a:hover { color: var(--accent); }
.lead__excerpt { color: var(--muted); margin: 0 0 0.8rem; }

/* trzy poboczne newsy */
.lead-secondary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 0.5rem; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.mini__thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface-alt); overflow: hidden; }
.mini__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__body { padding: 0.6rem 0.7rem 0.8rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mini__title { font-size: 0.98rem; line-height: 1.3; margin: 0; }
.mini__title a { color: var(--ink); text-decoration: none; }
.mini__title a:hover { color: var(--accent); }

/* sidebar */
.portal__side { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 1rem; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.side-box__title { font-size: 1rem; margin: 0 0 0.7rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.mostread { list-style: none; margin: 0; padding: 0; counter-reset: mr; }
.mostread li { counter-increment: mr; display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.mostread li:first-child { border-top: 0; }
.mostread li::before { content: counter(mr); font-weight: 800; color: var(--accent); font-size: 1.1rem; line-height: 1.2; }
.mostread a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.mostread a:hover { color: var(--accent); }
.mostread__src { grid-column: 2; font-size: 0.75rem; color: var(--muted); }
.side-news p { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.8rem; }
.side-ig { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 1rem; justify-content: center; }
.side-ig:hover { border-color: var(--accent); color: var(--accent); }

/* „Przeglądaj wg marki": na desktopie w sidebarze, na mobile pod leadem */
.brands-mobile { display: none; }

@media (max-width: 880px) {
  .portal { grid-template-columns: 1fr; }
  .portal__side { position: static; }
  .lead__title { font-size: 1.4rem; }
  .lead-secondary { grid-template-columns: 1fr; }
  .brands-mobile { display: block; }   /* pokaż box pod leadem */
  .brands-desktop { display: none; }    /* ukryj kopię w sidebarze */
}

/* ── Polish wizualny: badge kategorii, hover kart, drobiazgi ────────────── */
.cat-badge { background: rgba(209, 45, 45, 0.10); border: 1px solid rgba(209, 45, 45, 0.22);
  color: var(--accent-dk); font-weight: 700; padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.72rem; }

.card, .mini, .lead { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.card:hover, .mini:hover, .lead:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15, 17, 21, 0.10); border-color: #d3d8de; }
.card-thumb img, .mini__thumb img, .lead__thumb img { transition: transform .25s ease; }
.card:hover .card-thumb img, .mini:hover .mini__thumb img, .lead:hover .lead__thumb img { transform: scale(1.03); }

.card-title-link, .mini__title a, .lead__title a { transition: color .12s ease; }
.section-title { letter-spacing: -0.01em; }
.chip { transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
.lead__excerpt { font-size: 1.02rem; }
.mostread a { transition: color .12s ease; }

/* ── Strony marek (/marka/<slug>) ──────────────────────────────────────────── */
.brandpage { padding-top: 0.5rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 1rem 0 0.25rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.brand-hero { margin: 0.5rem 0 1.6rem; }
.brand-hero h1 { font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.brand-hero__lead { color: var(--muted); max-width: 62ch; margin: 0; }
.brand-switch { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 3rem; }
.footer-brands { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.7rem; }
.footer-brands span { color: #8b94a2; font-weight: 700; }
.footer-brands a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-brands a:hover { color: var(--accent); }
.side-brands { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* ── „Powiązane" na stronie artykułu ───────────────────────────────────────── */
.related { margin: 0 auto 3rem; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .related-grid { grid-template-columns: 1fr 1fr 1fr; } }
.related-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .12s ease, box-shadow .12s ease; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 24, 40, 0.10); }
.related-thumb { aspect-ratio: 16 / 9; background: var(--surface-alt); overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.related-card:hover .related-thumb img { transform: scale(1.04); }
.related-thumb .placeholder { width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--muted); font-weight: 800; font-size: 0.9rem; }
.related-body { padding: 0.7rem 0.8rem 0.9rem; }
.related-title { font-size: 0.98rem; line-height: 1.3; margin: 0.35rem 0 0; }

/* ── Strony i boksy tematyczne (/temat/<slug>) — reużycie stylistyki stron marek ── */
.themepage { padding-top: 0.5rem; }
.theme-hero { margin: 0.5rem 0 1.6rem; }
.theme-hero h1 { font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.theme-hero__lead { color: var(--muted); max-width: 62ch; margin: 0; }
.theme-switch { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 3rem; }
.footer-themes { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.7rem; }
.footer-themes span { color: #8b94a2; font-weight: 700; }
.footer-themes a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-themes a:hover { color: var(--accent); }
.themes-mobile { display: none; }
@media (max-width: 880px) {
  .themes-mobile { display: block; }   /* pokaż box tematów pod leadem */
  .themes-desktop { display: none; }    /* ukryj kopię w sidebarze */
}

/* ── Sekcja „Serwis prasowy" (/prasa) — reużycie stylistyki stron tematycznych ── */
.presspage { padding-top: 0.5rem; }
.side-press { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.7rem; line-height: 1.4; }

/* ── Sekcja „Rolki z Instagrama" (embed, grają na stronie) ── */
.reels-strip { margin: 1.5rem auto 2.5rem; }
.reels-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.reels-strip__kick { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.reels-strip__head h2 { margin: 0.3rem 0 0; font-size: 1.4rem; letter-spacing: -0.01em; }
.reels-ig { display: flex; gap: 1rem; overflow-x: auto; padding: 0.25rem 0.15rem 0.75rem; scroll-snap-type: x mandatory; }
.reels-ig .instagram-media { flex: 0 0 auto; margin: 0 !important; scroll-snap-align: start; min-width: 300px !important; }
@media (max-width: 640px) { .reels-ig .instagram-media { min-width: 84vw !important; } }

/* Górny wariant paska rolek — nad hero, z subtelnym oddzieleniem od newsów */
.reels-strip--top { margin: 1rem auto 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }

/* Stopka: nota copyright + drobny druk atrybucji */
.footer-copy { color: #fff; font-weight: 700; margin: 0.2rem 0 0; }
.footer-attr { font-size: 0.72rem; color: #8b94a2; margin: 0.3rem 0 0; max-width: 72ch; line-height: 1.45; }

/* Pasek rolek w kolumnie głównej (pod leadem) — oddzielony górną linią od hero */
.reels-strip--incol { margin: 1.25rem 0 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Górny pas portalu: lead wyśrodkowany (węższy, bez sidebara); Instagram = pełna szerokość strony */
.portal-hero { max-width: 1120px; padding-top: 1.4rem; display: flex; gap: 1.2rem; align-items: stretch; }
.portal-hero > .lead--hero { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.lead--hero .lead__thumb { aspect-ratio: 16 / 7; }   /* trochę mniejsze (niższe) zdjęcie leada */

/* Boks „Premiera" obok leada — najnowszy debiut */
.hero-premiere { flex: 0 0 300px; order: -1; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }  /* order:-1 = na lewo od leada */
.hero-premiere__link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.hero-premiere__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--surface-alt); overflow: hidden; }
.hero-premiere__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-premiere__thumb .placeholder { display: grid; place-items: center; height: 100%; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.hero-premiere__tag { position: absolute; top: .6rem; left: .6rem; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .22rem .55rem; border-radius: 999px; }
.hero-premiere__body { padding: .75rem .85rem; display: flex; flex-direction: column; gap: .4rem; }
.hero-premiere__title { font-size: 1.02rem; line-height: 1.28; margin: 0; font-weight: 700; color: var(--ink); }
.hero-premiere__more { padding: .6rem .85rem; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.hero-premiere__more:hover { color: var(--accent-dk); }
.hero-premiere { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.hero-premiere:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15, 17, 21, 0.10); border-color: #d3d8de; }
.hero-premiere__thumb img { transition: transform .25s ease; }
.hero-premiere:hover .hero-premiere__thumb img { transform: scale(1.03); }
@media (max-width: 860px) { .portal-hero { flex-direction: column; } .hero-premiere { flex-basis: auto; order: 0; } }  /* mobile: lead na górze */
.reels-strip--full { margin: 1.5rem auto 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
/* jeden rząd, przewijanie w bok (bez zawijania); wyśrodkowany gdy się mieści, scroll gdy nie (safe) */
.reels-strip--full .reels-ig { flex-wrap: nowrap; overflow-x: auto; justify-content: safe center; }

/* Pełna treść polskiego materiału prasowego (single, tylko press+pl) */
.single-body { margin: 1rem 0 1.25rem; line-height: 1.7; font-size: 1.04rem; color: var(--ink); }
.single-body p { margin: 0 0 1rem; }
.single-body h2, .single-body h3, .single-body h4, .single-body h5 { margin: 1.6rem 0 .6rem; line-height: 1.25; }
.single-body ul, .single-body ol { margin: 0 0 1rem 1.3rem; }
.single-body li { margin: .3rem 0; }
.single-body a { color: var(--accent); }
.single-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: .8rem 0; }
.single-body blockquote { border-left: 3px solid var(--line); margin: 1rem 0; padding: .3rem 0 .3rem 1rem; color: var(--muted); }
.single-body figure { margin: .8rem 0; }
.single-body figcaption { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.single-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.single-body th, .single-body td { border: 1px solid var(--line); padding: .4rem .6rem; text-align: left; }

/* Pasek zgody na cookies — celowo wąski i mało absorbujący: dolna krawędź, bez nakładki
   przyciemniającej i bez blokowania treści (można czytać i scrollować, nie decydując).
   Znika po pierwszym wyborze i już nie wraca. */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: .9rem 1.2rem; flex-wrap: wrap;
  padding: .6rem clamp(1rem, 4vw, 2rem);
  background: rgba(15, 17, 21, .97); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .85rem; line-height: 1.4;
}
@supports (backdrop-filter: blur(6px)) {
  .cookie-bar { background: rgba(15, 17, 21, .88); backdrop-filter: blur(6px); }
}
.cookie-text { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .88); }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex: none; }
.cookie-btn {
  font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap;
  padding: .4rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff;
}
.cookie-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
/* „Odrzuć" i „Akceptuję" mają ten sam rozmiar i wagę — RODO wymaga, by odmowa była
   równie łatwa jak zgoda (różni je tylko wypełnienie, nie hierarchia). */
.cookie-btn-ok { background: var(--accent); border-color: var(--accent); }
.cookie-btn-ok:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.cookie-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 560px) {
  .cookie-bar { justify-content: space-between; gap: .6rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
/* Ten sam przycisk na jasnym tle strony /prywatnosc (wycofanie zgody). */
.cookie-btn-inline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.cookie-btn-inline:hover { border-color: var(--muted); background: var(--surface-alt); }
.cookie-btn-inline:focus-visible { outline-color: var(--accent); }
.cookie-reset-hint { margin-left: .6rem; font-size: .85rem; color: var(--muted); }

/* ── Sekcja „Wideo" (YouTube). Kafelek jest FASADĄ: w HTML siedzi tylko miniatura
   z i.ytimg.com; odtwarzacz podmieniany dopiero po kliknięciu (patrz app.js). ── */
.video-strip { margin: 1.5rem 0 1.75rem; }
.video-row { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.ytcard { flex: 0 0 260px; scroll-snap-align: start; }
@media (max-width: 640px) { .ytcard { flex-basis: 78vw; } }
.ytcard__btn { display: block; position: relative; width: 100%; padding: 0; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--surface-alt); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.ytcard__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15, 17, 21, 0.10); border-color: #d3d8de; }
.ytcard__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* hqdefault ma proporcje 4:3 (film 16:9 z czarnymi pasami) — kadrujemy je do kafelka */
.ytcard__btn img { width: 100%; height: 100%; object-fit: cover; }
.ytcard__icon { position: absolute; inset: 0; margin: auto; width: 58px; height: 40px; border-radius: 10px;
  background: rgba(15, 17, 21, 0.72); transition: background-color .16s ease; }
.ytcard__icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.ytcard__btn:hover .ytcard__icon { background: var(--accent); }
.ytcard__title { margin: 0.55rem 0 0; font-size: 0.95rem; line-height: 1.3; font-weight: 700; color: var(--ink); }
/* po kliknięciu iframe wchodzi w miejsce przycisku — ta sama ramka i proporcje */
.ytcard iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
