/* ==========================================================================
   Gazeta Zani – stili publik
   ========================================================================== */
:root {
  --red: #e30613;
  --red-dark: #b8000d;
  --ink: #0e1116;
  --ink-2: #2b313b;
  --muted: #687080;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 8px 24px -12px rgba(14, 17, 22, .18);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1240px;
  --f-head: "Archivo", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --ink: #f1f3f6;
  --ink-2: #cfd4dc;
  --muted: #8e96a4;
  --line: #262b34;
  --bg: #0c0f14;
  --bg-soft: #141820;
  --card: #141820;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background .25s, color .25s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0; letter-spacing: .003em; word-spacing: .04em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; padding-bottom: 60px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.ico { flex: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 60%, transparent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9ced6; font-size: 13px; }
[data-theme="dark"] .topbar { background: #05070a; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.today { text-transform: capitalize; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a:hover { color: #fff; }
.topbar-links .soc { display: inline-flex; }

/* ---------- Masthead ---------- */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 18px; min-height: 86px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); }
.logo-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--red); color: #fff; font-weight: 900; font-size: 28px; line-height: 1;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); transform: skewX(-6deg);
}
.logo-text { font-size: 30px; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.logo-text b { color: var(--red); font-weight: 900; }
.tagline { color: var(--muted); font-size: 14px; padding-left: 18px; border-left: 2px solid var(--line); font-style: italic; }
.masthead-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-inline { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 16px; transition: border-color .2s, box-shadow .2s; }
.search-inline:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent); }
.search-inline input { border: 0; background: none; outline: none; width: 220px; height: 40px; font: inherit; font-size: 14px; color: var(--ink); }
.search-inline button { border: 0; background: none; display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn:active { transform: scale(.94); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
.menu-btn { display: none; }

/* ---------- Main navigation ---------- */
.mainnav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.mainnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mainnav-in::-webkit-scrollbar { display: none; }
.mainnav a {
  position: relative; white-space: nowrap; padding: 15px 14px; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); transition: color .2s;
}
.mainnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c, var(--red)); transform: scaleX(0); transition: transform .25s; }
.mainnav a:hover, .mainnav a.active { color: var(--ink); }
.mainnav a:hover::after, .mainnav a.active::after { transform: scaleX(1); }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; } /* always red, light and dark mode */
.ticker-in { display: flex; align-items: center; height: 44px; gap: 14px; }
.ticker-label {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  background: #fff; color: var(--red); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 10px; border-radius: 6px;
}
.ticker.is-breaking .ticker-label .ico { animation: pulse 1.2s infinite; }
.ticker-track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 44px; width: max-content; animation: ticker 60s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move a { white-space: nowrap; font-weight: 600; font-size: 14px; }
.ticker-move a:hover { text-decoration: underline; }
.ticker-move time { opacity: .7; font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Drawer (mobile menu) ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(5, 7, 10, .55); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer-panel { width: min(340px, 88vw); height: 100%; overflow-y: auto; background: var(--bg); padding: 18px; display: flex; flex-direction: column; animation: slideIn .25s ease-out; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head .logo-text { font-size: 22px; }
.drawer-head .logo-mark { width: 38px; height: 38px; font-size: 22px; }
.drawer-panel > a { display: flex; align-items: center; gap: 10px; padding: 12px 6px; font-weight: 700; border-bottom: 1px solid var(--line); }
.drawer-panel > a i { width: 8px; height: 8px; border-radius: 50%; }
.drawer-panel > a.active { color: var(--red); }
.drawer-panel > a.active::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.drawer-panel hr { border: 0; margin: 10px 0; }
.drawer-search { display: flex; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.drawer-search input { flex: 1; border: 0; padding: 12px; background: var(--bg-soft); color: var(--ink); font: inherit; outline: none; }
.drawer-search button { border: 0; background: var(--red); color: #fff; width: 48px; display: grid; place-items: center; }
@keyframes slideIn { from { transform: translateX(-100%); } }

/* ---------- Section titles, badges ---------- */
.section { margin: 44px auto; }
.sec-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  border-bottom: 2px solid var(--ink); margin-bottom: 22px;
}
.sec-title span { position: relative; padding: 0 0 10px; }
.sec-title span::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--c, var(--red)); margin-right: 10px; transform: skewX(-12deg); vertical-align: 2px; }
.sec-title .more { font-family: var(--f-body); font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; padding-bottom: 8px; }
.sec-title .more:hover { color: var(--c, var(--red)); }
.badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c, var(--red)); margin-bottom: 8px;
}
.badge-solid { background: var(--c, var(--red)); color: #fff; padding: 4px 9px; border-radius: 5px; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); aspect-ratio: 16 / 10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.05); }
.card-title { font-size: 20px; font-weight: 800; line-height: 1.22; }
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.card:hover .card-title a { background-size: 100% 2px; }
.card-excerpt { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.card-meta { margin-top: 8px; font-size: 12.5px; color: var(--muted); font-weight: 500; }

.card-horizontal { flex-direction: row; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.card-horizontal .card-img { width: 38%; max-width: 260px; flex: none; aspect-ratio: 3 / 2; border-radius: 10px; }
.card-horizontal .card-title { font-size: 18px; }
.card-compact { padding: 14px 0; border-top: 1px solid var(--line); }
.card-compact .card-title { font-size: 15.5px; font-weight: 700; }
.card-compact .card-meta { margin-top: 4px; }
.list > .card:first-child { border-top: 0; padding-top: 0; }

.card-overlay, .card-hero { border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.card-overlay .card-img, .card-hero .card-img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0; }
.card-overlay::after, .card-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .9) 100%); }
.card-overlay .card-body, .card-hero .card-body { position: relative; z-index: 1; margin-top: auto; padding: 22px; }
.card-overlay .card-meta, .card-hero .card-meta, .card-hero .card-excerpt { color: rgba(255, 255, 255, .8); }
.card-overlay { min-height: 230px; }
.card-overlay .card-title { font-size: 18px; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.card-hero { min-height: 520px; height: 100%; }
.card-hero .card-body { padding: 34px; }
.card-hero .card-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; line-height: 1.08; letter-spacing: -.005em; max-width: 22ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.card-hero .card-excerpt { font-size: 17px; max-width: 60ch; }
.card-overlay .card-title a, .card-hero .card-title a { background-image: linear-gradient(#fff, #fff); }
.card-hero .card-title a::before, .card-overlay .card-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Layout grids ---------- */
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; margin-top: 24px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero-side .card-overlay { min-height: 0; }
.hero-side .card-overlay .card-title { font-size: 16px; }
.hero-side .card-overlay .card-body { padding: 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.layout > .content { min-width: 0; }
.grid { display: grid; gap: 28px 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 .card-title, .grid-4 .card-title { font-size: 17px; }
.grid + .list { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 4px; }
.grid + .list > .card:first-child { padding-top: 18px; border-top: 0; }
.cat-block-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.cat-block-grid .card-default .card-title { font-size: 26px; }
.cat-block-alt { background: var(--bg-soft); border-radius: 20px; padding: 32px; max-width: calc(var(--wrap) - 40px); }
.cat-block .sec-title { border-color: var(--c); }

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-col { display: flex; flex-direction: column; gap: 32px; }
.layout .sidebar { margin-top: 44px; }
.article-layout .sidebar { margin-top: 0; }
.popular { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.popular li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.popular li:first-child { border-top: 0; padding-top: 0; }
.popular .num { font-family: var(--f-head); font-weight: 900; font-size: 34px; line-height: .9; color: var(--red); min-width: 30px; font-variant-numeric: tabular-nums; }
.popular a { font-weight: 700; line-height: 1.3; display: block; }
.popular a:hover { color: var(--red); }
.popular small { color: var(--muted); font-size: 12px; }
.follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.follow-grid a { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 14px; transition: filter .2s, transform .2s; }
.follow-grid a:hover { filter: brightness(1.1); transform: translateY(-1px); }
.follow-facebook { background: #1877f2; } .follow-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.follow-x { background: #111; } .follow-youtube { background: #ff0000; } .follow-tiktok { background: #000; }
.widget-cta { background: linear-gradient(135deg, var(--red), #8a0010); color: #fff; padding: 24px; border-radius: var(--radius); }
.widget-cta strong { font-family: var(--f-head); font-size: 22px; display: block; }
.widget-cta p { margin: 6px 0 16px; opacity: .9; font-size: 15px; }
.widget-cta .btn { background: #fff; color: var(--red); }
.sticky-widget { position: sticky; top: 80px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; transition: background .2s, transform .15s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: scale(.97); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
.pill:hover { background: var(--bg-soft); border-color: var(--ink-2); }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 60; transition: width .1s linear; }
.article-layout { margin-top: 32px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }
.article-title { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; line-height: 1.08; letter-spacing: -.01em; margin: 12px 0 16px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 22px; font-family: var(--f-serif); }
.article-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: 12px; }
.author strong { display: block; font-size: 15px; }
.author time { font-size: 13px; color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-family: var(--f-head); }
.meta-stats { display: flex; gap: 16px; color: var(--muted); font-size: 13.5px; }
.meta-stats span { display: inline-flex; align-items: center; gap: 5px; }
.article-figure { margin: 26px 0 0; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--red); }
.article-wrap { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 28px; margin-top: 30px; }
.share-sticky { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.share-sticky a, .share-sticky button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); transition: all .2s; }
.share-sticky a:hover, .share-sticky button:hover { color: #fff; border-color: transparent; }
.sh-fb:hover { background: #1877f2 !important; } .sh-x:hover { background: #111 !important; } .sh-wa:hover { background: #25d366 !important; } .sh-copy:hover { background: var(--red) !important; }
.share-bar .sh-fb:hover, .share-bar .sh-wa:hover { color: #fff; border-color: transparent; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 0; padding: 20px; background: var(--bg-soft); border-radius: var(--radius); }
.share-bar strong { margin-right: 6px; }

.prose { font-family: var(--f-serif); font-size: 19.5px; line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose > p:first-of-type::first-letter { float: left; font-family: var(--f-head); font-weight: 900; font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--red); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.6em 0 .6em; }
.prose h2 { font-size: 28px; } .prose h3 { font-size: 23px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--red); font-size: 1.15em; font-style: italic; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-family: var(--f-body); font-size: 13px; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-family: var(--f-body); font-size: 15px; line-height: 1.5; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.prose tr:nth-child(even) td { background: color-mix(in srgb, var(--bg-soft) 50%, transparent); }
.prose caption { caption-side: bottom; font-size: 13px; color: var(--muted); padding-top: 8px; text-align: left; }


/* ---------- Article blocks: photo, gallery, lightbox ---------- */
.prose .gz-img { margin: 1.8em 0; }
.prose .gz-img img { width: 100%; margin: 0; border-radius: var(--radius-sm); cursor: zoom-in; }
.prose .gz-img--border img { border: 1px solid var(--line); padding: 6px; background: var(--bg); }
.prose .gz-img--bg { background: var(--bg-soft); padding: 18px; border-radius: var(--radius); }
.prose .gz-img--bg img { max-width: 70%; margin: 0 auto; }
@media (min-width: 1000px) { .prose .gz-img--wide { margin-left: -60px; margin-right: -24px; } }
.prose figure figcaption { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--red); font-size: 13.5px; line-height: 1.5; }
.prose .gz-gallery { margin: 1.8em 0; }
.gz-gallery-grid { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-sm); overflow: hidden; }
.gz-gallery--1 .gz-gallery-grid { grid-template-columns: 1fr; }
.gz-gallery--2 .gz-gallery-grid { grid-template-columns: 1fr 1fr; }
.gz-gallery--4 .gz-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gz-gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); cursor: zoom-in; text-decoration: none !important; }
.gz-gallery-item img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.gz-gallery-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gz-gallery-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .65); color: #fff; font: 700 12px/1 var(--f-body); padding: 6px 9px; border-radius: 999px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 7, 10, .94); display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .2s ease-out; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: rgba(255, 255, 255, .8); font: 600 14px var(--f-body); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 64px; position: relative; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-cap { padding: 14px 20px 22px; text-align: center; color: rgba(255, 255, 255, .85); font-size: 14px; min-height: 52px; }
.lb-btn { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; transition: background .2s; }
.lb-btn:hover { background: var(--red); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@keyframes lbIn { from { opacity: 0; } }
@media (max-width: 640px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -56px; transform: none; } .gz-gallery-grid { grid-template-columns: 1fr 1fr; } .gz-gallery--4 .gz-gallery-item:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Page heads, pagination, misc ---------- */
.page-head { background: var(--bg-soft); border-bottom: 4px solid var(--c, var(--red)); padding: 44px 0 34px; }
.page-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--red)); }
.page-head h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -.03em; margin: 6px 0 4px; }
.page-head p { color: var(--muted); margin: 4px 0 0; }
.cat-lead { margin: 44px 0 34px; }
.cat-lead .card-hero { min-height: 440px; }
.search-big { display: flex; gap: 10px; max-width: 620px; margin: 18px 0 8px; }
.search-big input { flex: 1; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.search-big input:focus { border-color: var(--red); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 40px 0 10px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.empty, .empty-state { color: var(--muted); padding: 40px 0; }
.empty-state { text-align: center; padding: 100px 20px; }
.empty-state h1 { font-size: 36px; color: var(--ink); margin-bottom: 10px; }
.empty-state a, .empty a { color: var(--red); text-decoration: underline; }
.notfound { text-align: center; padding: 70px 20px 20px; }
.nf-code { font-family: var(--f-head); font-weight: 900; font-size: clamp(90px, 18vw, 180px); line-height: 1; color: var(--red); letter-spacing: -.05em; }
.notfound h1 { font-size: 34px; }
.notfound p { color: var(--muted); }
.notfound .search-big { margin: 24px auto; }
.notfound a { color: var(--red); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 99; animation: fadeUp .25s; }
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Footer ---------- */
.footer { background: #0a0c10; color: #aab1bd; margin-top: 70px; padding-top: 56px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo-text { color: #fff; }
.footer p { max-width: 38ch; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols { grid-template-columns: 1fr 1fr; }
.footer a:hover { color: #fff; }
.footer-soc { display: flex; gap: 8px; margin-top: 18px; }
.footer-soc a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #1a1e26; color: #fff; transition: background .2s; }
.footer-soc a:hover { background: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #1e232c; padding: 20px; font-size: 13px; }


/* ---------- Reklamo biznesin tuaj ---------- */
.ad-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fff; color: var(--red-dark); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .4); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.ad-banner { margin: 52px auto; }
.ad-banner-in {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 22px; color: #fff;
  background: linear-gradient(120deg, #0e1116 0%, #1b0205 45%, var(--red) 130%);
}
.ad-banner-in::before, .ad-banner-in::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.ad-banner-in::before { width: 420px; height: 420px; right: -80px; top: -200px; background: radial-gradient(circle, rgba(227, 6, 19, .55), transparent 70%); }
.ad-banner-in::after { width: 260px; height: 260px; right: 220px; bottom: -170px; border: 40px solid rgba(255, 255, 255, .05); }
.ad-banner .ad-kicker { color: #ff6b74; }
.ad-banner h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin: 8px 0 10px; }
.ad-banner p { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, .78); font-size: 17px; }
.ad-banner-text { flex: 1 1 420px; }
.ad-banner-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ad-banner-cta small { color: rgba(255, 255, 255, .6); }
.widget-ad { background: #0e1116; color: #fff; padding: 24px; border-radius: var(--radius); position: relative; overflow: hidden; }
[data-theme="dark"] .widget-ad { background: #1a1f29; }
.widget-ad::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 6, 19, .6), transparent 70%); }
.widget-ad .ad-kicker { color: #ff6b74; }
.widget-ad strong { display: block; font-family: var(--f-head); font-size: 23px; line-height: 1.15; margin: 8px 0 6px; }
.widget-ad p { margin: 0 0 16px; color: rgba(255, 255, 255, .75); font-size: 15px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; margin-top: 40px; }
.contact-intro { margin-bottom: 26px; font-size: 18px; }
.contact-intro > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.contact-form .opt { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  color: var(--ink); font: inherit; font-weight: 400; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); background: var(--bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 12%, transparent); }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form .has-error input, .contact-form .has-error textarea { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: 13px; font-weight: 600; }
.form-alert { background: #fee2e2; color: #7f1d1d; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topics legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; padding: 0; }
.topic { cursor: pointer; display: block !important; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; transition: all .2s; }
.topic input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.topic input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--red) 50%, transparent); outline-offset: 2px; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { text-align: center; padding: 50px 24px; background: var(--bg-soft); border-radius: 20px; }
.contact-success h2 { font-size: 30px; margin: 16px 0 8px; }
.contact-success p { color: var(--muted); margin: 0 0 24px; }
.cs-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; font-size: 36px; font-weight: 900; animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.contact-side { display: grid; gap: 12px; }
.ad-card { background: linear-gradient(150deg, #0e1116, #2a0307 70%, var(--red) 140%); color: #fff; padding: 28px; border-radius: 18px; margin-bottom: 6px; }
.ad-card .ad-kicker { color: #ff6b74; }
.ad-card strong { display: block; font-family: var(--f-head); font-size: 26px; line-height: 1.15; margin: 8px 0; }
.ad-card p { color: rgba(255, 255, 255, .78); margin: 0 0 14px; }
.ad-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ad-card li::before { content: "✓"; color: #ff6b74; font-weight: 900; margin-right: 8px; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; transition: border-color .2s, color .2s; }
.contact-line:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ad-banner-in { padding: 32px 26px; }
  .ad-banner-cta { align-items: flex-start; }
}
@media (max-width: 640px) {
  .f-row { grid-template-columns: 1fr; }
  .ad-banner { padding: 0; }
  .ad-banner-in { border-radius: 0; }
}


/* ---------- Ad positions (banners) ---------- */
.gz-slot { position: relative; text-align: center; }
.gz-slot-label { display: block; font: 600 10px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.gz-slot a, .gz-slot picture { display: inline-block; max-width: 100%; }
.gz-slot img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }
.gz-slot--header { margin-top: 18px; margin-bottom: 2px; }
.gz-slot--home { margin: 44px auto; }
.gz-slot--sidebar img { width: 100%; }
.gz-slot--category { margin: 28px 0 0; }
.gz-slot--article_end { margin: 32px 0 0; }
.prose .gz-slot { margin: 1.8em 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose .gz-slot img { margin: 0 auto; border-radius: 6px; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tagline { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .card-hero { min-height: 420px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout .sidebar { margin-top: 0; }
  .sticky-widget { position: static; }
  .cat-block-grid { grid-template-columns: 1fr; gap: 10px; }
  .search-inline { display: none; }
  .menu-btn { display: grid; }
  .masthead-in { min-height: 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .topbar-links a:not(.soc) { display: none; }
  .logo-text { font-size: 22px; }
  .logo-mark { width: 38px; height: 38px; font-size: 22px; border-radius: 10px; }
  .masthead-in { gap: 10px; }
  .hero-grid { margin-top: 16px; gap: 12px; }
  .hero-side { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; }
  .hero-side .card-overlay { min-height: 200px; }
  .card-hero { min-height: 380px; }
  .card-hero .card-body { padding: 20px; }
  .card-hero .card-excerpt { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card-horizontal .card-img { width: 36%; }
  .card-horizontal .card-title { font-size: 16px; }
  .cat-block-alt { padding: 22px 16px; border-radius: 0; margin-left: 0; margin-right: 0; }
  .article-wrap { grid-template-columns: 1fr; }
  .share-sticky { display: none; }
  .prose { font-size: 18px; }
  .lead { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .ticker-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-move { animation: none; }
  .ticker-track { overflow-x: auto; }
}
@media print {
  .topbar, .mainnav, .ticker, .sidebar-col, .share-sticky, .share-bar, .footer, .related, .masthead-tools { display: none !important; }
  .layout { display: block; }
}

.footer-bottom { align-items: center; }
.powered a { color: #fff; font-weight: 700; }
.powered a:hover { color: var(--red); }

/* Mobile: categories live in the ☰ drawer, so hide the category bar and keep the header sticky */
@media (max-width: 900px) {
  .mainnav { display: none; }
  .masthead { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
  .masthead-in { min-height: 64px; }
}
