/* ════════════════════════════════════════════════════════════════════
   SINGLE BLOG — ENHANCED UX/UI OVERLAY
   Ładowany PO single-blog.css; podnosi styling, hierarchy, premium feel.
   Brand: --mag #DF3BA3, --teal #0CB8B6
   Target: kobieca audience, medical content, klinika ginekologiczna
   ════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════ 1. READING PROGRESS BAR ═══════════════════════ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(223,59,163,.08);
  z-index: 100;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mag) 0%, var(--teal) 100%);
  box-shadow: 0 0 8px rgba(223,59,163,.4);
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ═══════════════════════ 2. ARTICLE HEADER — refinement ═══════════════════════ */
.article-header {
  background: linear-gradient(180deg, var(--mag-w) 0%, var(--white) 100%);
  padding: clamp(56px, 8vw, 96px) var(--px) clamp(40px, 5vw, 64px) !important;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(223,59,163,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.article-header::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(12,184,182,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.article-header > * { position: relative; z-index: 1; }

.breadcrumbs {
  margin-bottom: 32px !important;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 13.5px !important;
  letter-spacing: .02em;
}
.breadcrumbs a { color: var(--gray); transition: color var(--tf); }
.breadcrumbs a:hover { color: var(--mag); }

.article-title {
  letter-spacing: -0.02em !important;
  font-weight: 400 !important;
  margin-bottom: 28px !important;
}

.article-meta {
  font-size: 14px !important;
  font-family: var(--f-ui);
}
.meta-item {
  background: var(--white);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 1px 3px rgba(0,0,0,.02);
  transition: transform var(--tf), box-shadow var(--tf);
}
.meta-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223,59,163,.08);
}

/* ═══════════════════════ 3. ARTICLE CONTAINER — refinement ═══════════════════════ */
.article-container {
  padding-top: clamp(56px, 7vw, 88px) !important;
  padding-bottom: clamp(64px, 8vw, 96px) !important;
  gap: clamp(40px, 5vw, 72px) !important;
}

/* Wszystko na pełną szerokość lewej kolumny gridu. Sidebar 320px zostaje. */
.article-content,
.article-content > p,
.article-content > ul,
.article-content > ol,
.article-content > h2,
.article-content > h3,
.article-content > h4,
.article-content > blockquote,
.article-content .tldr,
.article-content .info-box,
.article-content .warning-box,
.article-content .key-points,
.article-content .stat-row,
.article-content .table-scroll,
.article-content .faq-section,
.article-content > figure,
.article-content .article-featured-img {
  max-width: none;
  width: 100%;
}

/* ═══════════════════════ 4. FEATURED IMAGE — premium polish ═══════════════════════ */
.article-featured-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
}
.article-featured-img img {
  transition: transform .6s var(--eo);
  max-height: 520px !important;
}
.article-featured-img:hover img { transform: scale(1.02); }
.article-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.08) 100%);
  pointer-events: none;
  border-radius: var(--r-card);
}

/* ═══════════════════════ 5. TYPOGRAPHY — fine-tuned ═══════════════════════ */
.article-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate);
}

.article-content p {
  margin-bottom: 24px !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Lead paragraph z drop-cap — refined */
.article-content > p:first-of-type {
  font-size: 20px !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
  font-weight: 400;
  margin-bottom: 36px !important;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(223,59,163,.12);
}
.article-content > p:first-of-type::first-letter {
  font-size: 4em !important;
  line-height: 0.85 !important;
  margin: 8px 14px 0 0 !important;
  color: var(--mag) !important;
  font-weight: 400 !important;
  font-family: var(--f-serif);
  background: linear-gradient(180deg, var(--mag) 0%, #c1268a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* H2 — premium with anchor */
.article-content h2 {
  font-size: clamp(28px, 3.2vw, 36px) !important;
  margin-top: 64px !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.015em !important;
  font-weight: 400;
}
.article-content h2::after {
  width: 64px !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--mag), var(--teal)) !important;
  border-radius: 4px !important;
  margin-top: 16px;
}

/* H3 — cleaner, more refined */
.article-content h3 {
  font-size: clamp(20px, 1.8vw, 23px) !important;
  margin-top: 40px !important;
  margin-bottom: 14px !important;
  padding-left: 18px !important;
  border-left: 3px solid var(--mag) !important;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* H4 — alternative section divider */
.article-content h4 {
  color: var(--mag) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  margin: 32px 0 12px !important;
}
.article-content h4::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--mag);
  vertical-align: middle;
  margin-right: 10px;
}

/* Inline text refinement — bez highlightera (wygląda na SEO spam) */
.article-content strong {
  color: var(--ink) !important;
  font-weight: 600;
  background: none !important;
  padding: 0 !important;
}
.article-content em { color: var(--ink) !important; font-style: italic; }

/* Inline code */
.article-content code {
  background: var(--mag-w);
  color: var(--mag-dim);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .9em;
  border: 1px solid rgba(223,59,163,.1);
}

/* Better link styling */
.article-content a:not(.faq-q):not(.author-cta):not(.sidebar-cta-btn):not(.sidebar-cta-phone) {
  color: var(--mag);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(223,59,163,.3);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--tf);
}
.article-content a:not(.faq-q):not(.author-cta):not(.sidebar-cta-btn):not(.sidebar-cta-phone):hover {
  text-decoration-color: var(--mag);
}

/* ═══════════════════════ 6. LISTS — premium polish ═══════════════════════ */
.article-content ul {
  gap: 14px !important;
  margin: 0 0 32px !important;
}
.article-content ul li {
  font-size: 17px !important;
  padding-left: 4px;
  position: relative;
  transition: transform var(--tf);
}
.article-content ul li::before {
  content: '\eb7b' !important;
  font-family: 'remixicon';
  color: var(--mag) !important;
  font-size: 18px !important;
  background: var(--mag-w);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  margin-right: 4px;
  flex-shrink: 0;
}

.article-content ol {
  gap: 18px !important;
  margin: 0 0 32px !important;
}
.article-content ol > li {
  padding-left: 52px !important;
  font-size: 17px !important;
  line-height: 1.7;
}
.article-content ol > li::before {
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
  background: linear-gradient(135deg, var(--mag) 0%, #c1268a 100%) !important;
  box-shadow: 0 4px 12px rgba(223,59,163,.25);
  top: -4px !important;
}

/* ═══════════════════════ 7. BLOCKQUOTE — premium ═══════════════════════ */
.article-content blockquote {
  position: relative;
  background: linear-gradient(135deg, var(--mag-w) 0%, rgba(12,184,182,.04) 100%);
  border-left: 5px solid var(--mag);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 32px 40px 32px 56px !important;
  margin: 40px 0;
  font-family: var(--f-serif);
  font-size: 22px !important;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.article-content blockquote::before {
  content: '\ed27';
  font-family: 'remixicon';
  position: absolute;
  top: 16px; left: 14px;
  font-size: 48px;
  color: var(--mag);
  opacity: .25;
  line-height: 1;
  font-style: normal;
}
.article-content blockquote p { margin: 0 !important; font-size: inherit !important; color: inherit !important; }
.article-content blockquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--gray);
  font-style: normal;
  font-weight: 500;
}
.article-content blockquote cite::before { content: '— '; color: var(--mag); }

/* ═══════════════════════ 8. FIGURE / FIGCAPTION ═══════════════════════ */
.article-content figure {
  margin: 36px 0;
}
.article-content figure img {
  border-radius: var(--r-card);
  display: block;
  width: 100%;
  height: auto;
}
.article-content figcaption {
  margin-top: 12px;
  padding: 12px 16px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--gray);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-style: italic;
}

/* ═══════════════════════ 9. TABLE — premium full-width ═══════════════════════ */
.article-content .table-scroll {
  width: 100% !important;
  max-width: 100% !important;
  margin: 40px 0 !important;
  border-radius: var(--r-card);
  border: 1px solid rgba(223,59,163,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
}
.article-content .table-scroll table,
.article-content table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.article-content table thead {
  background: linear-gradient(135deg, var(--mag) 0%, #c1268a 50%, #a51e76 100%) !important;
}
.article-content table thead tr {
  background: transparent !important;
}
.article-content table th {
  color: var(--white) !important;
  font-family: var(--f-ui) !important;
  font-size: 12.5px !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 20px 24px !important;
  font-weight: 700 !important;
  text-align: left;
  border: none !important;
  background: transparent !important;
  white-space: nowrap;
  vertical-align: middle;
}
.article-content table th:first-child { border-top-left-radius: 0; }
.article-content table th:last-child { border-top-right-radius: 0; }
.article-content table td {
  padding: 16px 24px !important;
  font-size: 15.5px;
  color: var(--ink) !important;
  border: none !important;
  border-top: 1px solid rgba(0,0,0,.05) !important;
  background: transparent !important;
  vertical-align: top;
  line-height: 1.55;
}
.article-content table tbody tr {
  transition: background var(--tf);
  background: transparent !important;
}
.article-content table tbody tr:first-child td {
  border-top: none !important;
}
.article-content table tbody tr:nth-child(even) {
  background: rgba(223,59,163,.025) !important;
}
.article-content table tbody tr:hover {
  background: rgba(255,236,247,.55) !important;
}
.article-content table tbody tr:nth-child(even):hover {
  background: rgba(255,236,247,.7) !important;
}
.article-content table tbody tr:hover td {
  background: transparent !important;
}
.article-content table td strong,
.article-content table th strong {
  color: inherit !important;
  font-weight: 700;
}
.article-content table td:first-child {
  font-weight: 600;
  color: var(--mag-dim) !important;
}

/* ═══════════════════════ 10. TL;DR — refined ═══════════════════════ */
.article-content .tldr {
  margin: 0 0 40px !important;
  padding: 28px 32px !important;
  background: linear-gradient(135deg, var(--mag-w) 0%, rgba(12,184,182,.04) 100%) !important;
  border-left: 4px solid var(--mag) !important;
  border-radius: var(--r-card) !important;
  position: relative;
  box-shadow: 0 6px 20px rgba(223,59,163,.06);
}
.article-content .tldr::before {
  content: 'KLUCZOWE INFORMACJE' !important;
  font-size: 11px !important;
  padding: 6px 14px !important;
  background: var(--mag);
  color: var(--white) !important;
  border: none !important;
  margin-bottom: 16px !important;
  box-shadow: 0 2px 8px rgba(223,59,163,.3);
}
.article-content .tldr p {
  font-size: 17.5px !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
}

/* ═══════════════════════ 11. INFO BOX & WARNING BOX — refined ═══════════════════════ */
.article-content .info-box {
  background: linear-gradient(135deg, rgba(12,184,182,.06) 0%, rgba(12,184,182,.02) 100%) !important;
  border-left: 4px solid var(--teal) !important;
  padding: 22px 26px !important;
  margin: 32px 0 !important;
  border-radius: var(--r-card) !important;
  gap: 18px !important;
  box-shadow: 0 4px 14px rgba(12,184,182,.06);
  align-items: center !important;
}
.article-content .info-box::before {
  background: var(--teal);
  color: var(--white) !important;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
}
.article-content .info-box p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 16px;
  line-height: 1.65;
}

.article-content .warning-box {
  background: linear-gradient(135deg, rgba(255,184,0,.08) 0%, rgba(255,184,0,.03) 100%) !important;
  border-left: 4px solid #f59e0b !important;
  padding: 22px 26px !important;
  margin: 32px 0 !important;
  border-radius: var(--r-card) !important;
  gap: 18px !important;
  box-shadow: 0 4px 14px rgba(245,158,11,.08);
  align-items: flex-start !important;
}
.article-content .warning-box::before {
  background: #f59e0b;
  color: var(--white) !important;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
  flex-shrink: 0;
}
.article-content .warning-box p,
.article-content .warning-box > div {
  margin: 0 !important;
  color: #78350f !important;
  font-size: 16px;
  line-height: 1.65;
}

/* ═══════════════════════ 12. KEY POINTS — premium card ═══════════════════════ */
.article-content .key-points {
  background: var(--white) !important;
  border: 1px solid rgba(223,59,163,.12) !important;
  border-radius: var(--r-card) !important;
  padding: 32px 36px !important;
  margin: 40px 0 !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.04) !important;
  position: relative;
  overflow: hidden;
}
.article-content .key-points::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mag) 0%, var(--teal) 100%);
}
.article-content .key-points h3 {
  margin: 0 0 20px !important;
  padding-left: 0 !important;
  border-left: none !important;
  font-family: var(--f-serif) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-content .key-points h3::before {
  content: '\ee76';
  font-family: 'remixicon';
  background: linear-gradient(135deg, var(--mag), #c1268a);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(223,59,163,.25);
}
.article-content .key-points ul li {
  padding: 14px 0 14px 36px !important;
  line-height: 1.65;
  border-bottom: 1px solid rgba(0,0,0,.04) !important;
}
.article-content .key-points ul li:last-child { border-bottom: none !important; }
.article-content .key-points ul li::before {
  content: '\eb7b' !important;
  background: var(--mag-w) !important;
  color: var(--mag) !important;
  width: 26px !important; height: 26px !important;
  font-size: 16px !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  left: 0 !important;
  top: 12px !important;
}

/* ═══════════════════════ 13. STAT ROW — refined ═══════════════════════ */
.article-content .stat-row {
  margin: 40px 0 !important;
  gap: 20px !important;
}
.article-content .stat-card {
  padding: 32px 24px !important;
  background: linear-gradient(135deg, var(--white) 0%, var(--mag-w) 100%) !important;
  border: 1px solid rgba(223,59,163,.12) !important;
  position: relative;
  transition: transform var(--tn) var(--eo), box-shadow var(--tn) var(--eo);
}
.article-content .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(223,59,163,.12);
}
.article-content .stat-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--mag) 0%, var(--teal) 100%);
  border-radius: var(--r-card) var(--r-card) 0 0;
}
.article-content .stat-card .stat-val {
  font-size: 44px !important;
  line-height: 1 !important;
  background: linear-gradient(135deg, var(--mag) 0%, #c1268a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px !important;
}
.article-content .stat-card .stat-lbl {
  font-size: 14px !important;
  color: var(--ink) !important;
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════ 14. FAQ — refined accordion ═══════════════════════ */
.article-content .faq-section {
  margin: 56px 0 !important;
  padding: 36px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.article-content .faq-section > h2 {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}
.article-content .faq-list { gap: 14px !important; }
.article-content .faq-list > li {
  border: 1px solid rgba(0,0,0,.08) !important;
  background: var(--white) !important;
  transition: all var(--tf);
}
.article-content .faq-list > li:hover {
  border-color: rgba(223,59,163,.3) !important;
  box-shadow: 0 4px 16px rgba(223,59,163,.06);
}
.article-content .faq-list > li[open] {
  border-color: var(--mag) !important;
  box-shadow: 0 6px 20px rgba(223,59,163,.12) !important;
}
.article-content .faq-q {
  font-size: 17px !important;
  font-weight: 600 !important;
  padding: 22px 26px !important;
  color: var(--ink) !important;
}
.article-content .faq-q::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--mag-w);
  color: var(--mag);
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 14px;
  flex-shrink: 0;
}
.article-content .faq-list > li[open] .faq-q::before {
  background: var(--mag);
  color: var(--white);
}
.article-content .faq-a {
  padding: 0 26px 24px 68px !important;
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
}

/* ═══════════════════════ 15. HORIZONTAL RULE — elegant separator ═══════════════════════ */
.article-content hr {
  border: none;
  height: 1px;
  margin: 48px auto;
  background: linear-gradient(90deg, transparent, rgba(223,59,163,.25), transparent);
  max-width: 200px;
  position: relative;
}
.article-content hr::after {
  content: '\ea16';
  font-family: 'remixicon';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  color: var(--mag);
  padding: 0 12px;
  font-size: 14px;
}

/* ═══════════════════════ 16. TOC — sticky sidebar polish ═══════════════════════ */
.sidebar-wrapper {
  top: calc(var(--nav-h) + 32px) !important;
}
.toc-box {
  background: var(--white) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  border-radius: var(--r-card) !important;
  padding: 24px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.03) !important;
  margin-bottom: 20px;
}
.toc-box::before {
  content: 'W tym artykule';
  display: block;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mag);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.toc-list a {
  padding: 8px 12px !important;
  margin-bottom: 4px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: var(--slate) !important;
  border-left: 2px solid transparent !important;
  transition: all var(--tf) !important;
  line-height: 1.5 !important;
}
.toc-list a:hover {
  background: var(--mag-w) !important;
  color: var(--mag) !important;
  border-left-color: var(--mag) !important;
  padding-left: 16px !important;
}
.toc-list a.is-active {
  background: var(--mag-w) !important;
  color: var(--mag) !important;
  border-left-color: var(--mag) !important;
  font-weight: 600;
}
/* CRITICAL: zachowaj collapsed/expanded behavior ze starego CSS */
.toc-list a.is-collapsed { display: none !important; }
.toc-list.is-expanded a.is-collapsed { display: flex !important; }
/* Toggle button widoczny gdy są ukryte itemy */
.toc-toggle {
  margin-top: 14px !important;
  width: 100%;
  background: transparent !important;
  border: 1px dashed rgba(223,59,163,.3) !important;
  color: var(--mag) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all var(--tf) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.toc-toggle:hover {
  background: var(--mag-w) !important;
  border-color: var(--mag) !important;
}
.toc-toggle[aria-expanded="true"] .toc-toggle-more { display: none !important; }
.toc-toggle .toc-toggle-less { display: none !important; }
.toc-toggle[aria-expanded="true"] .toc-toggle-less {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════ 17. AUTHOR BOX — premium card ═══════════════════════ */
.author-box {
  margin-top: 64px !important;
  padding: 32px !important;
  background: linear-gradient(135deg, var(--white) 0%, var(--mag-w) 100%) !important;
  border: 1px solid rgba(223,59,163,.1) !important;
  border-radius: var(--r-card) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.04) !important;
  position: relative;
  overflow: hidden;
}
/* Avatar — nie pozwól żeby zostały zastosowane jakiekolwiek dziedziczenia stylów (figcaption opacity etc.) */
.author-box .author-avatar {
  width: 108px !important;
  height: 108px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 3px solid #fff !important;
  box-shadow:
    0 0 0 2px rgba(223,59,163,.18),
    0 8px 24px rgba(223,59,163,.18),
    0 2px 6px rgba(0,0,0,.06) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}
.author-box .author-avatar img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  object-fit: cover !important;
  object-position: top center !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  max-width: none !important;
  max-height: none !important;
}
.author-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mag) 0%, var(--teal) 100%);
}

/* ═══════════════════════ 18. SIDEBAR CTA — refined ═══════════════════════ */
.sidebar-cta {
  background: linear-gradient(135deg, #1a0a14 0%, #2d0d22 100%) !important;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(223,59,163,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.sidebar-cta-pill {
  background: rgba(223,59,163,.2) !important;
  color: var(--mag) !important;
  border: 1px solid rgba(223,59,163,.3);
}
.sidebar-cta-btn {
  background: var(--mag) !important;
  box-shadow: 0 6px 20px rgba(223,59,163,.4);
  transition: all var(--tf);
}
.sidebar-cta-btn:hover {
  background: #c1268a !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(223,59,163,.5);
}

/* ═══════════════════════ 19. SECTION ANCHOR LINK (heading hover) ═══════════════════════ */
.article-content h2,
.article-content h3 {
  position: relative;
}
.article-content h2 .anchor-link,
.article-content h3 .anchor-link {
  position: absolute;
  left: -32px;
  opacity: 0;
  color: var(--mag);
  font-family: 'remixicon';
  text-decoration: none !important;
  transition: opacity var(--tf);
  font-size: 20px;
  line-height: 1;
}
.article-content h2:hover .anchor-link,
.article-content h3:hover .anchor-link { opacity: 1; }

/* ═══════════════════════ 20. SHARE BUTTONS (placeholder) ═══════════════════════ */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  margin: 32px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.article-share__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--slate);
  text-transform: uppercase;
  margin-right: 6px;
}
.article-share__btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--slate);
  transition: all var(--tf);
  font-size: 16px;
}
.article-share__btn:hover {
  background: var(--mag);
  border-color: var(--mag);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(223,59,163,.3);
}

/* ═══════════════════════ 21. IMAGE LIGHTBOX (CSS only) ═══════════════════════ */
.article-content img[data-zoom] { cursor: zoom-in; }

/* ═══════════════════════ 22. SELECTION ═══════════════════════ */
.article-content ::selection {
  background: var(--mag);
  color: var(--white);
}

/* ═══════════════════════ 23. RESPONSIVE — mobile polish ═══════════════════════ */
@media (max-width: 768px) {
  .article-content > p:first-of-type {
    font-size: 18px !important;
    padding-bottom: 24px;
    margin-bottom: 28px !important;
  }
  .article-content > p:first-of-type::first-letter {
    font-size: 3.4em !important;
    margin: 6px 10px 0 0 !important;
  }
  /* Większe odstępy nad nagłówkami na mobile — wyraźniejsze
     odcięcie sekcji i łatwiejsze skanowanie długiego artykułu. */
  .article-content h2 {
    font-size: 24px !important;
    margin-top: 76px !important;
    margin-bottom: 22px !important;
  }
  .article-content h2:first-child,
  .article-content h2:first-of-type {
    margin-top: 0 !important;
  }
  .article-content h3 {
    font-size: 19px !important;
    margin-top: 50px !important;
    margin-bottom: 16px !important;
  }
  .article-content h4 {
    margin-top: 38px !important;
    margin-bottom: 12px !important;
  }
  .article-content .tldr,
  .article-content .key-points,
  .article-content .info-box,
  .article-content .warning-box {
    padding: 20px !important;
    margin: 24px 0 !important;
  }
  .article-content .key-points {
    padding: 24px 20px !important;
  }
  .article-content .stat-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .article-content .stat-card .stat-val { font-size: 36px !important; }
  .article-content blockquote {
    padding: 24px 20px 24px 36px !important;
    font-size: 18px !important;
  }
  .article-content blockquote::before {
    font-size: 36px;
    top: 12px; left: 8px;
  }
  .article-content .faq-q {
    padding: 18px 20px !important;
    font-size: 15.5px !important;
  }
  .article-content .faq-a {
    padding: 0 20px 20px 54px !important;
  }
  .article-content table th,
  .article-content table td {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
}

/* ═══════════════════════ 24. PRINT ═══════════════════════ */
@media print {
  .reading-progress,
  .sidebar-wrapper,
  .article-share,
  .author-cta,
  .sidebar-cta { display: none !important; }
  .article-container { display: block !important; }
  .article-content { max-width: 100% !important; }
}

/* ═══════════════════════ 25. REDUCED MOTION ═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .article-content .stat-card:hover,
  .meta-item:hover,
  .article-share__btn:hover,
  .article-featured-img:hover img {
    transform: none !important;
  }
}
