/* ============================================================
   Bulancak Belediyesi – Topbar & Header
   ============================================================ */
:root {
    --bb-topbar-height: 62px;
    --bb-header-stack-offset: calc((var(--bb-topbar-height) * 2) + 0rem);
    --bb-brand-blue: #0054A6;
    --bb-brand-blue-rgb: 0, 84, 166;
    --bb-brand-red: #E30613;
    --bb-brand-red-rgb: 227, 6, 19;
    /* style.css Lato override – Türkçe karakter (ğ, ş) için */
    --bs-font-family-lato: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Tüm sayfa: Source Sans 3 (Türkçe ş, ğ, ü, ö, ç, ı, İ) — style.css'deki Lato override */
body {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
/* style.css'deki h1-h6 Lato kuralı haber başlıklarında ğ/ş sorununa yol açıyor; override */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Topbar bant – sayfanın en üstünde sabit */
.bb-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--bb-brand-blue);
    display: flex;
    align-items: center;
    height: var(--bb-topbar-height);
    padding: 0 24px;
    gap: 0;
    overflow: visible;
}

/* Yuvarlak logo badge */
.bb-logo-badge {
    position: relative;
    z-index: 210;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 28px;
    /* Topbar'ın tepesinden başlayarak aşağıya sark */
    align-self: flex-start;
    margin-top: 4px;
}

.bb-logo-badge__circle {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--bb-brand-blue);
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.bb-logo-badge__circle img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.bb-logo-badge__label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-top: 16px;
}

.bb-logo-badge__city {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
}

.bb-logo-badge__sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Hızlı erişim linkleri */
.bb-topbar__links {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bb-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background .18s, color .18s;
    white-space: nowrap;
}

.bb-topbar__link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Sağ alan: sosyal medya + telefon */
.bb-topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.bb-topbar__socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bb-topbar__social {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}
.bb-topbar__social i { font-size: 0.95rem; }
.bb-topbar__social .bb-icon-x-wrap { display: inline-flex; align-items: center; justify-content: center; }
.bb-topbar__social .bb-icon-x { width: 0.95rem; height: 0.95rem; display: block; }

.bb-topbar__social:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.bb-topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.bb-topbar__phone:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Ana header her zaman topbar'ın (62px) hemen altında sabit durur */
.bb-main-header.section-header {
    position: fixed !important;
    top: var(--bb-topbar-height) !important;
    left: 0;
    right: 0;
    z-index: 200 !important;
    background: transparent !important; /* Ana sayfa: video üzerinde saydam */
    box-shadow: none;
}

/* Tema'nın sticky sınıfı top:0 yapıyor — topbar altında tut */
.bb-main-header.section-header.sticky {
    top: var(--bb-topbar-height) !important;
    animation: none;
}

/* Kırmızı ana menü yüksekliği mavi topbar ile aynı olsun */
.bb-main-header.section-header .navbar {
    min-height: var(--bb-topbar-height);
    padding-top: 0;
    padding-bottom: 0;
}

/* Ana sayfa: aşağı kaydırınca menü zemini koyu mavi olsun (sayfa açılışında saydam) */
.bb-main-header.section-header.sticky {
    background: var(--bb-brand-blue) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Ana sayfa: fotodaki kırmızı menü (bb-nav-menu-red) */
.bb-main-header.bb-nav-menu-red.section-header.sticky {
    background: var(--bb-brand-red) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.bb-nav-menu-list .nav-link {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* İç sayfalarda (iletişim vb.) menü zemini ana sayfadaki gibi kırmızımsı olsun */
body.bb-inner-page .bb-main-header.section-header,
body.bb-inner-page .bb-main-header.section-header.sticky {
    background: var(--bb-brand-red) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Ana menü: beyaz yazı, okunaklı font */
.bb-main-header {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-main-header .navbar-nav .nav-link {
    color: #fff !important;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: var(--bb-topbar-height);
    display: inline-flex;
    align-items: center;
}

/* Desktop: kırmızı bar içindeki tüm menü öğelerini dikey ortala */
@media (min-width: 1200px) {
    .bb-main-header.section-header .container {
        min-height: var(--bb-topbar-height);
    }

    .bb-main-header.section-header .navbar {
        height: var(--bb-topbar-height);
        align-items: center;
    }

    .bb-nav-menu-list {
        height: var(--bb-topbar-height);
        align-items: center;
    }

    .bb-nav-menu-list .nav-item {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .bb-main-header .navbar-nav .nav-link {
        height: 100%;
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .bb-main-header a.menu-icon.d-none.d-xl-block {
        position: relative;
        width: 32px;
        height: var(--bb-topbar-height);
        min-height: 0;
        display: inline-block;
        padding: 0;
        line-height: 1;
    }

    .bb-main-header a.menu-icon.d-none.d-xl-block .menu-icon-2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .bb-main-header a.menu-icon.d-none.d-xl-block .menu-icon-2 svg {
        width: 24px;
        height: 24px;
        display: block;
        transform: none;
    }
}
.bb-main-header .navbar-nav .nav-link:hover,
.bb-main-header .navbar-nav .nav-link:focus,
.bb-main-header .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.95) !important;
}
.bb-main-header .navbar-nav .dropdown-icon,
.bb-main-header .navbar-nav .dropdown-icon svg {
    color: #fff !important;
}

/* Ana menü dropdown: Türkçe karakter (ş, ğ vb.) desteği için Source Sans 3 */
.bb-main-header .bb-nav-dd__menu,
.bb-main-header .bb-nav-dd__link {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* İletişim sayfası: hamburger / menü ikonu beyaz olsun */
.bb-main-header .menu-icon,
.bb-main-header .menu-icon-2,
.bb-main-header .menu-icon-2 svg {
    color: #fff !important;
    stroke: #fff !important;
}

/* Tema defaultundaki ayırıcı çizgiyi ikonla dikeyde hizala */
.bb-main-header.section-header-2 .menu-icon::after {
    top: 50%;
    transform: translateY(-50%);
    height: 34px;
    right: -16px;
    background: rgba(255, 255, 255, 0.78);
}

/* Resmi kurumsal renk geçişi (Bulancak) */
.bb-news-sidebar__title,
.bb-breadcrumb__item a,
.bb-news-sidebar__link--active,
.bb-announcement-card__link:hover .bb-announcement-card__title,
.bb-announcement-card__link:hover .bb-announcement-card__arrow,
.bb-news-section .bb-pagination__link:hover:not(.bb-pagination__link--disabled) {
    color: var(--bb-brand-blue);
}

.bb-news-sidebar__link--active {
    box-shadow: inset 3px 0 0 var(--bb-brand-blue);
}

.bb-news-sidebar__icon,
.bb-news-sidebar__link--active .bb-news-sidebar__icon {
    color: var(--bb-brand-red);
}

.bb-news-section .bb-pagination__link--active {
    background: var(--bb-brand-blue);
    border-color: var(--bb-brand-blue);
}

/* Mobil menü barında sabit linkler */
@media (max-width: 1199.98px) {
    .bb-main-header .navbar {
        justify-content: space-between;
    }

    .bb-main-header.section-header-2 .menu-icon::after {
        display: none;
    }

    .bb-mobile-links {
        gap: 0.5rem;
        color: #fff;
        font-size: 0.9rem;
        font-weight: 600;
        font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    .bb-mobile-link {
        color: #fff;
        text-decoration: none;
    }

    .bb-mobile-link.is-active {
        text-decoration: underline;
    }

    .bb-mobile-links__sep {
        opacity: 0.7;
    }
}

/* Navbar içindeki belediye logosu + yazı grubu */
.bb-navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.bb-navbar-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.bb-navbar-brand__city {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.06em;
}

.bb-navbar-brand__sub {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    :root {
        --bb-topbar-height: 52px;
    }

    .bb-topbar {
        height: var(--bb-topbar-height);
        padding: 0 14px;
    }

    .bb-main-header.section-header,
    .bb-main-header.section-header.sticky {
        top: var(--bb-topbar-height) !important;
    }

    .bb-logo-badge__circle {
        width: 80px;
        height: 80px;
    }

    .bb-logo-badge__circle img {
        width: 66px;
        height: 66px;
    }

    .bb-logo-badge__city {
        font-size: 0.82rem;
    }

    .bb-topbar__links {
        display: none;
    }

    .bb-topbar__phone {
        display: none !important;
    }
}

/* ============================================================
   Koyu / Açık mod yüzen butonu
   Kontrast: açık sayfada koyu buton, koyu sayfada açık buton
   ============================================================ */
.dark-light-theme-btn {
    z-index: 500 !important;
    /* Açık tema — arka plan açık olduğu için buton koyu */
    background: #1e293b !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 6px !important;
    width: 42px !important;
    height: auto !important;
}

.dark-light-theme-btn span i {
    font-size: 15px;
    width: 1em;
    text-align: center;
    display: inline-block;
}

/* Açık sayfa: ikonlar açık gri / aktif sarı */
.dark-light-theme-btn span {
    color: #94a3b8 !important;
}
.dark-light-theme-btn span:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fbbf24 !important;
}
.dark-light-theme-btn span.active {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fbbf24 !important;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35) !important;
}

/* Koyu tema — arka plan koyu olduğu için buton açık */
[data-bs-theme="dark"] .dark-light-theme-btn {
    background: #f1f5f9 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-bs-theme="dark"] .dark-light-theme-btn span {
    color: #64748b !important;
}
[data-bs-theme="dark"] .dark-light-theme-btn span:hover {
    background: #e2e8f0 !important;
    color: #ea580c !important;
}
[data-bs-theme="dark"] .dark-light-theme-btn span.active {
    background: #ffffff !important;
    color: #ea580c !important;
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.28) !important;
}

/* Ana sayfa sağ sabit Hızlı Erişim butonu (offcanvas açar) */
.bb-hizli-erisim-fab {
    position: fixed;
    right: 28px;
    bottom: 288px; /* Dark/light butonunun üstünde */
    z-index: 1001;
    width: 50px;
    min-height: 176px;
    border: 0;
    border-radius: 12px;
    background: #cf0828;
    color: #fff;
    box-shadow: 0 8px 20px rgba(140, 6, 27, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 10px 8px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.bb-hizli-erisim-fab:hover {
    transform: translateY(-2px);
    background: #b50722;
    box-shadow: 0 12px 24px rgba(140, 6, 27, 0.36);
    color: #fff;
}
.bb-hizli-erisim-fab__icon {
    font-size: 1.2rem;
    line-height: 1;
}
.bb-hizli-erisim-fab__text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.1;
}

/* scroll_to_top: diğer sticky butonlarla dikey hizalama (right: 28px) */
.scroll_to_top {
    right: 28px !important;
}

/* Mobil: scroll_to_top diğer butonlarla aynı hizada */
@media (max-width: 767px) {
    .scroll_to_top {
        right: 12px !important;
    }
}

/* Sağ alt: WhatsApp sticky butonu (scroll_to_top'un altında) */
.bb-whatsapp-fab {
    position: fixed;
    z-index: 999;
    bottom: 24px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.bb-whatsapp-fab:hover {
    background: #20bd5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* scroll_to_top varsa WhatsApp onun altında (scroll bottom:100px, whatsapp bottom:24px) */
.scroll_to_top ~ .bb-whatsapp-fab {
    bottom: 24px;
}

/* Mobil: WhatsApp ve scroll_to_top */
@media (max-width: 767px) {
    .bb-whatsapp-fab {
        right: 12px;
        bottom: 20px;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}

/* Mobil: Hızlı Erişim + Dark mode butonları küçült, dikeyde ortada */
@media (max-width: 767px) {
    .bb-hizli-erisim-fab {
        right: 12px;
        top: calc(50dvh - 86px); /* Gerçek viewport ortası (50dvh) */
        bottom: auto;
        width: 36px;
        min-height: 100px;
        padding: 6px 5px;
        gap: 4px;
        border-radius: 10px;
    }
    .bb-hizli-erisim-fab__icon {
        font-size: 0.95rem;
    }
    .bb-hizli-erisim-fab__text {
        font-size: 0.55rem;
    }
    .dark-light-theme-btn {
        right: 12px !important;
        top: calc(50dvh + 24px) !important; /* FAB altında, gerçek viewport ortası */
        bottom: auto !important;
        width: 36px !important;
        height: 62px !important; /* İki ikon + gap sığsın (26+4+26) */
        min-height: 62px !important;
        padding: 5px 4px !important;
        gap: 4px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }
    .dark-light-theme-btn span {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        line-height: 24px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    .dark-light-theme-btn span i {
        font-size: 11px !important;
    }
}

/* ============================================================
   Başkan + Haberler bölümü
   ============================================================ */
.bb-news-section {
    background: #f2f4fb;
    padding: 4.5rem 0;
}

.bb-mayor-card {
    background: #e8ecf7;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(7, 22, 52, 0.08);
}

.bb-mayor-card__image {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px;
}

.bb-mayor-card__image::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 22px;
    height: 68%;
    border-radius: 20px;
    background: #d8d9e4;
}

.bb-mayor-card__image img {
    position: relative;
    z-index: 1;
    width: 112%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0 !important;
}

.bb-mayor-card__body {
    padding: 18px;
    text-align: center;
}

/* Türkçe ş, ğ vb. için Inter */
.bb-mayor-card__body h3 {
    margin: 0 0 6px;
    color: #10284b;
    font-size: 1.35rem;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.bb-mayor-card__body p {
    margin: 0 0 14px;
    color: #51607d;
    font-size: 0.9rem;
}

.bb-mayor-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.bb-mayor-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: #1a3a6b;
    transition: transform .2s ease, background .2s ease;
}

.bb-mayor-socials a:hover {
    transform: translateY(-2px);
    background: #c0392b;
}

.bb-mayor-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.bb-mayor-actions a {
    background: #fff;
    border: 1px solid #d8deef;
    border-radius: 10px;
    padding: 8px 6px;
    text-decoration: none;
    color: #2f3f5d;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.bb-mayor-actions a:hover {
    background: #1a3a6b;
    color: #fff;
    border-color: #1a3a6b;
}

/* Başkan kartı offcanvas içinde (koyu panel) */
.offcanvas .bb-mayor-card--offcanvas {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.offcanvas .bb-mayor-card--offcanvas .bb-mayor-card__image {
    min-height: 280px;
}

/* Hızlı menü offcanvas — açık arka plan, grid kartlar (görseldeki gibi) */
.offcanvas.bb-offcanvas-hizli {
    background: #fff;
    color: #0f172a;
    /* Varsayılan 400px yerine daha geniş (4 sütun rahat sığsın) */
    --bs-offcanvas-width: min(92vw, 780px);
    width: min(92vw, 780px) !important;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-x: hidden;
}
.offcanvas.bb-offcanvas-hizli.offcanvas-end {
    width: min(92vw, 780px) !important;
    max-width: 780px;
}
.offcanvas.bb-offcanvas-hizli .offcanvas-header.bb-offcanvas-hizli__header {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    border-bottom: none;
    background: #fff;
    flex-shrink: 0;
}
.bb-offcanvas-hizli__title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.bb-offcanvas-hizli__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f172a;
}
.bb-offcanvas-hizli__title-rule {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 3px;
    background: #c41e3a;
    border-radius: 2px;
}
.bb-offcanvas-hizli__close {
    /* Tema offcanvas btn-close kuralını ez */ 
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: 24px;
    height: 24px;
    opacity: 0.75;
    filter: none !important;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.offcanvas.bb-offcanvas-hizli .offcanvas-header .btn-close.bb-offcanvas-hizli__close {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #5aaec0 !important;
    border: 0 !important;
    opacity: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
/* Tema FontAwesome ::after ikonunu kapat */
.offcanvas.bb-offcanvas-hizli .offcanvas-header .btn-close.bb-offcanvas-hizli__close::after {
    content: none !important;
}
/* X işaretini garanti et */
.offcanvas.bb-offcanvas-hizli .offcanvas-header .btn-close.bb-offcanvas-hizli__close::before {
    content: "×";
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
}
.bb-offcanvas-hizli__body {
    /* Başlık/çizgi ile grid arasında yapışmayı kaldır */
    padding: 1.25rem;
    background: #fff;
    flex: 1;
    overflow-y: auto;
}
/* Kartlar grid — ikon üstte, başlık altta, ortalanmış (eski görünüm) */
.bb-hizli-offcanvas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 0;
    width: 100%;
}
@media (max-width: 1399px) {
    .bb-hizli-offcanvas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .offcanvas.bb-offcanvas-hizli,
    .offcanvas.bb-offcanvas-hizli.offcanvas-end {
        width: 100% !important;
        max-width: 100%;
        --bs-offcanvas-width: 100%;
    }
    .bb-hizli-offcanvas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .bb-offcanvas-hizli__body {
        padding: 1rem;
    }
    .bb-hizli-offcanvas-card {
        min-height: 95px;
        padding: 0.75rem 0.5rem;
    }
    .bb-hizli-offcanvas-card__label {
        font-size: 0.72rem;
    }
}

/* ============================================================
   Mobil menü: ortada açılan modal, iç içe accordion yapı
   ============================================================ */
#bb-mobile-modal-menu .modal-dialog {
    max-width: min(calc(100vw - 2rem), 400px);
    margin: 1rem;
}
#bb-mobile-modal-menu .modal-content.bb-mobile-modal-content {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
#bb-mobile-modal-menu .modal-backdrop {
    background-color: rgba(15, 23, 42, 0.6);
}
.bb-mobile-modal-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.bb-mobile-modal-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}
.bb-mobile-modal-logo__img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.bb-mobile-modal-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.bb-mobile-modal-logo__city {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #173f77;
}
.bb-mobile-modal-logo__sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}
.bb-mobile-modal-close {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    transition: background .2s, color .2s;
}
.bb-mobile-modal-close span {
    display: block;
    line-height: 1;
}
.bb-mobile-modal-close:hover {
    background: #cbd5e1;
    color: #1e293b;
}
.bb-mobile-modal-body {
    padding: 0.75rem 0;
    max-height: 60vh;
    overflow-y: auto;
}
.bb-mobile-modal-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bb-mobile-modal-nav__item {
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}
.bb-mobile-modal-nav__item:last-child {
    border-bottom: 0;
}
.bb-mobile-modal-nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background .2s ease;
}
.bb-mobile-modal-nav__row:hover {
    background: #f8fafc;
}
.bb-mobile-modal-nav__row--link {
    text-decoration: none;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-mobile-modal-nav__row--link:hover {
    color: #173f77;
}
.bb-mobile-modal-nav__row--link.is-active {
    color: #c0392b;
    font-weight: 700;
}
.bb-mobile-modal-nav__row--sub {
    padding: 0.75rem 1.25rem 0.75rem 2rem;
}
.bb-mobile-modal-nav__row--sub.bb-mobile-modal-nav__row--link {
    font-size: 0.9rem;
    font-weight: 500;
}
.bb-mobile-modal-nav__row--l3 {
    padding: 0.6rem 1.25rem 0.6rem 2.5rem;
}
.bb-mobile-modal-nav__row--l3.bb-mobile-modal-nav__row--link {
    font-size: 0.875rem;
    font-weight: 500;
}
.bb-mobile-modal-nav__row--heading {
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: default;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-mobile-modal-nav__row--heading:hover {
    background: transparent;
}
.bb-mobile-modal-nav__link {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-decoration: none;
    display: block;
}
.bb-mobile-modal-nav__link:hover {
    color: #173f77;
}
.bb-mobile-modal-nav__link.is-active {
    color: #c0392b;
}
.bb-mobile-modal-nav__link--heading {
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
}
.bb-mobile-modal-nav__chevron {
    color: #94a3b8;
    font-size: 0.75rem;
    transition: transform .2s ease;
    flex-shrink: 0;
}
[aria-expanded="true"] .bb-mobile-modal-nav__chevron {
    transform: rotate(90deg);
}
.bb-mobile-modal-nav__sub {
    background: #f8fafc;
}
.bb-mobile-modal-nav__sub-list {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
}
.bb-mobile-modal-nav__sub--l3 .bb-mobile-modal-nav__sub-list {
    padding: 0.2rem 0 0.2rem 0;
}
.bb-mobile-modal-nav__sub .bb-mobile-modal-nav__link {
    font-weight: 500;
}
.bb-mobile-modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    justify-content: center;
}
.bb-mobile-modal-socials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.bb-mobile-modal-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background .2s ease, color .2s ease;
}
.bb-mobile-modal-social:hover {
    background: #173f77;
    color: #fff;
}

[data-bs-theme="dark"] #bb-mobile-modal-menu .modal-content.bb-mobile-modal-content { background: #1a2333; }
[data-bs-theme="dark"] .bb-mobile-modal-header { background: #1a2333; border-color: #2f3d59; }
[data-bs-theme="dark"] .bb-mobile-modal-logo__city { color: #93c5fd; }
[data-bs-theme="dark"] .bb-mobile-modal-logo__sub { color: #94a3b8; }
[data-bs-theme="dark"] .bb-mobile-modal-close { background: #334155; color: #e2e8f0; border-color: #475569; }
[data-bs-theme="dark"] .bb-mobile-modal-close:hover { background: #475569; color: #f8fafc; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__item { border-color: #2f3d59; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__row:hover { background: #222d41; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__link { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__link:hover { color: #93c5fd; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__link.is-active { color: #93c5fd; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__link--heading,
[data-bs-theme="dark"] .bb-mobile-modal-nav__row--heading { color: #94a3b8; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__row--link { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__row--link:hover { color: #93c5fd; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__row--link.is-active { color: #93c5fd; }
[data-bs-theme="dark"] .bb-mobile-modal-nav__sub { background: #151d2b; }
[data-bs-theme="dark"] .bb-mobile-modal-footer { background: #1a2333; border-color: #2f3d59; }
[data-bs-theme="dark"] .bb-mobile-modal-social { background: #334155; color: #94a3b8; }
[data-bs-theme="dark"] .bb-mobile-modal-social:hover { background: #c0392b; color: #fff; }

.bb-hizli-offcanvas-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1rem 0.5rem;
    min-height: 110px;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: #0f172a;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.bb-hizli-offcanvas-card:hover {
    border-color: #c41e3a;
    box-shadow: 0 6px 18px rgba(196, 30, 58, 0.12);
    color: #0f172a;
    transform: translateY(-2px);
}
.bb-hizli-offcanvas-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #c41e3a;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.bb-hizli-offcanvas-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bb-offcanvas-hizli__empty {
    font-size: 0.9rem;
    padding: 2rem 1rem;
    text-align: center;
}

/* ============================================================
   Muhtarlıklar sayfası — arama + kategori başlıkları + tablo
   ============================================================ */
.bb-muhtarlik-page__title {
    margin-bottom: 1.25rem;
}
.bb-muhtarlik-search {
    margin-bottom: 2rem;
    max-width: 520px;
}
.bb-muhtarlik-search--centered {
    margin-left: auto;
    margin-right: auto;
}
.bb-muhtarlik-search__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.bb-muhtarlik-search__wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.bb-muhtarlik-search__icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    pointer-events: none;
}
.bb-muhtarlik-search__input {
    width: 100%;
    padding: 0.85rem 2.75rem 0.85rem 2.75rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bb-muhtarlik-search__input:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}
.bb-muhtarlik-search__clear {
    position: absolute;
    right: 0.6rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.bb-muhtarlik-search__clear:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.bb-muhtarlik-search__hint {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #64748b;
}
.bb-muhtarlik-empty-all {
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    margin-bottom: 1.5rem;
}
.bb-muhtarlik-empty-all__text {
    margin: 0;
    color: #64748b;
    font-weight: 500;
}
.bb-muhtarlik-section {
    margin-bottom: 2.5rem;
}
.bb-muhtarlik-section:last-child {
    margin-bottom: 0;
}
.bb-muhtarlik-section__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #c41e3a;
    display: inline-block;
    min-width: 100%;
    box-sizing: border-box;
}
.bb-muhtarlik-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.bb-muhtarlik-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.bb-muhtarlik-table thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}
.bb-muhtarlik-table__th-num {
    width: 3rem;
    text-align: center;
}
.bb-muhtarlik-table__th-phone {
    white-space: nowrap;
}
.bb-muhtarlik-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.bb-muhtarlik-table tbody tr:last-child td {
    border-bottom: 0;
}
.bb-muhtarlik-table__num {
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
    width: 3rem;
}
.bb-muhtarlik-table__place {
    font-weight: 600;
    color: #1e293b;
}
.bb-muhtarlik-table__name {
    color: #334155;
}
.bb-muhtarlik-table__phone-link {
    color: #c41e3a;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.bb-muhtarlik-table__phone-link:hover {
    text-decoration: underline;
}

/* Muhtarlıklar — koyu mod */
[data-bs-theme="dark"] .bb-muhtarlik-search__label {
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-muhtarlik-search__input {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
[data-bs-theme="dark"] .bb-muhtarlik-search__input::placeholder {
    color: #64748b;
}
[data-bs-theme="dark"] .bb-muhtarlik-search__input:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
[data-bs-theme="dark"] .bb-muhtarlik-search__icon {
    color: #64748b;
}
[data-bs-theme="dark"] .bb-muhtarlik-search__clear {
    background: #334155;
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-muhtarlik-search__clear:hover {
    background: #475569;
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-muhtarlik-search__hint {
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-muhtarlik-empty-all {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-muhtarlik-empty-all__text {
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-muhtarlik-section__title {
    color: #f1f5f9;
    border-bottom-color: #f87171;
}
[data-bs-theme="dark"] .bb-muhtarlik-table-wrap {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-muhtarlik-table thead th {
    background: #0f172a;
    color: #94a3b8;
    border-bottom-color: #334155;
}
[data-bs-theme="dark"] .bb-muhtarlik-table tbody td {
    border-bottom-color: #334155;
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-muhtarlik-table__place {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-muhtarlik-table__name {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-muhtarlik-table__phone-link {
    color: #fca5a5;
}

/* Meclis komisyonları frontend — meta: tarih koyu, süre badge; rol sütunu başlıksız, rol kırmızı badge */
/* Komisyon bloğu: tablo ile aynı genişlik — Süre badge sağda rol sütunu hizası */
.bb-cc-commission-block {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}
.bb-cc-group-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    width: 100%;
    box-sizing: border-box;
}
.bb-cc-group-meta__left {
    flex: 1 1 auto;
    min-width: 0;
}
.bb-cc-group-meta__term-wrap {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
}
.bb-cc-group-meta__law { margin-right: 0.35rem; }
.bb-cc-group-meta__election { color: #64748b; }
.bb-cc-group-meta__date {
    color: #0f172a;
    font-weight: 700;
}
/* Süre badge — info tarzı, belirgin (meclis komisyonları meta) */
.bb-cc-term-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0c4a6e;
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
    border: 1px solid #38bdf8;
    border-radius: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(14, 165, 233, 0.25);
}
/* Komisyon tablosu yatayda dar — tam genişlik kaplamasın */
.bb-cc-commission-table-wrap {
    display: inline-block;
    max-width: 100%;
    width: auto;
    vertical-align: top;
}
.bb-cc-commission-table-wrap .bb-cc-commission-table {
    width: auto;
    min-width: 840px;
    max-width: 1560px;
}
/* Rol sütunu başlıksız; sütun genişlemesin — badge ismin yanında kalsın, sağ kenara yapışmasın */
.bb-cc-commission-table {
    table-layout: auto;
    width: auto;
}
.bb-cc-commission-table thead th:first-child {
    width: auto;
}
.bb-cc-commission-table thead th.bb-cc-commission-table__th-role {
    width: 1%;
    padding: 0.75rem 0 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.bb-cc-commission-table tbody td.bb-muhtarlik-table__place {
    width: auto;
}
.bb-cc-commission-table__role-cell {
    width: 1%;
    max-width: max-content;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    padding-left: 1rem;
    padding-right: 0.5rem;
}
.bb-cc-role-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: #c41e3a;
    border-radius: 6px;
    line-height: 1.3;
}
[data-bs-theme="dark"] .bb-cc-group-meta__date {
    color: #f1f5f9;
}
[data-bs-theme="dark"] .bb-cc-term-badge {
    color: #e0f2fe;
    background: linear-gradient(180deg, #0c4a6e 0%, #075985 100%);
    border-color: #38bdf8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .bb-cc-role-badge {
    background: #b91c1c;
    color: #fff;
}
/* Meclis komisyonları tablo — rol sütunu başlık ve hücreler koyu mod (beyazlık giderildi) */
[data-bs-theme="dark"] .bb-cc-commission-table thead th.bb-cc-commission-table__th-role {
    background: #0f172a !important;
    border-bottom-color: #334155 !important;
}
[data-bs-theme="dark"] .bb-cc-commission-table-wrap.bb-muhtarlik-table-wrap {
    background: #1e293b !important;
}
[data-bs-theme="dark"] .bb-cc-commission-table tbody td {
    background-color: transparent;
    color: #cbd5e1 !important;
}
[data-bs-theme="dark"] .bb-cc-commission-table tbody td.bb-cc-commission-table__role-cell {
    background-color: transparent;
}

/* Proje PDF dokümanları — tetikleyici + modal */
.bb-proje-documents-trigger {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.bb-proje-documents-trigger__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
/* Modal body dışında; yine de üst katmanda olsun */
.bb-proje-documents-modal.modal {
    z-index: 1060;
}
.bb-proje-documents-modal .modal-header {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.bb-proje-documents-modal .modal-title {
    color: #173f77;
    font-weight: 800;
}
.bb-proje-documents-modal .modal-body {
    padding: 1rem 1.25rem 1.5rem;
    background: #f1f5f9;
}
.bb-proje-documents--in-modal {
    margin-top: 0;
    margin-bottom: 0;
}
.bb-proje-documents--in-modal .bb-proje-documents__section:first-child {
    margin-top: 0;
}
[data-bs-theme="dark"] .bb-proje-documents-modal .modal-content {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-proje-documents-modal .modal-header {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-proje-documents-modal .modal-title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-proje-documents-modal .modal-body {
    background: #0f172a;
}
[data-bs-theme="dark"] .bb-proje-documents-modal .btn-close {
    filter: invert(1);
}

/* Proje PDF doküman blokları (GES vb.) */
.bb-proje-documents {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.bb-proje-documents__section {
    margin-bottom: 2rem;
}
.bb-proje-documents__section:last-child {
    margin-bottom: 0;
}
.bb-proje-documents__banner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    background: #1e3a5f;
    color: #fff;
    border-radius: 8px 8px 0 0;
    font-weight: 800;
    font-size: 1rem;
}
.bb-proje-documents__banner-icon {
    opacity: 0.95;
    font-size: 1.1rem;
}
.bb-proje-documents__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.bb-proje-documents__card {
    padding: 1.25rem;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    background: #fafbfc;
}
.bb-proje-documents__card-lang {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #c41e3a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.bb-proje-documents__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
    line-height: 1.4;
}
.bb-proje-documents__card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.bb-proje-documents__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.bb-proje-documents__btn--primary {
    background: #1e3a5f;
    color: #fff;
    border: 1px solid #1e3a5f;
}
.bb-proje-documents__btn--primary:hover {
    background: #152a45;
    color: #fff;
}
.bb-proje-documents__btn--outline {
    background: #fff;
    color: #1e3a5f;
    border: 1px solid #1e3a5f;
}
.bb-proje-documents__btn--outline:hover {
    background: #f1f5f9;
    color: #1e3a5f;
}
[data-bs-theme="dark"] .bb-proje-documents__banner {
    background: #243b53;
}
[data-bs-theme="dark"] .bb-proje-documents__cards {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-proje-documents__card {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-proje-documents__card-title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-proje-documents__btn--outline {
    background: transparent;
    color: #94a3b8;
    border-color: #475569;
}

/* ============================================================
   Yönetim şeması (Meclis üyeleri) — başkan kartı + parti sütunları
   ============================================================ */
.bb-yonetim-semasi__page-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.75rem;
}
.bb-yonetim-semasi__president-card--chp {
    --bb-yonetim-accent: #c41e3a;
}
.bb-yonetim-semasi__president-card {
    --bb-yonetim-accent: #c41e3a;
    max-width: 480px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border-top: 4px solid var(--bb-yonetim-accent);
    overflow: hidden;
}
.bb-yonetim-semasi__president-photo-wrap {
    width: 100%;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
}
.bb-yonetim-semasi__president-photo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid rgba(196, 30, 58, 0.35);
}
.bb-yonetim-semasi__president-inner {
    padding: 1.5rem 1.75rem;
    text-align: center;
}
/* Türkçe ş, ğ vb. için Inter */
.bb-yonetim-semasi__president-name {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.bb-yonetim-semasi__president-role {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.5rem;
}
.bb-yonetim-semasi__president-party {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bb-yonetim-accent);
    margin-top: 0.25rem;
}
.bb-yonetim-semasi__party-section {
    --bb-yonetim-accent: #c41e3a;
}
.bb-yonetim-semasi__party-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--bb-yonetim-accent);
}
.bb-yonetim-semasi__member-cards {
    margin-bottom: 0;
}
.bb-yonetim-semasi__member-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
    text-align: center;
    padding-bottom: 0.85rem;
}
.bb-yonetim-semasi__member-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}
.bb-yonetim-semasi__member-card__photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}
.bb-yonetim-semasi__member-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.bb-yonetim-semasi__member-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2.5rem;
}
.bb-yonetim-semasi__member-card__name {
    margin: 0.6rem 0.5rem 0.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.bb-yonetim-semasi__member-card__badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 6px;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__page-title {
    color: #f1f5f9;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__president-photo {
    border-color: rgba(232, 96, 77, 0.5);
}
[data-bs-theme="dark"] .bb-yonetim-semasi__president-card {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__president-name {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__president-role {
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__party-section-title {
    color: #e2e8f0;
    border-bottom-color: var(--bb-yonetim-accent);
}
[data-bs-theme="dark"] .bb-yonetim-semasi__member-card {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__member-card__photo {
    background: #0f172a;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__member-card__photo-placeholder {
    color: #64748b;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__member-card__name {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__member-card__badge {
    background: #334155;
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-yonetim-semasi__badge {
    background: #334155;
    color: #cbd5e1;
}

/* Hızlı menü offcanvas — koyu mod */
[data-bs-theme="dark"] .offcanvas.bb-offcanvas-hizli {
    background: #1a2333;
    color: #e2e8f0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
}
[data-bs-theme="dark"] .offcanvas.bb-offcanvas-hizli .offcanvas-header.bb-offcanvas-hizli__header {
    background: #1a2333;
    border-bottom: 1px solid #2f3d59;
}
[data-bs-theme="dark"] .bb-offcanvas-hizli__title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-offcanvas-hizli__body {
    background: #151d2b;
}
[data-bs-theme="dark"] .bb-hizli-offcanvas-card {
    background: #1e2a3d;
    border-color: #2f3d59;
    color: #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .bb-hizli-offcanvas-card:hover {
    border-color: #f87171;
    box-shadow: 0 8px 22px rgba(248, 113, 113, 0.15);
    color: #f8fafc;
}
[data-bs-theme="dark"] .bb-hizli-offcanvas-card__icon {
    color: #f87171;
}
[data-bs-theme="dark"] .bb-hizli-offcanvas-card__label {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-offcanvas-hizli__empty,
[data-bs-theme="dark"] .bb-offcanvas-hizli__empty.text-muted {
    color: #94a3b8 !important;
}
/* Kapat butonu koyu panelde görünür kalsın */
[data-bs-theme="dark"] .offcanvas.bb-offcanvas-hizli .offcanvas-header .btn-close.bb-offcanvas-hizli__close {
    background: #334155 !important;
}
[data-bs-theme="dark"] .offcanvas.bb-offcanvas-hizli .offcanvas-header .btn-close.bb-offcanvas-hizli__close::before {
    color: #f1f5f9;
}

.bb-news-panel {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(6, 24, 54, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bb-news-panel > .row {
    flex: 1 1 auto;
    min-height: 0;
}

.bb-news-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.bb-news-panel__head h2 {
    margin: 0;
    color: #173f77;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-news-panel__head p {
    margin: 4px 0 0;
    color: #5e6d88;
    font-size: 0.86rem;
}

.bb-news-all {
    color: #173f77;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.bb-news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.bb-news-item {
    flex: 1 1 0;
    width: 100%;
    border: 0;
    background: #f4f6fc;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.bb-news-item img {
    width: 84px;
    height: 60px;
    min-width: 84px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.bb-news-item span {
    color: #253957;
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.bb-news-item__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bb-news-item__category {
    position: absolute;
    top: 8px;
    left: auto;
    right: 8px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff !important;
    background: #c0392b;
    border-radius: 6px;
    line-height: 1.3;
    z-index: 2;
}

@media (max-width: 991px) {
    .bb-news-section .bb-news-item__category {
        display: none;
    }
}

.bb-news-item small {
    display: block;
    color: #7383a3;
    font-size: 0.7rem;
    margin-bottom: 2px;
    transition: color .2s ease;
}

.bb-news-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 6px 6px 0;
    background: #c0392b;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .25s ease;
    z-index: 0;
}

.bb-news-item:hover,
.bb-news-item.is-active {
    transform: translateX(2px);
    background: #eaf0fb;
    box-shadow: 0 6px 14px rgba(17, 40, 81, 0.12);
}

.bb-news-item:hover::before,
.bb-news-item.is-active::before {
    transform: scaleY(1);
}

/* Ana sayfa haberler: sag foto sabit yukseklik, hoverda kayma olmasin */
@media (min-width: 992px) {
    .bb-news-section .bb-news-panel__row {
        height: 480px !important;
    }

    .bb-news-section .bb-news-panel__row .bb-news-list {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .bb-news-section .bb-news-panel__row .col-lg-5 {
        min-width: 0;
        overflow-x: hidden;
    }

    .bb-news-section .bb-news-preview-col {
        min-height: 0;
    }
}

.bb-news-preview {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #1a2332;
}

.bb-news-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.bb-news-preview__category {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff !important;
    background: #c0392b;
    border-radius: 8px;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.bb-news-preview__overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.88) 100%);
}

.bb-news-preview__overlay small {
    display: block;
    font-size: 0.75rem;
    margin: 0;
    opacity: 1;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.bb-news-preview__overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.bb-news-preview-col {
    display: flex;
}

.bb-news-preview-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.bb-news-preview-wrap .bb-news-preview {
    display: block;
    height: 100%;
    width: 100%;
}

@media (max-width: 991px) {
    .bb-news-preview-wrap {
        height: 250px !important;
    }
}

/* ===== İletişim sayfası: breadcrumb + kart ===== */
/* İçerik, sabit topbar (62px) + ana menü (~70px) altında başlasın; üst üste binmesin */
.bb-contact-page {
    padding-top: var(--bb-header-stack-offset); /* topbar + sticky header için boşluk */
    padding-bottom: 4.5rem;
}

.bb-breadcrumb {
    margin-bottom: 1.25rem;
}

.bb-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #5e6d88;
}

.bb-breadcrumb__item:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #9ca3af;
    font-weight: 400;
}

.bb-breadcrumb__item a {
    color: #173f77;
    text-decoration: none;
    font-weight: 600;
}

.bb-breadcrumb__item a:hover {
    text-decoration: underline;
}

.bb-breadcrumb__item--current {
    color: #2f3f5d;
    font-weight: 600;
}

.bb-contact-card {
    max-width: 960px;
}

.bb-breadcrumb-card {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem 18px 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 26px rgba(6, 24, 54, 0.1);
}

.bb-breadcrumb-card .bb-breadcrumb {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .bb-contact-page,
    .bb-news-listing-page,
    .bb-news-detail-page {
        padding-top: 7rem;
    }

    .bb-breadcrumb-card {
        margin-top: 0.75rem;
    }
}

.bb-contact-card__title {
    margin: 0;
    color: #173f77;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-contact-card__body {
    padding-top: 0.5rem;
}

.bb-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f4f6fc;
    border-radius: 12px;
    height: 100%;
}

.bb-contact-item__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #e0e6f5;
    color: #173f77;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bb-contact-item__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5e6d88;
    margin-bottom: 0.25rem;
}

.bb-contact-item__value {
    color: #10284b;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.bb-contact-item__value:hover {
    color: #173f77;
    text-decoration: underline;
}

.bb-contact-item__value--block {
    margin: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.bb-contact-social {
    padding: 1rem;
    background: #f4f6fc;
    border-radius: 12px;
}

.bb-contact-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bb-contact-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #173f77;
    color: #fff;
    font-size: 1.2rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bb-contact-social__link:hover {
    background: #1a3a6b;
    color: #fff;
    transform: translateY(-2px);
}
.bb-contact-social__link .bb-icon-x { width: 1.2rem; height: 1.2rem; display: block; flex-shrink: 0; }
.bb-baskan-social__link .bb-icon-x { width: 1rem; height: 1rem; display: block; }

.bb-contact-maps-card {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 10px 26px rgba(6, 24, 54, 0.1);
}

.bb-contact-maps-card__title {
    margin: 0 0 1rem;
    color: #173f77;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-contact-maps-embed {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.bb-contact-maps-link {
    color: #173f77;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.bb-contact-maps-link:hover {
    color: #1a3a6b;
    text-decoration: underline;
}

[data-bs-theme="dark"] .bb-contact-maps-card {
    background: #1a2333;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .bb-contact-maps-card__title {
    color: #dbe7ff;
}

[data-bs-theme="dark"] .bb-contact-maps-link {
    color: #93c5fd;
}

[data-bs-theme="dark"] .bb-contact-maps-link:hover {
    color: #bfdbfe;
}

.bb-contact-apps {
    padding: 1rem;
    background: #f4f6fc;
    border-radius: 12px;
}

.bb-contact-apps--with-qr .bb-contact-apps__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.5rem;
}

.bb-contact-apps--with-qr .bb-contact-apps__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.bb-contact-apps--with-qr .bb-contact-apps__qr {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-contact-apps--with-qr .bb-contact-apps__qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bb-contact-apps--with-qr .bb-contact-apps__btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
}

.bb-contact-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #173f77;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.bb-contact-app-btn:hover {
    background: #1a3a6b;
    color: #fff;
    transform: translateY(-2px);
}

/* İletişim formu kartı */
.bb-contact-cards-row {
    align-items: stretch;
}

.bb-contact-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.5rem 2rem;
    box-shadow: 0 10px 26px rgba(6, 24, 54, 0.1);
}

.bb-contact-form-card__title {
    margin: 0 0 0.25rem;
    color: #173f77;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-contact-form-card__subtitle {
    margin: 0 0 1.5rem;
    color: #5e6d88;
    font-size: 0.95rem;
}

.bb-contact-form-alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.bb-contact-form-alert--success {
    background: #d1fae5;
    color: #065f46;
}

.bb-contact-form-alert--error {
    background: #fee2e2;
    color: #991b1b;
}

.bb-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 575.98px) {
    .bb-contact-form__row {
        grid-template-columns: 1fr;
    }
}

.bb-contact-form__group {
    margin-bottom: 0;
}

.bb-contact-form__row .bb-contact-form__group {
    margin-bottom: 0;
}

.bb-contact-form__group--full {
    margin-bottom: 1.25rem;
}

.bb-contact-form__row + .bb-contact-form__group--full,
.bb-contact-form__group--full {
    margin-top: 0;
}

.bb-contact-form__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #173f77;
}

.bb-contact-form__input {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #10284b;
    background: #f4f6fc;
    border: 1px solid rgba(23, 63, 119, 0.15);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-contact-form__input::placeholder {
    color: #94a3b8;
}

.bb-contact-form__input:focus {
    outline: none;
    border-color: #173f77;
    box-shadow: 0 0 0 3px rgba(23, 63, 119, 0.15);
}

.bb-contact-form__textarea {
    min-height: 120px;
    resize: vertical;
}

.bb-contact-form__select {
    appearance: auto;
    cursor: pointer;
}

.bb-contact-form__actions {
    margin-top: 1.5rem;
}

.bb-contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: #173f77;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bb-contact-form__submit:hover {
    background: #1a3a6b;
    color: #fff;
    transform: translateY(-1px);
}

.bb-contact-cards-row .bb-contact-card {
    max-width: none;
}

[data-bs-theme="dark"] .bb-contact-form-card {
    background: #1a2333;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .bb-contact-form-card__title { color: #dbe7ff; }
[data-bs-theme="dark"] .bb-contact-form-card__subtitle { color: #aebad0; }
[data-bs-theme="dark"] .bb-contact-form__label { color: #dbe7ff; }
[data-bs-theme="dark"] .bb-contact-form__input {
    background: #222d41;
    border-color: #2a3345;
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-contact-form__input::placeholder { color: #64748b; }
[data-bs-theme="dark"] .bb-contact-form__input:focus { border-color: #3b82f6; }
[data-bs-theme="dark"] .bb-contact-form-alert--success { background: #064e3b; color: #a7f3d0; }
[data-bs-theme="dark"] .bb-contact-form-alert--error { background: #7f1d1d; color: #fecaca; }

[data-bs-theme="dark"] .bb-breadcrumb__list { color: #94a3b8; }
[data-bs-theme="dark"] .bb-breadcrumb__item a { color: #93c5fd; }
[data-bs-theme="dark"] .bb-breadcrumb__item--current { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-contact-card__title { color: #dbe7ff; }
[data-bs-theme="dark"] .bb-contact-item { background: #222d41; }
[data-bs-theme="dark"] .bb-contact-item__icon { background: #2a3345; color: #93c5fd; }
[data-bs-theme="dark"] .bb-contact-social { background: #222d41; }
[data-bs-theme="dark"] .bb-contact-social__link { background: #2a3345; color: #93c5fd; }
[data-bs-theme="dark"] .bb-contact-social__link:hover { background: #173f77; color: #fff; }
[data-bs-theme="dark"] .bb-contact-item__label { color: #94a3b8; }
[data-bs-theme="dark"] .bb-contact-item__value { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-contact-apps { background: #222d41; }
[data-bs-theme="dark"] .bb-contact-apps--with-qr .bb-contact-apps__qr { background: #334155; }
[data-bs-theme="dark"] .bb-contact-app-btn { background: #1e3a5f; }
[data-bs-theme="dark"] .bb-contact-app-btn:hover { background: #173f77; }

/* Dark mode */
[data-bs-theme="dark"] .bb-news-section {
    background: #121a27;
}

[data-bs-theme="dark"] .bb-mayor-card {
    background: #1a2333;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .bb-mayor-card__image::before {
    background: #2a3345;
}

[data-bs-theme="dark"] .bb-mayor-card__body h3 {
    color: #e7edf8;
}

[data-bs-theme="dark"] .bb-mayor-card__body p {
    color: #aebad0;
}

[data-bs-theme="dark"] .bb-mayor-actions a {
    background: #222d41;
    border-color: #2f3d59;
    color: #dbe4f5;
}

[data-bs-theme="dark"] .bb-mayor-actions a:hover {
    background: #1a3a6b;
    border-color: #1a3a6b;
    color: #fff;
}

[data-bs-theme="dark"] .bb-breadcrumb-card {
    background: #1a2333;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .bb-news-panel {
    background: #1a2333;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .bb-news-panel__head h2 {
    color: #dbe7ff;
}

[data-bs-theme="dark"] .bb-news-panel__head p,
[data-bs-theme="dark"] .bb-news-all {
    color: #aebad0;
}

[data-bs-theme="dark"] .bb-news-item {
    background: #222d41;
}

[data-bs-theme="dark"] .bb-news-item:hover,
[data-bs-theme="dark"] .bb-news-item.is-active {
    background: #2a3650;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .bb-news-item span {
    color: #e6eefc;
}

[data-bs-theme="dark"] .bb-news-item small {
    color: #a8b6cf;
}

[data-bs-theme="dark"] .bb-news-item__category {
    background: #b8352a;
    color: #fff !important;
}

/* Frontend haberler / duyurular liste ve detay – koyu mod */
[data-bs-theme="dark"] .bb-news-sidebar {
    background: #1a2333;
    border-color: #2f3d59;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .bb-news-sidebar__title { color: #dbe7ff; }
[data-bs-theme="dark"] .bb-news-sidebar__link {
    color: #cbd5e1;
    border-top-color: #2f3d59;
}
[data-bs-theme="dark"] .bb-news-sidebar__link:hover {
    background: #222d41;
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-news-sidebar__link--active {
    background: #243347;
    color: #93c5fd;
    box-shadow: inset 3px 0 0 #60a5fa;
}
[data-bs-theme="dark"] .bb-news-sidebar__icon,
[data-bs-theme="dark"] .bb-news-sidebar__link--active .bb-news-sidebar__icon {
    color: #f87171;
}
[data-bs-theme="dark"] .bb-news-sidebar__group-children { border-left-color: rgba(255,255,255,0.12); }

[data-bs-theme="dark"] .bb-news-listing__heading { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-news-listing__empty { color: #94a3b8; }

[data-bs-theme="dark"] .bb-news-card__link {
    background: #1a2333;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .bb-news-card__link:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}
[data-bs-theme="dark"] .bb-news-card__link:hover .bb-news-card__title { color: #93c5fd; }
[data-bs-theme="dark"] .bb-news-card__img-wrap { background: #222d41; }
[data-bs-theme="dark"] .bb-news-card__badge {
    background: rgba(220, 62, 47, 0.95);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .bb-news-card__img-placeholder { color: #64748b; }
[data-bs-theme="dark"] .bb-news-card__date { color: #94a3b8; }
[data-bs-theme="dark"] .bb-news-card__title { color: #e2e8f0; }

[data-bs-theme="dark"] .bb-announcement-card__link {
    background: #1a2333;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .bb-announcement-card__link:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
[data-bs-theme="dark"] .bb-announcement-card__link:hover .bb-announcement-card__title,
[data-bs-theme="dark"] .bb-announcement-card__link:hover .bb-announcement-card__arrow { color: #93c5fd; }
[data-bs-theme="dark"] .bb-announcement-card__img-wrap { background: #222d41; }
[data-bs-theme="dark"] .bb-announcement-card__img-placeholder { color: #64748b; }
[data-bs-theme="dark"] .bb-announcement-card__title { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-announcement-card__arrow { color: #94a3b8; }

[data-bs-theme="dark"] .bb-news-section .bb-pagination__link {
    background: #1e293b;
    border-color: #475569;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-news-section .bb-pagination__link:hover:not(.bb-pagination__link--disabled) {
    background: #334155;
    border-color: #64748b;
    color: #bae6fd;
}
[data-bs-theme="dark"] .bb-news-section .bb-pagination__link--active {
    background: #173f77;
    border-color: #173f77;
    color: #fff;
}
[data-bs-theme="dark"] .bb-news-section .bb-pagination__link--disabled,
[data-bs-theme="dark"] .bb-news-section .bb-pagination__link--dots {
    background: #334155;
    color: #64748b;
}

[data-bs-theme="dark"] .bb-news-detail__cover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); }
[data-bs-theme="dark"] .bb-news-detail__category-badge {
    background: rgba(23, 63, 119, 0.95);
    color: #fff;
}
[data-bs-theme="dark"] .bb-news-detail__date { color: #94a3b8; }
[data-bs-theme="dark"] .bb-news-detail__share-label { color: #94a3b8; }
[data-bs-theme="dark"] .bb-news-detail__share-side .bb-news-detail__share-label { color: #94a3b8; }
[data-bs-theme="dark"] .bb-news-detail__category { color: #93c5fd; }
[data-bs-theme="dark"] .bb-news-detail__title { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-news-detail__content { color: #cbd5e1; }
[data-bs-theme="dark"] .bb-news-detail__content a { color: #93c5fd; }
[data-bs-theme="dark"] .bb-news-detail__content a:hover { color: #bae6fd; }
[data-bs-theme="dark"] .bb-news-detail__content img { border: 1px solid #334155; }
[data-bs-theme="dark"] .bb-news-detail__content table,
[data-bs-theme="dark"] .bb-news-detail__content th,
[data-bs-theme="dark"] .bb-news-detail__content td {
    border-color: #475569;
}
/* CKEditor içerik koyu mod: tablo hücrelerinde inset gölge kalmasın */
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table.table > :not(caption) > * > *,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table.table > :not(caption) > * > * {
    box-shadow: none !important;
}
/* CKEditor içerik koyu mod: inline background/color stillerini ez (dis-iliskiler vb. icerik sayfalari) */
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table,
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table td,
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table th,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table td,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table th {
    background-color: #1e293b !important;
    color: #cbd5e1 !important;
}
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table tbody tr:nth-child(even) td,
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table tbody tr:nth-child(even) th,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table tbody tr:nth-child(even) td,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table tbody tr:nth-child(even) th {
    background-color: #0f172a !important;
}
[data-bs-theme="dark"] .bb-news-detail__content.ck-content table thead th,
[data-bs-theme="dark"] .bb-news-detail__content.bb-icerik-ck-content table thead th {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
}
[data-bs-theme="dark"] .bb-news-detail__content blockquote {
    border-left-color: #475569;
    color: #94a3b8;
}

[data-bs-theme="dark"] .bb-news-detail-gallery { border-top-color: #334155; }
[data-bs-theme="dark"] .bb-news-detail-gallery__title { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-news-detail-gallery__btn {
    background: #334155;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-news-detail-gallery__btn:hover {
    background: #173f77;
    color: #fff;
}
[data-bs-theme="dark"] .bb-news-detail-gallery__slide { background: #222d41; }

/* Frontend Başkan sayfası – koyu mod */
[data-bs-theme="dark"] .bb-baskan-hero {
    background: #1a2333;
    border-color: #2f3d59;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .bb-baskan-hero__sky {
    background:
        linear-gradient(180deg, rgba(30, 58, 95, 0.6) 0%, rgba(30, 41, 59, 0.3) 60%, transparent 100%),
        radial-gradient(circle at 80% 12%, rgba(30, 64, 120, 0.4), transparent 44%),
        linear-gradient(135deg, #1e3a5f 0%, #1e293b 52%, #0f172a 100%);
}
[data-bs-theme="dark"] .bb-baskan-hero__info-strip {
    background: linear-gradient(180deg, rgba(26, 35, 51, 0.97) 0%, rgba(30, 41, 59, 0.98) 100%);
    border-top-color: #334155;
}
[data-bs-theme="dark"] .bb-baskan-hero__photo-wrap {
    background: #222d41;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}
[data-bs-theme="dark"] .bb-baskan-hero__info { color: #cbd5e1; }
[data-bs-theme="dark"] .bb-baskan-hero__name { color: #f87171; }
[data-bs-theme="dark"] .bb-baskan-hero__title { color: #94a3b8; }
[data-bs-theme="dark"] .bb-baskan-social__link {
    background: #222d41;
    border-color: #334155;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-baskan-social__link:hover {
    background: #1e3a5f;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(30, 58, 95, 0.4);
}
[data-bs-theme="dark"] .bb-baskan-social__website {
    background: linear-gradient(135deg, #b91c3c, #9a1b2d);
    color: #fff;
    box-shadow: 0 8px 18px rgba(154, 27, 45, 0.4);
}
[data-bs-theme="dark"] .bb-baskan-social__website:hover {
    color: #fff;
    box-shadow: 0 10px 22px rgba(154, 27, 45, 0.5);
}
[data-bs-theme="dark"] .bb-baskan-tabs__btn {
    background: #1a2333;
    border-color: #334155;
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-baskan-tabs__btn:hover {
    border-color: #475569;
    background: #222d41;
}
[data-bs-theme="dark"] .bb-baskan-tabs__btn.active {
    border-color: #0369a1;
    background: #0f172a;
    color: #38bdf8;
}
[data-bs-theme="dark"] .bb-baskan-panel {
    background: #1a2333;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-baskan-panel__body--scroll::-webkit-scrollbar-track { background: #1e293b; }
[data-bs-theme="dark"] .bb-baskan-panel__body--scroll::-webkit-scrollbar-thumb { background: #475569; }
[data-bs-theme="dark"] .bb-baskan-panel__body--scroll::-webkit-scrollbar-thumb:hover { background: #64748b; }
[data-bs-theme="dark"] .bb-baskan-html { color: #cbd5e1; }
[data-bs-theme="dark"] .bb-baskan-html a { color: #93c5fd; }
[data-bs-theme="dark"] .bb-baskan-html a:hover { color: #bae6fd; }
[data-bs-theme="dark"] .bb-baskan-empty { color: #94a3b8; }

/* Frontend Meclis Üyeleri sayfası – koyu mod */
[data-bs-theme="dark"] .bb-council-accordion .accordion-item {
    background: #1a2333;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
[data-bs-theme="dark"] .bb-council-accordion .accordion-button {
    background: #222d41;
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-council-accordion .accordion-button:hover {
    background: #1e293b;
}
[data-bs-theme="dark"] .bb-council-accordion .accordion-button:not(.collapsed) {
    background: #1e293b;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-council-accordion .accordion-button::after {
    filter: invert(1);
    opacity: 0.8;
}
[data-bs-theme="dark"] .bb-council-accordion .accordion-body {
    background: #1a2333;
    border-top-color: #334155;
}
[data-bs-theme="dark"] .bb-council-member-card {
    background: #1a2333;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .bb-council-member-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
[data-bs-theme="dark"] .bb-council-member-card__img-wrap { background: #222d41; }
[data-bs-theme="dark"] .bb-council-member-card__img-placeholder { color: #64748b; }
[data-bs-theme="dark"] .bb-council-member-card__name { color: #e2e8f0; }

/* ============================================================
   Hızlı İşlemler + Etkinlikler
   ============================================================ */
.bb-services-section {
    background: radial-gradient(circle at 18% 22%, rgba(78, 106, 177, 0.35), transparent 46%),
                radial-gradient(circle at 92% 8%, rgba(112, 136, 193, 0.28), transparent 42%),
                #1f2f60;
    padding: 4.5rem 0;
}

.bb-services-left,
.bb-events-right {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.bb-services-left {
    height: 100%;
}

.bb-events-right {
    height: auto;
    align-self: flex-start;
    min-width: 0;
    overflow: hidden;
}

.bb-services-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.bb-services-tab {
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #253a64;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    transition: background .2s ease, color .2s ease;
    position: relative;
}

/* Mobil: sekmeler yan yana, yatay scroll */
@media (max-width: 767.98px) {
    .bb-services-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        padding: 4px 0.75rem 12px;
        margin-bottom: 18px;
        scrollbar-width: thin;
    }

    .bb-services-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .bb-services-tabs::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    .bb-services-tabs::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 4px;
    }

    .bb-services-tab {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

.bb-services-tab:hover,
.bb-services-tab.is-active {
    background: #c0392b;
    color: #fff;
}

.bb-services-tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -11px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 11px solid #c0392b;
}

.bb-services-panel {
    display: none;
}

.bb-services-panel.is-active {
    display: block;
}

.bb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bb-services-grid a {
    min-height: 124px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: #e8efff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    text-align: center;
    line-height: 1.2;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.bb-services-grid a i {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2px;
}

.bb-services-grid a strong {
    display: block;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.bb-services-grid a small {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    font-weight: 400;
}

.bb-services-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
}

/* YouTube Son Videolar – etkinlikler solunda */
.bb-youtube-videos {
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.bb-youtube-videos__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bb-youtube-videos__title {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.bb-youtube-videos__subtitle {
    margin: 2px 0 0;
    color: rgba(232, 239, 255, 0.75);
    font-size: 0.82rem;
}

.bb-youtube-videos__channel-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #c0392b;
    color: #fff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.bb-youtube-videos__channel-btn:hover {
    background: #a52d20;
    color: #fff;
    transform: translateY(-1px);
}

.bb-youtube-videos__channel-btn i {
    font-size: 1rem;
}

.bb-youtube-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bb-youtube-video-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.bb-youtube-video-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.bb-youtube-video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bb-youtube-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.bb-youtube-video-card:hover .bb-youtube-video-card__thumb img {
    transform: scale(1.06);
}

.bb-youtube-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: background 0.2s, font-size 0.2s;
}

.bb-youtube-video-card:hover .bb-youtube-video-card__play {
    background: rgba(192, 57, 43, 0.75);
    font-size: 1.75rem;
}

.bb-youtube-video-card__play i {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bb-youtube-video-card__title {
    margin: 0;
    padding: 8px 10px;
    color: #e8efff;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bb-youtube-videos__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.bb-youtube-videos__footer:hover {
    background: rgba(192, 57, 43, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bb-youtube-videos__footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #c0392b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bb-youtube-videos__footer-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.bb-youtube-videos__footer-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

@media (max-width: 991.98px) {
    .bb-youtube-videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .bb-youtube-videos__head {
        flex-direction: column;
        gap: 8px;
    }

    .bb-youtube-videos__channel-btn {
        align-self: flex-start;
    }
}

.bb-events-head h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-events-head p {
    margin: 2px 0 14px;
    color: rgba(232, 239, 255, 0.86);
    font-size: 0.9rem;
}

.bb-events-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: nowrap;
    min-width: 0;
}

.bb-events-dates {
    display: flex;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
}

.bb-events-dates::-webkit-scrollbar {
    height: 6px;
}

.bb-events-dates::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.bb-events-dates::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 6px;
}

.bb-events-dates::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

.bb-events-dates a {
    flex: 0 0 auto;
    min-width: 70px;
    text-align: center;
    text-decoration: none;
    color: #e8efff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 9px 8px;
    font-size: 0.76rem;
    font-weight: 700;
    transition: background .2s ease;
}

.bb-events-dates a:hover,
.bb-events-dates a.is-active {
    background: rgba(255, 255, 255, 0.22);
}

.bb-events-nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.bb-events-nav button {
    border: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.bb-events-calendar-btn {
    flex-shrink: 0;
    text-decoration: none;
    color: #fff;
    background: #c0392b;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bb-events-swiper {
    overflow: hidden;
}

.bb-events-swiper .swiper-slide {
    height: auto;
}

.bb-event-card {
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bb-event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center top;
}

.bb-event-card__content {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.bb-event-card__content h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 800;
}

.bb-event-card__content p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.bb-event-card__meta {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    margin-top: auto;
}

.bb-event-card__meta span {
    display: block;
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.25;
    margin-bottom: 5px;
}

.bb-event-card__meta small {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    margin-top: 2px;
}

.bb-event-card__meta small i {
    margin-right: 4px;
    color: #c0392b;
}

/* ============================================================
   Projeler (carousel, Rakamlarla Bulancak üstü)
   ============================================================ */
.bb-projects {
    background: #fff;
    padding: 3rem 0 3.5rem;
    overflow-x: hidden;
}

.bb-projects__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bb-projects__head > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bb-projects__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bb-projects__filter {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: #e2e8f0;
    color: #475569;
    transition: background 0.2s, color 0.2s;
}

.bb-projects__filter:hover {
    background: #cbd5e1;
    color: #334155;
}

/* Tümü butonu (data-filter boş) - varsayılan aktif */
.bb-projects__filter:not([data-filter]).is-active,
.bb-projects__filter[data-filter=""].is-active {
    background: #334155;
    color: #fff;
}

.bb-projects__filter[data-filter="done"].is-active,
.bb-projects__filter[data-filter="done"]:hover {
    background: #16a34a;
    color: #fff;
}

.bb-projects__filter[data-filter="ongoing"].is-active,
.bb-projects__filter[data-filter="ongoing"]:hover {
    background: #2563eb;
    color: #fff;
}

.bb-projects__filter[data-filter="planned"].is-active,
.bb-projects__filter[data-filter="planned"]:hover {
    background: #c0392b;
    color: #fff;
}

.bb-projects__subtitle {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
}

.bb-projects__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #173f77;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-projects__slider-wrap {
    position: relative;
    overflow: hidden;
}

.bb-projects-swiper {
    overflow: hidden;
    padding-bottom: 48px;
}

.bb-projects-swiper .swiper-wrapper {
    box-sizing: border-box;
}

.bb-project-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    text-decoration: none;
}

.bb-project-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.bb-project-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 11px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.bb-project-card__badge--done {
    background: #16a34a;
}

.bb-project-card__badge--ongoing {
    background: #2563eb;
}

.bb-project-card__badge--planned {
    background: #c0392b;
}

/* Proje filtresi: sadece seçilen durumdaki kartlar görünsün */
.bb-projects[data-filter="done"] .bb-projects-swiper .swiper-slide:not([data-status="done"]) {
    display: none !important;
}

.bb-projects[data-filter="ongoing"] .bb-projects-swiper .swiper-slide:not([data-status="ongoing"]) {
    display: none !important;
}

.bb-projects[data-filter="planned"] .bb-projects-swiper .swiper-slide:not([data-status="planned"]) {
    display: none !important;
}

/* Ana sayfa Projelerimiz: /projeler ile aynı kart (foto üstte, altta gradient + yazı, sağ üstte kategori) */
.bb-projects--home .bb-project-card {
    aspect-ratio: 16 / 9;
    min-height: 180px;
    border: 1px solid #dbe4ef;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    background: #0f2341;
}
.bb-projects--home .bb-project-card__image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.bb-projects--home .bb-project-card__overlay {
    padding: 12px 12px 10px;
    background: linear-gradient(
        to top,
        rgba(127, 29, 29, 0.96) 0%,
        rgba(185, 28, 28, 0.88) 35%,
        rgba(220, 38, 38, 0.38) 66%,
        rgba(220, 38, 38, 0.02) 100%
    );
}
.bb-projects--home .bb-project-card__line1,
.bb-projects--home .bb-project-card__line2 {
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.bb-projects--home .bb-project-card__line2.bb-project-card__highlight {
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    align-self: stretch;
}

.bb-project-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 14px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}

.bb-project-card__line1,
.bb-project-card__line2 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.bb-project-card__highlight {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.bb-project-card__highlight--blue {
    background: #2563eb;
}

.bb-project-card__highlight--purple {
    background: #7c3aed;
}

.bb-project-card__highlight--green {
    background: #16a34a;
}

.bb-project-card__highlight--brown {
    background: #b45309;
}

.bb-projects__nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -36px;
    position: relative;
    z-index: 3;
}

.bb-projects__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
    max-width: 100%;
}

.bb-projects__all-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    border: 2px solid #64748b;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    text-align: center;
    background: transparent;
    transition: border-color 0.2s, color 0.2s;
}

.bb-projects__all-btn:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.bb-projects__arrow--prev {
    justify-self: end;
    margin-right: 8px;
}

.bb-projects__arrow--next {
    justify-self: start;
    margin-left: 8px;
}

.bb-projects__arrow {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #0d9488;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.bb-projects__arrow:hover {
    background: #0d9488;
    color: #fff;
}

.bb-projects__arrow svg {
    width: 20px;
    height: 20px;
}

.bb-projects__pagination {
    position: relative !important;
    bottom: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bb-projects__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 50%;
    transition: width 0.25s ease, height 0.25s ease, background 0.2s;
}

.bb-projects__pagination .swiper-pagination-bullet-active {
    width: 32px;
    height: 12px;
    border-radius: 6px;
    background: #1e40af;
}

/* Dark mode – Projeler */
[data-bs-theme="dark"] .bb-projects {
    background: #1a1d23;
}

[data-bs-theme="dark"] .bb-projects__title {
    color: #dbe7ff;
}

[data-bs-theme="dark"] .bb-projects__subtitle {
    color: #94a3b8;
}

[data-bs-theme="dark"] .bb-projects__all-btn {
    border-color: #94a3b8;
    color: #94a3b8;
}

[data-bs-theme="dark"] .bb-projects__all-btn:hover {
    border-color: #e8604d;
    color: #e8604d;
}

[data-bs-theme="dark"] .bb-projects__filter {
    background: #334155;
    color: #cbd5e1;
}

[data-bs-theme="dark"] .bb-projects__filter:hover {
    background: #475569;
    color: #f1f5f9;
}

[data-bs-theme="dark"] .bb-projects__arrow {
    color: #0d9488;
}

[data-bs-theme="dark"] .bb-projects__arrow:hover {
    background: #0d9488;
    color: #fff;
}

[data-bs-theme="dark"] .bb-projects__pagination .swiper-pagination-bullet {
    background: #475569;
}

[data-bs-theme="dark"] .bb-projects__pagination .swiper-pagination-bullet-active {
    background: #3b82f6;
}

/* ============================================================
   Mini slideshow – görseldeki gibi: solda metin, sağda dikey thumb’lar
   ============================================================ */
.bb-mid-slider {
    background: #0f172a;
    overflow: hidden;
}

.bb-mid-slider__wrap {
    position: relative;
    width: 100%;
    height: 420px;
}

.bb-mid-slider-swiper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
}

.bb-mid-slider__slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Solda başlık (beyaz, kalın) */
.bb-mid-slider__title {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1rem;
    z-index: 5;
    pointer-events: none;
}

.bb-mid-slider__headline {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Sağda dikey thumbnail kartları (ana görselin üzerine taşan) */
.bb-mid-slider__thumbs-wrap {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    max-width: 420px;
    height: 300px;
    overflow: visible;
    z-index: 5;
    padding: 20px 16px 20px 0;
}

.bb-mid-slider-thumbs {
    overflow: visible;
    height: 100%;
}

.bb-mid-slider-thumbs .swiper-wrapper {
    align-items: center;
}

.bb-mid-slider__thumb {
    position: relative;
    height: 200px;
    width: 140px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: height 0.35s ease, width 0.35s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.bb-mid-slider__thumb:hover {
    opacity: 1;
}

.bb-mid-slider__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Etiket kartın üstünde (yarı saydam koyu) */
.bb-mid-slider__thumb-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    z-index: 2;
    transition: background 0.2s;
}

.bb-mid-slider__thumb:hover .bb-mid-slider__thumb-label,
.bb-mid-slider__thumb.swiper-slide-thumb-active .bb-mid-slider__thumb-label {
    background: rgba(192, 57, 43, 0.9);
}

.bb-mid-slider__thumb.swiper-slide-thumb-active {
    height: 280px;
    width: 200px;
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Altta nav: oklar + ince çizgi + slayt numarası (01) */
.bb-mid-slider__nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    z-index: 10;
}

.bb-mid-slider__prev,
.bb-mid-slider__next {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1rem;
}

.bb-mid-slider__prev:hover,
.bb-mid-slider__next:hover {
    background: #c0392b;
    color: #fff;
}

.bb-mid-slider__line {
    flex: 0 0 40px;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
}

.bb-mid-slider__slide-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    min-width: 2ch;
}

@media (min-width: 768px) {
    .bb-mid-slider__wrap {
        height: 480px;
    }
    .bb-mid-slider__title {
        padding-left: 2.5rem;
    }
    .bb-mid-slider__headline {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
    .bb-mid-slider__thumbs-wrap {
        width: 45%;
        max-width: 480px;
        padding: 24px 24px 24px 0;
    }
    .bb-mid-slider__thumb {
        height: 220px;
        width: 155px;
    }
    .bb-mid-slider__thumb.swiper-slide-thumb-active {
        height: 320px;
        width: 220px;
    }
}

@media (min-width: 992px) {
    .bb-mid-slider__wrap {
        height: 520px;
    }
}

/* Mobilde thumb’ları altta yatay şerit olarak göster */
@media (max-width: 767.98px) {
    .bb-mid-slider__wrap {
        height: 380px;
    }
    .bb-mid-slider__title {
        padding-left: 1rem;
    }
    .bb-mid-slider__headline {
        font-size: 1.25rem;
    }
    .bb-mid-slider__thumbs-wrap {
        top: auto;
        right: 0;
        left: 0;
        bottom: 56px;
        width: 100%;
        max-width: none;
        transform: none;
        padding: 8px 12px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    }
    .bb-mid-slider__thumb {
        height: 70px;
        width: 100px;
    }
    .bb-mid-slider__thumb.swiper-slide-thumb-active {
        height: 85px;
        width: 115px;
    }
    .bb-mid-slider__thumb-label {
        padding: 6px 8px;
        font-size: 0.65rem;
    }
}

[data-bs-theme="dark"] .bb-mid-slider {
    background: #0f172a;
}

[data-bs-theme="dark"] .bb-mid-slider__prev:hover,
[data-bs-theme="dark"] .bb-mid-slider__next:hover {
    background: #e8604d;
}

[data-bs-theme="dark"] .bb-mid-slider__thumb:hover .bb-mid-slider__thumb-label,
[data-bs-theme="dark"] .bb-mid-slider__thumb.swiper-slide-thumb-active .bb-mid-slider__thumb-label {
    background: rgba(232, 96, 77, 0.9);
}

/* ============================================================
   Rakamlarla Bulancak (istatistik satırı)
   ============================================================ */
.bb-numbers {
    background: #fff;
    padding: 4.5rem 0;
}

.bb-numbers__title {
    text-align: center;
    margin: 0 0 0.5rem;
    font-size: clamp(2.8rem, 5.6vw, 3.8rem);
    font-weight: 700;
    color: #c0392b;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-numbers__subtitle {
    text-align: center;
    margin: 0 0 2.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: #4a4a4a;
}

.bb-numbers__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bb-numbers__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}

.bb-numbers__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 120%;
    max-width: 140px;
    height: 3px;
    background: #c0392b;
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.bb-numbers__item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.bb-numbers__value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #333c48;
    line-height: 1.2;
}

.bb-numbers__unit {
    font-size: 0.5em;
    font-weight: 600;
    color: #c0392b;
}

.bb-numbers__label {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #4a4a4a;
}

@media (max-width: 991px) {
    .bb-numbers__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .bb-numbers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Dark mode – rakamlarla */
[data-bs-theme="dark"] .bb-numbers {
    background: #1a1d23;
}

[data-bs-theme="dark"] .bb-numbers__title {
    color: #e8604d;
}

[data-bs-theme="dark"] .bb-numbers__subtitle,
[data-bs-theme="dark"] .bb-numbers__value,
[data-bs-theme="dark"] .bb-numbers__label {
    color: #dce2eb;
}

[data-bs-theme="dark"] .bb-numbers__unit {
    color: #e8604d;
}

[data-bs-theme="dark"] .bb-numbers__item::after {
    background: #e8604d;
}

/* ============================================================
   Footer İletişim Banner – referans görsele birebir (mobil üstü)
   Sıra: Portre (ad/ünvan görselde) | Mesaj | WhatsApp
   ============================================================ */
.bb-footer-contact-banner {
    position: relative;
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.bb-footer-contact-banner__inner {
    position: relative;
    z-index: 1;
}

.bb-footer-contact-banner__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
}

/* Portre: Büyük, üst/alt kenarlara yakın, boşluksuz (ad/ünvan görselin içinde) */
.bb-footer-contact-banner__person {
    display: flex;
    align-items: stretch;
}

.bb-footer-contact-banner__person-img-wrap {
    width: 600px;
    flex-shrink: 0;
    background: transparent;
    overflow: hidden;
}

.bb-footer-contact-banner__person-img-wrap img.bb-footer-contact-banner__person-img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

.bb-footer-contact-banner__person-placeholder {
    width: 600px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

/* Orta: Mesaj – sol hizalı */
.bb-footer-contact-banner__message {
    flex: 0 0 600px;
    width: 600px;
    min-width: 200px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.bb-footer-contact-banner__line1 {
    margin: 0 0 0.2em;
    font-size: 1.35rem;
    font-weight: 700;
    color: #334155;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-footer-contact-banner__line2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #e74c3c;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Sağ: WhatsApp – yuvarlatılmış yeşil buton */
.bb-footer-contact-banner__action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem 1.5rem 1rem;
}

.bb-footer-contact-banner__whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.75rem;
    background: #25D366;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s, transform 0.15s;
}

.bb-footer-contact-banner__whatsapp-btn:hover {
    background: #20BD5A;
    color: #fff;
    transform: translateY(-1px);
}

.bb-footer-contact-banner__whatsapp-icon {
    flex-shrink: 0;
    display: inline-flex;
}

.bb-footer-contact-banner__whatsapp-icon svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 991px) {
    .bb-footer-contact-banner__person-img-wrap {
        width: 100%;
        max-width: 400px;
    }
    .bb-footer-contact-banner__person-placeholder {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .bb-footer-contact-banner__row {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }
    .bb-footer-contact-banner__person {
        order: 1;
    }
    .bb-footer-contact-banner__person-img-wrap {
        width: 100%;
        max-width: 320px;
    }
    .bb-footer-contact-banner__person-placeholder {
        width: 100%;
        min-height: 240px;
    }
    .bb-footer-contact-banner__message {
        order: 2;
        text-align: center;
        padding: 1rem 1.5rem;
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }
    .bb-footer-contact-banner__action {
        order: 3;
        padding: 0 1.5rem 1.5rem;
    }
    .bb-footer-contact-banner__whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   Duyuru popup – ana sayfa, sadece fotoğraf, yaklaşık tam ekran
   ============================================================ */
.bb-announcement-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.bb-announcement-popup.is-open {
    opacity: 1;
    visibility: visible;
}
.bb-announcement-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}
.bb-announcement-popup__box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(calc(100vw - 6rem), 900px);
    max-height: min(calc(100vh - 6rem), 85vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    min-height: 0;
}
.bb-announcement-popup__slider-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.bb-announcement-popup__close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #c41e3a;
    color: #fff;
    border-radius: 0 0 0 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.bb-announcement-popup__close:hover {
    background: #a01830;
}
.bb-announcement-popup__footer {
    padding: 0.85rem 1rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    flex-shrink: 0;
}
.bb-announcement-popup__dismiss {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
}
.bb-announcement-popup__dismiss input { flex-shrink: 0; }
.bb-announcement-popup__slider-wrap .swiper {
    flex: 1;
    min-height: 200px;
    width: 100%;
    overflow: hidden;
}
.bb-announcement-popup__slider-wrap .swiper-wrapper {
    height: 100%;
}
.bb-announcement-popup__slider-wrap .swiper-slide {
    height: 100%;
    width: 100% !important;
    flex-shrink: 0;
    flex-grow: 0;
}
.bb-announcement-popup__slide {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.bb-announcement-popup__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.bb-announcement-popup__nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}
.bb-announcement-popup__prev,
.bb-announcement-popup__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.bb-announcement-popup__prev {
    left: 0.75rem;
}
.bb-announcement-popup__next {
    right: 0.75rem;
}
.bb-announcement-popup__prev:hover,
.bb-announcement-popup__next:hover {
    background: rgba(0, 0, 0, 0.65);
}

/* Tablet: popup orta boy padding */
@media (max-width: 1199.98px) {
    .bb-announcement-popup {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    .bb-announcement-popup__box {
        max-width: min(calc(100vw - 3rem), 700px);
        max-height: min(calc(100vh - 4rem), 80vh);
    }
}

/* Mobil: popup daha kompakt */
@media (max-width: 767.98px) {
    .bb-announcement-popup {
        padding: 1rem 0.75rem 1rem;
    }
    .bb-announcement-popup__box {
        max-width: 100%;
        max-height: min(calc(100vh - 2rem), 90vh);
    }
    .bb-announcement-popup__footer {
        padding: 0.65rem 0.75rem;
    }
    .bb-announcement-popup__close {
        width: 36px;
        height: 36px;
    }
    .bb-announcement-popup__prev,
    .bb-announcement-popup__next {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .bb-announcement-popup__prev { left: 0.5rem; }
    .bb-announcement-popup__next { right: 0.5rem; }
}

/* ============================================================
   Mobil uygulama indir – sade, tek satır (referans görsel gibi)
   ============================================================ */
.bb-app-download {
    background: #eef1f6;
    padding: 3.5rem 0;
}

.bb-app-download__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.bb-app-download__label-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bb-app-download__phone-icon {
    color: #1f3b75;
    flex-shrink: 0;
    font-size: 5rem;
}

.bb-app-download__label-box > div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.bb-app-download__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f3b75;
    letter-spacing: 0.02em;
}

.bb-app-download__mobil {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.bb-app-download__qr-box {
    width: 88px;
    height: 88px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bb-app-download__qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bb-app-download__qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 600;
}

.bb-app-download__store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 88px;
    padding: 0 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1f3b75;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: background 0.2s, border-color 0.2s;
}

.bb-app-download__store-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1f3b75;
}

.bb-app-download__store-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: #1f3b75;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bb-app-download__store-icon--play {
    width: 38px;
    height: 38px;
}

/* App Store ikonu Play ile aynı görsel ağırlıkta, büyük */
.bb-app-download__store-icon--apple {
    width: 48px;
    height: 48px;
    font-size: 2.75rem;
}

.bb-app-download__store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.bb-app-download__store-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
}

/* Mobil: üstte etiket, altta solda QR’lar alt alta – sağda Android üstte, App Store altta */
@media (max-width: 767.98px) {
    .bb-app-download {
        padding: 2.5rem 0;
    }

    .bb-app-download__row {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px 16px;
        max-width: 320px;
        margin: 0 auto;
        align-items: center;
    }

    .bb-app-download__label-box {
        grid-column: 1 / -1;
        justify-content: center;
        padding: 12px 16px;
    }

    .bb-app-download__phone-icon {
        font-size: 2.25rem;
    }

    /* Sıra: 1=etiket, 2=QR Play, 3=Play btn, 4=QR App, 5=App btn → Sol: QR’lar, Sağ: Android üstte, App Store altta */
    .bb-app-download__row > *:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }

    .bb-app-download__row > *:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .bb-app-download__row > *:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
    }

    .bb-app-download__row > *:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }

    .bb-app-download__qr-box {
        width: 80px;
        height: 80px;
    }

    .bb-app-download__store-btn {
        height: 72px;
        padding: 0 14px;
        width: 100%;
        min-width: 0;
    }
}

/* Dark mode – mobil uygulama indir */
[data-bs-theme="dark"] .bb-app-download {
    background: #1e293b;
}

[data-bs-theme="dark"] .bb-app-download__label-box,
[data-bs-theme="dark"] .bb-app-download__qr-box,
[data-bs-theme="dark"] .bb-app-download__store-btn {
    background: #334155;
    border-color: #475569;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .bb-app-download__phone-icon,
[data-bs-theme="dark"] .bb-app-download__name,
[data-bs-theme="dark"] .bb-app-download__store-btn {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .bb-app-download__mobil,
[data-bs-theme="dark"] .bb-app-download__store-sub {
    color: #94a3b8;
}

[data-bs-theme="dark"] .bb-app-download__store-btn:hover {
    background: #475569;
    border-color: #64748b;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .bb-app-download__qr-placeholder {
    background: #475569;
    color: #94a3b8;
}

/* ============================================================
   Footer (görsele uygun: açık gri zemin, logo üstte taşan, alt telif çubuğu)
   ============================================================ */
/* Footer metni: Türkçe ş, ğ vb. için Inter */
.bb-footer {
    background: #f4f6fb;
    overflow: visible;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-footer-topline {
    height: 1px;
    background: #d1d5de;
    border-radius: 0;
}

.bb-footer-main {
    min-height: 1px;
}

/* Menü ile iletişim kartı arasındaki boşluğu azalt */
.bb-footer-main-row {
    --bs-gutter-x: 1rem;
}

/* Türkçe ş, ğ vb. için Inter */
.bb-footer-col h5 {
    margin: 0 0 10px;
    color: #253a64;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bb-footer-col li {
    margin: 0 0 6px;
    padding-left: 0;
    position: relative;
}

/* Görseldeki gibi küçük gri nokta bullet */
.bb-footer-col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8a8f9c;
    margin-left: 0;
}

.bb-footer-col li a {
    padding-left: 12px;
}

.bb-footer-col a {
    text-decoration: none;
    color: #354661;
    font-size: 0.82rem;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-footer-col a:hover {
    color: #1a3a6b;
}

.bb-footer-col__subheading {
    padding-left: 0 !important;
    font-weight: 600;
    font-size: 0.8rem;
    color: #354661;
    margin-top: 12px;
    margin-bottom: 4px;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-footer-col__subheading:first-child {
    margin-top: 0;
}

.bb-footer-col__subheading::before {
    display: none;
}

/* Sık yerleşim: liste ve sütun boşluklarını azalt */
.bb-footer-main--tight .bb-footer-main-row {
    --bs-gutter-x: 0.75rem;
}

.bb-footer-main--tight .bb-footer-cols-row {
    --bs-gutter-x: 0.75rem;
    row-gap: 0.5rem;
}

.bb-footer-main--tight .bb-footer-col h5 {
    margin: 0 0 4px;
}

.bb-footer-main--tight .bb-footer-col li {
    margin: 0 0 2px;
}

.bb-footer-main--tight .bb-footer-col__subheading {
    margin-top: 8px;
    margin-bottom: 2px;
}

.bb-footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #dde2ec;
    color: #30415f;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 7px 12px;
    margin-top: 6px;
}

.bb-footer-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: relative;
    overflow: visible;
}

/* Logo + iletişim kartı: solda (menüye yakın), boşluk azalsın */
.bb-footer-side-inner {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-right: auto;
}

/* Logo: iletişim kartının tam ortasında, footer topline hizasında yarı yukarıda */
.bb-footer-logo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    /* Footer topline hizasında: pt-40 + yarı yükseklik = 95px yukarı */
    margin-top: -95px;
    margin-bottom: -24px;
    z-index: 2;
    flex-shrink: 0;
    border: none;
    box-shadow: none;
}

.bb-footer-logo-wrap img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.bb-footer-contact,
.bb-footer-links-box,
.bb-footer-socials-box {
    background: #fff;
    border: 1px solid #e2e6ee;
    border-radius: 14px;
    padding: 14px 16px;
    width: 100%;
}

.bb-footer-contact {
    margin-top: 0;
}

.bb-footer-links-box {
    margin-top: 10px;
}

.bb-footer-contact p {
    margin: 0 0 8px;
    color: #2f405f;
    font-size: 0.82rem;
}

.bb-footer-contact p:last-child {
    margin-bottom: 0;
}

.bb-footer-contact i {
    width: 18px;
    color: #1f3b75;
}

.bb-footer-links-box h6,
.bb-footer-socials-box h6 {
    margin: 0 0 8px;
    color: #253a64;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bb-footer-socials-box {
    margin-top: 10px;
}

.bb-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bb-footer-socials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8ecf4;
    color: #1f3b75;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.bb-footer-socials__link:hover {
    background: #1f3b75;
    color: #fff;
    transform: translateY(-2px);
}

.bb-footer-socials__link i { font-size: 1rem; }
.bb-footer-socials__link .bb-icon-x { width: 1rem; height: 1rem; display: block; }

/* Alt telif çubuğu – tam genişlik, koyu gri */
.bb-footer-copyright {
    background: #d6dae5;
    padding: 12px 0;
}

.bb-footer-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.bb-footer-copyright-text,
.bb-footer-credit {
    font-size: 0.8rem;
    color: #4a5166;
}

/* Dark mode */
[data-bs-theme="dark"] .bb-footer {
    background: #171d2b;
}

[data-bs-theme="dark"] .bb-footer-topline {
    background: #2a3345;
}

[data-bs-theme="dark"] .bb-footer-col li::before {
    background: #8b95a8;
}

[data-bs-theme="dark"] .bb-footer-col h5,
[data-bs-theme="dark"] .bb-footer-col a {
    color: #dce6fb;
}

[data-bs-theme="dark"] .bb-footer-pill {
    background: #263148;
    color: #dce6fb;
}

[data-bs-theme="dark"] .bb-footer-contact,
[data-bs-theme="dark"] .bb-footer-links-box,
[data-bs-theme="dark"] .bb-footer-socials-box {
    background: #202a3d;
    border-color: #2c3954;
}

[data-bs-theme="dark"] .bb-footer-contact p,
[data-bs-theme="dark"] .bb-footer-links-box h6,
[data-bs-theme="dark"] .bb-footer-socials-box h6 {
    color: #dce6fb;
}

[data-bs-theme="dark"] .bb-footer-socials__link {
    background: #2c3954;
    color: #8ba3d4;
}

[data-bs-theme="dark"] .bb-footer-socials__link:hover {
    background: #3b82f6;
    color: #fff;
}

[data-bs-theme="dark"] .bb-footer-copyright {
    background: #1a2233;
}

[data-bs-theme="dark"] .bb-footer-copyright-text,
[data-bs-theme="dark"] .bb-footer-credit {
    color: #9ca8c4;
}

/* Footer – mobil: logo taşmasız, iletişim kartının üstünde ortalanmış */
@media (max-width: 767.98px) {
    .bb-footer-main-row {
        flex-direction: column;
    }

    .bb-footer-main .col-lg-3 {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .bb-footer-side-inner {
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobilde logo: taşma yok, iletişim kartının hemen üstünde, ortada */
    .bb-footer-logo-wrap {
        width: 88px;
        height: 88px;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        border: none;
        /* İletişim kartına hafif bindirme (görseldeki gibi) */
        margin-bottom: -20px;
    }

    .bb-footer-logo-wrap img {
        width: 56px;
        height: 56px;
    }

    .bb-footer-contact {
        /* Logo ile kart arasında boşluk için padding (logo -20px ile bindiriyor) */
        padding-top: 28px;
    }
}

/* ============================================================
   Hero overlay – metin, arama, hızlı linkler, keşfet
   ============================================================ */

/* Hero bölgesini konumlama kapsayıcısı */
.hero-wrapper-5 {
    position: relative;
}

/* Hero arka plan videosu (slideshow yerine) */
.bb-hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.bb-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bb-hero-video-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

/* Hero ilk açılışta tam ekran (viewport yüksekliği) */
.section-hero.hero-5,
.section-hero.hero-5 .hero-wrapper-5 {
    min-height: 100vh;
    min-height: 100dvh; /* Mobil: adres çubuğu dahil gerçek görünür alan */
}

/* ----- Overlay içeriği: flex ile yazı ve arama alanı çözünürlük değişiminde üst üste gelmez ----- */
.hero-5-overlay-inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: clamp(180px, 28vh, 280px) 16px clamp(80px, 18vh, 220px);
    gap: clamp(12px, 3vh, 32px);
    pointer-events: none;
}

.hero-5-overlay-inner > * {
    pointer-events: auto;
}

.hero-5-overlay-inner .hero-5-top-text {
    pointer-events: none;
}

.hero-5-overlay-inner .hero-5-bottom-area,
.hero-5-overlay-inner .hero-5-bottom-area .hero-5-search,
.hero-5-overlay-inner .hero-5-bottom-area .hero-5-quick-links {
    pointer-events: auto;
}

/* ----- Üst metin bloğu: kicker + başlık ----- */
.hero-5-top-text {
    flex-shrink: 0;
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* ----- Alt alan: arama + hızlı linkler ----- */
.hero-5-bottom-area {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 600px;
}

.hero-5-bottom-area .hero-5-search,
.hero-5-bottom-area .hero-5-quick-links {
    pointer-events: auto;
}

/* ----- Kicker metni ----- */
.hero-5-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ----- Büyük kırmızı başlık (altta) ----- */
.hero-5-title-box {
    display: block;
    background: none;
    color: #e8231a;
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0;
    margin: 0;
    line-height: 1.05;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.85),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.3),
        0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ----- El yazısı başlık (üstte) ----- */
.hero-5-script {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    font-style: normal;
    color: #fff;
    margin: 0 0 0.25em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    font-family: 'Dancing Script', cursive;
    line-height: 1.1;
}

/* ----- Arama kutusu ----- */
.hero-5-search {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: 18px;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-5-search input {
    flex: 1 1 0;
    padding: 15px 22px;
    border: none;
    font-size: 0.95rem;
    min-width: 0;
    color: #fff;
    background: transparent;
    outline: none;
}

.hero-5-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-5-search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    margin: 5px;
    border-radius: 999px;
    background: #c0392b;
    color: #fff;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.hero-5-search-btn:hover {
    background: #a93226;
    color: #fff;
}

.hero-5-search:focus-within {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
}

/* ----- Hızlı linkler ----- */
.hero-5-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 0;
}

.hero-5-quick-links a {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background .2s, color .2s;
}

.hero-5-quick-links a:hover {
    background: #fff;
    color: #c0392b;
}

/* ----- KEŞFET – sabit altta, overlay'den bağımsız ----- */
.hero-5-keşfet {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    white-space: nowrap;
}

.hero-5-keşfet:hover {
    color: #fff;
    opacity: 0.85;
}

.hero-5-keşfet-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    animation: hero-float 2.4s ease-in-out infinite;
}

@keyframes hero-float {
    0%,  100% { transform: translateY(0); }
    50%        { transform: translateY(-8px); }
}

/* ----- Mobil: tam ekran hero, yazı küçült, arama konumu ----- */
@media (max-width: 767.98px) {
    .section-hero.hero-5,
    .section-hero.hero-5 .hero-wrapper-5,
    .section-hero.hero-5 .hero-5-slider-wrapper {
        min-height: 100vh;
        min-height: 100dvh; /* Gerçek mobil viewport (adres çubuğu dahil) */
    }

    .section-hero.hero-5 .hero-5-slide {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-5-overlay-inner {
        padding: clamp(80px, 18vh, 120px) 12px clamp(50px, 10vh, 100px);
        padding-bottom: calc(clamp(50px, 10vh, 100px) + env(safe-area-inset-bottom, 0px));
        gap: clamp(8px, 2vh, 20px);
    }

    .hero-5-top-text {
        padding: 0;
    }

    .hero-5-kicker {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        margin-bottom: 10px;
    }

    .hero-5-title-box {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 8px;
    }

    .hero-5-script {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-5-bottom-area {
        padding: 0;
    }

    .hero-5-search {
        flex-direction: row;
        max-width: 100%;
        margin-top: 12px;
        margin-bottom: 0;
        border-radius: 12px;
    }

    .hero-5-search input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .hero-5-search-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin: 4px;
    }

    .hero-5-quick-links {
        display: none !important;
    }

    .hero-5-keşfet {
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        font-size: 0.65rem;
    }

    .hero-5-keşfet-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .bb-news-list {
        height: auto;
        min-height: 0;
    }

    .bb-news-item {
        flex: 0 0 auto;
        min-height: 72px;
    }

    .bb-news-item img {
        width: 72px;
        height: 56px;
        min-width: 72px;
    }
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .hero-5-overlay-content {
        padding: 0 12px 70px;
    }

    .hero-5-search {
        flex-direction: row;
        border-radius: 12px;
        margin-top: 12px;
        margin-bottom: 0;
    }

    .hero-5-search-btn {
        border-radius: 8px;
        margin: 4px;
        padding: 10px 16px;
    }

    .hero-5-quick-links {
        display: none !important;
    }

    .hero-5-quick-links a {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .hero-5-keşfet {
        bottom: 18px;
    }

    .bb-news-panel__head {
        flex-direction: column;
    }

    .bb-news-list {
        height: auto;
        min-height: 0;
    }

    .bb-news-item {
        flex: 0 0 auto;
        min-height: 72px;
    }

    .bb-news-item img {
        width: 72px;
        height: 56px;
        min-width: 72px;
    }

    .bb-news-preview {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }

    .bb-mayor-actions {
        grid-template-columns: 1fr;
    }

    .bb-mayor-card__image {
        min-height: 340px;
    }

    .bb-mayor-card__image::before {
        left: 10px;
        right: 10px;
        bottom: 14px;
    }

    .bb-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bb-services-youtube {
        flex-direction: column;
        align-items: flex-start;
    }

    .bb-events-toolbar {
        flex-wrap: wrap;
    }

    .bb-events-dates {
        order: 2;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 6px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
    }

    .bb-events-dates::-webkit-scrollbar {
        height: 6px;
    }

    .bb-events-dates::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 6px;
    }

    .bb-events-dates::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.28);
        border-radius: 6px;
    }

    .bb-events-dates::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.45);
    }

    .bb-events-dates a {
        flex: 0 0 auto;
        min-width: 64px;
    }

    .bb-events-nav {
        order: 1;
        margin-left: auto;
    }

    .bb-events-calendar-btn {
        order: 3;
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 420px) {
    .bb-services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Arama sayfası ===== */
.bb-search-page {
    padding-top: var(--bb-header-stack-offset);
    padding-bottom: 4.5rem;
}
@media (max-width: 991.98px) {
    .bb-search-page { padding-top: 7rem !important; }
}
.bb-search-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}
.bb-search-hero__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #173f77;
    margin: 0 0 1.5rem;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-search-form__wrap {
    display: flex;
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(6, 24, 54, 0.12);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
.bb-search-form__icon {
    padding: 0 1rem 0 1.25rem;
    color: #9ca3af;
    font-size: 1.1rem;
}
.bb-search-form__input {
    flex: 1;
    border: 0;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    background: transparent;
}
.bb-search-form__input::placeholder { color: #9ca3af; }
.bb-search-form__input:focus { outline: 0; }
.bb-search-form__btn {
    padding: 0.85rem 1.5rem;
    background: #c0392b;
    color: #fff;
    border: 0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .2s;
}
.bb-search-form__btn:hover { background: #a93226; }
.bb-search-form__hint {
    margin: 0.5rem 0 0;
    color: #e74c3c;
    font-size: 0.9rem;
}
.bb-search-summary {
    margin: 0 0 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
}
.bb-search-summary strong { color: #334155; }
.bb-search-results { display: flex; flex-direction: column; gap: 2rem; }
.bb-search-group__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #173f77;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bb-search-item { margin: 0 0 0.75rem; }
.bb-search-item:last-child { margin-bottom: 0; }
.bb-search-item__link {
    display: block;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, border-color .2s;
}
.bb-search-item__link:hover {
    box-shadow: 0 4px 12px rgba(6, 24, 54, 0.08);
    border-color: #cbd5e1;
}
.bb-search-item__badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    margin-bottom: 0.4rem;
}
.bb-search-item__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #173f77;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}
.bb-search-item__link:hover .bb-search-item__title { color: #c0392b; }
.bb-search-item__excerpt {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.35rem;
    line-height: 1.5;
}
.bb-search-item__date {
    font-size: 0.8rem;
    color: #94a3b8;
}
.bb-search-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #e2e8f0;
    color: #64748b;
}
.bb-search-empty p { margin: 0; }
.bb-search-empty__tip {
    margin-top: 0.75rem !important;
    font-size: 0.9rem;
}
.bb-search-empty--initial { margin-top: 2rem; }
[data-bs-theme="dark"] .bb-search-hero__title { color: #93c5fd; }
[data-bs-theme="dark"] .bb-search-form__wrap { background: #1a2333; border-color: #2f3d59; }
[data-bs-theme="dark"] .bb-search-form__icon { color: #64748b; }
[data-bs-theme="dark"] .bb-search-form__input { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-search-form__input::placeholder { color: #64748b; }
[data-bs-theme="dark"] .bb-search-group__title { color: #93c5fd; border-color: #2f3d59; }
[data-bs-theme="dark"] .bb-search-item__link { background: #1a2333; border-color: #2f3d59; }
[data-bs-theme="dark"] .bb-search-item__link:hover { border-color: #475569; }
[data-bs-theme="dark"] .bb-search-item__badge { background: #334155; color: #94a3b8; }
[data-bs-theme="dark"] .bb-search-item__title { color: #e2e8f0; }
[data-bs-theme="dark"] .bb-search-item__link:hover .bb-search-item__title { color: #f87171; }
[data-bs-theme="dark"] .bb-search-empty { background: #151d2b; border-color: #2f3d59; color: #94a3b8; }

/* ===== Haberler listesi: sol menü + ikili kartlar ===== */
.bb-news-listing-page {
    padding-top: var(--bb-header-stack-offset);
    padding-bottom: 4.5rem;
}

@media (max-width: 991.98px) {
    .bb-news-listing-page {
        padding-top: 7rem !important;
    }

    .bb-news-listing-page .bb-news-sidebar,
    .bb-announcements-listing-page .bb-news-sidebar,
    .bb-yonetim-semasi-page .bb-news-sidebar,
    .bb-council-commissions-page .bb-news-sidebar,
    .bb-muhtarlik-page .bb-news-sidebar {
        display: none;
    }
}

.bb-news-sidebar {
    background: #fff;
    border-radius: 22px;
    padding: 0;
    border: 1px solid #eceff4;
    box-shadow: 0 8px 24px rgba(6, 24, 54, 0.08);
    position: sticky;
    top: var(--bb-header-stack-offset);
    overflow: hidden;
}

/* Türkçe karakter (ş, ğ vb.) desteği için Inter */
.bb-news-sidebar__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #173f77;
    margin: 0;
    padding: 1.25rem 1.35rem 1rem;
    letter-spacing: 0.01em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-news-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bb-news-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-height: 74px;
    padding: 0.9rem 1.35rem;
    color: #2f3f5d;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    border-top: 1px solid #eceff4;
    transition: background .18s ease, color .18s ease;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-news-sidebar__link:hover {
    background: #f4f7fc;
    color: #173f77;
}

.bb-news-sidebar__link--active {
    background: #f3f7ff;
    color: #173f77;
    box-shadow: inset 3px 0 0 #173f77;
}

.bb-news-sidebar__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    color: #9a1b2d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.22rem;
}

.bb-news-sidebar__icon i {
    font-size: 1.6rem;
    line-height: 1;
}

.bb-news-sidebar__icon img {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: none;
}

.bb-news-sidebar__link--active .bb-news-sidebar__icon {
    color: #9a1b2d;
}

/* Sol menü: ait olduğu tüm menü (kök + çocuklar); açık grup alt öğeleri */
.bb-news-sidebar__group {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bb-news-sidebar__group-children {
    display: flex;
    flex-direction: column;
    padding-left: 0.5rem;
    margin-left: 0.75rem;
    border-left: 2px solid rgba(26, 27, 45, 0.08);
}
.bb-news-sidebar__link--child {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
.bb-news-sidebar__link--parent {
    font-weight: 700;
}

.bb-news-listing__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 900;
    color: #173f77;
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-news-listing__empty {
    color: #5e6d88;
    margin: 0;
}

.bb-news-cards {
    margin-top: 0;
}

.bb-news-card {
    height: 100%;
}

.bb-news-card__link {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(6, 24, 54, 0.1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.bb-news-card__link:hover {
    box-shadow: 0 14px 32px rgba(6, 24, 54, 0.14);
    transform: translateY(-2px);
}

.bb-news-card__link:hover .bb-news-card__title {
    color: #173f77;
}

.bb-news-card__img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f6fc;
}

.bb-news-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    background: rgba(192, 57, 43, 0.95);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 14px rgba(6, 24, 54, 0.2);
}

.bb-news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bb-news-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 2.5rem;
}

.bb-news-card__body {
    padding: 1.25rem;
}

.bb-news-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #5e6d88;
    margin-bottom: 0.5rem;
}

.bb-news-card__date i {
    opacity: 0.85;
}

.bb-news-card__title {
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #10284b;
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s;
}

/* Duyurular liste kartları: küçük foto yanında başlık + ok, satırda 4 */
.bb-announcements-listing-page .bb-news-listing__heading {
    margin-bottom: 0;
}

.bb-announcement-cards {
    margin-top: 0;
}

.bb-announcement-card {
    height: 100%;
}

.bb-announcement-card__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    min-height: 90px;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(6, 24, 54, 0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.bb-announcement-card__link:hover {
    box-shadow: 0 12px 28px rgba(6, 24, 54, 0.12);
    transform: translateY(-2px);
}

.bb-announcement-card__link:hover .bb-announcement-card__title {
    color: #173f77;
}

.bb-announcement-card__link:hover .bb-announcement-card__arrow {
    color: #173f77;
    transform: translateX(4px);
}

.bb-announcement-card__img-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f6fc;
}

.bb-announcement-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meclis kararları: varsayılan görsel tam görünsün (kesilmesin) */
.bb-council-decisions-listing-page .bb-announcement-card__img {
    object-fit: contain;
}

.bb-announcement-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.75rem;
}

.bb-announcement-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bb-announcement-card__meta {
    flex: 1;
    min-width: 0;
}

.bb-announcement-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.bb-announcement-card__title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: #10284b;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.bb-announcement-card__arrow {
    flex-shrink: 0;
    color: #5e6d88;
    font-size: 0.75rem;
    transition: color 0.2s, transform 0.2s;
}

/* Meclis Üyeleri sayfası: collapse + 3’lü kartlar */
.bb-council-members-page .bb-news-listing__heading {
    margin-bottom: 1.25rem;
}

.bb-council-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.bb-council-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.bb-council-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    background: #f3f4f6;
    padding: 1rem 1.25rem;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.bb-council-accordion .accordion-button:hover {
    background: #e5e7eb;
}

.bb-council-accordion .accordion-button:not(.collapsed) {
    background: #e5e7eb;
    color: #111827;
}

.bb-council-accordion .accordion-button::after {
    flex-shrink: 0;
    margin-left: 0.75rem;
    opacity: 0.7;
}

.bb-council-accordion .accordion-body {
    padding: 1.25rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.bb-council-member-cards {
    margin-top: 0;
}

.bb-council-member-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 90px;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(6, 24, 54, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}

.bb-council-member-card:hover {
    box-shadow: 0 12px 28px rgba(6, 24, 54, 0.12);
    transform: translateY(-2px);
}

.bb-council-member-card__img-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f6fc;
}

.bb-council-member-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bb-council-member-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.75rem;
}

.bb-council-member-card__body {
    flex: 1;
    min-width: 0;
}

.bb-council-member-card__name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #10284b;
    line-height: 1.35;
}

/* Frontend haberler sayfası pagination */
.bb-news-section .bb-pagination {
    justify-content: center;
}

.bb-news-section .bb-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bb-news-section .bb-pagination__item {
    display: inline-flex;
}

.bb-news-section .bb-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #173f77;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bb-news-section .bb-pagination__link:hover:not(.bb-pagination__link--disabled) {
    background: #f0f4fc;
    border-color: #173f77;
}

.bb-news-section .bb-pagination__link--active {
    background: #173f77;
    border-color: #173f77;
    color: #fff;
}

.bb-news-section .bb-pagination__link--disabled,
.bb-news-section .bb-pagination__link--dots {
    cursor: default;
    color: #94a3b8;
    background: #f8fafc;
}

/* Haber detay sayfası */
.bb-news-detail-page {
    padding-top: var(--bb-header-stack-offset);
    padding-bottom: 4.5rem;
}

@media (max-width: 991.98px) {
    .bb-news-detail-page {
        padding-top: 7rem !important;
    }

    .bb-news-detail-page .bb-breadcrumb-card {
        margin-top: 0.75rem !important;
    }

    .bb-news-detail-page .bb-news-sidebar {
        display: none;
    }
}

.bb-news-detail-page .bb-news-detail-row {
    --bs-gutter-x: 0.5rem;
}

/* Kurumsal kimlik sayfasi */
.bb-kurumsal-kimlik {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.4rem 1.2rem 1.35rem;
}
.bb-kurumsal-kimlik__hero {
    text-align: center;
    border-top: 4px solid #E30613;
    border-bottom: 4px solid #E30613;
    padding: 1.15rem 0 1.05rem;
    margin-bottom: 1.35rem;
}
.bb-kurumsal-kimlik__hero h1 {
    margin: 0;
    color: #0054A6;
    font-size: clamp(1.9rem, 2.9vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-kurumsal-kimlik__hero p {
    margin: 0.5rem auto 0;
    max-width: 760px;
    color: #475569;
    font-size: 1.01rem;
}
.bb-kurumsal-kimlik__section { margin-bottom: 1.35rem; }
.bb-kurumsal-kimlik__section:last-child { margin-bottom: 0; }
.bb-kurumsal-kimlik__section-title {
    margin: 0 0 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0054A6;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-kurumsal-kimlik__section-title i {
    color: #0054A6;
    font-size: 1.1rem;
}
.bb-kurumsal-kimlik__logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.bb-kurumsal-kimlik__logo-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.bb-kurumsal-kimlik__logo-media {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 1rem;
}
.bb-kurumsal-kimlik__logo-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.bb-kurumsal-kimlik__logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.bb-kurumsal-kimlik__logo-body { padding: 1rem 1rem 1.05rem; }
.bb-kurumsal-kimlik__logo-body h3 {
    margin: 0;
    color: #0054A6;
    font-size: clamp(1.35rem, 1.9vw, 1.85rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-kurumsal-kimlik__logo-body p {
    margin: 0.45rem 0 0.9rem;
    color: #334155;
    line-height: 1.6;
    font-size: 0.98rem;
}
.bb-kurumsal-kimlik__download {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    background: #E30613;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.bb-kurumsal-kimlik__download:hover {
    color: #fff;
    background: #c80511;
}
.bb-kurumsal-kimlik__color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.bb-kurumsal-kimlik__color-card {
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    color: #fff;
}
.bb-kurumsal-kimlik__color-card.is-red { background: #E30613; }
.bb-kurumsal-kimlik__color-card.is-blue { background: #0054A6; }
.bb-kurumsal-kimlik__color-card h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
}
.bb-kurumsal-kimlik__color-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.bb-kurumsal-kimlik__color-card li {
    font-size: 0.95rem;
    opacity: 0.98;
}
.bb-kurumsal-kimlik__color-card strong {
    color: rgba(255, 255, 255, 0.95);
}
@media (max-width: 991.98px) {
    .bb-kurumsal-kimlik__logo-grid,
    .bb-kurumsal-kimlik__color-grid {
        grid-template-columns: 1fr;
    }
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik {
    background: #1a2333;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__hero {
    border-top-color: #E30613;
    border-bottom-color: #E30613;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__hero h1 {
    color: #60a5fa;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__hero p {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__section-title {
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__section-title i {
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__logo-card {
    background: #111827;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__logo-media {
    background: #0f172a;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__logo-placeholder {
    border-color: #334155;
    color: #64748b;
    background: #0b1220;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__logo-body h3 {
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-kurumsal-kimlik__logo-body p {
    color: #cbd5e1;
}

/* Stratejik planlar sayfasi — ana menü ile aynı font (Inter, Türkçe ş, ğ vb.) */
.bb-stratejik-plan {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.35rem 1.2rem;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-stratejik-plan__page-title {
    margin: 0 0 1rem;
    color: #1f2937;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-stratejik-plan__hero {
    border-radius: 16px;
    background: #1f3b8a;
    color: #fff;
    padding: 1.35rem 1rem;
    text-align: center;
    margin-bottom: 1.1rem;
}
.bb-stratejik-plan__hero h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 900;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
}
.bb-stratejik-plan__hero p {
    margin: 0.35rem 0 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
}
.bb-stratejik-plan__card {
    border: 1px solid #e5e7eb;
    border-left: 5px solid #E30613;
    border-radius: 14px;
    padding: 1rem 1rem 1.1rem;
    margin-bottom: 1rem;
    background: #fff;
}
.bb-stratejik-plan__card:last-child { margin-bottom: 0; }
.bb-stratejik-plan__head h3 {
    margin: 0;
    color: #1f3b8a;
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-stratejik-plan__head p {
    margin: 0.45rem 0 0.7rem;
    color: #475569;
    line-height: 1.6;
}
.bb-stratejik-plan__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}
.bb-stratejik-plan__btn {
    min-height: 42px;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
}
.bb-stratejik-plan__btn--primary {
    background: #E30613;
    color: #fff;
}
.bb-stratejik-plan__btn--primary:hover {
    color: #fff;
    background: #c80511;
}
.bb-stratejik-plan__btn--ghost {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.bb-stratejik-plan__btn--ghost:hover {
    color: #1f2937;
    background: #eef2f7;
}
.bb-stratejik-plan__vision-mission {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}
.bb-stratejik-plan__vm-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.95rem 0.9rem;
    background: #fff;
}
.bb-stratejik-plan__vm-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #1f3b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.45rem;
}
.bb-stratejik-plan__vm-card h4 {
    margin: 0 0 0.35rem;
    color: #E30613;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-stratejik-plan__vm-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}
.bb-stratejik-plan__empty p {
    margin: 0;
    color: #64748b;
}
@media (max-width: 991.98px) {
    .bb-stratejik-plan__vision-mission {
        grid-template-columns: 1fr;
    }
}
[data-bs-theme="dark"] .bb-stratejik-plan {
    background: #1a2333;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-stratejik-plan__page-title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-stratejik-plan__hero {
    background: #1e3a8a;
}
[data-bs-theme="dark"] .bb-stratejik-plan__card {
    background: #111827;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-stratejik-plan__head h3 {
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-stratejik-plan__head p,
[data-bs-theme="dark"] .bb-stratejik-plan__vm-card p {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-stratejik-plan__btn--ghost {
    background: #1f2937;
    border-color: #374151;
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-stratejik-plan__btn--ghost:hover {
    background: #273244;
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-stratejik-plan__vm-card {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-stratejik-plan__vm-icon {
    background: #1f2937;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-stratejik-plan__vm-card h4 {
    color: #f87171;
}

/* Faaliyet raporlari sayfasi */
.bb-activity-report {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.35rem 1.2rem 1.6rem;
}
.bb-activity-report__page-title {
    margin: 0 0 1rem;
    color: #1f2937;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-activity-report__hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    position: relative;
    padding: 1.3rem 1.4rem;
    margin-bottom: 1.4rem;
}
.bb-activity-report__hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #E30613;
    border-radius: 16px 0 0 16px;
}
.bb-activity-report__hero-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #1f3b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.bb-activity-report__hero-text h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 900;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
}
.bb-activity-report__hero-text p {
    margin: 0.35rem 0 0;
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.6;
}
.bb-activity-report__archive {
    margin-top: 1.4rem;
}
.bb-activity-report__archive-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-activity-report__archive-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #f97373;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.bb-activity-report__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.75rem;
}
.bb-activity-report__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 0.8rem 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.bb-activity-report__item:hover {
    border-color: #E30613;
    box-shadow: 0 10px 24px rgba(148, 27, 35, 0.18);
    transform: translateY(-1px);
}
.bb-activity-report__item-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.bb-activity-report__pdf-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #fff1f2;
    color: #E30613;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.bb-activity-report__item-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}
.bb-activity-report__item-text p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}
.bb-activity-report__item-right {
    flex-shrink: 0;
}
.bb-activity-report__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 104px;
    min-height: 38px;
    border-radius: 999px;
    background: #E30613;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.4rem 1.1rem;
}
.bb-activity-report__btn:hover {
    color: #fff;
    background: #c80511;
}
.bb-activity-report__empty p {
    margin: 0.5rem 0 0;
    color: #6b7280;
}

@media (max-width: 991.98px) {
    .bb-activity-report__hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .bb-activity-report__list {
        grid-template-columns: 1fr;
    }
}

[data-bs-theme="dark"] .bb-activity-report {
    background: #1a2333;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-activity-report__page-title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-activity-report__hero {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-activity-report__hero-icon {
    background: #1f2937;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-activity-report__hero-text h2 {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-activity-report__hero-text p {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-activity-report__archive-title {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-activity-report__archive-icon {
    background: #b91c1c;
}
[data-bs-theme="dark"] .bb-activity-report__item {
    background: #020617;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-activity-report__item:hover {
    border-color: #E30613;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.55);
}
[data-bs-theme="dark"] .bb-activity-report__pdf-icon {
    background: #1f2937;
    color: #fb7185;
}
[data-bs-theme="dark"] .bb-activity-report__item-text h3 {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-activity-report__item-text p {
    color: #9ca3af;
}
[data-bs-theme="dark"] .bb-activity-report__btn {
    background: #E30613;
}
[data-bs-theme="dark"] .bb-activity-report__btn:hover {
    background: #c80511;
}
[data-bs-theme="dark"] .bb-activity-report__empty p {
    color: #9ca3af;
}

/* Performans programi sayfasi */
.bb-performance-program {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.35rem 1.2rem 1.6rem;
}
.bb-performance-program__page-title {
    margin: 0 0 0.5rem;
    color: #1f2937;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-performance-program__page-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: #E30613;
    margin-top: 0.5rem;
    border-radius: 2px;
}
.bb-performance-program__hero {
    border-radius: 16px;
    background: #1f3b8a;
    color: #fff;
    padding: 2rem 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.bb-performance-program__hero h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    color: #fff;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.bb-performance-program__hero p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: #fff;
    opacity: 0.95;
    line-height: 1.5;
}
.bb-performance-program__card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #E30613;
    border-radius: 14px;
    background: #fff;
    padding: 1.5rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.bb-performance-program__card:last-of-type { margin-bottom: 0; }
.bb-performance-program__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff1f2;
    color: #E30613;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.bb-performance-program__card-body {
    flex: 1;
    min-width: 0;
}
.bb-performance-program__card-body h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}
.bb-performance-program__card-body p {
    margin: 0.6rem 0 1rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}
.bb-performance-program__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.bb-performance-program__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.bb-performance-program__btn--primary {
    background: #E30613;
    color: #fff;
}
.bb-performance-program__btn--primary:hover {
    color: #fff;
    background: #c80511;
}
.bb-performance-program__btn--ghost {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}
.bb-performance-program__btn--ghost:hover {
    color: #1f2937;
    background: #eef2f7;
}
.bb-performance-program__empty {
    padding: 1.5rem 0;
}
.bb-performance-program__empty p {
    margin: 0;
    color: #64748b;
}
.bb-performance-program__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.bb-performance-program__feature {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
    text-align: center;
}
.bb-performance-program__feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #1f3b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.bb-performance-program__feature h4 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.bb-performance-program__feature p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}
@media (max-width: 991.98px) {
    .bb-performance-program__features {
        grid-template-columns: 1fr;
    }
}

[data-bs-theme="dark"] .bb-performance-program {
    background: #1a2333;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-performance-program__page-title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-performance-program__hero {
    background: #1e3a8a;
}
[data-bs-theme="dark"] .bb-performance-program__card {
    background: #111827;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-performance-program__card-body h3 {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-performance-program__card-body p {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-performance-program__btn--ghost {
    background: #1f2937;
    border-color: #374151;
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-performance-program__btn--ghost:hover {
    background: #273244;
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-performance-program__feature {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-performance-program__feature-icon {
    background: #1f2937;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-performance-program__feature h4 {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-performance-program__feature p {
    color: #94a3b8;
}

/* Etik Komisyonu sayfası */
.bb-ethics-commission {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.35rem 1.2rem 1.6rem;
}
.bb-ethics-commission__page-title {
    margin: 0 0 0.5rem;
    color: #1f2937;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-ethics-commission__page-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: #E30613;
    margin-top: 0.5rem;
    border-radius: 2px;
}
.bb-ethics-commission__hero {
    border-radius: 16px;
    background: #1f3b8a;
    color: #fff;
    padding: 2rem 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.bb-ethics-commission__hero h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}
.bb-ethics-commission__hero p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: #fff;
    opacity: 0.95;
    line-height: 1.5;
}
.bb-ethics-commission__intro {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #64748b;
    border-radius: 0 12px 12px 0;
}
.bb-ethics-commission__intro p {
    margin: 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}
.bb-ethics-commission__section {
    margin-bottom: 1.75rem;
}
.bb-ethics-commission__section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bb-ethics-commission__section-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1f3b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.bb-ethics-commission__section-icon i {
    font-size: 1.1em;
}
.bb-ethics-commission__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}
.bb-ethics-commission__section--half {
    margin-bottom: 0;
    padding: 1.25rem 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
@media (max-width: 991.98px) {
    .bb-ethics-commission__two-col {
        grid-template-columns: 1fr;
    }
}
.bb-ethics-commission__members-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bb-ethics-commission__members-wrap .bb-ethics-commission__section-title {
    justify-content: center;
}
.bb-ethics-commission__table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    max-width: 580px;
    width: 100%;
}
.bb-kardes-sehirler__table-wrap {
    max-width: 100%;
}
.bb-ethics-commission__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.bb-ethics-commission__table thead tr {
    background: #E30613;
    border-bottom: none;
}
.bb-ethics-commission__table thead th {
    color: #fff;
}
.bb-ethics-commission__table th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-weight: 700;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.bb-ethics-commission__table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
}
.bb-ethics-commission__table tbody tr:nth-child(even) {
    background: #f8fafc;
}
.bb-ethics-commission__table tbody tr:last-child td {
    border-bottom: none;
}
.bb-ethics-commission__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bb-ethics-commission__list li {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    line-height: 1.5;
}
.bb-ethics-commission__list li:last-child {
    border-bottom: none;
}
.bb-ethics-commission__list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #6b7280;
    font-size: 0.6rem;
}
.bb-ethics-commission__list--check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.bb-ethics-commission__list--check li {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    color: #111827;
    line-height: 1.45;
}
.bb-ethics-commission__list--check li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #16a34a;
    font-size: 1rem;
    font-weight: 700;
}
.bb-ethics-commission__documents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.bb-ethics-commission__doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.bb-ethics-commission__doc-item:hover {
    border-color: #E30613;
    box-shadow: 0 10px 24px rgba(148, 27, 35, 0.18);
    transform: translateY(-1px);
}
@media (max-width: 767.98px) {
    .bb-ethics-commission__documents {
        grid-template-columns: 1fr;
    }
}
.bb-ethics-commission__doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f2;
    color: #E30613;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.bb-ethics-commission__doc-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.bb-ethics-commission__doc-title {
    font-weight: 700;
    color: #111827;
}
.bb-ethics-commission__doc-label {
    font-size: 0.85rem;
    color: #64748b;
}
.bb-ethics-commission__doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #E30613;
    color: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.bb-ethics-commission__doc-btn:hover {
    background: #c80511;
    color: #fff;
}

[data-bs-theme="dark"] .bb-ethics-commission {
    background: #1a2333;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-ethics-commission__page-title {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .bb-ethics-commission__hero {
    background: #1e3a8a;
}
[data-bs-theme="dark"] .bb-ethics-commission__intro {
    background: #1e293b;
    border-color: #334155;
    border-left-color: #64748b;
}
[data-bs-theme="dark"] .bb-ethics-commission__intro p {
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-ethics-commission__section-icon {
    background: #1f2937;
    color: #93c5fd;
}
[data-bs-theme="dark"] .bb-ethics-commission__table thead tr {
    background: #b91c1c;
}
[data-bs-theme="dark"] .bb-ethics-commission__section-title {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-ethics-commission__table-wrap {
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-ethics-commission__table thead tr {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-ethics-commission__table th {
    color: #94a3b8;
}
[data-bs-theme="dark"] .bb-ethics-commission__table td {
    border-color: #334155;
    color: #cbd5e1;
}
[data-bs-theme="dark"] .bb-ethics-commission__table tbody tr:nth-child(even) {
    background: #1e293b;
}
[data-bs-theme="dark"] .bb-ethics-commission__list li {
    color: #e5e7eb;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-ethics-commission__section--half {
    background: #1e293b;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-ethics-commission__list--check li {
    background: #0f172a;
    border-color: #334155;
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-ethics-commission__doc-item {
    background: #111827;
    border-color: #334155;
}
[data-bs-theme="dark"] .bb-ethics-commission__doc-item:hover {
    border-color: #E30613;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.55);
}
[data-bs-theme="dark"] .bb-ethics-commission__doc-title {
    color: #e5e7eb;
}
[data-bs-theme="dark"] .bb-ethics-commission__doc-label {
    color: #94a3b8;
}

.bb-news-detail-page .bb-news-detail-row > [class*="col-"] {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    min-width: 0; /* içerik taşması yatay scroll üretmesin */
}

.bb-news-detail {
    max-width: 840px;
    margin: 0 auto;
    min-width: 0;
    overflow-x: hidden; /* içerik alanı sayfayı yatay kaydırmaya itmesin */
}

.bb-news-detail-page .bb-news-detail {
    max-width: 840px;
    margin-left: 5rem;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    .bb-news-detail-page .bb-news-detail {
        margin-left: 0;
        max-width: 100%;
    }
}

.bb-news-detail__cover {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 26px rgba(6, 24, 54, 0.1);
}

.bb-news-detail__cover-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.bb-news-detail__category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(23, 63, 119, 0.92);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.bb-news-detail__category-badge:hover {
    background: #173f77;
    color: #fff;
    transform: translateY(-1px);
}

.bb-news-detail__date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #5e6d88;
    margin-bottom: 0.5rem;
}

.bb-news-detail__cover-wrap {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bb-news-detail__cover-wrap .bb-news-detail__cover {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.bb-news-detail__share-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding-left: 0.25rem;
}

.bb-news-detail__share-side .bb-news-detail__share-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5e6d88;
    margin-bottom: 0.25rem;
}

.bb-news-detail__share,
.bb-news-detail__share--inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.bb-news-detail__share--inline {
    margin-bottom: 0.5rem;
}

.bb-news-detail__share-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5e6d88;
}

.bb-news-detail__share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.bb-news-detail__share-side .bb-news-detail__share-btn {
    width: 44px;
    height: 44px;
}

.bb-news-detail__share .bb-news-detail__share-btn:nth-child(2),
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(2) { background: #1877f2; }
.bb-news-detail__share .bb-news-detail__share-btn:nth-child(3),
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(3) { background: #1da1f2; }
.bb-news-detail__share .bb-news-detail__share-btn:nth-child(4),
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(4) { background: #25d366; }
.bb-news-detail__share .bb-news-detail__share-btn:nth-child(5),
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(5) { background: #0a66c2; }

.bb-news-detail__share-btn:hover {
    transform: translateY(-2px);
}

.bb-news-detail__share .bb-news-detail__share-btn:nth-child(2):hover,
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(2):hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}
.bb-news-detail__share .bb-news-detail__share-btn:nth-child(3):hover,
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(3):hover {
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.5);
}
.bb-news-detail__share .bb-news-detail__share-btn:nth-child(4):hover,
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(4):hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.bb-news-detail__share .bb-news-detail__share-btn:nth-child(5):hover,
.bb-news-detail__share-side .bb-news-detail__share-btn:nth-child(5):hover {
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.5);
}

@media (max-width: 767.98px) {
    .bb-news-detail__cover-wrap {
        flex-direction: column;
    }
    .bb-news-detail__share-side {
        flex-direction: row;
        justify-content: flex-start;
        padding-left: 0;
        padding-top: 0.75rem;
        gap: 0.5rem;
    }
}

.bb-news-detail__category {
    font-size: 0.85rem;
    font-weight: 600;
    color: #173f77;
    margin: 0 0 0.5rem;
}

/* Türkçe ş, ğ vb. için Inter */
.bb-news-detail__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 900;
    color: #173f77;
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.25;
}

/* İçerik metni (CKEditor): Türkçe karakter tutarlılığı için Inter */
.bb-news-detail__content {
    font-size: 1rem;
    line-height: 1.7;
    color: #2f3f5d;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-news-detail__content p {
    margin-bottom: 1rem;
}

/* Meclis kararları, duyurular: içerikteki satır sonlarını koru (okunabilirlik) */
.bb-news-detail__content--preserve-breaks {
    white-space: pre-line;
}

.bb-news-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/*
 * İçerik (CKEditor) — tablo iki sütun, td arka plan, flex başlıklar vb. editördeki gibi görünsün
 * Temada genel table/td kuralları inline style'ı ezebiliyor; burada özellikle izin veriyoruz.
 */
/*
 * overflow-x: auto tüm blokta sürekli yatay scrollbar çıkarıyordu (belediye tarihi vb. sayfalar).
 * Taşmayı kesiyoruz; gerçekten geniş tablo yalnızca figure.table sarmalı içinde kaydırılır.
 */
.bb-news-detail__content.ck-content,
.bb-news-detail__content.bb-icerik-ck-content {
    overflow-x: hidden;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.bb-news-detail__content.ck-content pre,
.bb-news-detail__content.bb-icerik-ck-content pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.bb-news-detail__content.ck-content table,
.bb-news-detail__content.bb-icerik-ck-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* taşmayı azaltır; iki sütunlu gastronomi tabloları genelde sabit genişlikle de okunur */
    margin: 1rem 0;
}
/*
 * CKEditor tabloya .table ekleyebiliyor; Bootstrap inset box-shadow inline background'u örtüyor.
 * box-shadow'u kaldırınca td/th üzerindeki inline background-color tekrar görünür.
 */
.bb-news-detail__content.ck-content table.table > tbody > tr > td,
.bb-news-detail__content.ck-content table.table > tbody > tr > th,
.bb-news-detail__content.ck-content table.table > thead > tr > th,
.bb-news-detail__content.bb-icerik-ck-content table.table > tbody > tr > td,
.bb-news-detail__content.bb-icerik-ck-content table.table > tbody > tr > th,
.bb-news-detail__content.bb-icerik-ck-content table.table > thead > tr > th {
    box-shadow: none !important;
}
/* border-bottom Bootstrap'tan geliyorsa kaldır — düz iki sütun görünümü */
.bb-news-detail__content.ck-content table.table > :not(caption) > * > *,
.bb-news-detail__content.bb-icerik-ck-content table.table > :not(caption) > * > * {
    border-bottom-width: 0;
    border-bottom: none;
}
/* .table sınıfı yoksa da Bootstrap reboot bazen box-shadow kullanmıyor ama td padding ezilebilir */
.bb-news-detail__content.ck-content table:not(.table) td,
.bb-news-detail__content.ck-content table:not(.table) th,
.bb-news-detail__content.bb-icerik-ck-content table:not(.table) td,
.bb-news-detail__content.bb-icerik-ck-content table:not(.table) th {
    box-shadow: none;
}
/* Hücre: dikey hizalama + uzun metin taşmasını satır içinde kır */
.bb-news-detail__content.ck-content td,
.bb-news-detail__content.ck-content th,
.bb-news-detail__content.bb-icerik-ck-content td,
.bb-news-detail__content.bb-icerik-ck-content th {
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
}
/* CKEditor figure.table sarmalayıcı */
.bb-news-detail__content.ck-content figure.table,
.bb-news-detail__content.bb-icerik-ck-content figure.table {
    width: 100%;
    margin: 1rem 0;
    overflow-x: auto;
}
.bb-news-detail__content.ck-content figure.table table,
.bb-news-detail__content.bb-icerik-ck-content figure.table table {
    margin: 0;
}
.bb-news-detail__content.ck-content ul,
.bb-news-detail__content.ck-content ol,
.bb-news-detail__content.bb-icerik-ck-content ul,
.bb-news-detail__content.bb-icerik-ck-content ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}
.bb-news-detail__content.ck-content li,
.bb-news-detail__content.bb-icerik-ck-content li {
    margin-bottom: 0.25rem;
}

/* Haber detay galeri slider */
.bb-news-detail-gallery {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8eef8;
}

.bb-news-detail-gallery__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bb-news-detail-gallery__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #173f77;
    margin: 0;
    letter-spacing: 0.02em;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bb-news-detail-gallery__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bb-news-detail-gallery__btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #e8eef8;
    color: #173f77;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.bb-news-detail-gallery__btn:hover {
    background: #173f77;
    color: #fff;
}

.bb-news-detail-gallery__slider {
    overflow: hidden;
}

.bb-news-detail-gallery__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.bb-news-detail-gallery__slide {
    border-radius: 14px;
    overflow: hidden;
    background: #f4f6fc;
    aspect-ratio: 4 / 3;
}

.bb-news-detail-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* VenoBox: scroll olmasın, görsel çerçevede kalsın */
body.vbox-open {
    overflow: hidden;
}

.vbox-overlay,
.vbox-container {
    overflow: hidden;
}

.vbox-content {
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.vbox-content img,
.vbox-content video,
.vbox-content iframe {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* VenoBox toolbar */
.bb-vbox-toolbar {
    position: fixed;
    top: 12px;
    right: 56px;
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 24, 39, 0.55);
    border-radius: 999px;
    padding: 6px 10px;
    backdrop-filter: blur(6px);
}

.bb-vbox-toolbar__btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.bb-vbox-toolbar__btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.bb-vbox-toolbar__btn.is-active {
    background: rgba(59, 130, 246, 0.75);
}

.bb-vbox-zoomed {
    transform: scale(1.35);
    cursor: zoom-out;
}
