/* ==========================================================================
   Sözleşme / yasal belge çerçevesi (story_belge_cerceve): sol üstte "A" simgesi, tam ortada büyük Story filigranı
   ========================================================================== */
.st-belge { position: relative; }
.st-belge-bas { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--st-line-2, #e3e6ea); }
.st-belge-a { flex: none; width: 40px; height: 40px; border-radius: 10px; background: url("../images/story/favicon-a.svg") center / contain no-repeat; }
html[data-theme="dark"] .st-belge-a { filter: invert(1); }
.st-belge-ad { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.st-belge-ad strong { font-size: 15px; font-weight: 700; color: var(--st-text, #161616); }
.st-belge-ad small { margin-top: 2px; font-size: 12px; color: var(--st-text-3, #6b7480); }
.st-belge-sag { margin-left: auto; padding-left: 12px; font-size: 12px; color: var(--st-text-3, #6b7480); white-space: nowrap; }
.st-belge-alan { position: relative; }
.st-belge-kaydir .st-belge-alan { max-height: var(--belge-yuk, 60vh); overflow-y: auto; padding-right: 10px; overscroll-behavior: contain; }
.st-belge:not(.st-belge-kaydir) .st-belge-alan { overflow: clip; }
/* filigran: kayan alanın görünen bölümünün tam ortasında durur (sticky); yazı üstte kalır */
.st-belge-filigran { position: sticky; top: 0; z-index: 0; height: 0; pointer-events: none; }
.st-belge-filigran::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--belge-yuk, 100vh); background: url("../images/story/story-filigran.png") center center / min(74%, 520px) auto no-repeat; }
html[data-theme="dark"] .st-belge-filigran::before { background-image: url("../images/story/story-filigran-w.png"); }
.st-belge-govde { position: relative; z-index: 1; }
/* R26 görsel denetim (1440): imza penceresinde (.gb-fm kökü ikincil metin rengi verir) belge paragrafları açık gri okunuyordu → belge metni her yerde asıl metin renginde */
.st-belge-govde, .st-belge-govde p, .st-belge-govde li, .st-belge-govde h1, .st-belge-govde h2, .st-belge-govde h3, .st-belge-govde h4, .st-belge-govde h5, .st-belge-govde h6, .st-belge-govde div, .st-belge-govde span { color: var(--st-text, #161616); }
/* R26 görsel denetim (390): veli muvafakatnamesi tablosunda uzun e-posta / kimlik no hücreden taştı (sağ kenar çizgisinden geçti) → dar ekranda hücre içinde kırılır */
@media (max-width: 520px) { .st-belge-govde td, .st-belge-govde th { overflow-wrap: anywhere; } }
@media print {
	.st-belge-kaydir .st-belge-alan { max-height: none; overflow: visible; padding-right: 0; }
	.st-belge-filigran { position: fixed; left: 0; right: 0; top: 0; height: 100vh; }
	.st-belge-filigran::before, html[data-theme="dark"] .st-belge-filigran::before { height: 100vh; background-image: url("../images/story/story-filigran.png") !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.st-belge-a { -webkit-print-color-adjust: exact; print-color-adjust: exact; filter: none !important; }
}
