.new-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #8B8474;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 2;
}
.custom-video-grid-item {
    position: relative;
}

.load-more-wrap {
	margin: 20px auto !important;
}

.custom-video-grid-wrapper {
	position: relative;
	top: -50px;
}

.video-posts-filter-wrap {
    margin-bottom: 70px;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: center;
	gap: 30px;
    row-gap: 60px;
}

.video-filter-cat,
.video-filter-search {
	position: relative;
    flex-basis: 200px;
}

#video-category-filter {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	padding-right: 50px;
}
.video-filter-cat select {
    border: 0px solid #cccccc;
    border-radius: 0 !important;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    position: relative;
    background: transparent;
	color: #ffffff;
}
.video-filter-cat select:focus {
    outline: none;
    border: 0px solid #cccccc;
}

.video-filter-search input {
	background-color: #434343;
	border: 0px solid #cccccc !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: #ffffff;
}
.video-filter-search input:focus {
	outline: none;
	border: 0px solid #cccccc !important;
}

.video-filter-search:after {
    position: absolute;
    top: 50%;
    content: '';
    background-image: url('../search-b.svg');
    width: 22px;
    height: 22px;
    right: 10px;
    background-size: 16px;
    margin-top: -9px;
    z-index: 0;
    background-repeat: no-repeat;
}
.video-filter-search input::-webkit-input-placeholder {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}
.video-filter-search input::-moz-placeholder {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}
.video-filter-search input:-ms-input-placeholder {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}
.video-filter-search input::-ms-input-placeholder {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}
.video-filter-search input::placeholder {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}

.no-videos {
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
#custom-video-grid-results {
    opacity: 0;
}

#custom-video-grid-results.show {
    opacity: 1;
}

.custom-video-grid-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.custom-video-grid-item.show {
    opacity: 1;
    transform: translateY(0);
}
.custom-video-grid-content-wrap {
	padding:0;
}

#video-loading-indicator .loader-circle {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(0,0,0,0.2);
	border-top: 4px solid #B1A690;
	border-radius: 50%;
	-webkit-animation: spin 0.8s linear infinite;
	        animation: spin 0.8s linear infinite;
	margin: auto;
}

@-webkit-keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


#custom-video-grid-results {
	--columns: 3;
	--gap: 30px;
	--gap-count: calc(var(--columns) - 1);
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
	row-gap: 60px;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

#custom-video-grid-results.show {
	opacity: 1;
}

.custom-video-grid-item {
	flex-basis: calc((100% / var(--columns)) - (var(--gap) / var(--columns) * var(--gap-count)));
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.custom-video-grid-item.show {
	opacity: 1;
	transform: translateY(0);
}

.custom-video-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.custom-video-thumb img {
	width: 100%;
	height: 280px;
	-o-object-fit: cover;
	   object-fit: cover;
	display: block;
}

.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.video-title {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

.video-category {
	margin-top: 5px;
	margin-bottom: 0;
	font-size: 15px;
	color: #B1A590;
	font-weight: 300;
	text-align: center;
}

@media (max-width: 992px) {
	#custom-video-grid-results {
		--columns: 2;
	}
}

@media (max-width: 767px) {
	#custom-video-grid-results {
		--columns: 1;
	}
}

.custom-video-grid-item .elementor-custom-embed-image-overlay {
	position: relative;
	cursor: pointer;
}
.custom-video-grid-item .elementor-custom-embed-image-overlay .elementor-custom-embed-play svg {
	width: 60px;
	height: 60px;
	cursor: pointer;
}

.custom-video-grid-item .elementor-custom-embed-image-overlay img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	display: block;
}

.custom-video-grid-item .elementor-custom-embed-play {
	z-index: 2;
}

.custom-video-grid-item .elementor-custom-embed-play {
	display:flex;
}

.custom-video-grid-item .elementor-custom-embed-image-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

/* Custom Dropdown CSS */

.custom-dropdown {
    position: relative;
    width: 250px;
    font-family: inherit;
}

.dropdown-toggle {
    display: inline-block;
    padding: 10px 50px 10px 20px;
    background-color: #000000;
    color: #ffffff;
    font-weight: 400;
    border-radius: 0;
	font-size: 14px;
	line-height: 1.2;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
	width: 100%;
}
/* Custom Arrow using your SVG */
.custom-dropdown .dropdown-toggle::after {
    content: '';
    background-image: url('../arrow-down-white.svg');
    background-size: 31px;
    width: 30px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 5px;
    background-color: #434343;
    color: #fff;
    list-style: none;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 2;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 1px solid #000;
    line-height: 1.2;
    font-size: 14px;
	text-transform: uppercase;
}

.dropdown-menu li:hover {
    background-color: #B1A690;
}

.dropdown-menu li.selected {
	background-color: #B1A690;
	color: #fff;
}

a.dialog-close-button.dialog-lightbox-close-button {
    font-size: 42px;
}