/* ── Eğitim Detay İçerik Alanı ─────────────────────────────── */
.edu-detail-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 0;
    color: #333;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: left;
}
.edu-detail-content h2 {
    color: #1f5e4b;
    font-size: 1.5rem;
    margin: 36px 0 14px;
    font-weight: 700;
}
.edu-detail-content h3 {
    color: #36454F;
    font-size: 1.2rem;
    margin: 28px 0 10px;
    font-weight: 600;
}
.edu-detail-content p { margin-bottom: 16px; }
.edu-detail-content ul, .edu-detail-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.edu-detail-content li { margin-bottom: 8px; }
.edu-detail-content blockquote {
    border-left: 4px solid #ff9f1c;
    padding: 14px 20px;
    margin: 24px 0;
    background: #fffbf2;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.edu-detail-content strong { color: #1f2933; }

/* Yeni rozeti */
.edu-icon-wrapper { position: relative; }
.edu-new-badge {
    position: absolute;
    top: 8px; right: 8px;
    background: #ff9f1c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .04em;
}

/* CTA kutusu */
.edu-detail-cta {
    max-width: 820px;
    margin: 0 auto 40px;
    padding: 32px;
    background: linear-gradient(135deg, #1f5e4b, #2c3e50);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}
.edu-detail-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.edu-detail-cta p {
    opacity: .85;
    margin-bottom: 20px;
}

/* ── Eğitim Galerisi ───────────────────────────────────── */
.edu-gallery { margin: 48px 0 32px; }
.edu-gallery-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f5e4b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
.edu-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.edu-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #f1f5f9;
}
.edu-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.edu-gallery-item:hover img { transform: scale(1.06); }
.edu-gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,.42);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
    opacity: 0;
    transition: opacity .25s;
}
.edu-gallery-item:hover .edu-gallery-overlay { opacity: 1; }

/* ── Lightbox (galeri için) ────────────────────────────── */
.lb-backdrop {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.93);
    align-items: center; justify-content: center;
    flex-direction: column; padding: 20px;
}
.lb-backdrop.open { display: flex; }
.lb-close {
    position: fixed; top: 16px; right: 16px;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10001;
    transition: background .15s;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.25);
    color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10001;
    transition: background .15s;
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-nav-prev { left: 12px; }
.lb-nav-next { right: 12px; }
.lb-img-wrap {
    max-width: min(90vw, 1100px);
    max-height: 80vh;
    display: flex; align-items: center; justify-content: center;
}
.lb-img {
    max-width: 100%; max-height: 80vh;
    object-fit: contain; border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    transition: opacity .2s;
}
.lb-img.loading { opacity: 0; }
.lb-caption { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 14px; text-align: center; min-height: 20px; }
.lb-counter { color: rgba(255,255,255,.45); font-size: 12px; margin-top: 6px; }

@media (max-width: 600px) {
    .edu-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .lb-nav { width: 38px; height: 38px; font-size: 14px; }
}

/* ── Split Hero (kapak fotoğrafı varsa) ─────────────────── */
.edu-hero-split {
    padding: 60px 0 !important;
    min-height: auto !important;
}
.edu-hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    text-align: left;
}
.edu-hero-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.edu-hero-icon {
    margin-bottom: 16px;
}
.edu-hero-icon i {
    font-size: 3rem;
    color: rgba(255,255,255,0.85);
}
.edu-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.edu-hero-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    aspect-ratio: 4/3;
    flex-shrink: 0;
}
.edu-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Kapak yok → ortalanmış standart */
.edu-hero-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.edu-hero-center .edu-hero-icon i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    display: block;
}
.edu-hero-center .edu-hero-btns {
    justify-content: center;
}

@media (max-width: 900px) {
    .edu-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .edu-hero-photo {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 16/9;
    }
    .edu-hero-btns {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .edu-hero-split { padding: 40px 0 !important; }
    .edu-hero-inner { gap: 28px; }
    .edu-hero-photo { aspect-ratio: 4/3; }
}
