/* ===== BLOG PAGE ===== */

/* Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0a1628 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero .hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.blog-hero .hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Section */
.blog-section {
    padding: 6rem 2rem;
    background: #f8fafc;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Card Link */
.blog-card-link {
    text-decoration: none;
    color: inherit;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Blog Image */
.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #2B9ED9, #1B7AB0);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(43, 158, 217, 0.3);
    z-index: 10;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2B9ED9, #1B7AB0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Blog Content */
.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title {
    margin-bottom: 0.5rem;
}

.blog-card-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2B9ED9;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .read-more {
    gap: 0.8rem;
}

.blog-read-more {
    display: block;
    width: fit-content;
    background: linear-gradient(135deg, #2B9ED9, #1B7AB0);
    color: white;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(43, 158, 217, 0.2);
}

.blog-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 158, 217, 0.3);
}

/* Blog Empty */
.blog-empty {
    text-align: center;
    padding: 5rem 2rem;
}

.blog-empty i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.blog-empty h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.blog-empty p {
    color: #64748b;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #2B9ED9, #1B7AB0);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    background: white;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover,
.page-link.active {
    background: #2B9ED9;
    color: white;
    border-color: #2B9ED9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .blog-section {
        padding: 5rem 2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .blog-hero .hero-content p {
        font-size: 1.1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-container h2 {
        font-size: 2rem;
    }

    .blog-section {
        padding: 4rem 1.5rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        min-height: 35vh;
        padding: 4rem 1.5rem;
    }

    .blog-hero .hero-content h1 {
        font-size: 2rem;
    }

    .blog-section {
        padding: 4rem 1.5rem;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-content h2 {
        font-size: 1.2rem;
    }

    .blog-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .page-link {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .cta-container h2 {
        font-size: 1.7rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }
}