/* ============================================================
   SCHOLAR 2.0 — Main Stylesheet dla szybkieczytanie.com.pl
   DM Serif Display (nagłówki) + Manrope (UI) + Lora (treść)
   Paleta: Navy #060D28 + Żółty #FFE500 + Cyan #00D4FF
   ============================================================ */

/* --- CSS Variables ----------------------------------------- */
:root {
  --navy-900: #060D28;
  --navy-800: #0B1340;
  --navy-700: #1a237e;
  --navy-600: #283593;
  --navy-100: #E8EEFF;
  --navy-50:  #F2F4FF;
  --accent:   #FFE500;
  --accent-2: #00D4FF;
  --white:    #FFFFFF;
  --surface:  #F8FAFF;
  --muted:    #8890B5;
  --text:     #1E1F35;

  /* Legacy aliases (używane w artykułach / komponentach edukacyjnych) */
  --clr-primary:       var(--navy-700);
  --clr-primary-dark:  var(--navy-800);
  --clr-primary-light: var(--navy-100);
  --clr-accent:        var(--accent);
  --clr-accent-dark:   #e6ce00;
  --clr-text:          var(--text);
  --clr-muted:         var(--muted);
  --clr-border:        var(--navy-100);
  --clr-bg:            var(--white);
  --clr-bg-soft:       var(--surface);
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-ui:   'Manrope', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(6,13,40,.08);
  --shadow-md: 0 8px 30px rgba(6,13,40,.12);
}

/* --- Reset & base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-800); }
ul, ol { padding-left: 1.5em; }
blockquote {
  border-left: 4px solid var(--accent);
  padding: 1em 1.5em; margin: 1.5em 0;
  background: var(--surface); font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-family: var(--font-ui); font-size: .95rem; }
th, td { padding: .7em 1em; border: 1px solid var(--navy-100); text-align: left; }
th { background: var(--navy-100); font-weight: 600; color: var(--navy-700); }
tr:nth-child(even) td { background: var(--surface); }
hr { border: none; border-top: 1px solid var(--navy-100); margin: 2em 0; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy-800);
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; margin: 2em 0 .75em; }
h3 { font-size: 1.35rem; margin: 1.75em 0 .5em; }
h4 { font-size: 1.1rem; margin: 1.5em 0 .4em; }
p { margin: 0 0 1.25em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Container --------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Reading progress bar ---------------------------------- */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--accent); z-index: 200;
  transition: width 0.1s; width: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
  background: rgba(11,19,64,0);
  box-shadow: none;
}
.site-header--transparent {
  background: rgba(11,19,64,0);
  box-shadow: none;
}
.site-header.scrolled {
  background: rgba(11,19,64,1);
  box-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.site-header:not(.site-header--transparent) {
  background: rgba(11,19,64,1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-head); font-size: 20px;
  color: white; text-decoration: none;
}
.logo-text em { color: var(--accent); font-style: normal; }

/* Desktop nav */
.nav-desktop { display: none; }
.nav-list { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-list a {
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.9); text-decoration: none;
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--accent); }
.nav-list .nav-cta a {
  background: var(--accent); color: var(--navy-800) !important;
  font-weight: 700;
}
.nav-list .nav-cta a:hover { background: white; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: white;
  border-radius: 2px; transition: 0.3s;
}

/* Mobile nav */
.nav-mobile {
  position: absolute; top: 72px; left: 0; right: 0;
  background: var(--navy-800); padding: 16px 0 24px;
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: none;
}
.nav-mobile.is-open {
  display: block; transform: translateY(0); opacity: 1; pointer-events: auto;
}
.nav-mobile ul { list-style: none; padding: 0; }
.nav-mobile a {
  font-family: var(--font-ui); font-size: 16px; font-weight: 500;
  color: white; text-decoration: none; display: block;
  padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile a:hover { color: var(--accent); background: rgba(255,255,255,0.05); }

/* Desktop nav show */
@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .hamburger { display: none; }
  .nav-mobile { display: none !important; }
}

/* Breadcrumbs */
.breadcrumbs-wrap {
  background: var(--navy-50); border-bottom: 1px solid var(--navy-100);
  padding: .6rem 0; font-size: .8rem; font-family: var(--font-ui); color: var(--muted);
}
.breadcrumbs-wrap a { color: var(--navy-700); }
.breadcrumbs-wrap .rank-math-breadcrumb { display: inline; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  height: 100vh; min-height: 600px;
  position: relative; overflow: hidden;
  background: var(--navy-800);
}
.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.7s ease;
  display: flex; align-items: center;
}
.hero-slide--active { opacity: 1; }

/* Slide backgrounds */
.hero-slide--reading {
  background: linear-gradient(135deg, #0B1340 0%, #1a237e 60%, #0d47a1 100%);
}
.hero-slide--mindmap {
  background: linear-gradient(135deg, #1a0533 0%, #4a148c 60%, #6c3fff 100%);
}
.hero-slide--memory {
  background: linear-gradient(135deg, #00251a 0%, #005946 60%, #00897b 100%);
}

/* Slide art */
.slide-art {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  display: flex; align-items: center; justify-content: center; opacity: 0.85;
}
.slide-svg { width: 100%; max-width: 460px; height: auto; }

/* Slide content */
.hero-slide__content {
  position: relative; z-index: 2;
  padding-top: 100px; padding-bottom: 80px;
  max-width: 55%;
}
.hero-slide__eyebrow {
  font-family: var(--font-ui); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent-2); margin-bottom: 16px; display: block;
}
.hero-slide__title {
  font-family: var(--font-head); font-size: 56px;
  color: white; margin: 0 0 20px; line-height: 1.1;
}
.hero-accent { color: var(--accent); }
.hero-slide__desc {
  font-family: var(--font-ui); font-size: 18px;
  color: rgba(255,255,255,0.8); max-width: 500px; line-height: 1.6; margin: 0 0 36px;
}
.hero-slide__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slider controls */
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: white; cursor: pointer; backdrop-filter: blur(8px);
  transition: 0.3s; display: flex; align-items: center; justify-content: center; z-index: 10;
}
.hero-prev:hover, .hero-next:hover {
  background: var(--accent); color: var(--navy-800); border-color: var(--accent);
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Slider dots */
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none;
  cursor: pointer; transition: 0.3s; padding: 0;
}
.hero-dot--active {
  width: 28px; border-radius: 4px; background: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all 0.25s; cursor: pointer; border: none;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--navy-800); }
.btn--primary:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,229,0,0.35); color: var(--navy-800);
}
.btn--ghost {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7); color: white;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--navy-800); padding: 28px 0; }
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; text-align: center;
}
.stat-item {}
.stat-number {
  display: block; font-family: var(--font-head); font-size: 48px;
  color: var(--accent); line-height: 1;
}
.stat-label {
  font-family: var(--font-ui); font-size: 13px;
  color: rgba(255,255,255,0.6); text-transform: uppercase;
  letter-spacing: 0.1em; margin-top: 6px; display: block;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-ui); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--navy-700); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: var(--font-head); font-size: 40px; color: var(--navy-800);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header--flex {
  text-align: left; display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 48px;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-section { padding: 100px 0; background: var(--surface); }
.categories-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}

/* Category cards */
.category-card {
  background: white; border-radius: var(--radius-lg); padding: 36px 28px;
  text-decoration: none; color: inherit;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  border: 2px solid transparent; position: relative; overflow: hidden;
  display: block;
}
.category-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px; background: var(--clr, var(--navy-700));
}
.category-card:hover {
  transform: translateY(-8px); border-color: var(--clr, var(--navy-700));
  box-shadow: 0 20px 60px rgba(0,0,0,0.1); color: inherit;
}
.category-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  background: color-mix(in srgb, var(--clr, var(--navy-700)) 12%, white);
  color: var(--clr, var(--navy-700));
}
.category-card__title {
  font-family: var(--font-head); font-size: 22px;
  color: var(--navy-800); margin-bottom: 10px; margin-top: 0;
}
.category-card__desc {
  font-family: var(--font-ui); font-size: 14px;
  color: var(--muted); line-height: 1.6; margin-bottom: 16px;
}
.category-card__cta {
  font-family: var(--font-ui); font-size: 13px;
  color: var(--clr, var(--navy-700)); font-weight: 700;
  display: block; margin-top: 4px;
}

/* Per-category colors */
.category-card--reading { --clr: #1a237e; }
.category-card--mindmap  { --clr: #6c3fff; }
.category-card--memory   { --clr: #00897b; }
.category-card--learning { --clr: #e65100; }
.category-card--tools    { --clr: #1565c0; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { padding: 100px 0; background: white; }
.how-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 60px;
  position: relative;
}
.how-step { text-align: center; }
.how-step__num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy-800); color: var(--accent);
  font-family: var(--font-head); font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
}
.how-step__title {
  font-family: var(--font-head); font-size: 24px;
  color: var(--navy-800); margin-bottom: 12px; margin-top: 0;
}
.how-step__desc {
  font-family: var(--font-ui); font-size: 15px;
  color: var(--muted); line-height: 1.7;
}

/* ============================================================
   POSTS SECTION
   ============================================================ */
.posts-section { padding: 100px 0; background: var(--surface); }
.posts-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
}

/* Post cards */
.post-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.35s; display: flex; flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.post-card__thumb {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--navy-100); position: relative;
  display: block;
}
.post-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16/9;
}
.post-card__body {
  padding: 24px; flex: 1; display: flex; flex-direction: column;
}
.post-card__cat {
  font-family: var(--font-ui); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--navy-700); font-weight: 700;
  margin-bottom: 10px; display: block;
}
.post-card__cat a { color: inherit; text-decoration: none; }
.post-card__title {
  font-family: var(--font-head); font-size: 20px;
  color: var(--navy-800); line-height: 1.3; margin-bottom: 12px; margin-top: 0;
  flex-grow: 1;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--navy-700); }
.post-card__excerpt {
  font-family: var(--font-ui); font-size: 14px; color: var(--muted);
  line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0;
}
.post-card__meta {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--navy-100);
  font-family: var(--font-ui); font-size: 13px; color: var(--muted);
  display: flex; justify-content: space-between;
}

/* View all button */
.view-all-btn {
  font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  color: var(--navy-700); text-decoration: none;
  border-bottom: 2px solid var(--navy-700); padding-bottom: 2px;
  transition: 0.2s; white-space: nowrap; align-self: flex-end; margin-bottom: 4px;
}
.view-all-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -50%; right: -10%; width: 600px; height: 600px;
  border-radius: 50%; background: rgba(255,229,0,0.06);
  pointer-events: none;
}
.cta-banner__inner { text-align: center; position: relative; z-index: 1; }
.cta-banner__icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,229,0,0.1); border: 1px solid rgba(255,229,0,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; color: var(--accent);
}
.cta-banner__title {
  font-family: var(--font-head); font-size: 44px;
  color: white; margin-bottom: 20px;
}
.cta-banner__title em { color: var(--accent); font-style: normal; }
.cta-banner__desc {
  font-family: var(--font-ui); font-size: 18px;
  color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-banner__links {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-link {
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px; text-decoration: none; transition: 0.3s;
}
.cta-link--primary { background: var(--accent); color: var(--navy-800); }
.cta-link--primary:hover { background: #fff; color: var(--navy-800); }
.cta-link--secondary {
  background: rgba(255,255,255,0.1); color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.cta-link--secondary:hover { background: rgba(255,255,255,0.2); color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-bottom: 60px;
}
.footer-brand__logo {
  font-family: var(--font-head); font-size: 22px;
  color: white; margin-bottom: 16px;
}
.footer-brand__logo span { color: var(--accent); }
.footer-brand__desc {
  font-family: var(--font-ui); font-size: 14px;
  line-height: 1.7; color: rgba(255,255,255,0.6);
}
.footer-col__title {
  font-family: var(--font-ui); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.15em; color: white; font-weight: 700; margin-bottom: 20px; display: block;
}
.footer-col a {
  font-family: var(--font-ui); font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; display: block; margin-bottom: 10px; transition: 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   SITE LAYOUT (inner pages)
   ============================================================ */
.site-main { padding: 2rem 0; }
.home .site-main { padding-top: 0; }
.content-area { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.content-area > .container { width: 100%; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-header { max-width: 760px; margin: 0 auto 2rem; }
.single-header__cat {
  display: inline-block; font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--navy-700); background: var(--navy-100);
  padding: .25rem .8rem; border-radius: 20px; margin-bottom: 1rem;
}
.single-header__cat a { color: inherit; text-decoration: none; }
.single-header__title {
  font-family: var(--font-head); font-size: 2rem;
  line-height: 1.2; margin: 0 0 1.25rem; color: var(--navy-800);
}
.single-header__meta {
  display: flex; align-items: center; gap: .875rem;
  font-family: var(--font-ui); font-size: .82rem; color: var(--muted); flex-wrap: wrap;
}
.single-header__meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.single-featured { max-width: 760px; margin: 0 auto 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.single-featured img { width: 100%; height: auto; }

.entry-content { max-width: 760px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.85; }
.entry-content h2 {
  font-family: var(--font-head); color: var(--navy-800);
  padding-bottom: .4em; border-bottom: 2px solid var(--accent); margin-top: 2.25em;
}
.entry-content h2:first-of-type { margin-top: 1em; }
.entry-content h3 { font-family: var(--font-head); color: var(--navy-800); }
.entry-content img { border-radius: var(--radius); margin: 1.5em auto; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25em; padding-left: 1.5em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a {
  color: var(--navy-700); text-decoration: underline;
  text-decoration-color: rgba(26,35,126,.3); text-underline-offset: 2px;
  transition: text-decoration-color .2s;
}
.entry-content a:hover { text-decoration-color: var(--navy-700); }
.entry-content strong { color: var(--navy-800); font-weight: 600; }
.entry-content .wp-block-image figcaption {
  text-align: center; font-size: .8rem; color: var(--muted);
  font-family: var(--font-ui); margin-top: .5rem;
}

/* ============================================================
   EDUCATIONAL UI COMPONENTS
   ============================================================ */

/* Definition box */
.def-box {
  background: var(--navy-100); border-left: 4px solid var(--navy-700);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.75em 0;
}
.def-box__label {
  display: block; font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--navy-700); margin-bottom: .4rem;
}
.def-box p:last-child { margin-bottom: 0; }

/* Tip / callout box */
.tip-box {
  background: #fffde7; border: 2px solid var(--accent);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.75em 0;
  display: flex; gap: 1rem; align-items: flex-start;
}
.tip-box__icon { flex-shrink: 0; width: 28px; height: 28px; color: #c8a800; margin-top: .1rem; }
.tip-box__body .tip-box__label {
  display: block; font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: #c8a800; margin-bottom: .3rem;
}
.tip-box__body p:last-child { margin-bottom: 0; }

/* Warning box */
.warn-box {
  background: #fff3e0; border: 2px solid #ef6c00;
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.75em 0;
}
.warn-box__label {
  display: block; font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: #e65100; margin-bottom: .4rem;
}
.warn-box p:last-child { margin-bottom: 0; }

/* Numbered steps list */
.steps-list { list-style: none; padding: 0; margin: 1.5em 0; counter-reset: steps; }
.steps-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: .75rem 0; border-bottom: 1px solid var(--navy-100); counter-increment: steps;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-800); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: .875rem; font-weight: 700; margin-top: .1rem;
}

/* Key fact / stat highlight */
.key-fact {
  text-align: center; background: var(--navy-800); color: #fff;
  border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin: 1.75em 0;
}
.key-fact__number {
  display: block; font-family: var(--font-head); font-size: 2.5rem;
  color: var(--accent); line-height: 1;
}
.key-fact__label { font-family: var(--font-ui); font-size: .9rem; opacity: .85; margin-top: .35rem; }

/* Comparison table */
.compare-table th { background: var(--navy-800); color: #fff; border-color: var(--navy-700); }
.compare-table td.yes::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.compare-table td.no::before  { content: "✗ "; color: #dc2626; font-weight: 700; }

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.toc-wrap {
  background: var(--navy-50); border: 2px solid var(--navy-100);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem;
  font-family: var(--font-ui); border-left: 4px solid var(--navy-700);
}
.toc-wrap__title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .95rem; font-weight: 700; color: var(--navy-800);
  cursor: pointer; user-select: none; font-family: var(--font-ui);
}
.toc-wrap__title svg { width: 18px; height: 18px; transition: transform .2s; color: var(--navy-700); }
.toc-wrap.is-collapsed .toc-wrap__title svg { transform: rotate(-90deg); }
.toc-wrap.is-collapsed .toc-list { display: none; }
.toc-list { list-style: none; padding: 0; margin: .75rem 0 0; }
.toc-list li { padding: .3rem 0; font-size: .875rem; border-bottom: 1px solid rgba(26,35,126,.1); }
.toc-list li:last-child { border-bottom: none; }
.toc-num { font-weight: 700; color: var(--navy-700); display: inline-block; min-width: 2.2em; }
.toc-list li a { color: var(--text); }
.toc-list li a:hover { color: var(--navy-700); }
.toc-list .toc-h3 { padding-left: 1.5em; font-size: .82rem; }

/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-posts { margin: 3rem 0; max-width: 760px; }
.related-posts__title {
  font-family: var(--font-head); font-size: 1.4rem;
  color: var(--navy-800); margin: 0 0 1.25rem;
  padding-bottom: .5rem; border-bottom: 3px solid var(--accent);
}
.related-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

/* ============================================================
   PILLAR PAGE
   ============================================================ */
.pillar-header {
  background: linear-gradient(135deg, var(--navy-800) 60%, var(--navy-700));
  color: #fff; padding: 3rem 0; margin-bottom: 2.5rem;
}
.pillar-header__inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.pillar-header__label {
  display: inline-block; background: var(--accent); color: var(--navy-800);
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: .25rem .8rem;
  border-radius: 20px; margin-bottom: 1rem;
}
.pillar-header__title {
  font-family: var(--font-head); font-size: 2.25rem; color: #fff; line-height: 1.2; margin: 0 0 1rem;
}
.pillar-header__desc { font-size: 1.05rem; opacity: .9; line-height: 1.7; max-width: 640px; font-family: var(--font-ui); }
.pillar-content { max-width: 760px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.85; }
.pillar-content h2 {
  font-family: var(--font-head); color: var(--navy-800);
  border-bottom: 2px solid var(--accent); padding-bottom: .4em; margin-top: 2.25em;
}
.pillar-content h2:first-of-type { margin-top: 1em; }
.pillar-spokes { margin: 3rem 0; }
.pillar-spokes__title {
  font-family: var(--font-head); font-size: 1.4rem;
  color: var(--navy-800); margin: 0 0 1.25rem;
  padding-bottom: .5rem; border-bottom: 3px solid var(--accent);
}
.pillar-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { font-size: .9rem; font-family: var(--font-ui); }
.widget { margin-bottom: 2rem; }
.widget-title {
  font-family: var(--font-head); font-size: 1.1rem;
  color: var(--navy-800); margin: 0 0 .875rem;
  padding-bottom: .4rem; border-bottom: 2px solid var(--accent);
}

/* ============================================================
   CTA AFFILIATE BOX (artykuły)
   ============================================================ */
.cta-box {
  background: var(--navy-800); color: #fff;
  border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; margin: 2rem 0;
}
.cta-box__title {
  font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin: 0 0 .6rem;
}
.cta-box__desc { font-family: var(--font-ui); font-size: .9rem; opacity: .85; margin: 0 0 1.25rem; }
.cta-btn {
  display: inline-block; background: var(--accent); color: var(--navy-800) !important;
  font-family: var(--font-ui); font-weight: 700; font-size: .95rem;
  padding: .75rem 1.75rem; border-radius: 10px; text-decoration: none !important;
  transition: background .2s;
}
.cta-btn:hover { background: #fff; color: var(--navy-800) !important; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; justify-content: center; gap: .5rem; margin: 2.5rem 0;
  font-family: var(--font-ui);
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 .75rem; border-radius: 8px;
  font-size: .875rem; font-weight: 500; border: 2px solid var(--navy-100);
  color: var(--text); transition: all .2s;
}
.pagination a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pagination .current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ============================================================
   FORMS
   ============================================================ */
input[type="text"], input[type="email"], input[type="search"], textarea, select {
  font-family: var(--font-ui); font-size: .9rem; padding: .6rem .85rem;
  border: 2px solid var(--navy-100); border-radius: 8px;
  width: 100%; transition: border-color .2s; background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy-700); }

/* ============================================================
   404 / SEARCH
   ============================================================ */
.not-found, .search-results-header { text-align: center; padding: 4rem 0; }
.not-found h1, .search-results-header h1 { color: var(--navy-800); font-size: 2rem; margin-bottom: 1rem; }

/* ============================================================
   AUTHOR BOX
   ============================================================ */
.author-box {
  display: flex; gap: 1.25rem; background: var(--navy-50);
  border-radius: var(--radius-lg); padding: 1.5rem; margin: 2.5rem 0;
  border-left: 4px solid var(--navy-700);
}
.author-box__avatar { flex-shrink: 0; }
.author-box__avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author-box__name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; color: var(--navy-800); }
.author-box__name a { color: inherit; }
.author-box__bio { font-family: var(--font-ui); font-size: .9rem; color: var(--muted); line-height: 1.6; }
.author-box__label {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 600px+ */
@media (min-width: 600px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Desktop: 900px+ */
@media (min-width: 900px) {
  .hero-slide__title { font-size: 68px; }
  .section-title { font-size: 48px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid::before {
    content: ''; position: absolute; top: 36px;
    left: calc(16.67% + 36px); right: calc(16.67% + 36px);
    height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 0;
  }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .content-area { grid-template-columns: 1fr 300px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner__title { font-size: 52px; }
  .single-header__title { font-size: 2.5rem; }
  .pillar-header__title { font-size: 2.75rem; }
}

/* Wide: 1200px+ */
@media (min-width: 1200px) {
  .content-area { grid-template-columns: 1fr 340px; }
}

/* Mobile: max 600px */
@media (max-width: 599px) {
  .hero-slide__title { font-size: 34px; }
  .hero-slide__content { max-width: 90%; }
  .slide-art { display: none; }
  .hero-slide__desc { font-size: 16px; }
  .section-title { font-size: 30px; }
  .cta-banner__title { font-size: 28px; }
  h1 { font-size: 1.75rem; }
  .single-header__title { font-size: 1.5rem; }
  .pillar-header__title { font-size: 1.75rem; }
  .author-box { flex-direction: column; text-align: center; }
  .tip-box { flex-direction: column; }
  .key-fact__number { font-size: 2rem; }
  .hero-slide__ctas { flex-direction: column; }
  .hero-slide__ctas .btn { text-align: center; justify-content: center; }
  .section-header--flex { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-number { font-size: 36px; }
}

/* Mobile: max 768px */
@media (max-width: 768px) {
  .hero-slide__title { font-size: 38px; }
  .slide-art { display: none; }
  .hero-slide__content { max-width: 100%; }
}
