.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Sections */
.page-resources__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-resources__dark-section {
    background-color: #1A202C; /* Brand main color for dark sections */
    color: #ffffff;
}

.page-resources__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* For image positioning */
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background */
}

.page-resources__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources__hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-resources__text-block {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #ffffff;
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources__btn-primary {
    background-color: #FFD700; /* Gold for primary action */
    color: #1A202C; /* Dark text on gold */
}

.page-resources__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text with gold border */
    border-color: #FFD700;
}

.page-resources__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

.page-resources__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-resources__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Cards */
.page-resources__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff; /* Light text for cards */
}

.page-resources__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    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.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFD700; /* Gold for card titles */
}

.page-resources__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-resources__card-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-resources__card-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
    transition: color 0.3s ease;
}

.page-resources__card-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* News Grid */
.page-resources__news-grid,
.page-resources__guide-grid,
.page-resources__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Info Items (for security section) */
.page-resources__info-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.page-resources__info-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources__info-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-resources__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-resources__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-resources__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: #FFD700;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question h3 {
    margin: 0;
    color: #FFD700;
}

.page-resources__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-resources__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px 25px 25px; /* Adjust padding when open */
}

.page-resources__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-resources__faq-link {
    display: inline-block;
    margin-top: 10px;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__faq-link:hover {
    text-decoration: underline;
    color: #e6c200;
}


/* Final CTA */
.page-resources__cta-final {
    padding: 80px 0;
    background-color: #1A202C; /* Main brand color */
    color: #ffffff;
}

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