/* Jeddle Learn — hub, topic pages and articles (2026-09 redesign).
 *
 * Loaded on the /learn hub, blog_category topic pages, Learn articles and the
 * AEO comparison template (includes/blog.php). New surfaces are scoped to
 * body.jeddle-learn-v2 (includes/learn/learn-assets.php) and .jeddle-* classes.
 *
 * Brand fonts only: Sen for display, IBM Plex Sans for reading. Colour: the
 * logo's yellow (#FFDC0F) as the surface, deep indigo for ink, violet (#4801D4)
 * only for actions.
 *
 * Two site headers sit over the top of every Learn page, both fixed:
 *   - logged-out visitors get the rebuilt header (body.jl-header-only): opaque
 *     white. landing.css pads <body> by (header height - 90px) from 1024px and
 *     (height - 122px) between 768 and 1023, so a page top reserves exactly
 *     90px / 122px / 90px (<768) and gets the rest from the body padding;
 *   - signed-in visitors get the legacy header: transparent with white links,
 *     122px tall above 1100px and 75px below. The band paints a dark strip
 *     behind it so those links stay readable.
 *
 * Global theme rules this file has to neutralise (css/common-styles.css):
 * `body ol li:before` paints red counters on every <ol>; `body article ul li:before`
 * adds a "•"; `body h1` is white; `.entry-content a:after` draws an animated
 * underline under every link in the article body, buttons included.
 * ====================================================================== */

@font-face {
  font-family: "Sen";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/sen/Sen-Latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.jeddle-learn-v2 {
  --jl2-yellow: #ffdc0f;
  --jl2-ink: #1e1446;
  --jl2-text: #2c2742;
  --jl2-ink2: #514b67;
  --jl2-ink3: #655f7c;
  --jl2-rule: #e4e1ec;
  --jl2-paper: #f6f4fa;
  --jl2-violet: #4801d4;
  --jl2-violet-dark: #3900ab;
  --jl2-band: #1c1240;
  --jl2-cyan: #00defe;
  --jl2-display: "Sen", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --jl2-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --jl2-hdr: 90px;      /* what the page top reserves under the rebuilt header */
  --jl2-legacy: 122px;  /* legacy (signed-in) header height */
  background: #fff;
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.jeddle-learn-v2 { --jl2-hdr: 122px; }
}
@media (max-width: 1100px) {
  body.jeddle-learn-v2 { --jl2-legacy: 75px; }
}

/* ---------------------------------------------------------------- resets */
body.jeddle-learn-v2 .jeddle-hub,
body.jeddle-learn-v2 .jeddle-article { font-family: var(--jl2-body); color: var(--jl2-text); }
/* Resets sit at (0,1,1) via :where(): above the theme's `body p` / `body h2`
 * (0,0,2), below every component rule (0,2,1)+. */
body.jeddle-learn-v2 :where(.jeddle-hub) :where(h1,
h2,
h3,
p,
ol,
ul,
li,
figure,
blockquote,
dl,
dd),
body.jeddle-learn-v2 :where(.jeddle-article) :where(h1,
h2,
h3,
figure,
blockquote),
body.jeddle-learn-v2 :where(.jeddle-article) :where(.jeddle-toc,
body.jeddle-learn-v2 .jeddle-takeaways,
body.jeddle-learn-v2 .jeddle-gblock,
body.jeddle-learn-v2 .jeddle-rows,
body.jeddle-learn-v2 .jeddle-keep,
body.jeddle-learn-v2 .jeddle-gcard,
body.jeddle-learn-v2 .jeddle-gend,
body.jeddle-learn-v2 .jeddle-cta,
body.jeddle-learn-v2 .jeddle-icta,
body.jeddle-learn-v2 .jeddle-answer,
body.jeddle-learn-v2 .jeddle-faq,
body.jeddle-learn-v2 .jeddle-about,
body.jeddle-learn-v2 .jeddle-sheet,
body.jeddle-learn-v2 .jeddle-buybar,
body.jeddle-learn-v2 .jeddle-band) :where(p,
ol,
ul,
li) { margin: 0; padding: 0; letter-spacing: normal; }
body.jeddle-learn-v2 :where(.jeddle-hub,
body.jeddle-learn-v2 .jeddle-article) :where(h1,
h2,
h3) { color: var(--jl2-ink); font-family: var(--jl2-display); font-weight: 800; }
body.jeddle-learn-v2 :where(.jeddle-hub,
body.jeddle-learn-v2 .jeddle-article .jeddle-toc,
body.jeddle-learn-v2 .jeddle-article .jeddle-takeaways,
body.jeddle-learn-v2 .jeddle-article .jeddle-gblock,
body.jeddle-learn-v2 .jeddle-article .jeddle-keep) :where(ol,
ul) { list-style: none; }
body.jeddle-learn-v2 .jeddle-hub li::before,
body.jeddle-learn-v2 .jeddle-hub li::after,
body.jeddle-learn-v2 .jeddle-article :is(.jeddle-toc,
body.jeddle-learn-v2 .jeddle-takeaways,
body.jeddle-learn-v2 .jeddle-gblock,
body.jeddle-learn-v2 .jeddle-rows) li::before { content: none !important; display: none !important; }
body.jeddle-learn-v2 :is(.jeddle-hub,
body.jeddle-learn-v2 .jeddle-article) li:not(:last-child) { margin-bottom: 0; }
body.jeddle-learn-v2 .jeddle-hub a,
body.jeddle-learn-v2 .jeddle-article a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
body.jeddle-learn-v2 .jeddle-article a::after,
body.jeddle-learn-v2 .jeddle-hub a::after { content: none !important; display: none !important; }
body.jeddle-learn-v2 .jeddle-hub img,
body.jeddle-learn-v2 .jeddle-article img { display: block; max-width: 100%; }
body.jeddle-learn-v2 :is(.jeddle-hub,
body.jeddle-learn-v2 .jeddle-article) :focus-visible { outline: 3px solid var(--jl2-violet); outline-offset: 3px; border-radius: 6px; }
body.jeddle-learn-v2 .jeddle-nowrap { white-space: nowrap; }
body.jeddle-learn-v2 .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- layout */
body.jeddle-learn-v2 .jeddle-wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
body.jeddle-learn-v2 .jeddle-section { padding-top: 112px; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-wrap { padding: 0 20px; }
  body.jeddle-learn-v2 .jeddle-section { padding-top: 64px; }
}

/* ---------------------------------------------------------------- type */
body.jeddle-learn-v2 .jeddle-h2 { font-size: 40px; line-height: 1.05; letter-spacing: -0.035em; }
body.jeddle-learn-v2 .jeddle-h2--sm { font-size: 34px; letter-spacing: -0.03em; }
body.jeddle-learn-v2 .jeddle-h2--lg { font-size: 56px; letter-spacing: -0.045em; line-height: 1.02; }
body.jeddle-learn-v2 .jeddle-h2--xl { font-size: 76px; letter-spacing: -0.045em; line-height: 0.98; color: #fff; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-h2--lg { font-size: 44px; }
  body.jeddle-learn-v2 .jeddle-h2--xl { font-size: 56px; }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-h2 { font-size: 30px; }
  body.jeddle-learn-v2 .jeddle-h2--sm { font-size: 28px; }
  body.jeddle-learn-v2 .jeddle-h2--lg { font-size: 36px; }
  body.jeddle-learn-v2 .jeddle-h2--xl { font-size: 44px; }
}
body.jeddle-learn-v2 .jeddle-kicker { font: 600 14px/1.3 var(--jl2-body); color: var(--jl2-violet); letter-spacing: 0.01em; margin: 0; }
body.jeddle-learn-v2 .jeddle-kicker a { color: inherit; text-decoration: none; }
body.jeddle-learn-v2 .jeddle-kicker a:hover { text-decoration: underline; }
body.jeddle-learn-v2 .jeddle-kicker--cyan { color: var(--jl2-cyan); }
body.jeddle-learn-v2 .jeddle-kicker--yellow { color: var(--jl2-yellow); }
body.jeddle-learn-v2 .jeddle-kicker--ink { color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-meta { font: 400 13.5px/1.4 var(--jl2-body); color: var(--jl2-ink3); margin: 8px 0 0; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- buttons */
body.jeddle-learn-v2 .jeddle-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; box-sizing: border-box;
  border: 2px solid var(--jl2-violet); border-radius: 999px;
  font: 700 16px/1.1 var(--jl2-display); text-decoration: none; text-transform: none; letter-spacing: 0;
  cursor: pointer; white-space: nowrap;
}
body.jeddle-learn-v2 .jeddle-btn--primary { background: var(--jl2-violet); color: #fff; }
/* Hover tints only where a pointer hovers: on touch screens :hover sticks to whatever sits under the last tap. */
body.jeddle-learn-v2 .jeddle-btn--primary:focus-visible { background: var(--jl2-violet-dark); border-color: var(--jl2-violet-dark); color: #fff; }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-btn--primary:hover { background: var(--jl2-violet-dark); border-color: var(--jl2-violet-dark); color: #fff; } }
body.jeddle-learn-v2 .jeddle-btn--ghost { background: #fff; color: var(--jl2-violet); }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-btn--ghost:hover { background: #f1e6fc; color: var(--jl2-violet); } }
body.jeddle-learn-v2 .jeddle-btn--white { background: #fff; border-color: #fff; color: var(--jl2-violet); }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-btn--white:hover { background: #f1e6fc; border-color: #f1e6fc; color: var(--jl2-violet-dark); } }
body.jeddle-learn-v2 .jeddle-btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
body.jeddle-learn-v2 .jeddle-btn--block { display: flex; width: 100%; }
body.jeddle-learn-v2 .jeddle-btn__badge {
  padding: 3px 8px 4px; border-radius: 20px; background: rgba(255, 255, 255, .22);
  font: 700 12px/1 var(--jl2-display); color: #fff;
}
body.jeddle-learn-v2 .jeddle-btn.added,
body.jeddle-learn-v2 .jeddle-btn.loading { opacity: .75; }
body.jeddle-learn-v2 a.added_to_cart { display: none !important; } /* Woo's "View cart" link: the drawer opens instead */

body.jeddle-learn-v2 .jeddle-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; min-height: 44px;
  font: 700 16px/1.2 var(--jl2-display); color: var(--jl2-violet); text-decoration: none;
}
body.jeddle-learn-v2 .jeddle-more:hover { color: var(--jl2-violet-dark); }
body.jeddle-learn-v2 .jeddle-more:hover .jeddle-icon { transform: translateX(3px); }
body.jeddle-learn-v2 .jeddle-more .jeddle-icon { transition: transform .15s ease; }
body.jeddle-learn-v2 .jeddle-more--yellow { color: var(--jl2-yellow); }
body.jeddle-learn-v2 .jeddle-more--yellow:hover { color: #fff; }

/* Whole-card links: the title's link covers the card. */
body.jeddle-learn-v2 .jeddle-stretch { color: inherit; text-decoration: none; }
body.jeddle-learn-v2 .jeddle-stretch::before { content: ""; position: absolute; inset: 0; z-index: 1; }
body.jeddle-learn-v2 :is(.jeddle-fcard,
body.jeddle-learn-v2 .jeddle-titem,
body.jeddle-learn-v2 .jeddle-rows__item,
body.jeddle-learn-v2 .jeddle-card):hover .jeddle-stretch { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Stickers: the YouTube thumbnails' labels, toned down. */
body.jeddle-learn-v2 .jeddle-sticker {
  position: absolute; z-index: 2; display: block; background: var(--jl2-yellow); color: var(--jl2-ink);
  border-radius: 8px; padding: 9px 14px 10px; transform: rotate(-3deg); pointer-events: none;
}
body.jeddle-learn-v2 .jeddle-sticker__value { display: block; font: 800 40px/0.95 var(--jl2-display); letter-spacing: -0.04em; }
body.jeddle-learn-v2 .jeddle-sticker__label { display: block; margin-top: 4px; font: 600 13px/1.2 var(--jl2-body); }
body.jeddle-learn-v2 .jeddle-sticker--card { left: -10px; bottom: -26px; }
body.jeddle-learn-v2 .jeddle-sticker--lead { right: 24px; bottom: -24px; }
body.jeddle-learn-v2 .jeddle-sticker--label { left: -10px; top: -14px; padding: 6px 11px 7px; font: 800 15px/1 var(--jl2-display); }
body.jeddle-learn-v2 .jeddle-sticker--price { right: -14px; top: -18px; transform: rotate(3deg); background: #fff; border: 2px solid var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-sticker--price .jeddle-sticker__value { font-size: 30px; }

/* Typographic tile when an article has no image. */
body.jeddle-learn-v2 .jeddle-tile {
  display: flex; align-items: flex-end; width: 100%; height: 100%; min-height: 100%; box-sizing: border-box; padding: 18px;
  background: var(--jl2-violet); color: #fff; font: 800 22px/1.1 var(--jl2-display); letter-spacing: -0.02em;
}
body.jeddle-learn-v2 .jeddle-tile[data-pillar="feedback-assessment"] { background: #2e2177; }
body.jeddle-learn-v2 .jeddle-tile[data-pillar="teaching-practice"] { background: #1f6b5e; }
body.jeddle-learn-v2 .jeddle-tile[data-pillar="edtech-tools"] { background: #7200e0; }
body.jeddle-learn-v2 .jeddle-tile[data-pillar="using-jeddle"] { background: #b3123c; }
body.jeddle-learn-v2 .jeddle-tile[data-pillar="study-tips"] { background: var(--jl2-yellow); color: var(--jl2-ink); }

/* =========================================================================
 * Band (hub, results, topics, article): yellow, clears the fixed header
 * ====================================================================== */
body.jeddle-learn-v2 .jeddle-band {
  background: var(--jl2-yellow);
  padding-top: calc(var(--jl2-hdr) + 48px);
}
/* Signed-in visitors: legacy header is transparent with white links. */
body.jeddle-learn-v2:not(.jl-header-only) .jeddle-band {
  padding-top: calc(max(var(--jl2-hdr), var(--jl2-legacy)) + 40px);
  background: linear-gradient(to bottom, var(--jl2-band) 0, var(--jl2-band) var(--jl2-legacy), var(--jl2-yellow) var(--jl2-legacy));
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-band { padding-top: calc(var(--jl2-hdr) + 28px); }
  body.jeddle-learn-v2:not(.jl-header-only) .jeddle-band { padding-top: calc(max(var(--jl2-hdr), var(--jl2-legacy)) + 24px); }
}

body.jeddle-learn-v2 .jeddle-hub__eyebrow {
  display: inline-block; font: 700 13px/1.2 var(--jl2-display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--jl2-ink); text-decoration: none; margin: 0;
}
body.jeddle-learn-v2 a.jeddle-hub__eyebrow:hover { text-decoration: underline; }

/* ---- hub masthead */
body.jeddle-learn-v2 .jeddle-band__grid { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
body.jeddle-learn-v2 .jeddle-band__mark { position: relative; padding: 18px 0 8px; }
body.jeddle-learn-v2 .jeddle-band__wordmark {
  position: relative; font: 800 212px/1 var(--jl2-display); letter-spacing: -0.065em; color: var(--jl2-ink);
  margin: 0 0 0 -8px;
}
body.jeddle-learn-v2 .jeddle-band__circle {
  /* Anchored to the wordmark's baseline side so it never runs through the eyebrow above. */
  position: absolute; left: -36px; bottom: 8px; width: 640px; height: 250px; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--jl2-violet); stroke-width: 7px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
body.jeddle-learn-v2 .jeddle-band__mark .jeddle-hub__eyebrow { position: relative; margin-bottom: 30px; }
body.jeddle-learn-v2 .jeddle-band__promise { font: 500 24px/1.42 var(--jl2-body); color: var(--jl2-ink); margin: 0; max-width: 560px; }

/* ---- search */
body.jeddle-learn-v2 .jeddle-search {
  display: flex; align-items: center; gap: 8px; margin-top: 26px; max-width: 560px; height: 60px; box-sizing: border-box;
  padding: 0 7px 0 20px; background: #fff; border: 2px solid var(--jl2-ink); border-radius: 14px;
}
body.jeddle-learn-v2 .jeddle-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0; margin: 0; box-shadow: none;
  font: 400 18px/1 var(--jl2-body); color: var(--jl2-ink); outline: none;
}
body.jeddle-learn-v2 .jeddle-search input::placeholder { color: #6f6a82; opacity: 1; }
body.jeddle-learn-v2 .jeddle-search:focus-within { box-shadow: 0 0 0 3px rgba(72, 1, 212, .35); }
body.jeddle-learn-v2 .jeddle-search button {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; padding: 0;
  display: flex; align-items: center; justify-content: center; background: var(--jl2-ink); color: #fff; cursor: pointer;
}
body.jeddle-learn-v2 .jeddle-search button:hover { background: var(--jl2-violet); }

/* ---- audience tabs: folder tabs on the band's bottom edge */
body.jeddle-learn-v2 .jeddle-tabs { display: flex; gap: 6px; margin-top: 48px; overflow-x: auto; scrollbar-width: none; }
body.jeddle-learn-v2 .jeddle-tabs::-webkit-scrollbar { display: none; }
body.jeddle-learn-v2 .jeddle-tabs__tab {
  flex: none; display: flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 14px 14px 0 0;
  background: rgba(30, 20, 70, .08); color: var(--jl2-ink); font: 700 17px/1 var(--jl2-display); text-decoration: none;
}
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-tabs__tab:not(.is-active):hover { background: rgba(30, 20, 70, .14); color: var(--jl2-ink); } }
body.jeddle-learn-v2 .jeddle-tabs__tab.is-active { background: #fff; }

@media (max-width: 1100px) {
  body.jeddle-learn-v2 .jeddle-band__wordmark { font-size: 168px; }
  body.jeddle-learn-v2 .jeddle-band__circle { width: 520px; height: 206px; }
  body.jeddle-learn-v2 .jeddle-band__mark .jeddle-hub__eyebrow { margin-bottom: 26px; }
}
@media (max-width: 900px) {
  body.jeddle-learn-v2 .jeddle-band__grid { grid-template-columns: 1fr; }
  body.jeddle-learn-v2 .jeddle-band__promise { font-size: 20px; }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-band__wordmark { font-size: 110px; margin-left: -4px; padding-left: 12px; }
  body.jeddle-learn-v2 .jeddle-band__circle { left: -6px; bottom: -6px; width: 350px; height: 150px; stroke-width: 5px; }
  body.jeddle-learn-v2 .jeddle-band__mark .jeddle-hub__eyebrow { margin-bottom: 22px; }
  body.jeddle-learn-v2 .jeddle-band__promise { font-size: 18.5px; }
  body.jeddle-learn-v2 .jeddle-search { height: 54px; margin-top: 20px; }
  body.jeddle-learn-v2 .jeddle-tabs { margin-top: 32px; gap: 5px; margin-right: -20px; }
  body.jeddle-learn-v2 .jeddle-tabs__tab { min-height: 50px; padding: 0 16px; font-size: 15.5px; }
}
@media (max-width: 400px) { body.jeddle-learn-v2 .jeddle-tabs__tab { padding: 0 13px; font-size: 15px; } }

/* ---- compact band (results, topics) */
body.jeddle-learn-v2 .jeddle-band--compact { padding-bottom: 0; }
body.jeddle-learn-v2 .jeddle-band__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); gap: 24px 48px; align-items: end; margin-top: 14px; }
body.jeddle-learn-v2 .jeddle-band__titles h1,
body.jeddle-learn-v2 .jeddle-band__title { font: 800 64px/1.02 var(--jl2-display); letter-spacing: -0.045em; color: var(--jl2-ink); margin: 0; }
body.jeddle-learn-v2 .jeddle-band__lede { margin-top: 14px; max-width: 640px; }
body.jeddle-learn-v2 .jeddle-band__lede p { font: 500 19px/1.5 var(--jl2-body); color: var(--jl2-ink); margin: 0; }
body.jeddle-learn-v2 .jeddle-band--compact .jeddle-search { margin-top: 0; }
body.jeddle-learn-v2 .jeddle-band--compact .jeddle-band__row + .jeddle-tabs { margin-top: 40px; }
body.jeddle-learn-v2[data-view] .jeddle-band--compact { padding-bottom: 0; }
body.jeddle-learn-v2 .jeddle-hub[data-view="topic"] .jeddle-band--compact { padding-bottom: 48px; }
@media (max-width: 900px) {
  body.jeddle-learn-v2 .jeddle-band__row { grid-template-columns: 1fr; }
  body.jeddle-learn-v2 .jeddle-band__titles h1,
body.jeddle-learn-v2 .jeddle-band__title { font-size: 44px; }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-band__titles h1,
body.jeddle-learn-v2 .jeddle-band__title { font-size: 36px; }
  body.jeddle-learn-v2 .jeddle-band__lede p { font-size: 17px; }
  body.jeddle-learn-v2 .jeddle-hub[data-view="topic"] .jeddle-band--compact { padding-bottom: 32px; }
}

/* =========================================================================
 * Hub sections
 * ====================================================================== */

/* ---- lead story */
body.jeddle-learn-v2 .jeddle-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: center; padding-top: 64px; }
body.jeddle-learn-v2 .jeddle-lead__media { position: relative; }
body.jeddle-learn-v2 .jeddle-lead__media a { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--jl2-paper); }
body.jeddle-learn-v2 .jeddle-lead__media img,
body.jeddle-learn-v2 .jeddle-lead__media .jeddle-tile { width: 100%; height: 100%; object-fit: cover; }
body.jeddle-learn-v2 .jeddle-lead__title { font-size: 48px; line-height: 1.06; letter-spacing: -0.035em; margin-top: 14px; }
body.jeddle-learn-v2 .jeddle-lead__title a { color: var(--jl2-ink); text-decoration: none; }
body.jeddle-learn-v2 .jeddle-lead__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
body.jeddle-learn-v2 .jeddle-lead__dek { font: 400 19px/1.55 var(--jl2-body); color: var(--jl2-ink2); margin-top: 18px; }
body.jeddle-learn-v2 .jeddle-lead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
body.jeddle-learn-v2 .jeddle-watch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 16px/1.2 var(--jl2-display); color: var(--jl2-ink); text-decoration: none; }
body.jeddle-learn-v2 .jeddle-watch:hover { color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-watch__dot { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--jl2-ink); color: #fff; padding-left: 2px; box-sizing: border-box; }
body.jeddle-learn-v2 .jeddle-lead .jeddle-meta { margin-top: 20px; }
@media (max-width: 900px) {
  body.jeddle-learn-v2 .jeddle-lead { grid-template-columns: 1fr; padding-top: 32px; }
  body.jeddle-learn-v2 .jeddle-lead__title { font-size: 36px; }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-lead { padding-top: 24px; }
  body.jeddle-learn-v2 .jeddle-lead__media { margin: 0 -20px; }
  body.jeddle-learn-v2 .jeddle-lead__media a { border-radius: 0; }
  body.jeddle-learn-v2 .jeddle-sticker--lead { right: 14px; bottom: -20px; }
  body.jeddle-learn-v2 .jeddle-lead__title { font-size: 32px; }
  body.jeddle-learn-v2 .jeddle-lead__dek { font-size: 17px; }
}

/* ---- section heads */
body.jeddle-learn-v2 .jeddle-section__intro { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; }
body.jeddle-learn-v2 .jeddle-section__intro p { font: 400 16.5px/1.5 var(--jl2-body); color: var(--jl2-ink2); }
body.jeddle-learn-v2 .jeddle-section__dek { font: 400 19px/1.55 var(--jl2-body); color: rgba(255, 255, 255, .82); margin-top: 20px; max-width: 580px; }
body.jeddle-learn-v2 .jeddle-section__head { position: relative; max-width: 780px; }
body.jeddle-learn-v2 .jeddle-section__head .jeddle-h2 { margin-top: 14px; }

/* ---- start here */
body.jeddle-learn-v2 .jeddle-start__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
body.jeddle-learn-v2 .jeddle-start__item { position: relative; border-top: 3px solid var(--jl2-ink); padding-top: 12px; }
body.jeddle-learn-v2 .jeddle-start__n { display: block; font: 800 64px/1 var(--jl2-display); letter-spacing: -0.04em; color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-start__title { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin-top: 12px; }
body.jeddle-learn-v2 .jeddle-start__title a { color: var(--jl2-ink); text-decoration: none; }
body.jeddle-learn-v2 .jeddle-start__title a:hover { text-decoration: underline; }
@media (max-width: 1100px) { body.jeddle-learn-v2 .jeddle-start__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-start__list { grid-template-columns: 1fr; gap: 0; margin-top: 18px; }
  body.jeddle-learn-v2 .jeddle-start__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 4px; padding: 12px 0 16px; border-top-width: 2px; }
  body.jeddle-learn-v2 .jeddle-start__n { grid-row: span 2; font-size: 40px; }
  body.jeddle-learn-v2 .jeddle-start__title { margin-top: 0; font-size: 17.5px; }
}

/* ---- students: dark band with the logo scribble */
body.jeddle-learn-v2 .jeddle-students { position: relative; overflow: hidden; margin-top: 120px; padding: 104px 0 96px; background: var(--jl2-band); color: #fff; }
body.jeddle-learn-v2 .jeddle-students__scribble { position: absolute; right: -150px; top: -130px; width: 740px; height: 560px; pointer-events: none; }
body.jeddle-learn-v2 .jeddle-students__scribble path { stroke-width: 7px; stroke-linecap: round; stroke-linejoin: round; }
body.jeddle-learn-v2 .jeddle-students .jeddle-wrap { position: relative; }
body.jeddle-learn-v2 .jeddle-students .jeddle-learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; margin-top: 64px; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-students__scribble { right: -240px; top: -170px; opacity: .85; }
  body.jeddle-learn-v2 .jeddle-students .jeddle-learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-students { margin-top: 64px; padding: 150px 0 40px; }
  body.jeddle-learn-v2 .jeddle-students__scribble { right: -96px; top: -86px; width: 320px; height: 242px; }
  body.jeddle-learn-v2 .jeddle-students__scribble path { stroke-width: 5px; }
  body.jeddle-learn-v2 .jeddle-students .jeddle-learn-grid {
    display: flex; gap: 16px; margin: 32px -20px 0; padding: 0 20px 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  body.jeddle-learn-v2 .jeddle-students .jeddle-learn-grid::-webkit-scrollbar { display: none; }
  body.jeddle-learn-v2 .jeddle-students .jeddle-fcard { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---- feature cards */
body.jeddle-learn-v2 .jeddle-fcard { position: relative; }
body.jeddle-learn-v2 .jeddle-fcard__media { position: relative; aspect-ratio: 3 / 2; margin-bottom: 18px; }
/* Absolute, so a portrait upload cannot stretch the 3:2 frame (an img's intrinsic height beats aspect-ratio). */
body.jeddle-learn-v2 .jeddle-fcard__media > img,
body.jeddle-learn-v2 .jeddle-fcard__media > .jeddle-tile { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
body.jeddle-learn-v2 .jeddle-fcard__media:has(.jeddle-sticker) { margin-bottom: 48px; }
body.jeddle-learn-v2 .jeddle-fcard__title { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
body.jeddle-learn-v2 .jeddle-fcard__dek { font: 400 15.5px/1.5 var(--jl2-body); color: var(--jl2-ink2); margin-top: 12px; }
body.jeddle-learn-v2 .jeddle-fcard--dark .jeddle-kicker { color: var(--jl2-cyan); }
body.jeddle-learn-v2 .jeddle-fcard--dark .jeddle-fcard__title { color: #fff; }
body.jeddle-learn-v2 .jeddle-fcard--dark .jeddle-fcard__dek { color: rgba(255, 255, 255, .78); }
body.jeddle-learn-v2 .jeddle-fcard--dark .jeddle-meta { color: rgba(255, 255, 255, .66); }
@media (max-width: 767px) { body.jeddle-learn-v2 .jeddle-fcard__title { font-size: 20px; } }

/* ---- text rows under a feature row */
body.jeddle-learn-v2 .jeddle-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-top: 64px; }
body.jeddle-learn-v2 .jeddle-rows__item { position: relative; border-top: 1px solid var(--jl2-rule); padding: 18px 0 22px; }
body.jeddle-learn-v2 .jeddle-rows__title { font-size: 18.5px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin-top: 6px; }
body.jeddle-learn-v2 .jeddle-students .jeddle-rows__item { border-top-color: rgba(255, 255, 255, .2); }
body.jeddle-learn-v2 .jeddle-students .jeddle-rows .jeddle-kicker { color: var(--jl2-cyan); }
body.jeddle-learn-v2 .jeddle-students .jeddle-rows__title { color: #fff; }
body.jeddle-learn-v2 .jeddle-students .jeddle-rows .jeddle-meta { color: rgba(255, 255, 255, .66); }
@media (max-width: 1023px) { body.jeddle-learn-v2 .jeddle-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body.jeddle-learn-v2 .jeddle-rows { grid-template-columns: 1fr; margin-top: 16px; } }

/* ---- collections */
body.jeddle-learn-v2 .jeddle-collections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.jeddle-learn-v2 .jeddle-collection { padding: 52px 52px 44px; }
body.jeddle-learn-v2 .jeddle-collection--violet { background: var(--jl2-violet); color: #fff; }
body.jeddle-learn-v2 .jeddle-collection--lilac { background: var(--jl2-paper); }
body.jeddle-learn-v2 .jeddle-collection .jeddle-h2 { margin-top: 12px; }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-h2 { color: #fff; }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-kicker { color: var(--jl2-yellow); }
body.jeddle-learn-v2 .jeddle-collection__dek { font: 400 17px/1.55 var(--jl2-body); margin-top: 14px; color: var(--jl2-ink2); }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-collection__dek { color: rgba(255, 255, 255, .82); }
body.jeddle-learn-v2 .jeddle-collection__list { margin-top: 28px; }
body.jeddle-learn-v2 .jeddle-collection__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 16px 0 18px; border-top: 1px solid #dcd7e8; }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-collection__list li { border-top-color: rgba(255, 255, 255, .22); }
body.jeddle-learn-v2 .jeddle-collection__n { font: 800 30px/1 var(--jl2-display); color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-collection__n { color: var(--jl2-yellow); }
body.jeddle-learn-v2 .jeddle-collection__list a { font: 700 19px/1.3 var(--jl2-display); color: var(--jl2-ink); text-decoration: none; }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-collection__list a { color: #fff; }
body.jeddle-learn-v2 .jeddle-collection__list a:hover { text-decoration: underline; }
body.jeddle-learn-v2 .jeddle-collection--violet .jeddle-meta { color: rgba(255, 255, 255, .7); }
body.jeddle-learn-v2 .jeddle-collection__list .jeddle-meta { display: block; }
@media (max-width: 900px) { body.jeddle-learn-v2 .jeddle-collections { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-collections { padding-left: 0; padding-right: 0; gap: 0; }
  body.jeddle-learn-v2 .jeddle-collection { padding: 40px 20px 32px; }
}

/* ---- teachers */
body.jeddle-learn-v2 .jeddle-teachers__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
body.jeddle-learn-v2 .jeddle-teachers__head .jeddle-h2 { margin-top: 14px; max-width: 860px; }
body.jeddle-learn-v2 .jeddle-underline { position: relative; white-space: nowrap; background: linear-gradient(transparent 82%, var(--jl2-yellow) 82%, var(--jl2-yellow) 96%, transparent 96%); }
body.jeddle-learn-v2 .jeddle-seg { display: flex; border: 2px solid var(--jl2-ink); border-radius: 12px; overflow: hidden; background: #fff; margin-bottom: 6px; }
body.jeddle-learn-v2 .jeddle-seg__opt { display: flex; align-items: center; min-height: 44px; padding: 0 18px; font: 700 15px/1 var(--jl2-display); color: var(--jl2-ink); text-decoration: none; white-space: nowrap; }
body.jeddle-learn-v2 .jeddle-seg__opt + .jeddle-seg__opt { border-left: 2px solid var(--jl2-ink); }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-seg__opt:not(.is-active):hover { background: #f1e6fc; color: var(--jl2-ink); } }
body.jeddle-learn-v2 .jeddle-seg__opt.is-active { background: var(--jl2-ink); color: #fff; }
body.jeddle-learn-v2 .jeddle-tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 48px; }
body.jeddle-learn-v2 .jeddle-titem { position: relative; border-top: 1px solid var(--jl2-rule); padding: 22px 0 34px; }
body.jeddle-learn-v2 .jeddle-titem--system { border-top: 3px solid var(--jl2-ink); padding-top: 14px; }
body.jeddle-learn-v2 .jeddle-titem__system { font: 600 14px/1 var(--jl2-body); color: var(--jl2-ink3); display: flex; align-items: baseline; gap: 12px; }
body.jeddle-learn-v2 .jeddle-titem__system span { font: 800 58px/1 var(--jl2-display); letter-spacing: -0.045em; color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-titem__title { font-size: 23px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; }
body.jeddle-learn-v2 .jeddle-titem__dek { font: 400 16px/1.55 var(--jl2-body); color: var(--jl2-ink2); margin-top: 12px; }
body.jeddle-learn-v2 .jeddle-teachers .jeddle-rows { margin-top: 12px; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-teachers__head { grid-template-columns: 1fr; }
  body.jeddle-learn-v2 .jeddle-seg { justify-self: start; }
  body.jeddle-learn-v2 .jeddle-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-tgrid { grid-template-columns: 1fr; margin-top: 28px; }
  body.jeddle-learn-v2 .jeddle-seg { justify-self: stretch; }
  body.jeddle-learn-v2 .jeddle-seg__opt { flex: 1; justify-content: center; padding: 0 8px; font-size: 14px; }
  body.jeddle-learn-v2 .jeddle-titem__system span { font-size: 44px; }
  body.jeddle-learn-v2 .jeddle-titem__title { font-size: 20px; }
}

/* ---- topics index */
body.jeddle-learn-v2 .jeddle-topics__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.jeddle-learn-v2 .jeddle-topics__head .jeddle-more { margin-top: 0; }
body.jeddle-learn-v2 .jeddle-topics__list { margin-top: 24px; border-bottom: 2px solid var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-topics__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px) 40px; gap: 32px; align-items: center;
  padding: 22px 0 24px; border-top: 2px solid var(--jl2-ink); color: var(--jl2-ink); text-decoration: none;
}
body.jeddle-learn-v2 .jeddle-topics__name { font: 800 56px/1.02 var(--jl2-display); letter-spacing: -0.045em; }
body.jeddle-learn-v2 .jeddle-topics__count {
  display: inline-block; vertical-align: top; margin: 8px 0 0 14px; padding: 3px 9px 4px; border-radius: 20px;
  background: var(--jl2-violet); color: #fff; font: 600 15px/1.2 var(--jl2-body); letter-spacing: 0;
}
body.jeddle-learn-v2 .jeddle-topics__desc { font: 400 16px/1.55 var(--jl2-body); color: var(--jl2-ink2); }
body.jeddle-learn-v2 .jeddle-topics__arrow { display: flex; justify-content: flex-end; transition: transform .15s ease; }
body.jeddle-learn-v2 .jeddle-topics__row:hover { color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-topics__row:hover .jeddle-topics__arrow { transform: translateX(4px); }
@media (max-width: 1023px) { body.jeddle-learn-v2 .jeddle-topics__name { font-size: 42px; } }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-topics__row { grid-template-columns: minmax(0, 1fr) 24px; gap: 12px; padding: 16px 0; }
  body.jeddle-learn-v2 .jeddle-topics__name { font-size: 26px; letter-spacing: -0.035em; }
  body.jeddle-learn-v2 .jeddle-topics__count { font-size: 12.5px; margin: 4px 0 0 8px; padding: 2px 7px 3px; }
  body.jeddle-learn-v2 .jeddle-topics__desc { display: none; }
}

/* ---- closing band */
body.jeddle-learn-v2 .jeddle-closer { margin-top: 128px; padding: 96px 0 104px; background: var(--jl2-yellow); }
body.jeddle-learn-v2 .jeddle-closer__grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
body.jeddle-learn-v2 .jeddle-closer .jeddle-h2 { margin-top: 14px; }
body.jeddle-learn-v2 .jeddle-closer__dek { font: 500 19px/1.55 var(--jl2-body); color: var(--jl2-ink); margin: 20px 0 32px; max-width: 520px; }
body.jeddle-learn-v2 .jeddle-closer__teachers { margin-top: 36px; padding-top: 24px; border-top: 2px solid rgba(30, 20, 70, .18); font: 400 16.5px/1.55 var(--jl2-body); color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-closer__teachers a { color: var(--jl2-violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.jeddle-learn-v2 .jeddle-closer__art { position: relative; min-height: 420px; }
body.jeddle-learn-v2 .jeddle-paper { position: absolute; left: 0; top: 34px; width: 420px; max-width: 86%; box-sizing: border-box; background: #fff; border: 2px solid var(--jl2-ink); border-radius: 10px; padding: 26px 28px 28px; transform: rotate(-2deg); display: flex; flex-direction: column; gap: 13px; }
body.jeddle-learn-v2 .jeddle-paper__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font: 700 15px/1.2 var(--jl2-display); color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-paper__head span + span { font: 600 13px/1.2 var(--jl2-body); color: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-paper__line { display: block; height: 11px; border-radius: 6px; background: #e6e2ef; }
body.jeddle-learn-v2 .jeddle-paper__line.is-marked { background: #ffe45c; box-shadow: 0 0 0 5px #ffe45c; }
body.jeddle-learn-v2 .jeddle-paper__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.jeddle-learn-v2 .jeddle-paper__chips span { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 16px; background: #ede7ff; font: 600 13px/1 var(--jl2-body); color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-paper__chips span.is-flag { background: var(--jl2-yellow); color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-note { position: absolute; left: 60%; top: 92px; width: 276px; max-width: 60%; box-sizing: border-box; background: #fff; border: 2px solid var(--jl2-ink); border-radius: 14px; padding: 16px 18px 18px; transform: rotate(2.5deg); }
/* Two-column closer below ~1400px: pin the note to the column edge so it cannot push past the viewport. */
@media (min-width: 901px) and (max-width: 1400px) { body.jeddle-learn-v2 .jeddle-note { left: auto; right: 0; } }
body.jeddle-learn-v2 .jeddle-note__head { font: 800 15px/1.2 var(--jl2-display); color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-note p:last-child { font: 400 15px/1.5 var(--jl2-body); color: var(--jl2-ink); margin-top: 8px; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-closer__grid { grid-template-columns: 1fr; }
  body.jeddle-learn-v2 .jeddle-closer__art { min-height: 360px; }
}
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-closer { margin-top: 64px; padding: 48px 0 44px; }
  body.jeddle-learn-v2 .jeddle-closer__dek { font-size: 17px; margin: 14px 0 22px; }
  body.jeddle-learn-v2 .jeddle-closer__art { min-height: 250px; }
  body.jeddle-learn-v2 .jeddle-paper { width: 260px; padding: 18px 18px 20px; gap: 10px; top: 10px; }
  body.jeddle-learn-v2 .jeddle-paper__line { height: 9px; }
  body.jeddle-learn-v2 .jeddle-paper__chips span:nth-child(3) { display: none; }
  body.jeddle-learn-v2 .jeddle-note { left: auto; right: 0; top: 70px; width: 190px; padding: 12px 13px 13px; }
  body.jeddle-learn-v2 .jeddle-note p:last-child { font-size: 13px; }
}

/* =========================================================================
 * Results views and topic pages
 * ====================================================================== */
body.jeddle-learn-v2 .jeddle-results { padding-top: 32px; padding-bottom: 112px; }
body.jeddle-learn-v2 .jeddle-results__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
body.jeddle-learn-v2 .jeddle-chips,
body.jeddle-learn-v2 .jeddle-hub__filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.jeddle-learn-v2 :is(.jeddle-chip,
body.jeddle-learn-v2 .jeddle-hub__chip) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 2px solid var(--jl2-ink); border-radius: 999px;
  background: #fff; color: var(--jl2-ink); font: 700 14.5px/1 var(--jl2-display); text-decoration: none; white-space: nowrap;
}
@media (hover: hover) { body.jeddle-learn-v2 :is(.jeddle-chip, .jeddle-hub__chip):not(.is-active):hover { background: #f1e6fc; color: var(--jl2-ink); } }
body.jeddle-learn-v2 :is(.jeddle-chip,
body.jeddle-learn-v2 .jeddle-hub__chip).is-active { background: var(--jl2-ink); color: #fff; }
body.jeddle-learn-v2 .jeddle-count { font: 600 14px/1 var(--jl2-body); color: var(--jl2-ink3); margin: 36px 0 20px; }
body.jeddle-learn-v2 .jeddle-results .jeddle-learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 1023px) { body.jeddle-learn-v2 .jeddle-results .jeddle-learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  body.jeddle-learn-v2 .jeddle-results .jeddle-learn-grid { grid-template-columns: 1fr; gap: 32px; }
  body.jeddle-learn-v2 .jeddle-results { padding-bottom: 64px; }
  /* Region switch on its own full-width row; the topic chips scroll sideways under it. */
  body.jeddle-learn-v2 .jeddle-results__filters > .jeddle-seg { flex: 1 1 100%; margin-bottom: 0; }
  body.jeddle-learn-v2 .jeddle-results__filters > :is(.jeddle-chips, .jeddle-hub__filter) {
    flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none;
  }
  body.jeddle-learn-v2 .jeddle-results__filters > :is(.jeddle-chips, .jeddle-hub__filter)::-webkit-scrollbar { display: none; }
}

/* ---- card */
body.jeddle-learn-v2 .jeddle-card { position: relative; display: flex; flex-direction: column; }
body.jeddle-learn-v2 .jeddle-card__media { position: relative; aspect-ratio: 3 / 2; margin-bottom: 18px; }
/* Absolute, so a portrait upload cannot stretch the 3:2 frame (an img's intrinsic height beats aspect-ratio). */
body.jeddle-learn-v2 .jeddle-card__media > img,
body.jeddle-learn-v2 .jeddle-card__media > .jeddle-tile { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
body.jeddle-learn-v2 .jeddle-card__media:has(.jeddle-sticker) { margin-bottom: 46px; }
body.jeddle-learn-v2 .jeddle-card__title { font-size: 22px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
body.jeddle-learn-v2 .jeddle-card__dek { font: 400 15.5px/1.5 var(--jl2-body); color: var(--jl2-ink2); margin-top: 10px; }

/* ---- pagination */
body.jeddle-learn-v2 .jeddle-pagination { margin-top: 64px; }
body.jeddle-learn-v2 .jeddle-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.jeddle-learn-v2 .jeddle-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; box-sizing: border-box;
  border: 2px solid var(--jl2-ink); border-radius: 12px; background: #fff; color: var(--jl2-ink); font: 700 15px/1 var(--jl2-display); text-decoration: none;
}
body.jeddle-learn-v2 .jeddle-pagination .page-numbers.current { background: var(--jl2-ink); color: #fff; }
body.jeddle-learn-v2 .jeddle-pagination .page-numbers.dots { border-color: transparent; }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-pagination a.page-numbers:hover { background: #f1e6fc; } }
body.jeddle-learn-v2 .jeddle-pagination .prev .jeddle-icon { transform: rotate(180deg); }

/* ---- empty state */
body.jeddle-learn-v2 .jeddle-empty { padding: 48px 0 16px; max-width: 640px; }
body.jeddle-learn-v2 .jeddle-empty p { font: 400 17px/1.55 var(--jl2-body); color: var(--jl2-ink2); margin: 12px 0 20px; }

/* =========================================================================
 * Article
 * ====================================================================== */
body.jeddle-learn-v2 .jeddle-article { background: #fff; }

/* ---- grid: contents rail | article column, shared by the band, the body and Keep reading.
 * The rail hugs the left edge and the article column takes the rest, up to --jl2-main.
 * Running text stops at --jl2-measure (about 80 characters); the short answer, tables
 * and offers use the full column. */
body.jeddle-learn-v2 {
  --jl2-rail: 224px;
  --jl2-gutter: 72px;
  --jl2-main: 1000px;
  --jl2-measure: 800px;
}
@media (max-width: 1199px) {
  body.jeddle-learn-v2 { --jl2-rail: 200px; --jl2-gutter: 44px; }
}
body.jeddle-learn-v2 .jeddle-wrap--article { max-width: 1520px; padding: 0 32px; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-wrap--article { padding: 0 20px; }
}

/* ---- band: the breadcrumb alone in the top-left corner, then a compact title block over the article column */
body.jeddle-learn-v2 .jeddle-band--article { padding-top: calc(var(--jl2-hdr) + 14px); padding-bottom: 34px; }
/* Signed-in visitors get only the legacy header (122px, 75px up to 1100px) and no body padding, so reserve just
 * that: the max() with --jl2-hdr left ~47px of empty yellow above the breadcrumb on signed-in tablets. */
body.jeddle-learn-v2:not(.jl-header-only) .jeddle-band--article { padding-top: calc(var(--jl2-legacy) + 14px); }
body.jeddle-learn-v2 .jeddle-band--article .jeddle-learn-breadcrumb { margin: 0; font: 400 13px/1.45 var(--jl2-body); color: var(--jl2-ink2); }
body.jeddle-learn-v2 .jeddle-band--article .jeddle-learn-breadcrumb a { color: var(--jl2-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* The current page repeats the title right below, so it may be cut short. */
body.jeddle-learn-v2 .jeddle-band--article .jeddle-learn-breadcrumb .breadcrumb_last { display: inline-block; max-width: min(360px, 100%); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: bottom; }
body.jeddle-learn-v2 .jeddle-art-grid { display: grid; grid-template-columns: var(--jl2-rail) minmax(0, 1fr); column-gap: var(--jl2-gutter); padding-top: 34px; }
body.jeddle-learn-v2 .jeddle-art-grid__main { grid-column: 2; min-width: 0; max-width: var(--jl2-main); }
body.jeddle-learn-v2 .jeddle-band--article .jeddle-kicker { font-size: 14px; }
body.jeddle-learn-v2 .jeddle-article__title { font: 800 44px/1.08 var(--jl2-display); letter-spacing: -0.03em; color: var(--jl2-ink); margin: 10px 0 0; max-width: 22em; text-wrap: balance; }
body.jeddle-learn-v2 .jeddle-byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; }
body.jeddle-learn-v2 .jeddle-byline__text { font: 400 15px/1.5 var(--jl2-body); color: var(--jl2-ink); margin: 0; }
body.jeddle-learn-v2 .jeddle-byline__text strong { font-weight: 600; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-art-grid { display: block; padding-top: 24px; }
}
@media (max-width: 900px) { body.jeddle-learn-v2 .jeddle-article__title { font-size: 36px; } }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-band--article { padding-bottom: 28px; }
  body.jeddle-learn-v2 .jeddle-article__title { font-size: 30px; line-height: 1.1; }
  body.jeddle-learn-v2 .jeddle-byline__text { font-size: 14px; }
}

/* ---- share tools */
body.jeddle-learn-v2 .jeddle-share { position: relative; display: flex; gap: 8px; }
body.jeddle-learn-v2 .jeddle-tool {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; box-sizing: border-box;
  border: 1.5px solid rgba(30, 20, 70, .3); border-radius: 999px; background: transparent; color: var(--jl2-ink);
  font: 600 14px/1 var(--jl2-body); cursor: pointer; list-style: none;
}
body.jeddle-learn-v2 .jeddle-tool::-webkit-details-marker { display: none; }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-tool:hover { background: rgba(255, 255, 255, .5); border-color: rgba(30, 20, 70, .55); } }
body.jeddle-learn-v2 .jeddle-share__menu { position: relative; }
body.jeddle-learn-v2 .jeddle-share__pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column; min-width: 200px; padding: 6px; background: #fff; border: 2px solid var(--jl2-ink); border-radius: 12px; box-shadow: 0 12px 28px -14px rgba(20, 10, 60, .45); }
body.jeddle-learn-v2 .jeddle-share__pop a { display: block; padding: 11px 12px; border-radius: 8px; font: 600 15px/1.2 var(--jl2-body); color: var(--jl2-ink); text-decoration: none; }
body.jeddle-learn-v2 .jeddle-share__pop a:hover { background: var(--jl2-paper); }

/* ---- layout: contents rail | short answer, then the article column. Below 1024px one
 * column: the short answer, the contents as a disclosure, the article. */
body.jeddle-learn-v2 .jeddle-art-layout {
  display: grid; grid-template-columns: var(--jl2-rail) minmax(0, 1fr); column-gap: var(--jl2-gutter);
  grid-template-areas: "toc answer" "toc main"; grid-template-rows: auto 1fr;
}
body.jeddle-learn-v2 .jeddle-art-layout__toc { grid-area: toc; padding-top: 52px; }
body.jeddle-learn-v2 .jeddle-art-layout__answer { grid-area: answer; min-width: 0; max-width: var(--jl2-main); padding-top: 48px; }
body.jeddle-learn-v2 .jeddle-art-layout__main { grid-area: main; min-width: 0; max-width: var(--jl2-main); }
body.jeddle-learn-v2 .jeddle-art-top { position: relative; }
body.jeddle-learn-v2 .jeddle-art-top .jeddle-video { margin-top: 40px; }
body.jeddle-learn-v2 .jeddle-art-layout__main > .jeddle-article__verified { margin-top: 32px; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-art-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "answer" "toc" "main"; grid-template-rows: auto; }
  body.jeddle-learn-v2 .jeddle-art-layout__toc { padding-top: 0; }
  body.jeddle-learn-v2 .jeddle-art-layout__answer { padding-top: 28px; }
}

/* ---- the short answer */
body.jeddle-learn-v2 .jeddle-answer { padding: 28px 32px 30px; border-radius: 18px; background: #fff6c2; }
body.jeddle-learn-v2 .jeddle-answer__label { font: 800 13px/1.2 var(--jl2-display); letter-spacing: .08em; text-transform: uppercase; color: var(--jl2-violet); margin: 0 0 10px; }
body.jeddle-learn-v2 .jeddle-answer__text p { font: 500 21px/1.55 var(--jl2-body); color: var(--jl2-ink); margin: 0 0 10px; max-width: var(--jl2-measure); }
body.jeddle-learn-v2 .jeddle-answer__text p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-answer { padding: 22px 20px 24px; border-radius: 16px; }
  body.jeddle-learn-v2 .jeddle-answer__text p { font-size: 18px; }
}

/* ---- contents rail */
body.jeddle-learn-v2 .jeddle-toc__box { border: 0; }
body.jeddle-learn-v2 .jeddle-toc__summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font: 800 15px/1.2 var(--jl2-display); color: var(--jl2-ink);
}
body.jeddle-learn-v2 .jeddle-toc__summary::-webkit-details-marker { display: none; }
body.jeddle-learn-v2 .jeddle-toc__count { font: 400 13px/1.2 var(--jl2-body); color: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-toc__summary .jeddle-icon { margin-left: auto; transition: transform .15s ease; }
body.jeddle-learn-v2 .jeddle-toc__box[open] .jeddle-toc__summary .jeddle-icon { transform: rotate(180deg); }
body.jeddle-learn-v2 .jeddle-toc__list { margin-top: 14px; }
body.jeddle-learn-v2 .jeddle-toc__list a {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; padding: 7px 0;
  font: 400 14px/1.4 var(--jl2-body); color: var(--jl2-ink2); text-decoration: none;
}
body.jeddle-learn-v2 .jeddle-toc__list a:hover { color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-toc__n {
  display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; box-sizing: border-box;
  border: 1.5px solid #d9d5e4; border-radius: 50%; background: #fff; font: 700 11.5px/1 var(--jl2-body); color: var(--jl2-ink2);
}
body.jeddle-learn-v2 .jeddle-toc__extra .jeddle-toc__n { border: 0; background: none; }
body.jeddle-learn-v2 .jeddle-toc__extra .jeddle-toc__n::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-toc__list a[aria-current="true"] { color: var(--jl2-ink); font-weight: 600; }
body.jeddle-learn-v2 .jeddle-toc__list a[aria-current="true"] .jeddle-toc__n { background: var(--jl2-violet); border-color: var(--jl2-violet); color: #fff; }
@media (min-width: 1024px) {
  /* Sticks below the fixed header (measured by learn.js; the rebuilt header is two rows, ~142px).
   * Scrolls on its own when a long contents list is taller than the window; the 4px pad keeps focus rings visible. */
  body.jeddle-learn-v2 .jeddle-toc {
    position: sticky; top: calc(var(--jeddle-hdr-live, calc(var(--jl2-hdr) + 52px)) + 24px);
    max-height: calc(100vh - var(--jeddle-hdr-live, calc(var(--jl2-hdr) + 52px)) - 48px);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px; margin: -4px;
  }
  body.jeddle-learn-v2:not(.jl-header-only) .jeddle-toc {
    top: calc(var(--jeddle-hdr-live, calc(var(--jl2-legacy) + 12px)) + 24px);
    max-height: calc(100vh - var(--jeddle-hdr-live, calc(var(--jl2-legacy) + 12px)) - 48px);
  }
  body.jeddle-learn-v2 .jeddle-toc__summary { flex-direction: column; align-items: flex-start; gap: 3px; pointer-events: none; }
  body.jeddle-learn-v2 .jeddle-toc__summary .jeddle-icon { display: none; }
}
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-toc { margin: 20px 0 0; border: 1.5px solid var(--jl2-rule); border-radius: 14px; }
  body.jeddle-learn-v2 .jeddle-toc__summary { min-height: 52px; padding: 0 18px; }
  body.jeddle-learn-v2 .jeddle-toc__list { margin: 0; padding: 0 18px 12px; }
  body.jeddle-learn-v2 .jeddle-toc__list a { font-size: 15px; }
}

/* ---- video */
body.jeddle-learn-v2 .jeddle-video { position: relative; margin: 0 0 8px; }
body.jeddle-learn-v2 .jeddle-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--jl2-band); border-radius: 12px; overflow: hidden; }
body.jeddle-learn-v2 .jeddle-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.jeddle-learn-v2 .jeddle-video figcaption { margin-top: 12px; font: 400 13.5px/1.5 var(--jl2-body); color: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-video figcaption a { color: var(--jl2-violet); font-weight: 600; }
/* A taller hit area for the caption link on touch screens, without moving the text. */
body.jeddle-learn-v2 .jeddle-video figcaption a { display: inline-block; padding: 11px 0; margin: -11px 0; }

/* ---- takeaways: two columns on wide screens */
body.jeddle-learn-v2 .jeddle-takeaways { margin-top: 44px; }
body.jeddle-learn-v2 .jeddle-takeaways__title { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
body.jeddle-learn-v2 .jeddle-takeaways ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 10px; }
body.jeddle-learn-v2 .jeddle-takeaways li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 18px 0; border-top: 1px solid var(--jl2-rule); font: 400 16.5px/1.55 var(--jl2-body); color: var(--jl2-text); }
body.jeddle-learn-v2 .jeddle-takeaways__n { font: 800 22px/1.15 var(--jl2-display); color: var(--jl2-violet); }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-takeaways ol { grid-template-columns: minmax(0, 1fr); }
  body.jeddle-learn-v2 .jeddle-takeaways li { font-size: 16px; }
}

/* ---- body prose */
body.jeddle-learn-v2 .jeddle-article__body { margin-top: 8px; }
body.jeddle-learn-v2 .jeddle-article__body > p,
body.jeddle-learn-v2 .jeddle-article__body > ul li,
body.jeddle-learn-v2 .jeddle-article__body > ol li { font: 400 20px/1.7 var(--jl2-body); color: var(--jl2-text); }
body.jeddle-learn-v2 .jeddle-article__body > p { margin: 0 0 22px; max-width: var(--jl2-measure); }
body.jeddle-learn-v2 .jeddle-article__body p strong { font-weight: 600; }
body.jeddle-learn-v2 .jeddle-article__body h2 {
  font: 800 32px/1.15 var(--jl2-display); letter-spacing: -0.025em; color: var(--jl2-ink); max-width: 24em;
  margin: 72px 0 22px; scroll-margin-top: calc(var(--jeddle-hdr-live, calc(var(--jl2-hdr) + 52px)) + 28px);
}
body.jeddle-learn-v2 .jeddle-article__body > h2:first-child { margin-top: 56px; }
body.jeddle-learn-v2:not(.jl-header-only) .jeddle-article__body h2 { scroll-margin-top: calc(var(--jeddle-hdr-live, calc(var(--jl2-legacy) + 12px)) + 28px); }
/* Other in-page targets (contents "Common questions", hub "Watch the video") clear the fixed header too. */
body.jeddle-learn-v2 :is(#jeddle-faq, #jeddle-video) { scroll-margin-top: calc(var(--jeddle-hdr-live, calc(var(--jl2-hdr) + 52px)) + 28px); }
body.jeddle-learn-v2:not(.jl-header-only) :is(#jeddle-faq, #jeddle-video) { scroll-margin-top: calc(var(--jeddle-hdr-live, calc(var(--jl2-legacy) + 12px)) + 28px); }
body.jeddle-learn-v2 .jeddle-article__body h3 { font: 700 23px/1.25 var(--jl2-display); letter-spacing: -0.015em; color: var(--jl2-ink); margin: 36px 0 12px; max-width: var(--jl2-measure); }
body.jeddle-learn-v2 .jeddle-article__body > ul,
body.jeddle-learn-v2 .jeddle-article__body > ol { margin: 0 0 24px; padding-left: 1.4em; max-width: var(--jl2-measure); box-sizing: border-box; }
/* !important: common-styles.css strips bullets with `body article ul:not()…` (0,3,3). */
body.jeddle-learn-v2 .jeddle-article__body > ul { list-style: disc outside !important; }
body.jeddle-learn-v2 .jeddle-article__body > ol { list-style: decimal outside !important; counter-reset: none; }
body.jeddle-learn-v2 .jeddle-article__body > :is(ul,
ol) li { margin: 0 0 10px; padding-left: 4px; }
body.jeddle-learn-v2 .jeddle-article__body > :is(ul,
ol) li::before { content: none !important; display: none !important; }
body.jeddle-learn-v2 .jeddle-article__body > ul li::marker { color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-article__body > ol li::marker { color: var(--jl2-violet); font-family: var(--jl2-display); font-weight: 800; }
body.jeddle-learn-v2 .jeddle-article__body a:not(.jeddle-btn):not(.jeddle-more):not(.jeddle-gcover__preview):not(.jeddle-gcover__img) {
  color: var(--jl2-violet); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
body.jeddle-learn-v2 .jeddle-article__body a:not(.jeddle-btn):hover { color: var(--jl2-violet-dark); }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-article__body > p,
body.jeddle-learn-v2 .jeddle-article__body > :is(ul,
ol) li { font-size: 18px; }
  body.jeddle-learn-v2 .jeddle-article__body h2 { font-size: 27px; margin-top: 56px; }
}

/* tables: the full column width, scrolling sideways inside their own frame when too wide */
body.jeddle-learn-v2 .jeddle-article__body table {
  width: 100%; border-collapse: collapse; margin: 36px 0; font: 400 16px/1.5 var(--jl2-body); color: var(--jl2-text);
  border: 1.5px solid var(--jl2-rule); border-radius: 16px; display: block; overflow-x: auto;
}
body.jeddle-learn-v2 .jeddle-article__body .jeddle-learn-table { margin: 36px 0; border: 1.5px solid var(--jl2-rule); border-radius: 16px; overflow-x: auto; }
body.jeddle-learn-v2 .jeddle-article__body .jeddle-learn-table table { display: table; min-width: 560px; margin: 0; border: 0; border-radius: 0; }
body.jeddle-learn-v2 .jeddle-article__body :is(thead,
tfoot) { border: 0; }
body.jeddle-learn-v2 .jeddle-article__body :is(th,
td) { padding: 14px 20px; text-align: left; vertical-align: top; border: 0; border-top: 1px solid var(--jl2-rule); }
body.jeddle-learn-v2 .jeddle-article__body caption { caption-side: top; text-align: left; padding: 18px 20px 14px; font: 800 17px/1.3 var(--jl2-display); letter-spacing: -0.01em; color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-article__body thead th { background: var(--jl2-paper); color: var(--jl2-ink2); font: 700 12.5px/1.3 var(--jl2-body); letter-spacing: .07em; text-transform: uppercase; }
body.jeddle-learn-v2 .jeddle-article__body tbody th { font-weight: 600; color: var(--jl2-ink); }
/* Phones: the table fits the screen (columns wrap) rather than hiding a column off to the side. */
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-article__body .jeddle-learn-table table { min-width: 0; }
  body.jeddle-learn-v2 .jeddle-article__body :is(th,
td) { padding: 12px; font-size: 15px; }
  body.jeddle-learn-v2 .jeddle-article__body caption { padding: 16px 12px 12px; font-size: 16px; }
  body.jeddle-learn-v2 .jeddle-article__body thead th { font-size: 11.5px; letter-spacing: .05em; }
}

/* pull quote */
body.jeddle-learn-v2 .jeddle-pullquote { margin: 48px 0 40px; padding: 0; border: 0; max-width: var(--jl2-main); }
body.jeddle-learn-v2 .jeddle-pullquote p { font: 800 36px/1.25 var(--jl2-display); letter-spacing: -0.035em; color: var(--jl2-ink); margin: 0; }
body.jeddle-learn-v2 .jeddle-pullquote mark {
  color: inherit; background: linear-gradient(180deg, transparent 52%, rgba(255, 220, 15, .7) 52%, rgba(255, 220, 15, .7) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; font-weight: inherit;
}

/* ---- JeddAI offer, mid-article (compact) */
body.jeddle-learn-v2 .jeddle-icta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin: 64px 0 8px; padding: 28px 32px; border: 1.5px solid var(--jl2-rule); border-radius: 18px; background: #fff;
}
body.jeddle-learn-v2 .jeddle-icta__text { flex: 1 1 320px; min-width: 0; }
body.jeddle-learn-v2 .jeddle-icta__title { font: 800 24px/1.2 var(--jl2-display); letter-spacing: -0.015em; color: var(--jl2-ink); margin: 6px 0 0; }
body.jeddle-learn-v2 .jeddle-icta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
body.jeddle-learn-v2 .jeddle-icta__actions .jeddle-more { margin-top: 0; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-icta { flex-direction: column; align-items: stretch; margin-top: 48px; padding: 22px 20px; border-radius: 16px; }
  body.jeddle-learn-v2 .jeddle-icta__text { flex: none; }
  body.jeddle-learn-v2 .jeddle-icta__title { font-size: 21px; }
  body.jeddle-learn-v2 .jeddle-icta__actions { flex-direction: column; align-items: stretch; }
  body.jeddle-learn-v2 .jeddle-icta__actions .jeddle-more { justify-content: center; }
}

/* ---- JeddAI offer, end of article */
body.jeddle-learn-v2 .jeddle-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 56px; padding: 40px 44px; border-radius: 22px; background: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-cta__title { font: 800 32px/1.12 var(--jl2-display); letter-spacing: -0.03em; color: #fff; margin: 10px 0 0; max-width: 20em; }
body.jeddle-learn-v2 .jeddle-cta__body { font: 400 17px/1.55 var(--jl2-body); color: rgba(255, 255, 255, .88); margin: 12px 0 0; max-width: 560px; }
body.jeddle-learn-v2 .jeddle-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
body.jeddle-learn-v2 .jeddle-cta__actions .jeddle-more { margin: 0; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-cta { grid-template-columns: 1fr; padding: 26px 20px 22px; margin-top: 48px; border-radius: 18px; }
  body.jeddle-learn-v2 .jeddle-cta__title { font-size: 24px; }
  body.jeddle-learn-v2 .jeddle-cta__actions { flex-direction: column; align-items: stretch; }
  body.jeddle-learn-v2 .jeddle-cta__actions .jeddle-more { justify-content: center; }
}

/* ---- FAQ: a list of disclosures, the first one open */
body.jeddle-learn-v2 .jeddle-faq { margin-top: 80px; }
body.jeddle-learn-v2 .jeddle-faq .jeddle-h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.025em; }
body.jeddle-learn-v2 .jeddle-faq__list { margin-top: 20px; border-top: 1.5px solid var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-faq__item { border-bottom: 1px solid var(--jl2-rule); }
body.jeddle-learn-v2 .jeddle-faq__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none; color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-faq__summary::-webkit-details-marker { display: none; }
body.jeddle-learn-v2 .jeddle-faq__summary .jeddle-icon { flex: none; transition: transform .15s ease; }
body.jeddle-learn-v2 .jeddle-faq__item[open] .jeddle-faq__summary .jeddle-icon { transform: rotate(180deg); }
@media (hover: hover) { body.jeddle-learn-v2 .jeddle-faq__summary:hover .jeddle-faq__q { color: var(--jl2-violet); } }
body.jeddle-learn-v2 .jeddle-faq__q { font: 700 19px/1.35 var(--jl2-display); letter-spacing: -0.01em; color: var(--jl2-ink); margin: 0; }
body.jeddle-learn-v2 .jeddle-faq__a { padding: 0 0 22px; max-width: var(--jl2-measure); }
body.jeddle-learn-v2 .jeddle-faq__a p { font: 400 17px/1.65 var(--jl2-body); color: var(--jl2-text); margin: 0 0 10px; }
body.jeddle-learn-v2 .jeddle-faq__a p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-faq { margin-top: 56px; }
  body.jeddle-learn-v2 .jeddle-faq .jeddle-h2 { font-size: 27px; }
  body.jeddle-learn-v2 .jeddle-faq__q { font-size: 18px; }
}

/* ---- about */
body.jeddle-learn-v2 .jeddle-about { margin-top: 56px; padding: 24px 28px; border-radius: 16px; background: var(--jl2-paper); }
body.jeddle-learn-v2 .jeddle-about__title { font: 800 16px/1.2 var(--jl2-display); color: var(--jl2-ink); letter-spacing: 0; }
body.jeddle-learn-v2 .jeddle-about p { font: 400 15.5px/1.62 var(--jl2-body); color: var(--jl2-ink2); margin: 8px 0 0; }
body.jeddle-learn-v2 .jeddle-about a { color: var(--jl2-violet); font-weight: 600; }
body.jeddle-learn-v2 .jeddle-about__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
body.jeddle-learn-v2 .jeddle-about__links a { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--jl2-display); font-weight: 700; }
@media (max-width: 767px) { body.jeddle-learn-v2 .jeddle-about { padding: 20px; } }

/* ---- keep reading: a paper band, aligned with the article column */
body.jeddle-learn-v2 .jeddle-keep { margin-top: 96px; padding: 72px 0 104px; background: var(--jl2-paper); }
body.jeddle-learn-v2 .jeddle-keep__inner { margin-left: calc(var(--jl2-rail) + var(--jl2-gutter)); max-width: var(--jl2-main); }
body.jeddle-learn-v2 .jeddle-keep__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.jeddle-learn-v2 .jeddle-keep__head .jeddle-more { margin-top: 0; }
body.jeddle-learn-v2 .jeddle-keep .jeddle-h2 { font-size: 34px; }
body.jeddle-learn-v2 .jeddle-keep__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 28px; }
body.jeddle-learn-v2 .jeddle-keep .jeddle-fcard__title { font-size: 21px; }
@media (max-width: 1023px) {
  body.jeddle-learn-v2 .jeddle-keep__inner { margin-left: 0; }
  body.jeddle-learn-v2 .jeddle-keep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.jeddle-learn-v2 .jeddle-keep { margin-top: 64px; padding: 52px 0 64px; }
  body.jeddle-learn-v2 .jeddle-keep .jeddle-h2 { font-size: 28px; }
  body.jeddle-learn-v2 .jeddle-keep__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
 * Study-guide buy boxes
 * ====================================================================== */
body.jeddle-learn-v2 .jeddle-gcover { position: relative; aspect-ratio: 13 / 8; border-radius: 9px; overflow: hidden; background: #f3eefb; }
body.jeddle-learn-v2 .jeddle-gcover__img,
body.jeddle-learn-v2 .jeddle-gcover__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.jeddle-learn-v2 .jeddle-gcover__flat { display: flex; align-items: flex-end; width: 100%; height: 100%; box-sizing: border-box; padding: 16px; background: var(--jeddle-cover, var(--jl2-violet)); color: #fff; font: 800 20px/1.1 var(--jl2-display); }
body.jeddle-learn-v2 .jeddle-gcover__preview {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 3px;
  min-height: 36px; padding: 4px; box-sizing: border-box; background: rgba(255, 255, 255, .92);
  font: 500 14px/1 var(--jl2-body); color: var(--jl2-violet); text-decoration: none;
}
body.jeddle-learn-v2 .jeddle-gcover__preview:hover { background: #fff; color: var(--jl2-violet-dark); }
@media (pointer: coarse), (max-width: 767px) { body.jeddle-learn-v2 .jeddle-gcover__preview { min-height: 44px; } }
body.jeddle-learn-v2 .jeddle-gcover--sm { width: 220px; flex: none; }
body.jeddle-learn-v2 .jeddle-gcover--tilt { border: 2px solid var(--jl2-ink); transform: rotate(-2deg); }

body.jeddle-learn-v2 .jeddle-gprice { display: flex; align-items: baseline; gap: 8px; margin: 0; }
body.jeddle-learn-v2 .jeddle-gprice strong { font: 800 30px/1 var(--jl2-display); letter-spacing: -0.03em; color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-gprice span { font: 400 13.5px/1.2 var(--jl2-body); color: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-gbundle { font: 400 13.5px/1.5 var(--jl2-body); color: var(--jl2-ink2); margin: 8px 0 0; }
body.jeddle-learn-v2 .jeddle-gbundle strong { font-weight: 700; color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-gactions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
body.jeddle-learn-v2 .jeddle-gactions--row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 0; }
body.jeddle-learn-v2 .jeddle-gactions--row .jeddle-btn--block { display: inline-flex; width: auto; }

/* side / inline card */
body.jeddle-learn-v2 .jeddle-gcard { position: relative; box-sizing: border-box; padding: 16px 16px 18px; background: #fff; border: 2px solid var(--jl2-ink); border-radius: 16px; }
body.jeddle-learn-v2 .jeddle-gcard__cover { position: relative; }
body.jeddle-learn-v2 .jeddle-gcard__title { font: 800 23px/1.08 var(--jl2-display); letter-spacing: -0.025em; margin: 16px 0 0; }
body.jeddle-learn-v2 .jeddle-gcard__title a { color: var(--jl2-ink); text-decoration: none; }
body.jeddle-learn-v2 .jeddle-gcard__title a:hover { text-decoration: underline; }
body.jeddle-learn-v2 .jeddle-gcard__sub { font: 400 13.5px/1.4 var(--jl2-body); color: var(--jl2-ink3); margin: 5px 0 0; }
body.jeddle-learn-v2 .jeddle-gcard__stats { display: flex; gap: 16px; margin: 12px 0 0; font: 400 13px/1.3 var(--jl2-body); color: var(--jl2-ink2); }
body.jeddle-learn-v2 .jeddle-gcard__stats strong { font: 800 18px/1 var(--jl2-display); color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-gcard__buy { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--jl2-rule); }
body.jeddle-learn-v2 .jeddle-gcard .jeddle-more { margin-top: 10px; font-size: 14.5px; }
body.jeddle-learn-v2 .jeddle-gcard--inline { display: none; margin-top: 28px; }
@media (max-width: 1023px) { body.jeddle-learn-v2 .jeddle-gcard--inline { display: block; } }
body.jeddle-learn-v2.jeddle-has-guide .jeddle-art-top:has(.jeddle-gcard--inline) { display: flex; flex-direction: column; }

/* mid-article block (inside the article body) */
body.jeddle-learn-v2 .jeddle-gblock { margin: 72px 0 8px; padding: 28px 30px 30px; border: 2px solid var(--jl2-ink); border-radius: 18px; background: #fff; }
body.jeddle-learn-v2 .jeddle-gblock__head { display: flex; align-items: center; gap: 24px; }
body.jeddle-learn-v2 .jeddle-gblock__title { font: 800 27px/1.1 var(--jl2-display); letter-spacing: -0.03em; color: var(--jl2-ink); margin: 6px 0 0; }
body.jeddle-learn-v2 .jeddle-gblock__dek { font: 400 15.5px/1.5 var(--jl2-body); color: var(--jl2-ink2); margin: 8px 0 0; }
body.jeddle-learn-v2 .jeddle-gblock__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
body.jeddle-learn-v2 .jeddle-gblock__parts li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-radius: 12px; background: var(--jl2-paper); }
body.jeddle-learn-v2 .jeddle-gblock__parts li.is-here { background: var(--jl2-yellow); }
body.jeddle-learn-v2 .jeddle-gblock__n { font: 800 22px/1 var(--jl2-display); color: var(--jl2-violet); }
body.jeddle-learn-v2 .jeddle-gblock__name { font: 800 16.5px/1.2 var(--jl2-display); color: var(--jl2-ink); margin-top: 6px; }
body.jeddle-learn-v2 .jeddle-gblock__count { font: 600 13px/1.2 var(--jl2-body); color: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-gblock__parts li.is-here .jeddle-gblock__count { color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-gblock__here { position: absolute; right: 12px; top: 14px; padding: 3px 8px 4px; border-radius: 6px; background: var(--jl2-ink); font: 700 11.5px/1 var(--jl2-display); color: #fff; }
body.jeddle-learn-v2 .jeddle-gblock__buy { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--jl2-rule); }
/* The single-text button already carries the price. */
body.jeddle-learn-v2 .jeddle-gblock__buy .jeddle-gprice { display: none; }
body.jeddle-learn-v2 .jeddle-gblock__buy .jeddle-gbundle { margin: 0; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-gblock { margin-top: 48px; padding: 16px 16px 18px; border-radius: 16px; }
  body.jeddle-learn-v2 .jeddle-gblock__head { flex-direction: column; align-items: stretch; gap: 16px; }
  body.jeddle-learn-v2 .jeddle-gcover--sm { width: auto; }
  body.jeddle-learn-v2 .jeddle-gblock__title { font-size: 22px; }
  body.jeddle-learn-v2 .jeddle-gblock .jeddle-gactions--row { flex-direction: column; align-items: stretch; }
  body.jeddle-learn-v2 .jeddle-gblock .jeddle-gactions--row .jeddle-btn--block { display: flex; width: 100%; }
}

/* end-of-article block */
body.jeddle-learn-v2 .jeddle-gend { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 28px 36px; align-items: start; margin-top: 72px; padding: 40px 36px 36px; border-radius: 20px; background: var(--jl2-yellow); scroll-margin-top: calc(var(--jeddle-hdr-live, calc(var(--jl2-hdr) + 52px)) + 20px); }
body.jeddle-learn-v2 .jeddle-gend__cover { position: relative; }
body.jeddle-learn-v2 .jeddle-gend .jeddle-h2 { font-size: 34px; margin-top: 10px; }
body.jeddle-learn-v2 .jeddle-gend__dek { font: 500 16.5px/1.55 var(--jl2-body); color: var(--jl2-ink); margin: 12px 0 0; }
body.jeddle-learn-v2 .jeddle-gend__buy { grid-column: 1 / -1; padding-top: 24px; border-top: 2px solid rgba(30, 20, 70, .16); }
body.jeddle-learn-v2 .jeddle-gend__buy .jeddle-gprice strong { font-size: 26px; }
body.jeddle-learn-v2 .jeddle-gend__buy .jeddle-gprice span { color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-gend__buy .jeddle-gbundle { color: var(--jl2-ink); font-size: 14.5px; margin-bottom: 18px; }
body.jeddle-learn-v2 .jeddle-gend__proof { font: 400 15px/1.55 var(--jl2-body); color: var(--jl2-ink); margin: 22px 0 0; }
@media (max-width: 767px) {
  body.jeddle-learn-v2 .jeddle-gend { grid-template-columns: minmax(0, 1fr); padding: 30px 18px 24px; margin-top: 52px; border-radius: 18px; }
  body.jeddle-learn-v2 .jeddle-gend .jeddle-h2 { font-size: 30px; }
  body.jeddle-learn-v2 .jeddle-gend .jeddle-gactions--row { flex-direction: column; align-items: stretch; }
  body.jeddle-learn-v2 .jeddle-gend .jeddle-gactions--row .jeddle-btn--block { display: flex; width: 100%; }
}

/* phone buy bar and sheet */
body.jeddle-learn-v2 .jeddle-buybar { display: none; }
@media (max-width: 1023px) {
  body.jeddle-has-guide { padding-bottom: 96px; }
  body.jeddle-learn-v2 .jeddle-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--jl2-ink);
    box-shadow: 0 -8px 24px rgba(20, 10, 60, .12); transition: transform .2s ease, visibility 0s;
  }
  /* visibility keeps the off-screen bar out of the tab order once it has slid away. */
  body.jeddle-learn-v2 .jeddle-buybar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
}
body.jeddle-learn-v2 .jeddle-buybar__cover { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 2px solid var(--jl2-ink); box-sizing: border-box; flex: none; }
body.jeddle-learn-v2 .jeddle-buybar__text { flex: 1; min-width: 0; margin: 0; font: 400 13px/1.35 var(--jl2-body); color: var(--jl2-ink3); }
body.jeddle-learn-v2 .jeddle-buybar__text strong { display: block; font: 800 15px/1.2 var(--jl2-display); color: var(--jl2-ink); }
body.jeddle-learn-v2 .jeddle-buybar .jeddle-btn { flex: none; min-height: 46px; padding: 0 18px; font-size: 15.5px; }
@media (prefers-reduced-motion: reduce) { body.jeddle-learn-v2 .jeddle-buybar { transition: none; } }

body.jeddle-learn-v2 .jeddle-sheet {
  width: 100%; max-width: 560px; max-height: 92vh; margin: auto auto 0; box-sizing: border-box; padding: 10px 20px 30px;
  border: 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--jl2-text); overflow-y: auto;
}
body.jeddle-learn-v2 .jeddle-sheet::backdrop { background: rgba(20, 12, 50, .55); }
body.jeddle-learn-v2 .jeddle-sheet::before { content: ""; display: block; width: 44px; height: 5px; margin: 0 auto 8px; border-radius: 3px; background: #d4d0df; }
body.jeddle-learn-v2 .jeddle-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.jeddle-learn-v2 .jeddle-sheet__title { font: 800 21px/1.15 var(--jl2-display); letter-spacing: -0.02em; color: var(--jl2-ink); margin: 0; }
body.jeddle-learn-v2 .jeddle-sheet__close { flex: none; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 10px; background: transparent; color: var(--jl2-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
body.jeddle-learn-v2 .jeddle-sheet .jeddle-gcover { margin: 16px 0; }

/* =========================================================================
 * Print: the article, without chrome
 * ====================================================================== */
@media print {
  body.jeddle-learn-v2 .jeddle-buybar,
body.jeddle-learn-v2 .jeddle-sheet,
body.jeddle-learn-v2 .jeddle-icta,
body.jeddle-learn-v2 .jeddle-share,
body.jeddle-learn-v2 .jeddle-cta,
body.jeddle-learn-v2 .jeddle-gblock,
body.jeddle-learn-v2 .jeddle-gend,
body.jeddle-learn-v2 .jeddle-keep,
body.jeddle-learn-v2 .jeddle-toc { display: none !important; }
  body.jeddle-learn-v2 .jeddle-band { background: none; padding-top: 0; }
}

/* =========================================================================
 * 7. AEO comparison page (template-comparison.php)
 *
 * Shares this stylesheet so it inherits the filemtime cache-busting in
 * jeddle_blog_enqueue_assets(). Scoped to .jeddle-cmp / .jeddle-cmp-header so
 * nothing here can reach a Learn article or any other page.
 *
 * The purple header band is load-bearing, not decorative: #masthead is
 * position:fixed, ~122px tall, transparent, with WHITE links, so a light page
 * top renders the nav invisible and slides the H1 under the bar.
 * ====================================================================== */

.jeddle-cmp-header {
  background: #301b72;
  color: #fff;
  padding: 140px 1.25rem 2.25rem;
}
@media (max-width: 880px) { .jeddle-cmp-header { padding-top: 104px; } }

.jeddle-cmp-header__inner { max-width: 880px; margin: 0 auto; }
body .jeddle-cmp-header__inner h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.4rem);
  line-height: 1.2;
}
.jeddle-cmp-header__meta {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.jeddle-cmp { max-width: 880px; margin: 0 auto; padding: 2.25rem 1.25rem 3rem; line-height: 1.6; }
.jeddle-cmp h2 { margin: 2.25rem 0 0.9rem; font-size: 1.4rem; color: #301b72; }
.jeddle-cmp h3 { margin-top: 0; font-size: 1.05rem; color: #301b72; }

.jeddle-cmp__notice {
  border: 1px solid #f0c36d;
  background: #fdf6e3;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
}
.jeddle-cmp__notice code {
  background: rgba(48, 27, 114, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.jeddle-cmp__verdict {
  font-size: 1.08rem;
  background: #f5f3fb;
  border-left: 4px solid #6b21ff;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin: 0 0 1.25rem;
}

/* Wide tables scroll inside their own box rather than the page body. */
.jeddle-cmp__tablewrap { overflow-x: auto; margin: 1.25rem 0; }
.jeddle-cmp table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 520px; }
.jeddle-cmp th, .jeddle-cmp td {
  border: 1px solid #e3e6ee;
  padding: 0.62rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.jeddle-cmp thead th { background: #301b72; color: #fff; font-weight: 600; }
.jeddle-cmp tbody th { background: #faf9fd; font-weight: 600; }

.jeddle-cmp__best { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0; }
.jeddle-cmp__card { border: 1px solid #e3e6ee; border-radius: 10px; padding: 1.1rem 1.25rem; }
@media (max-width: 640px) { .jeddle-cmp__best { grid-template-columns: 1fr; } }

/* The theme's common-styles injects `article ul li::before { content:"•" }` at
 * a specificity (0,3,5) that list-style:none cannot beat — same fix as §6.2. */
.jeddle-cmp__card ul { list-style: disc; padding-left: 1.15rem; margin: 0; }
.jeddle-cmp__card ul li::before { content: none !important; }
.jeddle-cmp__card ul li { margin-bottom: 0.4rem; }

.jeddle-cmp__faq { border-bottom: 1px solid #eee; padding: 0.8rem 0; }
.jeddle-cmp__faq summary { font-weight: 600; cursor: pointer; color: #301b72; }
.jeddle-cmp__faq p { margin: 0.6rem 0 0; }

.jeddle-cmp__body { margin-top: 1.75rem; }

.jeddle-cmp__cta {
  display: inline-block;
  margin-top: 1.4rem;
  background: #6b21ff;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
/* Beat the theme's `.jeddle-article__main a { color:#6b21ff }`-style rules at
 * matching specificity, or the label renders purple-on-purple (see §6.1). */
.jeddle-cmp .jeddle-cmp__cta,
.jeddle-cmp a.jeddle-cmp__cta { color: #fff; }
.jeddle-cmp a.jeddle-cmp__cta:hover,
.jeddle-cmp a.jeddle-cmp__cta:focus { background: #5a18db; color: #fff; }

/* 8. Provenance: byline, review date, and third-party fact-check notice.
 * Dating is an E-E-A-T signal and a safety rail. A reader deciding whether to
 * trust advice about a syllabus needs to know how old it is, and a claim about
 * someone else's product goes stale silently. */
.jeddle-article__verified {
  margin: 0 0 1.5rem;
  padding: 0.7rem 0.95rem;
  border-left: 3px solid #6b21ff;
  background: #f7f5fd;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4a4560;
}
.jeddle-article__verified time { font-weight: 600; color: #301b72; }


/* ---- narrow phones (320–400px): buttons, the "You're here" badge, region switch and tabs fit without clipping */
@media (max-width: 480px) {
  body.jeddle-learn-v2 .jeddle-gblock__here { position: static; align-self: flex-start; order: -1; margin-bottom: 4px; }
}
@media (max-width: 400px) {
  body.jeddle-learn-v2 .jeddle-btn--lg { padding: 0 14px; font-size: 16px; }
  body.jeddle-learn-v2 .jeddle-btn { gap: 7px; }
  body.jeddle-learn-v2 .jeddle-btn__badge { padding: 3px 6px 4px; font-size: 11px; white-space: nowrap; }
}
@media (max-width: 360px) {
  body.jeddle-learn-v2 .jeddle-seg__opt { padding: 0 4px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.15; }
  body.jeddle-learn-v2 .jeddle-tabs { gap: 4px; }
  body.jeddle-learn-v2 .jeddle-tabs__tab { padding: 0 9px; font-size: 13.5px; }
}

/* Instructional visuals retain their full canvas rather than using card crops. */
body.jeddle-learn-v2 .jeddle-teaching-visual { margin: 28px 0 40px; }
body.jeddle-learn-v2 .jeddle-teaching-visual img { display: block; width: 100%; height: auto; border: 1px solid var(--jl2-rule); border-radius: 12px; }
body.jeddle-learn-v2 .jeddle-teaching-visual figcaption { margin-top: 10px; font: 400 13px/1.5 var(--jl2-body); color: var(--jl2-ink2); }

.jeddle-article .jl-learn-offer {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    margin: 1rem 0 1.5rem;
    padding: clamp(1rem, 3vw, 2rem);
    border-inline-start: 4px solid #6834bd;
    border-radius: 8px;
    background: #f6f2fc;
    color: #261843;
}
.jl-learn-offer h2 { margin: 0 0 .6rem; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.jl-learn-offer p { margin: .5rem 0; }
.jl-learn-offer .jeddle-btn, .jl-learn-offer .jeddle-more { margin-top: .65rem; }
.jl-learn-outline { margin-top: .8rem; }
.jl-learn-outline summary { cursor: pointer; font-weight: 700; text-decoration: underline; }
.jl-learn-outline ul { padding-inline-start: 1.4rem; }
