/* style/responsible-gambling.css */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    color: #333; /* Default text color for light backgrounds */
    line-height: 1.6;
}

.page-responsible-gambling__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-responsible-gambling__hero {
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 70%, #FFD700 100%); /* Dark blue dominant, gold accent */
    color: #FFFFFF; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-responsible-gambling__hero-subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0; /* Lighter white for subtitle */
}

.page-responsible-gambling__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.page-responsible-gambling__section {
    padding: 60px 0;
    background-color: #F8F8F8; /* Light background for sections */
}

.page-responsible-gambling__section:nth-of-type(even) {
    background-color: #FFFFFF; /* Alternate background for readability */
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-responsible-gambling__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-responsible-gambling__section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.page-responsible-gambling__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-responsible-gambling__list li {
    background-color: #E6F0FF; /* Light blue background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #0A2463; /* Dark blue accent */
    border-radius: 5px;
    font-size: 1.05em;
    color: #222;
}

.page-responsible-gambling__list li strong {
    color: #0A2463; /* Dark blue for strong text in list */
}

.page-responsible-gambling__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.page-responsible-gambling__grid-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-responsible-gambling__tool-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__tool-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
    text-align: center;
}

.page-responsible-gambling__tool-card p {
    font-size: 1em;
    color: #555;
    text-align: center;
}

.page-responsible-gambling__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__image--center {
    display: block;
    margin: 30px auto;
}

.page-responsible-gambling__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

.page-responsible-gambling__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

.page-responsible-gambling__list--icons li {
    padding-left: 45px;
    position: relative;
    background-color: transparent;
    border-left: none;
}

.page-responsible-gambling__list--icons li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
}

.page-responsible-gambling__cta-group {
    text-align: center;
    margin-top: 40px;
}

.page-responsible-gambling__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-responsible-gambling__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-responsible-gambling__button--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-3px);
}

.page-responsible-gambling__button--secondary {
    background-color: #0A2463; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #0A2463;
}

.page-responsible-gambling__button--secondary:hover {
    background-color: #1a3c7c; /* Lighter dark blue on hover */
    transform: translateY(-3px);
}

.page-responsible-gambling__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-responsible-gambling__faq-question {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 10px;
    cursor: pointer; /* Make it clickable for accordion */
}

.page-responsible-gambling__faq-question.active + .page-responsible-gambling__faq-answer {
    max-height: 200px; /* Example value, will be set by JS */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-responsible-gambling__faq-answer {
    font-size: 1em;
    color: #555;
    text-align: justify;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.page-responsible-gambling__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.5em;
    }
    .page-responsible-gambling__hero-subtitle {
        font-size: 1.1em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__image--right,
    .page-responsible-gambling__image--left {
        float: none;
        margin: 20px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__hero {
        padding: 60px 0;
    }
    .page-responsible-gambling__hero-title {
        font-size: 2em;
    }
    .page-responsible-gambling__hero-subtitle {
        font-size: 1em;
    }
    .page-responsible-gambling__section {
        padding: 40px 0;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-responsible-gambling__grid-tools {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-responsible-gambling__button {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling__section p,
    .page-responsible-gambling__list li,
    .page-responsible-gambling__tool-card p,
    .page-responsible-gambling__faq-answer {
        font-size: 0.95em;
    }
    .page-responsible-gambling__tool-title {
        font-size: 1.4em;
    }
    .page-responsible-gambling__faq-question {
        font-size: 1.2em;
    }
}

/* Ensure text contrast for all elements */
.page-responsible-gambling__hero-title,
.page-responsible-gambling__hero-subtitle {
    color: #FFD700; /* Gold text on dark blue background */
}

.page-responsible-gambling__section-title,
.page-responsible-gambling__tool-title,
.page-responsible-gambling__faq-question,
.page-responsible-gambling__list li strong {
    color: #0A2463; /* Dark blue text on light background */
}

.page-responsible-gambling__section p,
.page-responsible-gambling__list li,
.page-responsible-gambling__tool-card p,
.page-responsible-gambling__faq-answer {
    color: #333333; /* Dark grey text on light background */
}

.page-responsible-gambling__button--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A2463; /* Dark blue text */
}

.page-responsible-gambling__button--secondary {
    background-color: #0A2463; /* Dark blue background */
    color: #FFD700; /* Gold text */
}

/* Ensure list item background and text contrast */
.page-responsible-gambling__list li {
    background-color: #E6F0FF; /* Very light blue */
    color: #222222; /* Very dark grey */
}
/* Ensure links in list items have good contrast if they appear */
.page-responsible-gambling__list li a {
    color: #0A2463; /* Dark blue for links */
}
.page-responsible-gambling__list li a:hover {
    color: #FFD700; /* Gold on hover */
}