.page-resources {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources__hero-section {
    background-color: #1A202C; /* Dark background for hero */
    position: relative;
    overflow: hidden;
    padding: 0; /* Content inside will handle padding */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero */
    color: #ffffff; /* Light text on dark background */
    text-align: center;
}

.page-resources__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Max width for hero content */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3; /* Overlay to make text readable */
    filter: none !important; /* Explicitly remove any potential filter */
}

.page-resources__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
}

.page-resources__hero-title {
    font-size: 3em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold button */
    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;
    border: none;
    cursor: pointer;
}

.page-resources__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-resources__introduction-section,
.page-resources__articles-section,
.page-resources__deep-content-section,
.page-resources__final-cta-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for content sections */
}

.page-resources__content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources__sub-section-title {
    font-size: 1.8em;
    color: #1A202C;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-resources__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources__highlight {
    color: #1A202C;
    font-weight: bold;
}

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

.page-resources__article-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 450px; /* Ensure cards have enough space for content and image */
}

.page-resources__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
    width: 100%;
    height: 225px; /* Fixed height for article images */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
    filter: none !important; /* Explicitly remove any potential filter */
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-resources__article-title a {
    color: #1A202C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
    color: #FFD700;
}

.page-resources__article-summary {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources__read-more-button {
    display: inline-block;
    background-color: #1A202C;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.page-resources__read-more-button:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-resources__cta-section {
    background-color: #1A202C; /* Dark background for CTA */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

.page-resources__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources__list-item {
    background-color: #f0f0f0;
    border-left: 4px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: #333333;
}

.page-resources__list-item strong {
    color: #1A202C;
}

.page-resources__final-cta-section {
    background-color: #f0f0f0;
    text-align: center;
    padding: 80px 20px;
}

.page-resources__final-cta-title {
    font-size: 2.8em;
    color: #1A202C;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources__final-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__cta-title,
    .page-resources__final-cta-title {
        font-size: 2.2em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__sub-section-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-resources__hero-section {
        min-height: 400px;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__cta-title,
    .page-resources__final-cta-title {
        font-size: 1.8em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__sub-section-title {
        font-size: 1.4em;
    }
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__article-card {
        min-height: auto; /* Allow height to adjust on mobile */
    }

    /* Ensure all images within the main content area are responsive and not smaller than 200px */
    .page-resources img:not(.page-resources__hero-image) { /* Exclude hero image as it's full width */
        min-width: 200px;
        min-height: 200px;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__cta-title,
    .page-resources__final-cta-title {
        font-size: 1.6em;
    }
    .page-resources__section-title {
        font-size: 1.6em;
    }
    .page-resources__hero-section {
        padding: 30px 15px;
        min-height: 300px;
    }
    .page-resources__introduction-section,
    .page-resources__articles-section,
    .page-resources__deep-content-section,
    .page-resources__final-cta-section {
        padding: 40px 15px;
    }
}