/* style/fishing-games-high-score-strategy.css */

/* Base styles for the page content */
.page-fishing-games-high-score-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background color */
}

/* Sections */
.page-fishing-games-high-score-strategy__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games-high-score-strategy__dark-section {
    background-color: #08160F; /* Ensure dark background */
    color: #F2FFF6; /* Light text for dark background */
}

.page-fishing-games-high-score-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-fishing-games-high-score-strategy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F;
    overflow: hidden;
}

.page-fishing-games-high-score-strategy__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games-high-score-strategy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games-high-score-strategy__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    position: relative; /* Ensure content is below image */
    z-index: 1;
    color: #F2FFF6;
}

.page-fishing-games-high-score-strategy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-fishing-games-high-score-strategy__hero-description {
    font-size: 1.2rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Titles */
.page-fishing-games-high-score-strategy__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Gold */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-fishing-games-high-score-strategy__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #F2FFF6; /* Text Main */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Text blocks */
.page-fishing-games-high-score-strategy__text-block {
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    text-align: left;
}

.page-fishing-games-high-score-strategy__list {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 20px;
    text-align: left;
    color: #F2FFF6; /* Text Main */
}

.page-fishing-games-high-score-strategy__list-item {
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

/* Buttons */
.page-fishing-games-high-score-strategy__btn-primary,
.page-fishing-games-high-score-strategy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure word breaks */
}

.page-fishing-games-high-score-strategy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-high-score-strategy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-fishing-games-high-score-strategy__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Button color for text */
    border: 2px solid #2AD16F; /* Button color for border */
    margin-left: 20px;
}

.page-fishing-games-high-score-strategy__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    border-color: #2AD16F;
}

/* Card Grid */
.page-fishing-games-high-score-strategy__card-grid,
.page-fishing-games-high-score-strategy__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-fishing-games-high-score-strategy__card,
.page-fishing-games-high-score-strategy__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main */
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

.page-fishing-games-high-score-strategy__card-image,
.page-fishing-games-high-score-strategy__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-fishing-games-high-score-strategy__card-title,
.page-fishing-games-high-score-strategy__promo-title {
    font-size: 1.4rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.page-fishing-games-high-score-strategy__card-text,
.page-fishing-games-high-score-strategy__promo-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1; /* Push button to bottom */
    text-align: left;
}

.page-fishing-games-high-score-strategy__promo-card .page-fishing-games-high-score-strategy__btn-secondary {
    margin-top: 20px;
    margin-left: 0;
}

/* FAQ Section */
.page-fishing-games-high-score-strategy__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games-high-score-strategy__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-fishing-games-high-score-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: #F2FFF6; /* Text Main */
    background-color: #1E3A2A; /* Divider for question header */
}

.page-fishing-games-high-score-strategy__faq-question:hover {
    background-color: #2E7A4E; /* Border color for hover */
}

.page-fishing-games-high-score-strategy__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-fishing-games-high-score-strategy__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-fishing-games-high-score-strategy__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games-high-score-strategy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-fishing-games-high-score-strategy__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: left;
}

/* Adjust for details open state */
.page-fishing-games-high-score-strategy__faq-item[open] .page-fishing-games-high-score-strategy__faq-question {
    background-color: #2E7A4E; /* Border color */
}

/* CTA Bottom */
.page-fishing-games-high-score-strategy__cta-bottom {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games-high-score-strategy__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-fishing-games-high-score-strategy__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-fishing-games-high-score-strategy__hero-image-wrapper {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    /* General responsive adjustments */
    .page-fishing-games-high-score-strategy__section {
        padding: 40px 0;
    }

    .page-fishing-games-high-score-strategy__container {
        padding: 0 15px; /* Add padding for mobile containers */
    }

    /* Hero section */
    .page-fishing-games-high-score-strategy__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, small top padding */
    }

    .page-fishing-games-high-score-strategy__hero-image-wrapper {
        max-height: 300px;
    }

    .page-fishing-games-high-score-strategy__hero-content {
        padding: 30px 15px;
    }

    .page-fishing-games-high-score-strategy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-fishing-games-high-score-strategy__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Titles */
    .page-fishing-games-high-score-strategy__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .page-fishing-games-high-score-strategy__sub-title {
        font-size: clamp(1.3rem, 4.5vw, 1.7rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Text */
    .page-fishing-games-high-score-strategy__text-block,
    .page-fishing-games-high-score-strategy__list-item,
    .page-fishing-games-high-score-strategy__card-text,
    .page-fishing-games-high-score-strategy__promo-description,
    .page-fishing-games-high-score-strategy__faq-answer {
        font-size: 0.95rem;
    }

    /* Buttons */
    .page-fishing-games-high-score-strategy__btn-primary,
    .page-fishing-games-high-score-strategy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        margin-left: 0;
        margin-bottom: 15px; /* Add margin between stacked buttons */
    }
    
    .page-fishing-games-high-score-strategy__promo-card .page-fishing-games-high-score-strategy__btn-secondary {
        margin-bottom: 0; /* Remove extra margin if it's the last element in promo card */
    }

    /* Card Grid */
    .page-fishing-games-high-score-strategy__card-grid,
    .page-fishing-games-high-score-strategy__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games-high-score-strategy__card,
    .page-fishing-games-high-score-strategy__promo-card {
        padding: 20px;
    }

    .page-fishing-games-high-score-strategy__card-image,
    .page-fishing-games-high-score-strategy__promo-image {
        max-height: 200px;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
        width: 100% !important; /* Enforce 100% width */
        height: auto !important; /* Maintain aspect ratio */
    }

    /* FAQ */
    .page-fishing-games-high-score-strategy__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-fishing-games-high-score-strategy__faq-answer {
        padding: 0 15px 15px 15px;
    }

    /* Images responsiveness */
    .page-fishing-games-high-score-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games-high-score-strategy__section,
    .page-fishing-games-high-score-strategy__card,
    .page-fishing-games-high-score-strategy__container,
    .page-fishing-games-high-score-strategy__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure hero image wrapper and content don't cause overflow */
    .page-fishing-games-high-score-strategy__hero-image-wrapper,
    .page-fishing-games-high-score-strategy__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific image min-size enforcement for content images */
    .page-fishing-games-high-score-strategy__card-image,
    .page-fishing-games-high-score-strategy__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Button groups or multiple buttons */
    .page-fishing-games-high-score-strategy__cta-buttons,
    .page-fishing-games-high-score-strategy__button-group,
    .page-fishing-games-high-score-strategy__btn-container {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px; /* Spacing between stacked buttons */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}