﻿body {
}
/* Article Detail Page Custom Styles - DataLega Kurumsal */
:root {
    --primary-teal: #008080;
    --dark-teal: #004d4d;
    --light-teal: #f0fafa;
}
.article-detail {
    background: #fafbfc;
}

/* Breadcrumb Styling */
.breadcrumb-item a {
    color: var(--primary-color, #008080);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .breadcrumb-item a:hover {
        opacity: 0.7;
    }

/* Article Header & Title */
.article-title {
    font-size: 2.0rem;
    line-height: 1.2;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.article-meta {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient, linear-gradient(135deg, #008080 0%, #004d4d 100%));
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lead Section (Giriş Metni) */
.article-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #495057;
    padding: 1.5rem;
    /*background: white;*/
    background: var(--light-teal);
    border-left: 4px solid var(--primary-color, #008080);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
}

/* Image Wrapper */
.image-wrapper {
    background: #eee;
    padding: 4px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

    .image-wrapper:hover {
        transform: scale(1.01);
    }
/* --- Makale Öne Çıkan Görsel --- */
.article-feature-image {
    width: 100%;
    margin-left: auto;
    margin-right: auto;

}

    .article-feature-image .image-inner-shadow {
        position: relative;
        background: #f1f3f5; /* Görsel yüklenene kadar gri bir zemin */
        border: 1px solid rgba(0, 0, 0, 0.08);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-radius: 10px;
    }

        .article-feature-image .image-inner-shadow:hover {
            transform: scale(1.01); /* Hafif bir büyüme efekti */
        }

    .article-feature-image img {
        display: block;
        width: 100%;
        /* Görselin çok uzun olmasını engellemek için ideal oran */
        max-height: 500px;
        object-fit: cover; /* Görseli bozmadan sığdırır */
        object-position: center;
    }


/* Main Content Typography */
.article-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2d3748;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

    .article-content h2 {
        color: var(--primary-color, #008080);
        font-weight: 700;
        font-size: 2rem;
        margin-top: 3rem;
        margin-bottom: 1.25rem;
    }

    .article-content h3 {
        color: #004d4d;
        font-weight: 600;
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .article-content blockquote {
        border-left: 4px solid var(--primary-color, #008080);
        padding: 1.5rem;
        margin: 2rem 0;
        background: #f4f7f6;
        border-radius: 0 8px 8px 0;
        font-style: italic;
        color: #334e4e;
    }

    .article-content a {
        color: var(--primary-color, #008080);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* Back Button */
.back-btn {
    border: 2px solid var(--primary-color, #008080);
    color: var(--primary-color, #008080);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .back-btn:hover {
        background: var(--primary-gradient, #008080);
        border-color: var(--primary-color, #008080);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 128, 128, 0.2);
    }

/* Responsive */
@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .article-title {
        font-size: 1.8rem;
    }
}

/* Mobilde görsel yüksekliğini biraz daha düşürelim ki ekranı tamamen kaplamasın */
@media (max-width: 768px) {
    .article-feature-image img {
        max-height: 300px;
    }
}