/* ORSA Medya — Next.js sürümünün temiz bileşen stilleri.
   Değerler eski sitedeki hesaplanmış stillerden ÖLÇÜLEREK alındı (2026-10-18); görünüm aynı. */

/* Başlık görünümlü ama başlık olmayan metin (başlık hiyerarşisini bozmamak için) — tema h6 ile aynı */
.orsa-h6 {
  clear: both;
  color: var(--heading-color);
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2em;
  margin: 0 0 20px;
  padding: 0;
}
.cs_share_post .orsa-h6 { margin: 0; }

/* ---------------------------------------------------------------- İçindekiler (eski ez-toc) */
.orsa-icindekiler { font-family: Kanit, sans-serif; font-size: 18px; line-height: 28.8px; color: #454545; }
.orsa-icindekiler > details > summary {
  display: block;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  line-height: 28.9px;
  margin: 0 0 16px;
  padding-bottom: 29px; /* eski sürümdeki ikon satırının yüksekliği (başlık kutusu toplam 74px) */
  position: relative;
}
.orsa-icindekiler > details > summary::-webkit-details-marker { display: none; }
.orsa-icindekiler > details > summary::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.orsa-icindekiler ol { list-style: square; margin: 0 0 25px; padding-left: 20px; }
.orsa-icindekiler ol ol { margin: 0; }
.orsa-icindekiler li { line-height: 28.8px; margin: 0; padding: 0; }
.orsa-icindekiler a { color: #f86635; font-size: 16px; line-height: 24px; text-decoration: none; }
.orsa-icindekiler a:hover { color: #0d1267; }

/* ---------------------------------------------------------------- SSS akordiyonu (blog) — eski Fusion SSS görünümü */
.cs_blog_detail_text_2 .orsa-sss { margin: 30px 0; }
.orsa-sss-oge { border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.orsa-sss-oge > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 18px 22px;
  transition: background 0.2s;
}
.orsa-sss-oge > summary::-webkit-details-marker { display: none; }
.orsa-sss-oge > summary:hover { background: rgba(0, 0, 0, 0.03); }
.orsa-sss-oge > summary:focus-visible { outline: 2px solid #ff6b00; outline-offset: -2px; }
.orsa-sss-oge > summary::after { content: '+'; flex-shrink: 0; font-size: 24px; font-weight: 300; line-height: 24px; opacity: 0.6; }
.orsa-sss-oge[open] > summary::after { content: '\2212'; }
.cs_blog_detail_text_2 .orsa-sss-soru {
  color: #101010;
  flex: 1;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  margin: 0;
}
.orsa-sss-cevap { border-top: 1px solid rgba(0, 0, 0, 0.08); padding: 4px 22px 22px; }
.orsa-sss-cevap img { display: block; height: auto !important; max-width: 100% !important; }
@media screen and (max-width: 767px) {
  .orsa-sss-oge > summary { padding: 14px 16px; }
  .cs_blog_detail_text_2 .orsa-sss-soru { font-size: 15px; }
  .orsa-sss-cevap { padding: 4px 16px 18px; }
}

/* ---------------------------------------------------------------- Görsel + altyazı */
.orsa-gorsel { margin: 0; max-width: 100%; }
.orsa-gorsel img { display: block; height: auto; max-width: 100%; }
.orsa-gorsel figcaption { font-size: 17px; line-height: 28.9px; margin: 0 0 16px; }
.orsa-orta { display: block; margin-left: auto; margin-right: auto; }
.orsa-sol { float: left; margin: 0 20px 20px 0; }
.orsa-sag { float: right; margin: 0 0 20px 20px; }
.orsa-ayirac { margin-bottom: 3%; width: 100%; }

/* ---------------------------------------------------------------- Kod örnekleri */
.orsa-kod {
  background: #f6f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  overflow-x: auto;
  padding: 16px;
  white-space: pre;
}
.orsa-kod code { background: none; color: #24292f; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------------------------------------------------------------- Görünüm sınıfları (başlık seviyesi düzeltilen öğeler)
   Anlamsal seviye değişti (ör. H4→H2), görünüm eski seviyede kaldı. Değerler temanın
   ".cs_blog_detail_text_2 hN" kurallarından birebir; özgüllük (0,2,0) temanınkini (0,1,1) geçer. */
.cs_blog_detail_text_2 .orsa-g3 { font-size: 28px; }
.cs_blog_detail_text_2 .orsa-g4 { font-size: 24px; }
.cs_blog_detail_text_2 .orsa-g5 { font-size: 20px; }
.cs_blog_detail_text_2 .orsa-g6 { font-size: 18px; }
@media screen and (max-width: 767px) {
  .cs_blog_detail_text_2 .orsa-g3 { font-size: 20px; }
  .cs_blog_detail_text_2 .orsa-g4 { font-size: 18px; }
  .cs_blog_detail_text_2 .orsa-g5 { font-size: 17px; }
  .cs_blog_detail_text_2 .orsa-g6 { font-size: 16px; }
}

/* ---------------------------------------------------------------- 404 sayfası */
.orsa-404-liste { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.orsa-404-liste a { color: var(--heading-color); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.orsa-404-liste a:hover { color: #ff6b00; }

/* ---------------------------------------------------------------- Yeni blog baloncuğu renkleri (kullanıcı 2026-10-18):
   turuncu zemin, siyah etiket, beyaz başlık, mavi nokta; hover siyah zemin */
/*turuncu-10-18*/.orsa-yb{background:#ff6b00;color:#000}.orsa-yb-etiket{color:#000}.orsa-yb-baslik{color:#fff}.orsa-yb-etiket::before{background:#0000ff}.orsa-yb-kapat{color:rgba(0,0,0,.6)}.orsa-yb-kapat:hover,.orsa-yb-kapat:focus-visible{color:#000;background:rgba(0,0,0,.08)}.orsa-yb:hover,.orsa-yb:focus-visible{background:#000}.orsa-yb:hover .orsa-yb-etiket,.orsa-yb:focus-visible .orsa-yb-etiket{color:#ff6b00}.orsa-yb:hover .orsa-yb-kapat,.orsa-yb:focus-visible .orsa-yb-kapat{color:rgba(255,255,255,.6)}.orsa-yb:focus-visible{outline-color:#000}

/* Logo: tema yalnız yüksekliği verir; width/height nitelikleri (CLS için) genişliği sabitlemesin → oran dosyadan */
.cs_site_branding img { width: auto; }

/* İletişim / teklif formu sonuç mesajı */
.orsa-form-mesaj { margin: 20px 0 0; font-weight: 600; color: var(--heading-color); }
.orsa-form-mesaj:empty { display: none; }

/* /blog/ kategori satırı (kategori sayfaları iç bağlantı alsın) */
.orsa-kategoriler { margin: 18px 0 0; font-size: 16px; }
.orsa-kategoriler a { color: var(--heading-color); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.orsa-kategoriler a:hover { color: #ff6b00; }
