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

.page-resources__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #000000; /* Dark background for hero text contrast */
}

.page-resources__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-resources__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
    z-index: 1;
}

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

.page-resources__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #F0F0F0;
}

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

.page-resources__hero-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.2s ease;
}

.page-resources__hero-button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-resources__hero-button--register:hover {
    background-color: #E0E0E0;
    transform: translateY(-2px);
}

.page-resources__hero-button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-resources__hero-button--login:hover {
    background-color: #EAA83B;
    transform: translateY(-2px);
}

.page-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.page-resources__introduction-section {
    background-color: #F8F8F8;
    padding: 60px 0;
}

.page-resources__introduction-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-resources__articles-section {
    padding: 60px 0;
}

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

.page-resources__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

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

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

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

.page-resources__article-button:hover {
    background-color: #333333;
}

.page-resources__value-proposition-section {
    background-color: #F0F0F0;
    padding: 60px 0;
}

.page-resources__value-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    color: #333333;
}

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

.page-resources__value-item {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #333333;
}

.page-resources__value-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FCBC45;
}

.page-resources__cta-section {
    background-color: #000000;
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-resources__cta-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #F0F0F0;
}

.page-resources__cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-resources__cta-button:hover {
    background-color: #EAA83B;
    transform: translateY(-3px);
}

.page-resources__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-resources__faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 20px;
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources__faq-answer {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__hero-description {
        font-size: 1.2em;
    }
    .page-resources__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding-top: var(--header-offset, 120px);
        height: auto; /* Adjust height for mobile */
        min-height: 500px;
    }
    .page-resources__hero-content {
        position: static;
        transform: none;
        padding: 40px 20px;
        background: rgba(0, 0, 0, 0.7); /* Dark overlay for text on mobile */
    }
    .page-resources__hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__hero-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources__container {
        padding: 30px 15px;
    }
    .page-resources__article-image {
        height: 200px;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources__article-summary {
        font-size: 0.9em;
    }
    .page-resources__value-item {
        font-size: 1em;
    }
    .page-resources__cta-description {
        font-size: 1.1em;
    }
    .page-resources__cta-button {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    /* Ensure content area images are responsive and don't cause overflow */
    .page-resources img {
        max-width: 100%;
        height: auto;
    }
}