/*
 * Yeminli Tercüme · y02 "Yeminli Tercüme Nedir?" (.bt-hs--yt-tanim, tutamaç bt-hs-yt-tanim).
 * Figma 410:2457 (1440) / 410:2690 (390). Bant: beyaz (light), ana sayfa ritmi (--hs-pad-y: 86.4 / 72 / 56).
 * H2 satırı · 40 (mobil 32) · bento: tanım karosu | yeminli tercüman kartı (aralık 24, mobilde alt alta 16).
 * Karolar: 1 px çizgi + 40 dolgu (Figma "strokes included in layout"), köşe 32 (mobil 24), aralık 24 (mobil 20).
 */

/* ---------------------------------------------------------------- Baş ve ızgara */

.bt-hs--yt-tanim .yt-tanim__head + .yt-tanim__grid {
	margin-top: var(--hs-space-40);
}

/* Figma: 1fr 480px. 1200 px kapta 1.45fr:1fr ile aynı sonuç (696 + 24 + 480); daha dar masaüstünde oran korunur. */
.bt-hs--yt-tanim .yt-tanim__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	align-items: stretch;
	gap: var(--hs-space-24);
}

.bt-hs--yt-tanim .yt-tanim__tile:only-child {
	grid-column: 1 / -1;
}

/* ---------------------------------------------------------------- Karolar */

.bt-hs--yt-tanim .yt-tanim__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--hs-space-24);
	min-width: 0;
	padding: var(--hs-space-40);
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius-panel);
	background: var(--hs-white);
	color: var(--hs-ink);
}

/* Tanım karosu: lacivert-açık zemin + sağ altta altın ışıma (Figma radyal: merkez sağ alt köşe, yarıçap %60 × %42,
   #F6D48A %40 → %0) ve kesilen iki dekor halka. */
.bt-hs--yt-tanim .yt-tanim__answer {
	overflow: hidden;
	border-color: var(--hs-navy-tint-line);
	background:
		radial-gradient(60% 42% at 100% 100%, rgba(246, 212, 138, 0.4) 0%, rgba(246, 212, 138, 0) 100%) border-box,
		var(--hs-navy-tint);
}

.bt-hs--yt-tanim .yt-tanim__ring {
	position: absolute;
	border-style: solid;
	border-radius: 50%;
	pointer-events: none;
}

.bt-hs--yt-tanim .yt-tanim__ring--lg {
	right: -175px;
	bottom: -247px;
	width: 300px;
	height: 300px;
	border-width: 1.5px;
	border-color: var(--hs-gold-a50);
}

.bt-hs--yt-tanim .yt-tanim__ring--sm {
	right: -115px;
	bottom: -147px;
	width: 180px;
	height: 180px;
	border-width: 1px;
	border-color: var(--hs-gold-a26);
}

/* Simge kutusu (48, köşe 12): tanımda beyaz + 1 px çizgi, kartta lacivert-açık. Simgeler Figma konumunda: dosya
   glifi DS 24'lük kutunun sol üst 18'inde durur (kutudan 12 px içeride), mühür 24'lük kutuda ortalı. */
.bt-hs--yt-tanim .yt-tanim__mark {
	position: relative;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: var(--hs-radius-row);
	background: var(--hs-navy-tint);
	color: var(--hs-navy);
}

.bt-hs--yt-tanim .yt-tanim__mark--file {
	border: 1px solid var(--hs-line);
	background: var(--hs-white);
}

.bt-hs--yt-tanim .yt-tanim__mark svg {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 24px;
	height: 24px;
	max-width: none;
}

/* Çerçeveli kutuda konum dolgu kutusuna göredir: 1 px çerçeve + 11 = dış kenardan 12. */
.bt-hs--yt-tanim .yt-tanim__mark--file svg {
	top: 11px;
	left: 11px;
}

/* ---------------------------------------------------------------- Metin */

.bt-hs--yt-tanim .yt-tanim__definition {
	position: relative;
	max-width: none;
	color: var(--hs-ink);
}

.bt-hs--yt-tanim .yt-tanim__text {
	font-size: var(--hs-fs-body);
	line-height: var(--hs-lh-body);
}

.bt-hs--yt-tanim .yt-tanim__next {
	display: flex;
}

/* Figma Button/Text link: satır 20 + 3 + 2 px altın çizgi = 25 (s02 ile aynı). */
.bt-hs--yt-tanim .yt-tanim__next .bt-hs-link {
	position: relative;
	padding-bottom: 5.8px;
}

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

/* ---------------------------------------------------------------- Tablet */

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

	.bt-hs--yt-tanim .yt-tanim__tile {
		padding: var(--hs-space-32);
	}
}

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

@media (max-width: 767px) {
	.bt-hs--yt-tanim .yt-tanim__head + .yt-tanim__grid {
		margin-top: var(--hs-space-32);
	}

	.bt-hs--yt-tanim .yt-tanim__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--hs-space-16);
	}

	.bt-hs--yt-tanim .yt-tanim__tile {
		gap: 20px;
		padding: var(--hs-space-24);
		border-radius: var(--hs-radius-bento);
	}

	/* Figma 390 ışıma: yarıçap %75 × %30. */
	.bt-hs--yt-tanim .yt-tanim__answer {
		background:
			radial-gradient(75% 30% at 100% 100%, rgba(246, 212, 138, 0.4) 0%, rgba(246, 212, 138, 0) 100%) border-box,
			var(--hs-navy-tint);
	}

	.bt-hs--yt-tanim .yt-tanim__ring--lg {
		right: -83px;
		bottom: -85px;
		width: 136px;
		height: 136px;
	}

	.bt-hs--yt-tanim .yt-tanim__ring--sm {
		right: -41px;
		bottom: -43px;
		width: 80px;
		height: 80px;
	}

	.bt-hs--yt-tanim .yt-tanim__mark {
		width: 44px;
		height: 44px;
	}

	/* Figma 390: dosya glifi ölçeklenmez (dış kenardan 11), mühür 22'ye ölçeklenir (dış kenardan 11). */
	.bt-hs--yt-tanim .yt-tanim__mark--file svg {
		top: 10px;
		left: 10px;
	}

	.bt-hs--yt-tanim .yt-tanim__mark--stamp svg {
		top: 11px;
		left: 11px;
		width: 22px;
		height: 22px;
	}

	.bt-hs--yt-tanim .yt-tanim__text {
		font-size: var(--hs-fs-body-16);
	}

	/* Figma 390: bağlantı 44 px yüksek dokunma alanında, içerik dikeyde ortalı. */
	.bt-hs--yt-tanim .yt-tanim__next {
		align-items: center;
		min-height: var(--hs-touch);
	}
}

@media (forced-colors: active) {
	.bt-hs--yt-tanim .yt-tanim__ring {
		display: none;
	}
}
