.page-resources {
    color: #333333; /* Dark text for light body background */
}

.page-resources__hero-section {
    background-color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources__hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources__hero-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-resources__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.page-resources__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, color 0.3s ease;
    white-space: nowrap;
}

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

.page-resources__button--register:hover {
    background-color: #333333;
    color: #FCBC45;
}

.page-resources__button--login {
    background-color: #FCBC45;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

.page-resources__button--login:hover {
    background-color: #e0a53b;
    color: #FFFFFF;
}

.page-resources__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #FCBC45;
    padding-bottom: 15px;
    margin-top: 50px;
}

.page-resources__sub-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources__inline-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__inline-link:hover {
    text-decoration: underline;
}

.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.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.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: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no CSS filter is applied */
}

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

.page-resources__article-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: bold;
}

.page-resources__article-title a {
    color: #000000;
    text-decoration: none;
}

.page-resources__article-title a:hover {
    color: #FCBC45;
    text-decoration: underline;
}

.page-resources__article-abstract {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources__button--read-more {
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 25px;
    font-size: 0.95em;
    border-radius: 6px;
    align-self: flex-start;
    border: 2px solid #000000;
}

.page-resources__button--read-more:hover {
    background-color: #333333;
    color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2.2em;
    }
    .page-resources__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__button {
        width: 100%;
    }
    .page-resources__content-area {
        padding: 40px 15px;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__sub-title {
        font-size: 1.4em;
    }
    .page-resources__text-block {
        font-size: 0.95em;
    }
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__article-image {
        max-width: 100%;
        height: auto; /* Allow height to adjust */
        filter: none; /* Ensure no CSS filter is applied */
    }
    .page-resources__article-title {
        font-size: 1.4em;
    }
    .page-resources__article-abstract {
        font-size: 0.9em;
    }
    /* Ensure content images are not smaller than 200px */
    .page-resources img {
        max-width: 100%; 
        height: auto; 
        min-width: 200px; 
        min-height: 200px;
        filter: none; /* Ensure no CSS filter is applied */
    }
    .page-resources__article-image {
        min-height: 200px; /* Ensure article images meet minimum size */
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.6em;
    }
    .page-resources__sub-title {
        font-size: 1.2em;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__article-abstract {
        font-size: 0.85em;
    }
}