.scg-youtube-consent {
    --scg-youtube-cobalt: #0068c9;
    --scg-youtube-cobalt-hover: #00529f;
    --scg-youtube-navy: #061a2d;
    --scg-youtube-muted: #c6d0db;
    align-items: center;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 20% 10%, rgba(0, 104, 201, 0.35), transparent 44%),
        linear-gradient(145deg, #0a2942 0%, var(--scg-youtube-navy) 72%);
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 22rem;
    overflow: auto;
    position: relative;
    width: 100%;
}

.embed-responsive > .scg-youtube-consent,
.ratio > .scg-youtube-consent {
    aspect-ratio: auto;
    height: 100%;
    inset: 0;
    min-height: 0;
    position: absolute;
}

.embed-responsive:has(> .scg-youtube-consent),
.ratio:has(> .scg-youtube-consent) {
    min-height: 22rem;
}

.scg-youtube-consent__inner {
    box-sizing: border-box;
    max-width: 48rem;
    padding: clamp(1.25rem, 4vw, 2.75rem);
    text-align: center;
}

.scg-youtube-consent__play {
    align-items: center;
    background: var(--scg-youtube-cobalt);
    border-radius: 50%;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
    display: inline-flex;
    height: 3.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3.75rem;
}

.scg-youtube-consent__play::before {
    border-bottom: 0.6rem solid transparent;
    border-left: 1rem solid #fff;
    border-top: 0.6rem solid transparent;
    content: '';
    margin-left: 0.2rem;
}

.scg-youtube-consent__title {
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.65rem;
}

.scg-youtube-consent__text {
    color: var(--scg-youtube-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 auto 1rem;
}

.scg-youtube-consent__button {
    background: var(--scg-youtube-cobalt);
    border: 0;
    border-radius: 0.3rem;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0.75rem 1.15rem;
    transition: background-color 160ms ease, transform 160ms ease;
}

.scg-youtube-consent__button:hover {
    background: var(--scg-youtube-cobalt-hover);
    transform: translateY(-1px);
}

.scg-youtube-consent__button:focus-visible,
.scg-youtube-consent__links a:focus-visible {
    outline: 0.2rem solid #fff;
    outline-offset: 0.2rem;
}

.scg-youtube-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    justify-content: center;
    margin-top: 0.85rem;
}

.scg-youtube-consent__links a {
    color: #fff;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.scg-youtube-consent.is-loaded {
    background: #000;
    overflow: hidden;
}

.scg-youtube-consent__iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

@media (max-width: 40rem) {
    .scg-youtube-consent {
        min-height: 18rem;
    }

    .embed-responsive > .scg-youtube-consent,
    .ratio > .scg-youtube-consent {
        min-height: 0;
    }

    .embed-responsive:has(> .scg-youtube-consent),
    .ratio:has(> .scg-youtube-consent) {
        min-height: 18rem;
    }

    .scg-youtube-consent__play {
        height: 3rem;
        margin-bottom: 0.65rem;
        width: 3rem;
    }

    .scg-youtube-consent__text {
        font-size: 0.88rem;
        line-height: 1.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scg-youtube-consent__button {
        transition: none;
    }
}
