/* style/resources-safe-gaming-strategies.css */
.page-resources-safe-gaming-strategies {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px);
}

.page-resources-safe-gaming-strategies__hero-section {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-resources-safe-gaming-strategies__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-safe-gaming-strategies__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-resources-safe-gaming-strategies__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-resources-safe-gaming-strategies__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-safe-gaming-strategies__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-resources-safe-gaming-strategies__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-resources-safe-gaming-strategies__button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

.page-resources-safe-gaming-strategies__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-safe-gaming-strategies__button--login:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-resources-safe-gaming-strategies__article-content {
    padding: 40px 20px;
    background-color: #FFFFFF;
}

.page-resources-safe-gaming-strategies__container {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-safe-gaming-strategies__article-intro {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-resources-safe-gaming-strategies__heading {
    font-size: 2.2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-resources-safe-gaming-strategies__sub-heading {
    font-size: 1.6em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-safe-gaming-strategies__article-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-safe-gaming-strategies__list,
.page-resources-safe-gaming-strategies__numbered-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-resources-safe-gaming-strategies__list-item {
    background-color: #f9f9f9;
    border-left: 4px solid #FCBC45;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #333333;
}

.page-resources-safe-gaming-strategies__numbered-list .page-resources-safe-gaming-strategies__list-item {
    counter-increment: list-counter;
    position: relative;
    padding-left: 40px;
}

.page-resources-safe-gaming-strategies__numbered-list .page-resources-safe-gaming-strategies__list-item::before {
    content: counter(list-counter);
    position: absolute;
    left: 10px;
    top: 15px;
    background-color: #FCBC45;
    color: #000000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-resources-safe-gaming-strategies__list-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 5px;
}

.page-resources-safe-gaming-strategies__quote {
    background-color: #f0f0f0;
    border-left: 5px solid #000000;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555555;
    border-radius: 4px;
}

.page-resources-safe-gaming-strategies__inline-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-safe-gaming-strategies__inline-link:hover {
    color: #FCBC45;
}

.page-resources-safe-gaming-strategies__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 50px 20px;
    text-align: center;
    margin-top: 50px;
    border-radius: 8px;
}

.page-resources-safe-gaming-strategies__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-safe-gaming-strategies__button--promo {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-safe-gaming-strategies__button--promo:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.page-resources-safe-gaming-strategies__back-link {
    text-align: center;
    margin-top: 40px;
}

.page-resources-safe-gaming-strategies__button--secondary {
    background-color: #555555;
    color: #FFFFFF;
    border: 2px solid #555555;
}

.page-resources-safe-gaming-strategies__button--secondary:hover {
    background-color: #333333;
    border-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-safe-gaming-strategies__hero-title {
        font-size: 2.2em;
    }

    .page-resources-safe-gaming-strategies__hero-description {
        font-size: 1em;
    }

    .page-resources-safe-gaming-strategies__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-safe-gaming-strategies__button {
        width: 100%;
        padding: 12px 20px;
    }

    .page-resources-safe-gaming-strategies__heading {
        font-size: 1.8em;
    }

    .page-resources-safe-gaming-strategies__sub-heading {
        font-size: 1.4em;
    }

    .page-resources-safe-gaming-strategies__list-item {
        padding: 12px 15px;
    }

    .page-resources-safe-gaming-strategies__numbered-list .page-resources-safe-gaming-strategies__list-item::before {
        width: 20px;
        height: 20px;
        font-size: 0.8em;
        top: 12px;
    }

    .page-resources-safe-gaming-strategies__numbered-list .page-resources-safe-gaming-strategies__list-item {
        padding-left: 35px;
    }

    /* Ensure content images do not overflow */
    .page-resources-safe-gaming-strategies img {
        max-width: 100%;
        height: auto;
    }

    .page-resources-safe-gaming-strategies__cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-resources-safe-gaming-strategies__hero-title {
        font-size: 1.8em;
    }

    .page-resources-safe-gaming-strategies__heading {
        font-size: 1.5em;
    }
}