/* nsłowo — style główne (1:1 z makietą) */

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Focus ring dostępny */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   UTILITY BAR
   ========================================================= */
.util {
  background: var(--surface-deep);
  color: #cfc8bd;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.util .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 34px;
}
.util .date { text-transform: capitalize; }
.util .wx   { display: flex; align-items: center; gap: 6px; }
.util .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.util a:hover { color: #fff; }
.util .pill {
  border: 1px solid #3a352e;
  border-radius: 999px;
  padding: 3px 11px;
}

/* =========================================================
   MASTHEAD
   ========================================================= */
.mast {
  background: var(--surface);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  z-index: 90;
}
.mast .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}
.logo {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -.02em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo .syg { width: 30px; height: auto; flex: none; }
.logo .dot  { color: var(--brand); }
.logo small {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-left: 8px;
  align-self: center;
}
.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 8px 14px;
  width: 280px;
  color: var(--muted);
}
.search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  outline: 0;
}
.mast .actions { display: flex; align-items: center; gap: 10px; }

.btn {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--hair-strong);
  background: transparent;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  color: var(--ink);
}
.btn:hover { border-color: var(--ink); }
.btn-pri {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-pri:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.burger {
  display: none;
  font-size: 26px;
  background: 0;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
}

/* =========================================================
   PRIMARY NAV
   ========================================================= */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 72px;
  z-index: 80;
}
.nav .wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  padding: 13px 16px;
  white-space: nowrap;
  position: relative;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--brand); }
.nav a[data-sec]:hover { border-bottom-color: currentColor; }
.nav a.poradniki { color: var(--c-porad); }
.nav a.current-menu-item,
.nav a.current-cat { border-bottom-color: currentColor; }

.nav a.live {
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

/* =========================================================
   PILNE TICKER
   ========================================================= */
.ticker {
  background: var(--brand);
  color: #fff;
  overflow: hidden;
}
.ticker .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
}
.ticker .lbl {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(0,0,0,.18);
  padding: 4px 10px;
  border-radius: 4px;
  flex: none;
}
.ticker .roll {
  overflow: hidden;
  flex: 1;
  position: relative;
  height: 24px;
}
.ticker .roll ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  animation: roll 12s infinite;
}
.ticker .roll li {
  height: 24px;
  line-height: 24px;
  font-size: 14.5px;
  font-weight: 500;
}
.ticker .roll a { color: #fff; }
.ticker .roll a:hover { text-decoration: underline; }

@keyframes roll {
  0%,  28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-24px); }
  66%, 94% { transform: translateY(-48px); }
  100%     { transform: translateY(-72px); }
}

/* =========================================================
   KICKER / META / BADGES
   ========================================================= */
.kicker {
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.k-wiad   { color: var(--brand); }
.k-swiat  { color: var(--c-swiat); }
.k-biznes { color: var(--c-biznes); }
.k-tech   { color: var(--c-tech); }
.k-porad  { color: var(--c-porad); }
.k-life   { color: var(--c-life); }
.k-sport  { color: var(--c-sport); }

.meta {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
}
.b-porad { background: rgba(14, 116, 104, .12); color: var(--c-porad); }
.b-prem  { background: var(--surface-deep); color: #F7C948; }
.b-live  { background: var(--brand); color: #fff; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--gap);
  padding: 30px 0;
}
.lead { position: relative; }
.lead .ph {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd6c9;
}
.lead .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 16px 0 10px;
}
.lead h1 a:hover { color: var(--brand); }
.lead .deck {
  font-size: 18px;
  color: #33302a;
  line-height: 1.5;
  margin: 0 0 12px;
  max-width: 46ch;
}

.aside-leads {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mini {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}
.mini:last-child { border-bottom: 0; }
.mini .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd6c9;
}
.mini h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 6px 0;
}
.mini h3 a:hover { color: var(--brand); }

/* =========================================================
   SECTION HEADS
   ========================================================= */
.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 48px 0 20px;
}
.sec-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.01em;
  margin: 0;
  position: relative;
  padding-left: 14px;
}
.sec-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 2px;
  background: var(--brand);
}
.sec-head.s-biznes h2::before { background: var(--c-biznes); }
.sec-head.s-tech   h2::before { background: var(--c-tech); }
.sec-head.s-porad  h2::before { background: var(--c-porad); }
.sec-head.s-swiat  h2::before { background: var(--c-swiat); }
.sec-head.s-life   h2::before { background: var(--c-life); }
.sec-head.s-sport  h2::before { background: var(--c-sport); }

.sec-head .more {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.sec-head .more:hover { color: var(--brand); }

/* =========================================================
   CARD GRIDS
   ========================================================= */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.card .ph {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd6c9;
  margin-bottom: 11px;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.card:hover .ph img { transform: scale(1.02); }
.card h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 8px 0;
}
.card h3 a:hover { color: var(--brand); }
.card .deck {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

/* =========================================================
   SECTION BLOCK (split)
   ========================================================= */
.block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap);
}
.block .feat .ph {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd6c9;
  margin-bottom: 12px;
}
.block .feat h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 8px 0;
}
.block ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.block ol li {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
}
.block ol li:last-child { border-bottom: 0; }
.block ol .thumb {
  width: 84px;
  height: 62px;
  border-radius: 5px;
  overflow: hidden;
  background: #ddd6c9;
  flex: none;
}
.block ol .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block ol h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  margin: 2px 0;
}
.block ol h4 a:hover { color: var(--brand); }

/* =========================================================
   PORADNIKI BAND
   ========================================================= */
.band {
  background: var(--surface-deep);
  color: #F2EEE6;
  border-radius: 12px;
  padding: 34px 30px;
  margin-top: 52px;
}
.band .bh {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.band .bh h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0;
  color: #fff;
}
.band .bsub {
  color: #b9b2a6;
  font-size: 14.5px;
  margin: 0 0 24px;
  max-width: 60ch;
}
.band .grid3 { gap: 22px; }

.gcard {
  background: #211d18;
  border: 1px solid #322d26;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s;
}
.gcard:hover { border-color: var(--c-porad); }
.gcard h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}
.gcard p { font-size: 14px; color: #b9b2a6; margin: 0; line-height: 1.5; }
.gcard .gm {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #8f897e;
  padding-top: 6px;
}

/* =========================================================
   LAYOUT + SIDEBAR
   ========================================================= */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  margin-top: 48px;
  margin-bottom: 60px;
}
.rail { display: flex; flex-direction: column; gap: 28px; }

.widget {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 20px;
}
.widget h3 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}

.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.ranked li:last-child { border-bottom: 0; }
.ranked .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--brand);
  line-height: 1;
  width: 26px;
  flex: none;
}
.ranked h4 { font-size: 14.5px; font-weight: 500; line-height: 1.25; margin: 0; }
.ranked h4 a:hover { color: var(--brand); }

.nl {
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 22px;
  background: var(--paper);
}
.nl h3 {
  border: 0;
  font-family: var(--f-display);
  font-size: 20px;
  margin: 0 0 6px;
}
.nl p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.nl .row { display: flex; gap: 8px; }
.nl input {
  flex: 1;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
}
.nl input:focus { border-color: var(--brand); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 12px;
  color: #403c34;
  transition: border-color .15s, color .15s;
}
.tags a:hover { border-color: var(--brand); color: var(--brand); }

/* =========================================================
   CATEGORY HERO (cathero)
   ========================================================= */
.cathero {
  border-radius: 12px;
  padding: 36px 30px;
  color: #fff;
  margin-bottom: 8px;
  background: var(--c-tech);
}
.cathero .kicker { color: rgba(255, 255, 255, .8); }
.cathero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  margin: 8px 0 6px;
  letter-spacing: -.02em;
}
.cathero p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .85); max-width: 64ch; }

.chips {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 18px 0;
  scrollbar-width: none;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 28px;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  color: #403c34;
  transition: border-color .15s, background .15s, color .15s;
}
.chips a.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chips a:hover { border-color: var(--ink); }

.loadmore {
  display: block;
  margin: 40px auto 0;
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 13px 30px;
  cursor: pointer;
  color: var(--ink);
  transition: background .15s, color .15s;
}
.loadmore:hover { background: var(--ink); color: var(--paper); }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.bcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.bcrumb a:hover { color: var(--brand); }

/* =========================================================
   ARTICLE
   ========================================================= */
.article {
  max-width: 740px;
  margin: 0 auto;
  padding: 30px 0 60px;
}
.article h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 12px 0 14px;
}
.article .standfirst {
  font-size: 20px;
  line-height: 1.5;
  color: #33302a;
  margin: 0 0 22px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.byline .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-tech);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  flex: none;
  overflow: hidden;
}
.byline .av img { width: 100%; height: 100%; object-fit: cover; }
.byline .who b { font-weight: 600; }
.byline .who span { color: var(--muted); font-size: 13px; }
.byline .share { margin-left: auto; display: flex; gap: 8px; }
.byline .share button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: 0;
  cursor: pointer;
  font-size: 16px;
  color: #403c34;
  transition: border-color .15s, color .15s;
}
.byline .share button:hover { border-color: var(--ink); color: var(--ink); }

.figure { margin: 26px 0; }
.figure .ph {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd6c9;
}
.figure .ph img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; font-family: var(--f-ui); }

/* Body treści */
.body {
  font-family: var(--f-read);
  font-size: 19px;
  line-height: 1.72;
  color: #221f1a;
}
[data-theme="dark"] .body { color: var(--ink); }
.body p { margin: 0 0 22px; }
.body h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
  margin: 38px 0 14px;
  letter-spacing: -.01em;
}
.body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.pull {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  border-left: 4px solid var(--brand);
  padding: 6px 0 6px 22px;
  margin: 30px 0;
}

.inset {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 28px 0;
  font-family: var(--f-ui);
}
.inset .kicker { margin-bottom: 6px; }
.inset a {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.inset a:hover { color: var(--brand); }

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 10px;
}

.authorbox {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
}
.authorbox .av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-tech);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  flex: none;
  overflow: hidden;
}
.authorbox .av img { width: 100%; height: 100%; object-fit: cover; }
.authorbox h4 { font-family: var(--f-display); font-size: 18px; margin: 0 0 4px; }
.authorbox p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* =========================================================
   PORADNIK SPECIFICS
   ========================================================= */
.toc {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 4px solid var(--c-porad);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.toc strong {
  font-family: var(--f-display);
  font-size: 15px;
  display: block;
  margin-bottom: 10px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  font-family: var(--f-ui);
  font-size: 15px;
}
.toc ol li { margin: 6px 0; }
.toc a:hover { color: var(--c-porad); }

.takeaways {
  background: rgba(14, 116, 104, .07);
  border: 1px solid rgba(14, 116, 104, .25);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 26px 0;
}
.takeaways h4 {
  font-family: var(--f-display);
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--c-porad);
}
.takeaways ul {
  margin: 0;
  padding-left: 6px;
  list-style: none;
  font-family: var(--f-ui);
  font-size: 15.5px;
}
.takeaways li { display: flex; gap: 10px; margin: 9px 0; line-height: 1.45; }
.takeaways li::before { content: "✓"; color: var(--c-porad); font-weight: 700; }

.step { display: flex; gap: 18px; margin: 30px 0; }
.step .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-porad);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.step .sc { flex: 1; }
.step .sc h2 { margin-top: 4px; }

.faq { margin: 30px 0; }
.faq h3 {
  font-family: var(--f-display);
  font-size: 24px;
  margin: 34px 0 16px;
}
.faq details {
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--surface);
}
.faq summary {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--c-porad); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-family: var(--f-read); font-size: 17px; margin: 12px 0 0; color: #221f1a; }
[data-theme="dark"] .faq p { color: var(--ink); }

.upd {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* =========================================================
   RELATED
   ========================================================= */
.related { margin-top: 50px; padding-bottom: 60px; }

/* =========================================================
   AUTHOR PAGE
   ========================================================= */
.author-hero {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 34px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 8px;
  margin-top: 30px;
}
.author-hero .av {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--c-tech);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
}
.author-hero .av img { width: 100%; height: 100%; object-fit: cover; }
.author-hero .info { flex: 1; min-width: 0; }
.author-hero .role {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.author-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -.02em;
  margin: 6px 0 10px;
}
.author-hero .bio {
  font-family: var(--f-read);
  font-size: 17px;
  line-height: 1.55;
  color: #33302a;
  margin: 0 0 18px;
  max-width: 62ch;
}
[data-theme="dark"] .author-hero .bio { color: var(--ink); }
.author-hero .social { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.author-hero .social a,
.author-hero .social button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: 0;
  cursor: pointer;
  font-size: 15px;
  color: #403c34;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s;
  text-decoration: none;
}
.author-hero .social a:hover,
.author-hero .social button:hover { border-color: var(--ink); color: var(--ink); }
.author-hero .follow { margin-left: 6px; width: auto; border-radius: 999px; padding: 0 16px; }

.author-stats {
  display: flex;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin: 28px 0 30px;
}
.author-stats .st { flex: 1; padding: 18px 4px; text-align: center; }
.author-stats .st + .st { border-left: 1px solid var(--hair); }
.author-stats .v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.01em;
}
.author-stats .l {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* =========================================================
   TAG PAGE
   ========================================================= */
.tag-hero {
  border-radius: 14px;
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--hair);
  margin-bottom: 6px;
  margin-top: 30px;
}
.tag-hero .h {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.tag-hero .hash {
  font-family: var(--f-display);
  font-size: 54px;
  font-weight: 600;
  color: var(--brand);
  line-height: .9;
}
.tag-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -.02em;
  margin: 0;
}
.tag-hero .count {
  font-size: 13px;
  color: var(--muted);
  align-self: center;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 5px 12px;
}
.tag-hero .desc {
  font-size: 16px;
  color: #33302a;
  margin: 8px 0 18px;
  max-width: 66ch;
  line-height: 1.55;
}
[data-theme="dark"] .tag-hero .desc { color: var(--ink); }
.tag-hero .relt { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag-hero .relt .lbl {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-right: 4px;
}
.tag-hero .relt a {
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 12px;
  color: #403c34;
  transition: border-color .15s, color .15s;
}
.tag-hero .relt a:hover { border-color: var(--brand); color: var(--brand); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--surface-deep);
  color: #cfc8bd;
  margin-top: 70px;
  padding: 48px 0 30px;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}
footer .logo { color: #fff; font-size: 30px; margin-bottom: 12px; }
footer p { font-size: 13.5px; line-height: 1.6; color: #8f897e; max-width: 34ch; }
footer h5 {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 8px 0; }
footer a { font-size: 14px; color: #cfc8bd; transition: color .15s; }
footer a:hover { color: #fff; }
footer .legal {
  border-top: 1px solid #2c2823;
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8f897e;
}
footer .legal .right { margin-left: auto; display: flex; gap: 14px; }

/* =========================================================
   MOBILE NAV PANEL
   ========================================================= */
.mobnav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,.4);
}
.mobnav.open { display: block; }
.mobnav .panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--surface);
  padding: 22px;
  overflow-y: auto;
  border-left: 1px solid var(--hair);
}
.mobnav .panel a {
  display: block;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
}
.mobnav .close {
  font-size: 30px;
  background: 0;
  border: 0;
  cursor: pointer;
  float: right;
  color: var(--ink);
}

/* =========================================================
   SEARCH PAGE
   ========================================================= */
.search-header { padding: 40px 0 20px; }
.search-header h1 { font-family: var(--f-display); font-size: 32px; margin: 0; }
.search-header .search-count { color: var(--muted); font-size: 14px; margin-top: 8px; }
.search-form-wrap { margin-bottom: 32px; }
.search-form-wrap form { display: flex; gap: 10px; max-width: 520px; }
.search-form-wrap input[type="search"] {
  flex: 1;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  outline: 0;
}
.search-form-wrap input:focus { border-color: var(--brand); }

/* =========================================================
   404
   ========================================================= */
.page-404 { text-align: center; padding: 80px 20px; }
.page-404 .code {
  font-family: var(--f-display);
  font-size: 120px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin: 0;
}
.page-404 h1 { font-family: var(--f-display); font-size: 36px; margin: 16px 0 12px; }
.page-404 p { color: var(--muted); font-size: 18px; max-width: 42ch; margin: 0 auto 28px; }

/* =========================================================
   RESPONSIVE — TABLET ≤1024px
   ========================================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .aside-leads { flex-direction: row; flex-wrap: wrap; }
  .mini { flex: 1; min-width: 240px; grid-template-columns: 1fr; border-bottom: 0; }
  .mini .ph { aspect-ratio: 16 / 9; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .block { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE — MOBILE ≤720px
   ========================================================= */
@media (max-width: 720px) {
  .search { display: none; }
  .nav { top: 64px; display: none; }
  .mast .wrap { height: 64px; }
  .mast .actions .btn:not(.btn-pri) { display: none; }
  .burger { display: block; }
  .util .wx,
  .util .right .pill { display: none; }
  .grid4, .grid3 { grid-template-columns: 1fr; }
  .aside-leads { flex-direction: column; }
  .lead h1 { font-size: 30px; }
  .lead .deck { font-size: 16px; }
  .band { padding: 26px 18px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .body { font-size: 18px; }
  .article h1 { font-size: 30px; }
  .step { gap: 12px; }
  .author-hero { flex-direction: column; gap: 18px; padding: 22px; }
  .author-hero .av { width: 80px; height: 80px; font-size: 30px; }
  .author-hero h1 { font-size: 28px; }
  .author-stats { flex-wrap: wrap; }
  .author-stats .st + .st { border-left: 0; border-top: 1px solid var(--hair); }
  .author-stats .st { flex: 1 1 50%; }
  .tag-hero { padding: 22px; }
  .tag-hero h1 { font-size: 30px; }
  .tag-hero .hash { font-size: 40px; }
}
