/* Gallery pages - system color aware */
.gallery-page{
	background:var(--tema-soft,#f5f7fb);
	color:var(--tema-ink,#10223f);
}

.gallery-page .container{
	max-width:1240px !important;
}

.gallery-hero{
	position:relative;
	padding:34px 0 30px;
	background:var(--tema-soft,#f5f7fb);
	overflow:hidden;
}

.gallery-hero:before{
	content:"";
	position:absolute;
	inset:0;
	background:
		linear-gradient(135deg,color-mix(in srgb,var(--ana-renk,#083b83) 17%,transparent),transparent 44%),
		linear-gradient(315deg,color-mix(in srgb,var(--ikincil-renk,#24b7ee) 18%,transparent),transparent 50%);
	pointer-events:none;
}

.gallery-hero-inner{
	position:relative;
	z-index:1;
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:24px;
}

.gallery-breadcrumb{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:8px;
	margin:0 0 14px;
	color:var(--tema-muted,#667085);
	font-size:13px;
}

.gallery-breadcrumb a{
	color:var(--ana-renk,#083b83);
	font-weight:650;
	text-decoration:none;
}

.gallery-breadcrumb a:hover{
	color:var(--ikincil-renk,#24b7ee);
}

.gallery-hero h1{
	margin:0;
	color:var(--tema-ink,#10223f);
	font-size:clamp(30px,3vw,44px);
	line-height:1.12;
	font-weight:650;
	letter-spacing:0;
}

.gallery-hero p{
	max-width:680px;
	margin:12px 0 0;
	color:var(--tema-muted,#667085);
	font-size:15px;
	line-height:1.58;
}

.gallery-hero-badge{
	min-width:170px;
	min-height:48px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:9px;
	padding:0 16px;
	border:1px solid var(--tema-border,#dbe4f0);
	border-radius:10px;
	background:#fff;
	color:var(--ana-renk,#083b83);
	font-size:14px;
	font-weight:700;
	box-shadow:0 10px 24px rgba(16,34,63,.07);
}

.gallery-content{
	padding:32px 0 64px;
}

.gallery-section-head{
	display:flex;
	align-items:end;
	justify-content:space-between;
	gap:20px;
	margin-bottom:20px;
}

.gallery-section-head span{
	display:block;
	margin-bottom:7px;
	color:var(--ikincil-renk,#24b7ee);
	font-size:12px;
	font-weight:750;
	text-transform:uppercase;
	letter-spacing:.08em;
}

.gallery-section-head h2{
	margin:0;
	color:var(--tema-ink,#10223f);
	font-size:26px;
	line-height:1.2;
	font-weight:650;
}

.gallery-section-head p{
	max-width:440px;
	margin:0;
	color:var(--tema-muted,#667085);
	font-size:14px;
	line-height:1.55;
	text-align:right;
}

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

.gallery-card{
	display:block;
	min-width:0;
	overflow:hidden;
	border:1px solid var(--tema-border,#dbe4f0);
	border-radius:10px;
	background:#fff;
	box-shadow:0 10px 24px rgba(16,34,63,.06);
	text-decoration:none;
	transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.gallery-card:hover{
	transform:translateY(-4px);
	border-color:color-mix(in srgb,var(--ana-renk,#083b83) 36%,var(--tema-border,#dbe4f0));
	box-shadow:0 16px 34px rgba(16,34,63,.10);
}

.gallery-card-media{
	position:relative;
	aspect-ratio:16 / 10.4;
	overflow:hidden;
	background:var(--tema-soft-strong,#eaf1f8);
}

.gallery-card-video .gallery-card-media{
	aspect-ratio:16 / 9;
}

.gallery-card-media img,
.gallery-photo-item img{
	width:100%;
	height:100%;
	display:block;
	object-fit:cover;
	transition:transform .35s ease;
}

.gallery-card:hover .gallery-card-media img,
.gallery-photo-item:hover img{
	transform:scale(1.045);
}

.gallery-card-media:after,
.gallery-photo-item:after{
	content:"";
	position:absolute;
	inset:0;
	background:linear-gradient(180deg,rgba(7,25,60,0) 42%,rgba(7,25,60,.70));
	pointer-events:none;
}

.gallery-card-action,
.gallery-play,
.gallery-photo-item span{
	position:absolute;
	z-index:1;
	right:16px;
	bottom:16px;
	width:46px;
	height:46px;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
	background:var(--ana-renk,#083b83);
	color:#fff;
	box-shadow:0 10px 24px rgba(7,27,77,.22);
}

.gallery-play{
	left:50%;
	top:50%;
	right:auto;
	bottom:auto;
	width:64px;
	height:64px;
	transform:translate(-50%,-50%);
	background:var(--ikincil-renk,#24b7ee);
}

.gallery-play i{
	margin-left:4px;
}

.gallery-card-body{
	padding:19px 20px 20px;
}

.gallery-card-body span{
	display:flex;
	align-items:center;
	gap:7px;
	margin-bottom:8px;
	color:var(--ana-renk,#083b83);
	font-size:12px;
	font-weight:750;
	text-transform:uppercase;
	letter-spacing:.06em;
}

.gallery-card-body h3{
	margin:0;
	color:var(--tema-ink,#10223f);
	font-size:18px;
	line-height:1.32;
	font-weight:650;
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.gallery-card:hover .gallery-card-body h3{
	color:var(--ana-renk,#083b83);
}

.gallery-detail-grid{
	grid-template-columns:repeat(4,minmax(0,1fr));
}

.gallery-photo-item{
	position:relative;
	display:block;
	aspect-ratio:1 / .78;
	overflow:hidden;
	border:1px solid var(--tema-border,#dbe4f0);
	border-radius:10px;
	background:#fff;
	box-shadow:0 10px 24px rgba(16,34,63,.06);
}

.gallery-empty{
	padding:72px 20px;
	border:1px dashed var(--tema-border,#dbe4f0);
	border-radius:12px;
	background:#fff;
	text-align:center;
	box-shadow:0 10px 24px rgba(16,34,63,.06);
}

.gallery-empty i{
	width:76px;
	height:76px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin-bottom:18px;
	border-radius:50%;
	background:color-mix(in srgb,var(--ana-renk,#083b83) 10%,#fff);
	color:var(--ana-renk,#083b83);
	font-size:34px;
}

.gallery-empty h2{
	margin:0 0 8px;
	color:var(--tema-ink,#10223f);
	font-size:26px;
	font-weight:650;
}

.gallery-empty p{
	margin:0;
	color:var(--tema-muted,#667085);
	font-size:15px;
}

@media (max-width:1199px){
	.gallery-detail-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
}

@media (max-width:991px){
	.gallery-hero-inner{
		display:block;
	}
	.gallery-hero-badge{
		margin-top:18px;
	}
	.gallery-grid,
	.gallery-detail-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
	.gallery-section-head{
		display:block;
	}
	.gallery-section-head p{
		margin-top:8px;
		text-align:left;
	}
}

@media (max-width:576px){
	.gallery-hero{
		padding:28px 0 22px;
	}
	.gallery-content{
		padding:24px 0 44px;
	}
	.gallery-grid,
	.gallery-detail-grid{
		grid-template-columns:1fr;
	}
}
