/*! KOSB Haber v1.0.0 – kurumsal haber şablonu */

/* ==========================================================================
   Değişkenler
   ========================================================================== */
:root {
	--kh-primary: #0b4f9c;
	--kh-accent: #3fa9df;
	--kh-dark: #1b2a4a;
}

.kh {
	--kh-ink: #0f1b33;
	--kh-text: #2b3a52;
	--kh-muted: #66758c;
	--kh-line: #e2e7ef;
	--kh-soft: #f4f7fb;
	--kh-radius: 14px;
	--kh-radius-sm: 10px;
	--kh-wrap: 1240px;
	--kh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--kh-shadow: 0 1px 2px rgba(15, 27, 51, .04), 0 8px 24px -12px rgba(15, 27, 51, .14);
	--kh-shadow-lg: 0 2px 4px rgba(15, 27, 51, .05), 0 24px 48px -20px rgba(15, 27, 51, .28);
	--kh-primary-soft: color-mix(in srgb, var(--kh-primary) 9%, #fff);

	font-family: var(--kh-font);
	color: var(--kh-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.kh *,
.kh *::before,
.kh *::after { box-sizing: border-box; }

.kh :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
.kh :where(h1, h2, h3, h4) { color: var(--kh-ink); text-transform: none; }
/* Tema başlık yazı tipini (.heading-default-font h1 vb.) ezmek için bilinçli olarak daha yüksek özgüllük. */
html body .kh :is(h1, h2, h3, h4, h5, h6) { font-family: var(--kh-font); }
.kh :where(ul, ol):not(.kh-content *) { list-style: none; padding: 0; }
.kh img { max-width: 100%; height: auto; display: block; }
.kh a { text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.kh a:focus-visible,
.kh button:focus-visible { outline: 2px solid var(--kh-accent); outline-offset: 2px; }
.kh button { font-family: inherit; }

.kh-ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }

.kh-wrap {
	width: 100%;
	max-width: var(--kh-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

/* Tema (Consultio) başlık şeridi haber sayfalarında gizlenir; şablon kendi başlığını kullanır. */
.kh-page #pagetitle { display: none !important; }

/* İçeriğin üstüne binen (negatif alt boşluklu) tema menüleri için üst boşluk.
   Consultio "layout25" 1200px üzerinde 130px biner; diğer düzenler JS ile ölçülür (--kh-offset). */
@media (min-width: 1200px) {
	body:has(#ct-header-wrap.ct-header-layout25) .kh { --kh-offset: 130px; }
}

/* ==========================================================================
   Okuma ilerleme çubuğu
   ========================================================================== */
.kh-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 99990;
	pointer-events: none;
}
.kh-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--kh-accent), var(--kh-primary));
	transform: scaleX(0);
	transform-origin: 0 50%;
	will-change: transform;
}

/* ==========================================================================
   Sayfa konumu (breadcrumb)
   ========================================================================== */
.kh-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--kh-muted);
	list-style: none;
	margin: 0;
	padding: 0;
}
.kh-crumbs li { display: inline-flex; align-items: center; }
.kh-crumbs li + li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
}
.kh-crumbs a { color: var(--kh-muted); display: inline-flex; align-items: center; gap: 6px; }
.kh-crumbs a:hover { color: var(--kh-primary); }
.kh-crumbs .kh-ico { font-size: 15px; }
.kh-crumbs--light,
.kh-crumbs--light a { color: rgba(255, 255, 255, .72); }
.kh-crumbs--light a:hover { color: #fff; }
.kh-crumbs--light li[aria-current] { color: #fff; }

/* ==========================================================================
   Haber detay – başlık alanı
   ========================================================================== */
.kh-single { background: #fff; }

.kh-head {
	position: relative;
	padding: calc(var(--kh-offset, 0px) + 36px) 0 32px;
	background:
		radial-gradient(1200px 300px at 85% -40%, color-mix(in srgb, var(--kh-accent) 12%, transparent), transparent 70%),
		linear-gradient(180deg, var(--kh-soft) 0%, #fff 100%);
}
.kh-head__inner { max-width: var(--kh-wrap); }
.kh-head__inner > * { max-width: 1040px; }
.kh-head__inner > .kh-spot { max-width: none; }

.kh-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	padding: 6px 12px 6px 10px;
	border-radius: 999px;
	background: var(--kh-primary-soft);
	color: var(--kh-primary) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
}
.kh-chip::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--kh-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--kh-accent) 25%, transparent);
}
.kh-chip:hover { background: var(--kh-primary); color: #fff !important; }

.kh .kh-title {
	margin-top: 16px;
	font-size: clamp(28px, 1.6vw + 20px, 46px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.022em;
	color: var(--kh-ink);
	text-wrap: balance;
}
.kh .kh-title.is-caps {
	font-size: clamp(23px, 1.1vw + 17px, 35px);
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -.005em;
}

.kh-spot {
	margin-top: 18px !important;
	font-size: clamp(17px, .35vw + 15.5px, 20px);
	line-height: 1.6;
	font-weight: 500;
	color: #3a4a64;
	text-wrap: pretty;
}

.kh-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--kh-line);
	max-width: none !important;
}
.kh-meta__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	font-size: 14px;
	color: var(--kh-muted);
}
.kh-meta__list li,
.kh-meta__list a { display: inline-flex; align-items: center; gap: 8px; color: var(--kh-muted); }
.kh-meta__list a:hover { color: var(--kh-primary); }
.kh-meta__list .kh-ico { font-size: 17px; color: var(--kh-primary); opacity: .85; }
.kh-meta__list time { color: var(--kh-ink); font-weight: 600; }

/* ==========================================================================
   Paylaşım
   ========================================================================== */
.kh-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kh-share__label { font-size: 14px; font-weight: 600; color: var(--kh-ink); }
.kh-share__list { display: flex; gap: 8px; flex-wrap: wrap; }
.kh-share__btn {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--kh-line);
	background: #fff;
	color: var(--kh-dark) !important;
	font-size: 16px;
	line-height: 1;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	transition: all .2s ease;
}
.kh-share__btn:hover {
	background: var(--kh-primary);
	border-color: var(--kh-primary);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px -8px var(--kh-primary);
}
.kh-share__btn.is-copied { background: #16a34a; border-color: #16a34a; color: #fff !important; }

/* ==========================================================================
   Manşet görseli
   ========================================================================== */
.kh-cover { margin: 8px 0 0; }
.kh-cover__link {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--kh-radius);
	background: var(--kh-soft);
	box-shadow: var(--kh-shadow-lg);
	cursor: zoom-in;
}
.kh .kh-cover__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center 40%;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.kh-cover__link:hover .kh-cover__img { transform: scale(1.015); }
.kh-cover__zoom {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(15, 27, 51, .55);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 18px;
	opacity: 0;
	transform: translateY(6px);
	transition: all .25s ease;
}
.kh-cover__link:hover .kh-cover__zoom,
.kh-cover__link:focus-visible .kh-cover__zoom { opacity: 1; transform: none; }

.kh-caption {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--kh-muted);
}
.kh-caption::before {
	content: "";
	flex: none;
	width: 3px;
	border-radius: 3px;
	background: var(--kh-accent);
}

/* ==========================================================================
   Yerleşim: makale + yan sütun
   ========================================================================== */
.kh-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
	padding: 48px 0 24px;
}
@media (min-width: 1024px) {
	.kh-layout { gap: 56px; }
}
/* Metin, manşet fotoğrafıyla aynı genişlikte akar; yan sütun kutuları metnin altında yan yana dizilir. */
.kh-article { min-width: 0; }

/* ==========================================================================
   Makale metni
   ========================================================================== */
.kh-content {
	font-size: 18px;
	line-height: 1.8;
	color: var(--kh-text);
	overflow-wrap: break-word;
}
@media (min-width: 1024px) {
	.kh-content { font-size: 19px; line-height: 1.85; }
}
.kh-content > * + * { margin-top: 1.25em; }
.kh-content > p:first-child::first-line { color: var(--kh-ink); }
.kh-content strong, .kh-content b { color: var(--kh-ink); font-weight: 700; }
.kh-content a {
	color: var(--kh-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.kh-content a:hover { text-decoration-thickness: 2px; }
.kh-content h2,
.kh-content h3,
.kh-content h4 {
	margin: 1.9em 0 .55em;
	font-family: var(--kh-font);
	color: var(--kh-ink);
	letter-spacing: -.015em;
	line-height: 1.3;
}
.kh-content h2 { font-size: 26px; font-weight: 750; }
.kh-content h3 { font-size: 21px; font-weight: 700; }
.kh-content h4 { font-size: 18px; font-weight: 700; }
.kh-content h2 + *,
.kh-content h3 + *,
.kh-content h4 + * { margin-top: 0; }
.kh-content ul,
.kh-content ol { padding-left: 1.3em; margin: 0; }
.kh-content li + li { margin-top: .45em; }
.kh-content ul li::marker { color: var(--kh-accent); }
.kh-content ol li::marker { color: var(--kh-primary); font-weight: 700; }
.kh-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 24px 28px 24px 32px;
	border: 0;
	border-left: 4px solid var(--kh-accent);
	border-radius: 0 var(--kh-radius-sm) var(--kh-radius-sm) 0;
	background: var(--kh-soft);
	font-size: 20px;
	line-height: 1.6;
	font-weight: 500;
	font-style: normal;
	color: var(--kh-ink);
}
.kh-content blockquote p + p { margin-top: .8em; }
.kh-content blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--kh-muted); }
.kh-content img { border-radius: var(--kh-radius-sm); }
.kh-content figure { margin: 2em 0; }
.kh-content figcaption,
.kh-content .wp-caption-text,
.kh-content .wp-element-caption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--kh-muted); text-align: left; }
.kh-content .wp-caption { max-width: 100%; }
.kh-content hr { border: 0; height: 1px; background: var(--kh-line); margin: 2.5em 0; }
.kh-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.kh-content th,
.kh-content td { padding: 12px 14px; border-bottom: 1px solid var(--kh-line); text-align: left; }
.kh-content th { background: var(--kh-soft); color: var(--kh-ink); font-weight: 700; }
.kh-content iframe { max-width: 100%; border-radius: var(--kh-radius-sm); }
.kh-content .wp-block-embed__wrapper iframe,
.kh-content p > iframe[src*="youtube"],
.kh-content p > iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ==========================================================================
   Bölüm başlıkları
   ========================================================================== */
.kh-sechead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.kh .kh-sechead__title {
	position: relative;
	padding-left: 14px;
	font-size: 22px;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -.015em;
	color: var(--kh-ink);
}
.kh .kh-sechead__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	bottom: .15em;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--kh-accent), var(--kh-primary));
}
.kh-sechead__count { font-size: 14px; color: var(--kh-muted); white-space: nowrap; }

.kh-link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--kh-primary) !important;
	white-space: nowrap;
}
.kh-link-more .kh-ico { transition: transform .2s ease; }
.kh-link-more:hover .kh-ico { transform: translateX(3px); }

/* ==========================================================================
   Galeri
   ========================================================================== */
.kh-gallery { margin-top: 56px; }
.kh-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.kh-gallery__item { position: relative; margin: 0; aspect-ratio: 4 / 3; }
.kh-gallery__item a {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	border-radius: var(--kh-radius-sm);
	background: var(--kh-soft);
	cursor: zoom-in;
}
.kh .kh-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}
.kh-gallery__item a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(15, 27, 51, .35));
	opacity: 0;
	transition: opacity .3s ease;
}
.kh-gallery__item a:hover img { transform: scale(1.05); }
.kh-gallery__item a:hover::after { opacity: 1; }
.kh-gallery__more {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	background: rgba(15, 27, 51, .62);
	backdrop-filter: blur(2px);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -.01em;
}

/* Mobil: ilk fotoğraf tam genişlik, tek kalan son fotoğraf da tam genişlik */
.kh-gallery__item:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.kh-gallery__grid--1 .kh-gallery__item:first-child { aspect-ratio: 16 / 9; }
.kh-gallery__grid--2 .kh-gallery__item:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
.kh-gallery__item:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 9; }
.kh-gallery__grid--2 .kh-gallery__item:last-child { grid-column: auto; aspect-ratio: 4 / 3; }

@media (min-width: 640px) {
	.kh-gallery__grid { gap: 10px; }
	.kh-gallery__item:last-child:nth-child(even) { grid-column: auto; aspect-ratio: 4 / 3; }

	/* 3: büyük + 2 */
	.kh-gallery__grid--3,
	.kh-gallery__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* 4: 2×2 eşit */
	.kh-gallery__grid--4 .kh-gallery__item:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
	/* 5 ve 9: dört sütun, büyük + dörtlü */
	.kh-gallery__grid--5,
	.kh-gallery__grid--9 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.kh-gallery__grid--3 .kh-gallery__item:first-child,
	.kh-gallery__grid--5 .kh-gallery__item:first-child,
	.kh-gallery__grid--6 .kh-gallery__item:first-child,
	.kh-gallery__grid--9 .kh-gallery__item:first-child {
		grid-column: span 2;
		grid-row: span 2;
		aspect-ratio: auto;
	}
}

/* ==========================================================================
   Makale altı: etiketler, paylaşım, önceki/sonraki
   ========================================================================== */
.kh-article__foot { margin-top: 48px; }
.kh-article__foot > .kh-share {
	justify-content: space-between;
	padding: 18px 0;
	border-top: 1px solid var(--kh-line);
	border-bottom: 1px solid var(--kh-line);
}
.kh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px !important; }
.kh-tags a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--kh-soft);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--kh-text);
}
.kh-tags a:hover { background: var(--kh-primary-soft); color: var(--kh-primary); }

.kh-pn {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin-top: 32px;
}
@media (min-width: 640px) { .kh-pn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.kh-pn__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--kh-line);
	border-radius: var(--kh-radius);
	background: #fff;
	color: var(--kh-ink) !important;
}
.kh-pn__item:hover { border-color: color-mix(in srgb, var(--kh-primary) 35%, var(--kh-line)); box-shadow: var(--kh-shadow); }
.kh-pn__item--next { flex-direction: row-reverse; text-align: right; }
.kh-pn__item--empty { display: none; }
@media (min-width: 640px) { .kh-pn__item--empty { display: block; visibility: hidden; } }
.kh .kh-pn__img { width: 72px; height: 72px; flex: none; border-radius: var(--kh-radius-sm); object-fit: cover; }
.kh-pn__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kh-pn__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--kh-primary);
}
.kh-pn__item--next .kh-pn__label { justify-content: flex-end; }
.kh-pn__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

/* ==========================================================================
   Yan sütun
   ========================================================================== */
.kh-aside { min-width: 0; border-top: 1px solid var(--kh-line); padding-top: 40px; }
.kh-aside__sticky {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	align-items: start;
}
.kh-box {
	padding: 22px;
	border: 1px solid var(--kh-line);
	border-radius: var(--kh-radius);
	background: #fff;
}
.kh .kh-box__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--kh-ink);
}
.kh .kh-box__title::after { content: ""; flex: 1; height: 1px; background: var(--kh-line); }

.kh-mini { display: grid; gap: 4px; margin-bottom: 14px !important; }
.kh-mini__link {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 8px;
	margin: 0 -8px;
	border-radius: var(--kh-radius-sm);
}
.kh-mini__link:hover { background: var(--kh-soft); }
.kh-mini__img {
	flex: none;
	width: 76px;
	height: 58px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--kh-soft);
}
.kh .kh-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.kh-mini__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kh-mini__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.38;
	color: var(--kh-ink);
}
.kh-mini__link:hover .kh-mini__title { color: var(--kh-primary); }
.kh-mini__date { font-size: 12.5px; color: var(--kh-muted); }

.kh-cats { display: grid; gap: 2px; }
.kh-cats a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 10px;
	margin: 0 -10px;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--kh-text) !important;
}
.kh-cats a:hover { background: var(--kh-soft); color: var(--kh-primary) !important; }
.kh-cats__n {
	min-width: 28px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--kh-soft);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: var(--kh-muted);
}

.kh-box--press {
	border: 0;
	background: linear-gradient(145deg, var(--kh-dark), color-mix(in srgb, var(--kh-primary) 75%, var(--kh-dark)));
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
}
.kh .kh-box--press .kh-box__title { color: #fff; }
.kh .kh-box--press .kh-box__title::after { background: rgba(255, 255, 255, .18); }
.kh-box--press p { margin-bottom: 14px !important; line-height: 1.55; }
.kh-box--press a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	color: #fff !important;
	font-weight: 600;
	word-break: break-all;
}
.kh-box--press a + a { border-top: 1px solid rgba(255, 255, 255, .12); }
.kh-box--press .kh-ico { font-size: 17px; color: var(--kh-accent); }

/* ==========================================================================
   İlgili haberler
   ========================================================================== */
.kh-related {
	margin-top: 56px;
	padding: 64px 0 72px;
	background: var(--kh-soft);
	border-top: 1px solid var(--kh-line);
}

/* ==========================================================================
   Kart ve ızgara
   ========================================================================== */
.kh-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
@media (min-width: 640px) {
	.kh-grid--2,
	.kh-grid--3,
	.kh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.kh-grid { gap: 28px; }
	.kh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.kh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--kh-line);
	border-radius: var(--kh-radius);
	background: #fff;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.kh-card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--kh-shadow-lg);
}
.kh-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--kh-soft);
}
.kh .kh-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.kh-card:hover .kh-card__media img { transform: scale(1.05); }
.kh-card__ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 34px;
	color: color-mix(in srgb, var(--kh-primary) 35%, #fff);
	background: linear-gradient(135deg, var(--kh-soft), var(--kh-primary-soft));
}
.kh-card__count {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(15, 27, 51, .6);
	backdrop-filter: blur(6px);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}
.kh-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 22px;
}
.kh-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-bottom: 10px;
	font-size: 12.5px;
	color: var(--kh-muted);
}
.kh-card__cat {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--kh-primary);
}
.kh-card__cat + time::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-right: 12px;
	border-radius: 50%;
	background: var(--kh-line);
	vertical-align: middle;
}
.kh .kh-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.38;
	letter-spacing: -.01em;
}
.kh .kh-card__title.is-caps { font-size: 15.5px; line-height: 1.45; letter-spacing: 0; }
.kh-card__title a { color: var(--kh-ink) !important; }
.kh-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kh-card:hover .kh-card__title a { color: var(--kh-primary) !important; }
.kh-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 10px !important;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--kh-muted);
}
.kh-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--kh-primary);
}
.kh-card__more .kh-ico { transition: transform .25s ease; }
.kh-card:hover .kh-card__more .kh-ico { transform: translateX(4px); }

/* Manşet kartı (liste sayfası) */
.kh-lead {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin-bottom: 28px;
}
.kh-lead__side { display: grid; gap: 24px; }
@media (min-width: 640px) and (max-width: 1023px) {
	.kh-lead__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.kh-lead { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
	.kh-lead__side { gap: 28px; grid-template-rows: 1fr 1fr; }
	.kh-lead__side .kh-card__media { aspect-ratio: 2 / 1; }
	.kh-lead__side .kh-card__body { padding: 16px 20px 18px; }
	.kh-lead__side .kh-card__title { font-size: 16.5px; -webkit-line-clamp: 2; }
	.kh-lead__side .kh-card__more { padding-top: 10px; }
}

.kh-card--featured { border: 0; min-height: 420px; color: #fff; }
.kh-card--featured .kh-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.kh-card--featured .kh-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 20, 40, 0) 30%, rgba(10, 20, 40, .55) 60%, rgba(10, 20, 40, .92) 100%);
}
.kh-card--featured .kh-card__count { z-index: 2; }
.kh-card--featured .kh-card__body {
	position: relative;
	justify-content: flex-end;
	padding: 32px;
	pointer-events: none;
}
.kh-card--featured .kh-card__body a { pointer-events: auto; }
.kh-card--featured .kh-card__meta { color: rgba(255, 255, 255, .78); }
.kh-card--featured .kh-card__cat {
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--kh-accent);
	color: #fff;
}
.kh-card--featured .kh-card__cat + time::before { background: rgba(255, 255, 255, .4); }
.kh .kh-card--featured .kh-card__title { font-size: clamp(22px, 1.2vw + 16px, 32px); line-height: 1.22; letter-spacing: -.02em; }
.kh .kh-card--featured .kh-card__title.is-caps { font-size: clamp(19px, .8vw + 15px, 26px); line-height: 1.3; }
.kh-card--featured .kh-card__title a,
.kh-card--featured:hover .kh-card__title a { color: #fff !important; }
.kh-card--featured .kh-card__excerpt { max-width: 640px; color: rgba(255, 255, 255, .82); -webkit-line-clamp: 2; }
.kh-card--featured .kh-card__more { margin-top: 0; color: #fff; }
@media (min-width: 1024px) {
	.kh-card--featured { min-height: 100%; }
	.kh-card--featured .kh-card__body { padding: 40px; }
}

/* ==========================================================================
   Liste sayfası
   ========================================================================== */
.kh-archive { background: #fff; padding-bottom: 80px; }
.kh-band {
	position: relative;
	overflow: hidden;
	padding: calc(var(--kh-offset, 0px) + 40px) 0 36px;
	margin-bottom: 44px;
	color: #fff;
	background:
		radial-gradient(900px 400px at 100% 0%, color-mix(in srgb, var(--kh-accent) 45%, transparent), transparent 60%),
		linear-gradient(120deg, var(--kh-dark) 0%, color-mix(in srgb, var(--kh-primary) 85%, var(--kh-dark)) 100%);
}
.kh-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent 30%, #000);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
	pointer-events: none;
}
.kh-band .kh-wrap { position: relative; z-index: 1; }
.kh-band__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-top: 22px;
}
.kh .kh-band__title {
	font-size: clamp(30px, 2vw + 20px, 48px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: #fff;
}
.kh-band__desc {
	max-width: 620px;
	margin-top: 12px !important;
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .78);
}
.kh-search {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 340px;
	padding: 5px 5px 5px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4);
}
.kh-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: var(--kh-font);
	font-size: 15px;
	color: var(--kh-ink);
	outline: none;
}
.kh-search button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--kh-primary);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
}
.kh-search button:hover { background: var(--kh-dark); }

.kh-filter {
	display: flex;
	gap: 8px;
	margin-top: 28px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.kh-filter::-webkit-scrollbar { display: none; }
.kh-filter a {
	flex: none;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, .88) !important;
}
.kh-filter a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); }
.kh-filter a[aria-current] { background: #fff; border-color: #fff; color: var(--kh-primary) !important; font-weight: 600; }

.kh-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 56px;
}
.kh-pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--kh-line);
	border-radius: var(--kh-radius-sm);
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	color: var(--kh-ink) !important;
}
.kh-pager a.page-numbers:hover { border-color: var(--kh-primary); color: var(--kh-primary) !important; }
.kh-pager .page-numbers.current { background: var(--kh-primary); border-color: var(--kh-primary); color: #fff !important; }
.kh-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; }
.kh-pager .kh-ico { font-size: 18px; }

.kh-empty {
	max-width: 480px;
	margin: 40px auto;
	padding: 48px 32px;
	border: 1px dashed var(--kh-line);
	border-radius: var(--kh-radius);
	text-align: center;
	color: var(--kh-muted);
}
.kh-empty > .kh-ico { font-size: 40px; color: var(--kh-primary); opacity: .5; }
.kh .kh-empty h2 { margin: 14px 0 8px; font-size: 22px; }
.kh-btn {
	display: inline-flex;
	margin-top: 20px;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--kh-primary);
	font-weight: 600;
	color: #fff !important;
}
.kh-btn:hover { background: var(--kh-dark); }

/* Kısa kod bölümü */
.kh-sc { margin: 0; }
.kh-sc .kh-sechead { margin-bottom: 24px; }

/* ==========================================================================
   Işık kutusu (galeri)
   ========================================================================== */
.kh-lb {
	--kh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	background: rgba(7, 12, 24, .96);
	color: #fff;
	font-family: var(--kh-font);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility 0s linear .25s;
	-webkit-tap-highlight-color: transparent;
}
.kh-lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
/* Tema buton stillerini sıfırla */
.kh-lb button,
.kh .kh-search button,
.kh .kh-share__btn {
	margin: 0;
	min-width: 0;
	min-height: 0;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	text-shadow: none;
}
.kh-lb button::before,
.kh-lb button::after,
.kh .kh-search button::before,
.kh .kh-search button::after,
.kh .kh-share__btn::before,
.kh .kh-share__btn::after { content: none; }
.kh-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 14px 24px;
}
.kh-lb__count { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.kh-lb__tools { display: flex; gap: 6px; }
.kh-lb__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s ease;
}
.kh-lb__btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.kh-lb__btn:focus-visible { outline: 2px solid var(--kh-accent, #3fa9df); outline-offset: 2px; }
.kh-lb__stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 0;
	padding: 0 72px;
	overflow: hidden;
	touch-action: pan-y;
}
.kh-lb__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
	user-select: none;
	-webkit-user-drag: none;
	transition: opacity .25s ease, transform .25s ease;
}
.kh-lb__img.is-loading { opacity: 0; transform: scale(.985); }
.kh-lb__spinner {
	position: absolute;
	width: 36px;
	height: 36px;
	border: 3px solid rgba(255, 255, 255, .15);
	border-top-color: #fff;
	border-radius: 50%;
	animation: kh-spin .8s linear infinite;
	opacity: 0;
	transition: opacity .2s ease;
}
.kh-lb.is-loading .kh-lb__spinner { opacity: 1; }
@keyframes kh-spin { to { transform: rotate(360deg); } }
.kh-lb__nav {
	position: absolute;
	top: 50%;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	font-size: 22px;
}
.kh-lb__nav--prev { left: 12px; }
.kh-lb__nav--next { right: 12px; }
.kh-lb__caption {
	min-height: 22px;
	max-width: 900px;
	margin: 0 auto;
	padding: 14px 24px 4px;
	font-size: 14.5px;
	line-height: 1.5;
	text-align: center;
	color: rgba(255, 255, 255, .82);
}
.kh-lb__thumbs {
	display: flex;
	justify-content: safe center;
	gap: 8px;
	padding: 12px 16px 18px;
	overflow-x: auto;
	scrollbar-width: none;
}
.kh-lb__thumbs::-webkit-scrollbar { display: none; }
.kh-lb__thumb {
	flex: none;
	width: 72px;
	height: 50px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
	opacity: .5;
	cursor: pointer;
	transition: opacity .2s ease, border-color .2s ease;
}
.kh-lb__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kh-lb__thumb:hover { opacity: .85; }
.kh-lb__thumb[aria-current="true"] { opacity: 1; border-color: #fff; }
.kh-lb-lock { overflow: hidden !important; }

@media (max-width: 767px) {
	.kh-lb__stage { padding: 0 8px; }
	.kh-lb__nav { top: auto; bottom: 8px; margin-top: 0; background: rgba(0, 0, 0, .45); }
	.kh-lb__thumbs { display: none; }
	.kh-lb__caption { padding-bottom: 18px; }
}

/* ==========================================================================
   Duyarlı ayarlar
   ========================================================================== */
@media (max-width: 767px) {
	.kh-wrap { padding-inline: 16px; }
	.kh-head { padding: calc(var(--kh-offset, 0px) + 22px) 0 24px; }
	.kh-chip { margin-top: 20px; }
	.kh-meta { flex-direction: column; align-items: flex-start; }
	.kh-cover { margin-inline: -16px; }
	.kh-cover__link { border-radius: 0; box-shadow: none; }
	.kh .kh-cover__img { aspect-ratio: 3 / 2; }
	.kh-cover .kh-caption { padding-inline: 16px; }
	.kh-layout { padding-top: 32px; gap: 40px; }
	.kh-content { font-size: 17px; line-height: 1.75; }
	.kh-content h2 { font-size: 22px; }
	.kh-content h3 { font-size: 19px; }
	.kh-content blockquote { padding: 18px 20px; font-size: 18px; }
	.kh-gallery { margin-top: 40px; }
	.kh-article__foot > .kh-share { flex-direction: column; align-items: flex-start; }
	.kh-related { padding: 48px 0 56px; margin-top: 40px; }
	.kh-band { padding: calc(var(--kh-offset, 0px) + 28px) 0 28px; margin-bottom: 32px; }
	.kh-search { max-width: none; }
	.kh-card--featured { min-height: 400px; }
	.kh-card--featured .kh-card__body { padding: 22px; }
	.kh-card--featured .kh-card__excerpt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.kh *,
	.kh-lb * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
	.kh-card:hover { transform: none; }
}

/* ==========================================================================
   Yazdırma
   ========================================================================== */
@media print {
	#ct-header-wrap,
	#colophon,
	.site-footer-custom,
	.kh-progress,
	.kh-share,
	.kh-aside,
	.kh-related,
	.kh-pn,
	.kh-crumbs,
	.kh-cover__zoom,
	.kh-gallery { display: none !important; }
	.kh-head { background: none; padding: 0 0 12px; }
	.kh-layout { display: block; padding-top: 16px; }
	.kh-article { max-width: none; }
	.kh .kh-cover__img { aspect-ratio: auto; max-height: 9cm; }
	.kh-cover__link { box-shadow: none; }
	.kh-content { font-size: 11.5pt; line-height: 1.6; color: #000; }
	.kh-content a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
