/* Blog liste — anasayfa slider dili + kullanıcı odaklı listeleme */

.blog-page {
    --blog-primary: var(--home-primary, #d03792);
    --blog-primary-soft: var(--home-primary-soft, rgba(208, 55, 146, 0.12));
    --blog-bg: var(--home-bg, #fcf8f9);
    --blog-surface: var(--home-surface, #fff);
    --blog-text: var(--home-text, #1c1b1c);
    --blog-muted: var(--home-text-muted, #68687a);
    --blog-border: var(--home-border, #e8e8ef);
    color: var(--blog-text);
}

/* Overlay menü (anasayfa gibi) — hero üstte başlar, ekstra shell padding yok */
.position-relative:has(> .header-home--overlay):has(.blog-page) {
    padding-top: 0;
}

/* -------------------------------------------------------------------------- */
/* Slider dilinde giriş                                                       */
/* -------------------------------------------------------------------------- */

.home-hero-slider.blog-intro {
    height: auto;
    min-height: clamp(420px, 58svh, 560px);
    /* Overlay menü altında nefes alanı (anasayfa gibi transparan + top:10px) */
    padding: 96px 0 48px;
}

.blog-intro-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    max-width: 820px;
    margin: 0 auto;
}

.blog-intro-copy {
    align-items: center;
    text-align: center;
    max-width: 720px;
}

.blog-intro .home-hero-slide-title {
    font-size: clamp(2rem, 4.6vw, 3.1rem);
}

.blog-intro .home-hero-slide-desc {
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

.blog-intro .home-hero-slide-actions {
    justify-content: center;
}

.blog-intro .home-hero-trust {
    justify-content: center;
}

/* Slider animasyonları swiper'a bağlı — blog girişinde içeriği görünür yap */
.home-hero-slider.blog-intro .home-hero-eyebrow,
.home-hero-slider.blog-intro .home-hero-slide-title,
.home-hero-slider.blog-intro .home-hero-slide-title-alt,
.home-hero-slider.blog-intro .home-hero-slide-desc,
.home-hero-slider.blog-intro .home-hero-slide-actions,
.home-hero-slider.blog-intro .home-hero-trust {
    opacity: 1;
    transform: none;
}

/* Breadcrumb — trust satırının hemen altında */
.blog-breadcrumb {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.blog-breadcrumb-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 6px;
    margin: 0;
    padding: 8px 14px;
    list-style: none;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 21, 26, 0.06);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(23, 21, 26, 0.04);
}

.blog-breadcrumb-item,
.blog-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
}

.blog-breadcrumb-item a,
.blog-breadcrumb-item > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-muted);
    text-decoration: none;
}

.blog-breadcrumb-item a .material-symbols-outlined {
    font-size: 16px;
}

.blog-breadcrumb-item a:hover {
    color: var(--blog-primary);
}

.blog-breadcrumb-sep .material-symbols-outlined {
    font-size: 16px;
    color: #b8b2bd;
}

.blog-breadcrumb-item.is-current > span {
    color: var(--blog-text);
}

@media (max-width: 767.98px) {
    .home-hero-slider.blog-intro {
        min-height: 0;
        padding: 88px 0 36px;
    }

    .blog-intro .home-hero-side,
    .blog-intro .home-hero-floats {
        display: none;
    }

    .blog-breadcrumb-list {
        max-width: 100%;
        border-radius: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* -------------------------------------------------------------------------- */
/* Ortak section head                                                         */
/* -------------------------------------------------------------------------- */

.blog-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 22px;
}

.blog-section-title {
    margin: 0 0 6px;
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--blog-text);
}

.blog-section-title em {
    font-style: normal;
    background: linear-gradient(115deg, #e85aad 0%, #d03792 45%, #b02fc0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.blog-section-desc {
    margin: 0;
    max-width: 42ch;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--blog-muted);
}

.blog-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--blog-primary);
    text-decoration: none;
}

.blog-section-link .material-symbols-outlined {
    font-size: 18px;
}

.blog-section-link:hover {
    color: var(--home-primary-hover, #b82f7f);
}

/* -------------------------------------------------------------------------- */
/* Kategoriler                                                                */
/* -------------------------------------------------------------------------- */

.blog-cats {
    padding: 36px 0 12px;
    background: var(--blog-bg);
}

.blog-cats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .blog-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .blog-cats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (min-width: 1200px) {
    .blog-cats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.blog-cat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-cat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(208, 55, 146, 0.28);
    box-shadow: 0 12px 28px rgba(28, 27, 28, 0.06);
    color: inherit;
}

.blog-cat-card.is-active {
    border-color: transparent;
    background: linear-gradient(115deg, rgba(232, 90, 173, 0.1), rgba(208, 55, 146, 0.08));
    box-shadow: 0 10px 24px rgba(208, 55, 146, 0.12);
}

.blog-cat-card-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blog-primary-soft);
    color: var(--blog-primary);
    overflow: hidden;
}

.blog-cat-card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.blog-cat-card-icon .material-symbols-outlined {
    font-size: 22px;
}

.blog-cat-card-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.blog-cat-card-title {
    font-size: 14.5px;
    font-weight: 750;
    color: var(--blog-text);
}

.blog-cat-card-meta {
    font-size: 12.5px;
    color: var(--blog-muted);
    font-weight: 500;
}

.blog-cat-card-arrow {
    color: #c4bcc8;
    display: inline-flex;
}

.blog-cat-card-arrow .material-symbols-outlined {
    font-size: 18px;
}

.blog-cat-card:hover .blog-cat-card-arrow,
.blog-cat-card.is-active .blog-cat-card-arrow {
    color: var(--blog-primary);
}

/* -------------------------------------------------------------------------- */
/* Makaleler — 2’li üst + yatay satır liste                                   */
/* -------------------------------------------------------------------------- */

.blog-feed-section {
    position: relative;
    overflow: hidden;
    padding: 48px 0 80px;
    background: linear-gradient(180deg, #faf9fb 0%, #f4f3f6 50%, #faf9fb 100%);
}

.blog-feed-stage {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blog-feed-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.28;
}

.blog-feed-orb--a {
    width: min(380px, 50vw);
    height: min(380px, 50vw);
    left: -8%;
    top: 8%;
    background: rgba(160, 120, 150, 0.18);
}

.blog-feed-orb--b {
    width: min(320px, 42vw);
    height: min(320px, 42vw);
    right: -6%;
    bottom: 12%;
    background: rgba(120, 130, 160, 0.14);
}

.blog-feed-inner {
    position: relative;
    z-index: 1;
}

.blog-feed-head {
    margin-bottom: 28px;
}

.blog-feed-head .home-section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.blog-feed-back {
    margin-top: 10px;
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(40, 36, 48, 0.05);
    color: #5c5666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Meta: üstte yazar/tarih, altta metrik + CTA */
.blog-card-meta {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.blog-card-byline {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #7a7484;
}

.blog-card-byline-author {
    color: #3f3a48;
    text-decoration: none;
    font-weight: inherit;
    position: relative;
    z-index: 2;
}

a.blog-card-byline-author:hover,
.blog-card-byline-author.is-author-link:hover {
    color: #7a3f63;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.blog-card-byline-sep {
    color: #c4bec8;
}

.blog-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(60, 52, 70, 0.08);
}

.blog-card-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-card-metrics li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 10px;
    background: rgba(40, 36, 48, 0.04);
    color: #6a6472;
    font-size: 12px;
    font-weight: 650;
}

.blog-card-metrics .material-symbols-outlined {
    font-size: 15px;
    color: #9a93a3;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid rgba(60, 52, 70, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: #3f3a48;
    font-size: 12.5px;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.blog-card-cta .material-symbols-outlined {
    font-size: 16px;
    color: #8a8494;
    transition: transform 0.2s ease, color 0.2s ease;
}

.blog-duo-card:hover .blog-card-cta,
.blog-row:hover .blog-card-cta {
    border-color: rgba(160, 90, 130, 0.28);
    background: rgba(250, 246, 248, 0.95);
    color: #6d3d5a;
}

.blog-duo-card:hover .blog-card-cta .material-symbols-outlined,
.blog-row:hover .blog-card-cta .material-symbols-outlined {
    color: #a05a82;
    transform: translateX(2px);
}

/* Liste A — iki büyük kart */
.blog-duo {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

@media (min-width: 900px) {
    .blog-duo {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
}

.blog-duo-card {
    display: grid;
    grid-template-rows: auto 1fr;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(60, 52, 70, 0.08);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-duo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(60, 52, 70, 0.14);
    box-shadow: 0 16px 36px rgba(40, 36, 48, 0.08);
    color: inherit;
}

.blog-duo-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eceaf0;
}

.blog-duo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.blog-duo-card:hover .blog-duo-media img {
    transform: scale(1.04);
}

.blog-duo-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    min-height: 0;
}

.blog-duo-body .blog-card-meta {
    margin-top: auto;
}

.blog-duo-title {
    margin: 0;
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: #221f28;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-duo-card:hover .blog-duo-title {
    color: #5a3a4c;
}

.blog-duo-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6f6978;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Liste B — yatay dergi satırları */
.blog-rows {
    display: grid;
    gap: 12px;
}

.blog-row {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 14px;
    align-items: stretch;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(60, 52, 70, 0.08);
    border-radius: 18px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.blog-row:hover {
    transform: translateY(-2px);
    border-color: rgba(60, 52, 70, 0.14);
    box-shadow: 0 12px 28px rgba(40, 36, 48, 0.07);
    color: inherit;
}

@media (min-width: 768px) {
    .blog-row {
        grid-template-columns: 200px 1fr;
        gap: 20px;
        padding: 14px;
        border-radius: 20px;
    }
}

@media (min-width: 1100px) {
    .blog-row {
        grid-template-columns: 240px 1fr;
        gap: 22px;
        padding: 14px 16px;
    }
}

.blog-row-media {
    aspect-ratio: 5 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: #eceaf0;
}

.blog-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-row:hover .blog-row-media img {
    transform: scale(1.04);
}

.blog-row-body {
    display: grid;
    gap: 8px;
    align-content: center;
    min-width: 0;
    padding: 2px 2px 2px 0;
}

.blog-row-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.blog-row-title {
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.015em;
    color: #221f28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-row:hover .blog-row-title {
    color: #5a3a4c;
}

.blog-row-excerpt {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #6f6978;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-row .blog-card-meta {
    gap: 10px;
}

.blog-row .blog-card-foot {
    padding-top: 10px;
}

@media (max-width: 639.98px) {
    .blog-row-excerpt {
        display: none;
    }

    .blog-row .blog-card-cta {
        display: none;
    }

    .blog-row .blog-card-metrics li:last-child {
        display: none;
    }
}

.blog-list-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 48px 20px;
    text-align: center;
    color: #6f6978;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(60, 52, 70, 0.08);
    border-radius: 18px;
}

.blog-list-empty .material-symbols-outlined {
    font-size: 32px;
    color: #b0a8b6;
}

.blog-list-empty p {
    margin: 0;
    font-size: 14px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.blog-pagination nav {
    width: 100%;
}

.blog-pagination p {
    display: none;
}

.blog-pagination .pagination {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination .page-link {
    border: 1px solid var(--blog-border);
    border-radius: 12px !important;
    color: var(--blog-text);
    font-weight: 600;
    padding: 8px 14px;
    background: var(--blog-surface);
}

.blog-pagination .page-item.active .page-link {
    background: #3f3a48;
    border-color: #3f3a48;
    color: #fff;
}

.blog-pagination .page-link:hover {
    color: #5a3a4c;
    border-color: rgba(60, 52, 70, 0.22);
    background: #fff;
}

.blog-pagination .page-item.disabled .page-link {
    opacity: 0.45;
}

.home-shell:has(.blog-page) > .site-footer,
.position-relative:has(.blog-page) > .site-footer {
    margin-top: 0 !important;
}
