@media (max-width: 900px) {
    .fc-detail-sidebar .fc-purchase-box {
        position: static;
    }

    .fc-learn-sidebar {
        box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    }
}

@media (max-width: 720px) {
    .fc-detail-hero,
    .fc-dashboard-hero {
        gap: 18px;
    }

    .fc-detail-hero__image,
    .fc-dashboard-card__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .fc-dashboard-card__media img {
        display: block;
    }

    .fc-certificate-actions,
    .fc-completion-actions,
    .fc-certificate-actions__links {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .fc-certificate-actions__links > a,
    .fc-completion-actions > a,
    .fc-completion-actions > button {
        width: 100%;
    }

    .fc-share-actions,
    .fc-share-actions--inline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .fc-share-action {
        justify-content: center;
        min-width: 0;
        width: 100%;
    }

    .fc-document-frame,
    .fc-embed-frame {
        height: 56vh;
        min-height: 320px;
    }

    .fc-interaction-layer {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .faster-course-interaction {
        max-height: min(58vh, 420px);
        overflow: auto;
    }
}

@media (max-width: 480px) {
    .fc-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .fc-catalog-hero h1,
    .fc-detail-hero h1,
    .fc-dashboard-hero h1,
    .fc-lesson-header h1 {
        font-size: 31px;
        line-height: 1.05;
    }

    .fc-hero-copy,
    .fc-lesson-header p:not(.fc-eyebrow) {
        font-size: 15px;
    }

    .fc-learn-sidebar {
        max-height: calc(82vh - var(--fc-site-header-height));
    }

    .fc-learn-outline {
        max-height: 54vh;
    }

    .fc-lesson-stage {
        min-height: 0;
    }

    .fc-audio {
        margin: 42px auto;
        width: calc(100% - 28px);
    }

    .fc-assessment-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .fc-checkout-card {
        padding: 22px;
    }
}

@media (max-width: 360px) {
    .fc-share-actions,
    .fc-share-actions--inline {
        grid-template-columns: 1fr;
    }
}
