/* ============================================================
   jeradhill.com — SECTION STYLES (the Flexible Content library)
   Consumes tokens.css + theme.css.
   ============================================================ */

.jh-muted { color: var(--text-muted); }

/* ---- Prose (WYSIWYG in sections + blog) ---- */
.jh-prose { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--text-primary); }
.jh-prose > :first-child { margin-top: 0; }
.jh-prose > :last-child { margin-bottom: 0; }
.jh-prose p { margin: 0 0 1.1em; }
.jh-prose h2, .jh-prose h3, .jh-prose h4 { color: var(--ink); text-transform: uppercase; margin: var(--space-10) 0 var(--space-4); }
.jh-prose h2 { font-size: var(--fs-h4); }
.jh-prose h3 { font-size: var(--fs-h5); }
.jh-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.jh-prose a:hover { color: var(--accent-hover); }
/* Buttons dropped into prose keep their button styling, not link styling */
.jh-prose a.jhbtn { color: var(--action-contrast); text-decoration: none; }
.jh-prose a.jhbtn:hover { color: #fff; }
.jh-prose ul, .jh-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.jh-prose li { margin-bottom: .5em; }
.jh-prose blockquote { margin: var(--space-8) 0; padding-left: var(--space-6); border-left: 3px solid var(--ink); font-family: var(--font-serif); font-style: italic; color: var(--text-secondary); }
.jh-prose hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-10) 0; }
.jh-prose img { margin: var(--space-6) 0; }
.surface-inverse .jh-prose { color: rgba(255,255,255,.85); }
.surface-inverse .jh-prose h2, .surface-inverse .jh-prose h3 { color: #fff; }

/* ---- Hero ---- */
.jh-hero { position: relative; overflow: hidden; }
.jh-hero.is-dark { background: var(--ink); color: #fff; }
.jh-hero--plain { background: var(--white); }
.jh-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.jh-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,10,.82), rgba(11,11,10,.30) 72%); }
.jh-hero__inner { position: relative; padding-block: clamp(72px, 11vw, 130px); max-width: 780px; }
.jh-hero__inner--center { max-width: 860px; margin-inline: auto; text-align: center; }
.jh-hero.is-dark .jh-hero__eyebrow { color: rgba(255,255,255,.65); }
.jh-hero__eyebrow { margin-bottom: var(--space-4); }
.jh-hero.is-dark .jh-hero__title { color: #fff; }
.jh-hero__title { font-size: var(--fs-display); max-width: 15ch; }
.jh-hero__inner--center .jh-hero__title { max-width: none; }
.jh-hero__sub { margin-top: var(--space-5); max-width: 470px; font-size: 17px; line-height: var(--lh-relaxed); }
.jh-hero.is-dark .jh-hero__sub { color: rgba(255,255,255,.85); }
.jh-hero__inner--center .jh-hero__sub { margin-inline: auto; }
.jh-hero__cta { margin-top: var(--space-8); }
.jh-hero--statement .jh-hero__inner { padding-block: clamp(96px, 14vw, 160px); }

/* ---- Section header (page title) ---- */
.jh-pagehead { padding-block: var(--space-16) var(--space-10); border-bottom: 1px solid var(--border); }
.jh-pagehead__title { font-size: var(--fs-h1); text-transform: uppercase; }
.jh-pagehead__intro { margin-top: var(--space-5); max-width: 640px; }

/* ---- Split ---- */
.jh-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.jh-split--img-left .jh-split__media { order: -1; }
.jh-split--noimg .jh-split__inner, .jh-split__inner.jh-split--noimg { grid-template-columns: 1fr; }
.jh-split--noimg .jh-split__text { max-width: 820px; }
.jh-split__media img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.jh-split__text .jh-section-title { margin: var(--space-3) 0 var(--space-5); font-size: var(--fs-h3); }
.jh-split__cta { margin-top: var(--space-8); margin-bottom: 0; }

/* ---- Ventures ---- */
.jh-ventures__heading { font-size: var(--fs-h3); text-align: center; margin-bottom: var(--space-12); }
.jh-ventures__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.jh-venture { text-align: center; display: flex; flex-direction: column; align-items: center; }
.jh-venture__name { font-weight: var(--fw-extrabold); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 16px 0 8px; }
.jh-venture__desc { font-size: 14px; color: var(--text-secondary); max-width: 260px; margin: 0; }
.jh-venture--link { text-decoration: none; color: inherit; transition: transform var(--dur) var(--ease); }
.jh-venture--link .jh-icon, .jh-venture--link .jh-venture__name { transition: color var(--dur) var(--ease); }
.jh-venture--link:hover { transform: translateY(-2px); }
.jh-venture--link:hover .jh-icon, .jh-venture--link:hover .jh-venture__name { color: var(--accent); }

/* ---- Quote band ---- */
.jh-quoteband__inner { max-width: 860px; margin-inline: auto; text-align: center; }
.jh-quoteband__quote { color: #fff; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.25; }
.jh-quoteband__attr { margin-top: var(--space-6); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--n400); }

/* ---- Channel bar ---- */
.jh-channels { border-top: 1px solid var(--border); }
.jh-channels__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.jh-channel { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.jh-channel__icon { width: 44px; height: 44px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); display: grid; place-items: center; }
.jh-channel__name { font-weight: var(--fw-bold); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.jh-channel__sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.jh-channel--link { text-decoration: none; color: inherit; }
.jh-channel--link .jh-channel__icon, .jh-channel--link .jh-channel__name { transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.jh-channel--link:hover .jh-channel__icon { background: var(--accent); }
.jh-channel--link:hover .jh-channel__name { color: var(--accent); }

/* ---- Latest writing ---- */
.jh-latest__heading { font-size: var(--fs-h3); margin-bottom: var(--space-10); }
.jh-latest__cta { text-align: center; margin-top: var(--space-12); }

/* ---- Now ---- */
.jh-now__title { font-size: var(--fs-h3); margin-bottom: var(--space-6); }
.jh-now__list { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.jh-now__list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); align-items: start; }
.jh-now__list .jh-icon { margin-top: 3px; color: var(--accent); }
.jh-now__updated { margin-top: var(--space-8); font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- Contact info ---- */
.jh-cinfo__list { margin: var(--space-8) 0 0; }
.jh-cinfo__row { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--border); }
.jh-cinfo__row dt { margin: 0; padding-top: 2px; }
.jh-cinfo__row dd { margin: 0; color: var(--text-secondary); }

/* ---- Form + booking ---- */
.jh-formsec__head { margin-bottom: var(--space-8); }
.jh-formsec__head--center { text-align: center; }
.jh-formsec__head .jh-eyebrow { margin-bottom: var(--space-3); }
.jh-formsec__head .jh-lead { margin-top: var(--space-4); margin-bottom: 0; }
.jh-formsec .jh-lead, .jh-booking .jh-lead { margin-bottom: var(--space-8); }
.jh-form { margin-top: var(--space-6); }
.jh-booking__note { margin-top: var(--space-6); font-style: italic; color: var(--text-muted); }

/* ---- Testimonial ---- */
.jh-testi__inner { text-align: center; }
.jh-testi__quote { font-size: clamp(22px, 3vw, 28px); color: var(--ink); }
.jh-testi__author { margin-top: var(--space-5); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* ---- Links page ---- */
.jh-linkhead { padding-block: var(--space-16) var(--space-8); text-align: center; }
.jh-linkhead__inner { display: flex; flex-direction: column; align-items: center; }
.jh-linkhead__avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.jh-linkhead__name { font-size: 22px; margin: var(--space-5) 0 var(--space-2); }
.jh-linkhead__tagline { color: var(--text-secondary); }
.jh-linkhead__social { display: flex; gap: 12px; justify-content: center; margin-top: var(--space-6); }
.jh-linkhead__social a { width: 40px; height: 40px; background: var(--ink); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background var(--dur) var(--ease); }
.jh-linkhead__social a:hover { background: var(--accent); }
.jh-linktiles { padding-bottom: var(--space-16); }
.jh-linktiles__grid { display: flex; flex-direction: column; gap: var(--space-3); }
.jh-linktile { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-5); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.jh-linktile:hover { border-color: var(--accent); background: var(--accent-tint); color: var(--ink); }
.jh-linktile__thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); overflow: hidden; flex: none; background: var(--n100); }
.jh-linktile__thumb img { width: 100%; height: 100%; object-fit: cover; }
.jh-linktile__label { flex: 1; font-weight: var(--fw-bold); text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; }
.jh-linktile .jh-icon { color: var(--text-muted); }

/* ---- Image section ---- */
.jh-image__fig { margin: 0; }
.jh-image__fig img { width: 100%; display: block; border-radius: var(--radius-sm); }
.jh-image--narrow .jh-image__fig img, .jh-image--wide .jh-image__fig img { border: 1px solid var(--border); }
.jh-image--full .jh-image__fig img { border-radius: 0; }
.jh-image__cap { margin-top: var(--space-3); font-size: var(--fs-caption); color: var(--text-muted); text-align: center; }

/* ---- Embed section ---- */
.jh-embed .jh-section-title { margin-bottom: var(--space-8); text-align: center; }
.jh-embed__body { display: flex; justify-content: center; }
.jh-embed__body iframe { max-width: 100%; }

/* ---- Blog index ---- */
.jh-bloglist { padding-top: var(--space-12); }

/* ---- Blog single ---- */
.jh-single__head { padding-top: var(--space-8); }
.jh-single__title { font-size: var(--fs-h1); text-transform: uppercase; margin: var(--space-3) 0; }
.jh-single__meta { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.jh-single__hero { margin-block: var(--space-10); }
.jh-single__hero img { width: 100%; border-radius: var(--radius-sm); }
.jh-pagination { margin-top: var(--space-12); }
.jh-pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--border); margin-right: 4px; text-decoration: none; color: var(--ink); }
.jh-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .jh-ventures__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .jh-channels__grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
}
@media (max-width: 860px) {
  .jh-split__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .jh-split--img-left .jh-split__media { order: 0; }
}
@media (max-width: 640px) {
  .jh-ventures__grid { grid-template-columns: 1fr; }
  .jh-channels__grid { grid-template-columns: 1fr 1fr; }
  .jh-cinfo__row { grid-template-columns: 1fr; gap: var(--space-1); }
}

/* ============================================================
   EDUCATION SITE COMPONENTS (jeradhillphoto)
   ============================================================ */

/* Hero CTA pair */
.jh-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Section head row: eyebrow+heading left, view-all right */
.jh-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-10); }
.jh-shead__eyebrow { margin-bottom: var(--space-2); }
.jh-shead .jh-readmore { flex: none; margin-bottom: 4px; display: inline-flex; align-items: center; gap: 6px; }

/* Content grids */
.c-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.c-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* Content card */
.c-card { border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; background: var(--surface-card);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.c-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.c-card__media { position: relative; }
.c-card__media a { display: block; }
.c-card__img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; display: block; background: var(--n100); }
.c-card__badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 10px; font-weight: var(--fw-bold);
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); }
.c-card__rating { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: var(--fw-extrabold);
  padding: 4px 9px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 4px; }
.c-card__rating .jh-icon { fill: currentColor; }
.c-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.c-card__type { color: var(--accent); margin-bottom: 8px; }
.c-card__title { font-size: 17px; text-transform: uppercase; line-height: 1.15; margin-bottom: 10px; }
.c-card__title a { color: var(--ink); text-decoration: none; }
.c-card__title a:hover { color: var(--accent); }
.c-card__excerpt { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; flex: 1; }
.c-card__more { display: inline-flex; align-items: center; gap: 6px; }
.c-card__meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
/* Horizontal (2-up comparison) card — the image strip absolutely fills the
   media column so a large thumbnail can't inflate the card's height; the
   body content sets the height, min-height keeps the strip presentable. */
.c-card--horizontal { flex-direction: row; }
.c-card--horizontal .c-card__media { width: 180px; flex: none; align-self: stretch; position: relative; min-height: 170px; overflow: hidden; }
.c-card--horizontal .c-card__media a { position: absolute; inset: 0; }
.c-card--horizontal .c-card__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* Course card */
.course-card { border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface-card); text-decoration: none; color: inherit;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.course-card__media { position: relative; }
.course-card__img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; display: block; background: var(--n100); }
div.course-card__img { display: grid; place-items: center; color: var(--n400); }
.course-card__badge { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 10px; font-weight: var(--fw-bold);
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); }
.course-card__badge.is-ink { background: var(--ink); }
.course-card__badge.is-accent { background: var(--accent); }
.course-card__badge.is-free { background: #3d7a4e; }
.course-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-card__title { font-size: 18px; text-transform: uppercase; line-height: 1.15; margin-bottom: 8px; }
.course-card__desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; flex: 1; }
.course-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.course-card__meta { font-size: 12px; color: var(--text-muted); font-weight: var(--fw-semibold); }
.course-card__price { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 17px; }

/* YouTube band */
.yt-band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.yt-band__eyebrow { color: var(--text-on-inverse-muted); margin-bottom: var(--space-4); }
.yt-band__title { font-size: 34px; margin-bottom: var(--space-4); }
.yt-band__desc { color: rgba(255,255,255,.8); max-width: 440px; margin-bottom: var(--space-6); }
.yt-band__embed { border: 1px solid rgba(255,255,255,.14); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.yt-band__embed iframe { width: 100%; height: 100%; }

/* Stats */
.jh-stats__grid { display: grid; grid-template-columns: repeat(var(--stat-count, 3), 1fr); gap: var(--space-8); text-align: center; }
.jh-stat__num { font-family: var(--font-display); font-weight: var(--fw-black); font-size: var(--fs-h1); letter-spacing: var(--ls-display); line-height: 1; }
.jh-stat__label { margin-top: var(--space-2); font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* Callout (accent box) */
.jh-callout { background: var(--accent-tint); border: 1px solid var(--accent); border-left-width: 3px; border-radius: var(--radius-sm); padding: var(--space-6) var(--space-8); }
.jh-callout__heading { font-size: var(--fs-h6); text-transform: uppercase; margin-bottom: var(--space-3); color: var(--accent-hover); }
.jh-callout__body { color: var(--text-primary); }
.jh-callout__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.jh-callout__body > :last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
  .c-grid3 { grid-template-columns: repeat(2, 1fr); }
  .c-grid2 { grid-template-columns: 1fr; }
  .yt-band__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .jh-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .c-grid3 { grid-template-columns: 1fr; }
  .jh-shead { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .c-card--horizontal { flex-direction: column; }
  .c-card--horizontal .c-card__media { width: 100%; position: static; min-height: 0; }
  .c-card--horizontal .c-card__media a { position: static; }
  .c-card--horizontal .c-card__img { position: static; aspect-ratio: 16 / 10; height: auto; }
  .jh-stats__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COURSE SALES PAGE
   ============================================================ */
.jhbtn--white { background: #fff; color: var(--ink); border-color: #fff; }
.jhbtn--white:hover { background: var(--n100); border-color: var(--n100); color: var(--ink); }

.course-hero { padding-block: var(--space-16); }
.course-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.course-hero__media { border: 1px solid rgba(255,255,255,.12); aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--n900); }
.course-hero__media iframe, .course-hero__thumb { width: 100%; height: 100%; object-fit: cover; }
.course-hero__eyebrow { color: var(--text-on-inverse-muted); margin-bottom: var(--space-3); }
.course-hero__title { font-size: 40px; font-weight: var(--fw-black); letter-spacing: -0.01em; line-height: 1.04; text-transform: uppercase; margin-bottom: var(--space-4); color: #fff; }
.course-hero__sub { color: rgba(255,255,255,.82); max-width: 460px; margin-bottom: var(--space-6); }
.course-specs { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: flex; flex-direction: column; gap: 11px; }
.course-specs li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.9); }
.course-specs .jh-icon { color: var(--accent-tint); flex: none; }
.course-hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.course-banner { background: var(--accent-tint); border-bottom: 1px solid var(--accent); }
.course-banner__inner { padding-block: var(--space-4); display: flex; gap: 12px; align-items: flex-start; }
.course-banner .jh-icon { color: var(--accent); flex: none; margin-top: 2px; }
.course-banner__copy { font-size: var(--fs-small); color: #1a4653; }
.course-banner__copy p { margin: 0; }

.course-benefits__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.course-benefit { display: flex; gap: 14px; align-items: flex-start; }
.course-benefit > .jh-icon { color: var(--accent); flex: none; margin-top: 3px; }
.course-benefit__title { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 16px; margin-bottom: 6px; }
.course-benefit__desc { font-size: 15px; color: var(--text-secondary); margin: 0; }

.course-body { border-top: 1px solid var(--border); }
.course-body__grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 56px; align-items: start; }
.course-body__heading { font-size: var(--fs-h4); margin-bottom: var(--space-6); }
.course-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

.instructor-card { border: 1px solid var(--border); background: #fff; padding: 26px; text-align: center; }
.instructor-card__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.instructor-card__name { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 22px; }
.instructor-card__role { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.instructor-card__bio { font-size: 13px; color: var(--text-secondary); margin: 14px 0 16px; }
.instructor-card__social { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.instructor-card__social a { width: 34px; height: 34px; background: var(--ink); border-radius: var(--radius-sm); display: grid; place-items: center; color: #fff; }
.instructor-card__social a:hover { background: var(--accent); }
.instructor-card__btn { width: 100%; }

.price-card { border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 26px; text-align: center; }
.price-card__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.price-card__price { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 44px; line-height: 1; margin: 6px 0; }
.price-card__compare { font-size: 22px; color: rgba(255,255,255,.5); text-decoration: line-through; margin-right: 8px; }
.price-card__btn { width: 100%; margin-top: 12px; }

.course-faq__inner { max-width: 820px; margin-inline: auto; }
.course-faq__heading { font-size: var(--fs-h4); margin: var(--space-3) 0 var(--space-7, 28px); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  padding: 18px 0; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 16px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chev { color: var(--accent); flex: none; transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-item__chev { transform: rotate(90deg); }
.faq-item__answer { padding: 0 0 18px; color: var(--text-secondary); max-width: 64ch; }
.faq-item summary:focus-visible { outline: none; box-shadow: var(--shadow-ring); border-radius: var(--radius-xs); }

.course-testis__eyebrow { color: var(--text-on-inverse-muted); text-align: center; margin-bottom: var(--space-6); }
.course-testis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { border: 1px solid rgba(255,255,255,.14); padding: 26px; display: flex; flex-direction: column; }
.testi-card__stars { display: flex; gap: 3px; margin-bottom: 14px; color: #fff; }
.testi-card__stars .jh-icon { fill: currentColor; }
.testi-card__quote { font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.92); margin: 0 0 18px; flex: 1; }
.testi-card__name { font-size: 13px; font-weight: var(--fw-bold); letter-spacing: 0.06em; text-transform: uppercase; }
.course-related__eyebrow { margin-bottom: var(--space-6); }

/* ============================================================
   .ART — rich article typography (course about, posts)
   ============================================================ */
.art { font-size: 17px; line-height: 1.75; color: var(--n600); }
.art > :first-child { margin-top: 0; }
.art > p:first-of-type { font-size: 19px; color: var(--ink); }
.art h2, .art h3 { font-family: var(--font-display); font-weight: var(--fw-extrabold); text-transform: uppercase; color: var(--ink); letter-spacing: 0.01em; scroll-margin-top: 90px; }
.art h2 { font-size: 24px; margin: var(--space-12) 0 var(--space-4); }
.art h3 { font-size: 19px; margin: var(--space-10) 0 var(--space-3); }
.art p { margin: 0 0 1.2em; }
.art a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.art a:hover { color: var(--accent-hover); }
.art ul, .art ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.art li { margin-bottom: 0.5em; }
.art li::marker { color: var(--accent); }
.art strong { color: var(--ink); }
.art blockquote { margin: var(--space-8) 0; padding: var(--space-4) var(--space-6); border-left: 3px solid var(--accent);
  background: var(--accent-tint); font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--ink); }
.art blockquote p { margin: 0; }
.art img { border-radius: var(--radius-sm); margin: var(--space-6) 0; }
.art hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-10) 0; }

/* Course responsive */
@media (max-width: 900px) {
  .course-hero__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .course-benefits__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .course-body__grid { grid-template-columns: 1fr; }
  .course-side { position: static; }
  .course-testis__grid { grid-template-columns: 1fr; }
  .course-hero__title { font-size: 32px; }
}

/* ============================================================
   SINGLE POST (TOC layout) + CONTENT ARCHIVE
   ============================================================ */
.post-single { padding-top: 44px; }
.post-single__wrap { max-width: 900px; }
.post-crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.post-crumb a { color: var(--text-muted); text-decoration: none; }
.post-crumb a:hover { color: var(--accent); }
.post-badge { display: inline-block; background: var(--ink); color: #fff; font-size: 10px; font-weight: var(--fw-bold);
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); }
.post-single__title { font-size: 42px; font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.04; margin: 14px 0 16px; }
.post-single__meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; display: flex; gap: 18px; flex-wrap: wrap; }
.post-single__hero { margin-bottom: 40px; }
.post-single__hero img { width: 100%; height: auto; border-radius: var(--radius-sm); }

.post-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.post-layout--no-toc { grid-template-columns: minmax(0, 1fr); }
.post-toc { position: sticky; top: 96px; }
.post-toc__label { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.post-toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.post-toc a { display: block; font-size: 13px; line-height: 1.4; color: var(--text-muted); text-decoration: none;
  padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.post-toc a:hover { color: var(--ink); }
.post-toc a.on { color: var(--ink); font-weight: var(--fw-bold); border-left-color: var(--accent); }

.post-author { padding-block: var(--space-4) var(--space-8); }
.post-author__box { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.post-author__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.post-author__name { font-family: var(--font-display); font-weight: var(--fw-extrabold); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.post-author__bio { font-size: 14px; color: var(--text-secondary); margin: 0 0 12px; }
.post-author__social { display: flex; gap: 8px; }
.post-author__social a { width: 30px; height: 30px; background: var(--ink); border-radius: var(--radius-sm); display: grid; place-items: center; color: #fff; }
.post-author__social a:hover { background: var(--accent); }

.post-nl { padding-block: var(--space-14); }
.post-nl__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.post-nl__eyebrow { color: var(--text-on-inverse-muted); margin-bottom: var(--space-3); }
.post-nl__title { font-size: 26px; margin-bottom: var(--space-3); }
.post-nl__desc { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto var(--space-5); }
.post-related__eyebrow { margin-bottom: var(--space-6); }

/* Archive */
.arch-hero { padding-block: var(--space-16); }
.arch-hero__eyebrow { color: var(--text-on-inverse-muted); margin-bottom: var(--space-3); }
.arch-hero__title { font-size: 54px; font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; color: #fff; }
.arch-pills { padding-top: 44px; }
.arch-pills__row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.arch-pill { display: inline-block; font-size: 13px; font-weight: var(--fw-semibold); padding: 8px 16px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); color: var(--text-secondary); text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.arch-pill:hover { color: var(--ink); border-color: var(--ink); }
.arch-pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.arch-grid { padding-top: var(--space-12); }
.arch-pagination { text-align: center; }

@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; gap: 0; }
  .post-toc { position: static; margin-bottom: 32px; border: 1px solid var(--border); padding: 18px 20px; background: var(--surface-muted); }
  .post-toc ul { border-left: 0; }
  .post-single__title { font-size: 32px; }
  .arch-hero__title { font-size: 38px; }
}

/* ============================================================
   EMBED WRAPPER FIX — providers like Bunny.net ship a responsive
   wrapper (<div style="position:relative;padding-top:56.25%"> + an
   absolute iframe). Inside our fixed-aspect media boxes that wrapper
   collapses to zero width (flex shrink-wrap) and inline position
   styles may be stripped by kses. So: the media box itself is the
   positioning context, the wrapper is neutralized, and any iframe
   force-fills the box.
   ============================================================ */
.course-hero__media, .yt-band__embed { position: relative; display: block; }
.course-hero__media > div, .yt-band__embed > div {
  position: static !important;
  padding: 0 !important;
  width: 100%; height: 100%;
}
.course-hero__media iframe, .yt-band__embed iframe {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  border: 0;
}

/* Generic embed section: give responsive wrappers full width (leaves
   fixed-size embeds like Substack forms centered as before). */
.jh-embed__body > div { width: 100%; }

/* ============================================================
   LANDING PAGES (/l/) — hero lead-in, form split, feature cards
   ============================================================ */

/* Hero lead-in — italic serif line between eyebrow and headline */
.jh-hero__leadin {
  font-family: var(--font-serif, "Newsreader", Georgia, serif);
  font-style: italic;
  font-size: 19px;
  line-height: var(--lh-relaxed);
  max-width: 620px;
  margin-bottom: var(--space-5);
  color: var(--text-muted);
}
.jh-hero.is-dark .jh-hero__leadin { color: rgba(255,255,255,.78); }
.jh-hero__inner--center .jh-hero__leadin { margin-inline: auto; }

/* Prose eyebrow */
.jh-prose-eyebrow { margin-bottom: var(--space-4); }
.jh-prose-eyebrow + .jh-prose-heading { margin-top: 0; }

/* Form split — heading + text + form beside an image */
.jh-formsplit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.jh-formsplit--imgleft .jh-formsplit__main { order: 2; }
.jh-formsplit--imgleft .jh-formsplit__media { order: 1; }
.jh-formsplit--noimg .jh-formsplit__grid { grid-template-columns: minmax(0, 640px); justify-content: center; }
.jh-formsplit__title { font-size: var(--fs-display); max-width: 14ch; }
.jh-formsplit__text { margin-top: var(--space-5); max-width: 520px; }
.jh-formsplit__form { margin-top: var(--space-7); max-width: 520px; }
.jh-formsplit__media img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); }

/* Feature cards — 3-up bordered value props */
.jh-fcards__eyebrow { text-align: center; margin-bottom: var(--space-4); }
.jh-fcards__title { text-align: center; margin-bottom: var(--space-8); }
.jh-fcards__eyebrow + .jh-fcards__grid,
.jh-fcards__title + .jh-fcards__grid { margin-top: 0; }
.jh-fcards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.jh-fcard {
  border: 1px solid var(--border);
  background: var(--surface-card);
  padding: 30px 28px;
}
.jh-fcard__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--accent-tint, #eaf1f3); color: var(--accent, #215a6b); border-radius: var(--radius-sm); margin-bottom: var(--space-5); }
.jh-fcard__title { font-size: 18px; font-weight: 700; margin-bottom: var(--space-3); }
.jh-fcard__text { color: var(--text-muted); line-height: var(--lh-relaxed); }
.jh-fcards.surface-inverse .jh-fcard { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.jh-fcards.surface-inverse .jh-fcard__title { color: #fff; }
.jh-fcards.surface-inverse .jh-fcard__text { color: rgba(255,255,255,.72); }
.jh-fcards.surface-inverse .jh-fcards__title { color: #fff; }

@media (max-width: 900px) {
  .jh-formsplit__grid { grid-template-columns: 1fr; gap: 36px; }
  .jh-formsplit--imgleft .jh-formsplit__main { order: 1; }
  .jh-formsplit--imgleft .jh-formsplit__media { order: 2; }
  .jh-fcards__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STANDARD PAGES (no sections) — plugin pages like the FluentCart
   checkout/cart/receipt, and plain WP pages, rendered by page.php.
   ============================================================ */
.page-standard { padding-block: var(--space-14) var(--space-20); }
.page-standard__wrap { max-width: 920px; }
.page-standard__title { font-size: var(--fs-h2); text-transform: uppercase; margin-bottom: var(--space-8); }

/* Blog index — type filter pills above the grid */
.jh-bloglist__pills { margin-bottom: var(--space-10); justify-content: flex-start; }
