.ad-placeholder { display: block !important; width: 100% !important; height: 280px !important; max-height: 280px !important; margin: 25px auto; text-align: center; background: transparent; overflow: hidden !important; border-radius: 8px; }
.ad-placeholder ins.adsbygoogle { display: block !important; width: 100% !important; height: 280px !important; max-height: 280px !important; }

@media (min-width: 768px) {
    .ad-placeholder.horizontal { height: 90px !important; max-height: 90px !important; }
    .ad-placeholder.horizontal ins.adsbygoogle { height: 90px !important; max-height: 90px !important; }
}

.custom-program-wrapper { width: 100%; display: block; }
.custom-program-header { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 15px; }
.custom-header-img-wrapper { flex: 0 0 140px; max-width: 140px; height: 140px; border-radius: 12px; overflow: hidden; background: var(--bg-secondary); }
.custom-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: var(--shadow); }
.custom-header-content-wrapper { flex: 1; min-width: 0; } 
.custom-program-header h1 { font-size: 1.8rem; margin: 0 0 10px 0; color: var(--text-primary); font-weight: 700; word-break: break-word; }

.custom-meta-dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.custom-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.meta-tag { padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #fff; }
.custom-downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.custom-dl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 13px; font-weight: 600; text-decoration: none; transition: 0.2s; touch-action: manipulation !important; }
.custom-dl-btn:hover { border-color: var(--primary); background: rgba(37,99,235,0.05); }

.custom-features { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 25px; }
.custom-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.custom-ozellik { display: flex; align-items: center; flex-wrap: wrap; padding: 12px 15px; background: var(--bg-secondary); border-radius: 8px; gap: 10px; }
.custom-ozellik i { font-size: 16px; color: var(--primary); width: 20px; text-align: center; }
.custom-ozellik strong { font-size: 13px; color: var(--text-primary); font-weight: 600; }
.custom-ozellik span { font-size: 13px; color: var(--text-secondary); word-break: break-word; }
.yildizlar-yan { display: inline-flex; flex-wrap: wrap; gap: 2px; }

.onemli-bilgiler-kutu { background: var(--bg-secondary); border-left: 5px solid var(--primary); padding: 20px; margin-bottom: 25px; border-radius: 8px; box-shadow: var(--shadow); }
.detay-icerik img { height: auto; max-width: 100%; display: block; border-radius: 8px; margin: 15px 0; }

.sss-konteyner { background: var(--bg-card); padding: 25px; border-radius: 8px; border: 1px solid var(--border); margin: 30px 0; box-shadow: var(--shadow); }
.sss-baslik { font-size: 22px; color: var(--text-primary); margin-top: 0; margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; font-weight: bold; display: flex; align-items: center; gap: 10px; }
.sss-oge { border-bottom: 1px solid var(--border); margin-bottom: 5px; }
.sss-soru-btn { width: 100%; text-align: left; background: none; border: none; padding: 15px 5px; font-size: 18px; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; touch-action: manipulation !important; }
.sss-cevap-alan { display: none; padding: 0 15px 20px 15px; color: var(--text-secondary); line-height: 1.6; font-size: 16px; border-left: 3px solid var(--primary); margin-left: 5px; }

.modern-galeri-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.modern-galeri-oge { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 16/10; margin: 0; background: var(--bg-secondary); touch-action: manipulation !important; }
.modern-galeri-oge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modern-galeri-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modern-galeri-oge:hover .modern-galeri-overlay { opacity: 1; }

.modern-lightbox-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.95); z-index: 10000; display: none; align-items: center; justify-content: center; }
.modern-lightbox-icerik { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.modern-lightbox-resim-container { position: relative; text-align: center; z-index: 10001; }
#lightboxResim { max-width: 90vw; max-height: 85vh; border-radius: 12px; object-fit: contain; }
.modern-lightbox-btn { position: absolute; z-index: 10002; background: rgba(0,0,0,0.6); color: white; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; cursor: pointer; border: none; touch-action: manipulation !important; }
.nav-btn-sol { left: 20px; top: 50%; transform: translateY(-50%); }
.nav-btn-sag { right: 20px; top: 50%; transform: translateY(-50%); }
.kapat-btn { top: 20px; right: 20px; background: rgba(239, 68, 68, 0.6); }

@media (max-width: 768px) {
    .custom-program-header { flex-direction: column; text-align: center; justify-content: center; }
    .custom-header-img-wrapper { flex: 0 0 100px; max-width: 100px; height: 100px; margin: 0 auto; }
    .custom-meta-dl-row { flex-direction: column; justify-content: center; align-items: center; gap: 15px; width: 100%; }
    .custom-meta { justify-content: center; width: 100%; }
    .custom-downloads { margin-left: 0; justify-content: center; width: 100%; }
    .custom-dl-btn { width: 100%; justify-content: center; }
    .custom-features-grid { grid-template-columns: 1fr; }
    .custom-ozellik { justify-content: space-between; }
    .modern-galeri-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .modern-galeri-oge { aspect-ratio: 1 / 1; }
}