/* Course page V2 (page-course-v2.php). Desktop ≥1024px: two columns with a
   sticky trial card. Below that: one column, trial form as a bottom sheet. */

.course-v2 {
    --cv2-dark: #160E2B;
    --cv2-text: #17122A;
    --cv2-body: #3F3856;
    --cv2-muted: #5B5470;
    --cv2-purple: #5B1F99;
    --cv2-purple-hover: #4A1880;
    --cv2-link: #7A2FC8;
    --cv2-light-purple: #D7A6F5;
    --cv2-tint: #F1E9FB;
    --cv2-lavender: #F4EFFB;
    --cv2-lavender-border: #E6DCF4;
    --cv2-border: #E4DEEE;
    --cv2-input: #CFC6DE;
    --cv2-header-h: 0px; /* set by course-v2.js from the sticky site header */
    color: var(--cv2-text);
}

main.site-main.course-v2 {
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.course-v2 .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cv2-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .cv2-wrap { padding-left: 32px; padding-right: 32px; }
}

.course-v2 h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cv2-text);
}
@media (min-width: 1024px) {
    .course-v2 h2 { font-size: 24px; }
}
.cv2-muted {
    margin: 0;
    font-size: 13px;
    color: var(--cv2-muted);
}

.cv2-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--cv2-tint);
    color: var(--cv2-purple);
}

/* Buttons */
.cv2-btn,
.cv2-btn:hover,
.cv2-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 9999px !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.cv2-btn--light { background: #ffffff !important; color: var(--cv2-purple) !important; }
.cv2-btn--light:hover { background: var(--cv2-tint) !important; }
.cv2-btn--primary { background: var(--cv2-purple) !important; color: #ffffff !important; }
.cv2-btn--primary:hover { background: var(--cv2-purple-hover) !important; }
.cv2-btn--block { display: flex; width: 100%; }

.cv2-link-btn {
    align-self: flex-start;
    padding: 4px 0 !important;
    border: 0 !important;
    background: none !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--cv2-link) !important;
    cursor: pointer;
}
.cv2-link-btn:hover { text-decoration: underline; }

/* A link whose click area covers its card */
.cv2-stretch::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* Preview image with a play button (opens the trial form; no video promised) */
.cv2-preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: linear-gradient(135deg, #4A2A80 0%, var(--cv2-dark) 75%) !important;
    cursor: pointer;
}
.cv2-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cv2-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 14, 43, 0.35);
}
.cv2-preview__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: -42px 0 0 -30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--cv2-purple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.cv2-preview__play svg { width: 24px; height: 24px; margin-left: 3px; }
.cv2-preview:hover .cv2-preview__play,
.cv2-preview:focus-visible .cv2-preview__play { transform: scale(1.08); background: #ffffff; }
.cv2-preview__label {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
    margin-top: 28px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
    .cv2-preview__play { transition: none; }
    .cv2-preview:hover .cv2-preview__play { transform: none; }
}

/* ── Sticky bar (desktop): slides in under the site header after the hero ── */
.cv2-bar {
    display: none;
}
@media (min-width: 1024px) {
    .cv2-bar {
        position: fixed;
        top: var(--cv2-header-h);
        left: 0;
        right: 0;
        z-index: 45;
        display: block;
        background: var(--cv2-dark);
        color: #ffffff;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        transform: translateY(-110%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s;
    }
    .cv2-bar.is-visible { transform: none; visibility: visible; }
}
.cv2-bar__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.cv2-bar__title {
    margin: 0;
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cv2-bar__meta {
    flex-shrink: 0;
    margin: 0 auto 0 0;
    font-size: 14px;
    color: #B9AECB;
}
@media (prefers-reduced-motion: reduce) {
    .cv2-bar { transition: none; }
}

/* ── 1. Hero ── */
.cv2-hero {
    position: relative;
    background: var(--cv2-dark);
    color: #ffffff;
    overflow: hidden;
}
.cv2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 420px at 78% 0%, rgba(122, 47, 200, 0.45), rgba(22, 14, 43, 0) 70%);
    pointer-events: none;
}
.cv2-hero__grid {
    position: relative;
    padding-top: 16px;
    padding-bottom: 22px;
}
@media (min-width: 1024px) {
    .cv2-hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 48px;
        padding-top: 3rem;
        padding-bottom: 5rem;
    }
}
.cv2-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
@media (min-width: 1024px) {
    .cv2-hero__copy { gap: 14px; }
}

.cv2-crumbs ol {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #B9AECB;
}
.cv2-crumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; }
.cv2-crumbs li[aria-current] { color: #ffffff; }
.cv2-crumbs a,
.cv2-crumbs a:hover { color: var(--cv2-light-purple); text-decoration: underline; }
.cv2-crumbs__back,
.cv2-crumbs__back:hover {
    font-size: 14px;
    font-weight: 600;
    color: var(--cv2-light-purple);
    text-decoration: none;
}
@media (min-width: 1024px) {
    .cv2-crumbs ol { display: flex; }
    .cv2-crumbs__back { display: none; }
}

.cv2-hero__title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.08;
    color: #ffffff;
    overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
    .cv2-hero__title { font-size: 46px; line-height: 1.05; }
}
.cv2-hero__tagline {
    margin: 0;
    max-width: 660px;
    font-size: 16px;
    line-height: 1.5;
    color: #D9D2E8;
}
@media (min-width: 1024px) {
    .cv2-hero__tagline { font-size: 19px; }
}
.cv2-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 4px 0 0;
    font-size: 13px;
    color: #B9AECB;
}
.cv2-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.cv2-hero__meta svg { width: 16px; height: 16px; }
@media (min-width: 1024px) {
    .cv2-hero__meta { font-size: 14px; }
}

.cv2-hero__mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}
.cv2-hero__mobile .cv2-preview { border-radius: 14px; }
.cv2-hero__micro {
    margin: -4px 0 0;
    font-size: 13px;
    text-align: center;
    color: #B9AECB;
}
@media (min-width: 1024px) {
    .cv2-hero__mobile { display: none; }
}

/* ── 2. Body ── */
.cv2-body {
    padding-top: 18px;
    padding-bottom: 32px;
}
@media (min-width: 1024px) {
    .cv2-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 48px;
        align-items: start;
        padding-top: 0;
        padding-bottom: 56px;
    }
}
.cv2-main {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
}
@media (min-width: 1024px) {
    .cv2-main { gap: 40px; }
}

/* Fact strip: overlaps the hero on desktop */
.cv2-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--cv2-border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}
.cv2-facts__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border-right: 1px solid var(--cv2-border);
    border-bottom: 1px solid var(--cv2-border);
}
.cv2-facts__item dd { margin: 0; font-size: 15px; font-weight: 700; overflow-wrap: normal; word-break: normal; }
.cv2-facts__item dt { font-size: 12px; color: var(--cv2-muted); }
@media (min-width: 1024px) {
    .cv2-facts {
        position: relative;
        z-index: 2;
        margin-top: -28px;
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(23, 18, 42, 0.10);
    }
    .cv2-facts__item { padding: 16px 18px; }
    .cv2-facts__item dd { font-size: 17px; }
    .cv2-facts__item dt { font-size: 13px; }
}
/* Four across only when each cell fits "Intermediate" without breaking */
@media (min-width: 1280px) {
    .cv2-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cv2-facts__item { gap: 10px; padding: 18px 14px; border-right: 0; border-bottom: 0; border-left: 1px solid var(--cv2-border); }
    .cv2-facts__item:first-child { border-left: 0; }
    .cv2-facts__item dd { font-size: 16px; }
}

/* What your people will learn */
.cv2-learn {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--cv2-lavender-border);
    border-radius: 14px;
    background: var(--cv2-lavender);
}
@media (min-width: 1024px) {
    .cv2-learn { gap: 14px; padding: 24px; border-radius: 16px; }
}
.cv2-learn__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 768px) {
    .cv2-learn__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
}
.cv2-learn__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.45;
}
.cv2-learn__list:not(.is-expanded) li.is-extra { display: none; }
.cv2-tick { flex: 0 0 auto; font-weight: 800; color: var(--cv2-purple); }

/* About */
.cv2-about { display: flex; flex-direction: column; gap: 10px; }
.cv2-about__short,
.cv2-about__full p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cv2-body);
}
@media (min-width: 1024px) {
    .cv2-about__short { font-size: 17px; }
}
.cv2-about__full p { color: var(--cv2-muted); }
.cv2-about__note {
    margin: 6px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #F7F5FB;
    font-size: 15px;
    line-height: 1.5;
}

/* Includes row: up to 4 compact items */
.cv2-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cv2-includes li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid var(--cv2-border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

/* In-house experts */
.cv2-experts {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid var(--cv2-border);
    border-radius: 16px;
}
.cv2-experts h2 { font-size: 18px !important; }
.cv2-experts p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--cv2-body); }
.cv2-experts__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EFE8F9;
    color: var(--cv2-purple);
}
.cv2-experts__icon svg { width: 24px; height: 24px; }

/* ── Trial card ── */
.cv2-card {
    background: #ffffff;
    border: 1px solid var(--cv2-border);
    border-radius: 18px;
    overflow: hidden;
}
/* Thumbnail: edge to edge across the top of the card, shorter (16:7). */
.cv2-card__preview {
    display: block;
    width: 100%;
    margin: 0 !important;
    aspect-ratio: 16 / 7;
    border-radius: 0 !important;
}
.cv2-card__preview img { border-radius: 0 !important; }
.cv2-card__preview .cv2-preview__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.cv2-card__preview .cv2-preview__label { display: none; }
.cv2-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}
@media (min-width: 1024px) {
    .cv2-card__body { padding: 22px; }
}
.cv2-card__title { font-size: 22px !important; line-height: 1.15 !important; }
.cv2-card__micro {
    margin: -6px 0 0;
    font-size: 13px;
    text-align: center;
    color: var(--cv2-muted);
}
.cv2-card__handle,
.cv2-card__close { display: none; }

.cv2-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--cv2-border);
}
.cv2-trust__line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: var(--cv2-body);
}
.cv2-trust__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cv2-trust__badges { justify-content: center; gap: 10px; }
.cv2-trust__badges img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 0 0 1px var(--cv2-border);
}
.cv2-trust__line { justify-content: center; text-align: center; font-size: 12px; color: var(--cv2-muted); }
.cv2-aside__intro {
    margin: 12px 0 0;
    font-size: 14px;
    text-align: center;
    color: var(--cv2-muted);
}
.cv2-aside__intro a { color: var(--cv2-link); font-weight: 600; }

/* Desktop: sticky card overlapping the hero */
@media (min-width: 1024px) {
    .cv2-aside {
        position: sticky;
        top: calc(var(--cv2-header-h) + 76px); /* clears the sticky course bar */
        z-index: 3;
        /* Card top lines up with the hero's text (3rem below the hero's top);
           --cv2-hero-h is the hero's height, set by course-v2.js. */
        margin-top: calc(3rem - var(--cv2-hero-h, 320px));
    }
    .cv2-card { box-shadow: 0 22px 50px rgba(23, 18, 42, 0.22); }
    .cv2-backdrop { display: none !important; }
}

/* Mobile/tablet: the card is a bottom sheet, opened by any "Try" button */
@media (max-width: 1023.98px) {
    .cv2-card {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        max-height: 90vh;
        overflow-y: auto;
        border: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
        transform: translateY(100%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s;
    }
    .cv2-card.is-open { transform: none; visibility: visible; }
    .cv2-card__preview { display: none; }
    .cv2-card__handle {
        display: block;
        width: 40px;
        height: 5px;
        margin: 10px auto 0;
        border-radius: 3px;
        background: var(--cv2-input);
    }
    .cv2-card__close {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        border: 1px solid var(--cv2-border) !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        font-size: 20px;
        color: var(--cv2-text) !important;
        cursor: pointer;
    }
    .cv2-card__body { padding-top: 14px; }
    .cv2-card__title { padding-right: 48px; }
    .cv2-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(15, 10, 30, 0.55);
    }
    .cv2-backdrop[hidden] { display: none; }
    .cv2-aside__intro { margin: 0 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .cv2-card { transition: none; }
}
body.cv2-sheet-open { overflow: hidden; }

/* ── The existing trial form, restyled (markup and behaviour unchanged) ── */
.course-v2 .cv2-form .course__demo_form_main {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--cv2-text);
}
.course-v2 .cv2-form .course__demo--form-title { display: none; } /* the card has its own heading */
.course-v2 .cv2-form .course__demo--form-content {
    padding-bottom: 12px;
}
.course-v2 .cv2-form .course__demo_form_main p,
.course-v2 .cv2-form .course__demo--form-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--cv2-muted);
}
.course-v2 .cv2-form .course__demo_form_main a,
.course-v2 .cv2-form .course__demo_form_main a:hover {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-decoration: underline;
}
.course-v2 .cv2-form .course__demo--form-info { margin-bottom: 10px; }
.course-v2 .cv2-form .course__demo--form-input-flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.course-v2 .cv2-form .course__demo--form-padding { padding-bottom: 10px; }
.course-v2 .cv2-form .course__demo--form-padding input,
.course-v2 .cv2-form .course__demo--form-padding textarea,
.course-v2 .cv2-form .course__select-box select {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 1px solid var(--cv2-input) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    color: var(--cv2-text) !important;
}
.course-v2 .cv2-form .course__demo--form-padding textarea { min-height: 72px; resize: vertical; }
.course-v2 .cv2-form .course__demo--form-padding input::placeholder,
.course-v2 .cv2-form .course__demo--form-padding textarea::placeholder {
    font-size: 15px;
    color: #6E6782 !important;
    text-transform: none;
}
.course-v2 .cv2-form .course__demo--form-padding input:focus,
.course-v2 .cv2-form .course__demo--form-padding textarea:focus,
.course-v2 .cv2-form .course__select-box select:focus {
    outline: none;
    border-color: var(--cv2-link) !important;
    box-shadow: 0 0 0 3px rgba(122, 47, 200, 0.18);
}
.course-v2 .cv2-form .course__demo--form-padding input:-webkit-autofill {
    -webkit-text-fill-color: var(--cv2-text) !important;
}
.course-v2 .cv2-form label.error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #C0262D;
}
.course-v2 .cv2-form .course__demo--form-btn { padding-top: 4px; }
.course-v2 .cv2-form .vinci-btn__form_submit {
    width: 100%;
    min-height: 50px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 9999px !important;
    background: var(--cv2-purple) !important;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #ffffff !important;
    cursor: pointer;
}
.course-v2 .cv2-form .vinci-btn__form_submit:hover { background: var(--cv2-purple-hover) !important; }
.course-v2 .cv2-form #form-message:empty { display: none; }

/* ── 3. Other courses in the topic ── */
.cv2-band--lavender {
    border-top: 1px solid var(--cv2-lavender-border);
    border-bottom: 1px solid var(--cv2-lavender-border);
    background: var(--cv2-lavender);
}
.cv2-band--cream {
    border-top: 1px solid #F0E6D8;
    background: #FBF6EF;
}
.cv2-others {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 26px;
    padding-bottom: 26px;
}
@media (min-width: 1024px) {
    .cv2-others { padding-top: 48px; padding-bottom: 52px; }
}
.cv2-others__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
}
.cv2-others__head a { font-size: 15px; font-weight: 700; color: var(--cv2-link); }
.cv2-others__grid {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0 0 4px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
@media (min-width: 1024px) {
    .cv2-others__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
    }
}
.cv2-ocard {
    position: relative;
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cv2-border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    scroll-snap-align: start;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cv2-ocard:hover,
.cv2-ocard:focus-within {
    transform: translateY(-3px);
    border-color: #C9A7EE;
    box-shadow: 0 10px 24px rgba(23, 18, 42, 0.12);
}
@media (prefers-reduced-motion: reduce) {
    .cv2-ocard { transition: none; }
    .cv2-ocard:hover,
    .cv2-ocard:focus-within { transform: none; }
}
.cv2-ocard__thumb {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #3A2266, var(--cv2-dark));
}
.cv2-ocard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cv2-ocard__pick {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 9999px;
    background: var(--cv2-light-purple);
    font-size: 12px;
    font-weight: 700;
    color: var(--cv2-dark);
}
.cv2-ocard__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 14px;
}
.cv2-ocard__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cv2-text) !important;
    text-decoration: none !important;
}

/* ── 5. Trusted by ── */
.cv2-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 28px;
}
@media (min-width: 1024px) {
    .cv2-logos { gap: 18px; padding-top: 52px; padding-bottom: 52px; }
}
.cv2-logos h2 { text-align: center; }
/* One row of 6 logos, same height, grey */
.cv2-logos__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 768px) {
    .cv2-logos__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.cv2-logos__row li { display: flex; align-items: center; justify-content: center; height: 56px; }
.cv2-logos__row img {
    width: auto;
    max-width: 120px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
}
.cv2-logos__note { margin: 0; font-size: 15px; color: var(--cv2-body); }

/* ── 6. Closing band ── */
.cv2-close {
    background: linear-gradient(120deg, var(--cv2-purple) 0%, var(--cv2-link) 100%);
    color: #ffffff;
}
.cv2-close__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
@media (min-width: 1024px) {
    .cv2-close__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 48px;
        padding-top: 56px;
        padding-bottom: 56px;
    }
}
.cv2-close__copy { display: flex; flex-direction: column; gap: 14px; }
.course-v2 .cv2-close h2 {
    font-size: 27px;
    line-height: 1.15;
    color: #ffffff;
}
@media (min-width: 1024px) {
    .course-v2 .cv2-close h2 { font-size: 40px; line-height: 1.12; }
}
.cv2-close__copy p { margin: 0; font-size: 15px; line-height: 1.5; color: #E9DDF8; }
@media (min-width: 1024px) {
    .cv2-close__copy p { font-size: 17px; }
}
.cv2-close__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 6px;
}
.cv2-close__intro,
.cv2-close__intro:hover { font-size: 16px; font-weight: 700; color: #ffffff; text-decoration: underline; }
.cv2-close__preview {
    display: none;
    border: 4px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 18px;
    transform: rotate(-2deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
@media (min-width: 1024px) {
    .cv2-close__preview { display: block; }
}

/* ── Sticky bottom bar (mobile) ── */
.cv2-mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--cv2-border);
    background: #ffffff;
    box-shadow: 0 -6px 18px rgba(23, 18, 42, 0.10);
}
.cv2-mobilebar__text { flex: 1; min-width: 0; }
.cv2-mobilebar__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cv2-mobilebar__meta { margin: 0; font-size: 12px; color: var(--cv2-muted); }
body.cv2-sheet-open .cv2-mobilebar { display: none; }
@media (max-width: 1023.98px) {
    main.site-main.course-v2 { padding-bottom: 76px !important; } /* room for the bottom bar */
}
@media (min-width: 1024px) {
    .cv2-mobilebar { display: none; }
}

/* FAQ answers with a bullet list (objectives, legislation) */
.course-v2 .faq-section__answer-inner p + ul {
	margin: -0.75rem 0 0;
	padding: 0 2.5rem 1.25rem 1.25rem;
	list-style: disc;
	color: #64748b;
	font-size: 16px;
	line-height: 160%;
}
.course-v2 .faq-section__answer-inner li + li {
	margin-top: 0.25rem;
}

/* Trial card: the form's own trial disclaimer is covered by the FAQ and the
   card's "No card needed" line, so it is hidden here (old page unchanged). */
.course-v2 .cv2-form .course__demo--form-content { display: none; }
