/* style/resources-safe-online-betting.css */
.page-resources-safe-online-betting {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-safe-online-betting__hero-section {
    background-color: #FFD700; /* Main brand color for hero background, but image will cover */
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Minimum height for hero section */
}

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

.page-resources-safe-online-betting__hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    padding: 40px 20px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    min-height: 400px; /* Ensure overlay covers hero area */
}

.page-resources-safe-online-betting__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold text for title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-safe-online-betting__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-resources-safe-online-betting__hero-button,
.page-resources-safe-online-betting__call-to-action-button {
    display: inline-block;
    background-color: #8B0000; /* Auxiliary brand color for buttons */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-resources-safe-online-betting__hero-button:hover,
.page-resources-safe-online-betting__call-to-action-button:hover {
    background-color: #b30000;
}

.page-resources-safe-online-betting__content-area {
    max-width: 800px; /* Content width for comfortable reading */
    margin: 40px auto;
    padding: 0 20px;
}

.page-resources-safe-online-betting__back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-safe-online-betting__back-link:hover {
    color: #FFD700;
}

.page-resources-safe-online-betting__article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-safe-online-betting__article-heading {
    font-size: 2.2em;
    color: #8B0000; /* Auxiliary brand color for main headings */
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-resources-safe-online-betting__article-subheading {
    font-size: 1.8em;
    color: #FFD700; /* Main brand color for subheadings */
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-safe-online-betting__article-sub-subheading {
    font-size: 1.4em;
    color: #8B0000; /* Auxiliary brand color for sub-subheadings */
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-resources-safe-online-betting__article-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-safe-online-betting__call-to-action-button {
    display: block;
    width: fit-content;
    margin: 40px auto 20px auto;
    background-color: #FFD700; /* Gold for final CTA */
    color: #8B0000;
}

.page-resources-safe-online-betting__call-to-action-button:hover {
    background-color: #e6c200;
}

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

    .page-resources-safe-online-betting__hero-description {
        font-size: 1em;
    }

    .page-resources-safe-online-betting__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-safe-online-betting__content-area {
        margin: 20px auto;
        padding: 0 15px;
    }

    .page-resources-safe-online-betting__article-heading {
        font-size: 1.8em;
    }

    .page-resources-safe-online-betting__article-subheading {
        font-size: 1.5em;
    }

    .page-resources-safe-online-betting__article-sub-subheading {
        font-size: 1.2em;
    }

    .page-resources-safe-online-betting__article-paragraph {
        font-size: 0.95em;
    }

    /* Ensure images are responsive and do not overflow */
    .page-resources-safe-online-betting__article-image,
    .page-resources-safe-online-betting__hero-image {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-resources-safe-online-betting__hero-title {
        font-size: 2em;
    }

    .page-resources-safe-online-betting__hero-description {
        font-size: 0.9em;
    }

    .page-resources-safe-online-betting__article-heading {
        font-size: 1.5em;
    }

    .page-resources-safe-online-betting__article-subheading {
        font-size: 1.3em;
    }

    .page-resources-safe-online-betting__article-sub-subheading {
        font-size: 1.1em;
    }
}

/* No filter properties to change image colors */
.page-resources-safe-online-betting img {
    filter: none; /* Explicitly ensure no filters */
}

/* Content area images must be >= 200px. The .page-resources-safe-online-betting__article-image already sets max-width: 100% and min-width/height to 200px. */
/* This rule acts as a catch-all for any img within the main content area that might not have a specific class */
.page-resources-safe-online-betting img:not(.page-resources-safe-online-betting__hero-image) {
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
}