/* ==========================================================================
   ek/basin-bulteni.css — /basin-bulteni/{tür}/{anahtar} (BasinBulteniDenetleyici). Önek "bb-".
   Taslak iki temada da kâğıt gibi açık zeminde durur: Word'e giden belgeyle aynı görünsün.
   ========================================================================== */
.bb-secim { display: flex; flex-direction: column; gap: 14px; }
.bb-kisi { align-items: flex-end; gap: 10px; max-width: 720px; }
.bb-izgara { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.bb-sol { min-width: 0; }
.bb-uyari { margin-bottom: 12px; font-size: 14px; }

.bb-belge { background: #FFFFFF; color: #1B2129; border: 1px solid var(--kenar); padding: clamp(20px, 4vw, 48px); font-family: var(--serif); font-size: 17px; line-height: 1.6; max-width: 820px; box-shadow: 0 6px 24px var(--golge); }
.bb-belge:focus { outline: 2px solid var(--soguk); outline-offset: 2px; }
.bb-belge h2 { font-family: var(--yazi); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; font-weight: 800; color: #0B0E12; margin: 0 0 18px; }
.bb-belge h3 { font-family: var(--yazi); font-size: 18px; font-weight: 700; color: #0B0E12; margin: 22px 0 8px; }
.bb-belge p { margin: 0 0 14px; }
.bb-belge ol, .bb-belge ul { margin: 0 0 16px; padding-left: 26px; }
.bb-belge ol { list-style: decimal; } .bb-belge ul { list-style: disc; }
.bb-belge li { margin: 0 0 6px; padding-left: 4px; }
.bb-belge .bb-alinti { padding-left: 16px; border-left: 3px solid #C9CED5; color: #353C46; }
.bb-belge .bb-not { font-family: var(--yazi); font-size: 13px; color: #6B7380; margin-bottom: 8px; }
.bb-belge .bb-not:first-of-type { margin-bottom: 18px; letter-spacing: 0.02em; }

.bb-kilitli { position: relative; overflow: hidden; }
.bb-silik { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; filter: blur(1.5px); }
.bb-silik span { display: block; height: 13px; background: #E6E9ED; border-radius: 2px; }
.bb-silik span:nth-child(2n) { width: 92%; } .bb-silik span:nth-child(3n) { width: 78%; } .bb-silik span:last-child { width: 46%; }
.bb-kilitli .bb-silik { position: relative; }
.bb-kilitli .bb-silik::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 60%; background: linear-gradient(rgba(255, 255, 255, 0), #FFFFFF); pointer-events: none; }
/* Kilitli önizlemenin sonu: devamının abonelere açık olduğu açıkça yazılır, düğme giriş formuna götürür */
.bb-devam { margin-top: 18px; padding: 18px 20px; border: 1px solid #DCE0E5; border-left: 3px solid var(--soguk); background: #F4F5F7; font-family: var(--yazi); }
.bb-devam-baslik { margin: 0; font-size: 17px; font-weight: 800; color: #0B0E12; }
.bb-devam-metin { margin: 6px 0 14px; font-size: 14px; line-height: 1.5; color: #353C46; }
.bb-devam .dugme { white-space: normal; text-align: center; }

.bb-yan { position: sticky; top: 16px; min-width: 0; }
.bb-ac .baslik-kart { display: flex; gap: 8px; align-items: center; }
.bb-basliklar { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; }
.bb-baslik-secim { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--kenar); cursor: pointer; font-size: 14px; line-height: 1.4; }
.bb-baslik-secim:hover { border-color: var(--kenar-guclu); }
.bb-baslik-secim input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--soguk); }
.bb-baslik-secim:has(input:checked) { border-color: var(--soguk); background: rgba(var(--soguk-rgb), 0.08); }
.bb-eylemler .dugme { flex: 1 1 auto; justify-content: center; }
.bb-cikis { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; color: var(--soluk); text-decoration: underline; }
.bb-cikis:hover { color: var(--baslik); }
.bb-giris summary { cursor: pointer; color: var(--soguk); }

/* Vekilin bülten sayfası (/basin-bulteni/vekil/…) ve giriş kapısı */
.bb-vekil-bas { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: flex-start; }
.bb-vekil-bas .sayfa-basi-sol { flex: 1 1 320px; min-width: 0; }
.bb-izgara-vekil .bb-sol { display: flex; flex-direction: column; gap: 14px; }
.bb-liste ul { list-style: none; margin: 0; padding: 0; }
.bb-liste li { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--ayrac); }
.bb-liste li:first-child { border-top: 0; }
.bb-liste-bag { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; min-width: 0; flex: 1 1 auto; color: var(--metin); }
.bb-liste-bag:hover { text-decoration: none; }
.bb-liste-bag:hover .bb-liste-baslik { color: var(--soguk); }
.bb-liste-baslik { font-weight: 600; line-height: 1.35; }
.bb-liste-ok { flex: 0 0 auto; font-size: 13px; color: var(--soguk); white-space: nowrap; }
.bb-adimlar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.bb-adimlar li { padding-left: 16px; position: relative; }
.bb-adimlar li::before { content: "›"; position: absolute; left: 2px; color: var(--soguk); font-weight: 700; }
.bb-genis { width: 100%; justify-content: center; }
.bb-yz-kilitli { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; max-width: 820px; border-left: 3px solid var(--soguk); }
.bb-yz-kilitli-metin { flex: 1 1 360px; min-width: 0; }

/* Paylaşım kartı (PaylasimKarti): solda söz ve biçim, sağda önizleme */
.bb-kart { max-width: 820px; }
.bb-kart-izgara { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.bb-kart-secim { min-width: 0; }
.bb-tasarimlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 8px; }
.bb-tasarim { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; border: 2px solid var(--kenar); cursor: pointer; font-size: 13px; font-weight: 600; text-align: center; background: var(--kart); }
.bb-tasarim img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.bb-tasarim:hover { border-color: var(--kenar-guclu); }
.bb-tasarim:has(input:checked) { border-color: var(--soguk); background: rgba(var(--soguk-rgb), 0.10); }
.bb-tasarim:has(input:focus-visible) { outline: 2px solid var(--soguk); outline-offset: 2px; }
.bb-kart-onizleme { display: flex; align-items: center; justify-content: center; min-height: 375px; padding: 12px; border: 1px dashed var(--kenar-guclu); background: var(--zemin); text-align: center; }
.bb-kart-onizleme img { display: block; width: 100%; height: auto; box-shadow: 0 6px 24px var(--golge); }
@media (max-width: 720px) { .bb-kart-izgara { grid-template-columns: minmax(0, 1fr); } .bb-kart-onizleme { min-height: 200px; } }

@media (max-width: 980px) {
  .bb-izgara { grid-template-columns: minmax(0, 1fr); }
  .bb-yan { position: static; }
  .bb-izgara[data-bb] .bb-yan { order: -1; }   /* açık taslakta başlık seçimi ve Kopyala/Word uzun belgenin üstünde */
}
@media (max-width: 560px) {
  .bb-belge { font-size: 16px; padding: 18px 16px; }
  .bb-kisi { flex-direction: column; align-items: stretch; }
  .bb-liste-ok { display: none; }
}
