.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #121212;
}

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

.page-resources__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #26A9E0, #121212);
    color: #ffffff;
}

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

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

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

.page-resources__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-resources__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-resources__hero-image-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-resources__intro-section,
.page-resources__download-guide-section,
.page-resources__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

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

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

.page-resources__why-tf88-section,
.page-resources__experience-section,
.page-resources__cta-section {
    padding: 60px 0;
    background-color: #121212;
    color: #ffffff;
}

.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.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

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

.page-resources__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-resources__btn-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-resources__btn-link:hover {
    color: #1a8cc2;
}

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

.page-resources__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

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

.page-resources__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-resources__content-block {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    color: #ffffff;
}

.page-resources__content-block h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-resources__content-block ul {
    list-style: none;
    padding: 0;
}

.page-resources__content-block li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #f0f0f0;
}

.page-resources__content-block li::before {
    content: '•';
    color: #26A9E0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-resources__image-center {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-resources__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    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-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-resources__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-resources__faq-item[open] .page-resources__faq-toggle {
    content: '−';
}

.page-resources__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.8;
}

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

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

/* Base styles for images */
.page-resources img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive styles for general content containers */
@media (max-width: 768px) {
    .page-resources {
        font-size: 16px;
        line-height: 1.6;
    }

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

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

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

    .page-resources__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-resources__paragraph {
        font-size: 0.95em;
        text-align: left;
    }

    .page-resources__card-grid,
    .page-resources__download-steps,
    .page-resources__content-grid {
        grid-template-columns: 1fr;
    }

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

    .page-resources__card-title,
    .page-resources__step-title,
    .page-resources__content-block h4 {
        font-size: 1.3em;
    }

    .page-resources__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image responsiveness */
    .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__cta-group,
    .page-resources__hero-section,
    .page-resources__intro-section,
    .page-resources__why-tf88-section,
    .page-resources__download-guide-section,
    .page-resources__experience-section,
    .page-resources__faq-section,
    .page-resources__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-resources__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Example for video section if it were first */
    }
}

/* Ensure all images meet minimum size requirements for content display */
.page-resources__card-image,
.page-resources__hero-image,
.page-resources__image-center,
.page-resources img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}