/* IM Powerhouse Blog v2.0.0 — articles list + single article (.ib-*) */

.ib {
  --ib-ink: #0f172a;
  --ib-body: #334155;
  --ib-muted: #64748b;
  --ib-line: #e5e9f2;
  --ib-soft: #f5f8ff;
  --ib-blue: #2563eb;
  --ib-blue-d: #1d4ed8;
  --ib-blue-t: #eaf1ff;
  --ib-serif: 'DM Serif Display', Georgia, serif;
  --ib-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ib-r: 16px;
  font-family: var(--ib-sans);
  color: var(--ib-body);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  padding-bottom: 96px;
  -webkit-font-smoothing: antialiased;
}
.ib *, .ib *::before, .ib *::after { box-sizing: border-box; }
/* Neutralise Divi's global element styles inside the blog */
.ib h1, .ib h2, .ib h3, .ib h4, .ib h5, .ib h6 { padding: 0; margin: 0; font-weight: 400; color: var(--ib-ink); line-height: 1.2; }
.ib p { padding: 0; margin: 0; }
.ib ul, .ib ol { padding: 0; margin: 0; line-height: inherit; }
.ib a { color: inherit; text-decoration: none; transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.ib img { display: block; max-width: 100%; height: auto; }
.ib .ib-ic { width: 16px; height: 16px; flex: none; }
.ib a:focus-visible, .ib button:focus-visible, .ib input:focus-visible, .ib summary:focus-visible { outline: 2px solid var(--ib-blue); outline-offset: 3px; border-radius: 6px; }
.ib-main { background: #fff; }

.ib-shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ib-shell-narrow > * { max-width: 820px; }

/* ── Buttons ── */
.ib-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px;
  background: var(--ib-blue); color: #fff !important;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(37,99,235,.25), 0 6px 18px -6px rgba(37,99,235,.55);
}
.ib-btn:hover { background: var(--ib-blue-d); transform: translateY(-1px); }
.ib-btn .ib-ic { transition: transform .15s; }
.ib-btn:hover .ib-ic { transform: translateX(3px); }
.ib-btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.ib-btn-light { background: #fff; color: var(--ib-ink) !important; box-shadow: none; }
.ib-btn-light:hover { background: #eef3ff; }

/* ── Hero ── */
.ib-hero {
  position: relative;
  background:
    radial-gradient(900px 340px at 85% -10%, rgba(34,195,238,.16), transparent 70%),
    radial-gradient(800px 380px at 10% 0%, rgba(37,99,235,.12), transparent 70%),
    linear-gradient(180deg, #f3f7ff 0%, #fff 100%);
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--ib-line);
}
.ib-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ib-line);
  font-size: 13px; font-weight: 500; color: var(--ib-muted);
  margin-bottom: 20px;
}
.ib-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.ib-hero-title { font-family: var(--ib-serif) !important; font-size: clamp(36px, 5vw, 58px) !important; line-height: 1.05 !important; letter-spacing: -.01em; max-width: 20ch; }
.ib-hero-sub { margin-top: 18px !important; font-size: 18px; line-height: 1.6; color: var(--ib-muted); max-width: 60ch; }

.ib-search {
  margin-top: 32px; max-width: 560px;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--ib-line); border-radius: 14px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px -12px rgba(15,23,42,.12);
  transition: border-color .15s, box-shadow .15s;
}
.ib-search:focus-within { border-color: var(--ib-blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.ib-search > .ib-ic { color: var(--ib-muted); width: 18px; height: 18px; }
.ib-search input {
  flex: 1; min-width: 0; height: 44px; border: 0 !important; background: transparent !important; box-shadow: none !important;
  font: 400 16px var(--ib-sans); color: var(--ib-ink); padding: 0 !important; outline: none;
}
.ib-search input::placeholder { color: #94a3b8; }
.ib-search input::-webkit-search-cancel-button { display: none; }
.ib-search button {
  height: 44px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--ib-ink); color: #fff; font: 600 14px var(--ib-sans);
}
.ib-search button:hover { background: #1e293b; }

/* ── Topic chips ── */
.ib-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 36px; }
.ib-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--ib-line); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--ib-body);
}
.ib-chip span { font-size: 12px; color: var(--ib-muted); font-variant-numeric: tabular-nums; }
.ib-chip:hover { border-color: #c7d4ee; background: var(--ib-soft); }
.ib-chip.is-active { background: var(--ib-ink); border-color: var(--ib-ink); color: #fff; }
.ib-chip.is-active span { color: rgba(255,255,255,.6); }

.ib-results-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: -12px 0 28px !important; color: var(--ib-muted); }
.ib-results-note a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ib-blue); }
.ib-results-note .ib-ic { width: 14px; height: 14px; }

/* ── Meta line ── */
.ib-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--ib-muted); }
.ib-cat { color: var(--ib-blue); font-weight: 600; }
.ib-new { padding: 3px 9px; border-radius: 999px; background: var(--ib-blue-t); color: var(--ib-blue); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ib-meta time { position: relative; }
.ib-cat + time::before { content: ''; position: absolute; left: -8px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }

/* ── Featured ── */
.ib-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--ib-line); border-radius: 22px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 24px 48px -28px rgba(15,23,42,.25);
  margin-bottom: 56px;
}
.ib-featured-media { display: block; background: var(--ib-soft); min-height: 360px; overflow: hidden; position: relative; }
.ib-featured-media > img, .ib-featured-media > .ib-thumb-ph { position: absolute; inset: 0; }
.ib-featured-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ib-featured:hover .ib-featured-media > img { transform: scale(1.03); }
.ib-featured-body { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ib-featured-title { font-family: var(--ib-serif) !important; font-size: clamp(26px, 2.8vw, 36px) !important; line-height: 1.12 !important; }
.ib-featured-title a:hover { color: var(--ib-blue); }
.ib-featured-excerpt { font-size: 16px; color: var(--ib-muted); line-height: 1.65; }
.ib-featured .ib-btn { align-self: flex-start; margin-top: 6px; }

/* ── Grid cards ── */
.ib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.ib-card { display: flex; flex-direction: column; min-width: 0; }
.ib-card-media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ib-r);
  background: var(--ib-soft); border: 1px solid var(--ib-line);
}
.ib-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ib-card:hover .ib-card-media > img { transform: scale(1.04); }
.ib-card-body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; flex: 1; }
.ib-card-title { font-family: var(--ib-sans) !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: -.01em; }
.ib-card-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ib-card-title a:hover { color: var(--ib-blue); }
.ib-card-excerpt { font-size: 15px; line-height: 1.6; color: var(--ib-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ib-card-foot { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ib-muted); }
.ib-card-foot .ib-ic { width: 14px; height: 14px; }

.ib-thumb-ph {
  width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 22px;
  background: radial-gradient(400px 200px at 90% 0%, rgba(34,195,238,.35), transparent 70%), linear-gradient(140deg, #0f172a, #1e3a8a);
}
.ib-thumb-ph { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(400px 200px at 90% 0%, rgba(34,195,238,.35), transparent 70%), linear-gradient(140deg, #0f172a, #1e3a8a); background-size: 28px 28px, 28px 28px, auto, auto; justify-content: space-between; align-items: flex-end; }
.ib-thumb-ph span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.ib-thumb-ph .ib-mark { width: 52px; height: 52px; border: 0; box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* ── Empty ── */
.ib-empty { text-align: center; padding: 72px 24px; border: 1px dashed #cbd5e1; border-radius: 22px; background: var(--ib-soft); }
.ib-empty .ib-ic { width: 32px; height: 32px; color: #94a3b8; margin: 0 auto 16px; }
.ib-empty h2 { font-family: var(--ib-serif) !important; font-size: 28px !important; }
.ib-empty p { margin: 8px 0 24px !important; color: var(--ib-muted); }

/* ── Pagination ── */
.ib-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 64px; flex-wrap: wrap; }
.ib-pg-nums { display: flex; gap: 6px; }
.ib-pg {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--ib-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ib-body);
  font-variant-numeric: tabular-nums;
}
a.ib-pg:hover { border-color: #c7d4ee; background: var(--ib-soft); }
.ib-pg.is-active { background: var(--ib-ink); border-color: var(--ib-ink); color: #fff; }
.ib-pg-gap { border-color: transparent; background: none; color: #94a3b8; min-width: 20px; padding: 0; }

/* ── CTA band ── */
.ib-cta {
  margin-top: 80px; padding: 44px 48px; border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: radial-gradient(600px 260px at 100% 0%, rgba(34,195,238,.25), transparent 70%), linear-gradient(135deg, #0b1224, #13235a);
  color: rgba(255,255,255,.72);
}
.ib-cta h2 { font-family: var(--ib-serif) !important; color: #fff !important; font-size: clamp(26px, 3vw, 34px) !important; }
.ib-cta p { margin-top: 8px !important; max-width: 52ch; font-size: 16px; }
.ib-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ib-cta-link { color: #fff !important; font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.ib-cta-link:hover { border-color: #fff; }

/* ════════ Single article ════════ */
.ib-hero-post { padding: 56px 0 44px; border-bottom: 0; }
.ib-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ib-muted); margin-bottom: 26px; }
.ib-crumbs a:hover { color: var(--ib-blue); }
.ib-crumbs span { color: #cbd5e1; }
.ib-crumbs a:last-child { color: var(--ib-blue); font-weight: 600; }
.ib-post-title { font-family: var(--ib-serif) !important; font-size: clamp(34px, 4.6vw, 54px) !important; line-height: 1.08 !important; letter-spacing: -.01em; text-wrap: balance; }
.ib-post-dek { margin-top: 20px !important; font-size: 20px; line-height: 1.55; color: var(--ib-muted); max-width: 62ch; }
.ib-byline { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.ib-byline strong { display: block; color: var(--ib-ink); font-size: 15px; font-weight: 600; }
.ib-byline span { display: block; font-size: 14px; color: var(--ib-muted); }
.ib-byline i { font-style: normal; margin: 0 8px; color: #cbd5e1; }
.ib-mark {
  width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--ib-line);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  font-weight: 700; font-size: 14px; color: var(--ib-blue);
}
.ib-mark img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }

.ib-cover { max-width: 1180px; margin: 0 auto 8px !important; }
.ib-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 22px; border: 1px solid var(--ib-line); box-shadow: 0 30px 60px -34px rgba(15,23,42,.35); }

.ib-article-grid { display: grid; grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; gap: 64px; margin-top: 56px; }

/* Rail */
.ib-rail { position: relative; }
.ib-rail-inner { position: sticky; top: 110px; max-height: calc(100vh - 130px); display: flex; flex-direction: column; gap: 20px; }
.ib-toc { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ib-rail-cta { flex: none; }
.ib-rail-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ib-muted); margin-bottom: 12px !important; }
.ib-toc ol { list-style: none !important; border-left: 1px solid var(--ib-line); }
.ib-toc li { margin: 0; padding: 0; }
.ib-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--ib-muted); }
.ib-toc a:hover { color: var(--ib-ink); }
.ib-toc a.is-active { color: var(--ib-blue); border-left-color: var(--ib-blue); font-weight: 600; }
.ib-rail-cta { padding: 22px; border-radius: var(--ib-r); background: var(--ib-soft); border: 1px solid var(--ib-line); }
.ib-rail-cta p:not(.ib-rail-label) { font-size: 14px; line-height: 1.55; margin-bottom: 16px !important; }

.ib-toc-mobile { display: none; }

/* Prose */
.ib-prose { min-width: 0; font-size: 18px; line-height: 1.75; color: var(--ib-body); }
.ib-prose > article { display: contents; }
.ib-prose p { margin: 0 0 1.3em !important; }
.ib-prose h2 { font-family: var(--ib-serif) !important; font-size: 32px !important; line-height: 1.18 !important; margin: 1.9em 0 .6em !important; scroll-margin-top: 110px; }
.ib-prose h3 { font-family: var(--ib-sans) !important; font-size: 21px !important; font-weight: 600 !important; line-height: 1.35 !important; margin: 1.6em 0 .5em !important; letter-spacing: -.005em; }
.ib-prose h4 { font-size: 18px !important; font-weight: 700 !important; margin: 1.4em 0 .4em !important; }
.ib-prose > :first-child, .ib-prose > article > :first-child, .ib-prose > .ib-toc-mobile + * { margin-top: 0 !important; }
.ib-prose a:not(.ib-share):not(.ib-btn) { color: var(--ib-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(37,99,235,.35); }
.ib-prose a:not(.ib-share):not(.ib-btn):hover { text-decoration-color: currentColor; }
.ib-prose strong { color: var(--ib-ink); font-weight: 600; }
.ib-prose ul, .ib-prose ol { margin: 0 0 1.4em !important; padding-left: 1.3em !important; }
.ib-prose ul { list-style: disc !important; }
.ib-prose ol { list-style: decimal !important; }
.ib-prose li { margin: .4em 0; padding-left: .3em; }
.ib-prose li::marker { color: var(--ib-blue); }
.ib-prose blockquote { margin: 1.8em 0 !important; padding: 4px 0 4px 24px !important; border-left: 3px solid var(--ib-blue) !important; font-family: var(--ib-serif); font-size: 24px; line-height: 1.4; color: var(--ib-ink); }
.ib-prose blockquote p { margin: 0 !important; }
.ib-prose img { border-radius: 14px; margin: 1.8em auto; max-width: 100%; max-height: 620px; width: auto; height: auto !important; }
.ib-prose img.alignleft, .ib-prose img.alignright, .ib-prose img[style*="float"] { max-width: 45%; margin-top: .3em; margin-bottom: 1em; }
.ib-prose figure { margin: 1.8em 0 !important; }
.ib-prose figure img { margin: 0; }
.ib-prose figcaption { font-size: 14px; color: var(--ib-muted); margin-top: 10px; text-align: center; }
.ib-prose hr { border: 0; border-top: 1px solid var(--ib-line); margin: 2.4em 0; }
.ib-prose code { font-size: .88em; background: var(--ib-soft); border: 1px solid var(--ib-line); border-radius: 6px; padding: 1px 6px; }
.ib-prose pre { background: var(--ib-ink); color: #e2e8f0; border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: 14px; margin: 0 0 1.5em; }

.ib-table { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--ib-line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.ib-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0 !important; border: 0 !important; }
.ib-prose th { background: var(--ib-soft); color: var(--ib-ink); font-weight: 600; text-align: left; padding: 12px 16px !important; border: 0 !important; border-bottom: 1px solid var(--ib-line) !important; white-space: nowrap; }
.ib-prose td { padding: 12px 16px !important; border: 0 !important; border-top: 1px solid var(--ib-line) !important; vertical-align: top; }
.ib-prose tr:first-child td { border-top: 0 !important; }
.ib-prose tbody tr:nth-child(even) td { background: #fbfcff; }

/* FAQ block */
.ib-faq { margin: 2.6em 0 0; padding: 32px 32px 12px; border-radius: 20px; background: var(--ib-soft); border: 1px solid var(--ib-line); }
.ib-faq > h2 { margin: 0 0 18px !important; font-size: 28px !important; }
.ib-faq-item { background: #fff; border: 1px solid var(--ib-line); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; }
.ib-faq-item h3 { margin: 0 0 8px !important; font-size: 18px !important; }
.ib-faq-a { font-size: 16px; line-height: 1.65; }
.ib-faq-a p:last-child { margin-bottom: 0 !important; }

/* Tags / share / about */
.ib-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ib-tags a { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--ib-soft); border: 1px solid var(--ib-line); color: var(--ib-body) !important; text-decoration: none !important; }
.ib-tags a:hover { border-color: #c7d4ee; }

.ib-share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ib-line); }
.ib-share-row > span { font-size: 14px; font-weight: 600; color: var(--ib-ink); margin-right: 8px; }
.ib-share {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ib-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ib-body); cursor: pointer; padding: 0;
  text-decoration: none !important;
}
.ib-share svg { width: 18px; height: 18px; }
.ib-share:hover { border-color: var(--ib-blue); color: var(--ib-blue); background: var(--ib-blue-t); }
.ib-copy .ib-ic + .ib-ic { display: none; }
.ib-copy.is-done { border-color: #22c55e; color: #16a34a; background: #f0fdf4; }
.ib-copy.is-done .ib-ic:first-child { display: none; }
.ib-copy.is-done .ib-ic + .ib-ic { display: block; }

.ib-about { display: flex; gap: 16px; margin-top: 28px; padding: 24px; border-radius: var(--ib-r); border: 1px solid var(--ib-line); }
.ib-about strong { display: block; color: var(--ib-ink); font-size: 16px; margin-bottom: 4px; }
.ib-about p { margin: 0 !important; font-size: 15px; line-height: 1.6; color: var(--ib-muted); }

/* Prev / next */
.ib-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.ib-pn { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: var(--ib-r); border: 1px solid var(--ib-line); background: #fff; }
.ib-pn span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ib-muted); }
.ib-pn strong { font-size: 17px; font-weight: 600; color: var(--ib-ink); line-height: 1.35; }
.ib-pn:hover { border-color: #c7d4ee; box-shadow: 0 12px 30px -18px rgba(15,23,42,.3); }
.ib-pn:hover strong { color: var(--ib-blue); }
.ib-pn-next { text-align: right; align-items: flex-end; }

/* Keep reading */
.ib-more { margin-top: 88px; padding-top: 72px; border-top: 1px solid var(--ib-line); background: linear-gradient(180deg, var(--ib-soft), #fff 320px); }
.ib-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ib-more-head h2 { font-family: var(--ib-serif) !important; font-size: clamp(30px, 3.4vw, 40px) !important; }
.ib-more-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ib-blue); white-space: nowrap; }
.ib-more-head a:hover { gap: 9px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .ib-article-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
  .ib-rail { display: none; }
  .ib-toc-mobile { display: block; margin: 0 0 36px; border: 1px solid var(--ib-line); border-radius: 14px; background: var(--ib-soft); }
  .ib-toc-mobile summary { cursor: pointer; padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--ib-ink); list-style: none; display: flex; justify-content: space-between; }
  .ib-toc-mobile summary::-webkit-details-marker { display: none; }
  .ib-toc-mobile summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--ib-muted); }
  .ib-toc-mobile[open] summary::after { content: '–'; }
  .ib-toc-mobile ol { margin: 0 !important; padding: 0 20px 16px 38px !important; font-size: 15px; line-height: 1.5; }
  .ib-toc-mobile li { margin: .5em 0; }
  .ib-toc-mobile a { color: var(--ib-body) !important; text-decoration: none !important; }
}
@media (max-width: 960px) {
  .ib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-featured { grid-template-columns: 1fr; }
  .ib-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .ib-featured-body { padding: 28px; }
}
@media (max-width: 640px) {
  .ib { padding-bottom: 64px; }
  .ib-shell { padding: 0 18px; }
  .ib-hero { padding: 44px 0 32px; }
  .ib-hero-post { padding: 36px 0 28px; }
  .ib-hero-sub { font-size: 16px; }
  .ib-grid { grid-template-columns: 1fr; gap: 36px; }
  .ib-topics { flex-wrap: nowrap; overflow-x: auto; margin: 24px -18px 28px; padding: 0 18px; scrollbar-width: none; }
  .ib-topics::-webkit-scrollbar { display: none; }
  .ib-chip { flex: none; }
  .ib-featured { margin-bottom: 40px; border-radius: 18px; }
  .ib-featured-body { padding: 22px; gap: 14px; }
  .ib-search button { padding: 0 14px; }
  .ib-cta { padding: 32px 24px; margin-top: 56px; }
  .ib-pager .ib-pg-dir span { display: none; }
  .ib-post-dek { font-size: 18px; }
  .ib-cover { padding: 0 !important; }
  .ib-cover img { border-radius: 0; border-left: 0; border-right: 0; max-height: 300px; }
  .ib-article-grid { margin-top: 36px; }
  .ib-prose { font-size: 17px; }
  .ib-prose h2 { font-size: 27px !important; }
  .ib-prose h3 { font-size: 19px !important; }
  .ib-faq { padding: 22px 16px 6px; margin-left: -4px; margin-right: -4px; }
  .ib-prevnext { grid-template-columns: 1fr; }
  .ib-pn-next { text-align: left; align-items: flex-start; }
  .ib-more { margin-top: 64px; padding-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .ib *, .ib *::before, .ib *::after { transition: none !important; }
}
