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

.page-resources-online-betting-guide {
    /* Base styling for the page content, ensures header offset */
    padding-top: var(--header-offset, 120px);
    background-color: #f4f4f4; /* Body background is light */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-resources-online-betting-guide__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* White text for dark overlay/hero image */
    min-height: 500px;
    padding: 60px 20px;
}

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

.page-resources-online-betting-guide__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
    display: block;
}

.page-resources-online-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    border-radius: 10px;
}

.page-resources-online-betting-guide__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-online-betting-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-betting-guide__hero-cta {
    margin-top: 30px;
}

.page-resources-online-betting-guide__content-area {
    max-width: 800px; /* Content width for comfortable reading */
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-guide__table-of-contents {
    background-color: #f9f9f9;
    border-left: 4px solid #FFD700;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 4px;
}

.page-resources-online-betting-guide__toc-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-resources-online-betting-guide__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-online-betting-guide__toc-list li {
    margin-bottom: 8px;
}

.page-resources-online-betting-guide__toc-link {
    color: #0A192F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-resources-online-betting-guide__toc-link:hover {
    color: #FFD700;
}

.page-resources-online-betting-guide__article-heading {
    font-size: 2em;
    color: #0A192F;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-resources-online-betting-guide__article-subheading {
    font-size: 1.5em;
    color: #0A192F;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-online-betting-guide__article-paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-online-betting-guide__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources-online-betting-guide__list li {
    margin-bottom: 8px;
}

.page-resources-online-betting-guide__blockquote {
    background-color: #fffde7; /* Lighter golden shade for quote */
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #333333;
    border-radius: 4px;
}

.page-resources-online-betting-guide__blockquote-text {
    margin: 0;
}

.page-resources-online-betting-guide__button-wrapper {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-resources-online-betting-guide__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-resources-online-betting-guide__button--primary {
    background-color: #FFD700; /* Gold */
    color: #0A192F; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-resources-online-betting-guide__button--primary:hover {
    background-color: #e6c200; /* Darker gold */
    color: #000000;
}

.page-resources-online-betting-guide__button--secondary {
    background-color: #0A192F; /* Dark blue */
    color: #FFD700; /* Gold */
    border: 2px solid #0A192F;
}

.page-resources-online-betting-guide__button--secondary:hover {
    background-color: #1a2a47; /* Lighter dark blue */
    color: #ffe680; /* Lighter gold */
}

.page-resources-online-betting-guide__button--tertiary {
    background-color: transparent;
    color: #0A192F;
    border: 2px solid #0A192F;
}

.page-resources-online-betting-guide__button--tertiary:hover {
    background-color: #0A192F;
    color: #FFD700;
}

.page-resources-online-betting-guide__button--large {
    padding: 15px 35px;
    font-size: 1.3em;
}

.page-resources-online-betting-guide__inline-link {
    color: #0A192F;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-online-betting-guide__inline-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-resources-online-betting-guide__article-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-online-betting-guide__faq-item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.page-resources-online-betting-guide__faq-question {
    font-size: 1.2em;
    color: #0A192F;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources-online-betting-guide__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-resources-online-betting-guide__faq-question--active::after {
    content: '-';
    transform: rotate(0deg); /* No rotation for minus sign */
}

.page-resources-online-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1em;
    color: #555555;
}

.page-resources-online-betting-guide__faq-question--active + .page-resources-online-betting-guide__faq-answer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-resources-online-betting-guide__back-link-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed #cccccc;
}

.page-resources-online-betting-guide__back-link {
    display: inline-block;
    color: #0A192F;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #0A192F;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-online-betting-guide__back-link:hover {
    background-color: #0A192F;
    color: #FFD700;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-betting-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-online-betting-guide__hero-description {
        font-size: 1.1em;
    }
    .page-resources-online-betting-guide__article-heading {
        font-size: 1.8em;
    }
    .page-resources-online-betting-guide__article-subheading {
        font-size: 1.3em;
    }
    .page-resources-online-betting-guide__article-paragraph,
    .page-resources-online-betting-guide__list,
    .page-resources-online-betting-guide__blockquote-text {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-guide {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-resources-online-betting-guide__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }
    .page-resources-online-betting-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-online-betting-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-online-betting-guide__content-area {
        margin: 20px auto;
        padding: 15px;
    }
    .page-resources-online-betting-guide__article-heading {
        font-size: 1.6em;
    }
    .page-resources-online-betting-guide__article-subheading {
        font-size: 1.2em;
    }
    .page-resources-online-betting-guide__button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-resources-online-betting-guide__button--large {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    /* Mobile content image constraint */
    .page-resources-online-betting-guide img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure content images are not small */
        min-height: 200px;
        object-fit: contain; /* Changed from cover to contain for better mobile responsiveness for diverse image aspect ratios */
    }
}

@media (max-width: 480px) {
    .page-resources-online-betting-guide__hero-title {
        font-size: 1.5em;
    }
    .page-resources-online-betting-guide__hero-description {
        font-size: 0.9em;
    }
    .page-resources-online-betting-guide__button {
        width: 100%;
        margin-bottom: 10px;
    }
    .page-resources-online-betting-guide__hero-cta .page-resources-online-betting-guide__button {
        font-size: 1em;
        padding: 10px 15px;
    }
    .page-resources-online-betting-guide__button-wrapper--final-cta .page-resources-online-betting-guide__button {
        font-size: 1.1em;
        padding: 12px 20px;
    }
    .page-resources-online-betting-guide__toc-list {
        font-size: 0.9em;
    }
    .page-resources-online-betting-guide__list,
    .page-resources-online-betting-guide__article-paragraph {
        font-size: 0.95em;
    }
}