.fx-wistia {
    margin: 1.5rem 0;
}

/* .fx-wistia .wistia_embed {
    width: 100% !important;
    height: 100% !important;
} */

.fx-wistia .wistia_click_to_play {
    width: 100% !important;
    max-width: 700px;
    height: auto !important;
}

.fx-wistia .wistia_click_to_play>div {
    height: auto !important;
}

.fx-wistia .wistia_click_to_play img {
    height: auto;
    width: 100% !important;
    object-fit: cover;
    position: static !important;
}

@media(min-width : 800px) {
    .fx-wistia .wistia_click_to_play img {
        height: 100% !important;
    }
}

.fx-wistia .wistia_click_to_play>div>div {
    background-color: #207DE9 !important;

}

.fx-wistia .video-thumb {
    position: relative;
    display: inline-block;
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .1);
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
}

.fx-wistia .video-thumb:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 110px;
    height: 82px;
    margin: -41px 0 0 -55px;
    content: "\25BA";
    text-align: center;
    background-color: #207DE9;
    color: #fff;
    font-size: 30px;
    line-height: 82px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-indent: 5px;
    opacity: 0.8;
}

.fx-wistia .video-thumb:hover:before {
    opacity: 1;
}

.fx-wistia .video-thumb img {
    margin-bottom: 0px !important;
}

/* Alignment */

.fx-wistia-left .wistia_click_to_play {
    margin-right: auto;
}

.fx-wistia-center .wistia_click_to_play {
    margin-left: auto;
    margin-right: auto;
}

.fx-wistia-right .wistia_click_to_play {
    margin-left: auto;
}

.fx-wistia_thumb img.wistia-no-thumb {
    border: 1px solid #dfdfdf;
}

.fx-wistia_thumb:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 50px;
    width: 50px;
    transform: translate(-50%, -50%);
    background-color: var(--blue-03);
}

.fx-wistia_thumb .wistia_embed {
    /* background-image: url('/wp-content/themes/fx/assets/img/icons/video-play-button.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: 100%;
    content: " ";
    display: block; */
    display: flex;
    width: 100px;
    height: 65px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: var(--s1, 8px);
    background: var(--Primary-Blue, #207DE9);

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.fx-wistia_thumb .wistia_embed:hover {
    background-color: #083A74;
}

.fx-wistia_thumb .wistia_embed:before {

    content: '';
    display: block;
    background-image: url('/wp-content/themes/fx/assets/img/icons/play-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    width: 36.246px;
    height: 36.246px;
    position: absolute;
    left: 34px;
}
/* 
.fx-wistia_thumb:hover .wistia_embed:before {
    box-shadow: 0 0 0 12px var(--blue-03);
} */

.fx-wistia2 + *
{
    margin-top: 24px;
}

.fx-wistia2 .fx-wistia_thumb {
    position: relative;
    display: block;
}

.fx-wistia2:not(.intro-header-wistia) .fx-wistia_thumb img {
    width: 100%;
	display: block;
    position: initial;
    height: 100%;
}
.hiring-process-component .fx-wistia2:not(.intro-header-wistia) .fx-wistia_thumb img {
    border-radius: 27px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}


/* Hide the default square background for circle-glow variant */
.fx-wistia-circle-glow .fx-wistia_thumb:before {
    display: none;
}

/* Circular play button with glow effect */
.fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed {
    width: 80px;
    height: 80px;
    padding: 10px;
    border-radius: 50%;
    background: #207DE9;
}

/* Glow effect - outer ring with fade animation */
.fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110px;
    height: 110px;
    transform: translate(-50%, -50%);
    background: rgba(32, 125, 233, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: wistia-glow-fade 1.2s ease-out infinite;
}

@keyframes wistia-glow-fade {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0;
    }
}

/* Play icon - centered */
.fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed::before {
    width: 36px;
    height: 36px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Hover state */
.fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed:hover {
    background-color: #083A74;
}

.fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed:hover::after {
    background: rgba(8, 58, 116, 0.3);
}

/* Circle glow - responsive for small screens */
@media (max-width: 767px) {
    .fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed {
        width: 56px;
        height: 56px;
        padding: 8px;
    }

    .fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed::after {
        width: 80px;
        height: 80px;
    }

    .fx-wistia-circle-glow .fx-wistia_thumb .wistia_embed::before {
        width: 20px;
        height: 20px;
        background-size: contain;
    }
}