/* style/responsible-gaming-self-exclusion.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-responsible-gaming-self-exclusion {
    color: #ffffff; /* Light text for dark body background #0a0a0a */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding to the bottom of the main content */
}

/* Fixed header spacing */
.page-responsible-gaming-self-exclusion__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-responsible-gaming-self-exclusion__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #0A2239; /* Main brand color */
    color: #ffffff;
    overflow: hidden;
    padding: 40px 20px;
}

.page-responsible-gaming-self-exclusion__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Slightly transparent overlay for readability */
    border-radius: 10px;
}

.page-responsible-gaming-self-exclusion__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary brand color */
}

.page-responsible-gaming-self-exclusion__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-responsible-gaming-self-exclusion__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-responsible-gaming-self-exclusion__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* General Section Styles */
.page-responsible-gaming-self-exclusion__content-section {
    padding: 60px 20px;
}

.page-responsible-gaming-self-exclusion__dark-bg {
    background-color: #0A2239; /* Main brand color for dark sections */
    color: #ffffff;
}

.page-responsible-gaming-self-exclusion__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add internal padding for content */
    box-sizing: border-box;
}

.page-responsible-gaming-self-exclusion__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Auxiliary brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-responsible-gaming-self-exclusion__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFD700;
}

.page-responsible-gaming-self-exclusion__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-responsible-gaming-self-exclusion__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: inherit; /* Inherit color from parent section */
}

.page-responsible-gaming-self-exclusion__text-block p a {
    color: #FFD700; /* Link color */
    text-decoration: underline;
}

.page-responsible-gaming-self-exclusion__image-block {
    margin-top: 30px;
    text-align: center;
}

.page-responsible-gaming-self-exclusion__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

/* Lists */
.page-responsible-gaming-self-exclusion__numbered-list,
.page-responsible-gaming-self-exclusion__bullet-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-responsible-gaming-self-exclusion__numbered-list li {
    counter-increment: list-counter;
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: inherit;
}

.page-responsible-gaming-self-exclusion__numbered-list li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFD700;
    color: #0A2239;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-responsible-gaming-self-exclusion__bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: inherit;
}

.page-responsible-gaming-self-exclusion__bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.5em;
    line-height: 1;
    top: -3px;
}

/* Call to Action Section */
.page-responsible-gaming-self-exclusion__cta-section {
    background-color: #0A2239; /* Main brand color */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-responsible-gaming-self-exclusion__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming-self-exclusion__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-responsible-gaming-self-exclusion__btn-primary,
.page-responsible-gaming-self-exclusion__btn-secondary {
    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, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-responsible-gaming-self-exclusion__btn-primary {
    background-color: #FFD700; /* Auxiliary brand color */
    color: #0A2239; /* Dark text for contrast */
    border: 2px solid #FFD700;
}

.page-responsible-gaming-self-exclusion__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-responsible-gaming-self-exclusion__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary brand color */
    border: 2px solid #FFD700;
}

.page-responsible-gaming-self-exclusion__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
}

/* FAQ Section */
.page-responsible-gaming-self-exclusion__faq-section {
    padding: 60px 20px;
    background-color: #0A2239; /* Dark background for contrast */
    color: #ffffff;
}

.page-responsible-gaming-self-exclusion__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-responsible-gaming-self-exclusion__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-responsible-gaming-self-exclusion__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-responsible-gaming-self-exclusion__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-responsible-gaming-self-exclusion__faq-title {
    font-size: 1.2em;
    color: #FFD700; /* Gold for question titles */
    margin: 0;
}

.page-responsible-gaming-self-exclusion__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
    line-height: 1; /* Ensure +/- are vertically centered */
}

.page-responsible-gaming-self-exclusion__faq-item.active .page-responsible-gaming-self-exclusion__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or just change text */
}

.page-responsible-gaming-self-exclusion__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0; /* Slightly off-white for answer text */
}

.page-responsible-gaming-self-exclusion__faq-item.active .page-responsible-gaming-self-exclusion__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-responsible-gaming-self-exclusion__faq-answer p {
    margin: 0;
    padding-bottom: 15px; /* Add padding to the last paragraph in answer */
    color: inherit;
}
.page-responsible-gaming-self-exclusion__faq-answer p:last-child {
    padding-bottom: 0;
}

.page-responsible-gaming-self-exclusion__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-responsible-gaming-self-exclusion {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-responsible-gaming-self-exclusion__hero-title {
        font-size: 2em;
    }

    .page-responsible-gaming-self-exclusion__hero-description {
        font-size: 1em;
    }

    .page-responsible-gaming-self-exclusion__section-title {
        font-size: 1.8em;
    }

    .page-responsible-gaming-self-exclusion__sub-title {
        font-size: 1.5em;
    }

    /* Images responsiveness */
    .page-responsible-gaming-self-exclusion img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure images take full width of their container */
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers for mobile */
    .page-responsible-gaming-self-exclusion__image-block,
    .page-responsible-gaming-self-exclusion__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Content containers for mobile */
    .page-responsible-gaming-self-exclusion__container,
    .page-responsible-gaming-self-exclusion__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsiveness */
    .page-responsible-gaming-self-exclusion__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-responsible-gaming-self-exclusion__btn-primary,
    .page-responsible-gaming-self-exclusion__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
    }

    /* FAQ items padding adjustment */
    .page-responsible-gaming-self-exclusion__faq-question,
    .page-responsible-gaming-self-exclusion__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-responsible-gaming-self-exclusion__faq-answer {
        padding: 0 15px !important;
    }
    .page-responsible-gaming-self-exclusion__faq-item.active .page-responsible-gaming-self-exclusion__faq-answer {
        padding: 15px !important;
    }

    /* Hero section padding for mobile, consistent with header offset */
    .page-responsible-gaming-self-exclusion__hero-section {
      padding-top: var(--header-offset, 120px) !important;
    }
}