/* style/resources-latest-news.css */
.page-resources-latest-news {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-latest-news__hero-section {
    background-color: #000000; /* Dark background for hero text */
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.page-resources-latest-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.6;
}

.page-resources-latest-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-latest-news__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-latest-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.page-resources-latest-news__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-latest-news__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-resources-latest-news__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-resources-latest-news__button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-resources-latest-news__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-latest-news__button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-resources-latest-news__content-area {
    max-width: 1000px; /* Adjusted for better reading flow */
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.page-resources-latest-news__section-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.page-resources-latest-news__sub-section-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-latest-news__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-resources-latest-news__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-latest-news__article-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-resources-latest-news__article-card:hover {
    transform: translateY(-5px);
}

.page-resources-latest-news__article-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-resources-latest-news__article-card h4 {
    padding: 15px 20px 10px;
    font-size: 1.3em;
    color: #000000;
}

.page-resources-latest-news__article-card h4 a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-resources-latest-news__article-card h4 a:hover {
    color: #FCBC45;
}

.page-resources-latest-news__article-excerpt {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #555555;
}

.page-resources-latest-news__read-more {
    display: block;
    padding: 10px 20px 20px;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-latest-news__read-more:hover {
    color: #000000;
}

.page-resources-latest-news__info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-latest-news__info-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-resources-latest-news__info-card:hover {
    transform: translateY(-5px);
}

.page-resources-latest-news__info-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-resources-latest-news__info-title {
    padding: 15px 20px 10px;
    font-size: 1.3em;
    color: #000000;
}

.page-resources-latest-news__info-text {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #555555;
}

.page-resources-latest-news__promotion-highlight {
    display: flex;
    flex-direction: column;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

.page-resources-latest-news__promotion-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

.page-resources-latest-news__promotion-content {
    padding: 30px;
    text-align: center;
}

.page-resources-latest-news__promotion-title {
    font-size: 2em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-resources-latest-news__promotion-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-resources-latest-news__button--promo {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-latest-news__button--promo:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-resources-latest-news__industry-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-latest-news__insight-card {
    background-color: #f8f8f8;
    border-left: 5px solid #FCBC45;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-resources-latest-news__insight-card:hover {
    transform: translateY(-5px);
}

.page-resources-latest-news__insight-title {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 10px;
}

.page-resources-latest-news__insight-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-resources-latest-news__insight-title a:hover {
    color: #FCBC45;
}

.page-resources-latest-news__insight-text {
    font-size: 0.95em;
    color: #555555;
}

.page-resources-latest-news__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
    border-radius: 10px;
}

.page-resources-latest-news__cta-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 20px;
}

.page-resources-latest-news__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-latest-news__button--join-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-resources-latest-news__button--join-now:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-resources-latest-news__back-link {
    text-align: center;
    margin-top: 50px;
}

.page-resources-latest-news__button--back {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-resources-latest-news__button--back:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-latest-news__hero-title {
        font-size: 2em;
    }

    .page-resources-latest-news__hero-description {
        font-size: 1em;
    }

    .page-resources-latest-news__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-latest-news__button {
        width: 100%;
        max-width: 250px;
    }

    .page-resources-latest-news__section-title,
    .page-resources-latest-news__cta-title {
        font-size: 1.8em;
    }

    .page-resources-latest-news__sub-section-title {
        font-size: 1.5em;
    }

    .page-resources-latest-news__paragraph,
    .page-resources-latest-news__cta-description {
        font-size: 1em;
    }

    .page-resources-latest-news__article-grid,
    .page-resources-latest-news__info-cards,
    .page-resources-latest-news__industry-insights {
        grid-template-columns: 1fr;
    }

    .page-resources-latest-news__article-image,
    .page-resources-latest-news__info-image {
        height: 200px;
        max-width: 100%; /* Ensure images are responsive and not too small */
    }

    .page-resources-latest-news__promotion-highlight {
        flex-direction: column;
    }

    .page-resources-latest-news__promotion-content {
        padding: 20px;
    }

    .page-resources-latest-news__promotion-title {
        font-size: 1.5em;
    }

    .page-resources-latest-news__promotion-image,
    .page-resources-latest-news__hero-image,
    .page-resources-latest-news__article-grid img,
    .page-resources-latest-news__info-cards img,
    .page-resources-latest-news__promotion-highlight img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-latest-news__hero-title {
        font-size: 1.5em;
    }

    .page-resources-latest-news__section-title,
    .page-resources-latest-news__cta-title {
        font-size: 1.5em;
    }
}