/* Blog kartları ve liste */
.by-blog-liste .by-blog-kat-filtre {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.by-blog-kat-pil {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.by-blog-kat-pil:hover,
.by-blog-kat-pil.aktif {
    background: #dd1c1c;
    border-color: #dd1c1c;
    color: #fff;
}
.by-blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
}
.by-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.by-blog-card .blg-thmb {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.by-blog-card .blg-thmb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.by-blog-card:hover .blg-thmb img {
    transform: scale(1.06);
}
.by-blog-kat {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    background: #dd1c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 20px;
}
.by-blog-card .blg-inf {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 26px;
    margin-top: 0;
    border-bottom: 0;
}
.by-blog-card .blg-inf > h6 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 50px;
}
.by-blog-card .blg-inf > h6 a {
    color: #222;
}
.by-blog-card .blg-inf > h6 a:hover {
    color: #dd1c1c;
}
.by-blog-card .blg-inf > p {
    flex: 1;
    margin-bottom: 16px;
    color: #666;
    line-height: 1.65;
}
/* Tema .blg-inf > a absolute konumunu iptal et; anasayfa ile aynı buton */
.by-blog-liste .blg-bx.by-blog-card,
.by-blog-ilgili .blg-bx.by-blog-card {
    float: none;
}
.by-blog-card .blg-inf {
    float: none;
}
.by-blog-card .blg-inf > a.by-blog-detay {
    position: static;
    bottom: auto;
    right: auto;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 4px;
    padding-left: 0;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 11px 22px 11px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.by-blog-card .blg-inf > a.by-blog-detay i {
    margin-left: 0;
    font-size: 11px;
    transition: transform 0.25s ease;
}
.by-blog-card .blg-inf > a.by-blog-detay:hover,
.by-blog-card .blg-inf > a.by-blog-detay:focus {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 45%, #252525 100%);
}
.by-blog-card .blg-inf > a.by-blog-detay:hover i,
.by-blog-card .blg-inf > a.by-blog-detay:focus i {
    transform: translateX(4px);
}

/* İlgili yazılar bölümü */
.by-blog-ilgili {
    float: left;
    width: 100%;
    margin-top: 48px;
    padding: 40px 28px 8px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border: 1px solid #eee;
    border-radius: 12px;
}
.by-blog-ilgili-head {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 32px;
}
.by-blog-ilgili-etiket {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #dd1c1c;
    background: rgba(221, 28, 28, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.by-blog-ilgili-head h3 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}
.by-blog-ilgili-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}
.by-blog-ilgili .row {
    margin-left: -12px;
    margin-right: -12px;
}
.by-blog-ilgili .by-blog-card {
    margin-bottom: 24px;
}
/* ================================================
   Blog Detay — Yeni Tasarım (.by-blog-detay-yeni)
   ================================================ */
.by-blog-detay-yeni {
    padding: 60px 0 80px;
    background: #f7f8fa;
}

/* Layout: 2 kolon (main + sidebar) */
.by-bd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

/* Ana Makale */
.by-bd-article {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* Kapak Görseli */
.by-bd-cover {
    position: relative;
    overflow: hidden;
    max-height: 480px;
}
.by-bd-cover img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.by-bd-cover:hover img {
    transform: scale(1.02);
}
.by-bd-kat-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #dd1c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(221,28,28,0.35);
}
.by-bd-kat-badge:hover {
    background: #b81515;
    color: #fff;
}

.by-bd-video {
    margin: 0 0 1.75rem;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}
.by-bd-video__embed {
    border: 0;
}
.by-bd-video__embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.by-bd-video__file {
    display: block;
    max-height: 480px;
    background: #000;
}

/* Meta Bilgiler */
.by-bd-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 4px;
    padding: 20px 36px 0;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 18px;
}
.by-bd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #888;
}
.by-bd-meta-item i {
    color: #dd1c1c;
    font-size: 12px;
}
.by-bd-meta-item a {
    color: #555;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.by-bd-meta-item a:hover {
    color: #dd1c1c;
}
.by-bd-meta-sep {
    color: #ccc;
    font-size: 16px;
    line-height: 1;
    margin: 0 4px;
}

/* İçerik */
.by-bd-content {
    padding: 32px 36px 28px;
    font-size: 16.5px;
    line-height: 1.9;
    color: #3a3a3a;
}
.by-bd-lead {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    line-height: 1.7;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: #fef5f5;
    border-left: 4px solid #dd1c1c;
    border-radius: 0 8px 8px 0;
}
.by-bd-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 2em 0 0.7em;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}
.by-bd-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 1.6em 0 0.6em;
}
.by-bd-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 1.4em 0 0.5em;
}
.by-bd-content p {
    margin-bottom: 1.4em;
}
.by-bd-content ul,
.by-bd-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.4em;
}
.by-bd-content li {
    margin-bottom: 0.5em;
}
.by-bd-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 12px 0;
}
.by-bd-content a {
    color: #dd1c1c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.by-bd-content blockquote {
    border-left: 4px solid #dd1c1c;
    margin: 24px 0;
    padding: 16px 24px;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.by-bd-content strong {
    color: #111;
}

/* Galeri */
.by-bd-gallery-wrap {
    padding: 0 36px 28px;
}

/* Alt Footer */
.by-bd-footer {
    padding: 20px 36px 32px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.by-bd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 24px;
    background: #111;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background 0.25s, transform 0.25s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.by-bd-back-btn i {
    font-size: 11px;
    transition: transform 0.25s;
}
.by-bd-back-btn:hover {
    background: #dd1c1c;
    transform: translateY(-2px);
    color: #fff !important;
}
.by-bd-back-btn:hover i {
    transform: translateX(-3px);
}

/* Sidebar */
.by-bd-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.by-bd-widget {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.by-bd-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.by-bd-widget-head i {
    color: #dd1c1c;
    font-size: 14px;
}
.by-bd-widget-head h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}
.by-bd-cat-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.by-bd-cat-list li {
    margin: 0;
}
.by-bd-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 22px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-radius: 0;
}
.by-bd-cat-list li a i {
    font-size: 10px;
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
}
.by-bd-cat-list li a:hover,
.by-bd-cat-list li a.aktif {
    background: #fef5f5;
    color: #dd1c1c;
}
.by-bd-cat-list li a:hover i,
.by-bd-cat-list li a.aktif i {
    color: #dd1c1c;
    transform: translateX(3px);
}

/* CTA Widget */
.by-bd-widget-cta {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
    padding: 32px 24px;
}
.by-bd-cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(221,28,28,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.by-bd-cta-icon i {
    font-size: 24px;
    color: #dd1c1c;
}
.by-bd-widget-cta h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.by-bd-widget-cta p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.by-bd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #dd1c1c;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background 0.25s, transform 0.25s;
    box-shadow: 0 4px 14px rgba(221,28,28,0.4);
}
.by-bd-cta-btn i {
    font-size: 11px;
    transition: transform 0.25s;
}
.by-bd-cta-btn:hover {
    background: #b81515;
    transform: translateY(-2px);
    color: #fff !important;
}
.by-bd-cta-btn:hover i {
    transform: translateX(4px);
}

/* İlgili Yazılar — tam genişlik */
.by-bd-ilgili-wrap {
    margin-top: 60px;
    padding: 52px 0 20px;
    background: #fff;
    border-top: 1px solid #eee;
}
.by-bd-ilgili-wrap .by-blog-ilgili-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 36px;
}
.by-bd-ilgili-wrap .by-blog-card {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .by-bd-layout {
        grid-template-columns: 1fr;
    }
    .by-bd-sidebar {
        position: static;
    }
    .by-bd-cover img {
        height: 320px;
    }
    .by-bd-content,
    .by-bd-meta,
    .by-bd-footer,
    .by-bd-gallery-wrap {
        padding-left: 22px;
        padding-right: 22px;
    }
}
@media (max-width: 575px) {
    .by-blog-detay-yeni {
        padding: 32px 0 50px;
    }
    .by-bd-cover img {
        height: 220px;
    }
    .by-bd-content {
        font-size: 15.5px;
    }
    .by-bd-lead {
        font-size: 16px;
        padding: 16px 18px;
    }
}
.by-page-hero-plain {
    background-color: #f9f9f9;
}
.by-page-hero-plain .by-hero-plain-gap,
.by-page-hero-plain .gap {
    background: #f5f5f5 !important;
}
.by-page-hero-plain .pg-tp-wrp.style2 {
    /* padding-top: 45px !important; */
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.by-page-hero-plain .pg-tp-wrp.by-hero-align-left {
    text-align: left !important;
    max-width: 100%;
    width: 100%;
}
.by-page-hero-plain .pg-tp-wrp.by-hero-align-left .by-breadcrumb-nav {
    justify-content: flex-start;
}
.by-page-hero-plain .pg-tp-wrp.by-hero-align-left > h1 {
    text-align: left !important;
}
.by-page-hero-plain .pg-tp-wrp > h1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}
.by-page-hero-plain .pg-tp-wrp h1:after {
    display: none !important;
}
.by-urunler-sayfa .srv-bx4.by-urun-kart .srv-info4 > h4,
.by-urunler-sayfa .srv-bx4.by-urun-kart .srv-info4 > h4 a,
.by-urunler-sayfa a.by-urun-kart-link .srv-info4 > h4 {
    color: #000 !important;
}
.by-urunler-sayfa a.by-urun-kart-link .by-urun-desc {
    color: #333;
}
.by-urunler-sayfa .by-kat-yol,
.by-hizmetler-sayfa .by-kat-yol {
    text-align: center;
    font-size: 14px;
}
.by-urunler-sayfa .by-kat-yol a,
.by-hizmetler-sayfa .by-kat-yol a {
    color: #dd1c1c;
    font-weight: 600;
}
.by-urunler-sayfa .by-kat-ayrac,
.by-hizmetler-sayfa .by-kat-ayrac {
    margin: 0 8px;
    color: #999;
}
.by-urunler-sayfa .by-kat-aktif,
.by-hizmetler-sayfa .by-kat-aktif {
    font-weight: 700;
    color: #222;
}
.by-urunler-sayfa .by-urun-fiyat,
.by-hizmetler-sayfa .by-urun-fiyat {
    font-size: 17px;
    font-weight: 700;
    color: #dd1c1c;
    margin: 8px 0 0;
}

/* Ürün / kategori listesi: parallax yerine düz beyaz arka plan */
.by-kategori-urunler .gap.white-layer:before,
.by-urunler-sayfa .gap.white-layer:before {
    background-color: #fff;
    opacity: 1;
}
.by-kategori-urunler .fixed-bg2,
.by-urunler-sayfa .fixed-bg2 {
    background-image: none !important;
    background-color: #fff !important;
    background-blend-mode: normal !important;
}

/* İçerik galerisi (ürün / blog detay) */
.by-content-gallery {
    padding-top: 28px !important;
    border-top: 1px solid #f0f0f0;
    margin-top: 100px!important;
}
.by-content-gallery-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px !important;
    display: block;
    height: auto!important;
}
.by-content-gallery-item {
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #e2e2e2;
}

.by-content-gallery-item.brd-rd5 {}
.by-content-gallery-item > a {
    display: block;
    position: relative;
}
.by-content-gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.by-content-gallery-item:hover img {
    transform: scale(1.05);
}
.by-content-gallery-item > a > i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(221, 28, 28, 0.9);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.by-content-gallery-item:hover > a > i {
    opacity: 1;
}
.by-urun-detay .event-detail-img > a {
    display: block;
}
.by-urun-detay .pst-shr-tgs .theme-btn i {
    margin-right: 6px;
}
.by-urun-sidebar-nav ul li.pl-3 {
    font-size: 14px;
}
.by-urun-sidebar-nav ul li.pl-3 a {
    font-weight: 500;
}
.by-urun-mini-kart .blg-inf > h6 {
    font-size: 15px;
    min-height: auto;
}
.by-urun-mini-kart .blg-thmb img {
    height: 160px;
}

/* ================================================
   Ürün Detay — Yeni Tasarım
   ================================================ */

/* Kapak görseli — overlay kaldırıldı */
.by-urun-detay .by-urun-cover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0;
    border: 1px solid #e2e2e2;
    background: #f9f9f9;
}
.by-urun-detay .by-urun-cover::before {
    display: none !important;
}
.by-urun-detay .by-urun-cover img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.by-urun-detay .by-urun-cover:hover img {
    transform: scale(1.02);
}

/* CTA Bar — WhatsApp & Telefon */
.by-urun-cta-bar {
    display: flex;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}
.by-urun-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.by-cta-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.by-cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    color: #fff !important;
}
.by-cta-whatsapp i {
    font-size: 20px;
}
.by-cta-phone {
    background: linear-gradient(135deg, #dd1c1c 0%, #b81515 100%);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(221, 28, 28, 0.35);
}
.by-cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(221, 28, 28, 0.45);
    color: #fff !important;
}
.by-cta-phone i {
    font-size: 16px;
}

/* Alt navigasyon */
.by-urun-alt-nav {
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.by-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s;
}
.by-nav-link:hover {
    color: #dd1c1c;
}
.by-nav-link i {
    font-size: 12px;
    transition: transform 0.2s;
}
.by-nav-link:hover i {
    transform: translateX(-3px);
}

/* Sidebar Accordion (Bootstrap 4) */
.by-sidebar-accordion {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}
.by-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.by-sidebar-header i {
    color: #dd1c1c;
    font-size: 14px;
}
.by-sidebar-accordion .accordion {
    border: none;
}
.by-sidebar-accordion .card.by-acc-card {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}
.by-sidebar-accordion .card.by-acc-card:last-child {
    border-bottom: none;
}
.by-sidebar-accordion .by-acc-header {
    padding: 0;
    background: #fff;
    border: none;
}
.by-sidebar-accordion .by-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none !important;
    background: #fff;
    border: none;
    text-align: left;
    transition: all 0.2s;
}
.by-sidebar-accordion .by-acc-btn:hover,
.by-sidebar-accordion .by-acc-btn:focus {
    text-decoration: none !important;
    box-shadow: none;
}
.by-sidebar-accordion .by-acc-btn:not(.collapsed) {
    background: #fef5f5;
    color: #dd1c1c;
}
.by-sidebar-accordion .by-acc-btn span.aktif {
    color: #dd1c1c;
}
.by-sidebar-accordion .by-acc-icon {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}
.by-sidebar-accordion .by-acc-btn:not(.collapsed) .by-acc-icon {
    transform: rotate(180deg);
    color: #dd1c1c;
}
.by-sidebar-accordion .by-acc-body {
    padding: 8px 16px 16px;
    background: #fafafa;
}
.by-acc-link {
    display: block;
    padding: 10px 16px;
    margin: 4px 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s;
}
.by-acc-link:hover,
.by-acc-link.aktif {
    background: #fff;
    color: #dd1c1c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.by-acc-link.by-acc-parent {
    font-weight: 700;
    color: #333;
    border-bottom: 1px dashed #e0e0e0;
    border-radius: 8px 8px 0 0;
    margin-bottom: 8px;
}
.by-acc-solo {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.by-acc-solo:last-child {
    border-bottom: none;
}
.by-acc-solo:hover,
.by-acc-solo.aktif {
    background: #fef5f5;
    color: #dd1c1c;
}

/* Sidebar CTA Widget */
.by-sidebar-cta {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.by-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(221,28,28,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.by-cta-icon i {
    font-size: 22px;
    color: #dd1c1c;
}
.by-sidebar-cta h5 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.by-sidebar-cta p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.by-sidebar-wa,
.by-sidebar-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.by-sidebar-wa:last-child,
.by-sidebar-tel:last-child {
    margin-bottom: 0;
}
.by-sidebar-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
}
.by-sidebar-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff !important;
}
.by-sidebar-tel {
    background: linear-gradient(135deg, #dd1c1c 0%, #b81515 100%);
    color: #fff !important;
}
.by-sidebar-tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 28, 28, 0.4);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 767px) {
    .by-urun-cta-bar {
        flex-direction: column;
    }
    .by-urun-cta-bar a {
        padding: 14px 16px;
    }
}

/* Blog detay */
.blog-view .blog-detail-article {
    border: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.blog-detail-hero {
    margin-bottom: 28px;
}

.blog-detail-cover {
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(25, 34, 115, 0.1);
}

.blog-detail-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
}

.blog-detail-cover--video .ratio,
.blog-detail-cover--video video {
    border-radius: 16px;
}

.blog-detail-cover--video .btn {
    margin: 2rem;
}

.blog-detail-head {
    padding: 22px 4px 0;
}

.blog-detail-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.35;
    font-weight: 700;
    color: #192273;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.blog-detail-meta {
    /* padding-bottom: 18px; */
    margin-bottom: 0;
    border-bottom: 1px solid rgba(25, 34, 115, 0.1);
}

.blog-detail-meta .post-left ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-detail-meta .post-left ul li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #5f6b7a;
    font-size: 14px;
}

.blog-detail-meta .post-left ul li a {
    color: inherit;
    text-decoration: none;
}

.blog-detail-meta .post-left ul li a:hover {
    color: var(--primary, #316dff);
}

.blog-detail-meta .badge.badge-dark {
    background: #192273;
    border-radius: 999px;
    padding: 6px 14px;
}

.blog-detail-body-wrap {
    margin-top: 4px;
    background: #fff;
    border: 1px solid rgba(25, 34, 115, 0.08);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 10px 32px rgba(25, 34, 115, 0.05);
}

.blog-detail-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #374151;
}

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

.blog-view .blog-single-post .blog-detail-body p,
.blog-detail-body p {
    font-size: 1rem !important;
    line-height: 1.85 !important;
    color: #374151 !important;
    margin-bottom: 1.15rem;
    -webkit-line-clamp: unset;
}

.blog-view .blog-single-post .blog-detail-body p.content-block,
.blog-detail-body p.content-block {
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    font-weight: 500;
    color: #1f2937 !important;
    border-left: 3px solid #316dff;
    padding: 16px 18px;
    background: linear-gradient(90deg, rgba(49, 109, 255, 0.07), rgba(49, 109, 255, 0.01));
    border-radius: 0 12px 12px 0;
    margin-bottom: 1.75rem;
}

.blog-detail-body h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #192273;
    margin: 2rem 0 0.9rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(49, 109, 255, 0.18);
    line-height: 1.35;
}

.blog-detail-body h2:first-child {
    margin-top: 0;
}

.blog-detail-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #192273;
    margin: 1.6rem 0 0.75rem;
    line-height: 1.4;
}

.blog-detail-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 1.35rem 0 0.65rem;
}

.blog-detail-body ul,
.blog-detail-body ol {
    margin: 0 0 1.25rem;
    padding-left: 1.4rem;
}

.blog-detail-body ul li,
.blog-detail-body ol li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: #374151;
}

.blog-detail-body ul li::marker {
    color: #316dff;
}

.blog-detail-body ol li::marker {
    color: #192273;
    font-weight: 600;
}

.blog-detail-body a {
    color: #316dff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.blog-detail-body a:hover {
    color: #192273;
}

.blog-detail-body strong,
.blog-detail-body b {
    color: #192273;
    font-weight: 600;
}

.blog-detail-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(25, 34, 115, 0.08);
}

.blog-detail-body blockquote {
    margin: 1.5rem 0;
    padding: 16px 20px;
    border-left: 3px solid #316dff;
    background: rgba(49, 109, 255, 0.05);
    border-radius: 0 12px 12px 0;
    color: #1f2937;
}

.blog-detail-body em,
.blog-detail-body i {
    color: #6b7280;
}

.blog-detail-body hr {
    margin: 1.75rem 0;
    border: 0;
    border-top: 1px solid rgba(25, 34, 115, 0.1);
}

.blog-detail-body table {
    width: 100%;
    margin-bottom: 1.25rem;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.blog-detail-body th,
.blog-detail-body td {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.blog-detail-body th {
    background: #f8fafc;
    color: #192273;
    font-weight: 600;
}

.blog-detail-body iframe {
    max-width: 100%;
    border-radius: 12px;
}

.blog-detail-body > *:last-child,
.blog-view .blog-single-post .blog-detail-body p:last-child {
    margin-bottom: 0 !important;
}

.blog-detail-video {
    margin-bottom: 28px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(25, 34, 115, 0.08);
}

.blog-detail-video .ratio,
.blog-detail-video video {
    border-radius: 14px;
}

.blog-view .blog-tags .badge {
    background: #192273;
    padding: 8px 16px;
    font-size: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.blog-view .blog-tags .badge:hover {
    background: #316dff;
    transform: translateY(-1px);
}

.blog-detail-related {
    margin-top: 44px;
    padding-top: 12px;
    /* border-top: 1px solid rgba(25, 34, 115, 0.08); */
}

.blog-detail-related > h4 {
    color: #192273;
    font-weight: 700;
}

.blog-view .by-content-gallery {
    margin-top: 32px;
    padding-top: 0;
    border-top: 0;
}

.blog-view .by-content-gallery-title {
    color: #192273;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .blog-detail-head {
        padding-top: 18px;
    }

    .blog-detail-cover {
        border-radius: 12px;
    }

    .blog-detail-cover img {
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

    .blog-detail-body-wrap {
        padding: 20px 18px;
        border-radius: 12px;
    }

    .blog-detail-body h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    .blog-detail-body h3 {
        font-size: 1.1rem;
    }
}

/* Ortopedi rehberi kategori bölümleri */
.blog-rehber-section {
    margin-bottom: 2.5rem;
}

.blog-rehber-section:last-child {
    margin-bottom: 0;
}

.blog-rehber-section__head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(25, 34, 115, 0.1);
}

.blog-rehber-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #192273;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.blog-rehber-section__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-rehber-section__title a:hover {
    color: #316dff;
}

.blog-rehber-section__lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
}

.blog-hub-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(25, 34, 115, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-hub-card:hover {
    border-color: rgba(49, 109, 255, 0.35);
    box-shadow: 0 12px 28px rgba(25, 34, 115, 0.08);
    transform: translateY(-2px);
}

.blog-hub-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-hub-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-hub-card:hover .blog-hub-card__image img {
    transform: scale(1.03);
}

.blog-hub-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.15rem 1.15rem;
}

.blog-hub-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #192273;
    line-height: 1.35;
}

.blog-hub-card__summary {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #6b7280;
    flex: 1;
}

.blog-hub-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #316dff;
}

/* Blog sidebar — hiyerarşik kategoriler (collapse) */
.category-widget .categories.blog-sidebar-categories > .blog-sidebar-categories__item {
    margin-bottom: 0.35rem;
}

.category-widget .categories.blog-sidebar-categories > .blog-sidebar-categories__item:last-child {
    margin-bottom: 0;
}

.blog-sidebar-categories__item + .blog-sidebar-categories__item {
    margin-top: 0;
}

.blog-sidebar-categories__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.blog-sidebar-categories__item:not(.has-children) > .blog-sidebar-categories__link {
    font-weight: 600;
    padding: 0.15rem 0;
}

.blog-sidebar-categories__link:hover,
.blog-sidebar-categories__link.active {
    color: #316dff;
}

.blog-sidebar-categories__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-sidebar-categories__count {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: #9ca3af;
    float: none;
}

.blog-sidebar-categories__row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-sidebar-categories__row > .blog-sidebar-categories__link {
    font-weight: 600;
    padding: 0.15rem 0;
}

.blog-sidebar-categories__toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(25, 34, 115, 0.06);
    color: #192273;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-sidebar-categories__toggle:hover {
    background: rgba(49, 109, 255, 0.12);
    color: #316dff;
}

.blog-sidebar-categories__toggle .isax {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.blog-sidebar-categories__item.is-expanded > .blog-sidebar-categories__row .blog-sidebar-categories__toggle .isax {
    transform: rotate(180deg);
}

.blog-sidebar-categories__children {
    list-style: none;
    margin: 0;
    padding: 0.15rem 0 0.25rem 0.85rem;
    border-left: 2px solid rgba(25, 34, 115, 0.12);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.28s ease, padding 0.28s ease;
}

.blog-sidebar-categories__item.has-children.is-expanded > .blog-sidebar-categories__children {
    max-height: none;
    opacity: 1;
    margin-top: 0.15rem;
    margin-bottom: 0.2rem;
    padding-top: 0.15rem;
    padding-bottom: 0.25rem;
    overflow: visible;
}

/* Tema .categories li { margin-bottom: 16px } override — kompakt alt liste */
.category-widget .categories.blog-sidebar-categories .blog-sidebar-categories__children > li {
    margin: 0;
    padding: 0;
    border: 0;
}

.blog-sidebar-categories__children .blog-sidebar-categories__link {
    padding: 0.2rem 0;
    font-size: 0.875rem;
    color: #4b5563;
}

.blog-sidebar-categories__item.is-expanded > .blog-sidebar-categories__row .blog-sidebar-categories__link {
    color: #192273;
}

.blog-sidebar-categories__item.is-expanded > .blog-sidebar-categories__row .blog-sidebar-categories__link.active {
    color: #316dff;
}

/* Blog arama sonucu */
.blog-search-result {
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 10px;
    box-shadow: none;
}

.blog-search-result .card-body p strong {
    color: var(--primary, #316dff);
}

/* Blog sayfası — sticky sidebar (masaüstü) */
@media (min-width: 992px) {
    .blog-page-row .sidebar-right.theiaStickySidebar {
        align-self: flex-start;
    }

    .blog-page-row .sidebar-right.theiaStickySidebar .theiaStickySidebar {
        will-change: min-height;
    }
}

/* Blog grid — eşit kart ve kapak görseli boyutları */
.blog-grid-row {
    --bs-gutter-y: 2rem;
}

.blog-grid-row > [class*="col-"] {
    display: flex;
}

.blog-grid-row .blog.grid-blog {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.blog-grid-row .blog.grid-blog .blog-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}

.blog-grid-row .blog.grid-blog .blog-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-grid-row .blog.grid-blog .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.blog-grid-row .blog.grid-blog .blog-grid-card__image--video::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.28);
    pointer-events: none;
    z-index: 1;
}

.blog-grid-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #316dff;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    z-index: 3;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.blog-grid-card__play i {
    margin-left: 2px;
    line-height: 1;
}

.blog-grid-row .blog.grid-blog .blog-image--video:hover .blog-grid-card__play,
.blog-grid-row .blog.grid-blog .blog-grid-card__image--video:hover .blog-grid-card__play {
    background: #316dff;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.blog-grid-row .blog.grid-blog .blog-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

/* Başlık: tam okunur (tema line-clamp-2 ezilir); kart yüksekliği flex ile eşitlenir */
.blog-grid-row .blog.grid-blog .blog-title {
    display: block;
    overflow: visible;
    text-overflow: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    min-height: 0;
    margin-bottom: 8px;
    font-size: 1.0625rem;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.blog-grid-row .blog.grid-blog .blog-title a {
    display: inline;
    white-space: normal;
}

.blog-grid-row .blog.grid-blog .blog-grid-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 0;
    margin: 0 0 15px;
    line-height: 1.5;
}

@media (max-width: 1199.98px) {
    .blog-grid-row .blog.grid-blog .blog-title {
        font-size: 1rem;
        line-height: 1.45;
    }

    .blog-grid-row .blog.grid-blog .blog-grid-card__excerpt {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 767.98px) {
    .blog-grid-row .blog.grid-blog .blog-title {
        font-size: 1.0625rem;
    }
}

.blog-grid-row .blog.grid-blog .blog-image.blog-detail-cover--video {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-grid-row .blog.grid-blog .blog-image.blog-detail-cover--video .ratio,
.blog-grid-row .blog.grid-blog .blog-image.blog-detail-cover--video iframe,
.blog-grid-row .blog.grid-blog .blog-image.blog-detail-cover--video video {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}
