/* Blog Hero */
.blog-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11rem 0 8rem;
    overflow: hidden;
}

.blog-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B1F3A;
    z-index: 0;
}

.blog-hero-background::before {
    content: none;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 15, 35, 0.55) 0%, rgba(5, 15, 35, 0.40) 60%, rgba(5, 15, 35, 0.62) 100%);
    z-index: 2;
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 700;
    color: #D8DDE8;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
    letter-spacing: -0.5px;
}

.blog-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(216,221,232,0.80);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3pxem;
    color: rgba(240,240,240,0.82);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-icon {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.hero-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-icon.animated {
    opacity: 0.6;
}

/* Filter Section */
.blog-filter {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #5585b5;
    color: #5585b5;
}

.filter-btn.active {
    background: linear-gradient(135deg, #5585b5 0%, #3d6a96 100%);
    border-color: #5585b5;
    color: #E8E8E8;
}

/* Blog Grid */
.blog-grid-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-card.hidden {
    display: none;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(58, 159, 208, 0.95);
    backdrop-filter: blur(10px);
    color: #E8E8E8;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.blog-card-date::before {
    content: '📅 ';
    margin-right: 0.25rem;
}

.blog-card-read-time::before {
    content: '⏱️ ';
    margin-right: 0.25rem;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.blog-card-excerpt {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #5585b5;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
}

.blog-card-link:hover::after {
    transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #5585b5;
    color: #5585b5;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: #5585b5;
    color: #5585b5;
}

.pagination-number.active {
    background: linear-gradient(135deg, #5585b5 0%, #3d6a96 100%);
    border-color: #5585b5;
    color: #E8E8E8;
}

/* Newsletter CTA */
.blog-newsletter {
    background: linear-gradient(135deg, #5585b5 0%, #3d6a96 100%);
    padding: 5rem 0;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.blog-newsletter .newsletter-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #E8E8E8;
    margin-bottom: 1rem;
}

.blog-newsletter .newsletter-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #5585b5;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-primary-large:hover {
    background: #f0f4fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #E8E8E8;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
}

.newsletter-button {
    padding: 1rem 2rem;
    background: #fff;
    color: #5585b5;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .blog-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 65vh;
        padding: 8rem 0 5rem;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-hero-subtitle {
        font-size: 1.125rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 0.75rem;
    }

    .filter-btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.5rem;
    }

    .blog-newsletter .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .blog-pagination {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
    }

    .blog-card-title {
        font-size: 1.25rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .blog-newsletter .newsletter-title {
        font-size: 1.75rem;
    }

    .pagination-numbers {
        display: none;
    }
}

