/* Store blog / article other pages */
.site-article-section--blog {
	position: relative;
	padding-top: clamp(2rem, 4vw, 3rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
	background: #eef2f8;
	overflow: hidden;
}

.site-article-section--blog::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--primary-color, #717fe0) 16%, transparent) 0%, transparent 42%),
		radial-gradient(circle at 88% 18%, rgba(99, 102, 241, 0.1) 0%, transparent 38%),
		linear-gradient(180deg, #f8fafc 0%, #eef2f8 48%, #e8edf5 100%);
}

.site-article-section--blog .container {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

.site-article-section--blog .other-page-wrapper {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: min(1320px, 100%);
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 20px;
	align-items: start;
}

.site-article-section--blog .other-page-wrapper > .row {
	display: contents;
	margin: 0;
}

.site-article-section--blog .other-page-main-col,
.site-article-section--blog .other-page-sidebar-col {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex: none;
	padding-left: 0;
	padding-right: 0;
}

.site-article-section--blog .other-page-main-col {
	grid-column: 1;
	grid-row: 2;
}

.site-article-section--blog .other-page-sidebar-col {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
}

.site-article-breadcrumb {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 0;
	min-width: 0;
	max-width: 100%;
	font-size: 14px;
	line-height: 1.45;
	color: #64748b;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.site-article-breadcrumb a {
	color: #475569;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-article-breadcrumb a:hover {
	color: #0f172a;
	text-decoration: none;
}

.site-article-breadcrumb-sep {
	color: #cbd5e1;
}

.site-article-breadcrumb-current {
	color: #334155;
	font-weight: 700;
}

.site-article-surface {
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
	overflow: hidden;
	max-width: 100%;
	min-width: 0;
}

.site-article-body {
	padding: clamp(22px, 3.5vw, 36px);
	max-width: 100%;
	min-width: 0;
}

.site-article-section--blog .site-article-surface.other-page-main-surface {
	padding: 0;
}

.site-article-meta {
	display: block;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}

.site-article-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.site-article-meta-row + .site-article-meta-row {
	margin-top: 12px;
}

.site-article-chip {
	display: inline-flex;
	align-items: center;
	flex: 0 1 auto;
	max-width: 100%;
	min-height: 34px;
	padding: 6px 13px;
	border-radius: 999px;
	background: #f6f7fb;
	border: 1px solid #eceef6;
	font-size: 14px;
	line-height: 1.35;
	color: #374151;
	overflow-wrap: anywhere;
}

.site-article-chip .chip-label {
	color: #6b7280;
	font-weight: 600;
	margin-right: 5px;
}

.site-article-chip--tag {
	color: #4e5563;
}

.site-article-title {
	margin: 0 0 18px;
	font-family: var(--accent-font, Georgia, serif);
	font-size: clamp(2rem, 4vw + 0.5rem, 2.5rem);
	font-weight: 700;
	color: #111827;
	line-height: 1.2;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.site-article-summary {
	margin: 0 0 32px;
	font-family: var(--main-font, Poppins, sans-serif);
	font-size: clamp(1.125rem, 0.5vw + 1.05rem, 1.3125rem);
	line-height: 1.75;
	color: #374151;
	font-weight: 400;
}

.site-article-prose {
	--article-size: 18px;
	--article-line: 1.8;
	font-family: var(--main-font, Poppins, sans-serif) !important;
	font-size: var(--article-size) !important;
	line-height: var(--article-line) !important;
	font-weight: 400 !important;
	color: #1f2937 !important;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	max-width: 100%;
	min-width: 0;
}

.site-article-prose :where(p, li, span, font, div, td, th, em, i, u, s, small, cite, label) {
	font-size: 1em !important;
	line-height: var(--article-line) !important;
	font-family: inherit !important;
}

.site-article-prose p {
	margin: 0 0 1.2em;
}

.site-article-prose p:last-child {
	margin-bottom: 0;
}

.site-article-prose h1,
.site-article-prose h2,
.site-article-prose h3,
.site-article-prose h4 {
	font-family: var(--accent-font, Georgia, serif) !important;
	color: #111827 !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin: 1.75em 0 0.6em;
	letter-spacing: -0.015em;
}

.site-article-prose h2 {
	font-size: 1.55em !important;
}

.site-article-prose h3 {
	font-size: 1.3em !important;
	padding-top: 0.25em;
}

.site-article-prose h4 {
	font-size: 1.15em !important;
}

.site-article-prose h2:first-child,
.site-article-prose h3:first-child,
.site-article-prose h4:first-child,
.site-article-prose > :first-child {
	margin-top: 0;
}

.site-article-prose strong,
.site-article-prose b {
	font-weight: 600 !important;
	color: #111827 !important;
}

.site-article-prose ul,
.site-article-prose ol {
	margin: 0.75em 0 1.5em;
	padding-left: 0;
	list-style: none;
}

.site-article-prose ul > li,
.site-article-prose ol > li {
	position: relative;
	margin-bottom: 0.65em;
	padding-left: 1.35em;
	line-height: 1.78;
}

.site-article-prose ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color, #717fe0) 0%, #6366f1 100%);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color, #717fe0) 12%, transparent);
}

.site-article-prose ol {
	counter-reset: site-article-ol;
}

.site-article-prose ol > li {
	counter-increment: site-article-ol;
	padding-left: 1.85em;
}

.site-article-prose ol > li::before {
	content: counter(site-article-ol) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--primary-ink, var(--primary-color, #717fe0));
}

.site-article-prose ul br,
.site-article-prose ol br {
	display: none;
}

.site-article-prose ul > li:empty,
.site-article-prose ol > li:empty,
.site-article-prose ul > li:has(> br:only-child),
.site-article-prose ol > li:has(> br:only-child),
.site-article-prose ul > li:has(> p:only-child:empty),
.site-article-prose ol > li:has(> p:only-child:empty) {
	display: none;
	margin: 0;
	padding: 0;
}

.site-article-prose h2 + ul,
.site-article-prose h3 + ul,
.site-article-prose h4 + ul,
.site-article-prose h2 + ol,
.site-article-prose h3 + ol,
.site-article-prose h4 + ol {
	margin-top: 0.5em;
}

.site-article-prose a {
	color: var(--primary-ink, var(--primary-color, #717fe0));
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-article-prose figure {
	margin: 1.35em 0;
	padding: 0;
	max-width: 100%;
	min-width: 0;
}

.site-article-prose figcaption {
	margin-top: 0.65em;
	padding: 0 6px;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #64748b;
	text-align: center;
}

.site-article-prose img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 1.25em 0;
	border-radius: 12px;
	border: 1px solid #e8edf5;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
	background: #fff;
	object-fit: contain;
	object-position: center;
}

.site-article-prose figure img {
	margin: 0;
}

.site-article-prose p.blog-cta {
	margin: 1.35em 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, #f8fafc 0%, #eef2f8 100%);
	border: 1px solid #e2e8f0;
	text-align: center;
}

.site-article-prose p.blog-cta a {
	font-weight: 650;
	text-decoration: none;
}

.site-article-prose p.blog-cta a:hover {
	text-decoration: underline;
}

.site-article-prose .table-responsive,
.site-article-prose .site-article-table-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 1.5em 0;
	overflow-x: auto;
	overflow-anchor: none;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
}

.site-article-prose .site-article-table-wrap::after {
	content: "";
	position: sticky;
	right: 0;
	top: 0;
	bottom: 0;
	width: 18px;
	margin-left: -18px;
	pointer-events: none;
	background: linear-gradient(270deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.site-article-prose .site-article-table-wrap.is-scrollable::after {
	opacity: 1;
}

.site-article-prose table.site-article-table,
.site-article-prose table {
	width: max-content;
	min-width: min(100%, 36rem);
	max-width: none;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.92rem;
	line-height: 1.45;
}

.site-article-prose thead th {
	background: #111827;
	color: #f9fafb;
	font-weight: 650;
	text-align: left;
	padding: 12px 14px;
	white-space: nowrap;
}

.site-article-prose tbody th,
.site-article-prose tbody td {
	padding: 11px 14px;
	border-top: 1px solid #e5e7eb;
	vertical-align: top;
	color: #374151;
	word-break: break-word;
}

.site-article-prose tbody th {
	font-weight: 650;
	color: #111827;
	background: #f9fafb;
	white-space: nowrap;
}

.site-article-prose tbody tr:nth-child(even) td {
	background: #fafafa;
}

.site-article-prose tbody tr.is-featured th,
.site-article-prose tbody tr.is-featured td {
	background: #f4fce3;
	font-weight: 600;
	color: #1f2937;
}

.site-article-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid #e5e7eb;
}

.site-article-footer-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-article-footer-nav a:hover {
	color: var(--primary-ink, var(--primary-color, #717fe0));
	text-decoration: none;
}

.site-article-section--blog .other-page-sidebar-surface {
	position: sticky;
	top: 104px;
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
	padding: 22px 18px;
}

.site-article-section--blog .other-page-sidebar-surface h4 {
	margin-top: 0;
	font-family: var(--main-font, Poppins, sans-serif);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

/* Blog kapak — tam görsel (infografik/tasarım kırpılmaz) */
.site-article-section--blog .other-page-cover,
.site-article-section--blog .other-page-gallery {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 8px;
	border-radius: 16px;
	overflow: hidden;
	background: #f1f5f9;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.site-article-section--blog .other-page-gallery .wrap-pic-w {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: auto;
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: none;
	padding: 0;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(198, 232, 106, 0.12) 0%, transparent 50%),
		linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.site-article-section--blog .other-page-gallery .wrap-pic-w::after {
	display: none;
}

.site-article-section--blog .other-page-gallery .other-page-img {
	position: static;
	inset: auto;
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: min(70vh, 720px);
	object-fit: contain;
	object-position: center top;
	transform: none;
}

/* Tarih zaten meta chip’lerde — kapak üstünde metni örtmesin */
.site-article-section--blog .other-page-date-badge {
	display: none;
}

@media (max-width: 991px) {
	.site-article-section--blog .other-page-wrapper {
		grid-template-columns: 1fr;
		row-gap: 0;
	}

	.site-article-section--blog .other-page-main-col,
	.site-article-section--blog .other-page-sidebar-col {
		grid-column: 1;
	}

	.site-article-section--blog .other-page-main-col {
		grid-row: 2;
	}

	.site-article-section--blog .other-page-sidebar-col {
		grid-row: 3;
	}

	.site-article-breadcrumb {
		grid-row: 1;
		margin-bottom: 4px;
	}

	.site-article-section--blog .other-page-sidebar-surface {
		position: static;
		margin-top: 24px;
	}

	.site-article-section--blog .other-page-cover,
	.site-article-section--blog .other-page-gallery {
		border-radius: 14px;
	}
}

@media (max-width: 767px) {
	.site-article-title {
		font-size: clamp(1.75rem, 7vw + 0.25rem, 2.125rem);
	}

	.site-article-summary {
		font-size: 1.125rem;
		margin-bottom: 26px;
	}

	.site-article-prose {
		--article-size: 17px;
	}

	.site-article-prose figure {
		margin: 1.1em 0;
		padding: 10px;
		border-radius: 12px;
		background: #f8fafc;
		border: 1px solid #e8edf5;
		box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
	}

	.site-article-prose figure img {
		border-radius: 10px;
		border: 0;
		box-shadow: none;
	}

	.site-article-prose figcaption {
		font-size: 0.78rem;
		margin-top: 0.55em;
	}

	.site-article-prose > img,
	.site-article-prose p > img {
		margin: 1em 0;
		border-radius: 10px;
	}

	.site-article-footer-nav {
		flex-direction: column;
		gap: 10px;
	}

	.site-article-section--blog .other-page-cover,
	.site-article-section--blog .other-page-gallery {
		border-radius: 12px;
		margin-bottom: 4px;
	}

	.site-article-section--blog .other-page-gallery .other-page-img {
		max-height: min(52vw, 280px);
	}

	/* Wide comparison tables → stacked cards on mobile */
	.site-article-prose .table-responsive,
	.site-article-prose .site-article-table-wrap {
		overflow: visible;
		border: none;
		border-radius: 0;
		background: transparent;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
	}

	.site-article-prose .site-article-table-wrap::after {
		display: none;
	}

	.site-article-prose table.site-article-table,
	.site-article-prose table {
		display: block;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		border: none;
		font-size: 0.88rem;
	}

	.site-article-prose table.site-article-table thead,
	.site-article-prose table thead {
		display: none;
	}

	.site-article-prose table.site-article-table tbody,
	.site-article-prose table tbody {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.site-article-prose table.site-article-table tbody tr,
	.site-article-prose table tbody tr {
		display: block;
		border: 1px solid #e5e7eb;
		border-radius: 14px;
		padding: 14px 16px;
		background: #fff;
		box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
	}

	.site-article-prose table.site-article-table tbody tr.is-featured,
	.site-article-prose table tbody tr.is-featured {
		border-color: color-mix(in srgb, var(--primary-color, #717fe0) 28%, #e5e7eb);
		background: linear-gradient(180deg, #f8fce8 0%, #fff 100%);
		box-shadow: 0 10px 26px rgba(113, 127, 224, 0.12);
	}

	.site-article-prose table.site-article-table tbody th,
	.site-article-prose table tbody th {
		display: block;
		padding: 0 0 12px;
		margin: 0 0 10px;
		border: none;
		border-bottom: 1px solid #eef2f7;
		background: transparent;
		white-space: normal;
		font-size: 1.02em;
		line-height: 1.35;
		box-shadow: none;
		position: static;
	}

	.site-article-prose table.site-article-table tbody td,
	.site-article-prose table tbody td {
		display: grid;
		grid-template-columns: minmax(7.5rem, 34%) minmax(0, 1fr);
		gap: 8px 12px;
		align-items: start;
		padding: 9px 0;
		border: none;
		border-top: 1px solid #f1f5f9;
		background: transparent !important;
	}

	.site-article-prose table.site-article-table tbody td::before,
	.site-article-prose table tbody td[data-label]::before {
		content: attr(data-label);
		font-size: 0.78em;
		font-weight: 700;
		line-height: 1.45;
		color: #64748b;
		letter-spacing: 0.01em;
		text-transform: none;
	}
}
