/* style/resources-latest-game-strategies.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register-login: #C30808;
    --button-text-register-login: #FFFF00;
    --background-light: #FFFFFF;
}

.page-resources-latest-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-resources-latest-game-strategies__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), #005a2e);
    color: var(--text-light);
    overflow: hidden;
}

.page-resources-latest-game-strategies__hero-content {
    z-index: 10;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-resources-latest-game-strategies__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-latest-game-strategies__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-latest-game-strategies__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-resources-latest-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-resources-latest-game-strategies__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-resources-latest-game-strategies__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-latest-game-strategies__text-block {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
}

.page-resources-latest-game-strategies__text-block p {
    margin-bottom: 15px;
}

.page-resources-latest-game-strategies__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-latest-game-strategies__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-resources-latest-game-strategies__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-latest-game-strategies__list strong {
    color: var(--primary-color);
}

.page-resources-latest-game-strategies__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-game-strategies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-latest-game-strategies__card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-latest-game-strategies__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-game-strategies__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-latest-game-strategies__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-latest-game-strategies__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-resources-latest-game-strategies__card-title a:hover {
    text-decoration: underline;
}

.page-resources-latest-game-strategies__card p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-resources-latest-game-strategies__game-strategies {
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.page-resources-latest-game-strategies__strategy-item {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-resources-latest-game-strategies__strategy-subtitle {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-latest-game-strategies__strategy-item p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: justify;
}

.page-resources-latest-game-strategies__cta-section {
    background: linear-gradient(90deg, #005a2e, var(--primary-color));
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-game-strategies__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-resources-latest-game-strategies__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-latest-game-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-latest-game-strategies__btn-primary,
.page-resources-latest-game-strategies__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, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-resources-latest-game-strategies__btn-primary {
    background-color: var(--button-register-login);
    color: var(--button-text-register-login);
    border: 2px solid var(--button-register-login);
}

.page-resources-latest-game-strategies__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-3px);
}

.page-resources-latest-game-strategies__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-latest-game-strategies__btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

.page-resources-latest-game-strategies__faq-container {
    max-width: 900px;
    margin: 40px auto 60px auto;
}

.page-resources-latest-game-strategies__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-resources-latest-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-latest-game-strategies__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-resources-latest-game-strategies__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-resources-latest-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px;
}

.page-resources-latest-game-strategies__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.7;
}

.page-resources-latest-game-strategies__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-latest-game-strategies__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--button-register-login);
    color: var(--button-text-register-login);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-resources-latest-game-strategies__floating-cta:hover {
    background-color: #a30606;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-latest-game-strategies__hero-title {
        font-size: 2.8em;
    }

    .page-resources-latest-game-strategies__section-title {
        font-size: 2em;
    }
}

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

    .page-resources-latest-game-strategies__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-latest-game-strategies__hero-title {
        font-size: 2.2em;
    }

    .page-resources-latest-game-strategies__hero-description {
        font-size: 1em;
    }

    .page-resources-latest-game-strategies__content-area {
        padding: 40px 15px;
    }

    .page-resources-latest-game-strategies__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-latest-game-strategies__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-resources-latest-game-strategies__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-latest-game-strategies__card {
        padding: 20px;
    }

    .page-resources-latest-game-strategies__card-image {
        height: 180px;
    }

    .page-resources-latest-game-strategies__card-title {
        font-size: 1.3em;
    }

    .page-resources-latest-game-strategies__strategy-item {
        padding: 20px;
    }

    .page-resources-latest-game-strategies__strategy-subtitle {
        font-size: 1.5em;
    }

    .page-resources-latest-game-strategies__cta-section {
        padding: 40px 15px;
    }

    .page-resources-latest-game-strategies__cta-title {
        font-size: 2em;
    }

    .page-resources-latest-game-strategies__cta-description {
        font-size: 1em;
    }

    .page-resources-latest-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-latest-game-strategies__btn-primary,
    .page-resources-latest-game-strategies__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-latest-game-strategies__faq-question {
        padding: 15px 20px;
    }

    .page-resources-latest-game-strategies__faq-question h3 {
        font-size: 1.1em;
    }

    .page-resources-latest-game-strategies__faq-answer {
        padding: 0 20px;
    }

    .page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-latest-game-strategies__floating-cta {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 0.9em;
    }

    /* Mobile image responsiveness */
    .page-resources-latest-game-strategies img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-latest-game-strategies__hero-image-wrapper,
    .page-resources-latest-game-strategies__content-area,
    .page-resources-latest-game-strategies__grid,
    .page-resources-latest-game-strategies__card,
    .page-resources-latest-game-strategies__text-block,
    .page-resources-latest-game-strategies__game-strategies,
    .page-resources-latest-game-strategies__strategy-item,
    .page-resources-latest-game-strategies__cta-section,
    .page-resources-latest-game-strategies__faq-container,
    .page-resources-latest-game-strategies__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Handled by parent sections */
        /* padding-right: 15px; */ /* Handled by parent sections */
        overflow: hidden !important;
    }

    /* Specific override for content padding if needed for inner blocks */
    .page-resources-latest-game-strategies__text-block,
    .page-resources-latest-game-strategies__game-strategies,
    .page-resources-latest-game-strategies__faq-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure all content images meet min size */
    .page-resources-latest-game-strategies__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-resources-latest-game-strategies__card-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

/* Color Contrast Fixes */
.page-resources-latest-game-strategies__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-latest-game-strategies__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-latest-game-strategies__hero-title,
.page-resources-latest-game-strategies__hero-description {
    color: var(--text-light);
}

.page-resources-latest-game-strategies__cta-title,
.page-resources-latest-game-strategies__cta-description {
    color: var(--text-light);
}

.page-resources-latest-game-strategies__floating-cta {
    color: var(--button-text-register-login);
}

.page-resources-latest-game-strategies__section-title,
.page-resources-latest-game-strategies__card-title a,
.page-resources-latest-game-strategies__strategy-subtitle,
.page-resources-latest-game-strategies__faq-question h3,
.page-resources-latest-game-strategies__faq-toggle {
    color: var(--primary-color);
}

.page-resources-latest-game-strategies__text-block p,
.page-resources-latest-game-strategies__list li,
.page-resources-latest-game-strategies__card p,
.page-resources-latest-game-strategies__strategy-item p,
.page-resources-latest-game-strategies__faq-answer p {
    color: var(--text-dark);
}

/* Ensure all images are large enough in content area */
.page-resources-latest-game-strategies__hero-image,
.page-resources-latest-game-strategies__card-image,
.page-resources-latest-game-strategies__content-image {
    min-width: 200px;
    min-height: 200px;
}

/* CSS for sticky CTA at the bottom */
.page-resources-latest-game-strategies__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--button-register-login);
    color: var(--button-text-register-login);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 280px; /* Limit width on desktop */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .page-resources-latest-game-strategies__floating-cta {
        left: 15px;
        right: 15px;
        width: auto; /* Allow full width */
        max-width: none; /* Remove max-width on mobile */
        bottom: 15px;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}