/* =========================================================
   BLOG - LİSTELEME 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;
}


/* =========================================================
   GİRİŞ (ORTALI)
========================================================= */

.blog-list-intro {
    padding: 100px 0 60px;
    background: #fff;
    text-align: center;
}

.blog-list-intro-heading {
    max-width: 527px;
    margin: 0 auto 24px;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 32px;
    line-height: 1.32;
    color: var(--text-dark);
}

.blog-list-intro-text {
    max-width: 1145px;
    margin: 0 auto;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-dark);
}


/* =========================================================
   BLOG GRID
========================================================= */

.blog-list-section {
    padding: 0 0 100px;
    background: #fff;
}

.blog-list-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-list-card {
    display: block;
    color: inherit;
}

.blog-list-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 423 / 291;
    overflow: hidden;
    border-radius: 4px;
    background: var(--surface);
}

.blog-list-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-list-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 27, 43, 0.79);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

a.blog-list-card:hover .blog-list-card-overlay {
    opacity: 1;
}

.blog-list-card-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
}

.blog-list-card-arrow svg {
    width: 20px;
    height: 20px;
}

.blog-list-card h3 {
    margin: 24px 0 0;
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -0.04em;
    color: #232323;
}


/* =========================================================
   DAHA FAZLA GÖSTER (YÜKLENİYOR)
========================================================= */

.blog-list-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 100px;
    background: #fff;
}

.blog-list-spinner {
    width: 32px;
    height: 32px;
    color: #C7CDD4;
    animation: blog-spin 1.1s linear infinite;
}

@keyframes blog-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .page-hero {
        height: 260px;
        padding-top: 100px;
    }

    .page-title {
        font-size: 28px;
    }

    .blog-list-intro {
        padding-top: 60px;
    }

    .blog-list-intro-heading {
        font-size: 26px;
    }

    .blog-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .page-hero {
        height: 220px;
        padding-top: 80px;
    }

    .page-title {
        font-size: 24px;
    }

    .blog-list-grid {
        grid-template-columns: 1fr;
    }
}
