/* Poyraz bileşenleri: ana sayfa manşeti, izin türleri, nedenler/rehber, sayfa yan kutuları.
 * Kod: wp-content/novamira-sandbox/poyraz-bilesenler.php. Renkler Ek CSS'teki --pz-* değişkenlerinden gelir.
 * Seçiciler en az iki sınıf: Elementor kit'inin .elementor-kit-N h1/a/button kurallarını geçmek için. */

.pz-manset svg,
.pz-turler svg,
.pz-ikili svg,
.pz-yan svg {
	flex: none;
}

/* Manşet */
.pz-manset {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--pz-deep);
	color: #fff;
}

.pz-manset__slaytlar {
	display: grid;
}

.pz-manset__slayt {
	grid-area: 1 / 1;
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	min-height: 660px;
	padding: 80px 24px 290px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility .6s;
}

.pz-manset__slayt.is-aktif {
	opacity: 1;
	visibility: visible;
}

.pz-manset .pz-manset__gorsel {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.pz-manset__slayt::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, rgba(11, 24, 36, .9) 0%, rgba(11, 24, 36, 0) 50%),
		linear-gradient(90deg, rgba(11, 24, 36, .88) 0%, rgba(11, 24, 36, .62) 55%, rgba(11, 24, 36, .3) 100%);
}

.pz-manset__ic {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.pz-manset__ic > * {
	max-width: 760px;
}

.pz-manset .pz-manset__etiket {
	margin: 0 0 14px;
	color: #8fd3df;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.pz-manset .pz-manset__baslik {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(34px, 4.6vw, 56px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
}

.pz-manset .pz-manset__metin {
	margin: 0 0 30px;
	color: rgba(255, 255, 255, .86);
	font-size: 17px;
	line-height: 1.65;
	max-width: 640px;
}

.pz-manset .pz-manset__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: var(--pz-r-sm);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.pz-manset .pz-manset__btn svg {
	width: 18px;
	height: 18px;
}

.pz-manset .pz-manset__btn:hover,
.pz-manset .pz-manset__btn:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--pz-ink);
}

.pz-manset__alt {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 112px;
	z-index: 2;
	padding: 0 24px;
}

.pz-manset__alt-ic {
	max-width: 1200px;
	margin: 0 auto;
}

.pz-manset__sekmeler {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.pz-manset .pz-manset__alt .pz-manset__sekme,
.pz-manset .pz-manset__alt .pz-manset__sekme:hover,
.pz-manset .pz-manset__alt .pz-manset__sekme:focus {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: rgba(255, 255, 255, .7);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}

.pz-manset .pz-manset__alt .pz-manset__sekme.is-aktif,
.pz-manset .pz-manset__alt .pz-manset__sekme:hover {
	color: #fff;
}

.pz-manset .pz-manset__alt .pz-manset__sekme:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.pz-manset__sekme-ad {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pz-manset__cubuk {
	display: block;
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .25);
	overflow: hidden;
}

.pz-manset__cubuk i {
	display: block;
	width: 0;
	height: 100%;
	background: #fff;
}

.pz-manset__sekme.is-aktif .pz-manset__cubuk i {
	animation: pz-dolum 7s linear forwards;
}

.pz-manset.is-durdu .pz-manset__cubuk i {
	animation-play-state: paused;
}

@keyframes pz-dolum {
	from { width: 0; }
	to { width: 100%; }
}

.pz-manset__kontrol {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
}

.pz-manset .pz-manset__kontrol .pz-manset__ok,
.pz-manset .pz-manset__kontrol .pz-manset__ok:focus {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: var(--pz-r-sm);
	background: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
}

.pz-manset .pz-manset__kontrol .pz-manset__ok:hover {
	background: #fff;
	border-color: #fff;
	color: var(--pz-ink);
}

.pz-manset .pz-manset__kontrol .pz-manset__ok:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.pz-manset__ok svg {
	width: 20px;
	height: 20px;
}

.pz-manset__sayac {
	min-width: 56px;
	text-align: center;
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Çalışma izni türleri (manşetin üstüne biner) */
.pz-turler {
	position: relative;
	z-index: 3;
	margin-top: -80px;
	padding: 0 24px;
}

.pz-turler__kart {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 3fr;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-r-md);
	box-shadow: 0 18px 48px rgba(11, 24, 36, .08);
}

.pz-turler__giris {
	padding: 36px 32px;
	border-right: 1px solid var(--pz-line);
}

.pz-turler .pz-turler__baslik {
	margin: 0 0 14px;
	color: var(--pz-ink);
	font-size: clamp(26px, 2.6vw, 32px);
	line-height: 1.15;
}

.pz-turler .pz-turler__giris p {
	margin: 0 0 24px;
	color: var(--pz-muted);
	font-size: 16px;
	line-height: 1.6;
}

.pz-turler .pz-btn,
.pz-yan .pz-yan__btn {
	text-decoration: none;
}

.pz-turler .pz-btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: var(--pz-r-sm);
	background: var(--pz-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	transition: background .15s ease;
}

.pz-turler .pz-btn:hover,
.pz-turler .pz-btn:focus-visible {
	background: var(--pz-accent-strong);
	color: #fff;
}

.pz-turler .pz-turler__izgara {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.pz-turler__izgara li {
	margin: 0;
	border-right: 1px solid var(--pz-line);
	border-bottom: 1px solid var(--pz-line);
}

.pz-turler__izgara li:nth-child(5n) {
	border-right: 0;
}

.pz-turler__izgara li:nth-last-child(-n + 5) {
	border-bottom: 0;
}

.pz-turler .pz-turler__oge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	min-height: 168px;
	padding: 24px 14px;
	color: var(--pz-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.pz-turler .pz-turler__oge:hover,
.pz-turler .pz-turler__oge:focus-visible {
	background: var(--pz-surface);
	color: var(--pz-accent-strong);
}

.pz-turler__oge svg {
	width: 40px;
	height: 40px;
	color: var(--pz-accent);
	transition: transform .2s ease;
}

.pz-turler__oge:hover svg {
	transform: translateY(-3px);
}

/* Neden Poyraz + Başvuru Rehberi */
.pz-ikili {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1248px;
	margin: 0 auto;
	padding: 0 24px;
}

.pz-ikili__panel {
	padding: 32px;
	background: #fff;
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-r-md);
}

.pz-ikili__ust {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.pz-ikili .pz-ikili__baslik {
	margin: 0;
	color: var(--pz-ink);
	font-size: clamp(24px, 2.4vw, 30px);
	line-height: 1.15;
}

.pz-ikili .pz-ok-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--pz-ink);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

.pz-ikili .pz-ok-link:hover,
.pz-ikili .pz-ok-link:focus-visible {
	color: var(--pz-accent);
}

.pz-ok-link svg {
	width: 18px;
	height: 18px;
}

.pz-ikili .pz-nedenler,
.pz-ikili .pz-rehber {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pz-nedenler li {
	margin: 0;
	padding: 24px 20px;
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-r-md);
}

.pz-nedenler svg {
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 24px;
	color: var(--pz-accent);
}

.pz-ikili .pz-nedenler h3 {
	margin: 0 0 8px;
	color: var(--pz-ink);
	font-size: 17px;
	line-height: 1.3;
}

.pz-ikili .pz-nedenler p {
	margin: 0;
	color: var(--pz-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

.pz-rehber li {
	margin: 0;
}

.pz-ikili .pz-rehber__kart {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100%;
	min-height: 228px;
	overflow: hidden;
	border-radius: var(--pz-r-md);
	background: var(--pz-deep);
	color: #fff;
	text-decoration: none;
}

.pz-ikili .pz-rehber__kart img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .4s ease;
}

.pz-rehber__kart::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11, 24, 36, .94) 0%, rgba(11, 24, 36, .6) 55%, rgba(11, 24, 36, .25) 100%);
}

.pz-rehber__kart:hover img {
	transform: scale(1.04);
}

.pz-ikili .pz-rehber__kart:focus-visible {
	outline: 2px solid var(--pz-accent);
	outline-offset: 2px;
}

.pz-rehber__metin {
	position: relative;
	z-index: 1;
	padding: 18px;
}

.pz-ikili .pz-rehber h3 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 16px;
	line-height: 1.3;
}

.pz-ikili .pz-rehber__ozet {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 13.5px;
	line-height: 1.5;
}

/* Sayfa yan kutuları */
.elementor .e-con.pz-sayfa-ana {
	--width: auto;
	flex: 1 1 0;
	min-width: 0;
}

.elementor .e-con > .elementor-widget.pz-yan-sutun {
	flex: 0 0 340px;
	width: 340px;
	max-width: 340px;
	position: sticky;
	top: 24px;
	align-self: flex-start;
}

.single-post .sidebar-main {
	position: sticky;
	top: 32px;
}

.single-post #secondary {
	border: 0;
}

@media (min-width: 922px) {
	.single-post.ast-right-sidebar #primary {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		padding-right: 48px;
		border-right: 0;
	}

	.single-post.ast-right-sidebar #secondary {
		flex: 0 0 340px;
		width: 340px;
		padding-left: 0;
	}
}

@media (max-width: 921px) {
	.single-post #secondary {
		margin-top: 8px;
		padding-bottom: 48px;
	}

	.single-post .sidebar-main {
		position: static;
	}
}

.pz-yan {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pz-yan__kutu {
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-r-md);
}

.pz-yan__kutu--iletisim {
	background: var(--pz-deep);
	border-color: var(--pz-deep);
	color: #c9d5db;
}

.pz-yan .pz-yan__baslik {
	margin: 0 0 8px;
	color: var(--pz-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.pz-yan .pz-yan__kutu--iletisim .pz-yan__baslik {
	color: #fff;
}

.pz-yan .pz-yan__metin {
	margin: 0 0 18px;
	color: #c9d5db;
	font-size: 15px;
	line-height: 1.6;
}

.pz-yan .pz-yan__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 10px;
	padding: 13px 18px;
	border: 1px solid transparent;
	border-radius: var(--pz-r-sm);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.pz-yan__btn svg {
	width: 18px;
	height: 18px;
}

.pz-yan .pz-yan__btn--ana {
	background: var(--pz-accent);
	color: #fff;
	font-size: 17px;
}

.pz-yan .pz-yan__btn--ana:hover,
.pz-yan .pz-yan__btn--ana:focus-visible {
	background: var(--pz-accent-strong);
	color: #fff;
}

.pz-yan .pz-yan__btn--wa {
	background: #1fa855;
	color: #fff;
}

.pz-yan .pz-yan__btn--wa:hover,
.pz-yan .pz-yan__btn--wa:focus-visible {
	background: #188a45;
	color: #fff;
}

.pz-yan .pz-yan__btn--cizgi {
	border-color: rgba(255, 255, 255, .35);
	color: #fff;
}

.pz-yan .pz-yan__btn--cizgi:hover,
.pz-yan .pz-yan__btn--cizgi:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--pz-ink);
}

.pz-yan .pz-yan__adres {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: #c9d5db;
	font-size: 14px;
	line-height: 1.5;
}

.pz-yan__adres svg {
	width: 18px;
	height: 18px;
	color: #8fd3df;
}

.pz-yan .pz-yan__liste {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.pz-yan__liste li {
	margin: 0;
	border-top: 1px solid var(--pz-line);
}

.pz-yan__liste li:first-child {
	border-top: 0;
}

.pz-yan .pz-yan__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	color: var(--pz-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.pz-yan .pz-yan__link:hover,
.pz-yan .pz-yan__link:focus-visible,
.pz-yan .pz-yan__link[aria-current] {
	color: var(--pz-accent);
}

.pz-yan__link svg {
	width: 18px;
	height: 18px;
	color: var(--pz-accent);
}

/* Tablet */
@media (max-width: 1024px) {
	.pz-manset__slayt {
		min-height: 580px;
		padding-bottom: 230px;
	}

	.pz-turler__kart {
		grid-template-columns: 1fr;
	}

	.pz-turler__giris {
		border-right: 0;
		border-bottom: 1px solid var(--pz-line);
	}

	.pz-ikili {
		grid-template-columns: 1fr;
	}

	.elementor .e-con > .elementor-widget.pz-yan-sutun {
		flex-basis: auto;
		width: 100%;
		max-width: 100%;
		position: static;
	}

	.elementor .e-con.pz-sayfa-ana {
		flex-basis: auto;
		width: 100%;
	}
}

/* Mobil */
@media (max-width: 767px) {
	.pz-manset__slayt {
		min-height: 560px;
		padding: 64px 20px 170px;
	}

	.pz-manset .pz-manset__metin {
		font-size: 16px;
	}

	.pz-manset__alt {
		bottom: 76px;
		padding: 0 20px;
	}

	.pz-manset__sekmeler {
		gap: 8px;
	}

	.pz-manset .pz-manset__alt .pz-manset__sekme-ad {
		display: none;
	}

	.pz-manset__kontrol {
		margin-top: 18px;
	}

	.pz-turler {
		margin-top: -48px;
		padding: 0 16px;
	}

	.pz-turler__giris {
		padding: 28px 20px;
	}

	.pz-turler .pz-turler__izgara {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pz-turler__izgara li:nth-child(5n) {
		border-right: 1px solid var(--pz-line);
	}

	.pz-turler__izgara li:nth-last-child(-n + 5) {
		border-bottom: 1px solid var(--pz-line);
	}

	.pz-turler__izgara li:nth-child(2n) {
		border-right: 0;
	}

	.pz-turler__izgara li:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.pz-turler .pz-turler__oge {
		min-height: 132px;
		padding: 20px 10px;
		font-size: 14px;
	}

	.pz-turler__oge svg {
		width: 34px;
		height: 34px;
	}

	.pz-ikili {
		gap: 16px;
		padding: 0 16px;
	}

	.pz-ikili__panel {
		padding: 24px 18px;
	}

	.pz-ikili__ust {
		flex-wrap: wrap;
	}

	.pz-ikili .pz-nedenler,
	.pz-ikili .pz-rehber {
		grid-template-columns: 1fr;
	}

	.pz-nedenler svg {
		margin-bottom: 16px;
	}

	.pz-ikili .pz-rehber__kart {
		min-height: 200px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pz-manset__slayt {
		transition: none;
	}

	.pz-manset__sekme.is-aktif .pz-manset__cubuk i {
		animation: none;
		width: 100%;
	}
}
