/* ============================================================
   BLOG — liste + makale detay (premium koyu tema)
   Tasarım token'larını style.css'ten devralır (--gold, --t vb.)
   ============================================================ */

.blog-section,
.post {
    background: #070707;
    color: var(--grey-100);
}

/* ─────────── Breadcrumb ─────────── */
.blog-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--grey-500);
    margin-bottom: 20px;
}
.blog-crumb a { color: var(--grey-300); transition: color var(--tf) var(--ease); }
.blog-crumb a:hover { color: var(--gold); }
.blog-crumb .sep { opacity: 0.4; }
.blog-crumb.light a { color: rgba(255,255,255,0.7); }
.blog-crumb.light span { color: rgba(255,255,255,0.5); }

/* ═══════════════════════════
   LİSTE — HERO
═══════════════════════════ */
.blog-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 140% at 50% 0%, #0d2730 0%, #080808 60%);
    padding: calc(var(--nav-h) + 64px) 0 72px;
    border-bottom: 1px solid var(--border-dark);
}
.blog-hero-glow {
    position: absolute;
    top: -160px; left: 50%;
    transform: translateX(-50%);
    width: 620px; height: 380px;
    background: rgba(14, 165, 196, 0.22);
    filter: blur(120px);
    pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; max-width: 880px; }
.blog-hero-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-10);
    border: 1px solid var(--gold-20);
    padding: 7px 16px;
    border-radius: var(--r-full);
    margin-bottom: 22px;
}
.blog-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 18px;
}
.blog-hero h1 span { color: var(--gold); }
.blog-hero p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--grey-300);
    max-width: 660px;
}

/* ═══════════════════════════
   LİSTE — KARTLAR
═══════════════════════════ */
.blog-section { padding: 72px 0 90px; }

.blog-featured-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}
.blog-featured-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bcard {
    display: flex;
    flex-direction: column;
    background: #101012;
    border: 1px solid var(--border-dark);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.bcard:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 196, 0.4);
    box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

.bcard-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bcard-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.bcard:hover .bcard-img { transform: scale(1.06); }
.bcard-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}
.bcard-emoji { position: relative; z-index: 1; font-size: 3.4rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)); }
.bcard-emoji.sm { font-size: 2.4rem; }
.bcard-cat {
    position: absolute;
    z-index: 2;
    top: 14px; left: 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 6px 13px;
    border-radius: var(--r-full);
}
.bcard-cat-inline {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 9px;
}

.bcard-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.bcard-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.78rem;
    color: var(--grey-500);
    margin-bottom: 12px;
}
.bcard-meta .dot { opacity: 0.5; }

.bcard-title {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.32;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}
.bcard-title.sm { font-size: 1rem; line-height: 1.4; }
.bcard-excerpt {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--grey-300);
    margin-bottom: 18px;
}
.bcard-link {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
    transition: gap var(--tf) var(--ease);
}
.bcard:hover .bcard-link { color: var(--gold-hov); }

/* Lead (büyük) kart */
.bcard-lead .bcard-thumb { aspect-ratio: 16 / 10; }
.bcard-lead .bcard-emoji { font-size: 4.6rem; }
.bcard-lead .bcard-title { font-size: 1.62rem; line-height: 1.22; }
.bcard-lead .bcard-body { padding: 30px; }

/* Yan (küçük) kart — yatay */
.bcard-side { flex-direction: row; }
.bcard-side .bcard-thumb { aspect-ratio: auto; width: 132px; flex-shrink: 0; }
.bcard-side .bcard-body { padding: 18px 20px; }

.blog-section-head {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.4px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-dark);
}

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

/* ═══════════════════════════
   LİSTE — CTA
═══════════════════════════ */
.blog-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 72px 0;
}
.blog-cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.blog-cta-inner h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.6px;
    margin-bottom: 14px;
}
.blog-cta-inner p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}
.blog-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.blog-cta .btn-gold {
    background: #fff;
    color: var(--gold-dark);
}
.blog-cta .btn-gold:hover { background: #f3f3f3; }

/* ═══════════════════════════
   MAKALE — HERO
═══════════════════════════ */
.post-hero {
    position: relative;
    overflow: hidden;
    background: var(--post-grad, linear-gradient(145deg,#0a1d24,#0c3340));
    padding: calc(var(--nav-h) + 56px) 0 56px;
    border-bottom: 1px solid var(--border-dark);
}
.post-hero::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}
.post-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    filter: saturate(1.05);
}
.post-hero.has-img::before {
    background: linear-gradient(180deg, rgba(8,12,16,0.55) 0%, rgba(8,12,16,0.78) 100%);
}
.post-hero-glow {
    position: absolute;
    top: -120px; right: -80px;
    width: 420px; height: 420px;
    background: rgba(14, 165, 196, 0.25);
    filter: blur(120px);
    pointer-events: none;
}
.post-hero .container { position: relative; z-index: 1; max-width: 880px; }
.post-hero-cat {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: var(--r-full);
    margin-bottom: 20px;
}
.post-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 24px;
    max-width: 820px;
}
.post-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.78);
}
.post-hero-meta .dot { opacity: 0.5; }
.post-author { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; }
.post-author-ava {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    border-radius: var(--r-full);
    font-size: 0.85rem;
}

/* ═══════════════════════════
   MAKALE — DÜZEN
═══════════════════════════ */
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    padding: 60px 0 80px;
    align-items: start;
}
.post-main { max-width: 760px; min-width: 0; }

.post-lead {
    font-size: 1.18rem;
    line-height: 1.75;
    color: #e9e9e9;
    font-weight: 400;
    padding-bottom: 28px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-dark);
}
.post-h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.4px;
    margin: 40px 0 16px;
    scroll-margin-top: calc(var(--nav-h) + 20px);
}
.post-p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--grey-300);
    margin-bottom: 18px;
}
.post-ul {
    list-style: none;
    margin: 4px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.post-ul li {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-300);
}
.post-ul li::before {
    content: "";
    position: absolute;
    left: 4px; top: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-10);
}
.post-quote {
    position: relative;
    margin: 28px 0;
    padding: 22px 26px;
    background: var(--gold-10);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: 1.06rem;
    line-height: 1.7;
    color: #eaf7fb;
    font-style: italic;
}

/* SSS (accordion) */
.post-faq { margin-top: 48px; }
.post-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.post-faq-item {
    background: #101012;
    border: 1px solid var(--border-dark);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t) var(--ease);
}
.post-faq-item[open] { border-color: rgba(14,165,196,0.35); }
.post-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.post-faq-item summary::-webkit-details-marker { display: none; }
.post-faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--gold);
    transition: transform var(--t) var(--ease);
    flex-shrink: 0;
}
.post-faq-item[open] summary::after { transform: rotate(45deg); }
.post-faq-a {
    padding: 0 22px 20px;
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--grey-300);
}

/* Yazı içi CTA */
.post-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding: 28px 30px;
    background: linear-gradient(135deg, #0e2730, #102a33);
    border: 1px solid rgba(14,165,196,0.25);
    border-radius: var(--r-lg);
}
.post-inline-cta h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.post-inline-cta p { font-size: 0.92rem; color: var(--grey-300); }
.post-inline-cta .btn { flex-shrink: 0; }

/* ─────────── Yan panel ─────────── */
.post-aside {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.post-toc {
    background: #101012;
    border: 1px solid var(--border-dark);
    border-radius: var(--r-lg);
    padding: 22px 24px;
}
.post-toc h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 14px;
}
.post-toc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.post-toc a {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--grey-300);
    transition: color var(--tf) var(--ease);
    display: block;
}
.post-toc a:hover { color: var(--gold); }

.post-aside-cta {
    background: linear-gradient(160deg, #0e2730, #0b1a20);
    border: 1px solid rgba(14,165,196,0.25);
    border-radius: var(--r-lg);
    padding: 26px 24px;
    text-align: center;
}
.post-aside-cta-ico { font-size: 2rem; display: block; margin-bottom: 10px; }
.post-aside-cta h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.post-aside-cta p { font-size: 0.88rem; line-height: 1.6; color: var(--grey-300); margin-bottom: 18px; }
.post-aside-wa {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}
.post-aside-wa:hover { color: var(--gold-hov); }

/* İlgili yazılar */
.post-related {
    background: #070707;
    padding: 24px 0 90px;
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 980px) {
    .blog-featured-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .post-layout { grid-template-columns: 1fr; gap: 0; }
    .post-aside { position: static; margin-top: 40px; }
    .post-toc { display: none; }
}

@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .bcard-side { flex-direction: column; }
    .bcard-side .bcard-thumb { width: 100%; aspect-ratio: 16/9; }
    .bcard-lead .bcard-title { font-size: 1.35rem; }
    .post-inline-cta { flex-direction: column; align-items: flex-start; }
    .post-inline-cta .btn { width: 100%; justify-content: center; }
    .blog-section { padding: 48px 0 64px; }
}
