/* ===== THEME VARIABLES (CSS Custom Properties) ===== */
/* Tema ayarlarından CSS custom properties */

:root {
  --theme-h1-size: 35px;
  --theme-h1-color: #3a7a06;
  --theme-h1-align: left;
  --theme-h1-weight: 400;
  --theme-h1-style: normal;
  --theme-h2-size: 30px;
  --theme-h2-color: #585f26;
  --theme-h2-align: left;
  --theme-h2-weight: 400;
  --theme-h2-style: normal;
  --theme-h3-size: 20px;
  --theme-h3-color: #000000;
  --theme-h3-align: left;
  --theme-h3-weight: 400;
  --theme-h3-style: normal;
  --theme-h4-size: 16px;
  --theme-h4-color: #000000;
  --theme-h4-align: left;
  --theme-h4-weight: 400;
  --theme-h4-style: normal;
  --theme-content-size: 15px;
  --theme-content-color: #000000;
  --theme-content-align: center;
  --theme-intro-conclusion-size: 15px;
  --theme-intro-conclusion-color: #460b9d;
  --theme-intro-conclusion-align: left;
  --theme-intro-conclusion-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial;
  --theme-intro-conclusion-weight: 400;
  --theme-intro-conclusion-style: normal;
  --theme-image-caption-font: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  --theme-image-caption-weight: 400;
  --theme-image-caption-style: normal;
}

/* ===== THEME OVERRIDES (force weights) ===== */
/* Admin'de seçilen kalınlık her yerde geçerli olsun */

.post-intro, .post-intro *,
.post-conclusion, .post-conclusion *,
.slider-intro-p, .slider-intro-p *,
.slider-conclusion-p, .slider-conclusion-p * {
  font-weight: var(--theme-intro-conclusion-weight, 400) !important;
  font-style: var(--theme-intro-conclusion-style, italic) !important;
}

.post-content-h1, .post-content-h1 *,
main article.post-article h1.post-content-h1, main article.post-article h1.post-content-h1 * {
  font-weight: var(--theme-h1-weight, 700) !important;
  font-style: var(--theme-h1-style, normal) !important;
}

.post-content-h2, .post-content-h2 *,
main article.post-article h2.post-content-h2, main article.post-article h2.post-content-h2 *,
.slider-slide-h2, .slider-slide-h2 * {
  font-weight: var(--theme-h2-weight, 700) !important;
  font-style: var(--theme-h2-style, normal) !important;
}

.post-content-h3, .post-content-h3 *,
main article.post-article h3.post-content-h3, main article.post-article h3.post-content-h3 * {
  font-weight: var(--theme-h3-weight, 700) !important;
  font-style: var(--theme-h3-style, normal) !important;
}

.post-content-h4, .post-content-h4 *,
main article.post-article h4.post-content-h4, main article.post-article h4.post-content-h4 * {
  font-weight: var(--theme-h4-weight, 700) !important;
  font-style: var(--theme-h4-style, normal) !important;
}

.post-content figcaption, .post-content figcaption *,
.post-figure-caption, .post-figure-caption *,
.slider-slide-caption, .slider-slide-caption * {
  font-weight: var(--theme-image-caption-weight, 400) !important;
  font-style: var(--theme-image-caption-style, normal) !important;
}
