/**
 * Ye Gez — Story in-content panel system (v2).
 * Beyaz kartlar, paper zemin — tüm premium prose blokları.
 */

body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story {
	--yz-in-panel-bg: #fff;
	--yz-in-panel-border: color-mix(in srgb, var(--yz-line) 82%, var(--pt-intent-color, var(--yz-accent)));
	--yz-in-panel-shadow:
		0 1px 0 color-mix(in srgb, #fff 92%, transparent) inset,
		0 12px 28px -22px rgba(15, 40, 32, 0.18);
	--yz-in-panel-radius: calc(var(--yz-r-lg) + 2px);
}

/* ── Shared white panel chrome ── */
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-spot-sheet,
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-prose-intro-kit--premium,
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-prose-interlude-fold,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-editor-note,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .phantaso-faq.yz-story-faq,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-callout,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-table,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story table:not(.yz-prose-table),
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-section-nav__link,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related__feature,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-region-guides-hub,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .pt-practical-box,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .yz-prose-takeaways--fold,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .yz-prose-trip-facts__card,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit__footer .yz-prose-share--editorial,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-saved-spots-banner,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story blockquote,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .wp-block-quote,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story pre,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-figure,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-media,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story figure:not(.yz-dest-card__media) {
	background: var(--yz-in-panel-bg);
}

body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-spot-sheet,
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-prose-intro-kit--premium,
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-prose-interlude-fold,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-region-guides-hub,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related__feature,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-callout,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-table,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story table:not(.yz-prose-table),
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-section-nav__link,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .pt-practical-box,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .yz-prose-takeaways--fold,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story blockquote,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .wp-block-quote,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story pre {
	border: 1px solid var(--yz-in-panel-border);
	border-radius: var(--yz-in-panel-radius);
	box-shadow: var(--yz-in-panel-shadow);
}

/* ── Spot sheet ── */
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-spot-sheet {
	margin: clamp(1.35rem, 2.8vw, 1.85rem) 0 0;
}

body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-dest-card__body > .yz-spot-sheet {
	margin-top: 1.55rem;
}

body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-spot-sheet--faq {
	margin: clamp(1.75rem, 3.5vw, 2.35rem) 0;
}

body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-spot-sheet--faq .yz-spot-sheet__head {
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--pt-intent-color, var(--yz-accent)) 6%, #fff) 0%,
		transparent 76%
	);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-spot-sheet__actions {
	background: #fff;
	border-top: 1px solid color-mix(in srgb, var(--yz-line) 88%, transparent);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-spot-sheet__row:hover {
	background: color-mix(in srgb, var(--yz-line) 8%, #fff);
}

/* Çift başlık: editör H2 + SSS spot-sheet */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story h2:has(+ .yz-spot-sheet--faq),
body.yz-story-flow--v2.yegez-luxe .yz-prose--story h3:has(+ .yz-spot-sheet--faq) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── Editor note & callout ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-editor-note {
	background: #fff;
	box-shadow: var(--yz-in-panel-shadow);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-callout {
	border-left-width: 3px;
}

/* ── SSS accordion ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block {
	margin-top: clamp(2.25rem, 4.5vw, 3rem);
	padding: 1.15rem 1.1rem 1.2rem;
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block__title {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	font-size: clamp(1.28rem, 2.6vw, 1.62rem);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block .yz-story-faq {
	margin: 0;
	border: 0;
	box-shadow: none;
	border-radius: calc(var(--yz-r-md) + 1px);
	overflow: hidden;
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq:not(.yz-story-faq-block .yz-story-faq) {
	margin: clamp(1.75rem, 3.2vw, 2.35rem) 0;
	overflow: hidden;
}

/* ── Tablolar ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story th {
	background: color-mix(in srgb, var(--yz-paper-tonu, var(--yz-paper)) 35%, #fff);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story tr:nth-child(even) td {
	background: color-mix(in srgb, var(--yz-paper-tonu, var(--yz-paper)) 18%, #fff);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story td {
	background: #fff;
}

/* ── Bölüm sonu link kartları ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related--feature {
	margin-top: clamp(1.85rem, 3.6vw, 2.35rem);
	padding-top: 0;
	border-top: 0;
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related__feature {
	background: #fff;
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related__item--hub {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--yz-line) 88%, transparent);
	box-shadow: 0 6px 18px -14px rgba(15, 40, 32, 0.14);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related--category {
	margin-top: clamp(1.65rem, 3.2vw, 2.15rem);
}

/* ── Bölge rehber hub ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-region-guides-hub {
	margin-top: clamp(2.5rem, 5vw, 3.25rem);
	background:
		radial-gradient(ellipse 90% 70% at 100% 0%, color-mix(in srgb, var(--pt-intent-color, var(--yz-accent)) 5%, #fff) 0%, transparent 58%),
		#fff;
}

/* ── Intro kit iç paneller ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .pt-practical-box {
	border-color: color-mix(in srgb, var(--yz-line) 86%, var(--pt-intent-color, var(--yz-accent)));
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .yz-prose-takeaways--fold,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit .yz-prose-trip-facts__card {
	border: 1px solid color-mix(in srgb, var(--yz-line) 86%, transparent);
	border-radius: var(--yz-r-md);
	box-shadow: 0 6px 16px -14px rgba(15, 40, 32, 0.12);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-intro-kit__footer .yz-prose-share--editorial {
	border: 1px solid color-mix(in srgb, var(--yz-line) 86%, transparent);
	border-radius: var(--yz-r-md);
}

/* ── Kaydedilen duraklar ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-saved-spots-banner {
	border-style: solid;
	border-color: color-mix(in srgb, var(--pt-intent-color, var(--yz-accent)) 22%, var(--yz-line));
	box-shadow: var(--yz-in-panel-shadow);
}

/* ── Planlama fold ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-section-nav__link {
	background: #fff;
}

/* ── Medya & alıntılar ── */
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-figure,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-prose-media,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story figure:not(.yz-dest-card__media) {
	box-shadow: var(--yz-in-panel-shadow);
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story blockquote,
body.yz-story-flow--v2.yegez-luxe .yz-prose--story .wp-block-quote {
	padding: 1rem 1.15rem;
}

body.yz-story-flow--v2.yegez-luxe .yz-prose--story pre {
	border: 1px solid var(--yz-in-panel-border);
}

/* ── Reklam placeholder (AdSense mock) — dokunma, kendi stilini korur ── */
body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-auto-ad {
	margin: clamp(1.65rem, 3.2vw, 2.15rem) 0;
}

@media (max-width: 767px) {
	body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block {
		padding: 1rem 0.85rem 1.05rem;
	}

	body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related__feature {
		grid-template-columns: 5rem minmax(0, 1fr) auto;
		gap: 0.75rem;
		padding: 0.75rem 0.8rem;
	}

	body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-section-related__feature-media {
		width: 5rem;
		height: 3.85rem;
	}

	body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-region-guides-hub {
		padding: 1.05rem 0.95rem 1rem;
	}
}

@media print {
	body.yz-story-flow--v2.yegez-luxe .yz-prose--story .yz-story-faq-block,
	body.yz-story-flow--v2.yegez-luxe .yz-inner--story .yz-prose--story .yz-spot-sheet {
		box-shadow: none;
		break-inside: avoid;
	}
}
