/* mustafaguner v5.0.0 — Hizmetler ana sayfası + 5 hizmet alt sayfası (Ajan 3).
   Yalnız theme.json renk/font preset'leri. Ortak .mg5-* bileşenleri style.css'te (Ajan 1); burada yalnız sayfaya özel düzen (.mg5s-*). */

.mg5s { --mg5s-line: var(--wp--preset--color--line); }

/* ---------- Sayfa başı ---------- */
.mg5s-head { padding-top: 32px; padding-bottom: 48px; }
.mg5s .mg5-crumb { margin: 0 0 32px; }
.mg5s-title { margin-top: 16px; }
.mg5s-sub, .mg5s-intro { max-width: 720px; }
.mg5s .mg5s-sub { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--indigo); font-size: 20px; line-height: 30px; margin: 20px 0 0; text-align: left !important; hyphens: manual; }
.mg5s-intro { font-size: 19px; line-height: 30px; color: var(--wp--preset--color--muted); margin: 20px 0 0; }

/* ---------- Gövde + yapışkan özet ---------- */
.mg5s-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-bottom: 80px; }
.mg5s-main { min-width: 0; }
.mg5s-aside { display: none; }

.mg5s-block { border-top: 1px solid var(--mg5s-line); padding: 40px 0; }
.mg5s-block:last-child { padding-bottom: 0; }
.mg5s-h { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; font-size: 26px; line-height: 34px; letter-spacing: -0.01em; }
.mg5s-h__no { flex: none; font-family: var(--wp--preset--font-family--heading); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0.08em; color: var(--wp--preset--color--muted); padding-bottom: 2px; border-bottom: 3px solid var(--wp--preset--color--amber); }
.mg5s-text { margin: 0; max-width: 720px; font-size: 18px; line-height: 30px; text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }

/* Kapsam: ortak .mg5-list */
.mg5s-scope { max-width: 720px; }

/* Çıktılar: 2 kart */
.mg5s-outputs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mg5s-output { gap: 0; }
.mg5s-output__icon { display: inline-flex; align-items: center; justify-content: center; color: var(--wp--preset--color--indigo); } /* QA H-4: kutusuz yalın SVG */
.mg5s-output__icon svg { width: 32px; height: 32px; }
.mg5s .mg5s-output h3 { margin: 18px 0 8px !important; font-size: 20px; line-height: 28px; text-align: center; }

/* Kime uygun */
.mg5s-fit { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 720px; }
.mg5s-fit li { position: relative; margin: 0; padding: 16px 20px 16px 52px; background: var(--wp--preset--color--paper); border-radius: 12px; font-size: 17px; line-height: 26px; }
.mg5s-fit li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 16px; height: 9px; border-left: 2px solid var(--wp--preset--color--indigo); border-bottom: 2px solid var(--wp--preset--color--indigo); transform: rotate(-45deg); }

/* SSS: ortak .mg5-faq */
.mg5s .mg5-faq { max-width: 720px; }

/* Yapışkan özet kutusu (yalnız geniş ekran) */
.mg5s-aside__box { padding: 28px; border: 1px solid var(--mg5s-line); border-radius: 12px; background: var(--wp--preset--color--paper); } /* QA H-3: kenar şeridi yok, zemin tonu */
.mg5s-aside__label { margin: 0 0 12px; font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.mg5s-aside__list { list-style: none; margin: 0 0 24px; padding: 0; }
.mg5s-aside__list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mg5s-line); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 16px; line-height: 22px; }
.mg5s-aside__list svg { flex: none; color: var(--wp--preset--color--indigo); margin-top: 1px; }
.mg5s-aside .wp-block-buttons, .mg5s-aside .wp-block-button, .mg5s-aside .wp-block-button__link { width: 100%; }
.mg5s-aside .wp-block-button__link { justify-content: center; }

/* ---------- CTA bandı: ortak .mg5-cta ---------- */
.mg5s-cta__title { max-width: 680px; }

/* ---------- Diğer hizmetler: kartsız, kompakt bağlantı listesi; CTA bandının üstünde (QA O-5) ---------- */
.mg5s-more { padding-top: 8px; padding-bottom: 72px; }
.mg5s-more__title { margin: 0 0 16px; font-size: 22px; line-height: 30px; }
.mg5s-more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; border-top: 1px solid var(--mg5s-line); }
.mg5s-more__item { margin: 0; border-bottom: 1px solid var(--mg5s-line); }
.mg5s-more__item a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 0; box-sizing: border-box; text-decoration: none; color: var(--wp--preset--color--ink); }
.mg5s-more__no { flex: none; width: 28px; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--wp--preset--color--muted); font-variant-numeric: tabular-nums; }
.mg5s-more__name { flex: 1 1 auto; min-width: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 17px; line-height: 24px; }
.mg5s-more__item svg { flex: none; color: var(--wp--preset--color--indigo); transition: transform .2s ease; }
.mg5s-more__item a:hover .mg5s-more__name { text-decoration: underline; text-decoration-color: var(--wp--preset--color--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mg5s-more__item a:hover svg { transform: translateX(4px); }
.mg5s-more__item a:focus-visible { outline: 2px solid var(--wp--preset--color--indigo); outline-offset: 2px; }

/* ---------- Hizmetler ana sayfası: satırlar ---------- */
.mg5s-index { padding-bottom: 88px; }
.mg5s-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mg5s-line); counter-reset: none; }
.mg5s-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 32px 0; border-bottom: 1px solid var(--mg5s-line); }
.mg5s-row__no { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--wp--preset--color--indigo); }
.mg5s-row__title { margin: 0; font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.mg5s-row__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.mg5s-row__title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.mg5s-row__text { margin: 10px 0 0; max-width: 640px; color: var(--wp--preset--color--muted); font-size: 17px; line-height: 28px; }
.mg5s-row__out { margin: 14px 0 0; font-size: 15px; line-height: 24px; color: var(--wp--preset--color--ink); }
.mg5s-row__out span { font-weight: 700; padding: 2px 8px; margin-right: 4px; border-radius: 6px; background: var(--wp--preset--color--paper); border: 1px solid var(--mg5s-line); }
.mg5s-row__go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--wp--preset--color--border-strong); border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--ink); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.mg5s-row__go:hover, .mg5s-row__go:focus-visible { border-color: var(--wp--preset--color--ink); background: var(--wp--preset--color--paper); }
.mg5s-row__go:focus-visible { outline: 2px solid var(--wp--preset--color--indigo); outline-offset: 2px; }
.mg5s-row__go svg { transition: transform .2s ease; }
.mg5s-row__go:hover svg { transform: translateX(4px); }

/* ---------- 768+ ---------- */
@media (min-width: 640px) {
	.mg5s-outputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}
@media (min-width: 782px) {
	.mg5s-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mg5s-head { padding-top: 40px; padding-bottom: 64px; }
	.mg5s-h { font-size: 28px; line-height: 36px; }
	.mg5s-row { grid-template-columns: 96px minmax(0, 1fr) auto; align-items: start; gap: 24px; padding: 40px 0; }
	.mg5s-row__no { font-size: 48px; }
	.mg5s-row__go { align-self: center; }
}

/* ---------- 1024+: sağda yapışkan özet ---------- */
@media (min-width: 1024px) {
	.mg5s-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; }
	.mg5s-aside { display: block; padding-top: 40px; }
	.mg5s-aside__box { position: sticky; top: calc(var(--mg5-sticky-top, 0px) + 32px); }
}

@media (prefers-reduced-motion: reduce) {
	.mg5s-more__item svg, .mg5s-row__go, .mg5s-row__go svg { transition: none; }
}

/* Genel "main p, main li → iki yana yaslı" kuralının (style.css 1.9.9) kısa satırlarda istisnası:
   satır/kart başlıkları, kısa açıklamalar ve etiketler yaslanmaz. Uzun paragraflar (.mg5s-text, SSS cevabı, giriş) yaslı kalır. */
html body main .mg5s-row, html body main .mg5s-row__text, html body main .mg5s-row__out, html body main .mg5s-fit li,
html body main .mg5s-aside__list li, html body main .mg5s-aside__label, html body main .mg5s-sub {
	text-align: left !important; -webkit-hyphens: manual; hyphens: manual;
}
html body main .mg5s-more__item { text-align: left !important; -webkit-hyphens: manual; hyphens: manual; }
