/* Snapshot of live inline <style> ct_code_block_css_20225 — do not edit; see scripts/sync-live-assets.mjs */
.tgb-video-showcase,
.tgb-video-showcase * {
    box-sizing: border-box;
}

.tgb-video-showcase {
    width: 100%;
    padding: 80px 24px;
    background: transparent;
    overflow: hidden;
}

.tgb-video-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.tgb-video-eyebrow {
    margin: 0 0 10px;
    color: #c64f83;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tgb-video-showcase h2 {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 16px;
    color: #c64f83;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
}

.tgb-video-intro {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 45px;
    color: #6e7090;
    font-size: 17px;
    line-height: 1.6;
}

.tgb-video-viewport {
    width: 100%;
    overflow: visible;
}

.tgb-video-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
}

/* Phone frame */

.tgb-video-card {
    position: relative;
    flex: 0 0 245px;
    width: 245px;
    aspect-ratio: 9 / 19.5;

    border: 0;
    border-radius: 48px;
    background: #1b1b1d;
    overflow: hidden;

    box-shadow:
        0 26px 48px rgba(20, 20, 30, 0.17),
        0 8px 18px rgba(20, 20, 30, 0.10);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        box-shadow 0.25s ease;
}

.tgb-video-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 32px 58px rgba(20, 20, 30, 0.22),
        0 12px 24px rgba(20, 20, 30, 0.12);
}

/* Dynamic Island */

.tgb-video-card::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    z-index: 5;

    width: 84px;
    height: 24px;

    border-radius: 999px;
    background: #0d0d0e;

    transform: translateX(-50%);
    pointer-events: none;
}

/* Video screen */

.tgb-video-card video {
    position: absolute;
    top: 9px;
    right: 7px;
    bottom: 7px;
    left: 7px;

    display: block;
    width: calc(100% - 14px);
    height: calc(100% - 16px);

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 40px;

    background: #ededf0;
    object-fit: cover;
}

/* Sound button */

.tgb-sound-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background: rgba(20, 20, 25, 0.68);
    color: #ffffff;

    cursor: pointer;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.tgb-sound-button:hover {
    transform: scale(1.07);
    background: rgba(20, 20, 25, 0.84);
}

.tgb-sound-button svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.tgb-sound-button .sound-on {
    display: none;
}

.tgb-sound-button.is-playing-sound .sound-off {
    display: none;
}

.tgb-sound-button.is-playing-sound .sound-on {
    display: block;
}

/* Mobile navigation hidden on desktop */

.tgb-video-navigation,
.tgb-carousel-dots {
    display: none;
}

/* Tablet */

@media (max-width: 1050px) and (min-width: 768px) {

    .tgb-video-row {
        flex-wrap: wrap;
        max-width: 700px;
        margin: 0 auto;
    }

    .tgb-video-card {
        flex-basis: 225px;
        width: 225px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .tgb-video-showcase {
        width: 100%;
        padding: 48px 0 38px;
        overflow: hidden;
    }

    .tgb-video-inner {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .tgb-video-eyebrow {
        width: calc(100% - 36px);
        margin: 0 auto 10px;
        padding: 0;

        font-size: 12px;
        letter-spacing: 1.6px;
    }

    .tgb-video-showcase h2 {
        width: calc(100% - 36px);
        max-width: 430px;
        margin: 0 auto 14px;
        padding: 0;

        font-size: clamp(27px, 8.5vw, 38px);
        line-height: 1.08;

        overflow-wrap: normal;
        word-break: normal;
    }

    .tgb-video-intro {
        width: calc(100% - 44px);
        max-width: 420px;
        margin: 0 auto 26px;
        padding: 0;

        font-size: 15px;
        line-height: 1.5;
    }

    .tgb-video-viewport {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 12px 0 20px;
    }

    .tgb-video-row {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .tgb-video-card {
        display: none;
        width: min(74vw, 285px);
        max-width: 285px;
        margin: 0 auto;

        opacity: 0;
        transform: scale(0.96);
        pointer-events: none;
    }

    .tgb-video-card.is-current {
        display: block;
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .tgb-video-card:hover,
    .tgb-video-card.is-current:hover {
        transform: scale(1);
    }

    .tgb-sound-button {
        right: 15px;
        bottom: 15px;

        width: 42px;
        height: 42px;
    }

    .tgb-video-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;

        width: 100%;
        margin: -20px auto 0;
        padding: 0 18px;

        position: relative;
        z-index: 20;

        pointer-events: none;
    }

    .tgb-video-arrow {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 48px;
        padding: 0 0 4px;

        border: 1px solid rgba(255, 255, 255, 0.75);
        border-radius: 50%;

        background: #c64f83;
        color: #ffffff;

        font-family: Arial, sans-serif;
        font-size: 38px;
        font-weight: 300;
        line-height: 1;

        cursor: pointer;
        pointer-events: auto;

        box-shadow:
            0 8px 20px rgba(20, 20, 30, 0.18),
            0 2px 6px rgba(20, 20, 30, 0.10);
    }

    .tgb-video-arrow:disabled {
        opacity: 0.28;
        cursor: default;
    }

    .tgb-carousel-dots {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 8px;
        margin: 18px 0 0;
    }

    .tgb-dot {
        width: 8px;
        height: 8px;
        padding: 0;

        border: 0;
        border-radius: 999px;

        background: #d9d7df;
        cursor: pointer;

        transition:
            width 0.2s ease,
            background 0.2s ease;
    }

    .tgb-dot.is-active {
        width: 23px;
        background: #c64f83;
    }
}