/* Media Details Page */
.media-details-hero {
	position: relative;
	height: 420px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.media-details-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 6s ease;
}

.media-details-hero:hover .media-details-hero__bg {
	transform: scale(1);
}

.media-details-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(44, 53, 120, 0.8) 100%);
}

.media-details-hero__content {
	position: relative;
	text-align: center;
	color: #fff;
	z-index: 1;
}

.media-details-hero__label {
	font-family: 'IBM Plex Sans Condensed', sans-serif;
	font-size: clamp(64px, 10vw, 120px);
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.media-details-hero__title {
	font-size: clamp(14px, 2vw, 18px);
	font-weight: 400;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.88);
	letter-spacing: 0.02em;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.media-gallery-section {
	padding: 56px 0 40px;
}

.media-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.media-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	aspect-ratio: 4/3;
	background: #e5e7eb;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	border: none;
	padding: 0;
	width: 100%;
}

.media-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-gallery-item__overlay {
	position: absolute;
	inset: 0;
	background: rgba(44, 53, 120, 0.55);
	opacity: 0;
	transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-gallery-item__icon {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-gallery-item__icon svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
	stroke-width: 2;
	fill: none;
}

.media-gallery-item:hover img {
	transform: scale(1.06);
}

.media-gallery-item:hover .media-gallery-item__overlay,
.media-gallery-item:hover .media-gallery-item__icon {
	opacity: 1;
}

.media-gallery-item.hidden {
	display: none;
}

.media-load-more-wrap {
	text-align: center;
	margin-top: 36px;
}

.media-btn-load-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 2px solid #2c3578;
	color: #2c3578;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 12px 36px;
	border-radius: 40px;
	cursor: pointer;
	transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.media-btn-load-more:hover {
	background: #2c3578;
	color: #fff;
	box-shadow: 0 8px 28px rgba(44, 53, 120, 0.18);
}

.media-btn-load-more svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2.5;
	fill: none;
}

/* Lightbox */
.media-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.92);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity 0.22s ease;
}

.media-lightbox.active {
	display: flex;
	opacity: 1;
}

.media-lightbox__top {
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 72px;
	z-index: 2;
}

.media-lightbox__counter {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	letter-spacing: 0.08em;
}

.media-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 20px;
	transition: background 0.28s ease;
	z-index: 3;
}

.media-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.media-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	flex: 1;
	min-height: 0;
	padding-top: 48px;
}

.media-lightbox__main-img {
	max-height: 62vh;
	max-width: calc(100vw - 160px);
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
	transition: opacity 0.18s ease;
}

.media-lightbox__main-img.fade {
	opacity: 0;
}

.media-lightbox__arrow {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	border-radius: 50%;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.28s ease;
}

.media-lightbox__arrow:hover {
	background: #2c3578;
}

.media-lightbox__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.media-lightbox__arrow svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 2.5;
	fill: none;
}

.media-lightbox__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	max-width: 100%;
	padding: 16px 0 8px;
	scrollbar-width: none;
}

.media-lightbox__thumbs::-webkit-scrollbar {
	display: none;
}

.media-lightbox__thumb {
	flex-shrink: 0;
	width: 64px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
	opacity: 0.5;
	cursor: pointer;
	border: 2px solid transparent;
	transition: opacity 0.28s ease, border-color 0.28s ease;
}

.media-lightbox__thumb.active,
.media-lightbox__thumb:hover {
	opacity: 1;
	border-color: #2c3578;
}

/* More Media Highlights */
.media-highlights-section {
	background: #f5f7fa;
	padding: 60px 0;
	border-top: 1px solid #e5e7eb;
}

.media-highlights-section .section-title {
	text-align: center;
	margin-bottom: 36px;
}

.media-highlights-section .section-title h2 {
	color: #2c3578;
	font-size: clamp(28px, 4vw, 42px);
	text-transform: uppercase;
	margin-bottom: 8px;
}

.media-highlights-section .section-title h2::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2c3578;
	margin: 10px auto 0;
}

.media-highlights-wrap {
	position: relative;
}

.media-event-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	display: block;
	transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.media-event-card:hover {
	box-shadow: 0 8px 28px rgba(44, 53, 120, 0.18);
	transform: translateY(-4px);
}

.media-event-card__img-wrap {
	overflow: hidden;
	aspect-ratio: 16/9;
}

.media-event-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s ease;
}

.media-event-card:hover .media-event-card__img-wrap img {
	transform: scale(1.06);
}

.media-event-card__body {
	padding: 16px 18px 20px;
}

.media-event-card__name {
	font-size: 15px;
	font-weight: 600;
	color: #2c3578;
	margin-bottom: 6px;
	line-height: 1.4;
}

.media-event-card__count {
	font-size: 12px;
	color: #6b7280;
	font-weight: 500;
}

.media-event-card__count i {
	margin-right: 4px;
	color: #2c3578;
}

.media-highlights-carousel .owl-nav {
	position: absolute;
	top: 50%;
	right: -8px;
	transform: translateY(-50%);
	margin: 0;
}

.media-highlights-carousel .owl-nav button.owl-prev,
.media-highlights-carousel .owl-nav button.owl-next {
	width: 44px;
	height: 44px;
	border-radius: 50% !important;
	background: #2c3578 !important;
	color: #fff !important;
	font-size: 22px !important;
	line-height: 44px !important;
}

.media-highlights-carousel .owl-nav button.owl-prev {
	display: none !important;
}

@media (max-width: 900px) {
	.media-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 580px) {
	.media-details-hero {
		height: 280px;
	}

	.media-gallery-grid {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.media-lightbox__main-img {
		max-width: calc(100vw - 40px);
	}

	.media-lightbox__arrow {
		width: 40px;
		height: 40px;
	}
}