/*
 * Web Sitesi Tercümesi · w02 "Web Sitesi Tercümesi Nedir?" (.bt-hs--ws-tanim, tutamaç bt-hs-ws-tanim).
 * Figma 820:2097 (1440 × 743) / 820:2435 (390 × 1575). Bant: beyaz (light), ana sayfa ritmi (--hs-pad-y).
 * Izgara 500 | 628 (aralık 72); ≤1024 px alt alta (aralık 32). Madde paneli lacivert-açık, köşe 24, dolgu 8 | 32;
 * madde: süs görseli 240 + 24 + metin (masaüstü), mobilde görsel tam genişlik üstte, metin altta (aralık 14).
 * Figma metin kutuları tam piksele yuvarlanır (41.75 → 42, 76.8 → 77 …): küçük alt dolgularla aynı ritim korunur.
 * Kod satırları (Figma Geist Mono) sistem eş aralıklı yazı tipiyle çizilir.
 */

.bt-hs--ws-tanim {
	--ws-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------------------------------------------------------------- Izgara */

.bt-hs--ws-tanim .ws-tanim__grid {
	display: grid;
	grid-template-columns: minmax(0, 500fr) minmax(0, 628fr);
	align-items: start;
	gap: 72px;
}

.bt-hs--ws-tanim .ws-tanim__grid--single {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------------------------------------------------------------- Metin sütunu */

.bt-hs--ws-tanim .ws-tanim__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	min-width: 0;
}

.bt-hs--ws-tanim .ws-tanim__kicker {
	min-height: 20px;
}

.bt-hs--ws-tanim .ws-tanim__h2 {
	padding-bottom: 0.25px;
	color: var(--hs-navy-deep-900);
}

/* Tanım: Body/Lead (21/32.55 · 18/27.9), mürekkep. */
.bt-hs--ws-tanim .ws-tanim__lead {
	padding-bottom: 0.15px;
	color: var(--hs-ink);
	font-size: var(--hs-fs-lead);
	line-height: var(--hs-lh-lead);
}

/* Fark: Body/Body 17/27.2, mürekkep; bağlantı yarı kalın lacivert, yazı tipinin alt çizgisi. */
.bt-hs--ws-tanim .ws-tanim__diff {
	padding-bottom: 0.4px;
	color: var(--hs-ink);
	font-size: var(--hs-fs-body);
	line-height: 27.2px;
}

.bt-hs--ws-tanim .ws-tanim__diff a {
	font-weight: 600;
}

/* Sonraki bölüm bağlantısı: Figma'da altın çizgi yok (düz lacivert 16/600 + 20 px ok, aralık 8). */
.bt-hs--ws-tanim .ws-tanim__next {
	display: flex;
	align-self: stretch;
}

.bt-hs--ws-tanim .ws-tanim__next .bt-hs-link {
	position: relative;
	gap: 8px;
	min-height: 20px;
	padding-bottom: 0;
	background: none;
	line-height: 19.2px;
}

.bt-hs--ws-tanim .ws-tanim__next .bt-hs-link .bt-icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.bt-hs--ws-tanim .ws-tanim__next .bt-hs-link:hover .bt-hs-link__label {
	text-decoration: underline 2px var(--hs-gold);
	text-underline-offset: 4px;
}

/* 44 px dokunma alanı; yerleşimi değiştirmez. */
.bt-hs--ws-tanim .ws-tanim__next .bt-hs-link::after {
	content: "";
	position: absolute;
	inset: -12px 0;
}

/* ---------------------------------------------------------------- Madde paneli */

.bt-hs--ws-tanim .ws-tanim__points {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 8px 32px;
	border-radius: var(--hs-radius-band);
	background: var(--hs-navy-tint);
	list-style: none;
}

.bt-hs--ws-tanim .ws-tanim__point {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 24px 0;
}

.bt-hs--ws-tanim .ws-tanim__point + .ws-tanim__point {
	border-top: 1px solid var(--hs-navy-tint-line);
}

.bt-hs--ws-tanim .ws-tanim__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bt-hs--ws-tanim .ws-tanim__title {
	color: var(--hs-navy);
	font-size: var(--hs-fs-h3);
	font-weight: 600;
	line-height: 26px;
	letter-spacing: -0.005em;
}

.bt-hs--ws-tanim .ws-tanim__point-text {
	padding-bottom: 0.2px;
	color: var(--hs-muted);
	font-size: var(--hs-fs-body-16);
	line-height: 25.6px;
}

/* ---------------------------------------------------------------- Süs görselleri (aria-hidden) */

.bt-hs--ws-tanim .ws-tanim__visual {
	display: flex;
	flex: 0 0 240px;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
	padding: 16px;
	border-radius: 16px;
	background: var(--hs-white);
	color: var(--hs-ink);
}

/* 1 · Dar alana sığan düğme: kesik çerçeveli 176 × 52 alan (1.5 px navy-500) içinde TR düğme, altında EN düğme. */
.bt-hs--ws-tanim .ws-tanim__slot {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 176px;
	max-width: 100%;
	height: 52px;
	padding: 11.5px;
	border-radius: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' rx='10' fill='none' stroke='%232F4675' stroke-width='3' stroke-dasharray='6 5'/%3E%3C/svg%3E");
}

.bt-hs--ws-tanim .ws-tanim__btn {
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--hs-navy);
	color: var(--hs-white);
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	white-space: nowrap;
}

.bt-hs--ws-tanim .ws-tanim__btn--gold {
	background: var(--hs-gold);
	color: var(--hs-navy);
}

/* 2 · Dağınık arayüz dizeleri: menü hapları, form etiketi + hata, yasal bağlantılar. */
/* Haplar tek satır; Figma'da sıra kartın sağ dolgusuna taşar (218 > 208), kart kırpar. */
.bt-hs--ws-tanim .ws-tanim__chips {
	display: flex;
	gap: 8px;
	max-width: calc(100% + 16px);
}

.bt-hs--ws-tanim .ws-tanim__chip {
	padding: 4px 10px;
	border-radius: var(--hs-radius-pill);
	background: var(--hs-surface);
	color: var(--hs-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 15px;
	white-space: nowrap;
}

.bt-hs--ws-tanim .ws-tanim__form {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	line-height: 15px;
}

.bt-hs--ws-tanim .ws-tanim__label {
	color: var(--hs-ink);
	font-weight: 600;
}

.bt-hs--ws-tanim .ws-tanim__error {
	color: var(--hs-error);
}

.bt-hs--ws-tanim .ws-tanim__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	color: var(--hs-muted);
	font-size: 11px;
	line-height: 14px;
}

/* 3 · Arka plan metinleri: altın açık zemin, 1.5 px kesik altın çerçeve, kod satırları (11/16 navy-500). */
/* Kesik çerçeve SVG ile (Figma 1.5 px, çizgi 6 / boşluk 5; CSS dashed 1x ekranda 1 px ve sık çizer). */
.bt-hs--ws-tanim .ws-tanim__visual--code {
	padding: 17.5px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' rx='16' fill='none' stroke='%23F1BA4F' stroke-width='3' stroke-dasharray='6 5'/%3E%3C/svg%3E") var(--hs-gold-tint);
}

.bt-hs--ws-tanim .ws-tanim__code {
	display: block;
	align-self: stretch;
	color: var(--hs-navy-500);
	font-family: var(--ws-mono);
	font-size: 11px;
	line-height: 16px;
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- Tablet: alt alta */

@media (max-width: 1024px) {
	.bt-hs--ws-tanim .ws-tanim__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.bt-hs--ws-tanim .ws-tanim__text {
		max-width: 760px;
	}
}

/* ---------------------------------------------------------------- Mobil (Figma 390) */

@media (max-width: 767px) {
	.bt-hs--ws-tanim .ws-tanim__grid {
		gap: 32px;
	}

	/* Figma metin kutularını yukarı yuvarlar: H2 29.12 → 30, tanım 223.2 → 224, fark 108.8 → 109. */
	.bt-hs--ws-tanim .ws-tanim__h2 {
		padding-bottom: 0.88px;
	}

	.bt-hs--ws-tanim .ws-tanim__lead {
		padding-bottom: 0.8px;
	}

	.bt-hs--ws-tanim .ws-tanim__diff {
		padding-bottom: 0.2px;
	}

	/* Bağlantı tam genişlik: metin kırılırsa ok sağda, üstte kalır. */
	.bt-hs--ws-tanim .ws-tanim__next .bt-hs-link {
		align-items: flex-start;
	}

	.bt-hs--ws-tanim .ws-tanim__points {
		padding: 8px 20px;
		border-radius: var(--hs-radius-band);
	}

	.bt-hs--ws-tanim .ws-tanim__point {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.bt-hs--ws-tanim .ws-tanim__visual {
		flex: none;
		width: 100%;
	}

	.bt-hs--ws-tanim .ws-tanim__body {
		flex: none;
	}
}

@media (forced-colors: active) {
	.bt-hs--ws-tanim .ws-tanim__points,
	.bt-hs--ws-tanim .ws-tanim__visual {
		border: 1px solid CanvasText;
	}
}
