/* style/resources.css */

/* Base styles for the page-resources scope */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--black-color); /* From shared.css, likely dark */
}

/* Ensure main content area has appropriate padding-top to clear fixed header */
.page-resources__hero-section {
    position: relative;
    width: 100%;
    padding: 100px 20px 60px; /* Adjust padding as needed, but ensure top space */
    padding-top: var(--header-offset, 120px); /* This must be present */
    background-color: #26A9E0; /* Primary brand color for hero */
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-resources__dark-bg {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
}

.page-resources__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

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

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

.page-resources__hero-description a {
    color: #ffffff;
    text-decoration: underline;
}
.page-resources__hero-description a:hover {
    color: #EA7C07; /* Login color for hover */
}

.page-resources__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-resources__btn-primary {
    background-color: #EA7C07; /* Login button color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources__btn-primary:hover {
    background-color: #d46a00;
    border-color: #d46a00;
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-resources__btn-tertiary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-resources__btn-tertiary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-resources__cta-buttons--center {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

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

.page-resources__section-title--light {
    color: #ffffff;
}

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

.page-resources__paragraph a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources__paragraph a:hover {
    color: #EA7C07;
}

.page-resources__image-wrapper {
    margin-bottom: 30px;
    text-align: center;
}