.wp-course-feature {
    --wpr-text: #f6f2ff;
    --wpr-muted: #c0c4d9;
    --wpr-line: #35304d;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 1280px;
    margin-block: 36px 30px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--wpr-line);
    border-radius: 20px;
    background: radial-gradient(ellipse at 56% 0%, #242443, transparent 62%), #151522;
    color: var(--wpr-text);
}

.wp-course-feature__main {
    display: grid;
    align-content: start;
    gap: 20px;
    min-width: 0;
    padding: clamp(18px, 3vw, 36px);
}

.wp-course-feature__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wp-course-feature__identity img.wp-course-feature__logo--wide {
    display: block;
    flex: 0 0 auto;
    width: clamp(68px, 7vw, 98px);
    height: clamp(56px, 6vw, 74px);
    object-fit: cover;
    object-position: center 55%;
}

.wp-course-feature__identity p {
    margin: 0 0 4px;
    color: #d6baff;
    font-size: 13px;
    font-weight: 650;
}

.wp-course-feature__identity h2 {
    margin: 0;
    color: var(--wpr-text);
    font-size: clamp(23px, 2.6vw, 39px);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.wp-course-feature__description {
    max-width: 38ch;
    margin: 12px 0 0;
    color: var(--wpr-muted);
    font-size: 16px;
    line-height: 1.55;
}

.wp-course-feature__visual {
    display: flex;
    align-items: center;
    min-width: 0;
}

.wp-course-feature__video {
    position: relative;
    display: grid;
    isolation: isolate;
    place-items: center;
    width: 100%;
    overflow: hidden;
    border: 1px solid #635881;
    border-radius: 14px;
    background: #171a32;
    color: white;
    aspect-ratio: 16 / 9;
    box-shadow: 0 16px 34px #08071555;
    text-decoration: none;
}

.wp-course-feature__video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-course-feature__video::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, #101024e8);
    content: "";
}

.wp-course-feature__play, .wp-course-feature__video-label { z-index: 1; }
.wp-course-feature__play {
    display: grid;
    place-items: center;
    width: clamp(56px, 6.2vw, 76px);
    height: clamp(56px, 6.2vw, 76px);
    border: 1px solid #fff8;
    border-radius: 50%;
    background: #17122ee8;
    color: white;
}
.wp-course-feature__play svg { margin-left: 3px; }
.wp-course-feature__video:hover .wp-course-feature__play { background: #603498; }

.wp-course-feature__video-label {
    position: absolute;
    bottom: 11px;
    left: 14px;
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.wp-course-feature__purchase {
    display: grid;
    align-content: start;
    gap: 13px;
    min-width: 0;
}

.wp-course-feature__enrollment {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.wp-course-feature__offer {
    padding: 13px 15px;
    border: 1px solid #4a3c62;
    border-radius: 12px;
    background: #181528;
}

.wp-course-feature__offer-heading,
.wp-course-feature__price,
.wp-course-feature__campaign {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.wp-course-feature__offer-heading { justify-content: space-between; }
.wp-course-feature__offer-label {
    color: #fbd690;
    font-size: 13px;
    font-weight: 750;
}
.wp-course-feature__countdown {
    padding: 4px 7px;
    border-radius: 5px;
    background: #f4ba60;
    color: #261807;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    white-space: nowrap;
}

.wp-course-feature__price {
    align-items: baseline;
    margin-block: 8px 4px;
}
.wp-course-feature__price strong {
    color: white;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
    white-space: nowrap;
}
.wp-course-feature__price del { color: #b9b4ce; font-size: 15px; white-space: nowrap; }

.wp-course-feature__campaign p,
.wp-course-feature__offer-terms,
.wp-course-feature__seats,
.wp-course-feature [data-wp-coupon-feedback] {
    margin: 0;
    color: var(--wpr-muted);
    font-size: 13px;
    line-height: 1.45;
}
.wp-course-feature__campaign strong { color: var(--wpr-text); }
.wp-course-feature__offer-terms { margin-top: 5px; }
.wp-course-feature__offer-terms span { display: inline-block; }
.wp-course-feature__offer-terms time + span::before { content: " · "; }

.wp-course-feature__coupon {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding-left: 8px;
    border: 1px dashed #9a7cc5;
    border-radius: 7px;
    background: #272039;
    font-size: 14px;
    letter-spacing: .045em;
}

.wp-course-feature__coupon:has(button[hidden]) { padding-right: 8px; }
.wp-course-feature__coupon button:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e2caff;
    cursor: pointer;
}

.wp-course-feature__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #c8a2ff;
    border-radius: 9px;
    background: #dfc4ff;
    color: #26153c;
    font-weight: 800;
    text-decoration: none;
}
.wp-course-feature__cta:hover { background: #f0e0ff; color: #26153c; }

.wp-course-feature :is(a, button):focus-visible {
    outline: 2px solid #9de7ff;
    outline-offset: 3px;
}
.wp-course-feature__video:focus-visible { outline-offset: -4px; }

.wp-course-feature__benefits {
    display: grid;
    gap: 8px;
    color: var(--wpr-muted);
    font-size: 13px;
    line-height: 1.45;
}
.wp-course-feature__benefits p { margin: 0; }
.wp-course-feature__mentoring { display: flex; gap: 8px; }
.wp-course-feature__mentoring svg { flex: 0 0 17px; width: 17px; height: 17px; color: #cdb1f7; }
.wp-course-feature__mentoring strong { color: var(--wpr-text); }
.wp-course-feature__mentoring p { margin-top: 3px; }

.wp-course-feature__bonuses {
    min-width: 0;
    padding: clamp(18px, 3vw, 36px) clamp(16px, 2.4vw, 30px);
    border-top: 1px solid var(--wpr-line);
    background: #0f1020a6;
}

.wp-course-feature__bonus-heading { margin-bottom: 12px; }
.wp-course-feature__bonus-heading h3 { margin: 0; color: var(--wpr-text); font-size: 21px; line-height: 1.2; }
.wp-course-feature__bonus-heading p,
.wp-course-feature__bonuses > p { margin: 3px 0 0; color: var(--wpr-muted); font-size: 12px; line-height: 1.45; }
.wp-course-feature__bonuses > p { margin-top: 12px; }

.wp-course-feature__bonuses ul { margin: 0; padding: 0; list-style: none; }
.wp-course-feature__bonuses li + li { border-top: 1px solid var(--wpr-line); }
.wp-course-feature__bonus-row {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 72px;
    padding: 12px 0;
    color: var(--wpr-text);
    text-decoration: none;
}
a.wp-course-feature__bonus-row:hover { color: #e5c7ff; }
.wp-course-feature__bonus-thumb {
    flex: 0 0 auto;
    width: clamp(80px, 9.5vw, 136px);
    aspect-ratio: 16 / 9;
    height: auto;
    border: 1px solid #423753;
    border-radius: 7px;
    background: #211b34;
    object-fit: cover;
}
.wp-course-feature__platform-logo { object-fit: contain; }
.wp-course-feature__bonus-copy,
.wp-course-feature__platform-copy { min-width: 0; }
.wp-course-feature__bonus-copy strong,
.wp-course-feature__platform-copy > strong {
    display: block;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.wp-course-feature__bonus-arrow { color: #cfbbeb; font-size: 12px; white-space: nowrap; }
.wp-course-feature__bonus-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 4px;
    color: var(--wpr-muted);
    font-size: 12px;
    line-height: 1.35;
}
.wp-course-feature__release { color: #f5cd87; font-weight: 700; }
.wp-course-feature__release.is-immediate { color: #a3e5ce; }

.wp-course-feature__platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.wp-course-feature__platform-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 38px;
    padding: 3px 8px;
    border: 1px solid #554872;
    border-radius: 6px;
    background: #251d35;
    color: #efddff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.wp-course-feature__platform-links a:hover { background: #3e2d57; }

@media (min-width: 760px) {
    .wp-course-feature__purchase {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: clamp(12px, 2vw, 20px);
    }
}

@media (min-width: 1050px) {
    .wp-course-feature:has(.wp-course-feature__bonuses) {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 35%);
    }
    .wp-course-feature__bonuses { border-top: 0; border-left: 1px solid var(--wpr-line); }
}

@media (max-width: 759px) {
    .wp-course-feature__main { gap: 13px; }
    .wp-course-feature__bonus-thumb { width: 94px; }
    .wp-course-feature__bonus-copy strong,
    .wp-course-feature__platform-copy > strong { font-size: 15px; }
}
