.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.blog-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.blog-site-brand {
    flex-shrink: 0;
}

.blog-site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
}

.blog-site-logo:hover {
    transform: translateY(-1px);
}

.blog-site-logo i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-site-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.blog-site-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.blog-header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.blog-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.blog-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.blog-nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.blog-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.blog-nav-item i {
    font-size: 16px;
}

.blog-mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blog-mobile-menu-btn i {
    font-size: 18px;
}

.blog-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.blog-mobile-nav.active {
    visibility: visible;
    opacity: 1;
}

.blog-mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.blog-mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-mobile-nav.active .blog-mobile-nav-content {
    transform: translateX(0);
}

.blog-mobile-nav-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-mobile-brand i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-mobile-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-mobile-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.blog-mobile-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.blog-mobile-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blog-mobile-close-btn i {
    font-size: 16px;
}

.blog-mobile-nav-list {
    flex: 1;
    padding: 20px 0;
}

.blog-mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.blog-mobile-nav-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    color: #667eea;
}

.blog-mobile-nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.blog-mobile-nav-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.blog-mobile-nav-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.blog-nav-arrow {
    font-size: 14px !important;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .blog-header-container {
        padding: 0 15px;
        height: 60px;
    }

    .blog-site-logo i {
        font-size: 24px;
    }

    .blog-site-title {
        font-size: 18px;
    }

    .blog-site-subtitle {
        font-size: 11px;
    }

    .blog-header-nav {
        display: none;
    }

    .blog-mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .blog-header-container {
        padding: 0 10px;
        height: 55px;
    }

    .blog-site-logo i {
        font-size: 22px;
    }

    .blog-site-title {
        font-size: 16px;
    }

    .blog-site-subtitle {
        font-size: 10px;
    }

    .blog-mobile-nav-content {
        width: 100%;
    }
}
