/* ===================================================
   BLOG PAGE - PIXEL PERFECT STYLES
   =================================================== */

.blog-page-body { 
    background: #FFFFFF; 
    overflow-x: hidden; 
}

/* Hero Ayarı (Hakkımızda ile aynı senkron) */
.blog-hero-adjustment {
    height: 320px !important;
    position: relative;
    width: 100%;
}

.blog-hero-bg {
    position: absolute;
    width: 1880px;
    height: 304px;
    left: calc(50% - 1880px/2);
    top: 70px;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0) 130.05%), 
                url('/images/hakkimizda-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    pointer-events: none;
}

@media (max-width: 1880px) {
    .blog-hero-bg {
        width: calc(100% - 40px);
        max-width: 1880px;
        left: 20px;
        right: 20px;
    }
}

.blog-hero-title {
    font-family: 'Radio Canada Big', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 46px;
    line-height: 100%;
    letter-spacing: 0.5%;
    color: #FFFFFF;
    margin: 0;
    width: 1460px;
    max-width: calc(100% - 40px);
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 1880px) {
    .hero-container .hero-social-frame {
        left: auto;
        right: 20px;
    }
}

/* Social Media Icons */
.hero-container .hero-social-frame {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 15px;
    position: absolute;
    width: 270px;
    height: 42px;
    left: 1420px;
    top: 201px;
    z-index: 10;
    pointer-events: auto;
}

.hero-container .hero-social-circle {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 57px;
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.hero-container .hero-social-circle:hover {
    background: #658004;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container .hero-social-circle img {
    width: 22px;
    height: 22px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Blog Ana İçerik Konteyneri */
.blog-main-content {
    padding-top: 150px;
    padding-bottom: 100px;
}

.container-1460 {
    width: 1460px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Yapısı (Figma Frame 61562) */
.blog-pixel-grid {
    display: grid;
    grid-template-columns: repeat(3, 469px); /* Figma: 468.97px */
    gap: 27px; /* Figma: Gap 27px */
    justify-content: center;
}

/* Blog Kartı Tasarımı */
.blog-pixel-card {
    width: 469px;
    min-height: 409px;
    height: auto;
    background: #FFFFFF;
    border-radius: 19.76px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Hover Efekti (Ana Sayfa ile Aynı) */
.blog-pixel-card:hover {
    background: #658004;
}

.blog-pixel-card:hover h3 {
    color: #FFFFFF;
}

.blog-pixel-card:hover .blog-card-cat {
    color: rgba(255, 255, 255, 0.76);
}

.blog-pixel-card:hover .blog-card-date {
    background: #658004;
}

/* Featured kart hover'da da yeşil kalır */
.blog-pixel-card.featured:hover {
    background: #658004;
    opacity: 0.95;
}

/* Öne Çıkan Kart (Figma Green Background) */
.blog-pixel-card.featured {
    background: #658004;
}

.blog-pixel-card.featured h3 { 
    color: #FFFFFF; 
}

.blog-pixel-card.featured .blog-card-cat { 
    color: rgba(255, 255, 255, 0.76); 
}

.blog-card-img-wrap {
    position: relative;
    height: 245.6px;
    width: calc(100% - 39.52px);
    margin: 19.76px;
    flex-shrink: 0;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13.17px;
}

/* Tarih Badge */
.blog-card-date {
    position: absolute;
    left: 20px;
    top: 20px;
    background: #000000;
    padding: 6px 15px;
    border-radius: 18px;
    color: #FFFFFF;
    font-family: 'Inter';
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-pixel-card.featured .blog-card-date { 
    background: #658004; 
}

.blog-card-info {
    position: relative;
    padding: 0 20px 30px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.blog-card-cat {
    font-family: 'Inter';
    font-size: 11px;
    color: rgba(0, 0, 0, 0.6);
    display: block;
    margin-bottom: 8px;
}

.blog-card-info h3 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 21px;
    line-height: 28px;
    margin: 0;
    color: #000000;
}

/* Daha Fazla Butonu (Group 16087) */
.blog-load-more {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.btn-more-blog {
    width: 224px;
    height: 62px;
    background: #658004;
    border: none;
    border-radius: 90px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #FFFFFF;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-more-blog:hover {
    opacity: 0.9;
}

/* ===================================================
   MOBILE RESPONSIVE
   =================================================== */

@media (max-width: 1480px) {
    .blog-pixel-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
    }
    
    .blog-pixel-card { 
        width: 100%; 
        max-width: 469px;
        height: 420px; 
    }
}

@media (max-width: 992px) {
    /* Header top değerini kaldır (diğer sayfalarla uyum için) */
    .blog-page-body .figma-header {
        top: 0 !important;
    }

    /* Hero Hizalaması (Hakkimizda ile aynı) */
    .hero-section.blog-hero-adjustment {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Hero Arka Planı (Hakkimizda ile aynı) */
    .blog-hero-bg { 
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        left: 0 !important;
        right: 0 !important;
        top: -50px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
        padding-bottom: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
    }
    
    .blog-hero-title { 
        font-family: 'Radio Canada Big' !important;
        font-weight: 700 !important;
        font-size: 32px !important;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        position: relative !important;
        z-index: 2;
        margin: 0 !important;
        padding: 0 20px !important;
        top: 0 !important;
    }

    .hero-container .hero-social-frame {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        top: 100px;
        width: auto;
        margin: 0;
        justify-content: center;
        gap: 12px;
        z-index: 10;
    }

    .hero-container .hero-social-circle {
        width: 40px;
        height: 40px;
    }

    .hero-container .hero-social-circle img {
        width: 20px;
        height: 20px;
    }

    .blog-main-content {
        padding-top: 0 !important;
        padding-bottom: 40px !important;
    }

    .container-1460 {
        margin: 0 auto;
        padding: 0 20px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .blog-pixel-grid { 
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .blog-pixel-card { 
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important; 
        min-height: 400px;
        padding-bottom: 0 !important; 
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
    }

    .blog-card-img-wrap { 
        position: relative !important; 
        height: 250px; 
        width: calc(100% - 40px) !important;
        margin: 20px !important;
        flex-shrink: 0;
    }

    .blog-card-info { 
        position: relative !important; 
        padding: 0 20px 20px 20px !important; 
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .blog-card-info h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .btn-more-blog {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-family: 'Radio Canada Big' !important;
        font-weight: 700 !important;
        font-size: 26px !important;
    }

    .hero-container .hero-social-frame {
        top: 100px;
        gap: 10px;
    }

    .hero-container .hero-social-circle {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .hero-container .hero-social-circle img {
        width: 18px;
        height: 18px;
    }

    .blog-pixel-card {
        min-height: 350px;
    }

    .blog-card-img-wrap {
        height: 200px;
        margin: 15px 15px 15px 15px;
    }

    .blog-card-info {
        padding: 0 15px 15px 15px;
    }

    .blog-card-info h3 {
        font-size: 16px;
    }
}

/* 320px için ekstra düzenlemeler */
@media (max-width: 320px) {
    .container-1460 {
        padding: 0 15px !important;
        margin: 40px auto !important;
    }

    .hero-container .hero-social-frame {
        top: 100px;
        gap: 8px;
    }

    .hero-container .hero-social-circle {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .hero-container .hero-social-circle img {
        width: 14px;
        height: 14px;
    }

    .blog-pixel-grid {
        gap: 15px !important;
    }

    .blog-pixel-card {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }

    .blog-card-img-wrap {
        height: 180px !important;
        margin: 15px !important;
    }

    .blog-card-info {
        padding: 0 15px 15px 15px !important;
    }

    .blog-card-info h3 {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .blog-card-cat {
        font-size: 10px !important;
    }

    .blog-card-date {
        font-size: 9px !important;
        padding: 4px 12px !important;
    }

    .btn-more-blog {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 18px !important;
        height: 50px !important;
    }
}
