/**
 * Video Player Block Styles
 */

.tf-video-section {
    max-width: 100%;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    background: #26180E;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.tf-video-section--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.tf-video-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.tf-video-overlay__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.tf-button-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 146px;
    height: 146px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.tf-button-play__icon,
.tf-button-play__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.tf-button-play__icon {
    width: 53px;
    height: 53px;
    object-fit: contain;
    left: 52%;
}

.tf-button-play__text {
    width: 146px;
    height: 146px;
    object-fit: contain;
    transition: transform 0.6s ease;
}

/* Animation for icon scale on button hover */
.tf-button-play:hover .tf-button-play__icon {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Video embed styles */
.tf-video-embed {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.tf-video-embed__iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 32px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .tf-video-section {
        height: 460px;
    }
}

@media (max-width: 768px) {
    .tf-video-section {
        height: 300px;
    }

    .tf-button-play {
        width: 120px;
        height: 120px;
    }

    .tf-button-play__icon {
        width: 40px;
        height: 40px;
    }

    .tf-button-play__text {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 460px) {
    .tf-video-section {
        height: 220px;
    }
}
