/* --------------------------------------------------------------
Post TOC
-------------------------------------------------------------- */

/* Ana sayfa: single post sayfasındaki gibi container genişliği (max 1360px) */
.home .cs-container,
.category .cs-container {
	max-width: 1360px;
}

/* Ana sayfa ve kategori: cs-posts-area__outer ve main alan görünürlüğü (3 sütun grid içinde) */
.cs-home-with-rail .cs-site-content #primary .cs-posts-area,
.cs-home-with-rail .cs-site-content #primary .cs-posts-area__outer,
.cs-category-with-rail .cs-site-content #primary .cs-posts-area,
.cs-category-with-rail .cs-site-content #primary .cs-posts-area__outer {
	min-width: 0;
	overflow: visible;
}
.cs-home-with-rail .cs-site-content #primary .cs-posts-area__main,
.cs-category-with-rail .cs-site-content #primary .cs-posts-area__main {
	min-width: 0;
}

/* Kategori: satır arası boşluğu ana sayfa ile aynı (ana sayfa home_list_gap kullanır, kategori 4rem kalıyordu) */
.category .cs-posts-area__archive.cs-archive-list {
	--cs-posts-area-grid-row-gap: 40px !important;
}
@media (max-width: 991.98px) {
	.category .cs-posts-area__archive.cs-archive-list {
		--cs-posts-area-grid-row-gap: 40px !important;
	}
}
@media (max-width: 575.98px) {
	.category .cs-posts-area__archive.cs-archive-list {
		--cs-posts-area-grid-row-gap: 40px !important;
	}
}

/* Ana sayfa ve kategori: thumbnail 300×225 px + içerik görsele yakın — sadece tablet/desktop */
@media (min-width: 768px) {
	.home .cs-posts-area__list .cs-entry__outer:has(.cs-entry__thumbnail),
	.category .cs-posts-area__list .cs-entry__outer:has(.cs-entry__thumbnail) {
		grid-template-columns: 300px calc(100% - 300px - 1.25rem);
		column-gap: 1.25rem;
	}
	.home .cs-posts-area__list .cs-entry__thumbnail,
	.category .cs-posts-area__list .cs-entry__thumbnail {
		max-width: 300px;
		width: 300px !important;
	}
	.home .cs-posts-area__list .cs-entry__thumbnail.cs-overlay-ratio:before,
	.category .cs-posts-area__list .cs-entry__thumbnail.cs-overlay-ratio:before {
		padding-bottom: 0 !important;
		height: 225px;
	}
	.home .cs-posts-area__list .cs-entry__thumbnail img,
	.category .cs-posts-area__list .cs-entry__thumbnail img {
		width: 300px !important;
		height: 225px !important;
		object-fit: cover;
	}
}

/* Okuma süresi rozeti (X dk okuma) her zaman görünsün, sadece hover'da değil */
.cs-entry__post-meta .cs-meta-reading-time {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Ana sayfa ve kategori: single post ile aynı 3 sütun yapısı (sol rail + main + sağ sidebar) */
@media (min-width: 1248px) {
	.cs-home-with-rail .cs-site-content.cs-sidebar-enabled .cs-main-content,
	.cs-category-with-rail .cs-site-content.cs-sidebar-enabled .cs-main-content {
		display: grid !important;
		grid-template-columns: 240px minmax(0, 1fr) 280px;
		column-gap: 40px;
		align-items: stretch;
	}
	.cs-home-with-rail .cs-site-content.cs-sidebar-disabled .cs-main-content,
	.cs-category-with-rail .cs-site-content.cs-sidebar-disabled .cs-main-content {
		display: grid !important;
		grid-template-columns: 240px minmax(0, 1fr);
		column-gap: 40px;
		align-items: stretch;
	}
	.cs-home-with-rail .cs-site-content .cs-toc-sidebar.cs-toc-sidebar--home,
	.cs-category-with-rail .cs-site-content .cs-toc-sidebar.cs-toc-sidebar--category {
		display: block;
		grid-column: 1;
		max-width: 240px;
		width: 100%;
		align-self: stretch;
	}
	.cs-home-with-rail .cs-site-content #primary,
	.cs-category-with-rail .cs-site-content #primary {
		grid-column: 2;
		min-width: 0;
	}
	.cs-home-with-rail .cs-site-content #secondary,
	.cs-category-with-rail .cs-site-content #secondary {
		grid-column: 3;
		min-width: 0;
		width: 100%;
		max-width: 280px;
		overflow: visible;
		align-self: stretch;
	}
	.cs-home-with-rail .cs-site-content.cs-sidebar-disabled #primary,
	.cs-category-with-rail .cs-site-content.cs-sidebar-disabled #primary {
		grid-column: 2;
	}
	.cs-home-with-rail .cs-site-content.cs-sidebar-disabled #secondary,
	.cs-category-with-rail .cs-site-content.cs-sidebar-disabled #secondary {
		display: none;
	}
	.cs-home-with-rail .cs-toc-sidebar__inner,
	.cs-category-with-rail .cs-toc-sidebar__inner {
		position: sticky;
		top: calc(var(--cs-wpadminbar-height) + 4rem);
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
	}
	.cs-home-with-rail .cs-toc-sidebar__inner .cs-toc-rail,
	.cs-category-with-rail .cs-toc-sidebar__inner .cs-toc-rail {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	/* Sol sidebar: Sağ sidebar ile aynı kart stili (beyaz kutu, gölge, yuvarlak köşe) */
	.cs-toc-sidebar .cs-audit-widget {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		background: var(--cs-layout-background);
		padding: 2rem;
		border-radius: var(--cs-thumbnail-border-radius);
		box-shadow: 0px 5px 20px 0px rgba(var(--cs-color-box-shadow-rgb), 0.12);
	}
	.cs-toc-sidebar .cs-audit-widget__inner {
		max-width: 100%;
		box-sizing: border-box;
	}
	.cs-toc-sidebar .cs-promo-banner {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}
	.cs-toc-sidebar .cs-promo-banner__inner {
		max-width: 100%;
		box-sizing: border-box;
	}
	.cs-toc-sidebar .cs-promo-banner img {
		max-width: 100%;
		height: auto;
	}
	.cs-toc-sidebar .cs-audit-widget .cs-search__group {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
	}
	.cs-toc-sidebar .cs-audit-widget__input.cs-search__input {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.cs-toc-sidebar .cs-audit-widget__btn.cs-search__submit {
		width: 100% !important;
		margin-left: 0 !important;
	}
}

@media (max-width: 1247.98px) {
	.cs-home-with-rail .cs-toc-sidebar.cs-toc-sidebar--home,
	.cs-category-with-rail .cs-toc-sidebar.cs-toc-sidebar--category {
		display: block;
		margin-bottom: 24px;
		width: 100%;
	}
	.cs-home-with-rail .cs-toc-sidebar--home .cs-toc-sidebar__inner,
	.cs-category-with-rail .cs-toc-sidebar--category .cs-toc-sidebar__inner {
		position: static;
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}
	.cs-home-with-rail .cs-toc-sidebar--home .cs-toc-rail,
	.cs-category-with-rail .cs-toc-sidebar--category .cs-toc-rail {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
	}
	.cs-home-with-rail .cs-toc-sidebar--home .cs-promo-banner,
	.cs-home-with-rail .cs-toc-sidebar--home .cs-post-services,
	.cs-category-with-rail .cs-toc-sidebar--category .cs-promo-banner,
	.cs-category-with-rail .cs-toc-sidebar--category .cs-post-services {
		width: 100%;
	}
}

/* --------------------------------------------------------------
Top Bar (announcement bar above header)
-------------------------------------------------------------- */
:root {
	--cs-top-bar-height: 48px;
}
.cs-top-bar {
	background: linear-gradient(90deg, #1a1f3a 0%, #252b4a 50%, #1e2340 100%);
	color: #fff;
	font-size: 12px;
	line-height: 1.25;
}

.cs-top-bar__inner {
	padding: 6px 16px;
}

.cs-top-bar__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	max-width: var(--cs-site-width, 1248px);
	margin: 0 auto;
}

.cs-top-bar__announcement {
	flex: 1 1 auto;
	min-width: 180px;
}

.cs-top-bar__announcement a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	transition: opacity 0.2s;
}

.cs-top-bar__announcement a:hover {
	opacity: 0.9;
}

/* Geri sayım — 1. görsel: yarı saydam, hafif parlak kutu yapısı (kompakt) */
.cs-top-bar__countdown {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.cs-top-bar__countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	padding: 5px 10px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cs-top-bar__countdown-value {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	letter-spacing: 0.02em;
}

.cs-top-bar__countdown-label {
	font-size: 9px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
	margin-top: 2px;
	line-height: 1.2;
}

.cs-top-bar__cta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.cs-top-bar__phone {
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	font-size: 15px;
	transition: opacity 0.2s;
}

.cs-top-bar__phone:hover {
	opacity: 0.9;
	color: #fff;
}

.cs-top-bar__separator {
	width: 1px;
	height: 14px;
	background: rgba(165, 180, 252, 0.5);
}

.cs-top-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 1px solid rgba(165, 180, 252, 0.7);
	border-radius: 999px;
	background: transparent;
	color: #c5daec;
	font-weight: 400;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
	font-family: inherit;
}

.cs-top-bar__btn:hover {
	background: rgba(165, 180, 252, 0.15);
	border-color: rgba(165, 180, 252, 0.9);
	color: #fff;
}

.cs-top-bar__btn-icon {
	display: flex;
	align-items: center;
	width: 14px;
	height: 14px;
}

.cs-top-bar__btn-icon svg {
	width: 100%;
	height: 100%;
}

@media (max-width: 991.98px) {
	.cs-top-bar__content {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.cs-top-bar__countdown {
		justify-content: center;
	}
	.cs-top-bar__cta {
		justify-content: center;
	}
}

/* --------------------------------------------------------------
ik-style Author + Metadata Block (split header)
-------------------------------------------------------------- */
.cs-entry__ik-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 1rem;
	width: fit-content;
	align-self: flex-start;
}

/* Split header: subtitle ile ik-block arası boşluk; sağdaki görsel ile hizalama */
.cs-entry__header-split .cs-entry__ik-block {
	margin-top: auto;
	padding-top: 1.5rem;
}

.cs-ik-author {
	display: flex;
	align-items: center;
}

.cs-ik-author__link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s;
}

.cs-ik-author__link:hover {
	opacity: 0.85;
}

.cs-ik-author__avatar {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--cs-color-border, #e5e7eb);
}

.cs-ik-author__avatar img,
.cs-ik-author__avatar .cs-ik-author__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cs-ik-author__name {
	margin: 0;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: var(--cs-color-primary, #29294b);
}

.cs-ik-author__sep {
	margin: 0 6px;
	color: var(--cs-color-contrast-500, #adb5bd);
	font-size: 14px;
}

.cs-ik-author__position {
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	color: var(--cs-color-contrast-600, #6c757d);
}

.cs-ik-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 16px;
}

.cs-ik-meta__update {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--cs-color-contrast-700, #495057);
}

.cs-ik-meta__label {
	font-weight: 500;
}

.cs-ik-meta__date {
	color: var(--cs-color-contrast-800, #343a40);
}

.cs-ik-meta__reading {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--cs-color-contrast-700, #495057);
}

.cs-ik-meta__clock {
	display: flex;
	align-items: center;
	color: var(--cs-color-contrast-600, #6c757d);
}

.cs-ik-meta__clock svg {
	width: 16px;
	height: 16px;
}

/* Açıklama alanı (subtitle): mobilde de görünsün — tema varsayılan 992px altında gizliyor */
.cs-entry__header.cs-entry__header-standard .cs-entry__subtitle,
.cs-entry__header.cs-entry__header-primary .cs-entry__subtitle,
.cs-entry__header.cs-entry__header-image-overlay .cs-entry__subtitle {
	display: block !important;
	opacity: 0.7;
}
@media (max-width: 991.98px) {
	body .cs-entry__header .cs-entry__subtitle {
		display: block !important;
		text-align: left;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}
@media (min-width: 992px) {
	.cs-entry__header.cs-entry__header-standard .cs-entry__subtitle,
	.cs-entry__header.cs-entry__header-primary .cs-entry__subtitle,
	.cs-entry__header.cs-entry__header-image-overlay .cs-entry__subtitle {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		max-width: var(--cs-entry-content-small-width);
	}
}

/* --------------------------------------------------------------
Mega menü (Hizmetler) — Features sub-menu gibi position: absolute, li'ye göre
Smart sticky ile scroll'da gap olmaz (Features ile aynı mantık).
-------------------------------------------------------------- */
.cs-header__nav-inner li.cs-mega-menu {
	position: relative;
}
.cs-header__nav-inner li.cs-mega-menu > .cs-mega-dropdown {
	position: absolute;
	top: -9999px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	width: min(1248px, calc(100vw - 48px));
	min-width: min(552px, calc(100vw - 48px));
	background: var(--cs-layout-background, #fff);
	border-radius: 12px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.14);
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}
@media (hover: hover) {
	.cs-header__nav-inner li.cs-mega-menu:not(.touch-device):hover > .cs-mega-dropdown {
		top: calc(100% - 16px);
		opacity: 1;
		visibility: visible;
	}
}
.cs-header__nav-inner li.cs-mega-menu.submenu-visible > .cs-mega-dropdown {
	top: calc(100% - 16px);
	opacity: 1;
	visibility: visible;
}
.cs-mega-inner {
	display: flex;
	align-items: stretch;
	min-height: 280px;
}
/* Sol kolon — ik: dikey hizalı, tutarlı boşluk */
.cs-mega-left {
	flex: 0 0 200px;
	border-right: 1px solid var(--cs-color-border, #e5e7eb);
	padding: 20px 0;
	background: #fafafa;
	display: flex;
	flex-direction: column;
}
.cs-mega-nav {
	list-style: none;
	margin: 0;
	padding: 0 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.cs-mega-nav-item {
	margin: 0;
	padding: 0;
}
.cs-mega-nav-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--cs-color-contrast-700, #374151);
	text-decoration: none;
	font-size: 16px;
	line-height: 19px;
	transition: background 0.15s, color 0.15s;
	min-height: 40px;
}
.cs-mega-nav-item a:hover,
.cs-mega-nav-item.is-active a {
	background: rgba(255, 255, 255, 0.9);
	color: var(--cs-color-contrast-800, #1f2937);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.cs-mega-nav-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cs-mega-nav-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.cs-mega-nav-title {
	flex: 1;
	font-weight: 500;
	text-align: left;
}
.cs-mega-chevron {
	flex-shrink: 0;
	opacity: 0.4;
	display: flex;
	align-items: center;
}
.cs-mega-chevron svg {
	width: 10px;
	height: 10px;
}
/* Orta bölüm — ik: 2 sütun grid, satırlar hizalı, başlık+özet+ok düzenli */
.cs-mega-right {
	flex: 1;
	min-width: 0;
	padding: 20px 28px 20px 24px;
	position: relative;
}
.cs-mega-panel {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 20px;
	bottom: 20px;
	overflow-y: auto;
}
.cs-mega-panel.is-active {
	display: block;
	position: static;
}
.cs-mega-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 40px;
	row-gap: 0;
	align-items: start;
	grid-auto-flow: row;
}
.cs-mega-link-item {
	margin: 0;
	padding: 0;
}
.cs-mega-link-item a {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 12px 0;
	border-bottom: 1px solid transparent;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.15s, border-color 0.15s;
	border-radius: 0;
}
.cs-mega-link-item:last-child a {
	border-bottom: none;
}
.cs-mega-link-item a:hover {
	opacity: 0.85;
	border-color: var(--cs-color-border, #e5e7eb);
}
.cs-mega-link-content {
	flex: 1;
	min-width: 0;
}
.cs-mega-link-title {
	margin: 0 0 4px;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	color: var(--cs-color-contrast-900, #111827);
}
.cs-mega-link-desc {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--cs-color-contrast-600, #6b7280);
	line-height: 1.4;
}
.cs-mega-arrow {
	flex-shrink: 0;
	opacity: 0.35;
	padding-top: 2px;
}
.cs-mega-arrow svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* 3. Bölüm: CTA alanı — ik tarzı: üstte mavi+görsel, altta beyaz metin */
.cs-mega-cta {
	flex: 0 0 300px;
	border-radius: 0 12px 12px 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Üst: Mavi zemin + sparkle + görsel */
.cs-mega-cta__img-wrap {
	position: relative;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	min-height: 140px;
	overflow: hidden;
}
.cs-mega-cta__img-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='rgba(255,255,255,0.12)'%3E%3Cpath d='M12 2L15 8L22 9L17 14L18 21L12 18L6 21L7 14L2 9L9 8Z'/%3E%3C/svg%3E");
	opacity: 0.7;
	pointer-events: none;
}
.cs-mega-cta__img {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 140px;
	object-fit: cover;
	object-position: center;
	display: block;
}
.cs-mega-cta__img-placeholder {
	min-height: 140px;
}

/* Alt: Beyaz alan — başlık, açıklama, link (ik gibi siyah metin) */
.cs-mega-cta__content {
	padding: 16px 20px 20px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-left: 1px solid var(--cs-color-border, #e5e7eb);
}
.cs-mega-cta__title {
	margin: 0;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--cs-color-contrast-900, #111827);
}
.cs-mega-cta__desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--cs-color-contrast-600, #6b7280);
}
.cs-mega-cta__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--cs-color-contrast-900, #111827);
	text-decoration: none;
	margin-top: 4px;
	transition: opacity 0.2s;
}
.cs-mega-cta__link:hover {
	opacity: 0.8;
	color: var(--cs-color-contrast-900, #111827);
}
.cs-mega-cta__link svg {
	width: 10px;
	height: 10px;
	flex-shrink: 0;
}

[data-scheme=dark] .cs-mega-cta__content {
	background: var(--cs-layout-background);
	border-left-color: var(--cs-color-border);
}
[data-scheme=dark] .cs-mega-cta__title,
[data-scheme=dark] .cs-mega-cta__link {
	color: var(--cs-color-contrast-100);
}
[data-scheme=dark] .cs-mega-cta__link:hover {
	color: var(--cs-color-contrast-100);
}
[data-scheme=dark] .cs-mega-cta__desc,
[data-scheme=dark] .cs-mega-link-desc {
	color: var(--cs-color-contrast-400);
}

[data-scheme=dark] .cs-mega-dropdown {
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}
[data-scheme=dark] .cs-mega-left {
	background: rgba(255, 255, 255, 0.04);
}
[data-scheme=dark] .cs-mega-nav-item a:hover,
[data-scheme=dark] .cs-mega-nav-item.is-active a {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

/* Yorum gönderildi başarı mesajı */
.cs-comment-success {
	padding: 12px 16px;
	margin-bottom: 1.5rem;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.3);
	border-radius: 8px;
	color: #166534;
	font-weight: 500;
}

/* Yorum hata mesajı */
.cs-comment-success.cs-comment-error {
	background: rgba(220, 38, 38, 0.1);
	border-color: rgba(220, 38, 38, 0.3);
	color: #b91c1c;
}

/* Header custom butonları (İletişim, Toplantı Planla) — pill yapı, renkler aynı */
a.cs-header__custom-button,
button.cs-header__custom-button {
	padding: 0.625rem 1.125rem;
	font-size: inherit;
	line-height: inherit;
	white-space: nowrap;
	flex-shrink: 0;
	border-radius: 999px !important;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
a.cs-header__custom-button:active,
button.cs-header__custom-button:active {
	transform: translateY(1px);
}
a.cs-header__custom-button:focus-visible,
button.cs-header__custom-button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* Sidebar "→ Toplantı Planla" butonu — pill yapı, renkler aynı */
.csco-offer-box .csco-offer-box__inner .csco-offer-btn,
.csco-offer-box__btn.csco-offer-btn {
	border-radius: 999px;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.csco-offer-box .csco-offer-box__inner .csco-offer-btn:active,
.csco-offer-box__btn.csco-offer-btn:active {
	transform: translateY(1px);
}
.csco-offer-box .csco-offer-box__inner .csco-offer-btn:focus-visible,
.csco-offer-box__btn.csco-offer-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* Discover More butonu — pill yapı, renkler aynı */
.cs-entry__discover-more .cs-button,
.cs-entry__discover-more a.cs-button {
	border-radius: 999px !important;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.cs-entry__discover-more .cs-button:active,
.cs-entry__discover-more a.cs-button:active {
	transform: translateY(1px);
}
.cs-entry__discover-more .cs-button:focus-visible,
.cs-entry__discover-more a.cs-button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* Subscribe butonu (cs-button-animated) — pill yapı, renkler aynı */
.cs-subscribe__form-group .cs-button-animated,
button.cs-button-animated {
	border-radius: 999px !important;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.cs-subscribe__form-group .cs-button-animated:active,
button.cs-button-animated:active {
	transform: translateY(1px);
}
.cs-subscribe__form-group .cs-button-animated:focus-visible,
button.cs-button-animated:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}


/* Left TOC sidebar wrapper (hidden by default; enabled at desktop) */
.cs-toc-sidebar {
	display: none;
}


.cs-post-toc {
	font-size: var(--cs-font-post-meta-size);
}

.cs-post-toc__box {
	border: none;
	border-radius: var(--cs-thumbnail-border-radius);
	padding: 1rem;
	background: var(--cs-layout-background);
	box-shadow: 0px 5px 20px 0px rgba(var(--cs-color-box-shadow-rgb), 0.12);
}

.cs-post-toc__title {
	font-weight: 600;
	font-size: 18px;
	margin: 0;
}

.cs-post-toc__divider {
	height: 1px;
	background: var(--cs-color-border);
	margin: 0.75rem 0 1rem;
}

.cs-post-toc__nav {
	max-height: 60vh;
	overflow: auto;
	padding-right: 0.25rem;
}

.cs-post-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cs-post-toc__link {
	display: inline-block;
	color: var(--cs-color-secondary);
	text-decoration: none;
	line-height: 1.35;
}

.cs-post-toc__link:hover {
	color: var(--cs-color-primary);
}

.cs-post-toc__item.cs-post-toc__level-3 .cs-post-toc__link {
	padding-left: 1rem;
	opacity: 0.9;
	font-size: 0.95em;
}

.cs-post-toc__link.is-active {
	color: var(--cs-color-primary);
	font-weight: 600;
}

/* Ekmek kırıntıları font-size: masaüstü ve mobil için 14px */
.cs-breadcrumbs {
	font-size: 14px;
}

/* About block (Hakkımda) başlığı: normal yazı, bold, 14px */
.is-style-cs-about .wp-block-heading.cs-about-title,
.is-style-cs-about .wp-block-heading {
	font-size: 14px;
	font-weight: 700;
}

/* Mobil: ekmek kırıntılarını nav ile başlık arasındaki alana (üste) taşı; masaüstü yerinde kalsın */
@media (max-width: 991.98px) {
	.single .cs-container {
		display: flex;
		flex-direction: column;
	}
	.single .cs-container > .cs-breadcrumbs {
		order: -1;
	}
	.single .cs-container > .cs-entry__header {
		order: 0;
	}
	.single .cs-container > #content {
		order: 1;
	}
}

/* --------------------------------------------------------------
Post Services card (below TOC)
-------------------------------------------------------------- */

.cs-post-services {
	font-size: var(--cs-font-post-meta-size);
}

.cs-post-services__box {
	border: none;
	border-radius: var(--cs-thumbnail-border-radius);
	padding: 1rem;
	background: var(--cs-layout-background);
	box-shadow: 0px 5px 20px 0px rgba(var(--cs-color-box-shadow-rgb), 0.12);
}

.cs-post-services__title {
	font-weight: 600;
	font-size: 18px;
	margin: 0;
}

.cs-post-services__divider {
	height: 1px;
	background: var(--cs-color-border);
	margin: 0.75rem 0 1rem;
}

.cs-post-services__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cs-post-services__item {
	margin: 0;
}

/* Hizmetlerimiz butonları — AI özetleme chip tasarımı ile uyumlu */
.cs-post-services__link,
.cs-post-services__list > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid var(--cs-color-border, #e5e7eb);
	background: #fff;
	color: var(--cs-color-primary, #111827);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.cs-post-services__link:hover,
.cs-post-services__list > li > a:hover {
	background: #f5f5f7;
	border-color: #d1d5db;
}

.cs-post-services__link:active,
.cs-post-services__list > li > a:active {
	transform: translateY(1px);
}

.cs-post-services__link:focus-visible,
.cs-post-services__list > li > a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* Desktop (large): show TOC in the left rail */
@media (min-width: 1248px) {
	.cs-post-toc--rail {
		width: 100%;
	}
	.cs-post-toc--inline,
.single.cs-toc-enabled .cs-post-toc-inline {
		display: none;
	}

	/* Desktop: TOC is in the left rail, so hide the theme metabar and inline TOC */
	.single.cs-toc-enabled .cs-entry__metabar {
		display: none !important;
	}

	/* Desktop: disable the theme's internal entry grid to prevent the content from collapsing */
	.single.cs-toc-enabled .cs-entry__container {
		display: block !important;
	}
	.single.cs-toc-enabled .cs-entry__content,
	.single.cs-toc-enabled .cs-entry__content-wrap,
	.single.cs-toc-enabled .cs-entry__content-wrap .entry-content {
		width: 100% !important;
		min-width: 0 !important;
	}
}

/* Match spacing on post pages: header-to-content gap = 48px */
.single.cs-toc-enabled .cs-site-content {
	margin-top: 48px;
}
.single.cs-toc-enabled .cs-main-content {
	margin-top: 0;
}

/* Below large desktop: keep TOC inline above the content */
@media (max-width: 1247.98px) {
	.cs-post-toc--rail {
		display: none;
	}
	.cs-post-toc--inline,
.single.cs-toc-enabled .cs-post-toc-inline {
		margin-bottom: 1rem;
	}
}
/* --------------------------------------------------------------
Desktop layout: 3-column post page (TOC rail + content + sidebar)
-------------------------------------------------------------- */

@media (min-width: 1248px) {
	/*
	 * NOTE (important): In this theme, layout classes like
	 * cs-sidebar-right / cs-metabar-enabled live on .cs-site-content (not on <body>).
	 * So selectors must go through .cs-site-content.
	 */

	/* Hide the default metabar on large desktop (we render share + reading time in the rail). */
	.cs-toc-enabled.single .cs-site-content.cs-metabar-enabled .cs-entry__metabar {
		display: none;
	}

	/* Give the single post a controlled canvas size. */
	.cs-toc-enabled.single .cs-container {
		max-width: 1360px;
	}

	/*
	 * 3-column desktop grid:
	 * [Left rail (TOC + share)] [Content] [Right sidebar]
	 * Target content column ~760px with the chosen numbers:
	 * 240 + 760 + 280 + (40*2 gap) = 1360
	 */
	.cs-toc-enabled.single .cs-site-content.cs-sidebar-enabled .cs-main-content {
		display: grid !important;
		grid-template-columns: 240px minmax(0, 1fr) 280px;
		column-gap: 40px;
		align-items: stretch;
	}

	/* When the page sidebar is disabled, use only 2 columns (rail + content). */
	.cs-toc-enabled.single .cs-site-content.cs-sidebar-disabled .cs-main-content {
		display: grid !important;
		grid-template-columns: 240px minmax(0, 1fr);
		column-gap: 40px;
		align-items: stretch;
	}

	/* Grid placement */
	.cs-toc-enabled.single .cs-site-content .cs-toc-sidebar {
		display: block;
		grid-column: 1;
		max-width: 240px;
		width: 100%;
  align-self: stretch;
	}
	.cs-toc-enabled.single .cs-site-content #primary {
		grid-column: 2;
		min-width: 0;
	}
	.cs-toc-enabled.single .cs-site-content #secondary {
		grid-column: 3;
		min-width: 0;
		width: 100%;
		max-width: 280px;
		/* IMPORTANT: do not use overflow:hidden here; it breaks the theme's sticky sidebar. */
		overflow: visible;
  align-self: stretch;
	}

	/* Prevent long words/URLs inside widgets from blowing out the layout */
	.cs-toc-enabled.single .cs-site-content #secondary .widget,
	.cs-toc-enabled.single .cs-site-content #secondary .widget *,
	.cs-toc-enabled.single .cs-site-content #secondary .cs-widget {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	/* Prevent sidebar widgets from forcing the column wider */
	.cs-toc-enabled.single .cs-site-content #secondary img,
	.cs-toc-enabled.single .cs-site-content #secondary iframe,
	.cs-toc-enabled.single .cs-site-content #secondary embed,
	.cs-toc-enabled.single .cs-site-content #secondary object {
		max-width: 100%;
		height: auto;
	}

	/* If sidebar is disabled, let content span full second column. */
	.cs-toc-enabled.single .cs-site-content.cs-sidebar-disabled #primary {
		grid-column: 2;
	}
	.cs-toc-enabled.single .cs-site-content.cs-sidebar-disabled #secondary {
		display: none;
	}

	/* Make rail sticky like competitor examples. */
	/* Space between left-rail blocks (TOC + Services) like right sidebar widgets */
	.cs-toc-sidebar__inner .cs-toc-rail {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	.cs-toc-sidebar__inner {
		position: sticky;
		top: calc(var(--cs-wpadminbar-height) + 4rem);
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
	}

	/* Share icons: vertical stack */
	.cs-toc-sidebar .cs-share {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	/* Reading time bubble: keep it aligned */
	.cs-toc-sidebar .cs-reading-time-item {
		left: 0;
	}

	/* Content width target */
	.single.cs-toc-enabled .cs-entry__content-wrap {
		max-width: 760px;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* Below desktop: hide the left rail and keep the inline TOC */
@media (max-width: 1247.98px) {
	.cs-toc-sidebar {
		display: none;
	}
}

/* ----------------------------------------------------------
   Content width fixes (center column)
   - Scoped to .single.cs-toc-enabled so homepage is not affected
---------------------------------------------------------- */
:root{
  --cs-content-max: 760px;
}

.single.cs-toc-enabled .cs-main-content .cs-entry__wrap,
.single.cs-toc-enabled .cs-main-content .cs-entry__container,
.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap,
.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content{
  width: 100% !important;
  min-width: 0 !important;
}

.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap{
  max-width: var(--cs-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content,
.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content > *{
  max-width: 100% !important;
}

.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content img,
.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content video,
.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content iframe,
.single.cs-toc-enabled .cs-main-content .cs-entry__content-wrap .entry-content figure{
  max-width: 100% !important;
}

/* Mobil: AI Özet → TOC → içerik sıralaması (flex order) */
@media (max-width: 1247.98px) {
	.single.cs-toc-enabled .cs-entry__content-wrap {
		display: flex;
		flex-direction: column;
	}
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-ai-summary {
		order: 1;
	}
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-post-toc--inline {
		order: 2;
	}
	.single.cs-toc-enabled .cs-entry__content-wrap .entry-content {
		order: 3;
	}
	/* Footer ve yorumlar içerikten sonra (önceki konumları) */
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-entry__tags,
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-entry__footer,
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-entry__prev-next,
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-entry__pagination,
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-page-pagination,
	.single.cs-toc-enabled .cs-entry__content-wrap .cs-entry__comments {
		order: 4;
	}
	/* TOC mobil font boyutları */
	.single.cs-toc-enabled .cs-post-toc--inline .cs-post-toc__title {
		font-size: 18px;
	}
	.single.cs-toc-enabled .cs-post-toc--inline .cs-post-toc__link {
		font-size: 17px;
	}
	.single.cs-toc-enabled .cs-post-toc--inline .cs-post-toc__item.cs-post-toc__level-3 .cs-post-toc__link {
		font-size: 15px;
	}
}

/* Hizmetlerimiz: Mobilde sağ sidebar'da göster, masaüstünde gizle */
@media (min-width: 1248px) {
	.cs-post-services--mobile-only {
		display: none !important;
	}
}
@media (max-width: 1247.98px) {
	.cs-post-services--mobile-only {
		display: block;
	}
}

/* Sağ sidebar: Hizmetlerimiz ile Offer Box arası boşluğu diğer widget'larla eşitle (32px) */
.cs-sidebar__inner .cs-post-services--mobile-only:not(:last-child) {
	margin-bottom: 32px;
}
/* ===== Sidebar Audit Box (SEO analiz) — Teklif kartı ile uyumlu tasarım ===== */
.cs-audit-widget__inner {
	padding: 0;
}

.cs-audit-widget__title {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	text-align: center;
	color: inherit;
}

.cs-audit-widget__title span {
	color: var(--cs-color-primary);
}

.cs-audit-widget .cs-post-services__divider {
	margin: 0 0 14px;
}

.cs-audit-widget__desc {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.9;
	text-align: center;
}

.cs-audit-widget__inner {
	text-align: center;
}

.cs-audit-widget .cs-search__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Input alanı tıklamadan da net belli olsun: belirgin çerçeve + arka plan */
.cs-audit-widget__input.cs-search__input {
	width: 100%;
	max-width: 100%;
	background: #f3f4f6 !important;
	border: 2px solid #d1d5db !important;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.3;
	color: inherit;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cs-audit-widget__input.cs-search__input::placeholder {
	color: #6b7280;
	font-size: 13px;
}

.cs-audit-widget__input.cs-search__input:focus {
	outline: none;
	border-color: #6366f1 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Analiz Et butonu — pill yapı (tema widget stillerini geçmek için yüksek özgüllük) */
.cs-audit-widget .cs-audit-widget__form .cs-search__group .cs-audit-widget__btn.cs-search__submit {
	width: auto;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px !important;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid rgba(99, 102, 241, 0.4);
	background: #6366f1;
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.cs-audit-widget .cs-audit-widget__form .cs-search__group .cs-audit-widget__btn.cs-search__submit:hover {
	background: #4f46e5;
	border-color: #4f46e5;
	color: #fff;
}

.cs-audit-widget .cs-audit-widget__form .cs-search__group .cs-audit-widget__btn.cs-search__submit:active {
	transform: translateY(1px);
}

.cs-audit-widget .cs-audit-widget__form .cs-search__group .cs-audit-widget__btn.cs-search__submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}
/* ========================================================================== */
/* Promo Banner Widget - hover effect                              */
/* Wrapper kaldırıldı: kart stili yok, sidebar genişliğinde; diğer widgetlar aynı. */
/* ========================================================================== */

/* Widget kartını kaldır – sadece promo banner için; diğer widgetlara dokunma */
.cs-widget-area.cs-sidebar__area .widget.cs-promo-banner {
	background: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.cs-widget-area.cs-sidebar__area .widget.cs-promo-banner:not(:last-child) {
	margin-bottom: 32px;
	padding-bottom: 0 !important;
}

.cs-promo-banner__link {
	display: block;
	text-decoration: none;
	border-radius: var(--cs-thumbnail-border-radius, 16px);
	overflow: hidden;
	box-shadow: 0px 5px 20px 0px rgba(var(--cs-color-box-shadow-rgb), 0.12);
	transition: box-shadow 0.3s ease;
}

.cs-promo-banner__link:hover {
	box-shadow: 0px 8px 30px 0px rgba(var(--cs-color-box-shadow-rgb), 0.2);
}

.cs-promo-banner__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 24px 20px 0;
	min-height: 320px;
	background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
	transition: background 0.4s ease;
	overflow: hidden;
}

.cs-promo-banner__link:hover .cs-promo-banner__inner {
	background: linear-gradient(180deg, #ff7e29 0%, #f97316 50%, #ea580c 100%);
}

.cs-promo-banner__content {
	position: relative;
	z-index: 2;
	text-align: center;
	margin-bottom: 16px;
}

.cs-promo-banner__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 16px;
	color: #1f2937;
	transition: color 0.3s ease;
}

.cs-promo-banner__title span {
	color: #f97316;
	transition: color 0.3s ease;
}

.cs-promo-banner__link:hover .cs-promo-banner__title {
	color: #fff;
}

.cs-promo-banner__link:hover .cs-promo-banner__title span {
	color: #fff;
}

.cs-promo-banner__btn {
	display: inline-block;
	padding: 10px 24px;
	background: #f97316;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-radius: 50px;
	transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cs-promo-banner__link:hover .cs-promo-banner__btn {
	background: #fff;
	color: #f97316;
	transform: scale(1.05);
}

.cs-promo-banner__image {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 200px;
	margin-top: auto;
}

.cs-promo-banner__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	transition: transform 0.4s ease;
}

.cs-promo-banner__link:hover .cs-promo-banner__image img {
	transform: scale(1.05);
}

/* Fallback if no image */
.cs-promo-banner__image img[src=""],
.cs-promo-banner__image img:not([src]) {
	display: none;
}

/* ========================================================================== */
/* AI ile Blog Yazısı Özetleme Butonları (chip/pill)                            */
/* ========================================================================== */
.cs-ai-summary {
	margin-bottom: 28px;
}

.cs-ai-summary__inner {
	background: var(--cs-layout-background, #f8f9fa);
	border: 1px solid var(--cs-color-border, #e9e9ef);
	border-radius: var(--cs-thumbnail-border-radius, 16px);
	padding: 18px 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cs-ai-summary__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--cs-color-primary, #111827);
	line-height: 1.3;
}

.cs-ai-summary__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.cs-ai-summary__chip {
	appearance: none;
	border: 1px solid var(--cs-color-border, #e5e7eb);
	background: #fff;
	color: var(--cs-color-primary, #111827);
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
	font-family: inherit;
	line-height: 1.2;
}

.cs-ai-summary__chip:hover {
	background: #f5f5f7;
	border-color: #d1d5db;
}

.cs-ai-summary__chip:active {
	transform: translateY(1px);
}

.cs-ai-summary__chip:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

.cs-ai-summary__chip--secondary {
	background: #f5f5f7;
}

.cs-ai-summary__chip--secondary:hover {
	background: #ececf1;
}

/* Icons: brand images + Gemini SVG + copy SVG */
.cs-ai-summary__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: block;
	vertical-align: middle;
}

.cs-ai-summary__icon img,
.cs-ai-summary__chip .cs-ai-summary__icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.cs-ai-summary__chip .cs-ai-summary__icon--copy {
	color: currentColor;
	opacity: 0.6;
}

/* AI Summary - Dark mode uyumu (masaüstü + mobil) */
@media (prefers-color-scheme: dark) {
	:root [data-scheme=auto] .cs-ai-summary__title {
		color: var(--cs-color-primary);
	}
	:root [data-scheme=auto] .cs-ai-summary__chip {
		background: rgba(255, 255, 255, 0.12);
		border-color: rgba(255, 255, 255, 0.2);
		color: #fff;
	}
	:root [data-scheme=auto] .cs-ai-summary__chip:hover {
		background: rgba(255, 255, 255, 0.18);
		border-color: rgba(255, 255, 255, 0.28);
	}
	:root [data-scheme=auto] .cs-ai-summary__chip--secondary {
		background: rgba(255, 255, 255, 0.08);
	}
	:root [data-scheme=auto] .cs-ai-summary__chip--secondary:hover {
		background: rgba(255, 255, 255, 0.14);
	}
	:root [data-scheme=auto] .cs-ai-summary__chip .cs-ai-summary__icon--copy {
		color: #fff;
		opacity: 0.9;
	}
	:root [data-scheme=auto] .cs-ai-summary__chip img.cs-ai-summary__icon {
		filter: brightness(0) invert(1);
	}
	/* Hizmetlerimiz butonları — dark mode */
	:root [data-scheme=auto] .cs-post-services__link,
	:root [data-scheme=auto] .cs-post-services__list > li > a {
		background: rgba(255, 255, 255, 0.12);
		border-color: rgba(255, 255, 255, 0.2);
		color: #fff;
	}
	:root [data-scheme=auto] .cs-post-services__link:hover,
	:root [data-scheme=auto] .cs-post-services__list > li > a:hover {
		background: rgba(255, 255, 255, 0.18);
		border-color: rgba(255, 255, 255, 0.28);
	}
}
body[data-scheme=dark] .cs-ai-summary__title,
[data-scheme=dark] .cs-ai-summary__title {
	color: var(--cs-color-primary);
}
body[data-scheme=dark] .cs-ai-summary__chip,
[data-scheme=dark] .cs-ai-summary__chip {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}
body[data-scheme=dark] .cs-ai-summary__chip:hover,
[data-scheme=dark] .cs-ai-summary__chip:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.28);
}
body[data-scheme=dark] .cs-ai-summary__chip--secondary,
[data-scheme=dark] .cs-ai-summary__chip--secondary {
	background: rgba(255, 255, 255, 0.08);
}
body[data-scheme=dark] .cs-ai-summary__chip--secondary:hover,
[data-scheme=dark] .cs-ai-summary__chip--secondary:hover {
	background: rgba(255, 255, 255, 0.14);
}
body[data-scheme=dark] .cs-ai-summary__chip .cs-ai-summary__icon--copy,
[data-scheme=dark] .cs-ai-summary__chip .cs-ai-summary__icon--copy {
	color: #fff;
	opacity: 0.9;
}
body[data-scheme=dark] .cs-ai-summary__chip img.cs-ai-summary__icon,
[data-scheme=dark] .cs-ai-summary__chip img.cs-ai-summary__icon {
	filter: brightness(0) invert(1);
}

/* Hizmetlerimiz butonları — dark mode (manuel tema) */
body[data-scheme=dark] .cs-post-services__link,
[data-scheme=dark] .cs-post-services__link,
body[data-scheme=dark] .cs-post-services__list > li > a,
[data-scheme=dark] .cs-post-services__list > li > a {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}
body[data-scheme=dark] .cs-post-services__link:hover,
[data-scheme=dark] .cs-post-services__link:hover,
body[data-scheme=dark] .cs-post-services__list > li > a:hover,
[data-scheme=dark] .cs-post-services__list > li > a:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.28);
}

/* Debug: prompt preview */
.cs-ai-summary__debug {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--cs-color-border, #e5e7eb);
}

.cs-ai-summary__debug strong {
	display: block;
	font-size: 14px;
	margin-bottom: 8px;
}

.cs-ai-summary__preview {
	white-space: pre-wrap;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #111827;
	background: #fcfcfd;
	border: 1px solid var(--cs-color-border, #e5e7eb);
	border-radius: 14px;
	padding: 12px;
	max-height: 280px;
	overflow: auto;
}

/* Toast */
.cs-ai-summary__toast {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	background: #111827;
	color: #fff;
	padding: 12px 16px;
	border-radius: 14px;
	display: none;
	align-items: center;
	gap: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
	max-width: min(680px, calc(100vw - 24px));
	z-index: 9999;
}

.cs-ai-summary__toast-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.cs-ai-summary__toast-text {
	flex: 1;
	min-width: 0;
}

.cs-ai-summary__toast strong {
	display: block;
	font-size: 14px;
}

#cs-ai-summary-toast-body {
	font-size: 13px;
	opacity: 0.92;
	margin-top: 2px;
}

.cs-ai-summary__toast-actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.cs-ai-summary__toast-btn,
.cs-ai-summary__toast .cs-ai-summary__toast-btn {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	padding: 8px 12px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	font-family: inherit;
}

.cs-ai-summary__toast-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.cs-ai-summary__toast-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* AI summary modals */
.cs-ai-summary__modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cs-ai-summary__modal--open {
	opacity: 1;
	visibility: visible;
}

.cs-ai-summary__modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.cs-ai-summary__modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
	padding: 32px 28px;
	max-width: 400px;
	width: 100%;
	text-align: center;
}

.cs-ai-summary__modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b7280;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
	transition: background 0.15s, color 0.15s;
}

.cs-ai-summary__modal-close:hover {
	background: #f3f4f6;
	color: #111827;
}

.cs-ai-summary__modal-title {
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 12px;
	line-height: 1.3;
}

.cs-ai-summary__modal-body {
	font-size: 15px;
	line-height: 1.5;
	color: #4b5563;
	margin: 0 0 24px;
}

.cs-ai-summary__modal-btn {
	display: inline-block;
	padding: 12px 24px;
	background: #4285f4;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s;
	font-family: inherit;
}

.cs-ai-summary__modal-btn:hover {
	background: #3367d6;
	color: #fff;
}

.cs-ai-summary__modal-btn--primary {
	background: #4285f4;
}

body.cs-ai-summary-modal-open {
	overflow: hidden;
}

/* ========================================================================== */
/* Teklif Modal - Yenilenmiş tasarım                                              */
/* ========================================================================== */
.csco-offer-modal__overlay {
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	background: rgba(17, 24, 39, 0.6);
	transition: opacity 0.3s ease;
}

.csco-offer-modal__dialog {
	border-radius: 24px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
	padding: 32px;
	max-width: 880px;
	animation: cs-offer-modal-in 0.35s ease-out;
}

@media (max-width: 860px) {
	.csco-offer-modal {
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
}

@keyframes cs-offer-modal-in {
	from {
		opacity: 0;
		transform: scale(0.96) translateY(-10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.csco-offer-modal__close {
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border: none;
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #fff;
	font-size: 20px;
	transition: background 0.2s, transform 0.2s;
}

.csco-offer-modal__close:hover {
	background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
	color: #fff;
	transform: scale(1.05);
}

.csco-offer-modal__grid {
	gap: 0;
	min-height: 360px;
	border-radius: 16px;
	overflow: hidden;
}

.csco-offer-modal__left {
	padding: 28px 32px 32px;
}

.csco-offer-modal__title {
	font-size: 24px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 20px;
	letter-spacing: -0.02em;
}

.csco-offer-form {
	gap: 16px;
}

.csco-offer-form__label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
}

.csco-offer-form__required {
	color: #dc2626;
}

.csco-offer-form input,
.csco-offer-form__textarea {
	width: 100%;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
	resize: vertical;
}

.csco-offer-form__textarea {
	min-height: 90px;
}

.csco-offer-form input:hover,
.csco-offer-form__textarea:hover {
	border-color: #d1d5db;
}

.csco-offer-form input:focus,
.csco-offer-form__textarea:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
	outline: none;
}

.csco-offer-form__disclaimer {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.5;
	color: #6b7280;
}

.csco-offer-form__disclaimer a {
	color: #6366f1;
	text-decoration: underline;
}

.csco-offer-form__disclaimer a:hover {
	color: #4f46e5;
}

.csco-offer-form__submit,
.csco-offer-modal__submit {
	width: auto;
	padding: 12px 20px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
	margin-top: 8px;
	transition: transform 0.15s, box-shadow 0.2s;
}

.csco-offer-form__submit:hover,
.csco-offer-modal__submit:hover {
	background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
	transform: translateY(-1px);
}

.csco-offer-form__submit:active,
.csco-offer-modal__submit:active {
	transform: translateY(1px);
}

.csco-offer-form__submit:focus-visible,
.csco-offer-modal__submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* Sağ panel - Bize Katılın (Roible tarzı 3 adım) */
.csco-offer-modal__join {
	background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
	padding: 32px 28px;
	border-radius: 0;
}

.csco-offer-modal__join-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
	color: #a5b4fc;
}

.csco-offer-modal__join-desc {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0.92;
	margin: 0 0 28px;
}

.csco-offer-steps {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 24px;
}

.csco-offer-step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.csco-offer-step__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.csco-offer-step__icon svg {
	width: 24px;
	height: 24px;
}

.csco-offer-step__content {
	flex: 1;
	min-width: 0;
}

.csco-offer-step__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.csco-offer-step__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.8);
}

/* Sosyal kanıt + avantajlar */
.csco-offer-why {
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.csco-offer-why__proof {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.02em;
}

.csco-offer-why__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.csco-offer-why__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
}

.csco-offer-why__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: rgba(99, 102, 241, 0.25);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #a5b4fc;
}

.csco-offer-why__icon svg {
	width: 12px;
	height: 12px;
}

/* WhatsApp alanı - sağ panel (Fikirlerinize özel stratejiler sonrası) */
.csco-offer-whatsapp {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.csco-offer-whatsapp__link {
	display: block;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	transition: background 0.2s, color 0.2s;
}

.csco-offer-whatsapp__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.csco-offer-whatsapp__link strong {
	color: #25d366;
}

@media (max-width: 860px) {
	.csco-offer-modal__dialog {
		padding: 24px 20px;
		margin: 16px 16px 24px;
		max-height: none;
		min-height: 0;
	}
	.csco-offer-modal__grid {
		min-height: 0;
	}
	.csco-offer-modal__left {
		padding: 0 0 24px;
	}
	.csco-offer-modal__join {
		border-radius: 16px;
		padding: 24px 20px;
	}
}


/* ========================================================================== */
/* İletişim sayfası - Inline Toplantı Talep formu (modal ile aynı tasarım)      */
/* ========================================================================== */
.cs-contacts-offer-inline {
	max-width: 880px;
	margin: 0 auto;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.cs-contacts-offer-inline__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	min-height: 400px;
}

.cs-contacts-offer-inline__left {
	padding: 32px 36px 36px;
}

.cs-contacts-offer-inline__right {
	padding: 32px 28px;
}

@media (max-width: 860px) {
	.cs-contacts-offer-inline__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.cs-contacts-offer-inline__left {
		padding: 24px 20px;
	}
	.cs-contacts-offer-inline__right {
		padding: 24px 20px;
		border-radius: 0 0 16px 16px;
	}
}

/* ========================================================================== */
/* Right sidebar: keep About + Teklif widget'ları birlikte sticky (tek wrapper).
   JS .cs-right-sticky-pair wrapper'ı oluşturur; overlap olmaz. */
/* ========================================================================== */
@supports (position: sticky) {
	@media (min-width: 1024px) {
		body.cs-sticky-sidebar-enabled .cs-sidebar__inner .cs-right-sticky-pair {
			position: sticky;
			will-change: top;
			top: var(--cs-right-sticky-top, calc(var(--cs-wpadminbar-height) + 4rem));
			z-index: 2;
		}
	}
}
