/**
 * Molecule: Prose Content
 *
 * Figma node: 172:12935
 *
 * WordPress WYSIWYG içeriğini stilleyen wrapper.
 * İçine gelen HTML elementlerini (p, h2-h6, ul, ol, figure, figcaption, vb.)
 * tasarım sistemine uygun tipografi ve spacing ile render eder.
 *
 * Varyantlar:
 *   default            → paragraf + başlık + liste stillemesi
 *   with-inline-images → inline görseller + figcaption eklenir
 *
 * Responsive: Organism / template seviyesinde yönetilir (max-width vb.).
 *
 * @package Saha
 */

/* ----------------------------------------
   Container
   ---------------------------------------- */

.saha-prose {
    font-family: var(--saha-font-primary);
    font-weight: 400;
    font-size: 22px;
    line-height: 34px;
    letter-spacing: normal;
    color: var(--saha-color-text-primary);

}

/* ----------------------------------------
   Paragraphs
   ---------------------------------------- */

.saha-prose p {
    margin: 0 0 47px;
}

.saha-prose p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   Headings (inline subheadings)
   ---------------------------------------- */

.saha-prose h2 {
    font-family: var(--saha-font-primary);
    font-weight: 500;
    font-size: 32px;
    line-height: 45px;
    letter-spacing: normal;
    color: var(--saha-color-text-primary);
    margin: 50px 0;
}

.saha-prose h3,
.saha-prose h4,
.saha-prose h5,
.saha-prose h6 {
    font-family: var(--saha-font-primary);
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: normal;
    color: var(--saha-color-text-primary);
    margin: 48px 0 24px;
}

.saha-prose h2:first-child,
.saha-prose h3:first-child,
.saha-prose h4:first-child,
.saha-prose h5:first-child,
.saha-prose h6:first-child {
    margin-top: 0;
}

/* ----------------------------------------
   Lists (ul, ol)
   ---------------------------------------- */

.saha-prose ul,
.saha-prose ol {
    margin: 0 0 47px;
    padding-left: 40px;
    list-style: disc;
}

.saha-prose li {
    margin: 0;
    padding: 0;
}

/* ----------------------------------------
   Links (inline)
   ---------------------------------------- */

.saha-prose a {
    color: var(--saha-color-text-primary);
    text-decoration: none;
}

.saha-prose a:hover {
    text-decoration: underline;
}

/* ----------------------------------------
   Images (with-inline-images variant)
   ---------------------------------------- */

.saha-prose--with-images img {
    display: block;
    width: 100%;
    height: auto;
    margin: 48px 0 0;
}

/* ----------------------------------------
   Figure + Figcaption (WordPress image block)
   ---------------------------------------- */

.saha-prose--with-images figure {
    margin: 48px 0;
}

.saha-prose--with-images figure:first-child {
    margin-top: 0;
}

.saha-prose--with-images figure img {
    margin: 0;
}

.saha-prose--with-images figcaption {
    font-family: var(--saha-font-primary);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: var(--saha-color-text-primary);
    opacity: 0.5;

    margin-top: 8px;
}

/* ----------------------------------------
   Strong / Bold (editörden gelen)
   ---------------------------------------- */

.saha-prose strong,
.saha-prose b {
    font-weight: 700;
    -webkit-text-stroke: 0.3px currentColor;
    letter-spacing: 0.2px;
}

/* ----------------------------------------
   Emphasis / Italic
   ---------------------------------------- */

.saha-prose em,
.saha-prose i {
    font-style: italic;
}

/* ----------------------------------------
   Featured / intro variant — Studio Destekçileri, SAHA+
   ---------------------------------------- */

.saha-prose--featured {
    font-size: 22px;
    font-weight: 700;
    line-height: 34px;
}

.saha-prose--featured h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 52px;
    margin: 0 0 30px;
}

.saha-prose--featured p {
    margin: 0 0 52px;
}

.saha-prose--featured p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   Centered modifier
   ---------------------------------------- */

.saha-prose--centered {
    text-align: center;
}
