/* style/responsible-gaming-get-help.css */
.page-responsible-gaming-get-help {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background, WCAG AA contrast with #1A202C (7.4:1) */
    line-height: 1.6;
    background-color: #1A202C;
}

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

.page-responsible-gaming-get-help__hero-section {
    background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%); /* Dark gradient for hero */
    padding: 80px 0;
    text-align: center;
    color: #FFD700;
}

.page-responsible-gaming-get-help__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold/Yellow for title, WCAG AA contrast with #1A202C (10.9:1) */
    font-weight: bold;
}

.page-responsible-gaming-get-help__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e5dfd3; /* Light text on dark background */
}

.page-responsible-gaming-get-help__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold/Yellow for CTA */
    color: #1A202C; /* Dark text on gold, WCAG AA contrast (10.9:1) */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-responsible-gaming-get-help__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-responsible-gaming-get-help__cta-button--secondary {
    background-color: #767980; /* Grey for secondary CTA */
    color: #e5dfd3; /* Light text on grey, WCAG AA contrast (4.6:1) */
    margin-left: 15px;
}

.page-responsible-gaming-get-help__cta-button--secondary:hover {
    background-color: #5f636b;
}

.page-responsible-gaming-get-help__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-responsible-gaming-get-help__section:last-of-type {
    border-bottom: none;
}

.page-responsible-gaming-get-help__section-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold/Yellow for title */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-responsible-gaming-get-help__subsection-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold/Yellow for subsection title */
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #FFD700;
    padding-left: 15px;
}

.page-responsible-gaming-get-help__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.page-responsible-gaming-get-help__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-responsible-gaming-get-help__text-content {
    flex: 1;
}

.page-responsible-gaming-get-help__image-wrapper {
    flex: 1;
    text-align: center;
}

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

.page-responsible-gaming-get-help__image--centered {
    display: block;
    margin: 40px auto;
}

.page-responsible-gaming-get-help__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e5dfd3;
}

.page-responsible-gaming-get-help__list li {
    margin-bottom: 10px;
}

.page-responsible-gaming-get-help__link {
    color: #FFD700; /* Gold/Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-responsible-gaming-get-help__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-responsible-gaming-get-help__highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Accordion Styles */
.page-responsible-gaming-get-help__accordion {
    margin-top: 30px;
}

.page-responsible-gaming-get-help__accordion-item {
    background-color: #2a3340; /* Slightly lighter dark background for items, WCAG AA contrast with #e5dfd3 (5.9:1) */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-responsible-gaming-get-help__accordion-header {
    background-color: #3a475a; /* Darker blue for header, WCAG AA contrast with #FFD700 (5.6:1) */
    color: #FFD700;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming-get-help__accordion-header:hover {
    background-color: #4a5b70;
}

.page-responsible-gaming-get-help__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-responsible-gaming-get-help__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-responsible-gaming-get-help__accordion-content {
    padding: 0 25px;
    background-color: #2a3340;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-responsible-gaming-get-help__accordion-content p {
    margin-bottom: 15px;
    padding-top: 15px;
}

.page-responsible-gaming-get-help__accordion-content.active {
    max-height: 500px; /* Adjust as needed, will be overridden by JS for scrollHeight */
    padding-bottom: 25px;
}

.page-responsible-gaming-get-help__cta-buttons {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gaming-get-help__main-title {
        font-size: 2.2em;
    }
    .page-responsible-gaming-get-help__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming-get-help__content-grid {
        flex-direction: column;
    }
    .page-responsible-gaming-get-help__content-grid--reverse {
        flex-direction: column;
    }
    .page-responsible-gaming-get-help__cta-button {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .page-responsible-gaming-get-help__cta-button--secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-responsible-gaming-get-help__hero-section {
        padding: 60px 0;
    }
    .page-responsible-gaming-get-help__main-title {
        font-size: 1.8em;
    }
    .page-responsible-gaming-get-help__hero-description {
        font-size: 1em;
    }
    .page-responsible-gaming-get-help__section {
        padding: 40px 0;
    }
    .page-responsible-gaming-get-help__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gaming-get-help__subsection-title {
        font-size: 1.3em;
    }
    .page-responsible-gaming-get-help__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .page-responsible-gaming-get-help__container {
        padding: 0 15px;
    }
    .page-responsible-gaming-get-help__main-title {
        font-size: 1.5em;
    }
    .page-responsible-gaming-get-help__cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-responsible-gaming-get-help__cta-button {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
}