/* mustafaguner v5.0.0 — Nasıl Çalışırım + SSS (yalnız /nasil-calisirim/ ve /sss/ sayfalarında yüklenir).
   Renkler yalnız theme.json preset'leri. Mobil önce: 360 → 768 → 1280. */

.mg5p-flow .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Sayfa başı (ortak .mg5-crumb, .mg5-h1, .mg5-lead) ---------- */
.mg5p-head .mg5-h1 { overflow-wrap: anywhere; }
.mg5p-head .mg5-lead { text-align: justify !important; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }

/* ---------- 4 adım: büyük numaralı dikey akış ---------- */
.mg5p-flow { list-style: none; margin: 0; padding: 0; max-width: 880px; }
.mg5p-flow__step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; margin: 0; padding: 0 0 40px; }
.mg5p-flow__step:last-child { padding-bottom: 0; }
/* bağlantı çizgisi: numaranın altından bir sonraki adıma */
.mg5p-flow__step::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 8px; width: 1px; background: var(--wp--preset--color--border-strong); }
.mg5p-flow__step:last-child::before { display: none; }
.mg5p-flow__num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 22px; line-height: 1; color: var(--wp--preset--color--ink); font-variant-numeric: tabular-nums; }
.mg5p-flow__step:first-child .mg5p-flow__num { background: var(--wp--preset--color--amber); border-color: var(--wp--preset--color--amber); }
.mg5p-flow__body { padding-top: 12px; min-width: 0; }
.mg5p-flow__title { margin: 0; font-size: 22px; line-height: 30px; letter-spacing: -0.01em; }
.mg5p-flow__body p { margin: 10px 0 0; font-size: 17px; line-height: 28px; color: var(--wp--preset--color--muted); }

/* QA O-1: 360 px'te açıklama tam sütun genişliğinde (numara + başlık üst satırda), yaslı metinde boşluk azalır */
@media (max-width: 767px) {
	.mg5p-flow__step { align-items: center; row-gap: 14px; }
	.mg5p-flow__step::before { display: none; }
	.mg5p-flow__body { display: contents; }
	.mg5p-flow__title { padding-top: 0; }
	.mg5p-flow__body p { grid-column: 1 / -1; margin: 0; }
	.mg5p-flow__step + .mg5p-flow__step { padding-top: 32px; border-top: 1px solid var(--wp--preset--color--line); }
	.mg5p-flow__step { padding-bottom: 32px; }
}

/* ---------- Gizlilik ilkeleri + Bağımsız danışmanlık ---------- */
.mg5p-privacy__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.mg5p-privacy .mg5-h2 { margin-bottom: 28px; }
.mg5p-iconlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.mg5p-iconlist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.mg5p-iconlist__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--wp--preset--color--indigo); } /* QA H-4: kutusuz yalın SVG */
.mg5p-iconlist p { margin: 0; padding-top: 9px; font-size: 17px; line-height: 27px; }

.mg5p-note { align-self: start; padding: 28px 24px; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: 12px; } /* QA H-3: kenar şeridi yok, yalnız zemin tonu */
.mg5p-note__title { margin: 0; font-size: 20px; line-height: 28px; }
.mg5p-note p { margin: 12px 0 0; font-size: 17px; line-height: 28px; color: var(--wp--preset--color--muted); }

/* ---------- SSS: ortak .mg5-faq bileşeni + soru numarası ---------- */
.mg5p-faq-wrap.mg5-section { padding-top: 8px; }
.mg5p-faq__q { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.mg5p-faq__no { flex: none; width: 28px; font-size: 14px; line-height: 1; font-weight: 700; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums; }
.mg5p-faq details[open] .mg5p-faq__no { color: var(--wp--preset--color--ink); } /* QA H-12.4: kontrast */
.mg5p-faq details > p { padding-left: 40px; padding-right: 0; font-size: 17px; line-height: 28px; }

/* ---------- CTA bandı (ortak .mg5-cta içinde) ---------- */
.mg5p-cta .mg5p-cta__title { font-size: 28px; line-height: 36px; }
.mg5p-cta__text p { font-size: 17px; line-height: 27px; }
.mg5p-cta .wp-block-button__link { min-height: 48px; }

/* ---------- 768+ ---------- */
@media (min-width: 768px) {
	.mg5p-flow__step { grid-template-columns: 96px minmax(0, 1fr); column-gap: 32px; padding-bottom: 56px; }
	.mg5p-flow__step::before { left: 47px; top: 104px; }
	.mg5p-flow__num { width: 96px; height: 96px; font-size: 36px; }
	.mg5p-flow__body { padding-top: 22px; }
	.mg5p-flow__title { font-size: 26px; line-height: 34px; }
	.mg5p-faq__q { gap: 20px; }
	.mg5p-faq__no { width: 32px; }
	.mg5p-faq details > p { padding-left: 52px; padding-right: 44px; }
	.mg5p-cta .mg5p-cta__title { font-size: 32px; line-height: 40px; }
}

/* ---------- 1024+ ---------- */
@media (min-width: 1024px) {
	.mg5p-privacy__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: start; }
	.mg5p-note { margin-top: 80px; padding: 32px; }
}

/* Hizalama (BRIEF kural 4 + COMPONENTS.md): uzun gövde paragrafı (.mg5-lead) yaslı; adım açıklaması, ilke satırı,
   bilgi kutusu ve SSS cevabı kısa metin → sola. Genel 1.9.9 kuralı !important olduğu için burada da !important. */
/* QA O-1: adım açıklaması ve bilgi kutusu uzun paragraf → yaslı (style.css v5 QA bölümü); ilke satırları liste öğesi, SSS cevabı ve CTA kısa → sola. */
html body main .mg5p-faq details > p, html body main .mg5p-cta p, html body main .mg5p-iconlist p {
	text-align: left !important; -webkit-hyphens: manual; hyphens: manual;
}
