/* style/resources-betting-strategy.css */

/* Base styles for the page content */
.page-resources-betting-strategy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #121212, so use light text */
    background-color: transparent; /* Inherit from body or shared, ensuring no double background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Section styling */
.page-resources-betting-strategy__section {
    padding: 60px 20px;
    margin-bottom: 0;
}

.page-resources-betting-strategy__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-resources-betting-strategy__light-bg {
    background-color: #2a2a2a; /* Another dark background variation for sections */
    color: #ffffff;
}

.page-resources-betting-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for smaller screens */
    box-sizing: border-box;
}

/* Headings */
.page-resources-betting-strategy__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-betting-strategy__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-resources-betting-strategy__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
}

/* Hero Section */
.page-resources-betting-strategy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 600px;
    color: #ffffff;
    overflow: hidden;
    padding: 40px 20px;
    box-sizing: border-box;
    padding-top: 0; /* Header offset handled by main */
}

.page-resources-betting-strategy__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.page-resources-betting-strategy__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability */
}

.page-resources-betting-strategy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-resources-betting-strategy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    line-height: 1.2;
}

.page-resources-betting-strategy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-betting-strategy__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-resources-betting-strategy__btn-primary,
.page-resources-betting-strategy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-betting-strategy__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-betting-strategy__btn-primary:hover {
    background-color: #1e87b8;
    border-color: #1e87b8;
}

.page-resources-betting-strategy__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-betting-strategy__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Content Grid for text and image layout */
.page-resources-betting-strategy__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources-betting-strategy__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-resources-betting-strategy__text-content {
    flex: 1;
}

.page-resources-betting-strategy__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px; /* Min size for image wrapper */
}

.page-resources-betting-strategy__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* Strategy Cards */
.page-resources-betting-strategy__strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-betting-strategy__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-resources-betting-strategy__card:hover {
    transform: translateY(-5px);
}

.page-resources-betting-strategy__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum card image size */
    min-height: 150px; /* Adjusted height for card images */
    object-fit: cover;
}

.page-resources-betting-strategy__card-text {
    color: #f0f0f0;
    font-size: 1em;
}

.page-resources-betting-strategy__cta-section {
    text-align: center;
    margin-top: 60px;
}

.page-resources-betting-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-resources-betting-strategy__faq-list {
    margin-top: 30px;
}

.page-resources-betting-strategy__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-resources-betting-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: #26A9E0;
    transition: background-color 0.3s ease;
}

.page-resources-betting-strategy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-betting-strategy__faq-title {
    margin: 0;
    color: inherit; /* Inherit color from question */
}

.page-resources-betting-strategy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff; /* White toggle icon */
}

.page-resources-betting-strategy__faq-item.active .page-resources-betting-strategy__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-betting-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-resources-betting-strategy__faq-answer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-resources-betting-strategy__hero-title {
        font-size: 2.8em;
    }

    .page-resources-betting-strategy__hero-description {
        font-size: 1.1em;
    }

    .page-resources-betting-strategy__section-title {
        font-size: 2em;
    }

    .page-resources-betting-strategy__content-grid {
        flex-direction: column;
        text-align: center;
    }

    .page-resources-betting-strategy__content-grid--reverse {
        flex-direction: column; /* Keep column for reverse on mobile too */
    }

    .page-resources-betting-strategy__text-content,
    .page-resources-betting-strategy__image-wrapper {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-betting-strategy__hero-title {
        font-size: 2em;
    }

    .page-resources-betting-strategy__hero-description {
        font-size: 1em;
    }

    .page-resources-betting-strategy__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-betting-strategy__btn-primary,
    .page-resources-betting-strategy__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-betting-strategy__section {
        padding: 40px 15px;
    }

    .page-resources-betting-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-betting-strategy__text-block {
        font-size: 0.95em;
    }

    .page-resources-betting-strategy__strategy-cards {
        grid-template-columns: 1fr;
    }

    /* Mobile image/video responsiveness */
    .page-resources-betting-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min- /* Ensure minimum size */
    }

    .page-resources-betting-strategy video,
    .page-resources-betting-strategy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-betting-strategy__section,
    .page-resources-betting-strategy__card,
    .page-resources-betting-strategy__container,
    .page-resources-betting-strategy__video-section,
    .page-resources-betting-strategy__video-container,
    .page-resources-betting-strategy__video-wrapper,
    .page-resources-betting-strategy__cta-buttons,
    .page-resources-betting-strategy__button-group,
    .page-resources-betting-strategy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-resources-betting-strategy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure hero section starts below header on mobile */
    }
    .page-resources-betting-strategy__cta-buttons {
      flex-direction: column; /* Stack buttons vertically on mobile */
      gap: 10px;
    }
    .page-resources-betting-strategy__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-resources-betting-strategy__faq-answer {
        padding: 0 20px;
    }
    .page-resources-betting-strategy__faq-item.active .page-resources-betting-strategy__faq-answer {
        padding: 10px 20px 20px;
    }
}