/** Full-bleed hero variants. Legacy split/overlay styles stay isolated. */
body:has(.qk-hv),
body:has(.qk-hv) .website-wrapper,
body:has(.qk-hv) .main-page-wrapper {
	overflow-x: clip;
}

.qk-hv {
	--qk-hero-interval: 6000ms;
	--qk-hv-orange: #ff6400;
	--qk-hv-ink: #1f2937;
	--qk-hv-inset: max(24px, calc((100vw - 1200px) / 2));
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	background: var(--qk-hv-ink);
	color: #fff;
	font-family: inherit;
}

.qk-hv *, .qk-hv *::before, .qk-hv *::after { box-sizing: border-box; }
.qk-hv .qk-hv-slides { display: grid; }
.qk-hv .qk-hv-slide {
	grid-area: 1 / 1;
	position: relative;
	display: grid;
	min-width: 0;
	min-height: clamp(480px, 72vh, 760px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .7s ease, visibility .7s;
}
.qk-hv .qk-hv-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.qk-hv .qk-hv-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: linear-gradient(125deg, #1f2937 15%, #263a26 65%, #693411);
}
.qk-hv .qk-hv-media img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.qk-hv .qk-hv-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(10 18 27 / 78%), rgb(10 18 27 / 12%)), linear-gradient(0deg, rgb(10 18 27 / 92%), transparent 90%);
}
.qk-hv .qk-hv-content {
	position: relative;
	align-self: end;
	width: 100%;
	min-width: 0;
	padding: 64px var(--qk-hv-inset) 112px;
	overflow-wrap: anywhere;
}
.qk-hv .qk-hv-badge {
	display: inline-block;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 8px 13px;
	border: 1px solid rgb(255 255 255 / 35%);
	border-radius: 100px;
	background: rgb(31 41 55 / 65%);
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 700;
	letter-spacing: .06em;
}
.qk-hv .qk-hv-title {
	max-width: 780px;
	margin: 0 0 20px;
	color: inherit;
	font-family: inherit;
	font-size: clamp(34px, 4.2vw, 64px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.035em;
	text-transform: none;
}
.qk-hv .qk-hv-desc {
	max-width: 650px;
	margin: 0 0 26px;
	color: inherit;
	font-size: clamp(15px, 1.15vw, 18px);
	line-height: 1.65;
}
.qk-hv .qk-hv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qk-hv a.qk-hv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	color: #fff !important;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s, border-color .2s;
}
/* Site geneliyle aynı marka turuncusu (header "Bağış Yap" butonu). */
.qk-hv a.qk-hv-btn--primary { background: var(--qk-hv-orange); border-color: var(--qk-hv-orange); }
.qk-hv a.qk-hv-btn--primary:hover { background: #e55a00; border-color: #e55a00; }
.qk-hv a.qk-hv-btn--secondary { background: rgb(15 23 32 / 30%); border-color: rgb(255 255 255 / 65%); }
.qk-hv a.qk-hv-btn--secondary:hover { background: rgb(15 23 32 / 70%); border-color: #fff; }
.qk-hv .qk-hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.qk-hv .qk-hv-chips li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: 6px;
	background: rgb(31 41 55 / 65%);
	color: inherit;
	font-size: 12px;
	line-height: 1.5;
}
.qk-hv .qk-hv-chips svg { flex: 0 0 16px; color: #b6d98b; }
.qk-hv .qk-hv-controls {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 80px;
	margin-top: -80px;
	padding: 0 var(--qk-hv-inset) 24px;
}
.qk-hv .qk-hv-arrows { display: flex; flex-shrink: 0; gap: 10px; }
.qk-hv button.qk-hv-arrow,
.qk-hv button.qk-hv-bar,
.qk-hv button.qk-hv-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: inherit;
	font: inherit;
	text-transform: none;
	cursor: pointer;
}
/* Static flex items ignore the legacy prev/next left/right !important offsets. */
.qk-hv button.qk-hv-arrow { position: static; width: 46px; height: 46px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; background: rgb(15 23 32 / 40%); }
.qk-hv button.qk-hv-arrow:hover { background: #c24c00; border-color: var(--qk-hv-orange); color: #fff; }
.qk-hv .qk-hv-arrow svg { display: block; flex-shrink: 0; }
.qk-hv :is(a, button):focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 6px #1f2937; }
.qk-hv .qk-hv-pagination { display: flex; flex: 1; min-width: 0; gap: 10px; flex-wrap: wrap; }
.qk-hv button.qk-hv-bar { flex: 1; max-width: 120px; }
.qk-hv .qk-hv-bar::before,
.qk-hv .qk-hv-bar-fill { position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; }
.qk-hv .qk-hv-bar::before { content: ''; background: rgb(255 255 255 / 40%); }
.qk-hv .qk-hv-bar-fill { background: var(--qk-hv-orange); transform: scaleX(0); transform-origin: left; }
.qk-hv .is-active > .qk-hv-bar-fill,
.qk-hv .is-done > .qk-hv-bar-fill { transform: scaleX(1); }
.qk-hv.is-playing .is-active > .qk-hv-bar-fill { animation: qk-hv-progress var(--qk-hero-interval) linear both; }
.qk-hv.is-paused .is-active > .qk-hv-bar-fill { animation-play-state: paused; }
.qk-hv.is-static .is-active > .qk-hv-bar-fill { animation: none; transform: scaleX(1); }
.qk-hv .qk-hv-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.qk-hv.qk-hv--cinema .is-active .qk-hv-media img { animation: qk-hv-ken-burns calc(var(--qk-hero-interval) + 2000ms) linear both; }
.qk-hv.qk-hv--cinema.is-paused .is-active .qk-hv-media img { animation-play-state: paused; }

.qk-hv.qk-hv--split-full { background: #fff4ec; color: var(--qk-hv-ink); }
.qk-hv.qk-hv--split-full .qk-hv-slide { grid-template-columns: 44% 56%; }
.qk-hv.qk-hv--split-full .qk-hv-media { left: 44%; }
.qk-hv.qk-hv--split-full .qk-hv-media::after { display: none; }
.qk-hv.qk-hv--split-full .qk-hv-content { grid-column: 1; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px 32px 112px var(--qk-hv-inset); border-top: 4px solid var(--qk-hv-orange); background: #fff4ec; }
.qk-hv.qk-hv--split-full .qk-hv-title { font-size: clamp(30px, 3.1vw, 48px); }
.qk-hv.qk-hv--split-full .qk-hv-badge { color: #963b00; background: #ffe3cf; border-color: #ffc99e; }
.qk-hv.qk-hv--split-full .qk-hv-chips li { background: #fff; border-color: #e4d9cd; }
.qk-hv.qk-hv--split-full .qk-hv-chips svg { color: #6FA121; }
.qk-hv.qk-hv--split-full a.qk-hv-btn--secondary { color: var(--qk-hv-ink) !important; background: transparent; border-color: #766b62; }
.qk-hv.qk-hv--split-full a.qk-hv-btn--secondary:hover { background: #ffe3cf; }
.qk-hv.qk-hv--split-full .qk-hv-controls { width: 44%; padding-right: 32px; }
.qk-hv.qk-hv--split-full .qk-hv-counter { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .12em; white-space: nowrap; }
.qk-hv.qk-hv--split-full button.qk-hv-arrow { background: transparent; border-color: #766b62; }
.qk-hv.qk-hv--split-full button.qk-hv-arrow:hover { background: #c24c00; }

.qk-hv.qk-hv--spotlight .qk-hv-media::after { background: linear-gradient(0deg, rgb(10 18 27 / 93%), rgb(10 18 27 / 72%) 55%, rgb(10 18 27 / 65%)); }
.qk-hv.qk-hv--spotlight .qk-hv-content { align-self: center; text-align: center; padding-bottom: 150px; }
.qk-hv.qk-hv--spotlight .qk-hv-title,
.qk-hv.qk-hv--spotlight .qk-hv-desc { margin-left: auto; margin-right: auto; }
.qk-hv.qk-hv--spotlight .qk-hv-actions,
.qk-hv.qk-hv--spotlight .qk-hv-chips { justify-content: center; }
.qk-hv.qk-hv--spotlight .qk-hv-controls { min-height: 110px; margin-top: -110px; }
.qk-hv.qk-hv--spotlight .qk-hv-pagination { flex-wrap: nowrap; gap: 24px; }
.qk-hv button.qk-hv-tab { flex: 1; align-self: stretch; padding: 14px 0; border-bottom: 3px solid rgb(255 255 255 / 35%); font-size: 13px; font-weight: 600; line-height: 1.5; text-align: left; }
.qk-hv .qk-hv-tab-label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.qk-hv .qk-hv-tab .qk-hv-bar-fill { top: auto; bottom: -3px; }

@keyframes qk-hv-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes qk-hv-ken-burns { from { transform: scale(1); } to { transform: scale(1.08); } }

@media (max-width: 767px) {
	.qk-hv { --qk-hv-inset: 16px; }
	.qk-hv .qk-hv-slide { min-height: 560px; }
	.qk-hv .qk-hv-content { padding-top: 40px; padding-bottom: 104px; }
	.qk-hv .qk-hv-title { font-size: clamp(30px, 7.8vw, 44px); margin-bottom: 16px; }
	.qk-hv .qk-hv-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
	.qk-hv .qk-hv-badge { font-size: 10px; margin-bottom: 14px; }
	.qk-hv a.qk-hv-btn { padding: 12px 16px; font-size: 14px; }
	.qk-hv .qk-hv-chips { gap: 6px; margin-top: 18px; }
	.qk-hv .qk-hv-chips li { font-size: 11px; padding: 5px 7px; }
	.qk-hv .qk-hv-controls { gap: 16px; }
	.qk-hv .qk-hv-arrows { gap: 6px; }
	.qk-hv .qk-hv-pagination { gap: 4px; }
	.qk-hv.qk-hv--split-full .qk-hv-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; }
	.qk-hv.qk-hv--split-full .qk-hv-media { position: relative; inset: auto; grid-area: 1 / 1; aspect-ratio: 16 / 11; }
	.qk-hv.qk-hv--split-full .qk-hv-media img { position: absolute; inset: 0; }
	.qk-hv.qk-hv--split-full .qk-hv-content { grid-area: 2 / 1; padding: 28px 16px 104px; }
	.qk-hv.qk-hv--split-full .qk-hv-controls { width: 100%; padding-right: 16px; }
	.qk-hv.qk-hv--spotlight .qk-hv-slide { min-height: 520px; }
	.qk-hv.qk-hv--spotlight .qk-hv-content { padding-top: 32px; padding-bottom: 104px; }
	.qk-hv.qk-hv--spotlight .qk-hv-controls { min-height: 80px; margin-top: -80px; }
	.qk-hv.qk-hv--spotlight .qk-hv-pagination { flex-wrap: wrap; justify-content: center; gap: 4px; }
	.qk-hv button.qk-hv-tab { flex: 0 0 44px; padding: 0; border: 0; }
	.qk-hv .qk-hv-tab-label { display: none; }
	.qk-hv .qk-hv-tab::before { content: ''; position: absolute; top: 50%; left: 8px; right: 8px; height: 4px; background: rgb(255 255 255 / 40%); border-radius: 4px; }
	.qk-hv .qk-hv-tab .qk-hv-bar-fill { top: 50%; bottom: auto; left: 8px; right: 8px; height: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.qk-hv .qk-hv-slide, .qk-hv a.qk-hv-btn { transition: none; }
	.qk-hv.qk-hv--cinema .is-active .qk-hv-media img { animation: none; transform: none; }
	.qk-hv.is-playing .is-active > .qk-hv-bar-fill { animation: none; transform: scaleX(1); }
}

/* Designed images: dimensions and controls are isolated from the text variants. */
.qk-hv.qk-hv--image .qk-hv-slide {
	display: block;
	width: 100%;
	min-height: 0;
	aspect-ratio: var(--qk-img-ar-d, 1920 / 700);
}
.qk-hv.qk-hv--image .qk-img-link,
.qk-hv.qk-hv--image .qk-img-picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.qk-hv.qk-hv--image .qk-img-picture img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}
.qk-hv.qk-hv--image a.qk-img-btn {
	position: absolute;
	bottom: 8%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	max-width: 90%;
	padding: 0 28px;
	border: 0;
	border-radius: 10px;
	background: #ff6400;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
.qk-hv.qk-hv--image .qk-img-btn--bottom-center { left: 50%; transform: translateX(-50%); }
.qk-hv.qk-hv--image .qk-img-btn--bottom-left { left: 5%; }
.qk-hv.qk-hv--image .qk-img-btn--bottom-right { right: 5%; }
.qk-hv.qk-hv--image button.qk-hv-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	transform: translateY(-50%);
	border: 0;
	background: rgba(0, 0, 0, .45);
	color: #fff;
}
.qk-hv.qk-hv--image .qurbanuk-slider-prev { left: 20px !important; }
.qk-hv.qk-hv--image .qurbanuk-slider-next { right: 20px !important; }
.qk-hv.qk-hv--image .qk-img-dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	z-index: 4;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}
.qk-hv.qk-hv--image button.qk-img-dot {
	position: relative;
	display: block;
	width: 10px;
	min-width: 10px;
	height: 10px;
	min-height: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	box-shadow: none;
	cursor: pointer;
}
.qk-hv.qk-hv--image .qk-img-dot::before {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #fff;
}
.qk-hv.qk-hv--image .qk-img-dot.is-active::before { inset: 1px; }
@media (max-width: 767px) {
	.qk-hv.qk-hv--image .qk-hv-slide { aspect-ratio: var(--qk-img-ar-m, 1080 / 1620); }
	.qk-hv.qk-hv--image button.qk-hv-arrow { width: 32px; min-width: 32px; height: 32px; min-height: 32px; }
	.qk-hv.qk-hv--image .qk-hv-arrow svg { width: 18px; height: 18px; }
	.qk-hv.qk-hv--image .qurbanuk-slider-prev { left: 10px !important; }
	.qk-hv.qk-hv--image .qurbanuk-slider-next { right: 10px !important; }
}

/* Görsel slider sayfanın ilk bloğuysa en tepeden başlar; uçan header onun
   üstünde durur (eski sitedeki gibi). Slider boyutu değişmez. */
.wd-page-wrapper:has(.wd-content-layout > .wd-content-area > .entry-content > .qk-hv--image:first-child) .whb-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 400;
}
.wd-content-layout:has(> .wd-content-area > .entry-content > .qk-hv--image:first-child) {
	padding-top: 0 !important;
}

/* Mobil: slider tam ekran (alt menüye kadar) (görsel ortalanarak kırpılır); buton
   görselin üstüne binmez, hemen altında durur. */
@media (max-width: 767px) {
	.qk-hv.qk-hv--image { background: #fff; }
	.qk-hv.qk-hv--image .qk-hv-slide {
		display: flex;
		flex-direction: column;
		aspect-ratio: auto;
	}
	.qk-hv.qk-hv--image .qk-img-link,
	.qk-hv.qk-hv--image .qk-img-picture {
		position: relative;
		inset: auto;
		height: 100svh;
	}
	.qk-hv.qk-hv--image .qk-img-picture img { object-position: center 45%; }
	/* Alt menü varsa slider tam ona kadar iner. */
	body:has(.qurbanuk-mobile-toolbar) .qk-hv.qk-hv--image .qk-img-link,
	body:has(.qurbanuk-mobile-toolbar) .qk-hv.qk-hv--image .qk-img-picture { height: calc(100svh - 58px); }
	.qk-hv.qk-hv--image a.qk-img-btn {
		position: static;
		transform: none;
		align-self: center;
		margin: 10px auto 26px;
		min-height: 44px;
		font-size: 15px;
	}
	.qk-hv.qk-hv--image .qk-img-dots { bottom: 10px; }
}
