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

/* Fixed Header Offset for the first section */
.page-resources__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Sections */
.page-resources__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-resources__section:nth-of-type(even) {
    background-color: #f8f8f8;
}

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

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

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

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

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

.page-resources__paragraph--light {
    color: #f0f0f0;
}

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

.page-resources__link-text:hover {
    color: #1a7fb3;
}

/* Hero Section */
.page-resources__hero-section {
    background-color: #26A9E0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.page-resources__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 15px;
}

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

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

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

.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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-resources__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-resources__btn-center {
    display: block;
    margin: 30px auto 0 auto;
    max-width: 300px;
}

.page-resources__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: none; /* No filter for images */
}

/* Images */
.page-resources__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 8px;
    filter: none; /* No filter for images */
    min-width: 200px;
    min-height: 200px;
}

/* Lists */
.page-resources__ordered-list,
.page-resources__unordered-list {
    margin-bottom: 20px;
    padding-left: 25px;
    color: #333333;
}

.page-resources__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Game Grid */
.page-resources__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources__game-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333;
}

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

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

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

.page-resources__card-title a:hover {
    text-decoration: underline;
}

.page-resources__card-description {
    font-size: 1em;
    color: #555555;
}

/* Download Options */
.page-resources__download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Dark Background Section */
.page-resources__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 60px 20px;
    border-radius: 10px;
    text-align: center;
}

.page-resources__dark-bg .page-resources__link-text {
    color: #ffffff;
    text-decoration: underline;
}

.page-resources__dark-bg .page-resources__link-text:hover {
    color: #f0f0f0;
}

/* Video Section */
.page-resources__video-section {
    background-color: #f8f8f8;
}

.page-resources__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    background-color: #000; /* Placeholder background */
}

.page-resources__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-resources__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; /* No filter for video poster */
}

/* FAQ Section */
.page-resources__faq-list {
    margin-top: 40px;
}

.page-resources__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-resources__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
    background-color: #e0e0e0;
}

.page-resources__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
    font-weight: bold;
}

.page-resources__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

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

.page-resources__faq-item.active .page-resources__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 20px 25px;
}

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

/* CTA Section */
.page-resources__cta-section {
    padding: 80px 20px;
    background-color: #26A9E0;
    text-align: center;
}

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

/* Copyright */
.page-resources__copyright {
    text-align: center;
    padding: 30px 20px;
    background-color: #333333;
    color: #ffffff;
    font-size: 0.9em;
}

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

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__sub-title {
        font-size: 1.5em;
    }
    .page-resources__paragraph,
    .page-resources__list-item,
    .page-resources__card-description {
        font-size: 1em;
    }
    .page-resources__faq-title {
        font-size: 1.1em;
    }

    .page-resources__section,
    .page-resources__dark-bg,
    .page-resources__copyright {
        padding: 40px 15px;
    }

    .page-resources img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources__image-full {
        min-width: unset !important;
        min-height: unset !important;
    }

    .page-resources video,
    .page-resources__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        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__hero-buttons,
    .page-resources__download-options,
    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-resources__btn-center {
        max-width: 100%;
    }

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

    .page-resources__container {
        padding: 0 15px;
    }
    .page-resources__faq-question,
    .page-resources__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources__faq-item.active .page-resources__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__hero-section {
        min-height: 350px;
    }
}

.page-resources img, .page-resources video {
    filter: none !important;
}