/* Ders Detay Sayfası Stilleri */

.ders-baslik-alani {
    margin-top: 0;
    /* Updated: .ana in style.css already has margin-top: 80px */
    background-color: #f8fafc;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ders-baslik {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.breadcrumb {
    font-size: 0.95rem;
    color: #64748b;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.ders-icerik-alani {
    padding: 3rem 0 5rem;
    background-color: #fff;
}

.video-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.video-container-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ders-detay-metin {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f8f9fa;
    /* Slightly off-white context box */
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ders-detay-metin .link {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.ders-detay-metin a {
    color: var(--primary-color);
    text-decoration: underline;
    word-break: break-all;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ders-baslik-alani {
        padding: 1.5rem 0;
        /* Reduced padding */
        margin-top: 0;
        /* Ensure no extra margin on mobile either */
    }

    .ders-baslik {
        font-size: 1.8rem;
    }

    .ders-detay-metin {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
}