/* style/resources-online-betting-tips.css */

/* Base styles for the page content */
.page-resources-online-betting-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF); /* Default to white if var not set */
}

/* Header offset for main content */
.page-resources-online-betting-tips__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    color: #ffffff; /* White text for dark background */
}

.page-resources-online-betting-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-online-betting-tips__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-online-betting-tips__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-online-betting-tips__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

/* General content area */
.page-resources-online-betting-tips__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--secondary-color, #FFFFFF);
    color: #333333;
}

.page-resources-online-betting-tips__container {
    max-width: 960px;
    margin: 0 auto;
}

.page-resources-online-betting-tips__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-resources-online-betting-tips__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-resources-online-betting-tips__paragraph a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-resources-online-betting-tips__paragraph a:hover {
    text-decoration: underline;
}

.page-resources-online-betting-tips__highlight {
    font-weight: bold;
    color: #26A9E0; /* Highlight important keywords */
}

.page-resources-online-betting-tips__image-text-block {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.page-resources-online-betting-tips__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-resources-online-betting-tips__image {
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    display: block;
}

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

.page-resources-online-betting-tips__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

.page-resources-online-betting-tips__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #333333;
}

.page-resources-online-betting-tips__list-item strong {
    color: #26A9E0;
}

/* Call to action buttons */
.page-resources-online-betting-tips__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 10px; /* Space between buttons */
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-online-betting-tips__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-online-betting-tips__btn-primary:hover {
    background-color: #1e87c6; /* Slightly darker on hover */
    transform: translateY(-2px);
}

.page-resources-online-betting-tips__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-online-betting-tips__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-resources-online-betting-tips__cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px; /* Space between buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-resources-online-betting-tips__faq-list {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.page-resources-online-betting-tips__faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.page-resources-online-betting-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    transition: background-color 0.3s ease;
}

.page-resources-online-betting-tips__faq-question:hover {
    background-color: #f9f9f9;
}

.page-resources-online-betting-tips__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
}

.page-resources-online-betting-tips__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-resources-online-betting-tips__faq-item.active .page-resources-online-betting-tips__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-online-betting-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px; /* Adjust padding for collapsed state */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

/* Dark background sections for contrast */
.page-resources-online-betting-tips__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Responsive design for smaller screens */
@media (max-width: 992px) {
    .page-resources-online-betting-tips__hero-title {
        font-size: 2.5em;
    }

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

    .page-resources-online-betting-tips__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-resources-online-betting-tips__image-text-block--reverse {
        flex-direction: column; /* Ensure it stays column on mobile */
    }

    .page-resources-online-betting-tips__text-content {
        margin-top: 20px;
    }

    .page-resources-online-betting-tips__list {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-tips {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-online-betting-tips__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
    }

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

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

    .page-resources-online-betting-tips__content-area {
        padding: 40px 15px;
    }

    .page-resources-online-betting-tips__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-resources-online-betting-tips__section-title {
        font-size: 1.8em;
    }

    /* Mobile image responsiveness */
    .page-resources-online-betting-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-online-betting-tips__image-text-block,
    .page-resources-online-betting-tips__image-text-block--reverse,
    .page-resources-online-betting-tips__cta-buttons,
    .page-resources-online-betting-tips__faq-list,
    .page-resources-online-betting-tips__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 */
    }

    /* Mobile button responsiveness */
    .page-resources-online-betting-tips__cta-button,
    .page-resources-online-betting-tips__btn-primary,
    .page-resources-online-betting-tips__btn-secondary,
    .page-resources-online-betting-tips a[class*="button"],
    .page-resources-online-betting-tips a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }

    .page-resources-online-betting-tips__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-resources-online-betting-tips__faq-answer {
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-online-betting-tips__faq-item.active .page-resources-online-betting-tips__faq-answer {
        padding: 15px 0 !important;
    }
}