/* Wiarygodności – styl strony. Paleta z logo: grafit, czerwień, biel. */

:root {
  --ink: #1e1e1e;
  --ink-2: #2b2b2e;
  --red: #be1e26;
  --red-dark: #9a161d;
  --paper: #ffffff;
  --mist: #f3f3f4;
  --line: #e2e2e5;
  --muted: #66666d;
  --ui: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --wrap: 1200px;
  --read: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.site > main { flex: 1 0 auto; }
body.site > .foot { flex: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff;
  padding: 10px 16px; z-index: 100; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: calc(var(--read) + 48px); }

/* ---------- nagłówek ---------- */

.masthead { background: var(--ink); color: #fff; position: relative; }
.masthead__main {
  position: relative; overflow: hidden; background-color: var(--ink);
  background-image: radial-gradient(ellipse at 100% -40%, rgba(190, 30, 38, .55), transparent 58%), radial-gradient(rgba(255, 255, 255, .06) 1.3px, transparent 1.3px);
  background-size: auto, 24px 24px;
}
.masthead__mark { position: absolute; left: 30%; bottom: -170px; width: 330px; color: var(--red); opacity: .13; transform: rotate(-16deg); pointer-events: none; }
.masthead__mark svg { width: 100%; height: auto; display: block; }
.masthead__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; padding-top: 28px; padding-bottom: 28px; }
.masthead__logo { display: block; line-height: 0; flex: none; }
.masthead__logo img { height: 64px; width: auto; }
.masthead__daily { display: flex; align-items: center; gap: 28px; min-width: 0; }
.daily__date { display: flex; align-items: center; gap: 12px; flex: none; }
.daily__day { font-size: 60px; font-weight: 800; line-height: .9; letter-spacing: -.05em; color: #fff; }
.daily__txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: #b4b4bb; }
.daily__txt b { color: #fff; font-size: 14px; text-transform: capitalize; }
.imieniny {
  max-width: 330px; padding-left: 22px; border-left: 3px solid var(--red); font-family: var(--serif);
  font-style: italic; font-size: 16px; line-height: 1.4; color: #e4e4e8;
}
.imieniny small { display: block; margin-bottom: 4px; font-family: var(--ui); font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #ff8a90; }

.sections {
  position: sticky; top: 0; z-index: 60; background: var(--ink); border-top: 1px solid #38383c; border-bottom: 4px solid var(--red);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
.sections__row { display: flex; align-items: center; gap: 10px; }
.sections__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; }
.sections__in::-webkit-scrollbar { display: none; }
.sections a {
  flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #cfcfd4;
  text-decoration: none; transition: color .15s, background .15s;
}
.sections a:hover { color: #fff; background: #2f2f34; }
.sections a[aria-current] { color: #fff; font-weight: 600; background: var(--red); }

/* postęp czytania: pasek wbudowany w dolną krawędź menu + znaczek ze zwężającym się pierścieniem */
.sections--read { border-bottom-color: #4a1a1e; }
.sections--read::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; pointer-events: none;
  background: linear-gradient(90deg, var(--red) calc(var(--read, 0) * 1%), transparent calc(var(--read, 0) * 1%));
}
@media print { .sections { position: static; } }

/* ---------- shared bits ---------- */

.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--red);
  font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: .01em;
}
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.kicker--sm { font-size: 12px; }
.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }

.sect-title {
  display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 20px;
}
.sect-title::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta time { display: inline-flex; align-items: center; gap: 14px; }
.meta time::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ui);
  font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.ico-check { width: 15px; height: 15px; flex: none; }
.stamp {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; color: var(--red);
  border: 2px solid var(--red); border-radius: 7px; background: #fff; transform: rotate(-2deg);
  font-size: 13px; font-weight: 600; line-height: 1.2; box-shadow: 2px 2px 0 rgba(190, 30, 38, .18);
}

.avatar {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red);
}
.avatar--lg { width: 72px; height: 72px; font-size: 24px; }
.avatar { overflow: visible; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-link { display: inline-flex; line-height: 0; text-decoration: none; }

/* cover */
.cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--none { background: var(--ink); color: var(--red); display: grid; place-items: center; }
.cover--none svg { height: 46%; width: auto; max-height: 190px; }

/* ---------- home ---------- */

.front { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 40px 0 48px; }
.topstory__media { display: block; }
.topstory__body { padding-top: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.topstory__title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.topstory__title a { text-decoration: none; }
.topstory__title a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.topstory__lead { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: #3a3a40; max-width: 62ch; }
.topstory__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }

.latest { border-left: 1px solid var(--line); padding-left: 36px; }
.dotlist { list-style: none; padding: 0; }
.dotlist li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dotlist li:first-child { padding-top: 0; }
.dotlist li:last-child { border-bottom: 0; }
.dotlist__t { display: block; margin-top: 5px; font-size: 17px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.dotlist__t:hover { color: var(--red); }

.more { padding: 40px 0 72px; border-top: 4px solid var(--ink); }
.more__all { margin-top: 40px; text-align: center; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.card__media { display: block; line-height: 0; margin-bottom: 16px; }
.card__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.card__title { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--red); }
.card__lead {
  font-family: var(--serif); font-size: 16px; line-height: 1.5; color: #4a4a50;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .meta { margin-top: 2px; }

/* ---------- lists / authors ---------- */

.listhead { padding: 48px 0 28px; max-width: 760px; }
.listhead__t { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.listhead__p { margin-top: 12px; font-family: var(--serif); font-size: 20px; color: #4a4a50; }
.grid--list { padding-bottom: 24px; }
.empty-note { font-family: var(--serif); font-size: 20px; color: var(--muted); padding: 24px 0 64px; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 72px; font-weight: 600; }
.pager a { text-decoration: none; padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; font-size: 14px; }
.pager a:hover { background: var(--ink); color: #fff; }
.pager__n { font-size: 14px; color: var(--muted); }

.author { display: flex; gap: 24px; align-items: center; padding: 48px 0 36px; max-width: 760px; }
.author__name { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.author__role { color: var(--red); font-weight: 600; font-size: 14px; margin-top: 6px; }
.author__bio { font-family: var(--serif); font-size: 19px; margin-top: 8px; color: #3a3a40; }

.team { list-style: none; padding: 0 0 72px; display: grid; gap: 0; max-width: 760px; }
.team__item { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.team__item:last-child { border-bottom: 1px solid var(--line); }
.team__name { font-size: 22px; font-weight: 700; }
.team__name a { text-decoration: none; }
.team__name a:hover { color: var(--red); }
.team__role { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 2px; }
.team__bio { font-family: var(--serif); font-size: 17px; margin-top: 6px; color: #4a4a50; }

.empty { padding: 96px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.empty p { font-family: var(--serif); font-size: 20px; color: #4a4a50; }

/* ---------- post ---------- */

.previewbar { background: var(--red); color: #fff; font-size: 14px; font-weight: 500; }
.previewbar .wrap { padding-top: 10px; padding-bottom: 10px; }
.previewbar a { font-weight: 700; margin-left: 8px; }

.post__head { padding-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs a + a::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: middle; }
.post__title { font-size: clamp(32px, 5.2vw, 56px); font-weight: 800; line-height: 1.07; letter-spacing: -.03em; }
.post__lead { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: #3a3a40; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px; width: 100%; padding: 18px 0 0; border-top: 1px solid var(--line); margin-top: 6px; }
.byline__txt { display: flex; flex-direction: column; min-width: 0; margin-left: 4px; }
.byline__name { font-weight: 600; text-decoration: none; font-size: 15px; }
.byline__name:hover { color: var(--red); }
.byline__sub { font-size: 13px; color: var(--muted); }
.byline .stamp { margin-left: auto; }

.post__cover { margin-top: 32px; margin-bottom: 8px; max-width: 980px; }
.post__cover figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }

.article { padding-top: 32px; padding-bottom: 72px; font-family: var(--serif); font-size: 20px; line-height: 1.72; }
.article > * + * { margin-top: 1.3em; }
.article a { color: var(--red); text-underline-offset: 3px; }
.article a:hover { color: var(--red-dark); }
.article strong { font-weight: 700; }
.article h2 { font-family: var(--ui); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-top: 2em; }
.article h3 { font-family: var(--ui); font-size: 22px; font-weight: 600; line-height: 1.25; margin-top: 1.7em; }
.article h2 + *, .article h3 + * { margin-top: .6em; }
mark { background: linear-gradient(transparent 52%, rgba(190, 30, 38, .3) 52%); color: inherit; padding: 0 .08em; }

.blk-quote { position: relative; padding: 8px 0 8px 64px; margin-block: 1.8em; }
.blk-quote::before {
  content: '\201C'; position: absolute; left: 0; top: -14px; font-family: var(--ui); font-weight: 800;
  font-size: 96px; line-height: 1; color: var(--red);
}
.blk-quote p { font-size: 26px; line-height: 1.4; font-style: italic; }
.blk-quote cite { display: block; margin-top: 12px; font-family: var(--ui); font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); }

.blk-list { list-style: none; padding: 0; margin-block: 1.3em; }
.blk-list li { position: relative; padding-left: 38px; margin: .75em 0; }
.blk-list--dots li::before {
  content: ''; position: absolute; left: 9px; top: .62em; width: 11px; height: 11px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(190, 30, 38, .14);
}
.blk-list--numbers { counter-reset: n; }
.blk-list--numbers li { counter-increment: n; }
.blk-list--numbers li::before {
  content: counter(n); position: absolute; left: 0; top: .22em; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-family: var(--ui); font-size: 13px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.blk-list--checks li::before {
  content: ''; position: absolute; left: 0; top: .26em; width: 24px; height: 24px; border-radius: 50%; background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.blk-callout { padding: 20px 24px 22px; border-radius: 4px; font-size: 19px; line-height: 1.55; }
.blk-callout__label { display: block; margin-bottom: 6px; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.blk-callout p { margin: 0; }
.blk-callout--pilne { background: var(--red); color: #fff; }
.blk-callout--fakt { background: var(--ink); color: #fff; }
.blk-callout--fakt .blk-callout__label { color: #ff8a90; }
.blk-callout--sprostowanie { background: #fff; border: 2px dashed var(--ink); }
.blk-callout--komentarz { background: var(--mist); border-left: 5px solid var(--red); border-radius: 0 4px 4px 0; }
.blk-callout a { color: inherit; }

.blk-stat { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line); margin-block: 1.8em; }
.blk-stat__value { font-family: var(--ui); font-weight: 800; font-size: clamp(56px, 11vw, 96px); line-height: 1; letter-spacing: -.04em; color: var(--red); }
.blk-stat__label { font-size: 20px; line-height: 1.4; }

.blk-divider, .article__end { display: flex; justify-content: center; gap: 14px; margin-block: 2.2em; }
.blk-divider i, .article__end i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

.blk-image { margin-block: 2em; }
.blk-image img { width: 100%; border-radius: 2px; }
.blk-image figcaption { font-family: var(--ui); font-size: 13px; color: var(--muted); padding-top: 9px; line-height: 1.4; }
.blk-image--wide { width: min(1040px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); }

.article__disc { font-family: var(--ui); font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; max-width: 52ch; margin-inline: auto; }

.related { padding-top: 40px; padding-bottom: 72px; border-top: 4px solid var(--ink); }

/* ---------- footer ---------- */


/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .front { grid-template-columns: 1fr; gap: 36px; }
  .latest { border-left: 0; padding-left: 0; border-top: 4px solid var(--ink); padding-top: 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .masthead__date { display: none; }
  .masthead__logo img { height: 42px; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .article { font-size: 18.5px; }
  .blk-quote { padding-left: 48px; }
  .blk-quote::before { font-size: 76px; }
  .blk-quote p { font-size: 22px; }
  .byline .stamp { margin-left: 0; }
  .author { flex-direction: column; align-items: flex-start; }
  .blk-image--wide { width: calc(100vw - 36px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }


/* ---------- ticker, ranking, drobne ozdobniki ---------- */


.sect-title--gap { margin-top: 40px; }
.ranklist { list-style: none; padding: 0; counter-reset: r; }
.ranklist li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ranklist li:last-child { border-bottom: 0; }
.rank {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
}
.ranklist li:first-child .rank { background: var(--red); }
.ranklist a { font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; padding-top: 4px; }
.ranklist a:hover { color: var(--red); }

.more {
  background-image: radial-gradient(#dcdce0 1.3px, transparent 1.3px); background-size: 24px 24px; background-position: 0 6px;
  margin-inline: -24px; padding-inline: 24px;
}
.card__media .cover { transition: transform .35s ease; }
.card__media { overflow: hidden; }
.card:hover .card__media .cover { transform: scale(1.04); }
.topstory__media { overflow: hidden; }
.topstory__media .cover { transition: transform .5s ease; }
.topstory:hover .topstory__media .cover { transform: scale(1.02); }
@media (max-width: 640px) { .more { margin-inline: -18px; padding-inline: 18px; } }


/* ================= PASEK NEWSÓW (ciągle przesuwany) ================= */

.crawl { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; position: relative; color: var(--ink); }
.crawl::before, .crawl::after { content: ''; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2; pointer-events: none; }
.crawl::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.crawl::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.crawl__track { display: flex; width: max-content; animation: crawl var(--dur, 40s) linear infinite; will-change: transform; }
.crawl:hover .crawl__track, .crawl:focus-within .crawl__track { animation-play-state: paused; }
.crawl__list { list-style: none; padding: 0; display: flex; align-items: center; justify-content: space-around; flex: none; min-width: 100vw; white-space: nowrap; font-size: 14px; font-weight: 600; }
.crawl__list li { display: flex; align-items: center; padding: 11px 0; }
.crawl__list li::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin: 0 30px; flex: none; }
.crawl__list a { text-decoration: none; }
.crawl__list a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
@keyframes crawl { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .crawl__track { animation: none; overflow-x: auto; width: auto; }
  .crawl__list[aria-hidden] { display: none; }
  .crawl::before, .crawl::after { display: none; }
}

/* ================= STOPKA ================= */

.foot {
  position: relative; overflow: hidden; color: #b9b9bf; border-top: 4px solid var(--red); padding-top: 64px;
  background-color: var(--ink);
  background-image: radial-gradient(ellipse at 8% 120%, rgba(190, 30, 38, .42), transparent 55%), radial-gradient(rgba(255, 255, 255, .06) 1.3px, transparent 1.3px);
  background-size: auto, 24px 24px;
}
.foot__mark { position: absolute; right: -80px; top: -90px; width: 420px; color: var(--red); opacity: .13; transform: rotate(14deg); pointer-events: none; }
.foot__mark svg { width: 100%; height: auto; display: block; }
.foot__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; padding-bottom: 52px; }
.foot__brand img { height: 44px; width: auto; }
.foot__claim { margin-top: 18px; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: #fff; max-width: 18ch; }
.foot__disc { margin-top: 16px; font-size: 13px; line-height: 1.65; max-width: 46ch; }
.foot__disc strong { color: #fff; }
.foot__col h3 { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.foot__col h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.foot__col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot__col li { display: flex; flex-direction: column; }
.foot__col a { color: #d6d6db; text-decoration: none; font-size: 14px; font-weight: 500; width: fit-content; }
.foot__col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot__col small { font-size: 12px; color: #85858c; }
.foot__more { color: #ff7f86 !important; font-weight: 600 !important; }
.foot__facts dl { display: grid; gap: 16px; }
.foot__facts dt { font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.foot__facts div:nth-child(2) dt { color: #ff7f86; }
.foot__facts dd { margin: 4px 0 0; font-size: 13px; color: #a9a9b1; }
.foot__bar { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid #38383c; max-width: var(--wrap); }
.foot__copy { font-size: 13px; color: #85858c; }
.foot__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.foot__pill {
  font: inherit; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid #55555c; background: transparent; color: #e6e6ea;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.foot__pill:hover { background: var(--red); border-color: var(--red); color: #fff; }
.foot__pill--ghost { border-color: transparent; color: #a9a9b1; }
@media (max-width: 980px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .masthead__in { flex-wrap: wrap; }
  .imieniny { max-width: none; }
  .daily__day { font-size: 46px; }
  .masthead__mark { left: 45%; }
}
@media (max-width: 560px) {
  .masthead__logo img { height: 46px; }
  .masthead__in { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .daily__day { font-size: 32px; }
  .daily__txt { font-size: 12px; }
}


/* ================= TRYB MOBILNY ================= */

html { -webkit-tap-highlight-color: rgba(190, 30, 38, .16); }
body { overflow-x: clip; }
a, button, summary, label { touch-action: manipulation; }

/* wcięcia z uwzględnieniem wycięcia ekranu (iPhone w poziomie) */
.wrap { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }

/* efekty „po najechaniu” nie mają sensu na dotyku (zostawałyby „wciśnięte”) */
@media (hover: none) {
  .card:hover .card__media .cover, .topstory:hover .topstory__media .cover { transform: none; }
  .topstory:hover .topstory__title a { text-decoration: none; }
}

/* większe pola do trafienia palcem, bez zmiany wyglądu */
@media (pointer: coarse) {
  .kicker { padding: 10px 0; margin: -10px 0; }
  .kicker--sm { padding: 8px 0; margin: -8px 0; }
  .meta a, .byline__name { padding: 7px 0; margin: -7px 0; }
  .dotlist__t, .ranklist a { padding-block: 6px; }
  .crawl__list a { display: inline-block; padding: 8px 0; }
  .foot__col a { padding: 8px 0; }
  .foot__pill { min-height: 40px; display: inline-flex; align-items: center; padding-inline: 16px; }
  .pager a { padding: 13px 22px; }
  .sections a { padding: 10px 15px; }
  .crumbs a { padding: 8px 0; }
}

/* menu działów: podpowiedź, że można przesuwać w bok */
@media (max-width: 860px) {
  .sections__in { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); padding-right: 30px; }
}

@media (max-width: 640px) {
  .wrap { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }

  /* karty jako zwarte wiersze: miniatura z lewej, tytuł z prawej (krótsza strona, mniej przewijania) */
  .grid, .grid--list { gap: 0; }
  .card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .card__media { margin: 0; border-radius: 8px; }
  .card__media .cover { aspect-ratio: 1 / 1; border-radius: 8px; }
  .card__body { gap: 5px; min-width: 0; }
  .card__title { font-size: 17px; line-height: 1.28; }
  .card__lead { display: none; }
  .card .meta { font-size: 12px; gap: 2px 10px; }
  .card .meta time::before { display: none; }
  .more .card { background: #fff; padding: 12px; margin-bottom: 10px; border: 0; border-radius: 12px; }
  .more .card:last-child { margin-bottom: 0; }
  .more { padding-top: 28px; padding-bottom: 48px; }
  .more__all { margin-top: 24px; }

  .front { padding: 22px 0 32px; gap: 28px; }
  .topstory__body { padding-top: 18px; gap: 10px; }
  .topstory__title { font-size: clamp(27px, 8vw, 36px); }
  .topstory__lead { font-size: 18px; }
  .listhead { padding: 28px 0 14px; }
  .sect-title { font-size: 18px; margin-bottom: 14px; }

  /* artykuł */
  .post__head { padding-top: 26px; gap: 12px; }
  .post__title { font-size: clamp(28px, 8.4vw, 38px); }
  .post__lead { font-size: 19px; }
  .post__cover { margin-top: 20px; }
  .article { padding-top: 22px; padding-bottom: 44px; font-size: 18px; line-height: 1.68; overflow-wrap: anywhere; }
  .article h2 { font-size: 23px; }
  .article h3 { font-size: 19px; }
  .blk-callout { padding: 16px 18px 18px; font-size: 17px; }
  .blk-stat__value { font-size: clamp(44px, 15vw, 64px); overflow-wrap: normal; }
  .related { padding-top: 26px; padding-bottom: 40px; }

  /* stopka: działy jako „pigułki”, liczby w jednym rzędzie */
  .foot { padding-top: 40px; }
  .foot__mark { width: 300px; right: -90px; top: -60px; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .foot__claim { font-size: 20px; max-width: none; }
  .foot__cats ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .foot__cats a { padding: 9px 15px; border: 1px solid #4a4a50; border-radius: 999px; font-size: 13px; }
  .foot__cats a:hover { border-color: var(--red); }
  .foot__facts dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .foot__facts dt { font-size: 28px; }
  .foot__facts dd { font-size: 11.5px; line-height: 1.35; }
  .foot__bar { flex-direction: column; align-items: flex-start; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .foot__actions { width: 100%; }
}

@media (max-width: 380px) {
  .card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .daily__day { font-size: 30px; }
  .masthead__logo img { height: 42px; }
}

/* ================= NOWOŚCI: strona główna, komentarze, osadzenia, wsparcie, przerwa ================= */

/* menu: przycisk wsparcia */
.sections a.nav-support { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--red); color: #ff9aa0; font-weight: 600; margin-left: 6px; }
.sections a.nav-support svg { width: 14px; height: 14px; color: var(--red); transition: color .15s; }
.sections a.nav-support:hover { background: var(--red); color: #fff; }
.sections a.nav-support:hover svg, .sections a.nav-support[aria-current] svg { color: #fff; }

/* strona główna */
.featured { padding: 8px 0 44px; }
.catblock { padding: 36px 0 40px; border-top: 4px solid var(--ink); }
.catblock__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.catblock__t { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.catblock__t::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--red); flex: none; }
.catblock__t a { text-decoration: none; }
.catblock__t a:hover { color: var(--red); }
.catblock__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.catblock__side { display: grid; gap: 0; }
.card--l .card__title { font-size: 28px; line-height: 1.18; letter-spacing: -.02em; }
.card--l .card__lead { font-size: 17px; }
.card--s { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; align-items: start; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.card--s:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.card--s .card__media { margin: 0; border-radius: 8px; }
.card--s .cover { aspect-ratio: 4 / 3; border-radius: 8px; }
.card--s .card__title { font-size: 17px; line-height: 1.28; }
.card--s .card__lead { display: none; }
.card--s .card__body { gap: 5px; }
.feed { padding: 36px 0 72px; border-top: 4px solid var(--ink); }
.feed__foot { text-align: center; margin-top: 40px; min-height: 56px; }
.feed__end { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.rank__body { display: flex; flex-direction: column; min-width: 0; }
.rank__body small { font-size: 12px; color: var(--muted); }

/* artykuł: statystyki w nagłówku, odstęp przed „Więcej od…” */
.byline__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.byline__stats i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.byline__stats a { color: var(--muted); text-underline-offset: 3px; }
.byline__stats a:hover { color: var(--red); }
.article { margin-bottom: 8px; }
.related { margin-top: 24px; }

/* film w artykule */
.blk-video { margin-block: 2em; }
.blk-video video { display: block; width: 100%; max-height: 72vh; background: #000; border-radius: 6px; }
.blk-video figcaption { font-family: var(--ui); font-size: 13px; color: var(--muted); padding-top: 9px; line-height: 1.4; }

/* osadzenia (YouTube, X, Instagram, TikTok, Vimeo, Spotify) */
.blk-embed { margin-block: 2em; max-width: var(--mw, 100%); margin-inline: auto; }
.blk-embed iframe, .embed__btn { display: block; width: 100%; aspect-ratio: var(--ratio, auto); height: var(--h, auto); border: 0; border-radius: 8px; }
.embed__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; cursor: pointer; color: #fff;
  font-family: var(--ui); background-color: var(--ink); background-image: radial-gradient(rgba(255, 255, 255, .08) 1.3px, transparent 1.3px); background-size: 22px 22px;
  border: 0; transition: background-color .2s;
}
.embed__btn:hover { background-color: #2a2a2e; }
.embed__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(190, 30, 38, .8); transition: transform .2s; }
.embed__btn:hover .embed__icon { transform: scale(1.08); }
.embed__icon svg { width: 28px; height: 28px; margin-left: 3px; }
.embed__btn strong { font-size: 17px; }
.embed__btn small { font-size: 12.5px; color: #b4b4bb; max-width: 36ch; line-height: 1.45; }
.blk-embed figcaption { font-family: var(--ui); font-size: 13px; color: var(--muted); padding-top: 9px; }
.blk-embed figcaption a { color: var(--red); }

/* komentarze */
.comments { padding-top: 12px; padding-bottom: 40px; }
.comments__count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; margin-left: 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; }
.comments__off, .comments__empty { font-family: var(--serif); font-size: 17px; color: var(--muted); padding: 8px 0 24px; }
.cform { display: grid; gap: 14px; padding: 22px; margin-bottom: 28px; background: var(--mist); border-radius: 14px; border-left: 5px solid var(--red); }
.cform__f { display: grid; gap: 6px; }
.cform__f span { font-size: 13px; font-weight: 600; }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
.cform textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(190, 30, 38, .16); }
.cform .cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__row { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; }
.cform__hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; max-width: 52ch; }
.cform__msg { font-size: 14px; font-weight: 600; color: #1d7a45; }
.cform__msg.is-bad { color: var(--red); }
.clist { list-style: none; padding: 0; display: grid; gap: 0; }
.cmt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); animation: cmt-in .35s ease-out; }
@keyframes cmt-in { from { opacity: 0; transform: translateY(-6px); } }
.cmt__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--h, 0) 55% 36%); color: #fff; font-weight: 700; font-size: 17px; text-transform: uppercase; }
.cmt__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cmt__nick { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.cmt__head time { font-size: 12.5px; color: var(--muted); }
.cmt__body { margin-top: 4px; font-family: var(--serif); font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.cmt__heart { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 6px 12px 6px 10px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: color .15s, border-color .15s, background .15s, transform .15s; }
.cmt__heart svg { width: 16px; height: 16px; }
.cmt__heart:hover { color: var(--red); border-color: var(--red); }
.cmt__heart.is-on { color: #fff; background: var(--red); border-color: var(--red); }
.cmt__heart.is-on svg { animation: beat .35s ease-out; }
@keyframes beat { 40% { transform: scale(1.35); } }
.cmt__heart:active { transform: scale(.94); }
.comments__more { text-align: center; padding-top: 12px; }

/* strona wsparcia */
.support { text-align: center; padding-top: 64px; padding-bottom: 80px; display: grid; justify-items: center; gap: 22px; }
.support__heart { width: 92px; height: 92px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(190, 30, 38, .14), 0 18px 40px -16px rgba(190, 30, 38, .8); animation: beat 2.4s ease-in-out infinite; }
.support__heart svg { width: 44px; height: 44px; }
.support__t { font-size: clamp(34px, 6vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.support__text { font-family: var(--serif); font-size: 20px; line-height: 1.65; color: #3a3a40; max-width: 56ch; display: grid; gap: 14px; }
.support__text p { margin: 0; }
.btn--xl { padding: 17px 34px; font-size: 17px; }
.support__fine { font-size: 12.5px; color: var(--muted); max-width: 50ch; }

/* strona techniczna */
body.maint { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; text-align: center; color: #fff; overflow: hidden; position: relative;
  background-color: var(--ink); background-image: radial-gradient(ellipse at 15% 110%, rgba(190, 30, 38, .5), transparent 55%), radial-gradient(rgba(255, 255, 255, .07) 1.3px, transparent 1.3px); background-size: auto, 24px 24px; }
.maint__mark { position: fixed; right: -8vw; bottom: -14vh; width: min(560px, 80vw); color: var(--red); opacity: .16; transform: rotate(12deg); pointer-events: none; }
.maint__mark svg { width: 100%; height: auto; display: block; }
.maint__box { position: relative; display: grid; justify-items: center; gap: 22px; max-width: 580px; }
.maint__logo { height: 54px; width: auto; }
.maint h1 { font-size: clamp(34px, 7vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.maint__text { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: #d4d4da; display: grid; gap: 12px; }
.maint__text p { margin: 0; }
.maint__small { font-size: 13px; color: #85858c; }

/* pasek dla zalogowanych i podgląd */
.staffbar { background: var(--red); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 9px 18px; line-height: 1.4; position: relative; z-index: 70; }
.staffbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.previewbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.previewbar__acts { display: flex; gap: 18px; }
.previewbar__acts a { margin-left: 0; }

/* stopka: wsparcie i media społecznościowe */
.foot__links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; }
.foot__support { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s; }
.foot__support svg { width: 15px; height: 15px; }
.foot__support:hover { background: var(--red-dark); }
.foot__social { display: inline-flex; gap: 8px; }
.foot__soc { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #55555c; display: grid; place-items: center; color: #e6e6ea; transition: background .15s, border-color .15s; }
.foot__soc svg { width: 19px; height: 19px; }
.foot__soc:hover { background: var(--red); border-color: var(--red); color: #fff; }

@media (max-width: 900px) {
  .catblock__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .catblock { padding: 26px 0 28px; }
  .catblock__t { font-size: 23px; }
  .card--l .card__title { font-size: 17px; line-height: 1.28; letter-spacing: 0; }
  .card--l .card__lead { display: none; }
  .card--s { grid-template-columns: 112px minmax(0, 1fr); }
  .feed { padding: 26px 0 48px; }
  .support { padding-top: 40px; padding-bottom: 56px; }
  .support__text { font-size: 18px; }
  .cform { padding: 16px; }
  .cmt { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .cmt__av { width: 38px; height: 38px; font-size: 15px; }
  .article { margin-bottom: 20px; }
  .related { margin-top: 28px; }
  .comments { padding-bottom: 24px; }
}


/* lista wspierających na stronie „Wesprzyj nas” */
.thanks { padding-top: 8px; padding-bottom: 72px; }
.thanks .sect-title { justify-content: center; }
.thanks__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.thanks__i { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; background: var(--mist); border-radius: 12px; border-left: 4px solid var(--red); }
.thanks__heart { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.thanks__heart svg { width: 16px; height: 16px; }
.thanks__top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.thanks__n { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.thanks__a { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.thanks__d { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.thanks__note { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.45; color: #3a3a40; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .thanks { padding-bottom: 48px; }
  .thanks__list { grid-template-columns: 1fr; }
}
.sections a.nav-support[aria-current] { color: #fff; }

/* ================= WiaryPoint (przycisk w nagłówku) i święta ================= */

.imieniny--swieto { font-style: normal; font-weight: 600; color: #fff; }
.imieniny--swieto small { color: #ff8a90; }

.wpoint {
  position: relative; flex: none; display: grid; grid-template-columns: auto auto; align-items: center; gap: 6px 14px;
  padding: 12px 16px 12px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  background: rgba(255, 255, 255, .04); color: #d9d9de; text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.wpoint__logo { grid-column: 1; height: 30px; width: auto; display: block; }
.wpoint__claim { grid-column: 1; max-width: 178px; font-size: 12.5px; line-height: 1.35; color: #c9c9cf; }
.wpoint__claim em { font-style: normal; font-weight: 700; color: #ff5c63; }
.wpoint__go {
  grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 600; transition: background .15s;
}
.wpoint__go svg { width: 13px; height: 13px; }
.wpoint:hover { border-color: var(--red); background: rgba(190, 30, 38, .16); transform: translateY(-1px); }
.wpoint:hover .wpoint__go { background: var(--red-dark); }
.wpoint:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-color: var(--red); }
@media (prefers-reduced-motion: reduce) { .wpoint, .wpoint:hover { transform: none; } }

@media (max-width: 1180px) {
  .masthead__in { flex-wrap: wrap; }
  .wpoint { margin-left: auto; }
}
@media (max-width: 860px) {
  .wpoint { margin-left: 0; }
}
@media (max-width: 560px) {
  .wpoint { align-self: stretch; grid-template-columns: minmax(0, 1fr) auto; padding: 11px 12px 11px 14px; }
  .wpoint__logo { height: 26px; }
  .wpoint__claim { max-width: none; }
}
