.gallery_single_content .wp-block-image {
	padding-bottom: 16px;
}

.gallery_single_content_body {
	padding: 0 24px 0 9px;
}

.new_drops_item {
	cursor: pointer
}

:root :where(.wp-block-post-title a:where(:not(.wp-element-button)):hover) {
	text-decoration: none;
}

/* Lightbox Styles */
#lightboxOverlay {
	display: none;
	position: fixed;
	z-index: 9998;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.60);
}

#lightboxContainer {
	position: fixed;
	z-index: 9999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	display: none;
}

.title-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#lightboxTitle {
	color: var(--Text-Text-Inverse, #FFF);
	font-size: var(--Paragraph-spacing-Heading-h7, 18px);
	font-style: normal;
	font-weight: 600;
	line-height: var(--Paragraph-spacing-Heading-h3, 28px);
	/* 155.556% */
	text-align: left;
	margin: 0 0 16px 0;
}

#lightboxImage {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	max-height: calc(100vh - 265px);
	object-fit: contain;
	background: #08080880;
}

#closeBtn {
	width: 30px;
	height: 30px;
	background-color: #D4A94B;
	/* gold background */
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Icon inside */
#closeBtn::before,
.close-btn::before {
	content: '';
	display: block;
	width: 17px;
	height: 17px;
	background: url("../images/popup-close.png") no-repeat center center;
	background-size: contain;
	flex-shrink: 0; /* Safari fix */
 	
}

.navBtn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	border-radius: 50%;
	color: white;
}

.navBtns {
	position: absolute;
	bottom: -26px;
	background: none;
	cursor: pointer;
	color: white;
}

#prevBtns {
	right: 57px;
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	background: url("../images/Left arrow.png") no-repeat center center;
	background-size: contain;
}

#nextBtns {
	right: 30px;
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	background: url("../images/right arrow.png") no-repeat center center;
	background-size: contain;
}

#prevBtn,
#prevVideo {
	left: -34px;
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background: url("../images/Left arrow.png") no-repeat center center;
	background-size: contain;
}

#nextBtn,
#nextVideo {
	right: -34px;
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background: url("../images/right arrow.png") no-repeat center center;
	background-size: contain;
}

#counter {
	position: absolute;
	bottom: -26px;
	left: 10px;
	color: white;
	color: var(--Text-Text-Inverse, #FFF);
	font-size: var(--Fontsize-body-sm, 12px);
	font-style: normal;
	font-weight: 500;
	line-height: var(--Lineheight-body-sm, 16px);
	/* 133.333% */
}

#firstBtn,
#lastBtn {
	position: absolute;
	bottom: -26px;
	cursor: pointer;
	color: white;
}

#firstBtn {
	right: 77px;
	content: '';
	display: block;
	width: 24px;
	height: 16px;
	background: url("../images/Left-arrow.png") no-repeat center center;
	background-size: contain;
}

#lastBtn {
	right: 0px;
	content: '';
	display: block;
	width: 24px;
	height: 16px;
	background: url("../images/Right-arrow.png") no-repeat center center;
	background-size: contain;
}

#thumbnails {
	margin-top: 10px;
	display: flex;
	justify-content: flex-start;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding-bottom: 5px;
	max-width: 980px;
	/* 4 thumbs (120px each + margins) */
}

#thumbnails::-webkit-scrollbar {
	height: 0px;
	/* visible scrollbar for clarity */
}

#thumbnails::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 3px;
}

#thumbnails img {
	width: 186px;
	height: 104px;
	margin: 6px;
	cursor: pointer;
	opacity: 0.6;
	flex-shrink: 0;
	border: 2px solid transparent;
	/* default border */
	box-sizing: border-box;
}

#thumbnails img.active {
	border: 2px solid #fff;
	/* active border */
	opacity: 1;
}

.gallery_single_content {
	position: relative;
}

.gallery_single_content::before {
	content: "";
	background: url("../images/photo_big_left.svg");
	width: 150px;
	height: 126px;
	display: block;
	position: absolute;
	top: 0px;
	left: -13px;
	background-repeat: no-repeat;
	background-size: contain;
}

.gallery_single_content::after {
	content: "";
	background: url("../images/photo_big_right.svg");
	width: 198px;
	height: 167px;
	display: block;
	position: absolute;
	top: -14px;
	right: 1px;
	z-index: -1;
	background-size: contain;
	background-repeat: no-repeat;
}

.gallery_single_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	margin-top: 40px;
}

.gallery_single_title h4 {
	margin: 0;
	position: relative;
	color: #d4a94b;
	color: var(--Secondary-500, #D4A94B);
	font-size: var(--Paragraph-spacing-Heading-h4, 24px);
	font-style: normal;
	font-weight: 600;
	line-height: var(--Lineheight-Heading-h4, 29px);
}

.gallery_single_main_title {
	margin-right: 215px;
}

.gallery_single_main_title h3 {
	position: relative;
	max-width: max-content;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	color: #FFF;
	text-align: right;
	font-size: 48px;
	font-style: normal;
	font-weight: 900;
	line-height: var(--Lineheight-Heading-h1, 58px);
}

.gallery_single_main_title h3 span.gallery_single_main_title_text_part1 {
	margin-bottom: -6px;
	color: var(--Secondary-500, #D4A94B);
}

.video-item {
	cursor: pointer;
}

.video-item img {
	/* height: 236px; */
	width: 100%;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
    object-fit: cover;
}

/* Prev/Next buttons outside container */
#prevBtn,
#nextBtn {
	position: fixed !important;
	/* override absolute */
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	z-index: 10001;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	cursor: pointer;
}

#prevBtn {
	left: -64px;
	background-image: url("../images/Left arrow.png") !important;
}

#nextBtn {
	right: -64px;
	background-image: url("../images/right arrow.png") !important;
}

/* Modal styles */
#videoModal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	width: 100%;
	max-height: 100%;
}

.modal-content {
	border-radius: 16px;
	border: 1px solid #D4A94B;
	width: 1110px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #000;
}

#modalVideo {
	width: 100%;
	height: 523px;
	border: none;
	margin-top: 65px;
}

#videoModal .video-content-wrapper {
	padding: 16px 20.719px 20.719px 20.719px;
	border-radius: 0 0 16px 16px;
	background: var(--Surface-Action-button, #04126A);
}


/* Arrows */
.nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	background: none;
	border: none;
}

.nav-arrow.prev {
	left: -50px;
}

.nav-arrow.next {
	right: -50px;
}

/* Close button */
.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	background: none;
	border: none;
	width: 30px;
	height: 30px;
	background-color: #D4A94B;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
    z-index: 9999;
	flex: 0 0 30px;
}

.video-title-date-wrapper {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}

.video-title-date-wrapper p {
	color: var(--Text-Text-Gold, #D4A94B);
	font-size: var(--Paragraph-spacing-Heading-h7, 18px);
	font-style: normal;
	font-weight: 500;
	line-height: var(--Paragraph-spacing-Heading-h3, 28px);
	/* 155.556% */
	margin: 0;
}

.video-title-date-wrapper h3 {
	color: #FFF;
	font-size: var(--Paragraph-spacing-Heading-h5, 22px);
	font-style: normal;
	font-weight: 700;
	line-height: var(--Lineheight-Heading-h5, 36px);
	/* 163.636% */
	margin: 0;
	text-transform: uppercase;
}

#videoModal .video-content-wrapper h4 {
	color: #FFF;
	font-size: var(--Paragraph-spacing-Heading-h7, 18px);
	font-style: normal;
	font-weight: 600;
	line-height: var(--Paragraph-spacing-Heading-h3, 28px);
	margin: 0;
	text-transform: uppercase;
}

.footer_image {
    z-index: 0;
}
.footer_menu_wrap{
    position: relative;
    z-index: 1;
}
/* Responsive Styles */
/* iPads portrait/landscape + Android tablets */
@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) {
    .modal-content {
        width: 80%;
        height: auto;
        padding: 10px 0 0 0;
    }
    #modalVideo {
        height: 300px;
        margin-top: 50px;
    }
}
/* android tab media queries */
@media (min-width: 700px) and (max-width: 1400px) and (orientation: portrait) {
	 .menuHover header {
        height: calc(100% - 100px);
        }
      
    }
    /* ipad pro13  */
    @media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) {
   .footer_menu_wrap {
    gap: 25%;
}
  
        .top_players_top_section img {
            position: absolute;
            bottom: -1px;
            left: 0;
            width: max-content !important;
            height: 500px;
            object-fit: contain;
        }
.settings {
    margin-bottom: 20px;
}
}
/* ipad pro13 landscape */
@supports (-webkit-touch-callout: none) and (not (-webkit-overflow-scrolling: touch)) {
    /* This matches iPadOS Safari only */
    @media only screen 
        and (min-device-width: 1024px) 
        and (max-device-width: 1366px) 
        and (orientation: landscape) 
        and (-webkit-min-device-pixel-ratio: 2) {
        
        #modalVideo {
            height: 500px;
        }
    }
}


@media (max-width: 1200px) {
  
	.modal-content {
		width: 90%;
		height: auto;
		padding: 20px 0 0 0;
	}

	#modalVideo {
		height: 450px;
	}

	.nav-arrow.prev {
		left: -30px;
	}

	.nav-arrow.next {
		right: -30px;
	}
    #prevBtn {
        left: 0;
    }
    #nextBtn {
        right: 0;
    }

}

@media (max-width: 992px) {
	.modal-content {
		width: 85%;
		height: auto;
	}

	#modalVideo {
		height: auto;
	}
}


/* Make lightbox container scale on smaller screens */
@media (max-width: 1024px) {
	#lightboxContainer {
		width: 90vw;
		max-height: 90vh;
	}

	#lightboxImage {
		max-height: 70vh;
		object-fit: contain;
	}

	.gallery_single_main_title h3 {
		font-size: 30px;
		line-height: 40px;
	}

	.gallery_single_title h4 {
		font-size: var(--Paragraph-spacing-Heading-h4, 18px);
		line-height: var(--Lineheight-Heading-h4, 22px);
	}

	.gallery_single_main_title {
		margin-right: 175px;
	}

	.gallery_single_content::after {
		width: 145px;
	}

	.gallery_single_content::before {
		width: 110px;
	}
}

/* Adjust thumbnails for tablets */
@media (max-width: 768px) {
	#thumbnails img {
		width: 120px;
		height: auto;
		max-height: 70px;
	}

	.gallery_single_content_body {
		padding: 0 10px 0 15px;
	}

	.gallery_single_content::after {

		width: 118px;
		height: 100px;
		top: 9px;
		right: 0;
		background-size: cover;
	}

	.gallery_single_content::before {
		width: 89px;
		height: 75px;
		top: 0;
		left: 138px;
		background-size: cover;

	}


	.nav-arrow {
		display: none;
		/* Hide arrows on small screens */
	}

	.video-title-date-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}

	.video-title-date-wrapper p,
	.video-title-date-wrapper h3 {
		font-size: 16px;
		line-height: 24px;
	}

	#videoModal .video-content-wrapper h4 {
		font-size: 16px;
	}

	#prevBtn,
	#nextBtn {
		width: 25px;
		height: 25px;
	}

	#closeBtn {
		width: 25px;
		height: 25px;
	}

	.gallery_single_header {
		align-items: flex-start;
		flex-direction: column;
		justify-content: flex-start;
		font-size: 28px;
		line-height: 34px;
		text-align: left;
		max-width: inherit;
		padding: 45px 16px 0 16px;
		margin-top: 0;
	}

	.gallery_single_main_title {
		margin-right: 0;
		margin-top: 10px;
	}
}
@media (max-width: 700px) {
	.modal-content {
		width: 80%;
		height: auto;
		padding: 10px 0 0 0;
	}

	#modalVideo {
		height: auto;
		margin-top: 50px;
	}
}

@media (max-width: 600px) {
.gallery_single_content_body {
		padding: 0 12px 0 15px;
	}
}
/* Mobile adjustments */
@media (max-width: 480px) {
	#lightboxContainer {
		width: 95vw;
		max-height: 85vh;
	}

	#lightboxTitle {
		font-size: 16px;
		line-height: 22px;
	}

	#lightboxImage {
		max-height: 55vh;
	}

	#thumbnails img {
		width: 90px;
		max-height: 50px;
	}

	.gallery_single_content::after {
		width: 118px;
		height: 100px;
		top: 75px;
	}
	
	#modalVideo {
		height: 220px;
	}

	.close-btn {
		top: 5px;
		right: 5px;
		font-size: 24px;
		width: 26px;
		height: 26px;
	}
}
@media screen and (max-height: 500px) {
    #thumbnails {
        display: none;
    }
    #lightboxImage {
    max-height: 50vh;
    object-fit: contain;
}
.video-content-wrapper{
    display: none;
}
#modalVideo {
    height: auto;
}
}