/* style/game-guides.css */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure main content background matches body for consistency */
}

/* Fixed Header Offset */
.page-game-guides__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first visible section */
}

.page-game-guides__section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-game-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Adjust padding for inner content area */
}

.page-game-guides__dark-section {
    background-color: #000000; /* Explicitly dark background for contrast sections */
    color: #ffffff;
}

.page-game-guides__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background cards */
}

.page-game-guides__text-center {
    text-align: center;
}

.page-game-guides__main-title {
    font-size: 3em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-game-guides__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for main section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-guides__section-title--light {
    color: #ffffff; /* White color for titles on dark background sections */
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-guides__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: #ffffff; /* Default paragraph color */
}

.page-game-guides__paragraph--light {
    color: #ffffff; /* Ensure white text on dark sections */
}

.page-game-guides__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #ffffff; /* Default list color */
}

.page-game-guides__list--light {
    color: #ffffff; /* Ensure white text on dark sections */
}

.page-game-guides__list-item {
    margin-bottom: 10px;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    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;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    text-align: center;
}

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

.page-game-guides__btn-primary:hover {
    background-color: #1a7bb7;
    border-color: #1a7bb7;
}

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

.page-game-guides__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-game-guides__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-game-guides__image,
.page-game-guides__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-image-wrapper {
    margin-top: 40px;
}

/* Grid for game guides cards */
.page-game-guides__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__card {
    background-color: #ffffff; /* White background for cards */
    color: #333333; /* Dark text for cards */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    display: block;
}

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

.page-game-guides__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
    color: #1a7bb7;
}

.page-game-guides__card-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow text to grow and push link to bottom */
}

.page-game-guides__card-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px 15px 15px;
    transition: color 0.3s ease;
    margin-top: auto; /* Push link to the bottom */
}

.page-game-guides__card-link:hover {
    color: #1a7bb7;
}

/* FAQ Section */
.page-game-guides__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for FAQ items on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff; /* Light text for FAQ items */
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker background for question */
    transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-game-guides__faq-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
}

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

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

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content, !important for priority */
    padding: 15px 20px;
}

.page-game-guides__faq-answer .page-game-guides__paragraph {
    margin-bottom: 0;
}

.page-game-guides__link--light {
    color: #26A9E0; /* Brand color for links on dark background */
    text-decoration: underline;
    font-weight: bold;
}

.page-game-guides__link--light:hover {
    color: #1a7bb7;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: 2.5em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
    }
    .page-game-guides__main-title {
        font-size: 2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__sub-title {
        font-size: 1.5em;
    }
    .page-game-guides__section {
        padding: 40px 15px;
    }
    .page-game-guides__content-area {
        padding: 0 15px;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__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-game-guides__image,
    .page-game-guides__hero-image,
    .page-game-guides__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-guides__grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-game-guides__faq-title {
        font-size: 1em;
    }
    .page-game-guides__faq-answer {
        padding: 0 15px;
    }
    .page-game-guides__faq-item.active .page-game-guides__faq-answer {
        padding: 15px !important;
    }
    /* Ensure content containers don't cause overflow */
    .page-game-guides__section,
    .page-game-guides__hero-section,
    .page-game-guides__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* Global image styles as per requirement to prevent small images */
.page-game-guides img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images cover their area without distorting */
}