/* =========================================================
   BLOG - DETAY SAYFASI
========================================================= */

:root {
    --navy: #0E1B2B;
    --text-dark: #343434;
    --text-gray: #4B5563;
    --surface: #F7F8FA;
}


/* =========================================================
   AKTİF MENÜ
========================================================= */

.main-nav .nav-item.active {
    color: var(--accent);
}


/* =========================================================
   CONTAINER (SAYFA GENELİ - HEADER İLE HİZALI)
========================================================= */

.container-xl {
    max-width: 100%;
    padding-left: 96px;
    padding-right: 96px;
}

@media (max-width: 1199px) {
    .container-xl {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 575px) {
    .container-xl {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================================================
   SAYFA HERO / BREADCRUMB
========================================================= */

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    height: 347px;
    padding-top: 138px;
    background-color: var(--navy);
    background-image: url("img/BannerGorsel.png");
    background-size: cover;
    background-position: center;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 30px;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 400;
    line-height: 1.32;
    color: #fff;
}

.page-breadcrumb-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: var(--accent);
}

.page-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.5);
}

.page-breadcrumb .current {
    color: #fff;
}

.page-title {
    margin: 0;
    max-width: 682px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 42px;
    line-height: 1.32;
    color: #fff;
}


/* =========================================================
   MAKALE GİRİŞ (ORTALI)
========================================================= */

.article-intro {
    padding: 100px 0 60px;
    background: #fff;
    text-align: center;
}

.article-title {
    max-width: 1009px;
    margin: 0 auto 24px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 32px;
    line-height: 1.32;
    color: var(--text-dark);
}

.article-lead {
    max-width: 1145px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-dark);
}

.article-lead p {
    margin: 0;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-dark);
}


/* =========================================================
   MAKALE GÖVDE
========================================================= */

.article-body {
    padding: 0 0 80px;
    background: #fff;
}

.article-image {
    width: 100%;
    max-width: 1317px;
    margin: 0 auto 40px;
    aspect-ratio: 1317 / 619;
    overflow: hidden;
    border-radius: 4px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-text {
    max-width: 1317px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-text p {
    margin: 0;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-dark);
}


/* =========================================================
   ÖNE ÇIKAN BLOGLAR
========================================================= */

.related-section {
    padding: 0 0 100px;
    background: #fff;
}

.related-title {
    margin: 0 0 42px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 32px;
    line-height: 1.32;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.related-card {
    display: flex;
    flex-direction: column;
    height: 330px;
    color: inherit;
    text-decoration: none;
}

.related-card-media {
    width: 100%;
    flex: 1 1 auto;
    overflow: hidden;
    border-radius: 4px;
    background: var(--surface);
}

.related-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-card .related-card-title {
    flex: 0 0 auto;
    margin: 24px 0 0;
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -0.04em;
    color: #232323;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .article-intro {
        padding-top: 60px;
    }

    .article-title {
        font-size: 26px;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-hero {
        height: 260px;
        padding-top: 100px;
    }

    .page-title {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 24px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ÖNE ÇIKAN BLOGLAR (BLOG DETAY İÇİ)
========================================================= */

.blog-detail-related .container-xl {
    max-width: 1317px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 1199px) {
    .blog-detail-related .container-xl {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 575px) {
    .blog-detail-related .container-xl {
        padding-left: 20px;
        padding-right: 20px;
    }
}


