/* style/resources-latest-industry-news.css */
.page-resources-latest-industry-news {
    color: #333333; /* Dark text for light body background */
}

.page-resources-latest-industry-news__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-resources-latest-industry-news__hero-content {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

.page-resources-latest-industry-news__hero-title {
    font-size: 2.8em;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-resources-latest-industry-news__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-resources-latest-industry-news__button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1em;
    cursor: pointer;
    border: none;
}

.page-resources-latest-industry-news__button--register {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Register text color */
}

.page-resources-latest-industry-news__button--register:hover {
    background-color: #333333;
}

.page-resources-latest-industry-news__button--explore {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
}

.page-resources-latest-industry-news__button--explore:hover {
    background-color: #FFD700;
}

.page-resources-latest-industry-news__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

.page-resources-latest-industry-news__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-resources-latest-industry-news__article-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.page-resources-latest-industry-news__article-nav {
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.page-resources-latest-industry-news__back-link {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-latest-industry-news__back-link:hover {
    color: #FCBC45;
}

.page-resources-latest-industry-news__article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-latest-industry-news__article-heading {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-resources-latest-industry-news__article-meta {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 30px;
}

.page-resources-latest-industry-news__article-subheading {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.page-resources-latest-industry-news__article-content p {
    margin-bottom: 20px;
}

.page-resources-latest-industry-news__article-content strong {
    color: #000000;
}

.page-resources-latest-industry-news__article-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

.page-resources-latest-industry-news__call-to-action {
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-latest-industry-news__button--register-bottom {
    background-color: #000000;
    color: #FFFFFF;
}

.page-resources-latest-industry-news__button--register-bottom:hover {
    background-color: #333333;
}

.page-resources-latest-industry-news__button--download-app {
    background-color: #FCBC45;
    color: #000000;
}

.page-resources-latest-industry-news__button--download-app:hover {
    background-color: #FFD700;
}

.page-resources-latest-industry-news__related-resources {
    background-color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

.page-resources-latest-industry-news__related-heading {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 40px;
}

.page-resources-latest-industry-news__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-latest-industry-news__resource-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

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

.page-resources-latest-industry-news__resource-card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-resources-latest-industry-news__resource-card-title {
    font-size: 1.3em;
    color: #000000;
    margin: 15px 15px 10px 15px;
    line-height: 1.4;
}

.page-resources-latest-industry-news__resource-card-title a {
    color: #000000;
    text-decoration: none;
}

.page-resources-latest-industry-news__resource-card-title a:hover {
    color: #FCBC45;
}

.page-resources-latest-industry-news__resource-card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-latest-industry-news__hero-title {
        font-size: 2.5em;
    }

    .page-resources-latest-industry-news__article-heading {
        font-size: 2em;
    }

    .page-resources-latest-industry-news__article-subheading {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-industry-news__hero-section {
        padding: 30px 15px;
    }

    .page-resources-latest-industry-news__hero-title {
        font-size: 2em;
    }

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

    .page-resources-latest-industry-news__hero-buttons,
    .page-resources-latest-industry-news__call-to-action {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-latest-industry-news__button {
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
        margin: 0 auto;
    }

    .page-resources-latest-industry-news__article-section {
        padding: 40px 15px;
    }

    .page-resources-latest-industry-news__article-heading {
        font-size: 1.8em;
    }

    .page-resources-latest-industry-news__article-subheading {
        font-size: 1.4em;
    }

    .page-resources-latest-industry-news__article-content {
        font-size: 1em;
    }

    .page-resources-latest-industry-news__article-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }

    .page-resources-latest-industry-news__related-heading {
        font-size: 1.8em;
    }

    .page-resources-latest-industry-news__resource-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-latest-industry-news__resource-card-image {
        height: 180px;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }

    /* Ensure content area images don't overflow */
    .page-resources-latest-industry-news img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .page-resources-latest-industry-news {
        overflow-x: hidden;
    }
}

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

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

    .page-resources-latest-industry-news__article-heading {
        font-size: 1.5em;
    }

    .page-resources-latest-industry-news__article-subheading {
        font-size: 1.2em;
    }

    .page-resources-latest-industry-news__button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}