/* Modal Video Component
---------------------------------------------------------------------------- */
/*close button animation*/
.mfp-content .mfp-close {
	font-size: 0 !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 2px !important;
    right: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(/wp-content/uploads/2026/06/socials-border.svg) no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    background-color: var(--color-orange-100) !important;
    width: 64px !important;
    height: 64px;
    background-size: 44px !important;
    border-radius: 0 30px 0 10px !important;
}
.mfp-content .mfp-close::before {
  	content: '';
    transform: none;
    background: url(/wp-content/uploads/2026/06/btn-close.svg) no-repeat;
    top: unset;
    left: 9px;
    margin-left: 0;
    width: 44px !important;
    height: 44px !important;
    border-radius: 100%;
    background-size: 24px;
    background-position: 11px center;
    transition: all 0.25s ease-out;
    position: absolute;
    top: 11px;
}
.mfp-content .mfp-close:hover::before{
	filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(325deg) brightness(105%) contrast(101%);
}
.mfp-content .mfp-close::after{
	content: '';
    background: transparent;
    width: 42px;
    height: 42px;
    left: 10px;
    top: 10px;
    transform: none;
    margin: 0;
    border-radius: 100%;
    z-index: -1;
    transition: all 0.25s ease-out;
    position: absolute;
}
.mfp-content .mfp-close:hover::after {
    background: var(--color-black);
	transform:none;
}
.mfp-content {
	max-width: 900px !important;
    /* background: var(--color-orange-100); */
}
.mfp-content .wp-block-video,
.mfp-content video,
.mfp-content iframe{
	border-radius: 30px;
    background: var(--color-orange-100) !important;
    padding: 20px;
    box-shadow: none !important;
}


.home .mfp-content .wp-block-video,  .home .mfp-content iframe,
.home .mfp-content .mfp-close{
    background-color: var(--color-blue-100) !important;
}

/* slide from top on open / fade out on close */
.mfp-bg{
	/* opacity: 0; */
	transition: opacity .35s ease-out;
}
.mfp-bg.mfp-removing{
	opacity: 0;
}
.mfp-wrap{
	opacity: 0;
	transform: translateY(-40px);
	transition: opacity .35s ease-out, transform .35s ease-out;
}
.mfp-wrap.mfp-ready{
	opacity: 1;
	transform: translateY(0);
}
.mfp-wrap.mfp-removing{
	opacity: 0;
	transform: translateY(-40px);
}


/* Responsive
-------------------------------------------------------------------------*/
@media (max-width: 680px) {
    .mfp-content .wp-block-video, .mfp-content video, .mfp-content iframe{
        padding: 10px;
    }

    .mfp-content .mfp-close::after{ width: 34px; height: 34px;}
    .mfp-content .mfp-close{ width: 55px !important; height: 55px;    background-size: 36px !important;}
    .mfp-content .mfp-close::before{ left: 6px;top: 7px;    background-position: 11px center;}
}