/* howtosayguide rehber gövdesi, "Modern" tasarım (sahip seçimi, 28 Eylül 2026).
   Gövdeyi kaynak-envanteri/howtosayguide-sayfa-cizici.py kurar, her şey .hsg kapsamında. Ölçüler görünüm alanına değil
   gövde sütununun genişliğine bağlı (container query): kenar çubuklu masaüstünde de telefonda da aynı dosya.
   Yazı tipleri (Bricolage Grotesque, Hanken Grotesk, Noto Sans; üçü de OFL) kendi sunucumuzdan, fonts/ altından gelir.
   Noto Sans yalnız 400: okunuş yazımı (IPA) içindir, düzyazıda Hanken'de olmayan im ona düşer. */
@font-face {font-family:'Bricolage Grotesque';font-style:normal;font-weight:600 700;font-stretch:100%;font-display:swap;src:url(fonts/bricolage-grotesque-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face {font-family:'Bricolage Grotesque';font-style:normal;font-weight:600 700;font-stretch:100%;font-display:swap;src:url(fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face {font-family:'Bricolage Grotesque';font-style:normal;font-weight:600 700;font-stretch:100%;font-display:swap;src:url(fonts/bricolage-grotesque-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face {font-family:'Hanken Grotesk';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/hanken-grotesk-vietnamese-italic.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face {font-family:'Hanken Grotesk';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/hanken-grotesk-latin-ext-italic.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face {font-family:'Hanken Grotesk';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/hanken-grotesk-latin-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face {font-family:'Hanken Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/hanken-grotesk-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face {font-family:'Hanken Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/hanken-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face {font-family:'Hanken Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/hanken-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face {font-family:'Noto Sans';font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(fonts/noto-sans-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face {font-family:'Noto Sans';font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(fonts/noto-sans-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face {font-family:'Noto Sans';font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(fonts/noto-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face {font-family:'Noto Sans';font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(fonts/noto-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
.hsg {
	--hsg-field: #FFD84A;
	--hsg-ink: #17171C;
	--hsg-muted: #55565F;
	--hsg-rule: #E4E4E0;
	--hsg-link: #2B35C9;
	--hsg-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
	--hsg-body: 'Hanken Grotesk', 'Noto Sans', system-ui, sans-serif;
	--hsg-ipa: 'Noto Sans', 'Hanken Grotesk', system-ui, sans-serif;
	container-type: inline-size;
	display: flex; flex-direction: column; gap: 28px;
	font-family: var(--hsg-body); font-size: 17px; line-height: 1.65; color: var(--hsg-ink);
}
.hsg p, .hsg div, .hsg section { margin: 0; }
.hsg p, .hsg-lead, .hsg-usage { text-wrap: pretty; }
.hsg a { color: var(--hsg-link); }
.hsg a:hover { color: #1B2391; }
.hsg span[lang] { font-weight: 600; }
.hsg [hidden] { display: none !important; }

/* Cevap alanı */
.hsg-hero {
	display: flex; flex-direction: column; gap: 14px;
	padding: clamp(24px, 6cqi, 44px) clamp(20px, 6cqi, 48px) clamp(24px, 5cqi, 40px);
	background: var(--hsg-field); border-radius: clamp(20px, 3.5cqi, 28px);
}
.hsg .hsg-answer { font-family: var(--hsg-display); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.hsg .hsg-answer.hsg-tight { line-height: 1; letter-spacing: -0.04em; }
.hsg-size-xl { font-size: clamp(56px, 14cqi, 104px); }
.hsg-size-l { font-size: clamp(42px, 10.5cqi, 80px); }
.hsg-size-m { font-size: clamp(32px, 7.5cqi, 56px); }
.hsg-size-s { font-size: clamp(26px, 5.5cqi, 40px); }
.hsg .hsg-answer.hsg-tight.hsg-size-m, .hsg .hsg-answer.hsg-tight.hsg-size-s { line-height: 1.08; letter-spacing: -0.03em; }
.hsg .hsg-answer .hsg-word { font-weight: 700; }
.hsg-say { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 34px; }
.hsg-say:not(:has(> :not([hidden]))) { display: none; }
.hsg-roman { font-size: clamp(19px, 3cqi, 23px); font-style: italic; }
.hsg-ipa { font-family: var(--hsg-ipa); font-size: clamp(20px, 3.1cqi, 24px); }
.hsg-ipa-note { font-size: 13px; }
.hsg-tag { font-size: 14px; font-weight: 600; line-height: 1.4; border: 1.5px solid var(--hsg-ink); border-radius: 999px; padding: 2px 12px; }
.hsg .hsg-lead { font-size: clamp(18px, 2.6cqi, 20px); line-height: 1.5; max-width: 600px; margin-top: 10px; }
.hsg-hero .hsg-usage { max-width: 600px; }
.hsg-sense { font-size: 14px; }
.hsg-tabs { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.hsg-tabs-label { font-size: 14px; font-weight: 600; }
.hsg-tabs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hsg-tabs button {
	min-height: 44px; padding: 0 18px; border: 1.5px solid var(--hsg-ink); border-radius: 999px;
	font: 600 17px/1.2 var(--hsg-body); background: transparent; color: var(--hsg-ink); cursor: pointer;
}
.hsg-tabs button[aria-pressed="true"] { background: var(--hsg-ink); color: #FFFFFF; }
.hsg-tabs button:focus-visible { outline: 3px solid var(--hsg-link); outline-offset: 2px; }

/* Soru solda, cevap sağda */
.hsg-qa { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 40px; padding-top: 24px; border-top: 1px solid var(--hsg-rule); }
.hsg-qa > * { grid-column: 2; min-width: 0; }
.hsg-qa > h2 { grid-column: 1; grid-row: 1; }
/* Reklam eklentisinin ilk paragraftan sonra koyduğu blok: bölümün altında, tam genişlikte */
.hsg-qa > .code-block { grid-column: 1 / -1; }
.hsg h2 { font-family: var(--hsg-display); font-weight: 600; font-size: 21px; line-height: 1.25; margin: 0; padding: 0; color: inherit; }
.hsg-qa:has(> .hsg-related-forms) { row-gap: 6px; }

/* Biçim tablosu */
.hsg-forms { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 16px; }
.hsg-forms caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hsg-forms th { padding: 0 12px 8px 0; border: 0; text-align: start; font-size: 13px; font-weight: 500; color: var(--hsg-muted); }
.hsg-forms td { padding: 10px 12px 10px 0; border: 0; border-top: 1px solid var(--hsg-rule); vertical-align: baseline; color: var(--hsg-muted); }
.hsg-forms td:first-child { font-size: 19px; font-weight: 600; color: var(--hsg-ink); }
.hsg-forms td small { font-size: 12px; }

/* Örnekler: koyu blok */
.hsg-ex {
	display: flex; flex-direction: column; gap: 8px;
	padding: clamp(28px, 5cqi, 40px) clamp(20px, 6cqi, 48px);
	background: var(--hsg-ink); color: #FFFFFF; border-radius: clamp(20px, 3.5cqi, 28px);
}
.hsg-ex h2 { font-size: clamp(23px, 3.4cqi, 26px); }
.hsg .hsg-examples { list-style: none; margin: 0; padding: 0; }
.hsg .hsg-examples li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 18px 0; border-bottom: 1px solid #3A3B45; }
.hsg .hsg-examples li:last-child { border-bottom: 0; padding-bottom: 0; }
.hsg .hsg-ex-t { font-family: var(--hsg-display); font-size: clamp(21px, 3.4cqi, 26px); font-weight: 600; line-height: 1.3; }
.hsg-ex-e, .hsg-note { color: #D9DAE0; }
.hsg-note { font-size: 15px; }
.hsg-ex-src { font-size: 13px; color: #B9BAC6; line-height: 1.5; }
.hsg-ex a { color: #FFD84A; }
.hsg-ex a:hover { color: #FFE88F; }
.hsg-more a { font-weight: 600; }
.hsg-ex-r { font-size: 15px; font-style: italic; color: #B9BAC6; }

/* "Did you know?": sarı çerçeveli kutu, maddeler numarasız */
.hsg-trivia { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 4cqi, 32px) clamp(20px, 5cqi, 40px);
	border: 2px solid var(--hsg-field); border-radius: clamp(20px, 3.5cqi, 28px); }
.hsg-trivia h2 { font-size: clamp(23px, 3.4cqi, 26px); }
.hsg .hsg-trivia ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hsg .hsg-trivia li { margin: 0; padding-left: 22px; position: relative; }
.hsg .hsg-trivia li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--hsg-field); }

/* "Literally, around the world": dil adı bağlantı, sözcük, harfiyen anlam; iki sütun, dar sütunda tek */
.hsg-literal { display: flex; flex-direction: column; gap: 10px; }
.hsg-literal h2 { font-size: clamp(23px, 3.4cqi, 26px); }
.hsg-literal > p { margin: 0; color: var(--hsg-muted); }
.hsg .hsg-literal ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hsg .hsg-literal li { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
	border: 1px solid var(--hsg-rule); border-radius: 16px; }
.hsg-literal li a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--hsg-link); text-decoration: none; }
.hsg-literal li a:hover { text-decoration: underline; }
.hsg-lit-w { font-family: var(--hsg-display); font-size: 20px; font-weight: 600; line-height: 1.3; }
.hsg-lit-r { font-size: 14px; font-style: italic; color: var(--hsg-muted); }
.hsg-lit-m { color: var(--hsg-ink); }
@container (max-width: 520px) { .hsg .hsg-literal ul { grid-template-columns: minmax(0, 1fr); } }

/* Örnek konuşma: iki kişi, sıra sıra balon */
.hsg-dialog { display: flex; flex-direction: column; gap: 10px; }
.hsg-dialog h2 { font-size: clamp(23px, 3.4cqi, 26px); }
.hsg-dialog-set { margin: 0; color: var(--hsg-muted); }
.hsg .hsg-dialog-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
/* Balon karşı tarafın avatar sütununu (32px + 12px aralık) da boş bırakır: yalnız %88 iken soldaki balon sağdaki
   balonların bittiği yere kadar uzanıyordu (dar ekranda, sahip 29 Eylül 2026); iki yanda girinti eşit */
.hsg .hsg-dialog-lines li { display: flex; gap: 12px; align-items: flex-start; margin: 0; max-width: calc(88% - 44px); }
.hsg .hsg-dialog-lines li:nth-child(even) { align-self: flex-end; flex-direction: row-reverse; }
.hsg-sp { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	font-weight: 700; font-size: 14px; background: var(--hsg-ink); color: #FFFFFF; }
.hsg .hsg-dialog-lines li:nth-child(even) .hsg-sp { background: var(--hsg-field); color: var(--hsg-ink); }
.hsg-sp-ad { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.hsg-sp-r { font-size: 12px; font-style: italic; color: var(--hsg-muted); }
.hsg-dialog-lines li > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px;
	border: 1px solid var(--hsg-rule); border-radius: 18px; }
.hsg-dialog-lines .hsg-ex-t { font-size: clamp(18px, 2.8cqi, 21px); }
.hsg-dialog-lines .hsg-ex-e, .hsg-dialog-lines .hsg-ex-r { color: var(--hsg-muted); font-size: 15px; }

.hsg .src { font-size: 13px; line-height: 1.6; color: var(--hsg-muted); }
/* Sayfa sonundaki kaynaklar: küçük başlık ve madde listesi (sahip 29 Eylül 2026) */
.hsg .hsg-src { border-top: 1px solid var(--hsg-rule); padding-top: 16px; }
.hsg .hsg-src p { margin: 0 0 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.hsg .hsg-src ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.hsg .hsg-src li { margin: 0; }

/* Dar sütun (telefon): soru cevabın üstüne, tablo satırları alt alta */
@container (max-width: 640px) {
	.hsg-qa { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding-top: 20px; }
	.hsg-qa > *, .hsg-qa > h2 { grid-column: 1; grid-row: auto; }
	.hsg-forms thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.hsg-forms, .hsg-forms tbody { display: block; }
	.hsg-forms tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 11px 0; border-top: 1px solid var(--hsg-rule); }
	.hsg-forms tr:first-child { border-top: 0; padding-top: 0; }
	.hsg-forms td { padding: 0; border: 0; }
	.hsg-forms td:first-child { flex: 0 0 100%; }
	.hsg-forms td:empty { display: none; }
	.hsg-tabs button { font-size: 16px; padding: 0 16px; }
}


/* Okunuş anahtarı sayfası */
.hsg-key-sym { font-family: var(--hsg-ipa); font-size: 1.15em; color: var(--hsg-ink); }
.hsg-forms.hsg-key td:first-child .hsg-key-sym { font-size: 24px; }
.hsg-key-ipa { font-family: var(--hsg-ipa); white-space: nowrap; color: var(--hsg-ink); }
.hsg-keypage .hsg-ex .hsg-key-ipa { color: #FFFFFF; }
.hsg-key-sym { white-space: nowrap; }
.hsg-key-resp { font-style: italic; color: var(--hsg-muted); white-space: nowrap; }
.hsg-key-side { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; border: 1.5px solid var(--hsg-ink); border-radius: 999px; padding: 0 7px; vertical-align: middle; font-family: var(--hsg-body); }
.hsg-keypage .hsg-ex .hsg-key-sym { color: #FFFFFF; }
.hsg-play { display: none; }
.hsg-credits { font-size: 13px; line-height: 1.6; color: var(--hsg-muted); }
.hsg-credits summary { cursor: pointer; font-weight: 600; }
.hsg-credits ul { margin: 8px 0 0; padding-left: 18px; }
.hsg-credits li { margin: 0; overflow-wrap: anywhere; }
.hsg-credits-note { margin-top: 6px; }
.hsg-js .hsg-play { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: 6px; padding: 0; vertical-align: middle; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: var(--hsg-ink); cursor: pointer; }
.hsg-js .hsg-play[aria-pressed="true"] { background: var(--hsg-ink); color: #FFFFFF; border-color: var(--hsg-ink); }
.hsg-js .hsg-play:focus-visible { outline: 3px solid var(--hsg-link); outline-offset: 2px; }
.hsg-js .hsg-ex .hsg-play { color: #FFFFFF; }
.hsg-js .hsg-ex .hsg-play[aria-pressed="true"] { background: #FFD84A; color: var(--hsg-ink); border-color: #FFD84A; }
@container (max-width: 640px) {
	.hsg-forms.hsg-key td:nth-child(2) { font-weight: 700; color: var(--hsg-ink); }
	.hsg-forms.hsg-key td:nth-child(2):not(:empty)::after { content: " ·"; font-weight: 400; color: var(--hsg-muted); }
}
