/* MGPS Blog — yazı içi tasarım katmanı (yalnız tekil yazı + tasarım önizlemesi).
   Kapsam: temanın .entry-content'i ve .mgps-art sarmalayıcısı. Sıfır JS. */

.entry-content,
.mgps-art {
    font-size: 17px;
    line-height: 1.7;
    color: #313131;
    overflow-wrap: break-word;
}

/* Gyeon (Elementor, tam genişlik) için okuma kolonu; .entry-content zaten tema kolonunda */
.mgps-art {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px 40px;
}

/* --- Başlık ölçeği: etiketlere dokunulmadı, yalnız boyut ehlileştirildi --- */
.entry-content h1, .mgps-art h1,
.entry-content h2, .mgps-art h2,
.entry-content h3, .mgps-art h3,
.entry-content h4, .mgps-art h4 {
    line-height: 1.3;
    margin: 2em 0 0.6em;
    scroll-margin-top: 110px; /* yapışkan header içindekiler ankrajını örtmesin */
}

.entry-content h1, .mgps-art h1 { font-size: 30px; }
.entry-content h2, .mgps-art h2 { font-size: 24px; }
.entry-content h3, .mgps-art h3 { font-size: 20px; }
.entry-content h4, .mgps-art h4 { font-size: 18px; }

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.mgps-art > h1:first-child,
.mgps-art > h2:first-child { margin-top: 0.4em; }

.entry-content p, .mgps-art p { margin: 0 0 1.15em; }

.entry-content ul, .mgps-art ul,
.entry-content ol, .mgps-art ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.entry-content li, .mgps-art li { margin: 0 0 0.45em; }

.entry-content img, .mgps-art img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.entry-content figure, .mgps-art figure { margin: 1.8em 0; }
.entry-content figcaption, .mgps-art figcaption {
    font-size: 13px;
    color: #6B7280;
    text-align: center;
    margin-top: 0.6em;
}

/* Ürün ambalaj görselleri kolonu kaplamasın */
.mgps-art-figure--product { text-align: center; }
.mgps-art-figure--product img { max-width: 380px; width: 100%; }

.entry-content blockquote, .mgps-art blockquote {
    border-left: 3px solid #CE1711;
    margin: 1.6em 0;
    padding: 0.4em 0 0.4em 1.2em;
    color: #6B7280;
}

.entry-content strong, .mgps-art strong { color: #111; }

.entry-content a, .mgps-art a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* --- Tablo: kendi kutusunda yatay kaydırma --- */
.mgps-art-tablewrap { overflow-x: auto; margin: 1.8em 0; }
.mgps-art-tablewrap table, .entry-content table, .mgps-art table {
    border-collapse: collapse;
    width: 100%;
    font-size: 15px;
    margin: 0;
}
.entry-content th, .mgps-art th,
.entry-content td, .mgps-art td {
    border: 1px solid #E5E7EB;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.entry-content th, .mgps-art th { background: #F6F7F8; }
.entry-content tr:nth-child(even) td, .mgps-art tr:nth-child(even) td { background: #FAFAFB; }

/* --- İçindekiler --- */
.mgps-art-toc {
    background: #F6F7F8;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 0 2.2em;
}
.mgps-art-toc > strong {
    display: block;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 0.7em;
}
.mgps-art-toc ol { margin: 0; padding-left: 1.3em; }
.mgps-art-toc li { margin: 0 0 0.4em; font-size: 15px; }
.mgps-art-toc a { color: #313131; text-decoration: none; }
.mgps-art-toc a:hover, .mgps-art-toc a:focus-visible { color: #CE1711; text-decoration: underline; }

/* --- Vurgu kutusu (kritik cümleler; metin aynen, yalnız çerçeve) --- */
.mgps-art-note {
    border-left: 3px solid #CE1711;
    background: #F9FAFB;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 1.5em 0;
}
.mgps-art-note p { margin: 0 0 0.8em; }
.mgps-art-note p:last-child { margin-bottom: 0; }

/* --- SSS kartları (hep açık, akordeon yok) --- */
.mgps-art-faq { margin: 1.5em 0 2.2em; }
.mgps-art-faq__item {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    padding: 18px 22px;
    margin: 0 0 14px;
}
.mgps-art-faq__item h1,
.mgps-art-faq__item h2,
.mgps-art-faq__item h3 {
    font-size: 17px;
    margin: 0 0 0.5em;
}
.mgps-art-faq__item p { margin: 0 0 0.8em; }
.mgps-art-faq__item p:last-child { margin-bottom: 0; }

/* SSS kartı: soru h2/h3 yerine <p><strong> ile geldiğinde de başlık gibi görünsün (yıkama yazısı) */
.mgps-art-faq__item > p:first-child > strong:first-child {
    display: block;
    font-size: 17px;
    color: #111;
    margin-bottom: 0.4em;
}
.mgps-art-faq__item > p:first-child > strong:first-child + br {
    display: none;
}

/* --- Mobil --- */
@media (max-width: 480px) {
    .entry-content, .mgps-art { font-size: 16px; }
    .entry-content h1, .mgps-art h1 { font-size: 25px; }
    .entry-content h2, .mgps-art h2 { font-size: 21px; }
    .entry-content h3, .mgps-art h3 { font-size: 18px; }
    .mgps-art { padding: 4px 16px 32px; }
    .mgps-art-toc { padding: 16px 18px; }
    .mgps-art-faq__item { padding: 14px 16px; }
}
