/* style/resources-online-gambling-safety.css */

/* Base styling for the page content wrapper */
.page-resources-online-gambling-safety {
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    color: #FFFFFF; /* Default text color for potentially dark background sections */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-resources-online-gambling-safety__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 0;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

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

.page-resources-online-gambling-safety__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin: 20px;
}

.page-resources-online-gambling-safety__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FCBC45; /* Highlight title with login color */
}

.page-resources-online-gambling-safety__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.page-resources-online-gambling-safety__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;
    min-width: 150px;
    text-align: center;
}

.page-resources-online-gambling-safety__button--register {
    background-color: #FFFFFF; /* As per custom color */
    color: #000000;
    border: 1px solid #FFFFFF;
}

.page-resources-online-gambling-safety__button--register:hover {
    background-color: #FCBC45;
    border-color: #FCBC45;
    color: #000000;
}

.page-resources-online-gambling-safety__button--login {
    background-color: #FCBC45; /* As per custom color */
    color: #000000;
    border: 1px solid #FCBC45;
}

.page-resources-online-gambling-safety__button--login:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #000000;
}

/* Content Area */
.page-resources-online-gambling-safety__content-area {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #FFFFFF; /* White background for readability of long text */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #000000; /* Dark text on white background */
}

/* Table of Contents */
.page-resources-online-gambling-safety__table-of-contents {
    margin-bottom: 40px;
    border-left: 4px solid #FCBC45;
    padding-left: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    color: #000000; /* Dark text */
}

.page-resources-online-gambling-safety__toc-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-resources-online-gambling-safety__toc-list {
    list-style: none;
    padding: 0;
}

.page-resources-online-gambling-safety__toc-list li {
    margin-bottom: 10px;
}

.page-resources-online-gambling-safety__toc-list a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-resources-online-gambling-safety__toc-list a:hover {
    color: #FCBC45;
    text-decoration: underline;
}

/* Article Styling */
.page-resources-online-gambling-safety__article p {
    margin-bottom: 1.2em;
    font-size: 1.1em;
    line-height: 1.7;
    color: #000000; /* Ensure article text is dark */
}

.page-resources-online-gambling-safety__article-heading {
    font-size: 2em;
    color: #000000; /* Ensure headings are dark */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.page-resources-online-gambling-safety__article-heading:first-of-type {
    margin-top: 0;
}

.page-resources-online-gambling-safety__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.1);
    min-width: 200px;
    min-height: 200px;
}

/* Return Link */
.page-resources-online-gambling-safety__return-link-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-resources-online-gambling-safety__return-link {
    display: inline-block;
    background-color: #000000; /* Main color for consistency */
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-online-gambling-safety__return-link:hover {
    background-color: #FCBC45; /* Login color for hover */
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-online-gambling-safety__hero-title {
        font-size: 2em;
    }

    .page-resources-online-gambling-safety__hero-description {
        font-size: 1em;
    }

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

    .page-resources-online-gambling-safety__button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .page-resources-online-gambling-safety__content-area {
        padding: 20px;
        margin: 20px auto;
    }

    .page-resources-online-gambling-safety__article-heading {
        font-size: 1.6em;
    }

    .page-resources-online-gambling-safety__article p {
        font-size: 1em;
    }

    .page-resources-online-gambling-safety__hero-image,
    .page-resources-online-gambling-safety__article-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-resources-online-gambling-safety__hero-title {
        font-size: 1.8em;
    }

    .page-resources-online-gambling-safety__hero-description {
        font-size: 0.9em;
    }

    .page-resources-online-gambling-safety__content-area {
        padding: 15px;
    }

    .page-resources-online-gambling-safety__toc-title {
        font-size: 1.3em;
    }
}