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

/* Base styles for the page content area */
.page-resources-online-betting-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicitly set, though body is already white */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

/* Hero Section */
.page-resources-online-betting-tips__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark background */
}

.page-resources-online-betting-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6; /* Semi-transparent overlay for text readability */
}

.page-resources-online-betting-tips__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* No filter properties to change image color */
}

.page-resources-online-betting-tips__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-online-betting-tips__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-online-betting-tips__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-resources-online-betting-tips__btn {
    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;
    min-width: 150px;
    text-align: center;
    font-size: 1.1em;
}

.page-resources-online-betting-tips__btn--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-resources-online-betting-tips__btn--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-resources-online-betting-tips__btn--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-online-betting-tips__btn--login:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

.page-resources-online-betting-tips__btn--join-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-online-betting-tips__btn--join-now:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

.page-resources-online-betting-tips__btn--learn-more {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-resources-online-betting-tips__btn--learn-more:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-resources-online-betting-tips__link-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-online-betting-tips__link-button:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-resources-online-betting-tips__inline-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-online-betting-tips__inline-link:hover {
    color: #FCBC45;
}


/* Content Area */
.page-resources-online-betting-tips__content-area {
    max-width: 800px; /* Optimized for long-form reading */
    margin: 0 auto;
    padding: 40px 20px;
}

.page-resources-online-betting-tips__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-online-betting-tips__subsection-title {
    font-size: 2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-online-betting-tips__sub-subsection-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-online-betting-tips__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

/* Image containers within content */
.page-resources-online-betting-tips__image-container {
    margin: 40px 0;
    text-align: center;
}

.page-resources-online-betting-tips__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element for margin auto */
    margin: 0 auto; /* Center the image */
    /* No filter properties to change image color */
}

/* Content area images must be at least 200px wide/high */
/* This rule applies to any img under .page-resources-online-betting-tips */
.page-resources-online-betting-tips img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Maintain aspect ratio and cover space */
}

/* List styles */
.page-resources-online-betting-tips__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-online-betting-tips__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.page-resources-online-betting-tips__list-item .page-resources-online-betting-tips__sub-subsection-title {
    margin-top: 0;
    color: #000000;
}

.page-resources-online-betting-tips__list-item .page-resources-online-betting-tips__paragraph {
    margin-bottom: 0;
}

/* Call to action at the end */
.page-resources-online-betting-tips__call-to-action {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 10px;
}

.page-resources-online-betting-tips__call-to-action .page-resources-online-betting-tips__paragraph {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-resources-online-betting-tips__call-to-action .page-resources-online-betting-tips__btn {
    margin: 0 10px;
}

/* Copyright */
.page-resources-online-betting-tips__copyright {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9em;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-online-betting-tips__hero-title {
        font-size: 2.2em;
    }

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

    .page-resources-online-betting-tips__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-online-betting-tips__btn {
        width: 100%;
        max-width: 250px; /* Constrain button width on mobile */
        margin: 0 auto;
    }

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

    .page-resources-online-betting-tips__subsection-title {
        font-size: 1.7em;
    }

    .page-resources-online-betting-tips__sub-subsection-title {
        font-size: 1.3em;
    }

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

    /* Mobile image constraint */
    .page-resources-online-betting-tips__image-container img {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure content area itself does not cause overflow */
    .page-resources-online-betting-tips__content-area {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%; /* Ensure content area itself is responsive */
    }

    /* Specific rule for all content images to prevent overflow on mobile */
    .page-resources-online-betting-tips img {
        max-width: 100% !important;
        height: auto !important;
        min-width: unset; /* Allow images to scale down below 200px on mobile */
        min-height: unset;
    }
    
    /* Ensure no content causes horizontal scroll */
    .page-resources-online-betting-tips {
        overflow-x: hidden;
    }
}