/* style/resources-lodi646-latest-news.css */
.page-resources-lodi646-latest-news {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    background-color: #FFFFFF; /* Light background as per shared.css body background */
    color: #333333; /* Dark text for light background, ensuring contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-resources-lodi646-latest-news__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.page-resources-lodi646-latest-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* filter: brightness(0.7); REMOVED as per strict no-filter rule */
}

.page-resources-lodi646-latest-news__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF; /* White text for hero section */
    max-width: 900px;
    width: 90%;
    padding: 20px;
    box-sizing: border-box;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-lodi646-latest-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-resources-lodi646-latest-news__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.page-resources-lodi646-latest-news__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-resources-lodi646-latest-news__button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000; /* Text color for register button */
    border: 2px solid #FFFFFF;
}

.page-resources-lodi646-latest-news__button--register:hover {
    background-color: #F0F0F0;
    transform: translateY(-2px);
}

.page-resources-lodi646-latest-news__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Text color for login button */
    border: 2px solid #FCBC45;
}

.page-resources-lodi646-latest-news__button--login:hover {
    background-color: #E0A030;
    transform: translateY(-2px);
}

.page-resources-lodi646-latest-news__content-area {
    max-width: 800px; /* Content width for readability */
    margin: 40px auto;
    padding: 0 20px;
}

.page-resources-lodi646-latest-news__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-lodi646-latest-news__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FCBC45; /* Accent color for underline */
    margin: 10px auto 0;
}

.page-resources-lodi646-latest-news__articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-resources-lodi646-latest-news__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-lodi646-latest-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-resources-lodi646-latest-news__article-image {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-lodi646-latest-news__article-content {
    padding: 25px;
}

.page-resources-lodi646-latest-news__article-title {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-resources-lodi646-latest-news__article-title a {
    color: #000000; /* Dark text for article titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-lodi646-latest-news__article-title a:hover {
    color: #FCBC45; /* Accent color on hover */
}

.page-resources-lodi646-latest-news__article-meta {
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 15px;
}

.page-resources-lodi646-latest-news__article-excerpt {
    font-size: 1em;
    color: #444444;
    margin-bottom: 20px;
}

.page-resources-lodi646-latest-news__read-more {
    display: inline-block;
    background-color: #000000; /* Main color for read more button */
    color: #FFFFFF; /* White text */
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-lodi646-latest-news__read-more:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-resources-lodi646-latest-news__call-to-action {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF; /* White text */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 60px auto;
    max-width: 800px;
}

.page-resources-lodi646-latest-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Accent color for CTA title */
}

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

.page-resources-lodi646-latest-news__button--register-cta {
    background-color: #FCBC45; /* Accent color for CTA button */
    color: #000000; /* Dark text */
    border: 2px solid #FCBC45;
}

.page-resources-lodi646-latest-news__button--register-cta:hover {
    background-color: #E0A030;
    transform: translateY(-2px);
}

.page-resources-lodi646-latest-news__return-link-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-lodi646-latest-news__return-link {
    color: #000000; /* Dark text for return link */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-resources-lodi646-latest-news__return-link:hover {
    color: #FCBC45; /* Accent color on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-lodi646-latest-news__hero-title {
        font-size: 3em;
    }
    .page-resources-lodi646-latest-news__hero-description {
        font-size: 1.2em;
    }
    .page-resources-lodi646-latest-news__article-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .page-resources-lodi646-latest-news__hero-content {
        padding: 15px;
        width: 95%;
    }
    .page-resources-lodi646-latest-news__hero-title {
        font-size: 2.5em;
    }
    .page-resources-lodi646-latest-news__hero-description {
        font-size: 1.1em;
    }
    .page-resources-lodi646-latest-news__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-lodi646-latest-news__button {
        width: 100%;
        padding: 12px 20px;
    }
    .page-resources-lodi646-latest-news__section-title {
        font-size: 2em;
    }
    .page-resources-lodi646-latest-news__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-lodi646-latest-news__article-image {
        height: 250px;
    }
    .page-resources-lodi646-latest-news__article-title {
        font-size: 1.5em;
    }
    .page-resources-lodi646-latest-news__cta-title {
        font-size: 2em;
    }
    /* Mobile image overflow prevention */
    .page-resources-lodi646-latest-news img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-lodi646-latest-news__hero-title {
        font-size: 2em;
    }
    .page-resources-lodi646-latest-news__hero-description {
        font-size: 1em;
    }
    .page-resources-lodi646-latest-news__cta-title {
        font-size: 1.8em;
    }
    .page-resources-lodi646-latest-news__article-image {
        height: 200px;
    }
}

/* CSS for image color filter restriction */
.page-resources-lodi646-latest-news img:not(.page-resources-lodi646-latest-news__hero-image) {
    filter: none; /* Explicitly remove any filter effects */
}