html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.blog-page-body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background: #050c1a; 
}


body.blog-page-body::before {
    content: "";
    position: fixed;
    top: -5%; 
    left: -5%;
    width: 110%; 
    height: 110%;
    background: linear-gradient(rgba(5, 12, 26, 0.85), rgba(5, 12, 26, 0.9)), 
                url('/assets/images/blog_back.webp') no-repeat center center;
    background-size: cover;
    z-index: -1;
    animation: liveBackgroundBlog 25s infinite alternate ease-in-out;
}

@keyframes liveBackgroundBlog {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-10px, 10px); }
}

.blog-page {
    padding: 40px 20px 60px;
}

.blog-container {
    max-width: 1180px;
    margin: 0 auto;
}

.blog-hero {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 40px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.blog-hero p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 10px;
    max-width: 820px;
}

.seo-text {
    margin-bottom: 12px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.blog-filters {
    display: flex;
    gap: 10px;
    margin: 20px 0 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    background: #1b2a3a;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: #2ecc71;
}

.filter-btn.active {
    background: #2ecc71;
}
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.blog-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card-top h2 {
    font-size: 24px;
    margin: 10px 0 18px;
    line-height: 1.3;
}

.blog-card-top h2 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-top h2 a:hover {
    color: #22c55e; 
}

.blog-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
}


.blog-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.blog-btn {
    flex: 1; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.blog-btn-primary {
    background: #22c55e;
    color: #000;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.blog-btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

@media (max-width: 768px) {
    .blog-page {
        padding: 30px 20px 50px;
    }

    .blog-hero {
        padding: 25px 20px;
    }
    
    .blog-hero h1 {
        font-size: 30px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        padding: 25px;
    }
    
    .blog-card-top h2 {
        font-size: 22px;
    }
}