/* Blog — liste ve yazı sayfası (ön yüz) */

.blog-page,
.blog-article,
.blog-related {
    --bl-text: var(--text, #0f172a);
    --bl-muted: #64748b;
    --bl-border: #e6eaf0;
    --bl-soft: #f6f7f9;
    --bl-accent: var(--c-primary, #facc15);
    --bl-accent-ink: var(--c-primary-text, #0f172a);
    --bl-radius: 20px;
    --bl-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
    --bl-shadow-hover: 0 18px 44px rgba(15, 23, 42, .12);
    color: var(--bl-text);
}

/* ── Hero ─────────────────────────────────────────── */
.blog-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 340px at 85% -10%, rgba(var(--c-primary-rgb, 250, 204, 21), .28), transparent 60%),
        radial-gradient(600px 260px at 0% 110%, rgba(var(--c-primary-rgb, 250, 204, 21), .14), transparent 60%),
        #0f172a;
    color: #fff;
}

.blog-hero__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 24px 56px;
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 12.5px;
    font-weight: 750;
    letter-spacing: -.01em;
    color: #fff;
}

.blog-eyebrow svg { color: var(--bl-accent); }

.blog-hero h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 850;
}

.blog-hero p {
    max-width: 620px;
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .74);
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    padding: 6px 6px 6px 16px;
    border-radius: 16px;
    background: #fff;
    color: var(--bl-muted);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.blog-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--bl-text);
    padding: 10px 0;
}

.blog-search button {
    border: 0;
    border-radius: 12px;
    padding: 0 20px;
    min-height: 44px;
    background: var(--bl-accent);
    color: #111827;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .15s ease;
}

.blog-search button:hover { filter: brightness(.95); }

.blog-hero__stats {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.blog-hero__stats strong { color: #fff; }

/* ── Kabuk ───────────────────────────────────────── */
.blog-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px 72px;
}

.blog-resultbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px 16px;
    border: 1px solid var(--bl-border);
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
}

.blog-resultbar a {
    color: var(--bl-muted);
    font-weight: 700;
    text-decoration: none;
}

.blog-resultbar a:hover { color: var(--bl-text); }

.blog-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 44px 0 18px;
}

.blog-section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.02em;
    font-weight: 800;
}

.blog-section-head a {
    font-size: 14px;
    font-weight: 750;
    color: var(--bl-text);
    text-decoration: none;
}

.blog-section-head a:hover { text-decoration: underline; }

/* ── Ortak: etiket, meta, devamını oku, yer tutucu ── */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bl-soft);
    border: 1px solid var(--bl-border);
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.blog-tag--strong {
    background: rgba(var(--c-primary-rgb, 250, 204, 21), .22);
    border-color: rgba(var(--c-primary-rgb, 250, 204, 21), .55);
    color: #111827;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 13px;
    font-weight: 650;
    color: var(--bl-muted);
}

.blog-meta > * + *::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 14px;
    border-radius: 50%;
    background: #cbd5e1;
    vertical-align: middle;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--bl-text);
}

.blog-readmore span { transition: transform .2s ease; }

.blog-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(260px 160px at 80% 10%, rgba(var(--c-primary-rgb, 250, 204, 21), .45), transparent 70%),
        linear-gradient(135deg, #1e293b, #0f172a);
}

.blog-ph__mark {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -.04em;
    color: rgba(255, 255, 255, .9);
}

/* ── Öne çıkan yazı ──────────────────────────────── */
.blog-feature {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    min-height: 380px;
    border: 1px solid var(--bl-border);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--bl-shadow);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.blog-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--bl-shadow-hover);
}

.blog-feature__media {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    min-height: 260px;
}

.blog-feature__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.blog-feature:hover .blog-feature__media img { transform: scale(1.04); }

.blog-feature__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bl-accent);
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.blog-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 36px 36px 34px;
}

.blog-feature__body h2 {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.15;
    letter-spacing: -.03em;
    font-weight: 850;
}

.blog-feature__body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #475569;
}

.blog-feature .blog-readmore { margin-top: 6px; }
.blog-feature:hover .blog-readmore span { transform: translateX(4px); }

/* ── Kart ızgarası ───────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bl-border);
    border-radius: var(--bl-radius);
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--bl-shadow);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bl-shadow-hover);
}

.blog-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.blog-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.blog-card:hover .blog-card__media img { transform: scale(1.05); }

.blog-card .blog-ph__mark { font-size: 48px; }

.blog-card__date {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 750;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 18px 20px 20px;
}

.blog-card h3 {
    margin: 0;
    font-size: 18.5px;
    line-height: 1.3;
    letter-spacing: -.02em;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--bl-border);
    font-size: 12.5px;
    font-weight: 650;
    color: var(--bl-muted);
}

.blog-card:hover .blog-readmore span { transform: translateX(4px); }

/* ── Boş durum, sayfalama, CTA ───────────────────── */
.blog-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    padding: 56px 24px;
    border: 1.5px dashed #d8dee6;
    border-radius: 20px;
    text-align: center;
    color: var(--bl-muted);
    background: #fff;
}

.blog-empty strong {
    color: var(--bl-text);
    font-size: 17px;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.blog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--bl-border);
    border-radius: 12px;
    background: #fff;
    color: var(--bl-text);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.blog-pagination a:hover { border-color: #94a3b8; }

.blog-pagination a.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.blog-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 56px;
    padding: 32px 36px;
    border-radius: 24px;
    background:
        radial-gradient(500px 200px at 100% 0%, rgba(255, 255, 255, .35), transparent 60%),
        var(--bl-accent);
    color: #111827;
}

.blog-cta h2 {
    margin: 0 0 6px;
    font-size: 24px;
    letter-spacing: -.02em;
    font-weight: 850;
}

.blog-cta p {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(17, 24, 39, .75);
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease;
}

.blog-cta__btn:hover { color: #fff; transform: translateY(-1px); }

/* ── Yazı sayfası ────────────────────────────────── */
.blog-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: 3px;
    background: transparent;
    pointer-events: none;
}

.blog-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--bl-accent, var(--c-primary, #facc15));
    box-shadow: 0 0 8px rgba(var(--c-primary-rgb, 250, 204, 21), .6);
    transition: width .08s linear;
}

.blog-article {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 24px;
}

.blog-article__head {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}

.blog-crumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 650;
    color: #94a3b8;
}

.blog-crumb a {
    color: var(--bl-muted);
    text-decoration: none;
}

.blog-crumb a:hover { color: var(--bl-text); }

.blog-crumb__current {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bl-text);
}

.blog-article__head .blog-tags { justify-content: center; }

.blog-article__head h1 {
    margin: 16px 0 16px;
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 850;
}

.blog-article__lead {
    margin: 0 auto 24px;
    max-width: 680px;
    font-size: 19px;
    line-height: 1.6;
    color: #475569;
}

.blog-byline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.blog-byline__avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: var(--bl-accent);
    font-size: 15px;
    font-weight: 850;
}

.blog-byline__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-byline__text strong { font-size: 14.5px; }

.blog-byline__text span {
    font-size: 13px;
    color: var(--bl-muted);
}

.blog-article__cover {
    margin: 0 auto 44px;
    max-width: 1080px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.blog-article__cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
}

.blog-article__layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) 300px;
    justify-content: center;
    gap: 56px;
    align-items: start;
}

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

.blog-article__side {
    position: sticky;
    top: calc(var(--header-h, 72px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* İçerik tipografisi */
.blog-prose {
    font-size: 18px;
    line-height: 1.8;
    color: #1e293b;
}

.blog-prose > *:first-child { margin-top: 0; }

.blog-prose h2 {
    margin: 2em 0 .7em;
    font-size: 1.55em;
    line-height: 1.25;
    letter-spacing: -.025em;
    font-weight: 850;
    color: var(--bl-text);
    scroll-margin-top: calc(var(--header-h, 72px) + 20px);
}

.blog-prose h3 {
    margin: 1.7em 0 .6em;
    font-size: 1.25em;
    line-height: 1.3;
    letter-spacing: -.015em;
    font-weight: 800;
    color: var(--bl-text);
    scroll-margin-top: calc(var(--header-h, 72px) + 20px);
}

.blog-prose p,
.blog-prose ul,
.blog-prose ol { margin: 0 0 1.25em; }

.blog-prose ul,
.blog-prose ol { padding-left: 1.3em; }

.blog-prose li { margin-bottom: .45em; }

.blog-prose li::marker {
    color: #94a3b8;
    font-weight: 700;
}

.blog-prose a {
    color: var(--bl-text);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--bl-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.blog-prose a:hover { background: rgba(var(--c-primary-rgb, 250, 204, 21), .2); }

.blog-prose strong { color: var(--bl-text); }

.blog-prose img {
    max-width: 100%;
    height: auto;
    margin: .6em 0;
    border-radius: 14px;
}

.blog-prose blockquote {
    margin: 1.8em 0;
    padding: 18px 24px;
    border-left: 4px solid var(--bl-accent);
    border-radius: 0 16px 16px 0;
    background: var(--bl-soft);
    font-size: 1.05em;
    font-style: italic;
    color: #334155;
}

.blog-prose blockquote p:last-child { margin-bottom: 0; }

.blog-prose table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    font-size: .88em;
    line-height: 1.5;
    border: 1px solid var(--bl-border);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}

.blog-prose th,
.blog-prose td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--bl-border);
    text-align: left;
}

.blog-prose th {
    background: var(--bl-soft);
    font-weight: 800;
}

.blog-prose hr {
    margin: 2.4em 0;
    border: 0;
    border-top: 1px solid var(--bl-border);
}

/* Etiketler + paylaş */
.blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--bl-border);
}

.blog-article__tags > span,
.blog-sharebar > span {
    font-size: 13px;
    font-weight: 800;
    color: var(--bl-muted);
}

.blog-sharebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    border: 1px solid var(--bl-border);
    border-radius: 16px;
    background: #fff;
}

.blog-share {
    display: flex;
    gap: 8px;
}

.blog-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--bl-border);
    border-radius: 12px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.blog-share__btn:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
    transform: translateY(-1px);
}

.blog-share__btn.is-done {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.blog-backlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 750;
    color: var(--bl-muted);
    text-decoration: none;
}

.blog-backlink:hover { color: var(--bl-text); }

/* İçindekiler + yan CTA */
.blog-toc {
    padding: 18px 18px 14px;
    border: 1px solid var(--bl-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--bl-shadow);
}

.blog-toc[hidden] { display: none; }

.blog-toc h2 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bl-muted);
}

.blog-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 52vh;
    overflow-y: auto;
}

.blog-toc li a {
    display: block;
    padding: 7px 10px;
    border-left: 2px solid var(--bl-border);
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 650;
    color: #475569;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.blog-toc li.is-sub a {
    padding-left: 22px;
    font-size: 13px;
    font-weight: 600;
}

.blog-toc li a:hover { color: var(--bl-text); }

.blog-toc li a.is-active {
    color: var(--bl-text);
    border-left-color: var(--bl-accent);
    background: rgba(var(--c-primary-rgb, 250, 204, 21), .12);
}

.blog-sidecta {
    padding: 20px;
    border-radius: 18px;
    background:
        radial-gradient(240px 120px at 100% 0%, rgba(var(--c-primary-rgb, 250, 204, 21), .35), transparent 70%),
        #0f172a;
    color: #fff;
}

.blog-sidecta strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: -.01em;
}

.blog-sidecta p {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .72);
}

.blog-sidecta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bl-accent);
    color: #111827;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
}

/* İlgili yazılar */
.blog-related {
    margin-top: 40px;
    padding: 8px 0 72px;
    background: var(--bl-soft);
    border-top: 1px solid var(--bl-border);
}

.blog-related__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Duyarlı ─────────────────────────────────────── */
@media (max-width: 1080px) {
    .blog-article__layout {
        grid-template-columns: minmax(0, 720px);
    }
    .blog-article__side {
        position: static;
        display: none;
    }
}

@media (max-width: 960px) {
    .blog-feature { grid-template-columns: 1fr; }
    .blog-feature__media { aspect-ratio: 16 / 9; min-height: 0; }
    .blog-feature__body { padding: 24px; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .blog-hero__inner { padding: 40px 16px 36px; }
    .blog-hero p { font-size: 15.5px; }
    .blog-shell { padding: 28px 16px 48px; }
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
    .blog-cta { padding: 24px; }
    .blog-cta__btn { width: 100%; justify-content: center; }
    .blog-article { padding: 24px 16px 16px; }
    .blog-article__lead { font-size: 17px; }
    .blog-article__cover { border-radius: 16px; margin-bottom: 28px; }
    .blog-prose { font-size: 16.5px; }
    .blog-related__inner { padding: 0 16px; }
}

@media print {
    .blog-progress,
    .blog-article__side,
    .blog-sharebar,
    .blog-related { display: none !important; }
}
