@import '/styles/global.css';
@import '/styles/HeaderManager.css';
@import '/styles/FooterManager.css';
@import '/styles/SignupElement.css';
@import '/styles/CookieConsent/CookieConsent.css';
@import '/styles/CookieConsent/CookiePreferences.css';

/*------------*/
/*  News Heading  */
/*------------*/
.blog-listing {
    width: 100%;
}
.container {
    max-width: 1500px;
    text-align: left;
    margin: 0 auto;
    padding: 80px 120px;
}
.category-label {
    font-weight: 700;
    padding-bottom: 20px;
    font-size: 1.5rem;
}
.page-header-text {
    font-weight: 400;
    font-size: 1.4rem;
}

/*------------*/
/*  Blog Grid  */
/*------------*/
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-block: 80px;
}

.blog-card {
    background: var(--color-white);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.post-date {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-grey-dividers);
    margin-bottom: 0px;
}
.post-category {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-black);
}
.blog-card h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-black);
}

.excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}



/*------------*/
/*  Newsletter Signup Section  */
/*------------*/
.newsletter-signup {
    width: 100%;
    background: var(--color-grey-background);
    padding-block: 80px;
    margin: 0 auto;
}
.signup-container {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}
.signup-lead-text {
    padding-bottom: 30px;
    font-size: 1rem;
}

.closing-signup-text {
    padding-top: 25px;
    font-size: .85rem;
    line-height: 1.3;
}
.closing-signup-text a {
    font-size: .85rem;
    cursor: pointer;
}
.closing-signup-text a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    /*------------*/
    /*  News Heading  */
    /*------------*/
    .container {
        max-width: 1500px;
        text-align: left;
        padding: 80px 20px;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 50px 20px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 30px 20px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }
}