/* style/resources.css */

/* --- General Page Styling --- */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background #1a1a2e */
    background-color: transparent; /* Body background from shared.css */
    padding-top: 0; /* Handled by shared.css body padding or first section */
}

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

.page-resources__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-resources__section:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-resources__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-resources__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-resources__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__sub-title {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 20px;
}

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

.page-resources__btn-primary {
    background-color: #C30808; /* Custom Register/Login button color */
    color: #FFFFFF; /* Changed to White for WCAG AA contrast */
    border: 2px solid #C30808;
    margin: 10px;
}

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

.page-resources__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #FFFF00; /* Changed border to yellow for visibility */
    margin: 10px;
}

.page-resources__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
}

.page-resources__btn-link {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    margin-top: 15px;
}

.page-resources__btn-link:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}