:root {
    --snap-cohort-accent-1: #635bff;
    --snap-cohort-accent-2: #7e8aff;
    --snap-cohort-accent: var(--snap-cohort-accent-1);
    --snap-cohort-on-accent: #fff;
    --snap-cohort-on-accent-hover: #fff;
    --snap-cohort-accent-dark: color-mix(in srgb, var(--snap-cohort-accent-1) 82%, #1a1f3a 18%);
    --snap-cohort-link: #5148d8;
    --snap-cohort-term-ink: #5148d8;
    --snap-cohort-border: #dce0ea;
    --snap-cohort-surface: #fff;
    --snap-cohort-ink: #172033;
    --snap-cohort-muted: #60697b;
    --snap-cohort-progress-low: #a33b0b;
    --snap-cohort-progress-middle: #8a5a00;
    --snap-cohort-progress-high: #17653a;
}

.snap-cohort-app-rail {
    background: var(--snap-cohort-surface, #fff);
    border-right: 1px solid var(--snap-cohort-border);
    box-shadow: 12px 0 32px rgba(15, 23, 42, .08);
    display: grid;
    gap: .8rem;
    left: 0;
    padding: .65rem;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    z-index: 45;
}

.snap-cohort-app-rail__toggle,
.snap-cohort-app-rail__item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: .7rem;
    color: var(--snap-cohort-ink, #172033);
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: .75rem;
    min-height: 2.6rem;
    padding: .6rem;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.snap-cohort-app-rail__toggle .dashicons,
.snap-cohort-app-rail__item .dashicons { font-size: 1.25rem; height: 1.25rem; width: 1.25rem; }
.snap-cohort-app-rail__items { display: grid; gap: .65rem; }
.snap-cohort-app-rail__group { display: grid; gap: .2rem; margin: 0; padding: 0; }
.snap-cohort-app-rail__group + .snap-cohort-app-rail__group { border-top: 1px solid color-mix(in srgb, var(--snap-cohort-border) 72%, transparent); padding-top: .65rem; }
.snap-cohort-app-rail__group h2 { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.snap-cohort-app-rail__item > span:last-of-type { display: none; white-space: nowrap; }
.snap-cohort-app-rail__item:hover, .snap-cohort-app-rail__item:focus-visible, .snap-cohort-app-rail__item.is-current { background: color-mix(in srgb, var(--snap-cohort-accent) 12%, var(--snap-cohort-surface)); color: var(--snap-cohort-link); }
.snap-cohort-app-rail__item:focus-visible, .snap-cohort-app-rail__toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--snap-cohort-accent) 52%, transparent); outline-offset: 2px; }
.snap-cohort-app-rail__badge { align-items: center; background: var(--snap-cohort-accent); border-radius: 999px; color: var(--snap-cohort-on-accent); display: inline-flex; font-size: .7rem; justify-content: center; min-height: 1.2rem; min-width: 1.2rem; }
.snap-cohort-app-rail.is-expanded { gap: 1rem; padding: 1rem; width: 17rem; }
.snap-cohort-app-rail.is-expanded .snap-cohort-app-rail__items { gap: 1rem; }
.snap-cohort-app-rail.is-expanded .snap-cohort-app-rail__group { gap: .25rem; }
.snap-cohort-app-rail.is-expanded .snap-cohort-app-rail__group h2 { clip: auto; clip-path: none; color: var(--snap-cohort-muted); height: auto; margin: .1rem .6rem .35rem; overflow: visible; position: static; text-transform: uppercase; font-size: .68rem; letter-spacing: .09em; white-space: normal; width: auto; }
.snap-cohort-app-rail.is-expanded .snap-cohort-app-rail__item > span:last-of-type { display: inline; }
.snap-cohort-app-rail.is-expanded .snap-cohort-app-rail__badge { margin-left: auto; }
@media (max-width: 980px) { .snap-cohort-app-rail { bottom: 0; box-shadow: 0 -8px 24px rgba(15,23,42,.08); left: 0; padding: .45rem .65rem; right: 0; top: auto; transform: none; width: auto; } .snap-cohort-app-rail__toggle { display: none; } .snap-cohort-app-rail__items { display: flex; gap: 0; justify-content: space-around; } .snap-cohort-app-rail__group, .snap-cohort-app-rail__group + .snap-cohort-app-rail__group { border: 0; display: contents; padding: 0; } .snap-cohort-app-rail__item { justify-content: center; } .snap-cohort-app-rail__item > span:last-of-type, .snap-cohort-app-rail__badge { display: none; } }

.snap-cohort-block-shell {
    color: inherit;
    min-width: 0;
}

.snap-cohort-block-shell.has-background {
    border-radius: var(--snap-cohort-block-radius, 18px);
}

.snap-cohort-block-shell > :first-child {
    margin-block-start: 0;
}

.snap-cohort-block-shell > :last-child {
    margin-block-end: 0;
}

.snap-cohort-favorite {
    align-items: center;
    background: var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 999px;
    color: var(--snap-cohort-link);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    gap: .35rem;
    line-height: 1.25;
    padding: .5rem .75rem;
}

.snap-cohort-favorite[aria-pressed="true"] {
    background: color-mix(in srgb, var(--snap-cohort-accent) 12%, var(--snap-cohort-surface));
    border-color: var(--snap-cohort-accent-dark);
}

.snap-cohort-favorite:hover,
.snap-cohort-favorite:focus-visible {
    border-color: var(--snap-cohort-accent-dark);
    outline: 2px solid var(--snap-cohort-accent-dark);
    outline-offset: 2px;
}

.snap-cohort-favorite:disabled { cursor: wait; opacity: .72; }

.snap-cohort-favorites { color: var(--snap-cohort-text, #172033); }
.snap-cohort-favorites__heading { align-items: center; display: flex; gap: .75rem; justify-content: space-between; margin-bottom: 1rem; }
.snap-cohort-favorites__heading h2, .snap-cohort-favorites__heading h3, .snap-cohort-favorites__heading h4 { margin: 0; }
.snap-cohort-favorites__count, .snap-cohort-favorites__type { border: 1px solid var(--snap-cohort-border, #d7dceb); border-radius: 999px; color: var(--snap-cohort-muted, #566078); font-size: .8125rem; font-weight: 650; padding: .28rem .6rem; }
.snap-cohort-favorites__items { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.snap-cohort-favorites__item, .snap-cohort-favorites__empty { background: var(--snap-cohort-surface, #fff); border: 1px solid var(--snap-cohort-border, #d7dceb); border-radius: var(--snap-cohort-radius, 1rem); padding: clamp(1rem, 2vw, 1.5rem); }
.snap-cohort-favorites__item h3 { margin: .6rem 0; }
.snap-cohort-favorites__item p { color: var(--snap-cohort-muted, #566078); margin: 0 0 1rem; }
.snap-cohort-favorites__actions { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; }
.snap-cohort-favorites--list .snap-cohort-favorites__items, .snap-cohort-favorites--compact .snap-cohort-favorites__items { grid-template-columns: 1fr; }
.snap-cohort-favorites--compact .snap-cohort-favorites__item { align-items: center; display: flex; gap: .75rem; justify-content: space-between; padding: .75rem 1rem; }
.snap-cohort-favorites--compact .snap-cohort-favorites__item h3 { margin: 0; }
.snap-cohort-favorites--compact .snap-cohort-favorites__item p, .snap-cohort-favorites--compact .snap-cohort-favorites__type { display: none; }
@media (max-width: 520px) { .snap-cohort-favorites__heading { align-items: flex-start; flex-direction: column; } .snap-cohort-favorites--compact .snap-cohort-favorites__item { align-items: flex-start; flex-direction: column; } }

.snap-cohort-demo-page {
    display: grid;
    gap: clamp(24px, 3vw, 40px);
    margin-inline: auto;
    max-width: 1180px;
}

.snap-cohort-demo-page-view .site-main {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: clamp(16px, 3vw, 32px);
    width: 100%;
}

/* Course content is authored with Gutenberg or Elementor too: give the native
 * single-CPT template the same deliberate frame as the demo pages. */
.snap-cohort-course-view .site-main {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: clamp(16px, 3vw, 32px);
    width: 100%;
}

.snap-cohort-course-view .site-main > .page-header {
    background:
        radial-gradient(85% 140% at 100% 0%, color-mix(in srgb, var(--snap-cohort-accent) 16%, transparent), transparent 62%),
        var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    display: flex;
    isolation: isolate;
    margin: 0;
    min-height: clamp(11rem, 17vw, 14rem);
    overflow: hidden;
    padding: clamp(26px, 4vw, 46px) clamp(24px, 5vw, 64px) clamp(20px, 3vw, 34px);
    position: relative;
    align-items: center;
}

.snap-cohort-course-view .site-main > .page-header .entry-title {
    color: var(--snap-cohort-ink);
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    letter-spacing: -.045em;
    line-height: 1.03;
    margin: 0;
    max-width: 17ch;
    position: relative;
    z-index: 1;
}

.snap-cohort-course-view .site-main > .page-header::after {
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--snap-cohort-accent) 22%, transparent) 0 7%, transparent 7.6%),
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--snap-cohort-accent) 15%, transparent) 0 27%, transparent 27.6%),
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--snap-cohort-accent) 10%, transparent) 0 47%, transparent 47.6%);
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 24%, transparent);
    border-radius: 50%;
    content: "";
    height: min(18vw, 15rem);
    opacity: .9;
    pointer-events: none;
    position: absolute;
    right: clamp(1.5rem, 7vw, 7rem);
    top: 50%;
    transform: translateY(-50%);
    width: min(18vw, 15rem);
    z-index: -1;
}

.snap-cohort-course-view .site-main > .page-content {
    background: var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 0 0 24px 24px;
    border-top: 0;
    padding: clamp(24px, 4vw, 48px);
}

.snap-cohort-demo-page-view .site-header {
    background: color-mix(in srgb, var(--snap-cohort-surface) 94%, transparent);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(25, 31, 56, .07);
    margin: 18px auto 32px;
    max-width: 1180px;
    padding: 14px clamp(18px, 3vw, 32px);
    width: calc(100% - 32px);
}

.snap-cohort-demo-page-view .site-header.dynamic-header {
    position: sticky;
    top: max(8px, var(--wp-admin--admin-bar--height, 0px));
    z-index: 50;
}

.snap-cohort-demo-page-view .site-header .header-inner {
    align-items: center;
    gap: 18px;
    max-width: none;
    padding: 0;
}

.snap-cohort-demo-page-view .site-header .site-branding {
    flex: 0 0 auto;
}

.snap-cohort-demo-page-view .site-header .site-navigation {
    flex: 1 1 auto;
}

.snap-cohort-demo-page-view .site-header .site-title,
.snap-cohort-demo-page-view .site-header .site-title a {
    color: var(--snap-cohort-ink);
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.snap-cohort-demo-page-view .site-header .site-navigation a {
    border-radius: 999px;
    color: var(--snap-cohort-ink);
    font-size: .92rem;
    padding: 8px 10px;
}

.snap-cohort-demo-page-view .site-footer {
    background: #111827;
    border: 0;
    border-radius: 22px 22px 0 0;
    color: #f8fafc;
    margin: clamp(40px, 7vw, 88px) auto 0;
    max-width: 1180px;
    padding: clamp(28px, 4vw, 48px);
    width: calc(100% - 32px);
}

.snap-cohort-demo-page-view .site-footer .footer-inner {
    max-width: none;
    padding: 0;
}

.snap-cohort-demo-page-view .site-footer .copyright p {
    color: #cbd5e1;
    margin: 0;
}

.snap-cohort-demo-page-view .site-header .site-navigation a:hover,
.snap-cohort-demo-page-view .site-header .site-navigation a:focus-visible,
.snap-cohort-demo-page-view .site-header .current-menu-item > a {
    background: color-mix(in srgb, var(--snap-cohort-accent) 10%, var(--snap-cohort-surface));
    color: var(--snap-cohort-link);
}

.snap-cohort-demo-page-view .site-main > .page-header {
    background:
        radial-gradient(85% 140% at 100% 0%, color-mix(in srgb, var(--snap-cohort-accent) 16%, transparent), transparent 62%),
        var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    display: flex;
    isolation: isolate;
    margin: 0;
    min-height: clamp(12.5rem, 20vw, 17rem);
    overflow: hidden;
    padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 64px) clamp(20px, 3vw, 36px);
    position: relative;
    align-items: center;
}

.snap-cohort-demo-page-view .site-main > .page-header .entry-title {
    color: var(--snap-cohort-ink);
    font-size: clamp(2.35rem, 4.2vw, 4.5rem);
    letter-spacing: -.045em;
    line-height: 1;
    margin: 0;
    max-width: 15ch;
    position: relative;
    z-index: 1;
}

.snap-cohort-demo-page-view .site-main > .page-header::after {
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--snap-cohort-accent) 22%, transparent) 0 7%, transparent 7.6%),
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--snap-cohort-accent) 15%, transparent) 0 27%, transparent 27.6%),
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--snap-cohort-accent) 10%, transparent) 0 47%, transparent 47.6%);
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 24%, transparent);
    border-radius: 50%;
    content: "";
    height: min(18vw, 15rem);
    opacity: .9;
    pointer-events: none;
    position: absolute;
    right: clamp(1.5rem, 7vw, 7rem);
    top: 50%;
    transform: translateY(-50%);
    width: min(18vw, 15rem);
    z-index: -1;
}

.snap-cohort-demo-hero {
    background:
        radial-gradient(85% 140% at 100% -30%, color-mix(in srgb, var(--snap-cohort-accent) 16%, transparent), transparent 62%),
        var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 56px);
}

.snap-cohort-demo-page-view .site-main > .page-content > .snap-cohort-demo-page > .snap-cohort-demo-hero {
    border-radius: 0 0 24px 24px;
    border-top: 0;
    margin-top: 0;
    padding-top: 12px;
}

.snap-cohort-demo-eyebrow {
    color: var(--snap-cohort-term-ink);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .11em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.snap-cohort-demo-lead {
    color: var(--snap-cohort-muted);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.55;
    margin: 0;
    max-width: 48rem;
}

.snap-cohort-demo-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.snap-cohort-demo-hero__actions .wp-block-button__link {
    align-items: center;
    background: var(--snap-cohort-accent);
    border: 2px solid var(--snap-cohort-accent);
    border-radius: 999px;
    color: var(--snap-cohort-on-accent) !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 10px 20px;
    text-decoration: none;
}

.snap-cohort-demo-hero__actions .is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--snap-cohort-link) !important;
}

.snap-cohort-demo-sections {
    display: grid !important;
    gap: clamp(16px, 2vw, 24px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.snap-cohort-demo-section {
    background: color-mix(in srgb, var(--snap-cohort-accent) 5%, var(--snap-cohort-surface));
    border: 1px solid var(--snap-cohort-border);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(25, 31, 56, .06);
    min-height: 44px;
    padding: .72rem 1.1rem;
}

.snap-cohort-demo-section h2 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
    margin: 0 0 12px;
}

.snap-cohort-demo-section p {
    color: var(--snap-cohort-muted);
    line-height: 1.65;
    margin: 0;
}

.snap-cohort-demo-component {
    background: var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(25, 31, 56, .07);
    padding: clamp(18px, 3vw, 30px);
}

/* Elementor Free and Pro share this generated, editable page composition. */
.snap-cohort-demo-page-view .snap-cohort-elementor-shell,
.snap-cohort-demo-page-view .elementor > .e-con {
    display: grid;
    gap: clamp(18px, 2.4vw, 30px);
    margin-inline: auto;
    max-width: 1180px;
    padding: 12px 0 clamp(36px, 6vw, 72px);
}

.snap-cohort-demo-page-view .snap-cohort-elementor-eyebrow p {
    color: var(--snap-cohort-term-ink);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .11em;
    margin: 0;
    text-transform: uppercase;
}

.snap-cohort-demo-page-view .snap-cohort-elementor-lead p {
    color: var(--snap-cohort-muted);
    font-size: clamp(1.08rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    margin: 0;
    max-width: 48rem;
}

.snap-cohort-session-card__status {
    color: var(--snap-cohort-term-ink);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.snap-cohort-session-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.2;
    margin: 0 0 10px;
}

.snap-cohort-session-card__meta {
    color: var(--snap-cohort-muted);
    font-size: .9rem;
    margin: 0 0 12px;
}

.snap-cohort-session-card .snap-cohort-card__excerpt {
    margin: 0;
}

.snap-cohort-demo-page-view .snap-cohort-elementor-section,
.snap-cohort-demo-page-view .elementor > .e-con > .e-con-inner > .e-con {
    background: color-mix(in srgb, var(--snap-cohort-accent) 5%, var(--snap-cohort-surface));
    border: 1px solid var(--snap-cohort-border);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(25, 31, 56, .06);
    gap: 10px;
    padding: clamp(22px, 3vw, 32px);
}

.snap-cohort-demo-page-view .snap-cohort-elementor-section .elementor-heading-title,
.snap-cohort-demo-page-view .elementor > .e-con > .e-con-inner > .e-con .elementor-heading-title {
    color: var(--snap-cohort-ink);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
}

.snap-cohort-demo-page-view .snap-cohort-elementor-section p,
.snap-cohort-demo-page-view .elementor > .e-con > .e-con-inner > .e-con p {
    color: var(--snap-cohort-muted);
    line-height: 1.65;
    margin: 0;
}

body.snap-cohort-theme-dark.snap-cohort-demo-page-view .snap-cohort-elementor-section .elementor-heading-title {
    color: var(--snap-cohort-on-surface, #f7f8fc);
}

@media (max-width: 600px) {
    .snap-cohort-demo-page-view .site-header {
        margin-block: 10px 22px;
        padding: 12px 14px;
        width: calc(100% - 24px);
    }
    .snap-cohort-demo-page-view .site-header .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        row-gap: 10px;
    }
    .snap-cohort-demo-page-view .site-header .site-branding {
        min-width: 0;
    }
    .snap-cohort-demo-page-view .site-header .site-title a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .snap-cohort-demo-page-view .site-header .site-navigation-dropdown {
        grid-column: 1 / -1;
    }
    .snap-cohort-demo-page-view .site-header .snap-cohort-site-toolbar--embedded {
        grid-column: 2;
        grid-row: 1;
    }
    .snap-cohort-demo-page-view .site-header .site-navigation-toggle-holder {
        grid-column: 3;
        grid-row: 1;
    }
    .snap-cohort-demo-page-view .site-footer {
        border-radius: 18px 18px 0 0;
        padding: 26px 20px;
        width: calc(100% - 24px);
    }
    .snap-cohort-demo-page-view .site-main { padding-inline: 12px; }
    .snap-cohort-demo-page-view .site-main > .page-header {
        border-radius: 18px 18px 0 0;
        min-height: 0;
        padding: 28px 20px 20px;
    }
    .snap-cohort-demo-page-view .site-main > .page-header .entry-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    .snap-cohort-demo-page-view .site-main > .page-header::after { opacity: .52; right: -2.25rem; width: 11rem; height: 11rem; }
    .snap-cohort-demo-hero { padding: 20px; }
    .snap-cohort-demo-page-view .site-main > .page-content > .snap-cohort-demo-page > .snap-cohort-demo-hero {
        border-radius: 0 0 18px 18px;
        padding: 10px 20px 28px;
    }
    .snap-cohort-demo-component { padding: 14px; }
    .snap-cohort-demo-hero__actions { display: grid; }
    .snap-cohort-demo-hero__actions .wp-block-button,
    .snap-cohort-demo-hero__actions .wp-block-button__link { width: 100%; }
}

.snap-cohort-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(var(--snap-cohort-columns, 3), minmax(0, 1fr));
}

.snap-cohort-grid--1 { --snap-cohort-columns: 1; }
.snap-cohort-grid--2 { --snap-cohort-columns: 2; }
.snap-cohort-grid--3 { --snap-cohort-columns: 3; }
.snap-cohort-grid--4 { --snap-cohort-columns: 4; }

.snap-cohort-pagination {
    margin-block-start: 24px;
}

.snap-cohort-pagination ul {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.snap-cohort-pagination a,
.snap-cohort-pagination .current {
    align-items: center;
    border: 2px solid var(--snap-cohort-border);
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 6px 10px;
}

.snap-cohort-pagination .current {
    background: var(--snap-cohort-accent);
    border-color: var(--snap-cohort-accent);
    color: var(--snap-cohort-on-accent);
    font-weight: 700;
}

.snap-cohort-pagination--more {
    display: flex;
    justify-content: center;
}

.snap-cohort-card,
.snap-cohort-access,
.snap-cohort-next,
.snap-cohort-progress,
.snap-cohort-empty-state,
.snap-cohort-module {
    background: var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 12px;
    box-sizing: border-box;
}

.snap-cohort-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.snap-cohort-card:hover {
    border-color: color-mix(in srgb, var(--snap-cohort-accent) 36%, var(--snap-cohort-border));
    box-shadow: 0 16px 32px color-mix(in srgb, var(--snap-cohort-accent) 12%, transparent);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .snap-cohort-card { transition: none; }
    .snap-cohort-card:hover { transform: none; }
}

.snap-cohort-card__image {
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.snap-cohort-card__placeholder {
    align-items: flex-end;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--snap-cohort-accent) 34%, transparent) 0 6%, transparent 6.5%),
        radial-gradient(circle at 78% 82%, color-mix(in srgb, var(--snap-cohort-link) 28%, transparent) 0 12%, transparent 12.5%),
        linear-gradient(135deg, color-mix(in srgb, var(--snap-cohort-accent) 13%, var(--snap-cohort-surface)), color-mix(in srgb, var(--snap-cohort-link) 8%, var(--snap-cohort-surface)));
    display: flex;
    gap: 8px;
    overflow: hidden;
    padding: 18px;
}

.snap-cohort-card__placeholder span {
    background: color-mix(in srgb, var(--snap-cohort-accent-dark) 54%, transparent);
    border-radius: 999px;
    display: block;
    height: 9px;
}

.snap-cohort-card__placeholder span:nth-child(1) { width: 48%; }
.snap-cohort-card__placeholder span:nth-child(2) { opacity: .76; width: 19%; }
.snap-cohort-card__placeholder span:nth-child(3) { opacity: .48; width: 12%; }

.snap-cohort-card--ratio-4-3 .snap-cohort-card__image {
    aspect-ratio: 4 / 3;
}

.snap-cohort-card--ratio-4-3 .snap-cohort-card__placeholder { aspect-ratio: 4 / 3; }

.snap-cohort-card--ratio-square .snap-cohort-card__image {
    aspect-ratio: 1;
}

.snap-cohort-card--ratio-square .snap-cohort-card__placeholder { aspect-ratio: 1; }

.snap-cohort-card--compact .snap-cohort-card__body {
    padding: 16px;
}

.snap-cohort-card--compact .snap-cohort-card__actions {
    margin-top: 12px;
}

.snap-cohort-card__meta {
    align-items: center;
    color: var(--snap-cohort-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: .875rem;
    gap: 6px;
    margin-bottom: 10px;
}

.snap-cohort-card__term {
    background: color-mix(in srgb, var(--snap-cohort-accent) 10%, var(--snap-cohort-surface));
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 24%, var(--snap-cohort-border));
    border-radius: 999px;
    color: var(--snap-cohort-term-ink);
    padding: 3px 8px;
}

.snap-cohort-card__excerpt {
    color: var(--snap-cohort-muted);
}

.snap-cohort-card__learning-meta {
    align-items: center;
    border-top: 1px solid var(--snap-cohort-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 16px;
    padding-top: 14px;
}

.snap-cohort-card__learning-item {
    align-items: center;
    color: var(--snap-cohort-muted);
    display: inline-flex;
    font-size: .8125rem;
    font-weight: 650;
    gap: 5px;
}

.snap-cohort-card__learning-item::before {
    background: currentColor;
    border-radius: 99px;
    content: '';
    height: 5px;
    opacity: .64;
    width: 5px;
}

.snap-cohort-card__learning-item--progress {
    color: var(--snap-cohort-link);
}

.snap-cohort-card__learning-item--access {
    background: color-mix(in srgb, var(--snap-cohort-accent) 9%, var(--snap-cohort-surface));
    border-radius: 999px;
    color: var(--snap-cohort-term-ink);
    padding: 4px 8px;
}

@media (min-width: 700px) {
    .snap-cohort-card--horizontal {
        display: grid;
        grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
    }

    .snap-cohort-card--horizontal .snap-cohort-card__image {
        height: 100%;
        min-height: 220px;
    }

    .snap-cohort-card--horizontal .snap-cohort-card__placeholder {
        height: 100%;
        min-height: 220px;
    }
}

.snap-cohort-card__body,
.snap-cohort-access,
.snap-cohort-next,
.snap-cohort-progress,
.snap-cohort-empty-state {
    padding: 20px;
}

.snap-cohort-card__actions {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.snap-cohort-card__actions .snap-cohort-button {
    text-align: center;
}

@media (min-width: 700px) {
    .snap-cohort-card__actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .snap-cohort-card__actions .snap-cohort-button {
        flex: 1 1 0;
        min-width: 180px;
    }
}

.snap-cohort-card__body h2,
.snap-cohort-card__body h3,
.snap-cohort-card__body h4 {
    margin-top: 0;
}

.snap-cohort-card__body h2 a,
.snap-cohort-card__body h3 a,
.snap-cohort-card__body h4 a {
    color: var(--snap-cohort-link) !important;
}

.snap-cohort-button {
    align-items: center;
    background: var(--snap-cohort-accent);
    border: 2px solid var(--snap-cohort-accent);
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--snap-cohort-on-accent) !important;
    cursor: pointer;
    display: inline-flex;
    font-weight: 650;
    justify-content: center;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 16px;
    text-decoration: none !important;
}

.snap-cohort-button:hover,
.snap-cohort-button:focus-visible {
    background: var(--snap-cohort-accent-dark);
    border-color: var(--snap-cohort-accent-dark);
}

.snap-cohort-button:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

.snap-cohort-button--secondary {
    background: transparent;
    color: var(--snap-cohort-accent-dark) !important;
}

.snap-cohort-button--secondary:hover,
.snap-cohort-button--secondary:focus-visible {
    color: var(--snap-cohort-on-accent-hover, var(--snap-cohort-on-accent)) !important;
}

.snap-cohort-button--link {
    background: transparent;
    border-color: transparent;
    color: var(--snap-cohort-link) !important;
    min-height: 44px;
    padding-inline: 4px;
    text-decoration: underline !important;
    text-underline-offset: 0.2em;
}

.snap-cohort-button--link:hover,
.snap-cohort-button--link:focus-visible {
    background: transparent;
    border-color: transparent;
    color: var(--snap-cohort-accent-dark) !important;
}

.snap-cohort-course-quick-actions {
    align-items: center;
    background: color-mix(in srgb, var(--snap-cohort-accent) 7%, var(--snap-cohort-surface));
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 22%, var(--snap-cohort-border));
    border-radius: 14px;
    display: flex;
    justify-content: flex-end;
    margin: 0 0 1.25rem;
    padding: .65rem;
}

.snap-cohort-course-quick-actions .snap-cohort-button {
    max-width: 100%;
}

@media (max-width: 640px) {
    .snap-cohort-course-view .site-main > .page-header::after { opacity: .52; right: -2.25rem; width: 11rem; height: 11rem; }
    .snap-cohort-course-view .site-main > .page-header .entry-title { font-size: clamp(2rem, 11vw, 3rem); }
    .snap-cohort-course-view .site-main > .page-content { padding: 20px 16px; }
    .snap-cohort-course-quick-actions .snap-cohort-button { width: 100%; }
}

.snap-cohort-access,
.snap-cohort-next,
.snap-cohort-progress,
.snap-cohort-lesson-actions {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 24px 0;
}

.snap-cohort-access--completed p {
    color: var(--snap-cohort-muted);
    margin: 6px 0 0;
}

.snap-cohort-access--inline {
    border-radius: 8px;
    padding: 12px 16px;
}

.snap-cohort-access--minimal {
    background: transparent;
    border-width: 0;
    margin-block: 12px;
    padding: 0;
}

.snap-cohort-access--appearance-subtle {
    background: color-mix(in srgb, var(--snap-cohort-surface) 88%, var(--snap-cohort-accent) 12%);
}

.snap-cohort-access--appearance-strong {
    border-color: var(--snap-cohort-accent-dark);
    border-width: 2px;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--snap-cohort-accent) 14%, transparent);
}

.snap-cohort-access--cta-stacked,
.snap-cohort-access--cta-align-stretch {
    align-items: stretch;
    flex-direction: column;
}

.snap-cohort-access--cta-align-start { justify-content: flex-start; }
.snap-cohort-access--cta-align-center { justify-content: center; }
.snap-cohort-access--cta-align-end { justify-content: space-between; }

.snap-cohort-access--cta-align-center > .snap-cohort-button,
.snap-cohort-access--cta-align-center > div:not(:first-child),
.snap-cohort-access--cta-align-center > a:not(.snap-cohort-button) {
    align-self: center;
}

.snap-cohort-access--cta-align-start > .snap-cohort-button,
.snap-cohort-access--cta-align-start > div:not(:first-child),
.snap-cohort-access--cta-align-start > a:not(.snap-cohort-button) {
    align-self: flex-start;
}

.snap-cohort-access--cta-align-stretch > .snap-cohort-button,
.snap-cohort-access--cta-align-stretch > div:not(:first-child) {
    width: 100%;
}

.snap-cohort-access--cta-align-stretch .snap-cohort-button {
    justify-content: center;
    text-align: center;
    width: 100%;
}

.snap-cohort-access--cta-stacked > .snap-cohort-button,
.snap-cohort-access--cta-stacked > div:not(:first-child),
.snap-cohort-access--cta-stacked > a:not(.snap-cohort-button) {
    align-self: var(--snap-cohort-access-cta-self, flex-end);
}

.snap-cohort-access--cta-align-start { --snap-cohort-access-cta-self: flex-start; }
.snap-cohort-access--cta-align-center { --snap-cohort-access-cta-self: center; }
.snap-cohort-access--cta-align-stretch { --snap-cohort-access-cta-self: stretch; }

.snap-cohort-access--cta-size-large .snap-cohort-button {
    min-height: 52px;
    padding: 12px 22px;
}

.snap-cohort-next > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.snap-cohort-next__course {
    color: var(--snap-cohort-muted);
    font-size: 0.8rem;
    font-weight: 650;
}

.snap-cohort-next--align-start { justify-content: flex-start; }
.snap-cohort-next--align-center { justify-content: center; }
.snap-cohort-next--align-end { justify-content: space-between; }

.snap-cohort-next--align-start .snap-cohort-button { margin-inline-end: auto; }
.snap-cohort-next--align-center .snap-cohort-button { margin-inline: auto; }

.snap-cohort-next--align-stretch {
    align-items: stretch;
    flex-direction: column;
}

.snap-cohort-next--align-stretch .snap-cohort-button {
    width: 100%;
}

.snap-cohort-next--inline {
    border-radius: 8px;
    padding: 12px 16px;
}

.snap-cohort-next--minimal {
    background: transparent;
    border-width: 0;
    margin-block: 12px;
    padding: 0;
}

.snap-cohort-next--minimal > div > span {
    color: var(--snap-cohort-muted);
    font-size: 0.875rem;
}

.snap-cohort-module {
    margin: 16px 0;
    padding: 20px;
}

.snap-cohort-module h2,
.snap-cohort-module h3,
.snap-cohort-module h4 {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.snap-cohort-module__count {
    color: var(--snap-cohort-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-inline-start: auto;
    white-space: nowrap;
}

.snap-cohort-module summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 1.15rem;
    font-weight: 700;
    gap: 10px;
    min-height: 44px;
}

.snap-cohort-module summary:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

.snap-cohort-module[open] summary {
    margin-block-end: 12px;
}

.snap-cohort-curriculum--numbered {
    counter-reset: snap-cohort-module;
}

.snap-cohort-curriculum--numbered > .snap-cohort-module {
    counter-increment: snap-cohort-module;
}

.snap-cohort-curriculum--numbered .snap-cohort-module__title::before {
    content: counter(snap-cohort-module) ". ";
}

.snap-cohort-curriculum--compact .snap-cohort-module {
    margin-block: 10px;
    padding: 14px 16px;
}

.snap-cohort-curriculum--compact .snap-cohort-module li {
    min-height: 40px;
    padding-block: 5px;
}

.snap-cohort-module ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.snap-cohort-module li {
    align-items: center;
    border-top: 1px solid var(--snap-cohort-border);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: 48px;
    padding: 8px 0;
}

.snap-cohort-curriculum__badges {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.snap-cohort-badge {
    align-self: flex-start;
    background: #e8ebff;
    border-radius: 999px;
    color: #26369d;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    max-width: 100%;
    padding: 4px 9px;
    width: fit-content;
}

.snap-cohort-badge--account {
    background: #eef6ff;
    color: #174a78;
}

.snap-cohort-badge--completed {
    background: color-mix(in srgb, var(--snap-cohort-progress-high) 14%, var(--snap-cohort-surface));
    color: var(--snap-cohort-progress-high);
}

.snap-cohort-curriculum__item--completed > a {
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}

.snap-cohort-badge--locked {
    background: #f3f4f6;
    color: #4b5563;
}

.snap-cohort-badge--type {
    background: var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    color: var(--snap-cohort-muted);
}

.snap-cohort-badge--video {
    background: color-mix(in srgb, var(--snap-cohort-accent) 12%, var(--snap-cohort-surface));
    color: var(--snap-cohort-accent);
    white-space: nowrap;
}

.snap-cohort-presentation__badge--video {
    background: color-mix(in srgb, var(--snap-cohort-accent) 12%, var(--snap-cohort-surface));
    color: var(--snap-cohort-accent);
    white-space: nowrap;
}

.snap-cohort-progress {
    --snap-cohort-progress-color: var(--snap-cohort-accent);
    flex-wrap: wrap;
}

.snap-cohort-progress--tone-low {
    --snap-cohort-progress-color: var(--snap-cohort-progress-low);
}

.snap-cohort-progress--tone-middle {
    --snap-cohort-progress-color: var(--snap-cohort-progress-middle);
}

.snap-cohort-progress--tone-high {
    --snap-cohort-progress-color: var(--snap-cohort-progress-high);
}

.snap-cohort-progress--preserved {
    border-style: dashed;
}

.snap-cohort-progress__note,
.snap-cohort-next p {
    color: var(--snap-cohort-muted);
    margin: 6px 0 0;
}

.snap-cohort-progress__note {
    flex: 1 1 100%;
}

.snap-cohort-lesson-actions--complete {
    justify-content: flex-start;
}

.snap-cohort-lesson-actions--complete > span {
    align-items: center;
    background: #e9f8ef;
    border-radius: 999px;
    color: #17653a;
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
}

.snap-cohort-lesson-actions--complete p {
    margin: 0;
}

.snap-cohort-lesson-actions--inline {
    border-radius: 8px;
    padding: 12px 16px;
}

.snap-cohort-lesson-actions--minimal {
    background: transparent;
    border-width: 0;
    margin-block: 12px;
    padding: 0;
}

.snap-cohort-lesson-actions--align-start { justify-content: flex-start; }
.snap-cohort-lesson-actions--align-center { justify-content: center; }
.snap-cohort-lesson-actions--align-end { justify-content: flex-end; }
.snap-cohort-lesson-actions--align-stretch .snap-cohort-button { width: 100%; }

.snap-cohort-progress__label {
    align-items: baseline;
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
}

.snap-cohort-progress__remaining {
    color: var(--snap-cohort-muted);
}

.snap-cohort-progress__bar {
    background: var(--snap-cohort-border);
    border-radius: 999px;
    flex: 1;
    height: 12px;
    min-width: min(12rem, 100%);
    overflow: hidden;
}

.snap-cohort-progress__bar-value {
    background: var(--snap-cohort-progress-color);
    display: block;
    height: 100%;
    transform-origin: left center;
    width: calc(var(--snap-cohort-progress-value) * 1%);
}

.snap-cohort-progress--compact {
    gap: 10px;
    padding: 12px 16px;
}

.snap-cohort-progress--compact .snap-cohort-progress__label {
    flex: 0 1 auto;
    gap: 12px;
}

.snap-cohort-progress--ring {
    align-items: center;
    justify-content: flex-start;
}

.snap-cohort-progress__ring {
    align-items: center;
    display: inline-flex;
    flex: 0 0 5rem;
    height: 5rem;
    justify-content: center;
    position: relative;
}

.snap-cohort-progress__ring svg {
    height: 100%;
    inset: 0;
    position: absolute;
    transform: rotate(-90deg);
    width: 100%;
}

.snap-cohort-progress__ring circle {
    fill: none;
    stroke-width: 5;
}

.snap-cohort-progress__ring-track {
    stroke: var(--snap-cohort-border);
}

.snap-cohort-progress__ring-value {
    stroke: var(--snap-cohort-progress-color);
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - var(--snap-cohort-progress-value));
    stroke-linecap: round;
}

.snap-cohort-progress__ring > span {
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.snap-cohort-progress--ring .snap-cohort-progress__label {
    flex: 0 1 auto;
    flex-direction: column;
    gap: 4px;
}

.snap-cohort-progress__breakdown {
    flex: 1 1 100%;
    margin-block-start: 8px;
    width: 100%;
}

.snap-cohort-progress__breakdown-title {
    display: block;
    margin-block-end: 10px;
}

.snap-cohort-progress__breakdown ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.snap-cohort-progress__module-label {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: space-between;
}

.snap-cohort-progress__module-label span {
    color: var(--snap-cohort-muted);
    font-size: 0.875rem;
}

.snap-cohort-progress__module-bar {
    background: var(--snap-cohort-border);
    border-radius: 999px;
    height: 8px;
    margin-block-start: 6px;
    overflow: hidden;
}

.snap-cohort-progress__module-bar > span {
    background: var(--snap-cohort-progress-color);
    display: block;
    height: 100%;
    width: calc(var(--snap-cohort-progress-value) * 1%);
}

.snap-cohort-progress--animated.is-animating .snap-cohort-progress__bar-value {
    transform: scaleX(0);
}

.snap-cohort-progress--animated.is-animating.is-ready .snap-cohort-progress__bar-value {
    transform: scaleX(1);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.snap-cohort-progress--animated.is-animating .snap-cohort-progress__ring-value {
    stroke-dashoffset: 100;
}

.snap-cohort-progress--animated.is-animating.is-ready .snap-cohort-progress__ring-value {
    stroke-dashoffset: calc(100 - var(--snap-cohort-progress-value));
    transition: stroke-dashoffset 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.snap-cohort-theme-dark {
    --snap-cohort-accent: #7f93ff;
    --snap-cohort-accent-dark: #5f79ff;
    --snap-cohort-on-accent: #0b1024;
    --snap-cohort-on-accent-hover: #0b1024;
    --snap-cohort-link: #aab5ff;
    --snap-cohort-term-ink: #aab5ff;
    --snap-cohort-border: #25365f;
    --snap-cohort-surface: #0f172a;
    --snap-cohort-ink: #e5e7eb;
    --snap-cohort-muted: #9aa4bf;
    --snap-cohort-progress-low: #ff9b73;
    --snap-cohort-progress-middle: #f2c14e;
    --snap-cohort-progress-high: #62d99b;
    color: #e5e7eb;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(3, 8, 20, 0.95)) var(--snap-cohort-surface);
}

@media (prefers-reduced-motion: reduce) {
    .snap-cohort-progress--animated.is-animating .snap-cohort-progress__bar-value,
    .snap-cohort-progress--animated.is-animating.is-ready .snap-cohort-progress__bar-value {
        transform: scaleX(1);
        transition: none;
    }

    .snap-cohort-progress--animated.is-animating .snap-cohort-progress__ring-value,
    .snap-cohort-progress--animated.is-animating.is-ready .snap-cohort-progress__ring-value {
        stroke-dashoffset: calc(100 - var(--snap-cohort-progress-value));
        transition: none;
    }
}

body.snap-cohort-theme-dark .site-header,
body.snap-cohort-theme-dark .site-footer,
body.snap-cohort-theme-dark .site-navigation-dropdown ul.menu {
    background: var(--snap-cohort-surface);
    color: #e5e7eb;
}

body.snap-cohort-theme-dark .site-header a,
body.snap-cohort-theme-dark .site-footer a,
body.snap-cohort-theme-dark main a:not(.snap-cohort-button),
body.snap-cohort-theme-dark .skip-link {
    color: var(--snap-cohort-link) !important;
}

body.snap-cohort-theme-dark .site-navigation-dropdown ul.menu li a {
    background: var(--snap-cohort-surface);
}

body.snap-cohort-theme-dark .elementor-widget-heading .elementor-heading-title,
body.snap-cohort-theme-dark .elementor-widget-text-editor,
body.snap-cohort-theme-dark .elementor-widget-text-editor p {
    color: #e5e7eb !important;
}

/* Elementor Canvas is intentionally chrome-free: conversion and learning
 * templates must not inherit the floating compatibility toolbar. WordPress
 * prints this toolbar after <body>, hence the sibling selector. */
body.elementor-template-canvas .snap-cohort-site-toolbar,
html:has(body.elementor-template-canvas) > .snap-cohort-site-toolbar,
body.elementor-template-canvas .snap-cohort-site-notification-panel {
    display: none !important;
}

body.snap-cohort-theme-dark .snap-cohort-site-toolbar__action,
body.snap-cohort-theme-dark .snap-cohort-site-toolbar__notification,
body.snap-cohort-theme-dark .snap-cohort-site-notification-panel {
    background: var(--snap-cohort-surface);
    color: #e5e7eb;
}

.snap-cohort-shell {
    max-width: min(1100px, 100%);
    width: min(1100px, 100%);
    margin-inline: auto;
}

body.single-sc_lesson .snap-cohort-shell,
body.single-sc_lesson main {
    max-width: min(1100px, 100%);
    margin-inline: auto;
}

/* Plugin-owned focus reader for compatible themes (Hello, classic and Elementor).
 * The companion FSE template keeps ownership of its own reader shell. */
.snap-cohort-lesson-focus-view:not(.snap-cohort-fse) .site-main > .page-header,
.snap-cohort-lesson-focus-view:not(.snap-cohort-fse) .entry-header {
    display: none;
}

.snap-cohort-lesson-focus-view:not(.snap-cohort-fse) .site-main > .page-content,
.snap-cohort-lesson-focus-view:not(.snap-cohort-fse) .entry-content {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: clamp(16px, 3vw, 32px);
}

.snap-cohort-site-toolbar {
    margin: 0 auto 0.6rem;
    max-width: 1100px;
}

.snap-cohort-site-toolbar,
.snap-cohort-site-notification-panel {
    font: inherit;
}

.snap-cohort-site-toolbar--floating {
    position: sticky;
    top: 0.5rem;
    z-index: 20;
    margin-bottom: 0.7rem;
}

.snap-cohort-site-toolbar--embedded {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    width: auto;
}

.snap-cohort-site-toolbar--embedded .snap-cohort-site-toolbar__action,
.snap-cohort-site-toolbar--embedded .snap-cohort-site-toolbar__notification {
    min-height: 38px;
}

.snap-cohort-site-toolbar--embedded .snap-cohort-site-toolbar__action > span:last-child {
    display: none;
}

.snap-cohort-site-toolbar__action,
.snap-cohort-site-toolbar__notification {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid var(--snap-cohort-border);
    border-radius: 999px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    gap: 0.4rem;
    justify-content: center;
    min-height: 40px;
    padding: 0.35rem 0.8rem;
    position: relative;
}

.snap-cohort-site-toolbar__action + .snap-cohort-site-toolbar__notification,
.snap-cohort-site-toolbar__action + .snap-cohort-site-toolbar__action,
.snap-cohort-site-toolbar__notification + .snap-cohort-site-toolbar__notification {
    margin-left: 0.45rem;
}

.snap-cohort-site-toolbar__notification {
    padding-right: 0.75rem;
}

.snap-cohort-site-toolbar__badge {
    background: #b91c1c;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
    min-width: 1rem;
    padding: 0.15rem 0.35rem;
}

.snap-cohort-site-notification-panel {
    background: #fff;
    border: 1px solid var(--snap-cohort-border);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.18);
    color: inherit;
    display: none;
    margin-left: auto;
    margin-top: 0.45rem;
    max-width: 30rem;
    padding: 0.75rem 0.95rem;
    position: sticky;
    right: 0;
    top: 3rem;
    width: min(30rem, calc(100% - 1rem));
}

.snap-cohort-site-notification-panel[open] {
    display: block;
}

.snap-cohort-site-notification-panel__title {
    margin: 0 0 0.45rem;
}

.snap-cohort-site-notification-panel__item {
    border-bottom: 1px solid var(--snap-cohort-border);
    padding: 0.5rem 0;
}

.snap-cohort-site-notification-panel__item.is-unread {
    border-inline-start: 3px solid var(--snap-cohort-accent, #1d4ed8);
    padding-inline-start: 0.65rem;
}

.snap-cohort-site-notification-panel__item p {
    color: var(--snap-cohort-muted);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.snap-cohort-site-notification-panel__item:last-child {
    border-bottom: 0;
}

.snap-cohort-site-notification-panel__empty {
    color: var(--snap-cohort-muted);
    margin: 0.35rem 0;
}

.snap-cohort-focus-shell {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: start;
}

.snap-cohort-focus-shell__reader {
    min-width: 0;
}

.snap-cohort-focus-shell__sidebar {
    background: #f8f9ff;
    border: 1px solid var(--snap-cohort-border);
    border-radius: 12px;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    position: sticky;
    top: 88px;
    transition: min-width 160ms ease, opacity 160ms ease, transform 160ms ease, width 160ms ease, padding 160ms ease;
}

.snap-cohort-theme-dark .snap-cohort-focus-shell__sidebar {
    background: #0f1a31;
}

.snap-cohort-focus-shell.is-sidebar-collapsed .snap-cohort-focus-shell__sidebar {
    min-width: 0;
    opacity: 0;
    padding-inline: 0;
    transform: translateX(16px);
    width: 0;
}

.snap-cohort-focus-shell.is-sidebar-collapsed .snap-cohort-focus-shell__sidebar > * {
    display: none;
}

.snap-cohort-focus-shell__reader-card {
    background: linear-gradient(160deg, rgba(99, 91, 255, 0.06), rgba(255, 255, 255, 0));
    border: 1px solid var(--snap-cohort-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(7, 10, 24, 0.05);
    padding: 1rem;
}

.snap-cohort-focus-shell__eyebrow {
    color: var(--snap-cohort-term-ink, var(--snap-cohort-link));
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.snap-cohort-focus-shell__reader-card h1 {
    color: var(--snap-cohort-ink, #172033);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -.045em;
    line-height: 1.06;
    margin: clamp(1.5rem, 3vw, 2.5rem) 0 .75rem;
    max-width: 18ch;
}

.snap-cohort-focus-shell__excerpt {
    color: var(--snap-cohort-muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.5;
    margin: 0;
    max-width: 48rem;
}

.snap-cohort-focus-shell__header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.snap-cohort-focus-shell__sidebar-panel {
    align-items: center;
    display: flex;
    gap: 0.4rem;
    justify-content: space-between;
}

.snap-cohort-focus-shell__sidebar-panel button,
.snap-cohort-focus-shell__header-toggle {
    border: 1px solid var(--snap-cohort-border);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
}

.snap-cohort-focus-shell__sidebar-block h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.snap-cohort-focus-shell__sidebar-block {
    border-top: 1px solid var(--snap-cohort-border);
    padding-top: 0.8rem;
}

.snap-cohort-lesson-sidebar-context { display: grid; gap: .9rem; }
.snap-cohort-lesson-sidebar-context__summary { background: color-mix(in srgb, var(--snap-cohort-accent) 8%, var(--snap-cohort-surface)); border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 20%, var(--snap-cohort-border)); border-radius: 12px; padding: .85rem; }
.snap-cohort-lesson-sidebar-context__summary > div { align-items: baseline; display: flex; justify-content: space-between; gap: .75rem; }
.snap-cohort-lesson-sidebar-context__summary span { color: var(--snap-cohort-muted); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.snap-cohort-lesson-sidebar-context__summary strong { color: var(--snap-cohort-ink); font-size: 1.25rem; }
.snap-cohort-lesson-sidebar-context__summary progress { accent-color: var(--snap-cohort-accent); height: .35rem; margin-top: .7rem; width: 100%; }
.snap-cohort-lesson-sidebar-context__summary p { color: var(--snap-cohort-muted); font-size: .8rem; margin: .45rem 0 .6rem; }
.snap-cohort-lesson-sidebar-context__summary a { color: var(--snap-cohort-ink); font-size: .8rem; font-weight: 700; }
.snap-cohort-lesson-sidebar-context__outline, .snap-cohort-lesson-sidebar-context__outline ol { list-style: none; margin: 0; padding: 0; }
.snap-cohort-lesson-sidebar-context__outline { display: grid; gap: .8rem; }
.snap-cohort-lesson-sidebar-context__outline > li > strong { display: block; font-size: .72rem; letter-spacing: .07em; margin-bottom: .35rem; text-transform: uppercase; }
.snap-cohort-lesson-sidebar-context__outline ol { display: grid; gap: .25rem; }
.snap-cohort-lesson-sidebar-context__outline ol li { align-items: flex-start; display: grid; font-size: .8rem; gap: .45rem; grid-template-columns: .85rem minmax(0, 1fr); line-height: 1.3; padding: .35rem .2rem; }
.snap-cohort-lesson-sidebar-context__outline ol li > span { color: var(--snap-cohort-muted); font-size: .7rem; padding-top: .1rem; }
.snap-cohort-lesson-sidebar-context__outline a { color: var(--snap-cohort-ink); text-decoration: none; }
.snap-cohort-lesson-sidebar-context__outline .is-current { background: color-mix(in srgb, var(--snap-cohort-accent) 12%, transparent); border-radius: 8px; font-weight: 700; }
.snap-cohort-lesson-sidebar-context__outline .is-current > span, .snap-cohort-lesson-sidebar-context__outline .is-complete > span { color: var(--snap-cohort-link); }

@media (max-width: 980px) {
    .snap-cohort-focus-shell {
        grid-template-columns: 1fr;
    }

    .snap-cohort-focus-shell__sidebar {
        position: static;
    }

    .snap-cohort-focus-shell.is-sidebar-collapsed .snap-cohort-focus-shell__sidebar {
        opacity: 1;
        width: auto;
        transform: none;
    }

    .snap-cohort-focus-shell.is-sidebar-collapsed .snap-cohort-focus-shell__sidebar > * {
        display: grid;
    }
}

@media (max-width: 900px) {
    .snap-cohort-grid--3,
    .snap-cohort-grid--4 {
        --snap-cohort-columns: 2;
    }
}

@media (max-width: 600px) {
    .snap-cohort-grid {
        --snap-cohort-columns: 1;
    }

    .snap-cohort-access,
    .snap-cohort-next,
    .snap-cohort-progress,
    .snap-cohort-lesson-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
.snap-cohort-video {
    aspect-ratio: 16 / 9;
    background: #111827;
    border-radius: 0.75rem;
    color: #fff;
    display: grid;
    margin: 0 0 1.5rem;
    overflow: hidden;
    place-items: center;
}

.snap-cohort-video--ratio-4-3 {
    aspect-ratio: 4 / 3;
}

.snap-cohort-video--ratio-1-1 {
    aspect-ratio: 1;
}

.snap-cohort-video--ratio-21-9 {
    aspect-ratio: 21 / 9;
}

.snap-cohort-video--consent-minimal .snap-cohort-video__placeholder {
    gap: 0.5rem;
    padding: 1rem;
}

.snap-cohort-video iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.snap-cohort-video__placeholder {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    max-width: 38rem;
    padding: 1.5rem;
    text-align: center;
}

.snap-cohort-video--align-start .snap-cohort-video__placeholder {
    justify-items: start;
    text-align: start;
}

.snap-cohort-video--align-end .snap-cohort-video__placeholder {
    justify-items: end;
    text-align: end;
}

.snap-cohort-video__provider {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
}

.snap-cohort-video__placeholder a {
    color: inherit;
}

.snap-cohort-dashboard {
    container-type: inline-size;
    display: grid;
    gap: 24px;
    margin: 24px 0;
    min-width: 0;
}

.snap-cohort-dashboard__welcome,
.snap-cohort-dashboard__section-heading,
.snap-cohort-dashboard__card-heading,
.snap-cohort-dashboard__progress > div,
.snap-cohort-dashboard__list > li {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.snap-cohort-dashboard__welcome,
.snap-cohort-dashboard__panel {
    background: var(--snap-cohort-surface);
    border: 1px solid var(--snap-cohort-border);
    border-radius: 12px;
    box-sizing: border-box;
    padding: 20px;
}

.snap-cohort-dashboard :is(h2, h3, h4, h5, h6),
.snap-cohort-dashboard p {
    overflow-wrap: anywhere;
}

.snap-cohort-dashboard :is(h2, h3, h4, h5, h6) {
    margin-block-start: 0;
}

.snap-cohort-dashboard__welcome :is(h2, h3, h4),
.snap-cohort-dashboard__section-heading :is(h3, h4, h5),
.snap-cohort-dashboard__panel > :is(h3, h4, h5) {
    margin-block-end: 0;
}

.snap-cohort-eyebrow,
.snap-cohort-dashboard__meta {
    color: var(--snap-cohort-muted);
    font-size: 0.875rem;
}

.snap-cohort-eyebrow {
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.snap-cohort-dashboard__count {
    color: var(--snap-cohort-muted);
    white-space: nowrap;
}

.snap-cohort-dashboard__courses,
.snap-cohort-dashboard__list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.snap-cohort-dashboard__courses > li {
    display: flex;
    min-width: 0;
}

.snap-cohort-dashboard__course {
    width: 100%;
}

.snap-cohort-dashboard__card-heading {
    align-items: flex-start;
}

.snap-cohort-dashboard__card-heading :is(h4, h5, h6) {
    font-size: 1.125rem;
    margin-block-end: 0;
}

.snap-cohort-dashboard__progress {
    margin: 20px 0;
}

.snap-cohort-dashboard__progress > div {
    margin-block-end: 8px;
}

.snap-cohort-dashboard__progress progress {
    accent-color: var(--snap-cohort-accent);
    display: block;
    height: 12px;
    width: 100%;
}

.snap-cohort-dashboard__next {
    align-items: flex-start;
    display: grid;
    gap: 6px;
}

.snap-cohort-dashboard__next > span {
    color: var(--snap-cohort-muted);
    font-size: 0.875rem;
}

.snap-cohort-dashboard__next .snap-cohort-button {
    justify-self: start;
    margin-block-start: 6px;
}

.snap-cohort-dashboard__state {
    margin-block-end: 0;
}

.snap-cohort-dashboard__completion-note,
.snap-cohort-progress__note {
    color: var(--snap-cohort-muted);
    font-size: 0.875rem;
    margin: 0;
}

.snap-cohort-dashboard__columns {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snap-cohort-dashboard__content {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snap-cohort-dashboard__content > .snap-cohort-dashboard__section {
    grid-column: 1 / -1;
}

.snap-cohort-dashboard--stacked .snap-cohort-dashboard__columns,
.snap-cohort-dashboard--stacked .snap-cohort-dashboard__content {
    grid-template-columns: minmax(0, 1fr);
}

.snap-cohort-dashboard--compact {
    gap: 16px;
}

.snap-cohort-dashboard--compact .snap-cohort-dashboard__welcome,
.snap-cohort-dashboard--compact .snap-cohort-dashboard__panel,
.snap-cohort-dashboard--compact .snap-cohort-card__body {
    padding: 16px;
}

.snap-cohort-dashboard--compact .snap-cohort-dashboard__progress {
    margin: 14px 0;
}

.snap-cohort-dashboard__list > li {
    align-items: flex-start;
    border-top: 1px solid var(--snap-cohort-border);
    padding: 16px 0;
}

.snap-cohort-dashboard__list > li:first-child {
    border-top: 0;
    padding-block-start: 0;
}

.snap-cohort-dashboard__list > li:last-child {
    padding-block-end: 0;
}

.snap-cohort-dashboard__list :is(h4, h5, h6) {
    margin: 3px 0 6px;
}

.snap-cohort-dashboard__list p,
.snap-cohort-dashboard__list blockquote {
    margin: 6px 0 0;
}

.snap-cohort-dashboard__list blockquote {
    border-inline-start: 3px solid var(--snap-cohort-accent);
    padding-inline-start: 12px;
}

@container (max-width: 720px) {
    .snap-cohort-dashboard__columns,
    .snap-cohort-dashboard__content {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container (max-width: 520px) {
    .snap-cohort-dashboard__welcome,
    .snap-cohort-dashboard__section-heading,
    .snap-cohort-dashboard__card-heading,
    .snap-cohort-dashboard__list > li {
        align-items: stretch;
        flex-direction: column;
    }

    .snap-cohort-dashboard__welcome .snap-cohort-button,
    .snap-cohort-dashboard__list .snap-cohort-button {
        width: 100%;
    }

    .snap-cohort-dashboard__count {
        white-space: normal;
    }
}

@media (max-width: 720px) {
    .wp-block-group.alignwide.snap-cohort-pattern-section {
        width: 100%;
        max-width: 100%;
        margin-inline: 0 !important;
    }

    .snap-cohort-dashboard__columns,
    .snap-cohort-dashboard__content {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .snap-cohort-dashboard__welcome,
    .snap-cohort-dashboard__section-heading,
    .snap-cohort-dashboard__card-heading,
    .snap-cohort-dashboard__list > li {
        align-items: stretch;
        flex-direction: column;
    }
}
.snap-cohort-discussion {
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid var(--snap-cohort-border, #dcdcde);
    border-radius: 18px;
    box-sizing: border-box;
    color: var(--snap-cohort-ink, #1d2327);
    margin-block: clamp(32px, 6vw, 64px);
    padding: clamp(22px, 4vw, 38px);
}

.snap-cohort-community {
    color: var(--snap-cohort-ink, #1d2327);
    margin-block: clamp(28px, 5vw, 56px);
}

.snap-cohort-community--locked {
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid var(--snap-cohort-border, #dcdcde);
    border-radius: 18px;
    padding: clamp(22px, 4vw, 38px);
}

.snap-cohort-community__heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.snap-cohort-community__heading h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
}

.snap-cohort-community__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.snap-cohort-community-card {
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid var(--snap-cohort-border, #dcdcde);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.snap-cohort-community-card:hover {
    border-color: color-mix(in srgb, var(--snap-cohort-accent, #635bff) 55%, var(--snap-cohort-border, #dcdcde));
    box-shadow: 0 12px 28px rgba(28, 36, 58, .08);
    transform: translateY(-2px);
}

.snap-cohort-community-card__meta,
.snap-cohort-community-card__footer {
    align-items: center;
    color: var(--snap-cohort-muted, #646970);
    display: flex;
    flex-wrap: wrap;
    font-size: .75rem;
    gap: 8px;
    justify-content: space-between;
}

.snap-cohort-community-card__meta span {
    color: var(--snap-cohort-link, #3858e9);
    font-weight: 700;
}

.snap-cohort-community-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 14px 0 8px;
}

.snap-cohort-community-card h3 a {
    color: var(--snap-cohort-ink, #1d2327);
    text-decoration: none;
}

.snap-cohort-community-card h3 a:hover {
    color: var(--snap-cohort-link, #3858e9);
}

.snap-cohort-community-card > p {
    color: var(--snap-cohort-muted, #646970);
    flex: 1;
    margin: 0 0 18px;
}

.snap-cohort-community-card__footer {
    border-top: 1px solid var(--snap-cohort-border, #dcdcde);
    padding-top: 12px;
}

.snap-cohort-community-card__footer a {
    color: var(--snap-cohort-link, #3858e9);
    font-weight: 700;
}

.snap-cohort-discussion__heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.snap-cohort-discussion__eyebrow {
    color: var(--snap-cohort-link, #3858e9);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.snap-cohort-discussion__heading h2 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    margin: 0;
}

.snap-cohort-discussion__count {
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent, #635bff) 28%, var(--snap-cohort-border, #dce0ea));
    border-radius: 999px;
    color: var(--snap-cohort-link, #4338ca);
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 700;
    padding: 7px 11px;
}

.snap-cohort-discussion__intro {
    color: var(--snap-cohort-muted, #646970);
    margin: 10px 0 24px;
    max-width: 68ch;
}

.snap-cohort-discussion__threads,
.snap-cohort-discussion__threads .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.snap-cohort-discussion__threads .children {
    border-left: 2px solid var(--snap-cohort-border, #dcdcde);
    margin-left: 22px;
    padding-left: 18px;
}

.snap-cohort-discussion__threads .comment-body {
    border-top: 1px solid var(--snap-cohort-border, #dcdcde);
    padding-block: 20px;
}

.snap-cohort-discussion__threads .comment-meta {
    font-size: .82rem;
}

.snap-cohort-discussion__threads .avatar {
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.snap-cohort-discussion__empty {
    background: color-mix(in srgb, var(--snap-cohort-accent, #635bff) 6%, transparent);
    border-radius: 12px;
    padding: 18px;
}

.snap-cohort-discussion__pinned {
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent, #635bff) 32%, var(--snap-cohort-border, #dcdcde));
    border-left: 4px solid var(--snap-cohort-accent, #635bff);
    border-radius: 12px;
    margin: 0 0 20px;
    padding: 16px 18px;
}

.snap-cohort-discussion__pinned blockquote {
    border: 0;
    margin: 8px 0;
    padding: 0;
}

.snap-cohort-discussion__pinned blockquote > :first-child {
    margin-top: 0;
}

.snap-cohort-discussion__pinned blockquote > :last-child {
    margin-bottom: 0;
}

.snap-cohort-discussion__pinned-author {
    color: var(--snap-cohort-muted, #646970);
    font-size: .8rem;
    font-weight: 650;
    margin: 10px 0 0;
}

.snap-cohort-discussion__empty p {
    color: var(--snap-cohort-muted, #646970);
    margin: 5px 0 0;
}

.snap-cohort-discussion .comment-respond {
    border-top: 1px solid var(--snap-cohort-border, #dcdcde);
    margin-top: 24px;
    padding-top: 24px;
}

.snap-cohort-discussion .comment-form-comment label {
    display: block;
    font-weight: 650;
    margin-bottom: 8px;
}

.snap-cohort-discussion textarea {
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid var(--snap-cohort-border, #8c8f94);
    border-radius: 10px;
    color: var(--snap-cohort-ink, #1d2327);
    box-sizing: border-box;
    max-width: 100%;
    min-height: 140px;
    padding: 12px;
    width: 100%;
}

.snap-cohort-discussion textarea:focus-visible {
    border-color: var(--snap-cohort-accent, #635bff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--snap-cohort-accent, #635bff) 28%, transparent);
    outline: 2px solid transparent;
}

.snap-cohort-community-thread {
    color: var(--snap-cohort-ink, #172033);
    margin-block: clamp(28px, 5vw, 56px);
    max-width: 880px;
}

/* A discussion is a focused sub-view: keep the brand chrome, not the
 * landing-page hero that otherwise pushes the actual conversation below fold. */
body.snap-cohort-community-thread-view .snap-cohort-demo-hero,
body.snap-cohort-community-thread-view .page-header {
    display: none !important;
}

body.snap-cohort-community-thread-view .snap-cohort-demo-page {
    padding-top: clamp(20px, 4vw, 44px);
}

.snap-cohort-community-thread__back {
    color: var(--snap-cohort-link, #5148d8);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: none;
}

.snap-cohort-community-thread__header {
    align-items: flex-start;
    background: color-mix(in srgb, var(--snap-cohort-accent) 7%, var(--snap-cohort-surface));
    border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 20%, var(--snap-cohort-border));
    border-radius: 18px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: clamp(20px, 3vw, 30px);
}

.snap-cohort-community-thread__header h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin: 0; }
.snap-cohort-community-thread__header p:last-child { color: var(--snap-cohort-muted); margin: 8px 0 0; }
.snap-cohort-community-thread__replies { display: grid; gap: 12px; margin-top: 20px; }
.snap-cohort-community-thread__replies h3 { font-size: 1rem; margin: 10px 0 0; }

.snap-cohort-community-message {
    align-items: flex-start;
    background: var(--snap-cohort-surface, #fff);
    border: 1px solid var(--snap-cohort-border, #dce0ea);
    border-radius: 16px;
    display: flex;
    gap: 14px;
    padding: clamp(16px, 2.5vw, 22px);
}

.snap-cohort-community-message.is-thread { border-left: 4px solid var(--snap-cohort-accent); }
.snap-cohort-community-message__avatar { border-radius: 50%; flex: 0 0 auto; }
.snap-cohort-community-message header { align-items: baseline; display: flex; flex-wrap: wrap; gap: 8px; }
.snap-cohort-community-message header span { color: var(--snap-cohort-muted); font-size: .8rem; }
.snap-cohort-community-message__content { line-height: 1.65; margin-top: 8px; }
.snap-cohort-community-message__content > :last-child { margin-bottom: 0; }
.snap-cohort-community-thread__form { border-top: 1px solid var(--snap-cohort-border); margin-top: 24px; padding-top: 24px; }
.snap-cohort-community-thread__form label { display: block; font-weight: 700; margin-bottom: 8px; }
.snap-cohort-community-thread__form textarea { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 12px; color: var(--snap-cohort-ink); min-height: 130px; padding: 12px; width: 100%; }
.snap-cohort-community-thread__closed { color: var(--snap-cohort-muted); font-weight: 700; margin-top: 24px; }

/* Group hub: an app-like private surface that still lets the active theme own
 * the surrounding header and footer. It never visually implies capabilities
 * that the group did not enable. */
.snap-cohort-group-hub { color: var(--snap-cohort-ink); display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-inline: auto; max-width: 1120px; }
.snap-cohort-group-hub--index, .snap-cohort-group-hub--empty, .snap-cohort-group-hub--locked { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 22px; padding: clamp(1.35rem, 4vw, 3rem); }
.snap-cohort-group-hub--index > header { max-width: 66ch; }
.snap-cohort-group-hub h1, .snap-cohort-group-hub h2, .snap-cohort-group-hub h3, .snap-cohort-group-hub p { margin-top: 0; }
.snap-cohort-group-hub h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.04em; line-height: 1.04; margin-bottom: .7rem; }
.snap-cohort-group-hub h2 { letter-spacing: -.025em; margin-bottom: .35rem; }
.snap-cohort-group-hub__eyebrow { color: var(--snap-cohort-link); font-size: .75rem; font-weight: 800; letter-spacing: .1em; margin-bottom: .55rem; text-transform: uppercase; }
.snap-cohort-group-hub__hero { align-items: flex-end; background: linear-gradient(120deg, color-mix(in srgb, var(--snap-cohort-accent) 13%, var(--snap-cohort-surface)), var(--snap-cohort-surface) 58%); border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 18%, var(--snap-cohort-border)); border-radius: 22px; display: flex; gap: 1rem; justify-content: space-between; overflow: hidden; padding: clamp(1.4rem, 4vw, 2.75rem); position: relative; }
.snap-cohort-group-hub__hero::after { background: radial-gradient(circle, color-mix(in srgb, var(--snap-cohort-accent) 30%, transparent) 0 13%, transparent 14% 100%); border: 1px solid color-mix(in srgb, var(--snap-cohort-accent) 19%, transparent); border-radius: 50%; content: ""; height: 12rem; opacity: .7; pointer-events: none; position: absolute; right: -3.5rem; top: -6rem; width: 12rem; }
.snap-cohort-group-hub__hero > * { position: relative; z-index: 1; }
.snap-cohort-group-hub__hero p:not(.snap-cohort-group-hub__eyebrow), .snap-cohort-group-hub__section-heading > p { color: var(--snap-cohort-muted); margin-bottom: 0; }
.snap-cohort-group-hub__hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }
.snap-cohort-group-hub__course-link, .snap-cohort-group-hub__back { color: var(--snap-cohort-link); font-weight: 750; text-underline-offset: .18em; }
.snap-cohort-group-hub__tabs { border-bottom: 1px solid var(--snap-cohort-border); display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: thin; }
.snap-cohort-group-hub__tab { align-items: center; border-bottom: 3px solid transparent; color: var(--snap-cohort-muted); display: inline-flex; font-weight: 720; gap: .45rem; min-height: 3.15rem; padding: .55rem .8rem; text-decoration: none; white-space: nowrap; }
.snap-cohort-group-hub__tab:hover, .snap-cohort-group-hub__tab:focus-visible, .snap-cohort-group-hub__tab.is-current { border-bottom-color: var(--snap-cohort-accent); color: var(--snap-cohort-link); }
.snap-cohort-group-hub__tab:focus-visible, .snap-cohort-group-hub__member-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--snap-cohort-accent) 55%, transparent); outline-offset: -1px; }
.snap-cohort-group-hub__content { min-width: 0; }
.snap-cohort-group-hub__section-heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.35rem; }
.snap-cohort-group-hub__section-heading > p { max-width: 42ch; text-align: right; }
.snap-cohort-group-hub__feed { display: grid; gap: 1rem; max-width: 760px; }
.snap-cohort-group-hub__post { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 18px; overflow: hidden; }
.snap-cohort-group-hub__post > header { align-items: center; display: flex; gap: .75rem; padding: 1rem 1rem 0; }
.snap-cohort-group-hub__post > header strong, .snap-cohort-group-hub__post > header time { display: block; }
.snap-cohort-group-hub__post > header time { color: var(--snap-cohort-muted); font-size: .82rem; margin-top: .12rem; }
.snap-cohort-group-hub__avatar, .snap-cohort-group-hub__member-avatar, .snap-cohort-group-hub__profile-avatar { border: 2px solid var(--snap-cohort-surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--snap-cohort-border); }
.snap-cohort-group-hub__post-body { padding: 1rem; }
.snap-cohort-group-hub__post-body h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.snap-cohort-group-hub__post-body > div { line-height: 1.65; }
.snap-cohort-group-hub__post-body > div > :last-child { margin-bottom: 0; }
.snap-cohort-group-hub__post-image { border-radius: 12px; display: block; height: auto; margin-top: 1rem; max-height: 430px; object-fit: cover; width: 100%; }
.snap-cohort-group-hub__member-grid, .snap-cohort-group-hub__group-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.snap-cohort-group-hub__member, .snap-cohort-group-hub__group-card { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 16px; min-width: 0; }
.snap-cohort-group-hub__member-link { align-items: center; color: inherit; display: flex; gap: .85rem; padding: 1rem; text-decoration: none; }
.snap-cohort-group-hub__member-link:hover { background: color-mix(in srgb, var(--snap-cohort-accent) 7%, var(--snap-cohort-surface)); }
.snap-cohort-group-hub__member-link span { display: grid; gap: .15rem; min-width: 0; }
.snap-cohort-group-hub__member-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snap-cohort-group-hub__member-link small { color: var(--snap-cohort-muted); }
.snap-cohort-group-hub__group-card { display: grid; gap: 1rem; padding: 1.2rem; }
.snap-cohort-group-hub__group-card h2 { font-size: 1.25rem; }
.snap-cohort-group-hub__group-card p:not(.snap-cohort-group-hub__eyebrow) { color: var(--snap-cohort-muted); margin-bottom: 0; }
.snap-cohort-group-hub__group-card .snap-cohort-button { justify-self: start; }
.snap-cohort-group-hub__profile { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 18px; padding: clamp(1rem, 3vw, 2rem); }
.snap-cohort-group-hub__profile > header { align-items: center; display: flex; gap: 1.15rem; margin-top: 1.4rem; max-width: 680px; }
.snap-cohort-group-hub__profile h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.snap-cohort-group-hub__profile p:not(.snap-cohort-group-hub__eyebrow) { color: var(--snap-cohort-muted); margin-bottom: 0; }
.snap-cohort-group-hub__profile-actions { margin-top: 1.5rem; }
.snap-cohort-group-hub__empty, .snap-cohort-group-hub__notice { background: color-mix(in srgb, var(--snap-cohort-accent) 7%, var(--snap-cohort-surface)); border: 1px dashed color-mix(in srgb, var(--snap-cohort-accent) 34%, var(--snap-cohort-border)); border-radius: 14px; color: var(--snap-cohort-muted); padding: 1.1rem; }
.snap-cohort-group-hub__empty { align-items: center; display: flex; gap: .7rem; }
.snap-cohort-group-hub__empty p, .snap-cohort-group-hub__notice { margin-bottom: 0; }
.snap-cohort-group-hub__events { display: grid; gap: .8rem; max-width: 820px; }
.snap-cohort-group-hub__event { align-items: center; background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 16px; display: grid; gap: 1rem; grid-template-columns: 4rem minmax(0, 1fr) auto; padding: 1rem; }
.snap-cohort-group-hub__event time { align-items: center; background: color-mix(in srgb, var(--snap-cohort-accent) 10%, var(--snap-cohort-surface)); border-radius: 12px; color: var(--snap-cohort-link); display: flex; flex-direction: column; font-weight: 760; justify-content: center; min-height: 3.75rem; text-transform: uppercase; }
.snap-cohort-group-hub__event time strong { color: var(--snap-cohort-ink); font-size: 1.35rem; line-height: 1; }
.snap-cohort-group-hub__event time span { font-size: .68rem; letter-spacing: .07em; margin-top: .22rem; }
.snap-cohort-group-hub__event h3 { font-size: 1.1rem; margin: .1rem 0 .25rem; }
.snap-cohort-group-hub__event h3 a { color: inherit; text-decoration: none; }
.snap-cohort-group-hub__event h3 a:hover { color: var(--snap-cohort-link); text-decoration: underline; }
.snap-cohort-group-hub__event p:not(.snap-cohort-group-hub__eyebrow) { color: var(--snap-cohort-muted); font-size: .9rem; margin-bottom: 0; }
.snap-cohort-group-forum__composer, .snap-cohort-group-forum__topic { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 18px; }
.snap-cohort-group-forum__composer { display: grid; gap: .9rem; margin-bottom: 1rem; padding: clamp(1rem, 2vw, 1.35rem); }
.snap-cohort-group-forum__composer label { display: grid; font-weight: 720; gap: .4rem; }
.snap-cohort-group-forum__composer input, .snap-cohort-group-forum__composer textarea, .snap-cohort-group-forum__reply textarea { border: 1px solid var(--snap-cohort-border); border-radius: 10px; box-sizing: border-box; color: var(--snap-cohort-ink); font: inherit; padding: .7rem .8rem; width: 100%; }
.snap-cohort-group-forum__composer textarea, .snap-cohort-group-forum__reply textarea { resize: vertical; }
.snap-cohort-group-forum__composer > div { align-items: center; display: flex; flex-wrap: wrap; gap: .7rem; }
.snap-cohort-group-forum__composer [data-snap-cohort-forum-status], .snap-cohort-group-forum__reply [data-snap-cohort-forum-status] { color: var(--snap-cohort-muted); font-size: .88rem; margin: 0; }
.snap-cohort-group-forum__topics { display: grid; gap: 1rem; }
.snap-cohort-group-forum__topic { overflow: hidden; }
.snap-cohort-group-forum__topic > header { align-items: center; display: flex; gap: .75rem; padding: 1rem 1rem 0; }
.snap-cohort-group-forum__topic h3 { font-size: 1.1rem; margin: 0; }
.snap-cohort-group-forum__topic header p { color: var(--snap-cohort-muted); font-size: .85rem; margin: .15rem 0 0; }
.snap-cohort-group-forum__body { line-height: 1.6; padding: .8rem 1rem; }
.snap-cohort-group-forum__body p { margin: 0; }
.snap-cohort-group-forum__replies { border-top: 1px solid var(--snap-cohort-border); display: grid; gap: .7rem; list-style: none; margin: 0; padding: 1rem; }
.snap-cohort-group-forum__replies li { border-left: 3px solid color-mix(in srgb, var(--snap-cohort-accent) 35%, var(--snap-cohort-border)); padding-left: .75rem; }
.snap-cohort-group-forum__replies p { margin: .25rem 0 0; }
.snap-cohort-group-forum__reply { border-top: 1px solid var(--snap-cohort-border); display: grid; gap: .55rem; padding: 1rem; }
.snap-cohort-group-forum__reply .snap-cohort-button { justify-self: start; }
.snap-cohort-group-chat__threads { display: grid; gap: 1rem; max-width: 780px; }
.snap-cohort-group-chat__thread, .snap-cohort-group-chat__start { background: var(--snap-cohort-surface); border: 1px solid var(--snap-cohort-border); border-radius: 18px; padding: clamp(1rem, 2vw, 1.35rem); }
.snap-cohort-group-chat__thread > header { border-bottom: 1px solid var(--snap-cohort-border); margin-bottom: 1rem; padding-bottom: .85rem; }
.snap-cohort-group-chat__thread h3 { font-size: 1.12rem; margin: 0; }
.snap-cohort-group-chat__thread ol { display: grid; gap: .65rem; list-style: none; margin: 0 0 1rem; max-height: 28rem; overflow: auto; padding: 0; }
.snap-cohort-group-chat__message { background: color-mix(in srgb, var(--snap-cohort-accent) 7%, var(--snap-cohort-surface)); border-radius: 12px 12px 12px 3px; max-width: 88%; padding: .7rem .8rem; }
.snap-cohort-group-chat__message.is-own { background: color-mix(in srgb, var(--snap-cohort-accent) 16%, var(--snap-cohort-surface)); border-radius: 12px 12px 3px 12px; justify-self: end; }
.snap-cohort-group-chat__message strong { display: block; font-size: .82rem; }
.snap-cohort-group-chat__message p { margin: .2rem 0 0; white-space: pre-wrap; }
.snap-cohort-group-chat__thread form { display: grid; gap: .6rem; }
.snap-cohort-group-chat__thread textarea { border: 1px solid var(--snap-cohort-border); border-radius: 11px; box-sizing: border-box; color: var(--snap-cohort-ink); font: inherit; padding: .7rem .8rem; resize: vertical; width: 100%; }
.snap-cohort-group-chat__thread form > div { align-items: center; display: flex; gap: .7rem; }
.snap-cohort-group-chat__thread [data-snap-cohort-chat-status], .snap-cohort-group-chat__start [data-snap-cohort-chat-status] { color: var(--snap-cohort-muted); font-size: .88rem; margin: 0; }
.snap-cohort-group-hub__profile-history { border-top: 1px solid var(--snap-cohort-border); margin-top: 1.25rem; padding-top: 1.25rem; }
.snap-cohort-group-hub__profile-history h3 { font-size: 1rem; margin: 0 0 .8rem; }
.snap-cohort-group-hub__profile-history ol { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.snap-cohort-group-hub__profile-history li { border-left: 3px solid color-mix(in srgb, var(--snap-cohort-accent) 48%, var(--snap-cohort-border)); padding-left: .75rem; }
.snap-cohort-group-hub__profile-history time { color: var(--snap-cohort-muted); display: inline-block; font-size: .8rem; margin-right: .5rem; }
@media (max-width: 680px) { .snap-cohort-group-hub__hero, .snap-cohort-group-hub__section-heading { align-items: flex-start; flex-direction: column; } .snap-cohort-group-hub__hero-actions { justify-content: flex-start; } .snap-cohort-group-hub__section-heading > p { text-align: left; } .snap-cohort-group-hub__profile > header { align-items: flex-start; flex-direction: column; } .snap-cohort-group-hub__event { align-items: start; grid-template-columns: 3.5rem minmax(0, 1fr); } .snap-cohort-group-hub__event .snap-cohort-button { grid-column: 2; justify-self: start; } }

/*
 * Elementor's stock kit starts with very light blue headings and grey body
 * text. Restrict the correction to the Snap Cohort demo/adaptor shell: a
 * site owner's unrelated Elementor widgets must remain entirely theirs.
 */
.snap-cohort-elementor-shell .elementor-widget-heading .elementor-heading-title {
    color: var(--snap-cohort-link, var(--snap-cohort-accent-dark, #26369d));
}

.snap-cohort-elementor-shell .elementor-widget-text-editor,
.snap-cohort-elementor-shell .elementor-widget-text-editor p {
    color: var(--snap-cohort-muted, #50575e);
}

body.snap-cohort-theme-dark .snap-cohort-elementor-shell .elementor-widget-heading .elementor-heading-title {
    color: var(--snap-cohort-link, #c4ccff);
}

body.snap-cohort-theme-dark .snap-cohort-elementor-shell .elementor-widget-text-editor,
body.snap-cohort-theme-dark .snap-cohort-elementor-shell .elementor-widget-text-editor p {
    color: var(--snap-cohort-muted, #c9d1e2);
}

.snap-cohort-event {
    margin: 0 0 clamp(24px, 4vw, 48px);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--snap-cohort-border, #dbe2ee);
    border-radius: 24px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--snap-cohort-accent, #3f5efb) 12%, #fff), #fff 58%);
    box-shadow: 0 18px 45px rgb(23 35 65 / 8%);
}
.snap-cohort-event__cover { display: block; width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 18px; margin: 0 0 24px; }
.snap-cohort-event__content-cover { display: block; width: 100%; aspect-ratio: 16 / 7; border-radius: 18px; margin: 24px 0 0; object-fit: cover; }
.snap-cohort-event__map { margin-top: 24px; padding: 22px; border: 1px solid color-mix(in srgb, var(--snap-cohort-accent, #4f46e5) 20%, transparent); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--snap-cohort-accent, #4f46e5) 9%, white), rgb(255 255 255 / 88%)); }
.snap-cohort-event__map h3 { margin: 6px 0; font-size: 1.15rem; }
.snap-cohort-event__map p { margin: 0 0 16px; color: var(--snap-cohort-muted, #566176); }
.snap-cohort-event h2 { margin: 8px 0 22px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.snap-cohort-event__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin: 0; }
.snap-cohort-event__details div { padding: 16px; border-radius: 14px; background: rgb(255 255 255 / 78%); }
.snap-cohort-event__details dt { margin-bottom: 5px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--snap-cohort-muted, #566176); }
.snap-cohort-event__details dd { margin: 0; font-weight: 650; color: var(--snap-cohort-ink, #151b2d); }
.snap-cohort-event__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.snap-cohort-event__note { margin: 0; color: var(--snap-cohort-muted, #566176); }

@media (max-width: 600px) {
    .snap-cohort-discussion__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .snap-cohort-community__heading {
        flex-direction: column;
    }

    .snap-cohort-discussion__threads .children {
        margin-left: 8px;
        padding-left: 12px;
    }

    .snap-cohort-community-thread__header { flex-direction: column; }
}
