.blog-content > * {
    white-space: normal !important;
    overflow-wrap: break-word;    
}

.text-wrap {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

body {
    color: #333333;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
}

.bg-primary {
    background-color: #2f9108 !important;
}

.btn-primary {
    background-color: #2f9108 !important;
    border: 0;
}

.bg-body-secondary {
    background-color: #f1f2f2 !important;
}

.nav-tabs-1 .nav-link.active {
    color: #004fff !important;
    border-bottom: 3px solid;
}

.mega-menu {
    position: fixed;
    top: 98px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.95);
    z-index: 1040;
    display: block;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    overflow-y: auto;
    padding: 2rem;
    pointer-events: none; /* Tıklamaları engeller */
}

.mega-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

body.no-scroll {
    overflow: hidden;
}

/* Offcanvas Backdrop Fix */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.15s linear;
}

.offcanvas-backdrop.fade {
    opacity: 0;
}

.offcanvas-backdrop.show {
    opacity: 1;
}

/* Backdrop temizleme için yardımcı sınıf */
.backdrop-hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mobil Menü Stilleri */
.mobile-menu-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

#mobileMenu {
    width: 85%;
    max-width: 350px;
    z-index: 2000;
}

#mobileMenu .offcanvas-body {
    position: relative;
    overflow: hidden;
}

/* Mobil menü ana navigasyon */
#mobileMenu .nav {
    padding: 0;
}

#mobileMenu .nav-link {
    padding: 10px 15px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 16px;
	border-radius: 5px;
}

#mobileMenu .nav-link:hover {
    color: #2f9108;
    background-color: #f8f9fa;
}

#mobileMenu .nav-link.active {
    color: #2f9108;
    background-color: #e8f5e8;
}

#mobileMenu .nav-link i.bi-chevron-down {
    transition: transform 0.3s ease;
}

#mobileMenu .nav-link.active i.bi-chevron-down {
    transform: rotate(180deg);
}

/* Mobil Alt Menü Stilleri */
.mobile-submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 20;
    display: none;
    overflow-y: auto;
}

.mobile-submenu.active {
    transform: translateX(0);
    display: block;
}

/* Mobil menü container'ı için overflow kontrolü */
#mobileMenu .offcanvas-body {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.mobile-nav {
    position: relative;
    z-index: 10;
}

.mobile-submenu-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 5;
}

.mobile-submenu-header h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.back-btn {
    color: #2f9108;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border: none;
    background: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #1a5a05;
    background-color: #e8f5e8;
}

/* Mobil menüde desktop yapısını kullan */
.mobile-submenu .nav {
    padding: 0 15px;
}

.mobile-submenu .btn {
    padding: 10px 15px !important;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    text-align: left;
}

.mobile-submenu .btn:hover {
    color: #2f9108;
    background-color: #f8f9fa;
}

.mobile-submenu .btn.active {
    color: #2f9108;
    background-color: #e8f5e8;
}

.mobile-submenu-link {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    color: #2f9108;
    text-decoration: underline;
}

.mobile-submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;       /* Satır taşmasını engelle */
    overflow: hidden;          /* Taşan kısmı gizle */
    text-overflow: ellipsis;   /* ... ekle */
}

.mobile-submenu-toggle i {
    flex-shrink: 0; /* icon kaybolmasın */
    margin-left: 8px;
}


/* Mobil menü animasyonları */
#mobileMenu .nav-item {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.3s ease forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive düzenlemeler */
@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .navbar-toggler {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
}