/**
 * Video Button Block Styles
 */

.tf-video-button-link {
    text-decoration: none;
    display: inline-block;
    display: flex;
    width: 146px !important;
    height: 146px;
}

.tf-video-button-link .tf-button-play {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

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

.tf-video-button-link .tf-button-play__icon {
    width: 53px;
    height: 53px;
    object-fit: contain;
    left: 52%;
    transition: transform 0.3s ease;
}

.tf-video-button-link .tf-button-play__text {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

/* Animation for text rotation - handled by JavaScript */

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

/* Responsive styles */
@media (max-width: 768px) {
    .tf-video-button-link .tf-video-button-section {
        min-height: 150px;
        padding: 15px;
    }

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