/*
 * Yeminli Tercüme · y04b tercüman (#y04b-tercuman) — Figma 600:3309 (1440) / 601:3150 (390). Yalnız .bt-hs--yt-tercuman
 * kapsamında. Ölçüler: bt-home-design/pages/yeminli-tercume/build/refs/yt-tercuman/spec.json.
 * Izgara: baş, çift ve ayak aynı iki sütunu paylaşır (1200'de 648 | 504, aralık 48 → oran 648fr / 504fr).
 * Kesme noktaları: masaüstü taban · ≤900 px baş ve ayak alt alta (çift iki sütun kalır) · ≤767 px mobil (Figma 390).
 * Figma metin kutuları satır yüksekliği toplamını tam piksele yuvarlar (41.75 × 2 → 84); bölüm yüksekliğini tutturmak
 * için ilgili metinlere 0,25–0,75 px alt dolgu verilir (görünmez).
 */

/* ---------------------------------------------------------------- Bölüm, zemin */

.bt-hs--yt-tercuman {
	--yt4b-on-dark: var(--hs-on-dark);                /* #D9D7E0 gövde metni */
	--yt4b-cool-muted: var(--hs-on-navy-cool-muted);  /* #AAB2C5 notlar */
	--yt4b-line: var(--hs-white-a18);                 /* çift çizgileri ve ayırıcı */
	--yt4b-gap: 48px;
	--yt4b-cols: minmax(0, 648fr) minmax(0, 504fr);
}

/* Figma: color/navy + iki eliptik ışıma (gradientTransform'dan): #3D5A96 %34, merkez (%80, %30), yarıçap %38 × %60;
   üstte #F1BA4F %6, merkez (%80, %27), yarıçap %20 × %32. Figma'da son dolgu üsttedir; CSS'te ilk katman üsttedir. */
.bt-hs--yt-tercuman[data-band="navy"] {
	background:
		radial-gradient(20% 32% at 80% 27%, rgba(241, 186, 79, 0.06) 0%, rgba(241, 186, 79, 0) 100%),
		radial-gradient(38% 60% at 80% 30%, rgba(61, 90, 150, 0.34) 0%, rgba(61, 90, 150, 0) 100%),
		var(--hs-navy);
}

.bt-hs--yt-tercuman .bt-hs__inner {
	display: flex;
	flex-direction: column;
	gap: var(--yt4b-gap);
}

/* ---------------------------------------------------------------- Baş: başlık | ses dalgası */

.bt-hs--yt-tercuman .yt-tercuman__head {
	display: grid;
	grid-template-columns: var(--yt4b-cols);
	column-gap: var(--yt4b-gap);
	align-items: center;
}

.bt-hs--yt-tercuman .yt-tercuman__heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.bt-hs--yt-tercuman .yt-tercuman__kicker {
	gap: 12px;
	min-height: 20px;
	color: var(--hs-gold);
}

.bt-hs--yt-tercuman .yt-tercuman__title {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Figma FIXED 560 at 37.28 px ("…İşlemlerinde / Yeminli Tercüman"); em keeps the same break at every font size. */
.bt-hs--yt-tercuman .yt-tercuman__h2 {
	max-width: 15.0215em;
	padding-bottom: 0.5px;
	color: var(--hs-white);
	font-size: var(--hs-fs-h2);
	font-weight: 700;
	line-height: var(--hs-lh-h2);
	letter-spacing: var(--hs-ls-h2);
}

.bt-hs--yt-tercuman .yt-tercuman__intro {
	max-width: var(--hs-measure-lead);
	padding-bottom: 0.35px;
	color: var(--yt4b-on-dark);
	font-size: var(--hs-fs-lead);
	line-height: var(--hs-lh-lead);
}

/* Motif 504 × 168 (3:1), başlık bloğunun dikey ortasında; sütun daralırsa orantılı küçülür. */
.bt-hs--yt-tercuman .yt-tercuman__voice {
	min-width: 0;
}

.bt-hs--yt-tercuman .yt-tercuman__voice-svg {
	display: block;
	width: 100%;
	max-width: 504px;
	height: auto;
	margin-inline-start: auto;
}

/* ---------------------------------------------------------------- Açık çift (kart yok) */

/* Üst ve alt 1 px çizgi + 40 dolgu (Figma: çizgi yerleşime dahil, 198 = 1 + 40 + 116 + 40 + 1). */
.bt-hs--yt-tercuman .yt-tercuman__pair {
	display: grid;
	grid-template-columns: var(--yt4b-cols);
	column-gap: var(--yt4b-gap);
	padding: 40px 0;
	border-top: 1px solid var(--yt4b-line);
	border-bottom: 1px solid var(--yt4b-line);
}

.bt-hs--yt-tercuman .yt-tercuman__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 24px;
	min-width: 0;
}

/* Öğeler arası 1 px ayırıcı: sütun aralığının ortasında (x 791.5), satır yüksekliği boyunca (öğeler gerilir). */
.bt-hs--yt-tercuman .yt-tercuman__item + .yt-tercuman__item::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--yt4b-gap) / -2 - 0.5px);
	width: 1px;
	background: var(--yt4b-line);
}

.bt-hs--yt-tercuman .yt-tercuman__icon {
	flex: none;
	display: block;
	width: 48px;
	height: 48px;
}

.bt-hs--yt-tercuman .yt-tercuman__icon-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bt-hs--yt-tercuman .yt-tercuman__item-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

/* Heading/H3 görünümü (20/26, 600, −0,5 %); başlık etiketi değil. */
.bt-hs--yt-tercuman .yt-tercuman__item-title {
	color: var(--hs-white);
	font-size: var(--hs-fs-h3);
	font-weight: 600;
	line-height: 26px;
	letter-spacing: -0.005em;
}

.bt-hs--yt-tercuman .yt-tercuman__item-text {
	padding-bottom: 0.4px;
	color: var(--yt4b-on-dark);
	font-size: var(--hs-fs-body);
	line-height: var(--hs-lh-body);
}

/* Metin içi bağlantı (Figma): beyaz metin, 2 px altın alt çizgi, 3 px aralık. */
.bt-hs--yt-tercuman .yt-tercuman__item-text a:where(:not([class])) {
	color: var(--hs-white);
	text-decoration-line: underline;
	text-decoration-color: var(--hs-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.bt-hs--yt-tercuman .yt-tercuman__item-text a:where(:not([class])):hover {
	color: var(--hs-gold-light);
	text-decoration-color: var(--hs-gold-light);
}

/* ---------------------------------------------------------------- Ayak: notlar | eylemler */

.bt-hs--yt-tercuman .yt-tercuman__foot {
	display: grid;
	grid-template-columns: var(--yt4b-cols);
	column-gap: var(--yt4b-gap);
	align-items: center;
}

.bt-hs--yt-tercuman .yt-tercuman__notes {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding-top: 2px;
}

.bt-hs--yt-tercuman .yt-tercuman__note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.bt-hs--yt-tercuman .yt-tercuman__note-icon {
	flex: none;
	display: block;
	width: 20px;
	height: 20px;
}

/* Body/Card text 15/23.25, #AAB2C5 (lacivertte 6,69:1; ışıma merkezinde bile 4,71:1). Figma kutuları 24 / 47. */
.bt-hs--yt-tercuman .yt-tercuman__note-text {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	padding-bottom: 0.75px;
	color: var(--yt4b-cool-muted);
	font-size: var(--hs-fs-card-text);
	line-height: 1.55;
}

.bt-hs--yt-tercuman .yt-tercuman__note + .yt-tercuman__note .yt-tercuman__note-text {
	padding-bottom: 0.5px;
}

.bt-hs--yt-tercuman .yt-tercuman__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

/* Button/Text (dark bg) 5:30, yan dolgu 0 (Figma 600:3406): beyaz etiket, altın ok, 52 yükseklik. */
.bt-hs--yt-tercuman .yt-tercuman__hub {
	padding: 0;
}

/* Kap tam 1200 iken (≥1296 px) düğme ve metin düğmesi tek satırda: tarayıcıda etiketler Figma'dan ~1 px geniş
   (229,2 + 12 + 263,8 = 505 > 504), sarılmasın; taşma 1 px, görünmez. Daha dar ekranda satır sarılır. */
@media (min-width: 1296px) {
	.bt-hs--yt-tercuman .yt-tercuman__cta {
		flex-wrap: nowrap;
	}
}

/* ---------------------------------------------------------------- Tablet (≤900): baş ve ayak alt alta */

@media (max-width: 900px) {
	.bt-hs--yt-tercuman .yt-tercuman__head {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__voice-svg {
		margin-inline-start: 0;
	}

	.bt-hs--yt-tercuman .yt-tercuman__pair {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.bt-hs--yt-tercuman .yt-tercuman__foot {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
}

/* ---------------------------------------------------------------- Mobil (≤767, Figma 390) */

@media (max-width: 767px) {
	.bt-hs--yt-tercuman {
		--yt4b-gap: 32px;
	}

	/* Figma 390: genişlik 350 × 117 (3:1); ışımalar merkez (%60, %30) %70 × %22 ve (%70, %29) %35 × %10. */
	.bt-hs--yt-tercuman[data-band="navy"] {
		background:
			radial-gradient(35% 10% at 70% 29%, rgba(241, 186, 79, 0.06) 0%, rgba(241, 186, 79, 0) 100%),
			radial-gradient(70% 22% at 60% 30%, rgba(61, 90, 150, 0.34) 0%, rgba(61, 90, 150, 0) 100%),
			var(--hs-navy);
	}

	.bt-hs--yt-tercuman .yt-tercuman__title {
		gap: 16px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__h2 {
		max-width: none;
		padding-bottom: 0.75px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__voice-svg {
		max-width: none;
		height: 117px;
	}

	/* Çift alt alta: 24 + 1 px çizgi + 24 (ayırıcı ikinci öğenin 25 px üstünde). */
	.bt-hs--yt-tercuman .yt-tercuman__pair {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 49px;
		padding: 28px 0;
	}

	.bt-hs--yt-tercuman .yt-tercuman__item {
		gap: 16px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__item + .yt-tercuman__item::before {
		top: -25px;
		bottom: auto;
		left: 0;
		right: 0;
		width: auto;
		height: 1px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__icon {
		width: 40px;
		height: 40px;
	}

	/* Body/Body 16 (16/25.6). */
	.bt-hs--yt-tercuman .yt-tercuman__item-text {
		padding-bottom: 0.2px;
		font-size: var(--hs-fs-body-16);
	}

	.bt-hs--yt-tercuman .yt-tercuman__notes {
		gap: 12px;
		padding-top: 0;
	}

	.bt-hs--yt-tercuman .yt-tercuman__note-text {
		padding-bottom: 0.5px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__note + .yt-tercuman__note .yt-tercuman__note-text {
		padding-bottom: 0.25px;
	}

	/* WhatsApp tam genişlik, metin düğmesi solda (Figma 601:3237: dikey, aralık 8). */
	.bt-hs--yt-tercuman .yt-tercuman__cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.bt-hs--yt-tercuman .yt-tercuman__wa {
		width: 100%;
	}
}
