.page-resources {
    background-color: var(--secondary-color); /* #FFFFFF */
    color: #333333; /* Dark text for light background */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-resources__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 0;
    overflow: hidden;
    color: #FFFFFF; /* Text on hero image should be light */
}

.page-resources__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.page-resources__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    z-index: 1;
}

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for readability */
    border-radius: 10px;
}

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

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

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

.page-resources__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.page-resources__button--register {
    background-color: #000000; /* Main color for register */
    color: #FFFFFF; /* Text color for register */
    border: 2px solid #000000;
}

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

.page-resources__button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for login button */
    border: 2px solid #FCBC45;
}

.page-resources__button--login:hover {
    background-color: #e0a73b;
    border-color: #e0a73b;
}

.page-resources__button--view-details,
.page-resources__button--blog,
.page-resources__button--explore {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-resources__button--view-details:hover,
.page-resources__button--blog:hover,
.page-resources__button--explore:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-resources__intro-section,
.page-resources__articles-section,
.page-resources__strategy-section,
.page-resources__security-section,
.page-resources__cta-section {
    padding: 60px 0;
}

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

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

.page-resources__section-description a {
    color: #000000;
    text-decoration: underline;
}

.page-resources__section-description a:hover {
    color: #FCBC45;
}

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

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

.page-resources__article-card:hover {
    transform: translateY(-5px);
}

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

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

.page-resources__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

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

.page-resources__card-category {
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 15px;
}

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

.page-resources__more-resources {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-resources__more-resources p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

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

.page-resources__cta-section .page-resources__section-title {
    color: #FFFFFF;
}

.page-resources__cta-section .page-resources__section-description {
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-resources__cta-actions .page-resources__button--register {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-resources__cta-actions .page-resources__button--register:hover {
    background-color: #e0a73b;
    border-color: #e0a73b;
}

.page-resources__cta-actions .page-resources__button--explore {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-resources__cta-actions .page-resources__button--explore:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources__copyright {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
    color: #666666;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* Responsive Design */
@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: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }

    .page-resources__hero-content {
        padding: 30px 20px;
    }

    .page-resources__hero-title {
        font-size: 2.5em;
    }

    .page-resources__hero-description {
        font-size: 1em;
    }

    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources__button {
        width: 100%;
        padding: 12px 20px;
    }

    .page-resources__intro-section,
    .page-resources__articles-section,
    .page-resources__strategy-section,
    .page-resources__security-section,
    .page-resources__cta-section {
        padding: 40px 0;
    }

    .page-resources__section-title {
        font-size: 1.8em;
    }

    .page-resources__section-description {
        font-size: 0.95em;
    }

    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }

    .page-resources__article-image {
        height: 200px;
    }

    .page-resources__card-title {
        font-size: 1.3em;
    }

    .page-resources__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-resources img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }

    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__hero-section {
        padding: 40px 0;
    }
}