/* style/resources-online-entertainment-platform-selection-strategy.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-button-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --light-bg: #f8f8f8; /* A slightly off-white for contrast on pure white */
    --dark-bg-element: rgba(0, 0, 0, 0.2); /* For elements on dark background */
}

.page-resources-online-entertainment-platform-selection-strategy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color); /* Default to white if body is light, will be overridden by shared.css body background */
}

.page-resources-online-entertainment-platform-selection-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-online-entertainment-platform-selection-strategy__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjusted padding-top to account for header-offset */
    text-align: center;
    color: var(--text-light);
    background-color: var(--primary-color);
    background-image: url('[GALLERY:hero:1920x1080:gacam67,online_platform,selection_strategy,abstract_green_bg]');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.page-resources-online-entertainment-platform-selection-strategy__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.page-resources-online-entertainment-platform-selection-strategy__hero-section > .page-resources-online-entertainment-platform-selection-strategy__container {
    position: relative;
    z-index: 2;
}

.page-resources-online-entertainment-platform-selection-strategy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-resources-online-entertainment-platform-selection-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

.page-resources-online-entertainment-platform-selection-strategy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-online-entertainment-platform-selection-strategy__btn-primary,
.page-resources-online-entertainment-platform-selection-strategy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-online-entertainment-platform-selection-strategy__btn-primary {
    background-color: var(--register-login-button-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-login-button-color);
}

.page-resources-online-entertainment-platform-selection-strategy__btn-primary:hover {
    background-color: darken(var(--register-login-button-color), 10%);
    border-color: darken(var(--register-login-button-color), 10%);
}

.page-resources-online-entertainment-platform-selection-strategy__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-online-entertainment-platform-selection-strategy__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* General Content Sections */
.page-resources-online-entertainment-platform-selection-strategy__content-area {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-online-entertainment-platform-selection-strategy__dark-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-online-entertainment-platform-selection-strategy__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
    font-weight: bold;
}

.page-resources-online-entertainment-platform-selection-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid for Features/Cards */
.page-resources-online-entertainment-platform-selection-strategy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-entertainment-platform-selection-strategy__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-resources-online-entertainment-platform-selection-strategy__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-entertainment-platform-selection-strategy__card-image {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.page-resources-online-entertainment-platform-selection-strategy__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-online-entertainment-platform-selection-strategy__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* List Styles */
.page-resources-online-entertainment-platform-selection-strategy__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources-online-entertainment-platform-selection-strategy__list-item {
    background-color: var(--dark-bg-element);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-resources-online-entertainment-platform-selection-strategy__list-item:last-child {
    margin-bottom: 0;
}

.page-resources-online-entertainment-platform-selection-strategy__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-resources-online-entertainment-platform-selection-strategy__list-item p {
    font-size: 1em;
    color: var(--text-light);
}

.page-resources-online-entertainment-platform-selection-strategy__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-entertainment-platform-selection-strategy__numbered-list .page-resources-online-entertainment-platform-selection-strategy__list-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.page-resources-online-entertainment-platform-selection-strategy__numbered-list .page-resources-online-entertainment-platform-selection-strategy__list-item .page-resources-online-entertainment-platform-selection-strategy__list-title {
    color: var(--primary-color);
}

.page-resources-online-entertainment-platform-selection-strategy__numbered-list .page-resources-online-entertainment-platform-selection-strategy__list-item p {
    color: var(--text-dark);
}

/* Highlight Grid */
.page-resources-online-entertainment-platform-selection-strategy__highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-entertainment-platform-selection-strategy__highlight-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-resources-online-entertainment-platform-selection-strategy__highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-online-entertainment-platform-selection-strategy__highlight-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-resources-online-entertainment-platform-selection-strategy__highlight-item h3,
.page-resources-online-entertainment-platform-selection-strategy__highlight-item p {
    padding: 0 25px;
}

.page-resources-online-entertainment-platform-selection-strategy__highlight-title {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-online-entertainment-platform-selection-strategy__highlight-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* CTA Section */
.page-resources-online-entertainment-platform-selection-strategy__cta-section {
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-online-entertainment-platform-selection-strategy__cta-text {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section */
.page-resources-online-entertainment-platform-selection-strategy__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-online-entertainment-platform-selection-strategy__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-entertainment-platform-selection-strategy__faq-item {
    background-color: var(--dark-bg-element);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-online-entertainment-platform-selection-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-online-entertainment-platform-selection-strategy__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.page-resources-online-entertainment-platform-selection-strategy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-online-entertainment-platform-selection-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--secondary-color);
}

.page-resources-online-entertainment-platform-selection-strategy__faq-item.active .page-resources-online-entertainment-platform-selection-strategy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-resources-online-entertainment-platform-selection-strategy__faq-item.active .page-resources-online-entertainment-platform-selection-strategy__faq-toggle {
    transform: rotate(45deg);
}

/* Color Contrast Fixes (if needed, applied via JS or manual) */
.page-resources-online-entertainment-platform-selection-strategy__dark-bg {
    color: var(--text-light); /* Deep background, light text */
}

.page-resources-online-entertainment-platform-selection-strategy__light-bg {
    color: var(--text-dark); /* Light background, dark text */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-entertainment-platform-selection-strategy__hero-title {
        font-size: 2.8em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__hero-description {
        font-size: 1.1em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__section-title {
        font-size: 2em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__card-image {
        max-width: 200px;
    }
    .page-resources-online-entertainment-platform-selection-strategy__highlight-image {
        height: 200px;
    }
}

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

    .page-resources-online-entertainment-platform-selection-strategy__hero-section {
        padding: 80px 0 60px;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-online-entertainment-platform-selection-strategy__hero-title {
        font-size: 2.2em;
    }

    .page-resources-online-entertainment-platform-selection-strategy__hero-description {
        font-size: 1em;
    }

    .page-resources-online-entertainment-platform-selection-strategy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__btn-primary,
    .page-resources-online-entertainment-platform-selection-strategy__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-online-entertainment-platform-selection-strategy__content-area,
    .page-resources-online-entertainment-platform-selection-strategy__dark-section,
    .page-resources-online-entertainment-platform-selection-strategy__faq-section {
        padding: 40px 0;
    }

    .page-resources-online-entertainment-platform-selection-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__paragraph {
        font-size: 0.95em;
    }

    .page-resources-online-entertainment-platform-selection-strategy__grid,
    .page-resources-online-entertainment-platform-selection-strategy__highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__card,
    .page-resources-online-entertainment-platform-selection-strategy__highlight-item {
        padding: 20px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__highlight-image {
        height: 180px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__list-item {
        padding: 20px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__list-title {
        font-size: 1.1em;
    }

    .page-resources-online-entertainment-platform-selection-strategy__cta-text {
        font-size: 1.1em;
    }

    .page-resources-online-entertainment-platform-selection-strategy__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__faq-answer {
        padding: 0 20px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__faq-item.active .page-resources-online-entertainment-platform-selection-strategy__faq-answer {
        padding: 10px 20px 20px;
    }

    /* Mobile image responsive adaptations */
    .page-resources-online-entertainment-platform-selection-strategy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-online-entertainment-platform-selection-strategy__section,
    .page-resources-online-entertainment-platform-selection-strategy__card,
    .page-resources-online-entertainment-platform-selection-strategy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-online-entertainment-platform-selection-strategy__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Ensure content area does not overflow */
    .page-resources-online-entertainment-platform-selection-strategy__content-area,
    .page-resources-online-entertainment-platform-selection-strategy__dark-section,
    .page-resources-online-entertainment-platform-selection-strategy__faq-section {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-resources-online-entertainment-platform-selection-strategy__hero-title {
        font-size: 1.8em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__section-title {
        font-size: 1.5em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__card-title {
        font-size: 1.2em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__highlight-title {
        font-size: 1.3em;
    }
    .page-resources-online-entertainment-platform-selection-strategy__cta-text {
        font-size: 1em;
    }
}