.tt-home .tt-video {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1366 / 474;
    background: url('/Design/img/XayDungTT/figma-home/process.jpg') center / cover no-repeat;
}

    .tt-home .tt-video .tt-video__link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: 1366 / 474;
        border: 0;
        padding: 0;
        cursor: pointer;
        background: rgba(0,0,0,.16);
    }

    .tt-home .tt-video .tt-video__play {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: white;
        color: #132c31;
        padding: 0;
        box-sizing: border-box;
        transition: transform .3s ease;
    }

    .tt-home .tt-video .tt-video__play svg {
        display: block;
        width: 36px;
        height: 36px;
        transform: translateX(2px);
    }

.tt-home .tt-video__link:focus-visible {
    outline: 3px solid #810d09;
    outline-offset: -4px;
}

.tt-video-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(1000px,calc(100% - 32px));
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    padding: 52px 12px 12px;
    margin: auto;
    border: 0;
    border-radius: 12px;
    background: #111;
    color: #fff;
    overflow: auto;
}

    .tt-video-dialog::backdrop {
        background: rgba(0,0,0,.86);
    }

    .tt-video-dialog video {
        display: block;
        width: 100%;
        max-height: 70vh;
        object-fit: contain;
        background: #000;
    }

.tt-video-dialog__close {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: white;
    font: 36px/1 Arial;
    cursor: pointer;
}

.tt-video-dialog__status {
    margin: 8px 0 0;
    font: 14px/1.5 Arial,sans-serif;
}

    .tt-video-dialog__status:empty {
        display: none;
    }

@media(hover: hover) and (pointer:fine) {
    .tt-home .tt-video__link:hover .tt-video__play {
        transform: scale(1.08);
    }
}

@media(max-width: 700px) {
    .tt-home .tt-video, .tt-home .tt-video .tt-video__link {
        aspect-ratio: 16 / 9;
    }

        .tt-home .tt-video .tt-video__play {
            width: 59px;
            height: 59px;
        }

        .tt-home .tt-video .tt-video__play svg {
            width: 26px;
            height: 26px;
        }
}

@media(prefers-reduced-motion:reduce) {
    .tt-home .tt-video .tt-video__play {
        transition: none;
    }
}
