/* style/game-strategy-guides.css */
/* 
  Page specific styles for Game Strategy Guides
  BEM naming convention: .page-game-strategy-guides__element-name
  Colors: #E44D26 (primary), #333333 (secondary)
  Body background is #0d0d0d (dark), so text should be light by default.
*/

.page-game-strategy-guides {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-game-strategy-guides__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #333333; /* Dark background for hero */
    color: #ffffff;
}

.page-game-strategy-guides__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly transparent to make text readable */
}

.page-game-strategy-guides__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-game-strategy-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E44D26; /* Brand color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styles */
.page-game-strategy-guides__section-title {
    font-size: 2.5em;
    color: #E44D26;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-game-strategy-guides__introduction-section,
.page-game-strategy-guides__strategy-section,
.page-game-strategy-guides__bankroll-section,
.page-game-strategy-guides__faq-section,
.page-game-strategy-guides__cta-section {
    padding: 60px 0;
}

.page-game-strategy-guides__introduction-section,
.page-game-strategy-guides__strategy-section:nth-of-type(2), /* Casino section */
.page-game-strategy-guides__strategy-section:nth-of-type(4), /* Fishing Games section */
.page-game-strategy-guides__faq-section {
    background-color: #1a1a1a; /* Darker background for contrast with dark-bg sections */
    color: #f0f0f0;
}

.page-game-strategy-guides__dark-bg {
    background-color: #0d0d0d; /* Primary dark background */
    color: #ffffff;
}

.page-game-strategy-guides__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-game-strategy-guides__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

.page-game-strategy-guides__list-item strong {
    color: #E44D26;
}

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

.page-game-strategy-guides__strategy-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
}

.page-game-strategy-guides__strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-strategy-guides__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #E44D26;
}

.page-game-strategy-guides__card-title {
    font-size: 1.5em;
    color: #E44D26;
    padding: 15px 20px 10px;
    margin-top: 0;
}

.page-game-strategy-guides__card-description {
    font-size: 1em;
    color: #cccccc;
    padding: 0 20px 20px;
    flex-grow: 1; /* Ensures cards have equal height */
}

/* Buttons */
.page-game-strategy-guides__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-game-strategy-guides__btn-primary,
.page-game-strategy-guides__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't exceed container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-game-strategy-guides__btn-primary {
    background-color: #E44D26;
    color: #ffffff;
    border: 2px solid #E44D26;
}

.page-game-strategy-guides__btn-primary:hover {
    background-color: #d13c1c;
    border-color: #d13c1c;
}

.page-game-strategy-guides__btn-secondary {
    background-color: transparent;
    color: #E44D26;
    border: 2px solid #E44D26;
}

.page-game-strategy-guides__btn-secondary:hover {
    background-color: #E44D26;
    color: #ffffff;
}

/* FAQ Section */
.page-game-strategy-guides__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-game-strategy-guides__faq-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-game-strategy-guides__faq-question:hover {
    background-color: #444444;
}

.page-game-strategy-guides__faq-title {
    margin: 0;
    color: #E44D26; /* Brand color for FAQ titles */
}

.page-game-strategy-guides__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #E44D26;
}

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-toggle {
    transform: rotate(45deg); /* Plus to X (rotate 45deg) or just change to minus */
    /* content: '−'; Handled by JS */
}

.page-game-strategy-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
}

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
    max-height: 1000px !important; /* Use !important to override potential conflicts */
    padding: 20px;
    padding-top: 0; /* Adjust padding to look better */
}

.page-game-strategy-guides__faq-answer p {
    margin-bottom: 10px;
    color: #cccccc;
}

.page-game-strategy-guides__faq-answer a {
    color: #E44D26;
    text-decoration: underline;
}

.page-game-strategy-guides__faq-answer a:hover {
    color: #d13c1c;
}


/* Call to Action Section */
.page-game-strategy-guides__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #0d0d0d; /* Consistent dark background */
    color: #ffffff;
}

.page-game-strategy-guides__cta-section .page-game-strategy-guides__section-title {
    color: #E44D26;
}

.page-game-strategy-guides__cta-section .page-game-strategy-guides__paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Image specific styles */
.page-game-strategy-guides img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Consistent styling */
    object-fit: cover;
}

/* Ensure content area images are not too small */
.page-game-strategy-guides__strategy-card img {
    min-width: 200px;
    min-height: 200px;
}

/* Text contrast for links within dark sections */
.page-game-strategy-guides__dark-bg a {
    color: #FFD700; /* Golden color for links on dark background */
    text-decoration: underline;
}
.page-game-strategy-guides__dark-bg a:hover {
    color: #e0b800;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-game-strategy-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-strategy-guides__hero-description {
        font-size: 1.1em;
    }
    .page-game-strategy-guides__section-title {
        font-size: 2em;
    }
}

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

    .page-game-strategy-guides__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Important for mobile */
    }

    .page-game-strategy-guides__hero-title {
        font-size: 2.2em;
    }

    .page-game-strategy-guides__hero-description {
        font-size: 1em;
    }

    .page-game-strategy-guides__hero-content {
        padding: 20px;
    }

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

    .page-game-strategy-guides__introduction-section,
    .page-game-strategy-guides__strategy-section,
    .page-game-strategy-guides__bankroll-section,
    .page-game-strategy-guides__faq-section,
    .page-game-strategy-guides__cta-section {
        padding: 40px 0;
    }

    .page-game-strategy-guides__container {
        padding: 0 15px; /* Add padding to prevent content touching edges */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-strategy-guides__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-game-strategy-guides__card-title {
        font-size: 1.3em;
    }

    /* Mobile image responsiveness */
    .page-game-strategy-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile button responsiveness */
    .page-game-strategy-guides__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button group */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-strategy-guides__btn-primary,
    .page-game-strategy-guides__btn-secondary {
        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;
    }

    /* FAQ mobile adjustments */
    .page-game-strategy-guides__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-game-strategy-guides__faq-title {
        font-size: 1em;
    }
    .page-game-strategy-guides__faq-answer {
        padding: 0 15px;
    }
    .page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .page-game-strategy-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-strategy-guides__section-title {
        font-size: 1.5em;
    }
}

/* Ensure no small images are generated by mistake */
.page-game-strategy-guides__card-image {
    min-width: 200px;
    min-height: 200px;
}