/* ==========================================================================
   turbini blog theme — full stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --turbini-blue:   #1A56DB;
  --turbini-coral:  #FF6B35;
  --midnight:       #0F172A;
  --sage:           #22C55E;
  --amber:          #F59E0B;
  --cloud:          #F1F5F9;
  --mist:           #94A3B8;
  --snow:           #FFFFFF;

  --blue-50:        #EEF2FF;
  --blue-100:       #DBE4FB;
  --blue-200:       #B7C9F7;
  --blue-500:       #1A56DB;
  --blue-600:       #1747B8;
  --blue-700:       #133A95;
  --coral-50:       #FFF1EB;
  --coral-100:      #FFDBC9;
  --coral-500:      #FF6B35;
  --coral-600:      #E5571F;
  --slate-50:       #F8FAFC;
  --slate-100:      #F1F5F9;
  --slate-200:      #E2E8F0;
  --slate-300:      #CBD5E1;
  --slate-400:      #94A3B8;
  --slate-500:      #64748B;
  --slate-700:      #334155;
  --slate-900:      #0F172A;

  --bg:             var(--snow);
  --bg-muted:       var(--cloud);
  --bg-dark:        var(--midnight);
  --surface:        var(--snow);
  --surface-muted:  var(--slate-50);
  --border:         var(--slate-200);
  --border-strong:  var(--slate-300);

  --fg-1:           var(--midnight);
  --fg-2:           var(--slate-700);
  --fg-3:           var(--slate-500);
  --fg-muted:       var(--mist);
  --fg-link:        var(--turbini-blue);

  --font-display:   'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:      'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:      ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-display:     56px;
  --fs-h1:          40px;
  --fs-h2:          32px;
  --fs-h3:          24px;
  --fs-body-lg:     18px;
  --fs-body:        16px;
  --fs-body-sm:     14px;
  --fs-caption:     13px;
  --fs-micro:       12px;

  --lh-tight:       1.1;
  --lh-snug:        1.25;
  --lh-base:        1.5;
  --lh-loose:       1.7;

  --radius-xs:      4px;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      20px;
  --radius-2xl:     28px;
  --radius-pill:    999px;

  --shadow-xs:      0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm:      0 2px 6px rgba(15,23,42,0.06);
  --shadow-md:      0 6px 16px rgba(15,23,42,0.08);
  --shadow-lg:      0 16px 40px rgba(15,23,42,0.10);
  --shadow-blue:    0 10px 30px rgba(26,86,219,0.18);
  --shadow-coral:   0 8px 24px rgba(255,107,53,0.25);

  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:       140ms;
  --dur-base:       220ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

/* ── Container ── */
.tb-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ============================================================
   Newsletter slim band
   ============================================================ */
.nl-band {
  background: var(--midnight);
  color: var(--snow);
  font-size: 13px;
  padding: 10px 0;
}
.nl-band .tb-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nl-band-text { opacity: 0.92; font-weight: 500; }
.nl-band-text b { color: var(--snow); font-weight: 600; }
.nl-band-coral { color: var(--coral-500); font-weight: 600; }
.nl-band-form {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 3px 3px 3px 14px;
  gap: 10px;
}
.nl-band-form input {
  background: transparent;
  border: 0;
  color: var(--snow);
  font: inherit;
  font-size: 13px;
  width: 200px;
  outline: none;
}
.nl-band-form input::placeholder { color: rgba(255,255,255,0.5); }
.nl-band-form button {
  background: var(--coral-500);
  color: var(--snow);
  border: 0;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ============================================================
   Header
   ============================================================ */
.tb-header {
  border-bottom: 1px solid var(--border);
  background: var(--snow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.tb-header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.tb-logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--turbini-blue);
  flex-shrink: 0;
}
.tb-logo .word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
}
.tb-logo .word::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--coral-500);
  border-radius: 50%;
  margin-left: 2px;
  margin-bottom: 14px;
  position: relative;
}
.tb-logo .divider { color: var(--border-strong); font-weight: 300; font-size: 22px; }
.tb-logo .section-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--slate-700);
  letter-spacing: -0.02em;
}
.tb-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.tb-nav a {
  color: var(--slate-700);
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.tb-nav a:hover { color: var(--turbini-blue); }
.tb-nav a.current-menu-item,
.tb-nav a.current_page_item { color: var(--turbini-blue); }
.tb-nav a.current-menu-item::after,
.tb-nav a.current_page_item::after {
  content: "";
  position: absolute;
  bottom: -22px; left: 0; right: 0; height: 2px;
  background: var(--coral-500);
}
.tb-header-spacer { flex: 1; }
.tb-header-right { display: flex; align-items: center; gap: 14px; }
.tb-search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--fg-3);
  font-size: 13.5px;
  cursor: pointer;
  min-width: 200px;
}
.tb-search-toggle svg { color: var(--slate-400); flex-shrink: 0; }
.tb-cta {
  background: var(--coral-500);
  color: var(--snow);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  box-shadow: var(--shadow-coral);
  white-space: nowrap;
  flex-shrink: 0;
}
.tb-cta:hover { background: var(--coral-600); color: var(--snow); }

/* Search overlay */
.tb-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.7);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.tb-search-overlay.open { display: flex; }
.tb-search-box {
  background: var(--snow);
  border-radius: var(--radius-xl);
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 640px;
  max-width: 90vw;
  box-shadow: var(--shadow-lg);
}
.tb-search-box input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 18px;
  color: var(--fg-1);
  background: transparent;
}
.tb-search-box input::placeholder { color: var(--fg-muted); }
.tb-search-box button[type="submit"] {
  background: var(--turbini-blue);
  color: var(--snow);
  border: 0;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
}
.tb-search-close {
  background: transparent;
  border: 0;
  color: var(--fg-3);
  font-size: 20px;
  padding: 8px;
  line-height: 1;
}

/* ============================================================
   Category strip
   ============================================================ */
.cat-strip {
  border-bottom: 1px solid var(--border);
  background: var(--snow);
}
.cat-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--snow);
  white-space: nowrap;
  transition: all var(--dur-fast) var(--ease-out);
}
.cat-chip:hover { border-color: var(--blue-200); color: var(--turbini-blue); }
.cat-chip.active {
  background: var(--midnight);
  color: var(--snow);
  border-color: var(--midnight);
}
.cat-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.cat-strip-sort {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--fg-3);
}

/* ============================================================
   Category colors & tags
   ============================================================ */
.cat-marketing   { --cat-color: var(--coral-500); }
.cat-estrategia  { --cat-color: var(--turbini-blue); }
.cat-cases       { --cat-color: var(--sage); }
.cat-produto     { --cat-color: var(--amber); }

.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-700);
}
.cat-tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--cat-color, var(--coral-500));
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-tag.on-dark { color: var(--snow); }

/* ============================================================
   Article cards
   ============================================================ */
.art-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.art-card .art-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cloud);
  aspect-ratio: 16 / 10;
  position: relative;
}
.art-card .art-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.art-card .art-img .img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  position: absolute;
  inset: 0;
}
.art-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--fg-1);
}
.art-card h3 a:hover { color: var(--turbini-blue); }
.art-card .art-dek {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-card .art-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--fg-3);
  flex-wrap: wrap;
}
.art-meta .author-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.art-meta .ava {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cloud);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-block;
}
.art-meta .ava img { width: 100%; height: 100%; object-fit: cover; }
.art-meta .author-name { font-weight: 500; color: var(--slate-700); }
.art-meta .sep::before { content: "·"; margin: 0 2px; color: var(--slate-300); }

/* ============================================================
   Grids
   ============================================================ */
.mag-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mag-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ============================================================
   Section headers
   ============================================================ */
.sect { padding: 64px 0; }
.sect.tight { padding: 40px 0; }
.sect-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}
.sect-h h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--fg-1);
}
.see-all {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--turbini-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.see-all:hover { color: var(--blue-700); }
.see-all svg { flex-shrink: 0; }

/* ============================================================
   Featured hero — Midnight
   ============================================================ */
.feat-hero {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--snow);
  border-radius: var(--radius-2xl);
  padding: 56px;
}
.feat-hero-bg-glow {
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(255,107,53,0.22), transparent 70%);
  pointer-events: none;
}
.feat-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feat-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 16px 0 16px;
  color: var(--snow);
}
.feat-hero-content h1 .accent {
  position: relative;
  white-space: nowrap;
}
.feat-hero-content h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  background: var(--coral-500);
  border-radius: 3px;
}
.feat-hero-content .dek {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
  max-width: 480px;
}
.feat-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
}
.feat-author-row .ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--slate-200);
  overflow: hidden;
  flex-shrink: 0;
}
.feat-author-row .ava img { width: 100%; height: 100%; object-fit: cover; }
.feat-author-row .nm { font-weight: 500; color: var(--snow); }
.feat-author-row .role { color: rgba(255,255,255,0.6); font-size: 12.5px; }
.feat-hero-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.18); }
.feat-read-time { color: rgba(255,255,255,0.7); font-size: 13px; }
.feat-hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cloud);
  box-shadow: var(--shadow-lg);
}
.feat-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.feat-img-badge {
  position: absolute;
  left: 16px; top: 16px;
  background: var(--snow);
  color: var(--midnight);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.feat-img-pulse {
  width: 7px; height: 7px;
  background: var(--coral-500);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.feat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 18px;
}

/* ============================================================
   Newsletter card
   ============================================================ */
.nl-card {
  background: var(--midnight);
  color: var(--snow);
  border-radius: var(--radius-2xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.nl-card-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 10px;
}
.nl-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--snow);
  position: relative;
}
.nl-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0 0 24px;
  max-width: 420px;
  position: relative;
}
.nl-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 5px 5px 5px 18px;
  align-items: center;
  position: relative;
  max-width: 440px;
}
.nl-form input {
  background: transparent;
  border: 0;
  flex: 1;
  font: inherit;
  font-size: 14.5px;
  color: var(--snow);
  outline: none;
  padding: 8px 0;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.5); }
.nl-form button {
  background: var(--coral-500);
  color: var(--snow);
  border: 0;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-coral);
}
.nl-form button:hover { background: var(--coral-600); }
.nl-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.nl-meta .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: 0.6; }
.nl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.nl-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.nl-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--snow);
}
.nl-stat .lbl {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ============================================================
   Category section rows
   ============================================================ */
.cat-row-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 48px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.cat-row-h h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0;
}
.cat-row-h .pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-3);
  background: var(--slate-50);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================================
   Footer
   ============================================================ */
.tb-footer {
  background: var(--midnight);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
  margin-top: 64px;
}
.tb-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.6), transparent);
}
.tb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.tb-footer .brand-block .logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--snow);
  margin-bottom: 12px;
}
.tb-footer .brand-block .logo .dot {
  width: 9px; height: 9px;
  background: var(--coral-500);
  border-radius: 50%;
  margin-left: 2px;
  align-self: flex-start;
  margin-top: 8px;
}
.tb-footer .brand-block p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 0 20px;
  color: rgba(255,255,255,0.6);
}
.tb-footer-cta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-footer-cta-row .tb-cta {
  background: var(--coral-500);
  box-shadow: none;
  font-size: 13px;
  padding: 9px 16px;
}
.tb-footer-cta-row .sales-link {
  color: var(--snow);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 14px;
}
.tb-footer h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--snow);
  margin: 0 0 14px;
}
.tb-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tb-footer ul a { color: rgba(255,255,255,0.7); font-size: 14px; }
.tb-footer ul a:hover { color: var(--coral-500); }
.tb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.tb-social { display: flex; gap: 10px; }
.tb-social a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}
.tb-social a:hover { border-color: var(--coral-500); color: var(--coral-500); }

/* ============================================================
   Single Post
   ============================================================ */

/* Sticky header + progress bar */
.tb-sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.progress-bar {
  height: 3px;
  background: var(--slate-100);
  position: relative;
}
.progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--turbini-blue), var(--coral-500));
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* Post hero */
.post-hero {
  background: var(--midnight);
  color: var(--snow);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.post-hero-wrap {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.post-crumb {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.post-crumb a { color: rgba(255,255,255,0.6); }
.post-crumb a:hover { color: var(--coral-500); }
.post-crumb .arrow { color: rgba(255,255,255,0.3); }
.post-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 18px 0 22px;
  color: var(--snow);
}
.post-hero .post-dek {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto 32px;
}
.post-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
}
.post-meta-row .author-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.post-meta-row .ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--slate-600);
  overflow: hidden;
  flex-shrink: 0;
}
.post-meta-row .ava img { width: 100%; height: 100%; object-fit: cover; }
.post-meta-row .nm { font-weight: 500; color: var(--snow); }
.post-meta-row .sep { width: 4px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 50%; }

/* Cover image */
.post-cover {
  margin: -40px auto 0;
  max-width: 1080px;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.post-cover-frame {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--cloud);
  box-shadow: var(--shadow-lg);
}
.post-cover-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cover-caption {
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 14px;
}

/* Body wrap with rails */
.post-body-wrap {
  max-width: 1080px;
  margin: 56px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 56px 1fr 240px;
  gap: 40px;
  align-items: flex-start;
}

/* Share rail */
.share-rail {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.share-rail .rail-lbl {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 8px;
}
.share-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--snow);
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
  cursor: pointer;
}
.share-btn:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.share-btn.wa { background: #25D366; color: var(--snow); border-color: #25D366; box-shadow: 0 6px 16px rgba(37,211,102,0.3); }
.share-btn.wa:hover { background: #1FB755; }

/* Post body */
.post-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg-2);
  min-width: 0;
}
.post-body > * + * { margin-top: 22px; }
.post-body p { margin: 0; }
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg-1);
  margin: 48px 0 0;
}
.post-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--fg-1);
  margin: 36px 0 0;
}
.post-body strong { color: var(--fg-1); font-weight: 600; }
.post-body em { font-style: italic; }
.post-body a { color: var(--turbini-blue); border-bottom: 1px solid var(--blue-200); }
.post-body a:hover { border-bottom-color: var(--turbini-blue); }
.post-body blockquote {
  margin: 32px 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--coral-500);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--fg-1);
}
.post-body blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--fg-3);
  margin-top: 12px;
}
.post-body ul, .post-body ol { padding-left: 22px; margin: 0; }
.post-body li + li { margin-top: 8px; }
.post-body figure { margin: 36px 0; }
.post-body figure img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.post-body figcaption {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 10px;
  text-align: center;
}
.post-body .wp-block-pullquote {
  margin: 40px -24px;
  padding: 32px;
  background: var(--cloud);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--turbini-blue);
  border-top: none;
  border-right: none;
  border-bottom: none;
}

/* Inline newsletter */
.post-body .inline-nl,
.inline-nl {
  margin: 48px 0;
  padding: 32px;
  background: var(--midnight);
  border-radius: var(--radius-xl);
  color: var(--snow);
  position: relative;
  overflow: hidden;
}
.inline-nl .nl-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 8px;
}
.inline-nl h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--snow);
}
.inline-nl p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.72);
}
.inline-nl form {
  display: flex;
  gap: 8px;
  max-width: 100%;
}
.inline-nl form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--snow);
  font: inherit;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  outline: none;
}
.inline-nl form input::placeholder { color: rgba(255,255,255,0.5); }
.inline-nl form button {
  background: var(--coral-500);
  color: var(--snow);
  border: 0;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 999px;
}

/* Right rail */
.right-rail {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.toc-card {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}
.toc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: toc; }
.toc-list li {
  font-size: 13.5px;
  color: var(--slate-500);
  line-height: 1.4;
  counter-increment: toc;
  cursor: pointer;
}
.toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-300);
  margin-right: 10px;
}
.toc-list a { color: inherit; }
.toc-list a:hover { color: var(--turbini-blue); }
.reading-card {
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: 18px;
}
.reading-card .rc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 10px;
}
.reading-card .rc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 5px 0;
  color: var(--fg-2);
}
.reading-card .rc-val {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-1);
}
.next-card {
  background: var(--midnight);
  color: var(--snow);
  border-radius: var(--radius-md);
  padding: 18px;
}
.next-card .nc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.next-card .nc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--snow);
  margin-top: 8px;
}
.next-card .nc-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.next-card .nc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--coral-500);
  font-size: 13px;
  font-weight: 500;
}

/* Author bio */
.author-bio {
  max-width: 780px;
  margin: 64px auto 0;
  padding: 32px;
  background: var(--cloud);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.author-bio .bio-ava {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--slate-200);
  flex-shrink: 0;
}
.author-bio .bio-ava img { width: 100%; height: 100%; object-fit: cover; }
.author-bio .bio-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 6px;
}
.author-bio h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--fg-1);
}
.author-bio p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.author-bio .bio-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  flex-wrap: wrap;
}
.author-bio .bio-links a {
  color: var(--turbini-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Share strip */
.share-strip {
  padding: 64px 0 40px;
}
.share-strip-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.share-strip h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--fg-1);
}
.share-strip-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--snow);
  color: var(--slate-700);
  cursor: pointer;
  text-decoration: none;
}
.share-btn-lg.wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}
.share-btn-lg:hover { border-color: var(--border-strong); }
.share-btn-lg.wa:hover { background: #1FB755; }

/* Related posts */
.related-posts {
  background: var(--slate-50);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.related-posts h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-align: center;
}
.related-posts .mag-grid-3 { }

/* ============================================================
   Archive / category page
   ============================================================ */
.archive-header {
  background: var(--midnight);
  color: var(--snow);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.archive-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 12px 0 16px;
  color: var(--snow);
}
.archive-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.archive-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 8px;
}

/* ============================================================
   Pagination
   ============================================================ */
.tb-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 48px 0;
}
.tb-pagination a,
.tb-pagination span {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--fg-2);
}
.tb-pagination a:hover { border-color: var(--turbini-blue); color: var(--turbini-blue); }
.tb-pagination .current {
  background: var(--turbini-blue);
  color: var(--snow);
  border-color: var(--turbini-blue);
}

/* ============================================================
   404 / No results
   ============================================================ */
.no-results-hero {
  padding: 96px 0;
  text-align: center;
}
.no-results-hero h1 {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: var(--slate-200);
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.no-results-hero h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.no-results-hero p { font-size: 17px; color: var(--fg-2); margin: 0 0 32px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .mag-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feat-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-hero { padding: 40px; }
  .feat-hero-img-wrap { max-width: 540px; }
  .post-body-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .share-rail { display: none; }
  .right-rail { display: none; }
  .tb-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nl-card { grid-template-columns: 1fr; }
  .nl-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .tb-container { padding: 0 20px; }
  .tb-nav { display: none; }
  .tb-search-toggle { display: none; }
  .mag-grid-3 { grid-template-columns: 1fr; }
  .mag-grid-2 { grid-template-columns: 1fr; }
  .feat-hero { padding: 28px; border-radius: var(--radius-lg); }
  .feat-hero-content h1 { font-size: 32px; }
  .post-hero h1 { font-size: 34px; }
  .post-hero { padding: 48px 0; }
  .post-cover { margin-top: -24px; padding: 0 20px; }
  .post-body-wrap { margin-top: 32px; }
  .author-bio { grid-template-columns: 1fr; }
  .nl-card { padding: 28px; border-radius: var(--radius-lg); }
  .nl-stats { grid-template-columns: repeat(2, 1fr); }
  .tb-footer-grid { grid-template-columns: 1fr; }
  .tb-footer-bottom { flex-direction: column; text-align: center; }
  .share-strip-btns { flex-direction: column; align-items: center; }
  .archive-header h1 { font-size: 32px; }
}

/* ============================================================
   WP Core overrides
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--fg-3); margin-top: 8px; text-align: center; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.gallery { display: grid; gap: 16px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }

/* SVG icons helper */
.icon { display: inline-block; vertical-align: middle; }
