﻿:root {
    --blue-primary: #1e3a8a;
    --blue-secondary: #3b82f6;
    --blue-light: #93c5fd;
    --blue-soft: #dbeafe;
    --blue-deep: #0c1e4e;
}

.page-header-blogs {
    background: linear-gradient(135deg, #0c1e4e 0%, #1e3a8a 40%, #3b82f6 70%, #0c1e4e 100%);
    position: relative;
    overflow: hidden;
}

    .page-header-blogs::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(147, 197, 253, 0.3) 0%, transparent 70%);
        pointer-events: none;
    }

.text-gold {
    color: #93c5fd !important;
}

.text-gold-light {
    color: #dbeafe !important;
}

.section-tag-blog {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    color: #1e3a8a;
    background: rgba(59, 130, 246, 0.12);
    padding: 0.3rem 1.2rem;
    border-radius: 60px;
    display: inline-block;
}

.golden-divider-blog {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #93c5fd);
    border-radius: 3px;
    margin-top: 1rem;
}

.featured-blog-card {
    position: relative;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
    transition: all 0.4s;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

    .featured-blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
    }

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 3;
}

.featured-img-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.featured-blog-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(12, 30, 78, 0.5), transparent);
}

.featured-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    flex-wrap: wrap;
}

    .blog-meta i {
        color: #3b82f6;
        margin-right: 0.3rem;
    }

.featured-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0c1e4e;
    line-height: 1.35;
}

.featured-excerpt {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #0c1e4e;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.72rem;
    color: #64748b;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

    .btn-read-more:hover {
        transform: translateX(4px);
        color: white;
    }

.quick-tips-card {
    background: linear-gradient(160deg, #dbeafe 0%, #eff6ff 100%);
    border-radius: 28px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
}

    .tips-header i {
        font-size: 1.8rem;
        color: #1e3a8a;
    }

    .tips-header h4 {
        margin: 0;
        font-weight: 800;
        color: #0c1e4e;
    }

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(59, 130, 246, 0.2);
    font-size: 0.88rem;
    color: #1e3a8a;
}

    .tip-item:last-child {
        border-bottom: none;
    }

    .tip-item i {
        color: #3b82f6;
        margin-top: 0.2rem;
    }

.category-filters-blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.filter-btn-blog {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    color: #1e3a8a;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.82rem;
}

    .filter-btn-blog:hover,
    .filter-btn-blog.active {
        background: linear-gradient(135deg, #1e3a8a, #3b82f6);
        border-color: transparent;
        color: white;
        transform: translateY(-2px);
    }

.blog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.08);
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
    }

.blog-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.blog-card:hover .blog-image {
    transform: scale(1.07);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 0.25rem 0.9rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 2;
}

.premium-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 2;
}

.blog-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-small {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    color: #64748b;
    flex-wrap: wrap;
}

    .blog-meta-small i {
        color: #3b82f6;
        margin-right: 0.25rem;
    }

.blog-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #0c1e4e;
}

.blog-excerpt {
    color: #64748b;
    font-size: 0.83rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.blog-author-small {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
}

.author-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #93c5fd;
}

.read-more-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

    .read-more-link:hover {
        color: #1e3a8a;
        transform: translateX(4px);
    }

.btn-load-more-blog {
    background: transparent;
    border: 2px solid #3b82f6;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    color: #1e3a8a;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
}

    .btn-load-more-blog:hover {
        background: linear-gradient(135deg, #1e3a8a, #3b82f6);
        color: white;
        border-color: transparent;
    }

.blog-newsletter {
    background: linear-gradient(135deg, #0c1e4e 0%, #1e3a8a 50%, #3b82f6 100%);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

    .blog-newsletter i.fa-envelope-open-text {
        color: #93c5fd;
    }

.newsletter-form-blog {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

    .newsletter-form-blog .form-control {
        flex: 1;
        min-width: 200px;
        padding: 0.9rem 1.3rem;
        border: none;
        border-radius: 60px;
        font-size: 0.9rem;
    }

.btn-subscribe-blog {
    background: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 60px;
    font-weight: 700;
    color: #1e3a8a;
    transition: all 0.3s;
}

    .btn-subscribe-blog:hover {
        background: #dbeafe;
    }

.blog-item.hidden {
    display: none;
}

@media (max-width: 768px) {
    .featured-title {
        font-size: 1.2rem;
    }

    .featured-img-wrapper {
        height: 220px;
    }

    .blog-image-wrapper {
        height: 180px;
    }

    .blog-newsletter {
        padding: 1.8rem;
    }

    .newsletter-form-blog {
        flex-direction: column;
    }

    .btn-subscribe-blog {
        width: 100%;
    }

    .filter-btn-blog {
        padding: 0.4rem 1rem;
        font-size: 0.72rem;
    }
}
