.blog-hero,
.blog-detail-hero {
    position: relative;
    overflow: hidden;
    background-color: #0f2238;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.blog-hero {
    background-image: linear-gradient(180deg, rgba(7, 18, 34, .48), rgba(7, 18, 34, .82)), url('/img/blog/blog-hero-bg.jpg');
}

.blog-hero:before,
.blog-detail-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 14%, rgba(255,255,255,.16), transparent 32%);
}

.blog-hero__inner,
.blog-detail-hero__inner {
    position: relative;
    z-index: 2;
}

.blog-hero__inner {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 155px;
    padding-bottom: 90px;
}

.blog-hero__panel,
.blog-detail-hero__panel {
    width: 100%;
    max-width: 860px;
    text-align: center;
    padding: 42px 36px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: rgba(8, 18, 33, .28);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
    backdrop-filter: blur(6px);
}

.blog-hero__panel {
    max-width: 920px;
    padding: 46px 48px 34px;
    background: linear-gradient(180deg, rgba(10, 24, 42, .18), rgba(10, 24, 42, .42));
}

.blog-eyebrow,
.blog-index__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.blog-hero h1,
.blog-detail-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.08;
}

.blog-hero p {
    max-width: 680px;
    margin: 18px auto 0;
    font-size: 17px;
    line-height: 1.72;
    color: rgba(255,255,255,.84);
}

.blog-hero__stats {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    gap: 22px;
    margin-top: 28px;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(255,255,255,.08);
}

.blog-hero__stat {
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.blog-hero__stat strong {
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}

.blog-hero__stat span {
    color: rgba(255,255,255,.68);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-hero__stat-separator {
    width: 1px;
    background: rgba(255,255,255,.16);
}

.blog-index {
    background: #fff;
}

.blog-index__heading {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0 0 30px;
}

.blog-index__eyebrow {
    flex: 0 0 auto;
    margin: 0;
    background: #f3f7fb;
    border-color: #dfebf7;
    color: #17324e;
}

.blog-index__line {
    display: block;
    width: 100%;
    height: 1px;
    background: #e5edf4;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.blog-card {
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: 22px;
    overflow: hidden;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
    box-shadow: 0 10px 35px rgba(14, 35, 59, .06);
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(14, 35, 59, .14);
    border-color: #d9e5ef;
}

.blog-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eef3f7;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.04);
}

.blog-card__content {
    padding: 27px 28px 30px;
}

.blog-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.blog-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4f8fb;
    color: #5f7488;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
}

.blog-card h3 {
    margin: 0 0 15px;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 600;
}

.blog-card h3 a {
    color: #10243b;
}

.blog-card p {
    min-height: 78px;
    margin: 0 0 24px;
    color: #6a7c8e;
    line-height: 1.75;
}

.blog-card__meta svg,
.blog-detail-hero__meta svg,
.blog-detail-hero__back svg,
.blog-card__more-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #e8eef4;
    color: #10243b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.blog-empty {
    padding: 55px 20px;
    border: 1px solid #e7eef5;
    border-radius: 20px;
    text-align: center;
    color: #6b7f90;
    background: #fff;
}

.blog-pagination {
    margin-top: 54px;
}

.blog-pagination .paginationjs-pages a {
    text-decoration: none;
}

.blog-pagination .disabled {
    opacity: .35;
    pointer-events: none;
}

.blog-detail-hero__inner {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 74px;
}

.blog-detail-hero__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 600;
}

.blog-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    color: rgba(255,255,255,.76);
}

.blog-detail-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-detail-hero__summary {
    max-width: 720px;
    margin: 22px auto 0;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.72;
}

.blog-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
    align-items: start;
}

.blog-detail__main {
    min-width: 0;
}

.blog-detail__cover {
    margin: 0 0 36px;
    overflow: hidden;
    border-radius: 24px;
    background: #eef3f7;
    box-shadow: 0 16px 40px rgba(14, 35, 59, .08);
}

.blog-detail__cover img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.blog-detail__content {
    font-size: 17px;
    line-height: 1.9;
    color: #32495f;
}

.blog-detail__content h2,
.blog-detail__content h3,
.blog-detail__content h4 {
    margin-top: 1.8em;
    margin-bottom: .6em;
    color: #10243b;
}

.blog-detail__content p {
    margin-bottom: 1.2em;
}

.blog-detail__content ul,
.blog-detail__content ol {
    padding-left: 20px;
}

.blog-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.blog-detail__aside {
    position: sticky;
    top: 120px;
}

.blog-sidebox {
    padding: 28px;
    border: 1px solid #e5edf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(14, 35, 59, .06);
}

.blog-sidebox h2 {
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eef4;
    font-size: 18px;
    color: #10243b;
}

.blog-sidepost {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 15px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f6;
    color: #10243b;
}

.blog-sidepost:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidepost:first-of-type {
    padding-top: 0;
}

.blog-sidepost img {
    width: 94px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef3f7;
}

.blog-sidepost strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-sidepost small {
    display: block;
    margin-top: 7px;
    color: #8a9bac;
    font-size: 11px;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-detail__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-detail__aside {
        position: static;
    }

    .blog-hero__inner,
    .blog-detail-hero__inner {
        padding-top: 135px;
    }
}

@media (max-width: 767px) {
    .blog-hero__inner {
        min-height: 360px;
        padding-bottom: 70px;
    }

    .blog-hero__panel,
    .blog-detail-hero__panel {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .blog-hero__stats {
        gap: 14px;
        margin-top: 22px;
        padding: 12px 14px;
    }

    .blog-hero__stat {
        min-width: 76px;
    }

    .blog-hero p,
    .blog-detail-hero__summary,
    .blog-index__heading p {
        font-size: 16px;
    }

    .blog-card__content,
    .blog-sidebox {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-hero__inner {
        min-height: 300px;
        padding-bottom: 56px;
    }

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

    .blog-detail-hero h1 {
        font-size: 32px;
    }
}

/* Blog kategori filtreleri */
.blog-category-wrap {
    margin: -6px 0 42px;
    padding: 22px 24px;
    border: 1px solid #e6edf3;
    border-radius: 20px;
    background: #f8fbfd;
}

.blog-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.blog-category-head > span {
    color: #10243b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.blog-category-head small {
    color: #7b8d9e;
    font-size: 12px;
}

.blog-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 13px 9px 16px;
    border: 1px solid #dbe6ef;
    border-radius: 999px;
    background: #fff;
    color: #40566c;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}

.blog-category-chip em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef4f8;
    color: #60778d;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.blog-category-chip:hover,
.blog-category-chip.is-active {
    border-color: #17324e;
    background: #17324e;
    color: #fff;
}

.blog-category-chip:hover em,
.blog-category-chip.is-active em {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.blog-card__category {
    display: inline-flex;
    margin-bottom: 12px;
    color: #274965;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-detail-hero__category {
    margin: -4px 0 14px;
}

.blog-detail-hero__category a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .blog-category-wrap {
        padding: 18px;
    }

    .blog-category-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .blog-category-list {
        gap: 8px;
    }

    .blog-category-chip {
        min-height: 38px;
        padding: 7px 10px 7px 13px;
        font-size: 12px;
    }
}

/* Mobil kategori filtresi */
.blog-mobile-filter,
.blog-category-backdrop,
.blog-category-close,
.blog-category-sheet-handle {
    display: none;
}

.blog-category-head__text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.blog-category-head__text > span {
    color: #10243b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.blog-category-head__text small {
    color: #7b8d9e;
    font-size: 12px;
}

@media (max-width: 640px) {
    body.blog-filter-open {
        overflow: hidden;
        touch-action: none;
    }

    .blog-mobile-filter {
        display: block;
        margin: -6px 0 28px;
    }

    .blog-mobile-filter__button {
        width: 100%;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 14px 12px 16px;
        border: 1px solid #dfe8ef;
        border-radius: 18px;
        background: #fff;
        color: #10243b;
        box-shadow: 0 10px 28px rgba(14, 35, 59, .08);
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
    }

    .blog-mobile-filter__button-main,
    .blog-mobile-filter__button-side {
        display: inline-flex;
        align-items: center;
    }

    .blog-mobile-filter__button-main {
        gap: 11px;
        font-size: 14px;
        font-weight: 700;
    }

    .blog-mobile-filter__button-main > svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .blog-mobile-filter__button-side {
        gap: 7px;
        color: #7a8da0;
    }

    .blog-mobile-filter__button-side small {
        font-size: 11px;
        font-weight: 600;
    }

    .blog-mobile-filter__chevron {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .blog-category-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9997;
        background: rgba(5, 15, 26, .48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .blog-category-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #div_kategoriler.blog-category-wrap {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        width: 100%;
        max-height: min(78vh, 650px);
        margin: 0;
        padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 26px 26px 0 0;
        background: #fff;
        box-shadow: 0 -24px 70px rgba(5, 18, 32, .22);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(105%);
        visibility: hidden;
        transition: transform .34s cubic-bezier(.22,.8,.3,1), visibility .34s ease;
    }

    #div_kategoriler.blog-category-wrap.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    .blog-category-sheet-handle {
        display: block;
        width: 42px;
        height: 4px;
        margin: 2px auto 15px;
        border-radius: 999px;
        background: #d8e0e7;
    }

    .blog-category-head {
        position: sticky;
        top: -10px;
        z-index: 2;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 14px;
        margin: 0 -4px 14px;
        padding: 10px 4px 14px;
        border-bottom: 1px solid #edf2f6;
        background: #fff;
    }

    .blog-category-head__text {
        min-width: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
    }

    .blog-category-head__text > span {
        font-size: 18px;
        line-height: 1.2;
    }

    .blog-category-head__text small {
        font-size: 11px;
    }

    .blog-category-close {
        display: inline-flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #e4ebf1;
        border-radius: 50%;
        background: #f7fafc;
        color: #10243b;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
    }

    .blog-category-close svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #div_kategoriler .blog-category-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    #div_kategoriler .blog-category-chip {
        width: 100%;
        min-height: 52px;
        display: flex;
        justify-content: space-between;
        padding: 10px 11px 10px 16px;
        border-radius: 15px;
        font-size: 13px;
    }

    #div_kategoriler .blog-category-chip em {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
    }
}
