.resource-buttons.single,
.bundle-resources.single {
    grid-template-columns: 1fr;
}

.bundle-copy > p {
    margin-bottom: 40px;
}

.bundle-layout.preview-layout,
.bundle-layout.preview-layout.reverse {
    grid-template-columns: 1fr 1fr;
}

.bundle-preview {
    min-height: 390px;
    margin: 0;
    padding: 42px 34px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #eef1fb 0%, #e4e9f7 100%);
}

.preview-stack {
    width: 94%;
    aspect-ratio: 842 / 595;
    position: relative;
    overflow: hidden;
    border: 8px solid #fff;
    background: #fff;
    box-shadow: 0 18px 34px rgba(28, 33, 62, .22);
    transform: rotate(-1.5deg);
}

.bundle-layout.reverse .preview-stack {
    transform: rotate(1.5deg);
}

.preview-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    animation: worksheet-preview 12s infinite;
}

.preview-slide:nth-child(2) {
    animation-delay: -8s;
}

.preview-slide:nth-child(3) {
    animation-delay: -4s;
}

.bundle-preview:hover .preview-slide {
    animation-play-state: paused;
}

.bundle-preview figcaption {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    padding: 7px 10px;
    color: #fff;
    background: #202034;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.bundle-resource.available.secondary {
    background: #202034;
}

.finalist-study-resources .bundle-resource:last-child {
    min-height: 80px;
    grid-column: 1 / -1;
}

.powerpoint-download-note {
    margin-top: 14px;
    padding: 12px 14px;
    display: grid;
    gap: 4px;
    color: #64697a;
    background: #f6f7fa;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1.7;
}

.powerpoint-download-note strong {
    color: #151827;
    font-size: 11px;
}

.video-label-break {
    display: none;
}

@media (min-width: 821px) and (max-width: 1100px) {
    .video-label-break {
        display: block;
    }
}

@keyframes worksheet-preview {
    0%, 28% { opacity: 1; }
    33%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .preview-slide {
        animation: none;
    }

    .preview-slide:first-child {
        opacity: 1;
    }
}

.resource-button.video-pending {
    color: #9295a0;
    background: #f1f2f5;
    border: 1px solid #dfe1e7;
    cursor: not-allowed;
}

.resource-button.video-pending small {
    flex: 0 0 auto;
    margin-left: 8px;
    padding: 3px 5px;
    color: #a0a3ac;
    background: #e5e7eb;
    border-radius: 3px;
    font-size: 8px;
}

.resource-button.video-available {
    color: #fff;
    background: #202034;
    border: 1px solid #202034;
}

.resource-button.video-available:hover {
    color: #fff;
    background: #151827;
}

.program-card .status {
    margin-right: 16px;
}

.program-body .lesson-video-note {
    margin: 12px 0 0;
    color: #64697a;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.value-grid h3 {
    max-width: 520px;
    font-size: 21px;
    line-height: 1.6;
}

.hero-visual {
    display: block;
    min-height: 520px;
}

.hero-visual::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-photo-card {
    width: min(500px, 92%);
    margin: 28px 0 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(26, 30, 55, .18);
    transform: rotate(1.5deg);
}

.hero-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-photo-card figcaption {
    padding: 20px 22px;
    display: grid;
    gap: 5px;
}

.hero-photo-card strong {
    font-size: 15px;
}

.hero-photo-card span {
    color: var(--muted);
    font-size: 11px;
}

.hero-material-float {
    width: 210px;
    position: absolute;
    left: 0;
    bottom: 10px;
    z-index: 2;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 4px;
    box-shadow: 0 16px 35px rgba(26, 30, 55, .22);
    transform: rotate(-5deg);
}

.hero-material-float img {
    display: block;
    width: 100%;
}

.program-cover {
    min-height: 265px;
    padding: 0;
    isolation: isolate;
    background: #202034;
}

.program-cover::after {
    display: none;
}

.program-cover-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -2;
    object-fit: cover;
}

.program-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 18, 35, .05) 28%, rgba(15, 18, 35, .88) 100%);
}

.program-cover-caption {
    width: 100%;
    padding: 25px 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px 20px;
}

.program-cover-caption span {
    grid-column: 1 / -1;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .17em;
}

.program-cover-caption h4 {
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
}

.program-cover-caption b {
    color: rgba(255, 255, 255, .72);
    font-size: 44px;
    line-height: 1;
}

.card-top.level-only {
    justify-content: flex-end;
}

.status {
    color: #fff;
    border-color: #282a3a;
    background: #282a3a;
}

.level {
    letter-spacing: .04em;
}

.about-photo {
    margin: 32px 0 22px;
    position: relative;
    overflow: hidden;
    border: 1px solid #343447;
}

.about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 27%;
}

.about-photo figcaption {
    padding: 13px 15px;
    color: #d8d9e2;
    background: #202034;
    font-size: 11px;
    font-weight: 700;
}

.bundle-visual.final-visual {
    min-height: 430px;
    padding: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #17172b;
}

.final-main-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.final-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(12, 14, 28, .06) 22%, rgba(12, 14, 28, .94) 100%);
}

.final-visual-copy {
    width: 100%;
    margin-top: auto;
    padding: 42px;
    position: relative;
    z-index: 1;
}

.final-visual-copy > span {
    color: #d1c9ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.final-visual-copy h4 {
    max-width: 340px;
    margin: 16px 0 26px;
    color: #fff;
    font-size: 28px;
    line-height: 1.45;
}

.final-visual .research-axes {
    max-width: 340px;
}

.finalist-thumbnail {
    width: 150px;
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    border: 5px solid #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
    transform: rotate(3deg);
}

@media (max-width: 820px) {
    .bundle-layout.preview-layout,
    .bundle-layout.preview-layout.reverse {
        grid-template-columns: 1fr;
    }

    .bundle-preview {
        min-height: 0;
        padding: 38px 28px;
        aspect-ratio: 842 / 595;
    }

    .hero-visual {
        min-height: 500px;
    }

    .hero-photo-card {
        margin-right: auto;
    }
}

@media (max-width: 520px) {
    .hero-visual {
        min-height: 400px;
    }

    .hero-photo-card figcaption {
        padding: 15px 17px;
    }

    .hero-material-float {
        width: 150px;
    }

    .program-cover {
        min-height: 220px;
    }

    .program-cover-caption {
        padding: 20px;
    }

    .bundle-preview {
        padding: 34px 20px 24px;
    }

    .preview-stack {
        width: 96%;
        border-width: 5px;
    }

    .bundle-preview figcaption {
        top: 12px;
        left: 12px;
    }

    .final-visual-copy {
        padding: 28px;
    }

    .finalist-thumbnail {
        width: 115px;
        top: 16px;
        right: 16px;
    }
}
