.tutorialBody {
    background: #f0f0f0;
}

.tutorialMain {
    display: grid;
    justify-items: center;
    padding: 20px;
}

.tutorialContent {
    display: grid;
    gap: 24px;
    width: min(100%, 1010px);
}

.tutorialCard {
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 10px #a8a8a8;
}

.tutorialCardHeader {
    padding: 20px 0 20px 0;
}

#tutorialTopCardHeader {
    padding: 20px;
}

.tutorialCardEyebrow {
    color: #6c778f;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

#tutorialTopCardHeader .tutorialCardEyebrow {
    margin-bottom: 10px;
}

.tutorialCardTitle {
    margin: 0;
    color: #182236;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
    line-height: 1.15;
}

.tutorialCardDescription {
    margin: 10px 0 0 0;
    color: #51607b;
    font-size: 1rem;
    line-height: 1.5;
}

.tutorialWorkbookTab {
    display: inline-block;
    padding: 3px 5px;
    margin: 0 2px;
    border: 1px solid #d6deea;
    border-bottom: 3px solid #217346;
    background: #f1f1f147;
    color: #545454;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
}

.tutorialDownloadHint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    vertical-align: middle;
}

.tutorialDownloadIcon {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    background: #424242;
    padding: 2px;
    border-radius: 2px;
}

.tutorialVideoEmbed {
    width: min(100%, max(320px, calc((100vh - 210px) * 16 / 9)));
    width: min(100%, max(320px, calc((100dvh - 210px) * 16 / 9)));
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 10px lightgray;
}

.tutorialVideoEmbed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.tutorialLockedVideo {
    width: min(100%, max(320px, calc((100vh - 210px) * 16 / 9)));
    width: min(100%, max(320px, calc((100dvh - 210px) * 16 / 9)));
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    display: grid;
    place-items: center;
    padding: 20px;
    box-sizing: border-box;
    background: radial-gradient(circle at top, #284766 0%, #132033 62%, #0f1725 100%);
    /* background: radial-gradient(circle at top, #591bff 0%, #132033 62%, #0f1725 100%); */
    /* background: radial-gradient(circle at top, #000000 0%, #5e23ff 100%); */
    background: radial-gradient(circle at top, #000000 0%, #09011f 40%, #5e23ff 100%);
    box-shadow: 0 0 10px lightgray;
}

.tutorialLockedVideoInner {
    width: min(100%, 420px);
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.tutorialLockedVideo .courseTaskGateTitle,
.tutorialLockedVideo .courseTaskGateDescription {
    color: white;
}

.tutorialLockedVideo .courseTaskGateDescription {
    color: #d7e0eb;
}

.tutorialLockedVideo .courseTaskGateSupportText {
    color: #d7e0eb;
}

.tutorialLockedVideo .courseTaskGateSection + .courseTaskGateSection {
    border-top-color: rgba(255, 255, 255, 0.24);
}

.tutorialLockedVideo .courseTaskGateSecondaryAction,
.tutorialLockedVideo .courseTaskGateSecondaryAction:hover,
.tutorialLockedVideo .courseTaskGateSecondaryAction:focus,
.tutorialLockedVideo .courseTaskGateSecondaryAction:active {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tutorialLockedVideoActions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tutorialWorkbookSection {
    padding: 20px;
}

.tutorialWorkbookShell {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe3ee;
    background: #fff;
    box-shadow: 0 0 5px lightgray;
}

.tutorialWorkbookIframe {
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
}

.tutorialLockedWorkbookActions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media screen and (max-width: 700px) {
    .tutorialMain {
        padding: 0;
    }

    .tutorialCard {
        box-shadow: none;
        border: none;
    }

    .tutorialWorkbookIframe {
        min-height: 384px;
        height: 68vh;
    }
}
