/* Stepwise: presents and sells the course; lessons read like a book. */
:root{
  --ath-r: var(--wp--custom--radius--base, 6px);
  --ath-tint: color-mix(in oklch, var(--stw-accent) 9%, var(--stw-surface));
}
.stepwise-header a { text-decoration: none; }
.stepwise-footer { font-size: var(--wp--preset--font-size--small); color: var(--stw-ink-soft); border-top: 1px solid var(--stw-line); }
.stepwise-footer a { color: inherit; }
.wp-block-button__link { border-radius: var(--ath-r); }
.is-style-eyebrow { font-size: .78rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stw-accent-ink); }
.is-style-lede { font-size: var(--wp--preset--font-size--medium); color: var(--stw-ink-soft); max-width: 38rem; }
.is-style-meta { font-size: var(--wp--preset--font-size--small) !important; color: var(--stw-ink-soft); word-spacing: .15em; }
.is-style-meta strong { color: var(--stw-ink); }
.is-style-free, .stepwise-free { display: inline-block; font-size: .72rem !important; font-weight: 700; color: var(--stw-accent-ink); background: var(--ath-tint); padding: .1rem .55rem; border-radius: 999px; }
.wp-block-list.is-style-learn { list-style: none; padding: 0; display: grid; gap: .6rem 2rem; }
@media (min-width: 48rem) { .wp-block-list.is-style-learn { grid-template-columns: 1fr 1fr; } }
.wp-block-list.is-style-learn li { padding-left: 1.6rem; position: relative; }
.wp-block-list.is-style-learn li::before { content: "✓"; position: absolute; left: 0; color: var(--stw-accent-ink); font-weight: 700; }
.wp-block-details.is-style-module { border: 1px solid var(--stw-line); border-radius: var(--ath-r); padding: 0 1.2rem; margin-bottom: .8rem; }
.wp-block-details.is-style-module summary { cursor: pointer; font-weight: 600; min-height: 52px; display: flex; align-items: center; }
.wp-block-details.is-style-module ul { list-style: none; padding: 0 0 1rem; margin: 0; }
.wp-block-details.is-style-module li { padding: .5rem 0; border-top: 1px solid var(--stw-line); font-size: .95rem; }
.wp-block-columns.is-style-fit > .wp-block-column { border-top: 2px solid var(--stw-ink); padding-top: .8rem; }
.wp-block-group.is-style-enrol { border: 1px solid var(--stw-accent); border-radius: calc(var(--ath-r) + 4px); padding: var(--wp--preset--spacing--60); max-width: 30rem; }
.wp-block-group.is-style-guarantee { background: var(--ath-tint); border-radius: var(--ath-r); padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); max-width: 30rem; }
.wp-block-group.is-style-quote { border: 1px solid var(--stw-line); border-radius: var(--ath-r); padding: var(--wp--preset--spacing--50); height: 100%; }
.wp-block-group.is-style-part-of { border: 1px solid var(--stw-line); border-radius: var(--ath-r); padding: var(--wp--preset--spacing--50); margin-block: var(--wp--preset--spacing--60); }
.wp-block-group.is-style-part-of .wp-block-post-template { counter-reset: ath-l; }
.wp-block-group.is-style-part-of .wp-block-post-template > li { counter-increment: ath-l; display: flex; gap: .6rem; padding: .2rem 0; }
.wp-block-group.is-style-part-of .wp-block-post-template > li::before { content: counter(ath-l) "."; color: var(--stw-ink-soft); min-width: 1.4rem; }
.wp-block-group.is-style-part-of .wp-block-post-title { font-size: 1rem; font-weight: 400; margin: 0; }
.wp-block-group.is-style-cta { background: var(--ath-tint); border-radius: var(--ath-r); padding: var(--wp--preset--spacing--50); margin-top: var(--wp--preset--spacing--60); }
.stepwise-lesson-list .wp-block-post-template { counter-reset: ath-c; }
.stepwise-lesson-list .wp-block-post-template > li { counter-increment: ath-c; display: flex; gap: .8rem; border-top: 1px solid var(--stw-line); padding: .7rem 0; align-items: baseline; }
.stepwise-lesson-list .wp-block-post-template > li::before { content: counter(ath-c); font-weight: 700; color: var(--stw-accent-ink); min-width: 1.6rem; }
.stepwise-lesson-list .wp-block-post-title { font-size: 1rem; margin: 0; }
.stepwise-cards .wp-block-post-template > li { border: 1px solid var(--stw-line); border-radius: var(--ath-r); overflow: hidden; }
.stepwise-cards .wp-block-post-featured-image { margin: 0; }
.stepwise-cards .wp-block-post-template > li > :not(.wp-block-post-featured-image) { padding-inline: var(--wp--preset--spacing--40); }
.stepwise-cards .wp-block-post-title a { text-decoration: none; }
.stepwise-prevnext { border-top: 1px solid var(--stw-line); padding-top: var(--wp--preset--spacing--40); margin-top: var(--wp--preset--spacing--60); }
.stepwise-prevnext a { text-decoration: none; }
.stepwise-author-card { border-top: 1px solid var(--stw-line); }
@media print { .stepwise-header, .stepwise-footer, .wp-block-buttons, .is-style-cta { display: none !important; } }
