﻿/* Blog sayfası: mevcut değişkenleri ve section mantığını kullanır */
:root {
    /* Senin projende zaten var; yoksa diye fallback */
    --athens-gray: #e8edf4;
    --bunting: #0a1f44;
}

/* HERO override - aynı hero-section ama blog'a özel ekstra */
.blog-hero .blog-hero-actions {
    margin-top: 18px;
    margin-bottom: 14px;
}

.blog-search {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-search-input {
    flex: 1;
    min-width: 220px;
    height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(10, 31, 68, 0.15);
    padding: 0 14px;
    outline: none;
    background: #fff;
    font-size: 15px;
}

    .blog-search-input:focus {
        border-color: rgba(10, 31, 68, 0.35);
        box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.08);
    }

.blog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(10, 31, 68, 0.18);
    background: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 13px;
    color: var(--bunting);
    text-decoration: none;
    transition: all 0.25s ease;
}

    .filter-pill:hover {
        background: #fff;
        border-color: rgba(10, 31, 68, 0.35);
    }

    .filter-pill.active {
        background: #fff;
        border-color: rgba(10, 31, 68, 0.45);
    }

/* Sağdaki featured kutu */
.blog-hero-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(10, 31, 68, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 20px;
}

.blog-hero-card-inner .badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(78, 85, 98, 0.12);
    color: #4e5562;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 12px;
}

/* Blog Card */
.blog-card {
    display: block;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(10, 31, 68, 0.12);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .blog-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.10);
        border-color: rgba(10, 31, 68, 0.22);
    }

.blog-card-media {
    width: 100%;
    height: 190px;
    background: rgba(10, 31, 68, 0.05);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 16px 16px 18px 16px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: rgba(10, 31, 68, 0.70);
    font-weight: 600;
    font-size: 12.5px;
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(78, 85, 98, 0.12);
    color: #4e5562;
    font-weight: 800;
    font-size: 12px;
}

.blog-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(10, 31, 68, 0.35);
    display: inline-block;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--bunting);
}

.blog-card-excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(10, 31, 68, 0.82);
    margin-bottom: 14px;
}

.blog-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    color: #4e5562;
    font-size: 13.5px;
}

.blog-arrow {
    font-size: 16px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.page-btn, .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 38px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid rgba(10, 31, 68, 0.18);
    background: #fff;
    color: var(--bunting);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.2s ease;
}

    .page-btn:hover, .page-num:hover {
        border-color: rgba(10, 31, 68, 0.35);
    }

    .page-num.active {
        background: rgba(78, 85, 98, 0.12);
        border-color: rgba(10, 31, 68, 0.28);
    }

    .page-btn.disabled {
        opacity: 0.5;
        pointer-events: none;
    }

/* Mobile */
@media (max-width: 991px) {
    .blog-card-media {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .blog-search-input {
        width: 100%;
    }
}
.blog-list-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
}

.blog-count {
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(10, 31, 68, 0.75);
}

/* Uzun satır kart listesi */
.blog-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-row-card {
    display: flex;
    gap: 16px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(10, 31, 68, 0.12);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .blog-row-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.10);
        border-color: rgba(10, 31, 68, 0.22);
    }

.blog-row-media {
    width: 260px;
    min-width: 260px;
    height: 160px;
    background: rgba(10, 31, 68, 0.05);
}

.blog-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-row-body {
    padding: 16px 16px 16px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-row-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 10px 0;
    color: var(--bunting);
}

.blog-row-excerpt {
    font-size: 14.8px;
    line-height: 1.65;
    color: rgba(10, 31, 68, 0.82);
    margin: 0 0 12px 0;
    /* özet çok uzarsa 2-3 satırda kes */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-row-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    color: #4e5562;
    font-size: 13.5px;
}

/* Mobile */
@media (max-width: 991px) {
    .blog-row-media {
        width: 220px;
        min-width: 220px;
        height: 150px;
    }
}

@media (max-width: 767px) {
    .blog-list-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-row-card {
        flex-direction: column;
    }

    .blog-row-media {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .blog-row-body {
        padding: 14px 14px 16px 14px;
    }
}
/* Detail backlink */
.blog-backlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: rgba(10, 31, 68, 0.75);
    text-decoration: none;
}

    .blog-backlink:hover {
        color: var(--bunting);
        text-decoration: underline;
    }

/* Detail cover */
.blog-detail-cover {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 68, 0.12);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: rgba(10, 31, 68, 0.05);
}

.blog-detail-cover-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
}

/* Article */
.blog-article {
    background: #fff;
    border: 1px solid rgba(10, 31, 68, 0.12);
    border-radius: 8px;
    padding: 22px;
}

    .blog-article p {
        font-size: 15.2px;
        line-height: 1.75;
        color: rgba(10, 31, 68, 0.85);
        margin-bottom: 14px;
    }

    .blog-article h2,
    .blog-article h3 {
        margin: 18px 0 10px;
        font-weight: 800;
    }

    .blog-article ul {
        padding-left: 18px;
        margin-bottom: 14px;
    }

    .blog-article li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

    .blog-article blockquote {
        margin: 16px 0;
        padding: 14px 16px;
        border-left: 4px solid rgba(10, 31, 68, 0.35);
        background: rgba(10, 31, 68, 0.05);
        border-radius: 6px;
        font-weight: 700;
        color: rgba(10, 31, 68, 0.80);
    }

/* Sidebar */
.blog-sidebar-box {
    background: #fff;
    border: 1px solid rgba(10, 31, 68, 0.12);
    border-radius: 8px;
    padding: 18px;
}

.blog-sidebar-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 14px;
}

.blog-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-related-item {
    display: flex;
    gap: 10px;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px;
    transition: background 0.2s ease;
}

    .blog-related-item:hover {
        background: rgba(10, 31, 68, 0.04);
    }

.blog-related-thumb {
    width: 64px;
    min-width: 64px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(10, 31, 68, 0.06);
    border: 1px solid rgba(10, 31, 68, 0.10);
}

    .blog-related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.blog-related-text {
    flex: 1;
    min-width: 0;
}

.blog-related-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    color: rgba(10, 31, 68, 0.70);
    font-weight: 700;
    font-size: 12px;
}

.blog-related-title {
    font-weight: 900;
    color: var(--bunting);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Share */
.blog-share {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 100%;
    height: 42px;
    border-radius: 6px;
    border: 1px solid rgba(10, 31, 68, 0.18);
    background: rgba(78, 85, 98, 0.08);
    font-weight: 900;
    color: var(--bunting);
}

    .share-btn:hover {
        background: rgba(78, 85, 98, 0.14);
    }

.blog-share-hint {
    display: inline-block;
    margin-top: 8px;
    color: rgba(10, 31, 68, 0.70);
    font-weight: 700;
}

/* Mobile */
@media (max-width: 991px) {
    .blog-detail-cover-img {
        height: 260px;
    }
}

@media (max-width: 767px) {
    .blog-article {
        padding: 16px;
    }
}
