/* style/news-game-reviews.css */

/* Base styles for the page content */
.page-news-game-reviews {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherit from shared, assuming dark */
}

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

.page-news-game-reviews__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news-game-reviews__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

/* Hero Section */
.page-news-game-reviews__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0; /* Assuming shared.css handles body padding-top: var(--header-offset) */
    min-height: 600px;
    background-color: #017439; /* Brand green background for hero */
    overflow: hidden;
}

.page-news-game-reviews__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    color: #ffffff;
}

.page-news-game-reviews__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-news-game-reviews__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-news-game-reviews__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-news-game-reviews__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Subtle background image */
}

.page-news-game-reviews__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.page-news-game-reviews__btn-primary,
.page-news-game-reviews__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-news-game-reviews__btn-primary {
    background-color: #C30808; /* Register/Login red */
    color: #FFFF00; /* Register/Login yellow font */
    border: 2px solid #C30808;
}

.page-news-game-reviews__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

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

.page-news-game-reviews__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-news-game-reviews__btn-text {
    color: #FFFF00; /* Yellow for text links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news-game-reviews__btn-text:hover {
    color: #e02020;
}

/* Introduction Section */
.page-news-game-reviews__introduction-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff;
}

/* Game Categories Section */
.page-news-game-reviews__game-categories-section {
    padding: 60px 0;
    background-color: #017439; /* Brand green background */
    color: #ffffff;
}

.page-news-game-reviews__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-news-game-reviews__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for card background */
    border-radius: 12px;
    overflow: hidden;
    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;
}

.page-news-game-reviews__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-game-reviews__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #017439;
}

.page-news-game-reviews__game-card-title {
    font-size: 1.5em;
    margin: 15px 15px 10px;
    color: #FFFF00; /* Yellow for card titles */
}

.page-news-game-reviews__game-card-title a {
    color: inherit; /* Inherit yellow color */
    text-decoration: none;
}

.page-news-game-reviews__game-card-title a:hover {
    text-decoration: underline;
}

.page-news-game-reviews__game-card-description {
    font-size: 1em;
    padding: 0 15px 15px;
    flex-grow: 1;
    color: #f0f0f0;
}

/* Criteria Section (Dark background) */
.page-news-game-reviews__criteria-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff;
}

.page-news-game-reviews__dark-section {
    background-color: var(--dark-bg-1); /* Ensuring dark background */
    color: #ffffff; /* Ensuring light text */
}

.page-news-game-reviews__criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-game-reviews__criteria-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-news-game-reviews__criteria-heading {
    font-size: 1.3em;
    color: #FFFF00; /* Yellow for criteria headings */
    margin-bottom: 10px;
}

.page-news-game-reviews__criteria-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Tips Section */
.page-news-game-reviews__tips-section {
    padding: 60px 0;
    background-color: #017439; /* Brand green background */
    color: #ffffff;
}

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

.page-news-game-reviews__tip-card {
    background-color: rgba(0, 0, 0, 0.2); /* Darker transparent background for tips */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-news-game-reviews__tip-title {
    font-size: 1.4em;
    color: #FFFF00; /* Yellow for tip titles */
    margin-bottom: 10px;
}

.page-news-game-reviews__tip-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* FAQ Section */
.page-news-game-reviews__faq-section {
    padding: 60px 0;
    background-color: var(--dark-bg-1); /* Dark background */
    color: #ffffff;
}

.page-news-game-reviews__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-news-game-reviews__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-news-game-reviews__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    background-color: #017439; /* Brand green for question background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-game-reviews__faq-question:hover {
    background-color: #016330;
}

.page-news-game-reviews__faq-heading {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Ensure heading size is controlled by parent */
}

.page-news-game-reviews__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow for toggle icon */
}

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

.page-news-game-reviews__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter transparent background for answer */
}

.page-news-game-reviews__faq-item.active .page-news-game-reviews__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px 25px;
}

.page-news-game-reviews__faq-answer p {
    margin-bottom: 15px;
    color: inherit;
}

/* Call to Action Section */
.page-news-game-reviews__cta-section {
    padding: 80px 0;
    background-color: #017439; /* Brand green background */
    color: #ffffff;
    text-align: center;
}

.page-news-game-reviews__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-news-game-reviews__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Image specific styles - GLOBAL RULES (no filter, min size 200px) */
.page-news-game-reviews img {
    filter: none; /* Ensure no CSS filter is applied */
    min-width: 200px; /* Minimum width */
    min-height: 200px; /* Minimum height */
    max-width: 100%; /* Default responsive behavior */
    height: auto; /* Default responsive behavior */
    object-fit: cover; /* Common for content images */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-game-reviews__hero-title {
        font-size: 2.8em;
    }
    .page-news-game-reviews__hero-description {
        font-size: 1.2em;
    }
    .page-news-game-reviews__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-news-game-reviews__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Fixed header offset for main content on mobile if not handled by shared */
    /* Assuming shared.css handles body { padding-top: var(--header-offset); } */
    /* If not, then .page-news-game-reviews should have it */
    .page-news-game-reviews__hero-section {
        padding-top: var(--header-offset, 120px); /* Apply offset here if needed */
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .page-news-game-reviews__hero-content {
        padding: 30px 20px;
    }

    .page-news-game-reviews__hero-title {
        font-size: 2.2em;
    }

    .page-news-game-reviews__hero-description {
        font-size: 1.1em;
    }

    .page-news-game-reviews__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Force full width for buttons on mobile */
    .page-news-game-reviews__btn-primary,
    .page-news-game-reviews__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news-game-reviews__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-news-game-reviews__text-block {
        font-size: 1em;
    }

    .page-news-game-reviews__game-grid,
    .page-news-game-reviews__criteria-list,
    .page-news-game-reviews__tips-grid {
        grid-template-columns: 1fr;
    }

    .page-news-game-reviews__game-card-image {
        height: 180px;
    }

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

    .page-news-game-reviews__faq-item.active .page-news-game-reviews__faq-answer {
        padding: 15px 20px;
    }

    /* Image responsive rules for mobile */
    .page-news-game-reviews img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-game-reviews__section,
    .page-news-game-reviews__card,
    .page-news-game-reviews__container,
    .page-news-game-reviews__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video responsive rules for mobile - if any video elements were present */
    .page-news-game-reviews video,
    .page-news-game-reviews__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-game-reviews__video-section,
    .page-news-game-reviews__video-container,
    .page-news-game-reviews__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-news-game-reviews__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-news-game-reviews__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Button container mobile adaptations */
    .page-news-game-reviews__cta-buttons,
    .page-news-game-reviews__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}