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

/* Blog Hero Section */
.blog-hero-section {
    background: var(--color-bg);
    text-align: center;
    padding-bottom: 0px !important;
}

.blog-page-heading,
.blog-section-heading {
    margin: 0;
    color: var(--color-text-light);
    font-family: var(--font-logo);
    font-size: 68px;
    font-weight: 700;
    line-height: 100%;
}

/* Blog Listing Section */
.blog-listing-section {
    background: var(--color-bg);
    padding-top: 60px !important;
}

.blog-posts-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 64px;
}

/* Blog Post Card */
.blog-post-card {
    background: transparent;
    border-radius: 20px;
    overflow: visible;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}


.blog-post-image {
    width: 100%;
    height: 254px;
    overflow: hidden;
    display: block;
    border-radius: 20px;
    margin-bottom: 20px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 20px;
}

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

.blog-post-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.blog-post-title {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;

    min-height: 76px;
    -webkit-line-clamp: 2;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-post-title a:hover {
    color: var(--color-secondary);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.blog-post-date {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 900;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--color-secondary);
}

/* Load More Button */
.blog-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.blog-load-more-btn {
    padding: 16px 48px;
    min-width: 200px;
}

.blog-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.article-related {
    padding-bottom: 120px;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    font-family: var(--font-menu);
    font-size: 20px;
    color: #E7E7E7;
    padding: 60px 20px;
}

/* ================================
   RESPONSIVE - TABLET
   ================================ */

@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-post-image {
        height: 240px;
    }

    .blog-post-title {
        font-size: 26px;
        line-height: 34px;
    }

    .blog-post-date {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-post-content {
        gap: 12px;
    }

    .blog-load-more-wrapper {
        margin-top: 50px;
    }

    .blog-section-heading {
        font-size: 48px;
    }
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */

@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post-image {
        height: 220px;
    }

    .blog-post-content {
        padding: 18px;
        gap: 12px;
    }

    .blog-post-title {
        font-size: 24px;
        line-height: 32px;
    }

    .blog-post-date {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-load-more-wrapper {
        margin-top: 40px;
    }

    .blog-load-more-btn {
        width: 100%;
        max-width: 300px;
    }

}

@media (max-width: 480px) {
    .blog-post-image {
        height: 200px;
    }

    .blog-post-content {
        padding: 16px;
        gap: 10px;
    }

    .blog-post-title {
        font-size: 20px;
        line-height: 28px;
    }

    .blog-post-date {
        font-size: 14px;
        line-height: 22px;
    }

}