/* ============================================================
   Sharkonix Blog — Bloga ÖZEL koyu temalı header + bileşenler
   Footer orijinal siteden gelir (includes/footer.php).
   Renkler style.css değişkenlerinden gelir.
   ============================================================ */

/* ===================== BLOGA ÖZEL HEADER ===================== */
.blog-header {
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 200;
}
.blog-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 0;
}
.blog-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.blog-logo img { height: 46px; width: auto; display: block; }
.blog-logo-badge {
    background: var(--primary-green);
    color: #fff;
    font-weight: 800;
    font-style: italic;
    font-size: 0.88rem;
    padding: 3px 11px;
    border-radius: 6px;
    letter-spacing: -0.3px;
}

/* Başlık menüsü — aramanın SOLUNDA */
.blog-cats {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    flex-wrap: wrap;
}
.blog-cats a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 9px 13px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.blog-cats a i { color: var(--primary-green); font-size: 0.85rem; }
.blog-cats a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.blog-cats a.active { color: var(--primary-green); background: rgba(86, 204, 58, 0.12); }

/* Arama kutusu — SAĞDA */
.blog-search { display: flex; align-items: center; flex-shrink: 0; }
.blog-search input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px 0 0 30px;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    outline: none;
    width: 175px;
    transition: border-color 0.25s ease;
}
.blog-search input::placeholder { color: rgba(255, 255, 255, 0.4); }
.blog-search input:focus { border-color: rgba(86, 204, 58, 0.5); }
.blog-search button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 11px 16px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 0.92rem;
    transition: background 0.25s ease;
}
.blog-search button:hover { background: #4eb534; }

/* Mobil menü aç/kapa butonu */
.blog-cats-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 9px 13px;
    margin-left: auto;
    align-items: center;
    gap: 9px;
}
.blog-cats-toggle i { color: var(--primary-green); }

/* ===================== SLIDER ===================== */
.blog-slider-section { padding: 50px 0 10px; }
.blog-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.blog-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-slide {
    position: relative;
    min-width: 100%;
    display: block;
    text-decoration: none;
    color: #fff;
}
.blog-slide picture { display: block; width: 100%; }
.blog-slide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 72px 32px 26px;
    background: linear-gradient(to top, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
}
.blog-slide-caption h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.blog-slide-summary {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    transition: background 0.25s ease;
}
.blog-slider-nav:hover { background: var(--primary-green); }
.blog-slider-prev { left: 18px; }
.blog-slider-next { right: 18px; }
.blog-slider-dots {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 6;
}
.blog-slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.2s;
}
.blog-slider-dot.active { background: var(--primary-green); width: 26px; border-radius: 5px; }

/* ===================== HERO: SLIDER (sol) + ÖNE ÇIKANLAR (sağ) ===================== */
.blog-hero-section { padding: 40px 0 10px; }
/* Slider + öne çıkanlar yan yana: slider biraz küçülür (2fr), sağda 3 blog (1fr) */
.blog-hero-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    align-items: stretch;
}
.blog-hero-slider { min-width: 0; }
.blog-hero-split .blog-slider-section { padding: 0; }

/* Öne çıkan sütun — yatay kompakt kartlar (görsel solda + içerik sağda) */
.blog-featured { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.blog-featured-card {
    display: flex;
    gap: 14px;
    flex: 1 1 0;
    align-items: stretch;
    text-decoration: none;
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.blog-featured-card:hover { border-color: rgba(86, 204, 58, 0.35); }
.blog-featured-thumb {
    flex: 0 0 38%;
    max-width: 135px;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
}
.blog-featured-thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-featured-card:hover .blog-featured-thumb img { transform: scale(1.06); }
.blog-featured-content {
    flex: 1; min-width: 0;
    padding: 11px 14px 11px 0;
    display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.2s;
}
.blog-featured-card:hover .blog-featured-title { color: var(--primary-green); }
.blog-featured-summary {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Slider yokken öne çıkanlar 3 sütunlu grid (yine yatay kart) */
.blog-featured-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 860px) {
    .blog-hero-split { grid-template-columns: 1fr; gap: 16px; }
    .blog-featured-row { grid-template-columns: 1fr; }

    /* Slider'ın ALTINA yığılan öne çıkan kartlar:
       'flex: 1 1 0' yan yanayken (masaüstü) işe yarıyordu ama yığılınca kartları
       0 yüksekliğe çökertiyordu (thumb görseli position:absolute olduğu için).
       Yükseklik artık içerikten gelsin; thumb'a aspect-ratio ile gerçek yükseklik ver. */
    .blog-featured { gap: 14px; }
    .blog-featured-card { flex: 0 0 auto; }
    .blog-featured-thumb {
        flex: 0 0 38%;
        max-width: 150px;
        aspect-ratio: 16 / 10;
    }
}
@media (max-width: 560px) {
    .blog-hero-section { padding: 24px 0 6px; }
    .blog-featured-thumb { flex-basis: 36%; max-width: 150px; }
}

/* ===================== BAŞLIK BÖLÜMLERİ + YATAY KARTLAR ===================== */
.blog-section { padding: 26px 0 70px; }
.blog-hsection { margin-bottom: 46px; }
.blog-hsection:last-child { margin-bottom: 0; }
.blog-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 6px 0 22px;
}
.blog-section-head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    white-space: nowrap;
}
.blog-section-head h2 i { color: var(--primary-green); font-size: 1.25rem; }
.blog-section-head .line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.blog-clear-filter {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--primary-green); text-decoration: none;
    font-weight: 700; font-size: 0.88rem; white-space: nowrap;
    transition: color 0.2s;
}
.blog-clear-filter:hover { color: #fff; }

/* Yatay kart listesi (görsel 2 ve 3'teki gibi) */
.blog-hlist { display: flex; flex-direction: column; gap: 18px; }
.blog-hcard {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.blog-hcard:last-child { border-bottom: none; padding-bottom: 0; }
.blog-hcard-img {
    flex: 0 0 230px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #0d0d0d;
    display: block;
}
.blog-hcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-hcard:hover .blog-hcard-img img { transform: scale(1.05); }
.blog-hcard-body { flex: 1; min-width: 0; }
.blog-hcard-title { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.blog-hcard-title a { color: #fff; text-decoration: none; transition: color 0.2s; }
.blog-hcard-title a:hover { color: var(--primary-green); }
.blog-hcard-summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.94rem;
    line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-hcard-cat {
    display: inline-block;
    margin-top: 12px;
    background: rgba(86, 204, 58, 0.12);
    border: 1px solid rgba(86, 204, 58, 0.3);
    color: var(--primary-green);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 20px;
}

/* Meta satırı (yazar + tarih + güncelleme) */
.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}
.blog-featured-content .blog-meta { margin-top: 0; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta i { font-size: 0.92rem; }
.blog-meta-author { color: rgba(255, 255, 255, 0.72); }
.blog-meta-upd { color: rgba(255, 255, 255, 0.4); font-style: italic; }

/* Yatay kart responsive */
@media (max-width: 768px) {
    .blog-hcard { gap: 16px; }
    .blog-hcard-img { flex-basis: 132px; }
    .blog-hcard-title { font-size: 1rem; }
    .blog-hcard-summary { font-size: 0.85rem; }
}
@media (max-width: 430px) {
    .blog-hcard { gap: 12px; }
    .blog-hcard-img { flex-basis: 100px; }
    .blog-hcard-summary { display: none; }
}

/* ===================== BLOG KARTLARI ===================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(86, 204, 58, 0.3);
}
.blog-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d0d0d;
    display: block;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-date {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 6px;
    display: flex; align-items: center; gap: 6px;
}
.blog-card-date i { color: var(--primary-green); }
.blog-card-cat {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(86, 204, 58, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 6px;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blog-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-title { margin: 0 0 10px; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.blog-card-title a { color: #fff; text-decoration: none; transition: color 0.2s; }
.blog-card-title a:hover { color: var(--primary-green); }
.blog-card-summary {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
}
.blog-card-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.2s;
}
.blog-card-link i { transition: transform 0.2s; }
.blog-card-link:hover i { transform: translateX(4px); }

/* Boş durum */
.blog-empty {
    text-align: center;
    padding: 70px 20px;
    color: rgba(255, 255, 255, 0.6);
}
.blog-empty i { font-size: 3rem; color: var(--primary-green); margin-bottom: 18px; }
.blog-empty h3 { color: #fff; margin: 0 0 8px; }

/* ===================== BLOG DETAY ===================== */
.blog-detail { padding: 40px 0 80px; }
.blog-detail-wrap { max-width: 820px; margin: 0 auto; }
.blog-breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.blog-breadcrumb a { color: var(--primary-green); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-detail-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}
.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 10px 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.blog-detail-meta i { color: var(--primary-green); }
.blog-share-btn, .blog-follow-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: color 0.2s;
}
.blog-share-btn:hover, .blog-follow-btn:hover { color: var(--primary-green); }
.blog-share-btn i, .blog-follow-btn i { color: var(--primary-green); }

/* Paylaşım pop-up (tüm cihazlar) */
.blog-share-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.blog-share-modal.open { opacity: 1; visibility: visible; }
.blog-share-box {
    width: 100%;
    max-width: 440px;
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 26px 26px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s ease;
}
.blog-share-modal.open .blog-share-box { transform: translateY(0) scale(1); }
.blog-share-close {
    position: absolute;
    top: 14px; right: 16px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.blog-share-close:hover { background: rgba(255, 255, 255, 0.14); }
.blog-share-title {
    margin: 0 0 22px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex; align-items: center; gap: 10px;
}
.blog-share-title i { color: var(--primary-green); }
.blog-share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
}
.bsh-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
    font-size: 0.74rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    padding: 0;
    transition: color 0.2s;
}
.bsh-item:hover { color: #fff; }
.bsh-ic {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    transition: transform 0.2s ease;
}
.bsh-item:hover .bsh-ic { transform: translateY(-3px) scale(1.05); }

@media (max-width: 420px) {
    .blog-share-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 6px; }
    .bsh-ic { width: 50px; height: 50px; font-size: 1.25rem; }
}

/* Özet (italik) — başlık altında, görselden önce */
.blog-detail-summary {
    font-size: 1.13rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    font-style: italic;
    margin: 0 0 28px;
}

.blog-detail-cover {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.blog-detail-cover img { width: 100%; display: block; }

/* Zengin içerik (TinyMCE çıktısı) — koyu tema */
.blog-content { font-size: 1.08rem; line-height: 1.85; color: rgba(255, 255, 255, 0.8); }
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5, .blog-content h6 {
    color: #fff; font-weight: 800; line-height: 1.3; margin: 32px 0 14px;
}
.blog-content h1 { font-size: 1.9rem; }
.blog-content h2 { font-size: 1.6rem; }
.blog-content h3 { font-size: 1.35rem; }
.blog-content p { margin: 0 0 18px; }
.blog-content a { color: var(--primary-green); text-decoration: underline; }
.blog-content strong, .blog-content b { color: #fff; }
.blog-content img { border-radius: 12px; margin: 22px 0; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.blog-content ul, .blog-content ol { padding-left: 26px; margin: 0 0 18px; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 8px; }
.blog-content blockquote {
    border-left: 4px solid var(--primary-green);
    background: rgba(86, 204, 58, 0.06);
    padding: 16px 22px;
    margin: 22px 0;
    border-radius: 0 10px 10px 0;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}
.blog-content pre {
    background: #0a0a0a; color: #e6e9ee;
    padding: 18px 20px; border-radius: 10px; overflow-x: auto; margin: 22px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-content code { font-family: 'Courier New', monospace; color: var(--primary-green); }
.blog-content table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.blog-content table th, .blog-content table td {
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 12px 15px; text-align: left;
}
.blog-content table th { background: rgba(86, 204, 58, 0.1); color: #fff; }
.blog-content hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 28px 0; }

.blog-detail-foot {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.blog-back-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--primary-green); color: #fff;
    text-decoration: none; font-weight: 700; font-size: 0.92rem;
    padding: 12px 22px; border-radius: 30px;
    transition: background 0.25s ease, transform 0.25s ease;
}
.blog-back-btn:hover { background: #4eb534; transform: translateY(-2px); }

/* ===================== DETAY: ETİKETLER ===================== */
.blog-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.blog-detail-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    transition: border-color 0.2s, color 0.2s;
}
a.blog-detail-tag:hover { color: var(--primary-green); border-color: rgba(86, 204, 58, 0.4); }

/* ===================== DETAY: YAZAR KUTUSU ===================== */
.blog-author-box {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin: 34px 0;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-author-avatar {
    flex: 0 0 84px;
    width: 84px; height: 84px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--dark-gray);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
}
.blog-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-author-avatar i { font-size: 2rem; color: rgba(255, 255, 255, 0.3); }
.blog-author-info { flex: 1; min-width: 0; }
.blog-author-info h3 { margin: 0 0 8px; color: #fff; font-size: 1.4rem; font-weight: 800; }
.blog-author-info p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.6); font-size: 0.96rem; line-height: 1.6; }
.blog-author-social { display: flex; gap: 12px; }
.blog-author-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}
.blog-author-social a:hover { background: var(--primary-green); }

/* ===================== DETAY: YORUM FORMU ===================== */
.blog-comments-head { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0 0 18px; }
.blog-comment-section { margin-top: 36px; }
.blog-comment-alert {
    padding: 13px 18px; border-radius: 8px; margin-bottom: 18px; font-weight: 500; font-size: 0.92rem;
    display: flex; align-items: center; gap: 9px;
}
.blog-comment-alert.success { background: rgba(86, 204, 58, 0.12); color: var(--primary-green); border: 1px solid rgba(86, 204, 58, 0.35); }
.blog-comment-alert.error { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }
.blog-comment-form {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 26px;
}
.bcf-row { display: flex; gap: 18px; }
.bcf-field { flex: 1; min-width: 0; margin-bottom: 18px; }
.bcf-field label { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.bcf-field label span { color: var(--primary-green); }
.bcf-field input, .bcf-field textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 13px 15px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.bcf-field input::placeholder, .bcf-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.bcf-field input:focus, .bcf-field textarea:focus { border-color: rgba(86, 204, 58, 0.5); }
.bcf-field textarea { resize: vertical; min-height: 120px; }
.bcf-remember {
    display: flex; align-items: flex-start; gap: 10px;
    color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; line-height: 1.5;
    cursor: pointer; margin-bottom: 18px;
}
.bcf-remember input { margin-top: 2px; accent-color: var(--primary-green); width: 16px; height: 16px; flex-shrink: 0; }
.bcf-submit { display: flex; justify-content: flex-end; }
.bcf-submit button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.bcf-submit button:hover { background: #4eb534; transform: translateY(-2px); }

/* ===================== DETAY: YORUMLAR LİSTESİ ===================== */
.blog-comments-list { margin-top: 40px; }
.blog-comments-empty { color: rgba(255, 255, 255, 0.55); font-size: 0.96rem; }
.blog-comment {
    display: flex; gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.blog-comment:last-child { border-bottom: none; }
.blog-comment-avatar {
    flex: 0 0 46px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(86, 204, 58, 0.15);
    color: var(--primary-green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}
.blog-comment-body { flex: 1; min-width: 0; }
.blog-comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.blog-comment-meta strong { color: #fff; font-size: 1rem; }
.blog-comment-meta span { color: rgba(255, 255, 255, 0.4); font-size: 0.82rem; }
.blog-comment-body p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.94rem; line-height: 1.65; }

@media (max-width: 560px) {
    .blog-author-box { gap: 16px; }
    .blog-author-avatar { flex-basis: 64px; width: 64px; height: 64px; }
    .blog-author-info h3 { font-size: 1.2rem; }
    .bcf-row { flex-direction: column; gap: 0; }
    .blog-comment-form { padding: 18px; }
    .bcf-submit button { width: 100%; }
}

/* ===================== RESPONSIVE ===================== */
/* Kategori barı yerine hamburger menü (arama ile dar alanda çakışmasın diye) */
@media (max-width: 900px) {
    .blog-cats-toggle { display: inline-flex; }
    .blog-cats {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--dark-gray);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 120;
    }
    .blog-cats.open { max-height: 75vh; overflow-y: auto; }
    .blog-cats a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 3px solid transparent;
    }
    .blog-cats a.active { border-bottom-color: rgba(255,255,255,0.05); border-left-color: var(--primary-green); }
}

@media (max-width: 992px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .blog-slide-caption h2 { font-size: 1.5rem; }
    .blog-slide-caption { padding: 50px 28px 26px; }
    .blog-detail-title { font-size: 1.9rem; }
}

@media (max-width: 768px) {
    .blog-slider-section { padding: 30px 0 6px; }
    .blog-slide-caption h2 { font-size: 1.2rem; }
    .blog-slide-caption { padding: 40px 20px 22px; }
    .blog-slider-nav { width: 38px; height: 38px; }
    .blog-slider-prev { left: 10px; }
    .blog-slider-next { right: 10px; }

    .blog-detail-title { font-size: 1.6rem; }
    .blog-content { font-size: 1rem; }
}

@media (max-width: 480px) {
    .blog-logo img { height: 44px; }
    .blog-search input { width: 110px; padding: 10px 14px; }
}

@media (max-width: 560px) {
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-section { padding: 20px 0 60px; }
    .blog-slider { border-radius: 12px; }
    .blog-slide-caption h2 { font-size: 1.02rem; }
    .blog-slide-tag { font-size: 0.65rem; margin-bottom: 8px; padding: 4px 9px; }
    .blog-slider-dots { bottom: 10px; }
    .blog-section-head h2 { font-size: 1.3rem; }
    .blog-detail-title { font-size: 1.4rem; }
}

/* ===================== HEADER: TELEFON İNCE AYARLARI ===================== */
/* Logo + hamburger + arama tek satıra sığsın (taşma/kayma olmasın). */
@media (max-width: 600px) {
    .blog-header-inner { gap: 10px; }
    .blog-search input { width: 130px; }
}
@media (max-width: 480px) {
    .blog-search input { width: 100px; padding: 10px 13px; }
    .blog-search button { padding: 11px 13px; }
    .blog-cats-toggle { padding: 9px 12px; }
}
@media (max-width: 380px) {
    .blog-header-inner { gap: 8px; }
    .blog-logo img { height: 38px; }
    .blog-logo-badge { font-size: 0.78rem; padding: 2px 8px; }
    /* "Menü" yazısını gizle, sadece ikon kalsın */
    .blog-cats-toggle { font-size: 0; padding: 9px 11px; }
    .blog-cats-toggle i { font-size: 1rem; }
    .blog-search input { width: 84px; }
}

/* ===================== HERO / KARTLAR: KÜÇÜK EKRAN İNCE AYARLARI ===================== */
@media (max-width: 360px) {
    .blog-slide-caption { padding: 34px 16px 18px; }
    .blog-slide-summary { display: none; }
    .blog-hcard { gap: 10px; }
    .blog-hcard-img { flex-basis: 92px; }
    .blog-section-head { gap: 10px; flex-wrap: wrap; }
    .blog-section-head h2 { font-size: 1.15rem; }
    .blog-section-head h2 i { font-size: 1rem; }
}

/* ===================== HEADER: ÇOK DAR EKRANLAR (≤360px) ===================== */
/* Geniş logo + arama tek satıra sığmıyor; arama'yı ikinci satıra (tam genişlik) al.
   body{overflow-x:hidden} taşmayı gizlediği için bu olmadan içerik kırpılıyordu. */
@media (max-width: 360px) {
    .blog-header-inner { flex-wrap: wrap; row-gap: 10px; column-gap: 8px; }
    .blog-logo img { height: 34px; }
    .blog-logo-badge { font-size: 0.74rem; padding: 2px 7px; }
    /* Hamburger sağa yaslı kalsın, logo ile aynı satırda */
    .blog-cats-toggle { margin-left: auto; }
    /* Arama: alt satırda tam genişlik */
    .blog-search { order: 3; flex: 1 1 100%; }
    .blog-search input { flex: 1 1 auto; width: auto; min-width: 0; }
}
