/* Kalistack — "Hosting Kütüphanesi" sayfası (kkt-)
 *
 * Sayfanın kendi dili: kâğıt beji, koyu yeşil vurgu ve CSS ile çizilmiş
 * kitap sırtları. Görsel dosya yok.
 */

.kkt-kap { background: #FBF9F4; }
.kkt-kap--gece { background: #14312A; }

.kkt {
	--kkt-vurgu: #166534;
	--kkt-vurgu-acik: #ECFDF3;
	--kkt-ink: #292524;
	--kkt-sus: #78716C;
	--kkt-cizgi: #E7E2D8;
	--kkt-yzy: #FFFFFF;
	--kkt-gece: #14312A;
	--kkt-gece2: #1D4034;
	--kkt-gececizgi: #2F5A4A;
	--kkt-gecemetin: #C9DED4;
	max-width: 1120px;
	margin: 0 auto;
}

/* Ortak tepe */
.kkt-tepe { margin-bottom: 32px; }
.kkt-etiket {
	display: inline-block; margin: 0 0 12px;
	font-size: 11.5px; font-weight: 800;
	letter-spacing: .18em; text-transform: uppercase; color: var(--kkt-vurgu);
}
.kkt-bas { margin: 0 0 10px; font-size: 30px; line-height: 1.22; font-weight: 800; color: var(--kkt-ink); }
.kkt-ack { margin: 0; max-width: 700px; font-size: 15px; line-height: 1.7; color: var(--kkt-sus); }
.kkt--gece .kkt-bas { color: #F7FBF9; }
.kkt--gece .kkt-ack { color: var(--kkt-gecemetin); }
.kkt--gece .kkt-etiket { color: #6EE7B7; }

.kkt-altnot { margin: 26px 0 0; max-width: 780px; font-size: 13px; line-height: 1.7; color: var(--kkt-sus); }
.kkt-gizli {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.kkt-btn {
	display: inline-block;
	padding: 13px 24px; border-radius: 9px;
	font-size: 14.5px; font-weight: 700; text-decoration: none;
	border: 1px solid #6EE7B7;
	background: #6EE7B7; color: #0B2B22;
	transition: filter .18s ease;
}
.kkt-btn:hover { filter: brightness(1.08); color: #0B2B22; }

/* =====================================================================
 * 1) Raf
 * ================================================================== */
.kkt-giris {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.kkt-h1 { margin: 0 0 16px; font-size: 40px; line-height: 1.14; font-weight: 800; color: var(--kkt-ink); }
.kkt-girisack { margin: 0; font-size: 16.5px; line-height: 1.72; color: var(--kkt-sus); }
.kkt-gnot { margin: 18px 0 0; font-size: 13px; line-height: 1.65; color: var(--kkt-sus); }

.kkt-raf { position: relative; }
.kkt-sirtlar {
	display: flex; align-items: flex-end; justify-content: center;
	gap: 7px;
	min-height: 210px;
	padding: 0 6px;
}
.kkt-sirt {
	position: relative;
	flex: 1 1 auto; max-width: 62px;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
	padding: 14px 4px 10px;
	border: 0; border-radius: 3px 3px 0 0;
	font-family: inherit;
	color: #fff;
	cursor: pointer;
	box-shadow: inset -3px 0 0 rgba(0, 0, 0, .13);
	transition: transform .16s ease, filter .16s ease;
}
.kkt-sirt:hover { transform: translateY(-6px); filter: brightness(1.08); }
.kkt-sirt:focus-visible { outline: 2px solid var(--kkt-ink); outline-offset: 3px; }
.kkt-sirt--b1 { height: 150px; }
.kkt-sirt--b2 { height: 178px; }
.kkt-sirt--b3 { height: 204px; }
.kkt-sirt--t1 { background: #166534; }
.kkt-sirt--t2 { background: #B45309; }
.kkt-sirt--t3 { background: #1E3A5F; }
.kkt-sirt--t4 { background: #A16207; }
.kkt-sirt--t5 { background: #7F1D1D; }
.kkt-sirt--t6 { background: #57534E; }
.kkt-sad {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 13.5px; font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}
.kkt-sadet {
	margin-top: auto;
	font-size: 10.5px; font-weight: 700;
	opacity: .75;
}
.kkt-tahta {
	display: block; height: 12px;
	border-radius: 3px;
	background: #C8B79A;
	box-shadow: 0 6px 14px -8px rgba(41, 37, 36, .6);
}
.kkt-rafyazi { margin: 14px 0 0; font-size: 12.5px; color: var(--kkt-sus); text-align: center; }

/* =====================================================================
 * 2) Kartotek
 * ================================================================== */
.kkt-arac { margin-bottom: 22px; }
.kkt-aramaalan { display: block; margin-bottom: 14px; }
.kkt-arama {
	width: 100%;
	min-height: 50px; padding: 13px 18px;
	border: 1px solid var(--kkt-cizgi); border-radius: 10px;
	background: var(--kkt-yzy);
	font-family: inherit; font-size: 15px; color: var(--kkt-ink);
}
.kkt-arama:focus {
	outline: 0;
	border-color: var(--kkt-vurgu);
	box-shadow: 0 0 0 3px rgba(22, 101, 52, .14);
}
.kkt-kategoriler { display: flex; flex-wrap: wrap; gap: 8px; }
.kkt-kat {
	padding: 8px 15px; border-radius: 999px;
	border: 1px solid var(--kkt-cizgi);
	background: var(--kkt-yzy); color: var(--kkt-sus);
	font-family: inherit; font-size: 13px; font-weight: 600;
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.kkt-kat:hover { border-color: var(--kkt-vurgu); color: var(--kkt-ink); }
.kkt-kat[aria-pressed="true"] { background: var(--kkt-vurgu); border-color: var(--kkt-vurgu); color: #fff; }
.kkt-kat:focus-visible { outline: 2px solid var(--kkt-vurgu); outline-offset: 2px; }
.kkt-sayac { margin: 12px 0 0; font-size: 12.5px; color: var(--kkt-sus); }

.kkt-kayitlar { border-top: 1px solid var(--kkt-cizgi); }
.kkt-kayit { border-bottom: 1px solid var(--kkt-cizgi); }
.kkt-kayit[hidden] { display: none; }
.kkt-kbas { margin: 0; }
.kkt-kac {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	width: 100%; padding: 20px 4px;
	background: none; border: 0;
	font-family: inherit; text-align: left; cursor: pointer;
}
.kkt-kac:focus-visible { outline: 2px solid var(--kkt-vurgu); outline-offset: -2px; }
.kkt-kmetin { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kkt-ksoru { font-size: 16.5px; font-weight: 700; line-height: 1.4; color: var(--kkt-ink); }
.kkt-kozet { font-size: 13.5px; line-height: 1.55; color: var(--kkt-sus); }
.kkt-kmeta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.kkt-krozet {
	padding: 4px 11px; border-radius: 999px;
	background: var(--kkt-vurgu-acik);
	font-size: 11.5px; font-weight: 700; color: var(--kkt-vurgu);
	white-space: nowrap;
}
.kkt-ksure { font-size: 12px; color: #A8A29E; white-space: nowrap; }
.kkt-kok {
	position: relative;
	width: 13px; height: 13px; flex: 0 0 auto;
}
.kkt-kok::before, .kkt-kok::after {
	content: '';
	position: absolute; left: 50%; top: 50%;
	background: var(--kkt-sus);
	transform: translate(-50%, -50%);
	transition: opacity .16s ease, transform .16s ease;
}
.kkt-kok::before { width: 13px; height: 2px; }
.kkt-kok::after { width: 2px; height: 13px; }
.kkt-kac[aria-expanded="true"] .kkt-kok::after { opacity: 0; }
.kkt-kac[aria-expanded="true"] .kkt-ksoru { color: var(--kkt-vurgu); }
.kkt-cevap { padding: 0 4px 24px; max-width: 780px; }
.kkt-cevap p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.75; color: #44403C; }
.kkt-cevap p:last-child { margin-bottom: 0; }
.kkt-bos {
	margin: 24px 0 0; padding: 22px;
	border: 1px dashed var(--kkt-cizgi); border-radius: 12px;
	font-size: 14px; line-height: 1.7; color: var(--kkt-sus);
}

/* =====================================================================
 * 3) Hızlı cevap
 * ================================================================== */
.kkt-hizli {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 18px;
}
.kkt-hkart {
	padding: 26px 24px;
	border-radius: 14px;
	background: var(--kkt-yzy);
	border: 1px solid var(--kkt-cizgi);
}
.kkt-hsoru { margin: 0 0 14px; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--kkt-ink); }
.kkt-hkisa {
	margin: 0 0 14px; padding: 14px 16px;
	border-radius: 10px;
	background: var(--kkt-vurgu-acik);
	font-size: 14.5px; line-height: 1.6; font-weight: 600; color: #14532D;
}
.kkt-hetiket {
	display: block; margin-bottom: 4px;
	font-size: 10.5px; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; color: var(--kkt-vurgu);
}
.kkt-huzun { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--kkt-sus); }

/* =====================================================================
 * 4) Sözlük
 * ================================================================== */
.kkt-sozluk {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 4px 34px;
	margin: 0;
}
.kkt-terim { padding: 16px 0; border-bottom: 1px solid var(--kkt-cizgi); }
.kkt-tbas { margin: 0 0 5px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; }
.kkt-tad { font-size: 15.5px; font-weight: 800; color: var(--kkt-ink); }
.kkt-tacilim { font-size: 12.5px; color: #A8A29E; }
.kkt-tkarsilik { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--kkt-sus); }

/* =====================================================================
 * 5) Okuma sırası
 * ================================================================== */
.kkt-yollar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 18px;
}
.kkt-yol {
	padding: 26px 24px;
	border-radius: 14px;
	background: var(--kkt-yzy);
	border: 1px solid var(--kkt-cizgi);
	border-top: 3px solid var(--kkt-vurgu);
}
.kkt-ykim { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--kkt-ink); }
.kkt-yack { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--kkt-sus); }
.kkt-ysira { list-style: none; margin: 0; padding: 0; counter-reset: kkty; }
.kkt-ymad {
	position: relative;
	padding: 9px 0 9px 32px;
	font-size: 14px; line-height: 1.55; color: var(--kkt-ink);
	border-bottom: 1px dashed var(--kkt-cizgi);
}
.kkt-ymad:last-child { border-bottom: 0; }
.kkt-ymad::before {
	counter-increment: kkty;
	content: counter(kkty);
	position: absolute; left: 0; top: 9px;
	display: grid; place-items: center;
	width: 21px; height: 21px; border-radius: 50%;
	background: var(--kkt-vurgu-acik);
	font-size: 11px; font-weight: 800; color: var(--kkt-vurgu);
}

/* =====================================================================
 * 6) Soru gönder
 * ================================================================== */
.kkt-gonder {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 42px;
	align-items: start;
}
.kkt-gliste { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.kkt-gmad {
	position: relative; padding-left: 22px;
	font-size: 14.5px; line-height: 1.6; color: var(--kkt-gecemetin);
}
.kkt-gmad::before {
	content: '';
	position: absolute; left: 0; top: .55em;
	width: 9px; height: 9px; border-radius: 2px;
	background: #6EE7B7;
}
.kkt-gsag2 {
	padding: 24px 22px;
	border-radius: 12px;
	background: var(--kkt-gece2);
	border: 1px solid var(--kkt-gececizgi);
}
.kkt-nbas { margin: 0 0 10px; font-size: 16px; font-weight: 800; color: #F7FBF9; }
.kkt-nmetin { margin: 0; font-size: 13.5px; line-height: 1.75; color: #9DBBB0; }

/* =====================================================================
 * Duyarlı
 * ================================================================== */
@media ( max-width: 1024px ) {
	.kkt-giris { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.kkt-gonder { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.kkt-h1 { font-size: 33px; }
	.kkt-bas { font-size: 25px; }
}

@media ( max-width: 760px ) {
	.kkt-h1 { font-size: 27px; }
	.kkt-bas { font-size: 22px; }
	.kkt-girisack { font-size: 15px; }
	/* Raf dar ekranda yatay kaydırılır; sırtlar sıkışıp okunmaz hâle gelmesin. */
	.kkt-sirtlar { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
	.kkt-sirt { flex: 0 0 52px; max-width: 52px; }
	.kkt-kac { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 2px; }
	.kkt-kmeta { width: 100%; justify-content: flex-start; }
	.kkt-kok { margin-left: auto; }
	.kkt-cevap { padding: 0 2px 20px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.kkt-sirt, .kkt-kat, .kkt-kok::before, .kkt-kok::after, .kkt-btn { transition: none; }
}
