/* ==========================================================================
   Blog — public liste/detay chrome. Sitenin marka değişkenleri (--primary #f59e0b) kullanılır.
   ========================================================================== */

/* ---- Yazı kartı ---- */
.blog-card {
    border: 0;
    border-bottom: 3px solid var(--primary);
    border-radius: 14px 14px 10px 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(17, 17, 26, .05);
    transition: transform .22s ease, box-shadow .22s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(17, 17, 26, .10);
}
.blog-card .blog-card-cover {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f5f7;
}
.blog-card .blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.blog-card:hover .blog-card-cover img { transform: scale(1.05); }
.blog-card .blog-eyebrow,
.blog-card .blog-eyebrow:hover {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .6px;
    text-decoration: none !important;
}
.blog-card-title,
.blog-card-title:hover { text-decoration: none !important; }
.blog-card-title { color: #23252d; transition: color .15s; }
.blog-card:hover .blog-card-title { color: var(--primary); }
.blog-card .blog-meta { font-size: .8rem; color: #6b7280; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.blog-sidebar .sb-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(17, 17, 26, .04);
    padding: 24px;
    margin-bottom: 26px;
}
.blog-sidebar .sb-title {
    font-size: 1.06rem;
    font-weight: 700;
    color: #1f2128;
    margin: 0 0 18px;
    padding-bottom: 12px;
    position: relative;
}
.blog-sidebar .sb-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* recent posts */
.blog-sidebar .recent-item,
.blog-sidebar .recent-item:hover {
    text-decoration: none !important;
}
.blog-sidebar .recent-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f2f3f5;
}
.blog-sidebar .recent-item:first-child { padding-top: 0; }
.blog-sidebar .recent-item:last-child { border-bottom: 0; padding-bottom: 0; }
.blog-sidebar .recent-thumb {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 12px;
    object-fit: cover;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9bec7;
}
.blog-sidebar .recent-title {
    font-size: .92rem;
    font-weight: 600;
    color: #33353f;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.blog-sidebar .recent-item:hover .recent-title { color: var(--primary); }
.blog-sidebar .recent-date { font-size: .78rem; color: #6b7280; margin-top: 5px; }

/* categories */
.blog-sidebar .cat-link,
.blog-sidebar .cat-link:hover {
    text-decoration: none !important;
}
.blog-sidebar .cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    margin: 2px 0;
    border-radius: 11px;
    color: #4a4d57;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.blog-sidebar .cat-link:hover,
.blog-sidebar .cat-link.active { background: var(--primary-rgba-10); color: var(--primary-200); }
.blog-sidebar .cat-link .cat-name i { color: var(--primary); font-size: .82rem; }
.blog-sidebar .cat-count {
    background: #f1f2f6;
    color: #5f6775;
    font-size: .74rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 11px;
    min-width: 30px;
    text-align: center;
    transition: background .15s, color .15s;
}
.blog-sidebar .cat-link:hover .cat-count,
.blog-sidebar .cat-link.active .cat-count { background: var(--primary); color: #fff; }

/* CTA — ana sayfadaki kl-cta-gradient + kl-cta-btn sistemi (sidebar'a uyarlanmış) */
.blog-sidebar .blog-cta.kl-cta-gradient {
    padding: 30px 24px;
    text-align: center;
    border-radius: 16px;
}
.blog-sidebar .blog-cta .blog-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    color: #fff;
}
.blog-sidebar .blog-cta h5 { color: #fff; font-weight: 700; margin-bottom: 8px; font-size: 1.12rem; }
.blog-sidebar .blog-cta p { color: rgba(255, 255, 255, .88); font-size: .88rem; margin-bottom: 18px; line-height: 1.5; }
.blog-sidebar .blog-cta .kl-cta-btn { padding: 12px 28px !important; font-size: .95rem !important; }

/* boş durum (sidebar son yazılar) */
.blog-sidebar .sb-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 0 6px;
    color: #6b7280;
    text-align: center;
}
.blog-sidebar .sb-empty i { font-size: 1.7rem; opacity: .55; }
.blog-sidebar .sb-empty span { font-size: .9rem; font-weight: 500; }

/* ==========================================================================
   Detay — makale hero (sitenin page-header gradient'i, makaleye uyarlanmış)
   ========================================================================== */
.blog-hero {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #c2690a 0%, #d97706 30%, #e8890a 60%, #f59e0b 100%);
    padding: 42px 48px 46px;
    color: #fff;
}
.blog-hero .blog-hero-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    z-index: 0;
}
.blog-hero .blog-hero-deco { top: -70px; right: -50px; width: 280px; height: 280px; }
.blog-hero .blog-hero-deco-2 { top: auto; bottom: -90px; right: 12%; width: 200px; height: 200px; background: rgba(255, 255, 255, .06); }
.blog-hero nav,
.blog-hero .blog-hero-title,
.blog-hero .blog-hero-meta { position: relative; z-index: 1; }
.blog-hero .blog-hero-crumb {
    background: rgba(0, 0, 0, .12) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    margin-bottom: 0;
    margin-top: 4px;
}
.blog-hero-title {
    color: #fff;
    font-weight: 600;
    font-size: 2.3rem;
    line-height: 1.22;
    margin: 0 0 16px;
    max-width: 900px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 14px;
}
.blog-hero-meta i { margin-right: 7px; opacity: .9; }

/* ==========================================================================
   Detay — paylaş CTA kartı (turuncu gradient, beyaz butonlar + platform-renkli ikon)
   ========================================================================== */
.blog-share-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    overflow: hidden;
    padding: 24px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c2690a 0%, #f59e0b 100%);
    box-shadow: 0 12px 28px rgba(217, 119, 6, .25);
}
.blog-share-cta .bsc-deco {
    position: absolute;
    top: -50px;
    right: -30px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    z-index: 0;
}
.blog-share-cta .bsc-title,
.blog-share-cta .bsc-btns { position: relative; z-index: 1; }
.blog-share-cta .bsc-title strong { display: block; color: #fff; font-size: 1.12rem; font-weight: 700; }
.blog-share-cta .bsc-title span { color: rgba(255, 255, 255, .9); font-size: .9rem; }
.blog-share-cta .bsc-btns { display: flex; gap: 10px; }
.blog-share-cta .sh {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 1.05rem;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    transition: transform .18s ease, box-shadow .18s ease;
}
.blog-share-cta .sh:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 20px rgba(0, 0, 0, .22); }
.blog-share-cta .sh-x { color: #111827; }
.blog-share-cta .sh-in { color: #0a66c2; }
.blog-share-cta .sh-fb { color: #1877f2; }
.blog-share-cta .sh-wa { color: #25d366; }

/* "Tüm yazılar" geri linki */
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none !important;
    transition: color .15s;
}
.blog-back i { transition: transform .18s ease; }
.blog-back:hover { color: var(--primary-200); }
.blog-back:hover i { transform: translateX(-5px); }

@media (max-width: 575.98px) {
    .blog-share-cta { flex-direction: column; text-align: center; }
    .blog-share-cta .bsc-btns { justify-content: center; }
}

@media (max-width: 767.98px) {
    .blog-hero { padding: 30px 24px 34px; }
    .blog-hero-title { font-size: 1.6rem; }
    .blog-hero-meta { gap: 14px; font-size: .82rem; }
}

@media (max-width: 991.98px) {
    .blog-sidebar { margin-top: 8px; }
}
