.page-resources {
    color: #ffffff; /* Default text color for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

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

.page-resources__dark-bg {
    background-color: #1a1a2e; /* Inherit from body or a slightly different dark tone */
    color: #ffffff;
}

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

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

.page-resources__content-subtitle {
    font-size: 1.6em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources__text {
    font-size: 1em;
    margin-bottom: 15px;
    color: #f0f0f0;
    text-align: left;
}

.page-resources__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    text-align: left;
    color: #f0f0f0;
}

.page-resources__list li {
    margin-bottom: 10px;
}

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: linear-gradient(135deg, #1a1a2e, #0f1c2c);
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:1920x1080:abstract,geometric,patterns,subtle,blue_gradient]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero-section .page-resources__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    text-align: left;
}

.page-resources__hero-content {
    flex: 1;
    max-width: 60%;
}

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

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

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

.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;
    box-sizing: border-box;
    text-align: center;
}

.page-resources__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

.page-resources__hero-image-wrapper {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
}

.page-resources__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-resources__introduction .page-resources__container {
    padding-top: 0; /* Adjust if header offset is already applied to main */
}

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

.page-resources__content-block {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Types Section */
.page-resources__types {
    background-color: #0f1c2c;
    padding: 80px 0;
}

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

.page-resources__card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #ffffff;
}

.page-resources__card-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources__card-text {
    color: #e0e0e0;
    font-size: 0.95em;
}

/* Download Section */
.page-resources__download {
    background-color: #1a1a2e;
}

.page-resources__download-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-resources__download-steps {
    flex: 1;
    max-width: 60%;
}

.page-resources__download-image-wrapper {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
}

.page-resources__download-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__inline-link {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources__inline-link:hover {
    color: #1e87c0;
}

/* Strategies Section */
.page-resources__strategies {
    background-color: #0f1c2c;
}

.page-resources__strategies .page-resources__content-grid {
    grid-template-columns: 1fr 0.8fr 1fr;
    align-items: center;
}

.page-resources__strategy-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Choice Section */
.page-resources__choice {
    background-color: #1a1a2e;
}

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

.page-resources__choice .page-resources__card {
    padding: 25px;
    justify-content: flex-start;
    text-align: left;
}

.page-resources__card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(1.2);
}

/* FAQ Section */
.page-resources__faq {
    background-color: #0f1c2c;
}

.page-resources__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-resources__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-resources__faq-title {
    margin: 0;
    color: #ffffff;
}

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

.page-resources__faq-item.active .page-resources__faq-toggle {
    transform: rotate(45deg);
}

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

.page-resources__faq-item.active .page-resources__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources__faq-answer p {
    margin-bottom: 0;
    text-align: left;
}

/* Conclusion Section */
.page-resources__conclusion {
    background-color: #1a1a2e;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-section .page-resources__container {
        flex-direction: column;
        text-align: center;
    }

    .page-resources__hero-content,
    .page-resources__hero-image-wrapper,
    .page-resources__download-steps,
    .page-resources__download-image-wrapper {
        max-width: 100%;
    }

    .page-resources__hero-actions {
        justify-content: center;
    }

    .page-resources__download-content {
        flex-direction: column-reverse;
    }

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

@media (max-width: 768px) {
    .page-resources {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources__section {
        padding: 40px 0;
    }

    .page-resources__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-resources__content-grid,
    .page-resources__card-grid,
    .page-resources__choice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources__content-block,
    .page-resources__card {
        padding: 20px;
    }

    .page-resources__hero-image,
    .page-resources__download-image,
    .page-resources__strategy-image,
    .page-resources__card-icon,
    .page-resources img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources__section,
    .page-resources__card,
    .page-resources__container,
    .page-resources__hero-section .page-resources__container,
    .page-resources__download-content,
    .page-resources__download-steps,
    .page-resources__download-image-wrapper,
    .page-resources__strategies .page-resources__content-grid,
    .page-resources__choice-grid,
    .page-resources__faq-list,
    .page-resources__faq-item,
    .page-resources__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-resources__btn-primary,
    .page-resources__btn-secondary,
    .page-resources a[class*="button"],
    .page-resources a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

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

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

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