/* =================================================
   TDY Article (Clean + Modern) — SCOPE: .article-content
   ================================================= */

.article-content{
  --ink:#1f2937;
  --muted:#6b7280;
  --brand:#1f396a;

  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.78;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; 
  margin: 0 auto;
  padding: 0 12px;
}

/* Mobil */
@media (max-width:768px){
  .article-content{
    font-size: 15px;
    max-width: 100%;
    padding: 0 12px;
  }
}

/* Headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6{
  color:#111827;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.2px;
  margin: 1.05em 0 .55em;
}

.article-content h1{ font-size: 1.65rem; }
.article-content h2{ font-size: 1.35rem; }
.article-content h3{ font-size: 1.18rem; }
.article-content h4{ font-size: 1.05rem; }
.article-content h5{ font-size: 1.0rem; }
.article-content h6{ font-size: .95rem; color:#374151; }

/* Paragraf */
.article-content p{ margin: 0 0 1.05em; }
.article-content h1 + p,
.article-content h2 + p,
.article-content h3 + p{ margin-top: .35em; }

/* Link */
.article-content a{
  color: #4d95ff !important;
	    font-weight: 700;
  text-decoration: underline !important;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
.article-content a:hover{ text-decoration-thickness: .12em !important; }

/* Liste */
.article-content ul,
.article-content ol{
  margin: 0 0 1.05em;
  padding-left: 1.15em;
}
.article-content li{ margin: .35em 0; }

/* Blockquote */
.article-content blockquote{
  margin: 1.15em 0;
  padding: .85em 1em;
  border-left: 3px solid rgba(31,57,106,.25);
  background: #f8fafc;
  color:#374151;
  border-radius: 12px;
}
.article-content blockquote p{ margin:0; }

/* HR */
.article-content hr{
  border:0;
  height:1px;
  background: rgba(17,24,39,.08);
  margin: 1.6em 0;
}

/* -------------------------------
   MEDIA (img/figure/iframe)
   ------------------------------- */

/* Figure wrap */
.article-content figure{
  margin: 1.1rem 0 1.25rem;
}

/* ✅ Modern görsel: sütunu doldursun, kart gibi dursun */
.article-content img{
  display:block;
  width: 100%;
  height: auto;

  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);

  /* Foto kırpma/taşma kontrol */
  object-fit: cover;
  max-height: 560px;
}

/* Mobilde aşırı uzamasın */
@media (max-width:768px){
  .article-content img{
    border-radius: 12px;
    max-height: 420px;
  }
}

/* Caption */
.article-content figcaption{
  margin-top: .55rem;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

/* Video / iframe / embed */
.article-content iframe,
.article-content video,
.article-content embed{
  display:block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;

  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);

  margin: 1.2em 0;
}

/* ✅ Wide (bleed) opsiyon: sadece class verince genişlesin */
.article-content .wide{
  width: min(980px, 100vw - 24px);
  max-width: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-content img.wide{ max-height: 640px; }

/* Üst/alt boşluk şişmesi */
.article-content > :first-child{ margin-top:0 !important; }
.article-content > :last-child{ margin-bottom:0 !important; }

