/* NSV 3.1.8 - Media center horizontal tabs */
.nsv-home-media-tabs-section{
	--nsv-tabs-accent:var(--nsv-home-custom-accent,var(--nsv-primary,#0f766e));
}
.nsv-media-tabs{
	margin-top:clamp(18px,3vw,32px);
}
.nsv-media-tabs-nav{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:12px;
	flex-wrap:wrap;
	margin:0 auto clamp(18px,3vw,28px);
}
.nsv-media-tab-button{
	border:1px solid rgba(15,118,110,.10);
	background:rgba(255,255,255,.82);
	color:var(--nsv-text,#1f2937);
	border-radius:999px;
	min-height:46px;
	padding:10px 18px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	font-weight:800;
	cursor:pointer;
	box-shadow:0 12px 32px rgba(15,23,42,.07);
	transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
}
.nsv-media-tab-button:hover,
.nsv-media-tab-button.is-active{
	background:var(--nsv-tabs-accent);
	color:#fff;
	transform:translateY(-2px);
	box-shadow:0 18px 38px rgba(15,118,110,.22);
}
.nsv-media-tab-icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:24px;
	height:24px;
}
.nsv-media-tabs-panels{
	position:relative;
}
.nsv-media-tab-panel{
	animation:nsvMediaPanelFade .25s ease both;
}
.nsv-media-tab-panel[hidden]{
	display:none !important;
}
@keyframes nsvMediaPanelFade{
	from{opacity:0;transform:translateY(8px)}
	to{opacity:1;transform:translateY(0)}
}
.nsv-media-panel-card{
	position:relative;
	display:grid;
	grid-template-columns:auto minmax(0,1fr) auto;
	align-items:center;
	gap:18px;
	padding:clamp(18px,3vw,28px);
	border-radius:28px;
	background:rgba(255,255,255,.88);
	box-shadow:0 20px 60px rgba(15,23,42,.08);
	border:1px solid rgba(15,118,110,.08);
	overflow:hidden;
}
.nsv-media-panel-card::before{
	content:"";
	position:absolute;
	inset-inline-start:0;
	top:0;
	bottom:0;
	width:5px;
	background:var(--nsv-media-card-color,var(--nsv-tabs-accent));
	opacity:.9;
}
.nsv-media-panel-icon{
	width:62px;
	height:62px;
	border-radius:22px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:28px;
	background:linear-gradient(135deg,rgba(15,118,110,.12),rgba(245,158,11,.12));
}
.nsv-media-panel-content h3,
.nsv-media-mini-card h3{
	margin:0 0 8px;
	color:var(--nsv-primary,#0f766e);
	font-size:clamp(20px,2vw,26px);
}
.nsv-media-panel-content p,
.nsv-media-mini-card p{
	margin:0;
	color:var(--nsv-muted,#667085);
	line-height:1.9;
}
.nsv-media-panel-link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	padding:12px 18px;
	border-radius:999px;
	background:var(--nsv-media-card-color,var(--nsv-tabs-accent));
	color:#fff;
	font-weight:800;
	text-decoration:none;
	white-space:nowrap;
}
.nsv-media-mini-grid,
.nsv-media-stats-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:16px;
}
.nsv-media-mini-card,
.nsv-media-stat-card{
	border-radius:26px;
	background:rgba(255,255,255,.88);
	box-shadow:0 18px 46px rgba(15,23,42,.07);
	border:1px solid rgba(15,118,110,.08);
	padding:24px;
	text-align:center;
}
.nsv-media-mini-card > span{
	width:46px;
	height:46px;
	border-radius:18px;
	display:flex;
	align-items:center;
	justify-content:center;
	margin:0 auto 14px;
	background:linear-gradient(135deg,rgba(15,118,110,.12),rgba(245,158,11,.12));
	color:var(--nsv-primary,#0f766e);
	font-weight:900;
}
.nsv-media-stats-grid{
	grid-template-columns:repeat(4,minmax(0,1fr));
}
.nsv-media-stat-card strong{
	display:block;
	font-size:clamp(28px,4vw,44px);
	color:var(--nsv-primary,#0f766e);
	line-height:1;
	margin-bottom:10px;
}
.nsv-media-stat-card span{
	color:var(--nsv-muted,#667085);
	font-weight:800;
}
@media(max-width:768px){
	.nsv-media-tabs-nav{
		justify-content:flex-start;
		flex-wrap:nowrap;
		overflow-x:auto;
		padding:4px 4px 12px;
		scroll-snap-type:x mandatory;
		-webkit-overflow-scrolling:touch;
	}
	.nsv-media-tabs-nav::-webkit-scrollbar{display:none}
	.nsv-media-tab-button{
		flex:0 0 auto;
		scroll-snap-align:center;
		min-height:44px;
		padding:9px 15px;
		font-size:14px;
	}
	.nsv-media-panel-card{
		grid-template-columns:1fr;
		text-align:center;
		justify-items:center;
	}
	.nsv-media-panel-card::before{
		width:auto;
		height:5px;
		inset-inline:22px;
		bottom:auto;
		border-radius:999px;
	}
	.nsv-media-panel-link{
		width:100%;
	}
	.nsv-media-mini-grid,
	.nsv-media-stats-grid{
		grid-template-columns:1fr;
	}
}
@media(min-width:769px) and (max-width:1024px){
	.nsv-media-mini-grid,
	.nsv-media-stats-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}


/* NSV 3.5.7 - Latest events preview inside homepage events tab */
.nsv-home-events-preview{
	margin-top:18px;
}
.nsv-home-events-preview-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:12px;
	margin:0 0 14px;
}
.nsv-home-events-preview-head h4{
	margin:0;
	font-size:clamp(18px,2vw,22px);
	color:var(--nsv-primary,#0f766e);
	font-weight:900;
}
.nsv-home-events-preview-head span{
	color:var(--nsv-muted,#667085);
	font-size:14px;
	line-height:1.7;
}
.nsv-home-events-preview-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:14px;
}
.nsv-home-event-preview-card{
	border-radius:24px;
	background:rgba(255,255,255,.92);
	border:1px solid rgba(15,118,110,.09);
	box-shadow:0 18px 46px rgba(15,23,42,.07);
	overflow:hidden;
	transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nsv-home-event-preview-card:hover{
	transform:translateY(-3px);
	box-shadow:0 24px 56px rgba(15,23,42,.10);
	border-color:rgba(15,118,110,.18);
}
.nsv-home-event-preview-card a{
	display:block;
	color:inherit;
	text-decoration:none;
	height:100%;
}
.nsv-home-event-preview-media{
	min-height:132px;
	background:linear-gradient(135deg,rgba(15,118,110,.12),rgba(245,158,11,.11));
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
}
.nsv-home-event-preview-media img{
	width:100%;
	height:150px;
	object-fit:cover;
	display:block;
}
.nsv-home-event-preview-media span{
	width:58px;
	height:58px;
	border-radius:20px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:28px;
	background:rgba(255,255,255,.70);
	box-shadow:0 10px 25px rgba(15,23,42,.08);
}
.nsv-home-event-preview-body{
	padding:16px;
}
.nsv-home-event-preview-badge{
	display:inline-flex;
	align-items:center;
	min-height:24px;
	padding:4px 10px;
	border-radius:999px;
	background:rgba(15,118,110,.09);
	color:var(--nsv-primary,#0f766e);
	font-size:12px;
	font-weight:900;
	margin-bottom:9px;
}
.nsv-home-event-preview-body h5{
	margin:0 0 8px;
	font-size:17px;
	line-height:1.55;
	font-weight:900;
	color:var(--nsv-text,#1f2937);
}
.nsv-home-event-preview-body p{
	margin:0 0 12px;
	color:var(--nsv-muted,#667085);
	font-size:14px;
	line-height:1.8;
}
.nsv-home-event-preview-meta{
	display:flex;
	flex-wrap:wrap;
	gap:7px;
	color:var(--nsv-muted,#667085);
	font-size:12px;
	line-height:1.7;
}
.nsv-home-event-preview-meta span{
	display:inline-flex;
	align-items:center;
	gap:4px;
	padding:4px 8px;
	border-radius:999px;
	background:rgba(15,23,42,.04);
}
.nsv-home-events-empty{
	border:1px dashed rgba(15,118,110,.28);
	border-radius:22px;
	background:rgba(255,255,255,.70);
	padding:18px;
	color:var(--nsv-muted,#667085);
	text-align:center;
	font-weight:800;
}
@media(max-width:768px){
	.nsv-home-events-preview-head{
		align-items:flex-start;
		flex-direction:column;
	}
	.nsv-home-events-preview-grid{
		grid-template-columns:1fr;
	}
	.nsv-home-event-preview-media,
	.nsv-home-event-preview-media img{
		height:148px;
	}
}
@media(min-width:769px) and (max-width:1024px){
	.nsv-home-events-preview-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

/* NSV 3.5.8 - Latest photos and videos sliders inside homepage gallery tab */
.nsv-home-media-latest{
	margin-top:18px;
	display:grid;
	grid-template-columns:1fr;
	gap:18px;
}
.nsv-home-media-slider{
	position:relative;
	border-radius:26px;
	background:rgba(255,255,255,.80);
	border:1px solid rgba(15,118,110,.08);
	box-shadow:0 18px 46px rgba(15,23,42,.06);
	padding:18px;
	overflow:hidden;
}
.nsv-home-media-slider::before{
	content:"";
	position:absolute;
	inset-block:18px;
	inset-inline-start:0;
	width:4px;
	border-radius:999px;
	background:var(--nsv-tabs-accent,#0f766e);
	opacity:.88;
}
.nsv-home-media-slider-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:12px;
	margin:0 0 14px;
}
.nsv-home-media-slider-head h4{
	margin:0;
	font-size:clamp(18px,2vw,22px);
	color:var(--nsv-primary,#0f766e);
	font-weight:900;
}
.nsv-home-media-slider-head span{
	display:block;
	margin-top:4px;
	color:var(--nsv-muted,#667085);
	font-size:14px;
	line-height:1.7;
}
.nsv-home-media-slider-controls{
	display:inline-flex;
	align-items:center;
	gap:8px;
}
.nsv-home-media-slider-controls button{
	width:38px;
	height:38px;
	border:0;
	border-radius:999px;
	background:var(--nsv-tabs-accent,#0f766e);
	color:#fff;
	font-size:24px;
	font-weight:900;
	line-height:1;
	cursor:pointer;
	box-shadow:0 12px 26px rgba(15,118,110,.22);
	transition:transform .2s ease,box-shadow .2s ease;
}
.nsv-home-media-slider-controls button:hover{
	transform:translateY(-2px);
	box-shadow:0 16px 34px rgba(15,118,110,.28);
}
.nsv-home-media-slider-track{
	display:flex;
	gap:14px;
	overflow-x:auto;
	scroll-snap-type:x mandatory;
	scroll-behavior:smooth;
	-webkit-overflow-scrolling:touch;
	padding:2px 2px 12px;
	scrollbar-width:none;
}
.nsv-home-media-slider-track::-webkit-scrollbar{
	display:none;
}
.nsv-home-media-item{
	flex:0 0 min(320px,82vw);
	scroll-snap-align:start;
	border-radius:22px;
	background:#fff;
	border:1px solid rgba(15,118,110,.08);
	overflow:hidden;
	box-shadow:0 12px 30px rgba(15,23,42,.06);
	transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.nsv-home-media-item:hover{
	transform:translateY(-3px);
	box-shadow:0 18px 44px rgba(15,23,42,.10);
	border-color:rgba(15,118,110,.16);
}
.nsv-home-media-item a{
	display:block;
	height:100%;
	color:inherit;
	text-decoration:none;
}
.nsv-home-media-item-thumb{
	position:relative;
	height:178px;
	background:linear-gradient(135deg,rgba(15,118,110,.12),rgba(245,158,11,.11));
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
}
.nsv-home-media-item-thumb img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
	transition:transform .25s ease;
}
.nsv-home-media-item:hover .nsv-home-media-item-thumb img{
	transform:scale(1.04);
}
.nsv-home-media-placeholder{
	width:58px;
	height:58px;
	border-radius:20px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:28px;
	background:rgba(255,255,255,.76);
	box-shadow:0 10px 25px rgba(15,23,42,.08);
}
.nsv-home-media-play{
	position:absolute;
	inset-inline-start:50%;
	top:50%;
	transform:translate(-50%,-50%);
	width:56px;
	height:56px;
	border-radius:999px;
	background:rgba(15,118,110,.92);
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:21px;
	box-shadow:0 14px 32px rgba(15,118,110,.28);
}
[dir="rtl"] .nsv-home-media-play{
	transform:translate(50%,-50%);
}
.nsv-home-media-type-badge{
	position:absolute;
	inset-block-start:12px;
	inset-inline-start:12px;
	display:inline-flex;
	align-items:center;
	min-height:26px;
	padding:4px 10px;
	border-radius:999px;
	background:rgba(255,255,255,.88);
	color:var(--nsv-primary,#0f766e);
	font-size:12px;
	font-weight:900;
	box-shadow:0 8px 20px rgba(15,23,42,.08);
}
.nsv-home-media-item-body{
	padding:16px;
}
.nsv-home-media-item-body h5{
	margin:0 0 8px;
	font-size:17px;
	line-height:1.55;
	font-weight:900;
	color:var(--nsv-text,#1f2937);
}
.nsv-home-media-item-body p{
	margin:0 0 12px;
	color:var(--nsv-muted,#667085);
	font-size:14px;
	line-height:1.8;
}
.nsv-home-media-item-action{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:32px;
	padding:6px 12px;
	border-radius:999px;
	background:rgba(15,118,110,.09);
	color:var(--nsv-primary,#0f766e);
	font-size:13px;
	font-weight:900;
}
.nsv-home-media-empty{
	border:1px dashed rgba(15,118,110,.28);
	border-radius:20px;
	background:rgba(255,255,255,.74);
	padding:18px;
	color:var(--nsv-muted,#667085);
	text-align:center;
	font-weight:800;
	line-height:1.8;
}
@media(min-width:1025px){
	.nsv-home-media-item{
		flex-basis:calc((100% - 28px) / 3);
	}
}
@media(min-width:769px) and (max-width:1024px){
	.nsv-home-media-item{
		flex-basis:calc((100% - 14px) / 2);
	}
}
@media(max-width:768px){
	.nsv-home-media-slider{
		padding:16px;
		border-radius:22px;
	}
	.nsv-home-media-slider-head{
		align-items:flex-start;
		flex-direction:column;
	}
	.nsv-home-media-slider-controls{
		align-self:stretch;
		justify-content:flex-end;
	}
	.nsv-home-media-item{
		flex-basis:88%;
	}
	.nsv-home-media-item-thumb{
		height:160px;
	}
}


/* NSV 3.5.9 - Partners and sponsors slider inside homepage partners tab */
.nsv-home-partners-slider{
	margin-top:18px;
}
.nsv-home-partner-item{
	text-align:center;
}
.nsv-home-partner-logo-wrap{
	position:relative;
	height:178px;
	background:linear-gradient(135deg,rgba(15,118,110,.10),rgba(245,158,11,.10));
	display:flex;
	align-items:center;
	justify-content:center;
	padding:22px;
	overflow:hidden;
}
.nsv-home-partner-logo-wrap img{
	display:block;
	max-width:82%;
	max-height:105px;
	width:auto;
	height:auto;
	object-fit:contain;
	filter:drop-shadow(0 10px 18px rgba(15,23,42,.08));
	transition:transform .25s ease;
}
.nsv-home-partner-item:hover .nsv-home-partner-logo-wrap img{
	transform:scale(1.045);
}
.nsv-home-partner-placeholder{
	width:74px;
	height:74px;
	border-radius:26px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:rgba(255,255,255,.84);
	color:var(--nsv-primary,#0f766e);
	font-size:32px;
	font-weight:900;
	box-shadow:0 14px 30px rgba(15,23,42,.08);
}
.nsv-home-partner-body h5{
	font-size:18px;
	color:var(--nsv-primary,#0f766e);
}
.nsv-home-partner-body p{
	min-height:48px;
}
.nsv-home-partner-type-sponsor .nsv-home-media-type-badge,
.nsv-home-partner-type-strategic .nsv-home-media-type-badge{
	background:rgba(245,158,11,.14);
	color:#92400e;
}
@media(max-width:768px){
	.nsv-home-partner-logo-wrap{
		height:152px;
	}
	.nsv-home-partner-body p{
		min-height:0;
	}
}

/* الصور المضافة بلا عنوان أو وصف تظهر بصريًا فقط داخل سلايدر أحدث الصور. */
.nsv-home-media-item.is-visual-only .nsv-home-media-item-thumb{
	height:178px;
}
