/* style/responsible-gambling.css */
.page-responsible-gambling {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#0a0a0a), so text must be light */
}

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

.page-responsible-gambling__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-responsible-gambling__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-responsible-gambling__hero-section {
    padding-top: var(--header-offset, 120px);
    background-color: #017439;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling__hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

.page-responsible-gambling__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-responsible-gambling__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 0;
    overflow: hidden;
}

.page-responsible-gambling__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit;
}

.page-responsible-gambling__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-responsible-gambling__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-responsible-gambling__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-responsible-gambling__btn-primary,
.page-responsible-gambling__btn-secondary {
    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, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-responsible-gambling__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-responsible-gambling__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-responsible-gambling__btn-secondary {
    background-color: transparent;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-responsible-gambling__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

.page-responsible-gambling__btn-large {
    font-size: 1.2em;
    padding: 18px 35px;
}

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

.page-responsible-gambling__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-responsible-gambling__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gambling__card-text {
    font-size: 1em;
    line-height: 1.5;
}

.page-responsible-gambling__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-responsible-gambling__list li {
    margin-bottom: 10px;
}

.page-responsible-gambling__help-content,
.page-responsible-gambling__protection-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-responsible-gambling__help-text,
.page-responsible-gambling__protection-text {
    flex: 1;
}

.page-responsible-gambling__help-image-wrapper,
.page-responsible-gambling__protection-image-wrapper {
    flex: 1;
    text-align: center;
}

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

.page-responsible-gambling__tips-list {
    list-style: decimal inside;
    margin-left: 0;
}

.page-responsible-gambling__faq-list {
    margin-top: 40px;
}

.page-responsible-gambling__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-responsible-gambling__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-question:hover {
    background-color: #f0f0f0;
}

.page-responsible-gambling__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-toggle {
    transform: rotate(45deg);
}

.page-responsible-gambling__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #555555;
}

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

.page-responsible-gambling__faq-answer p {
    margin-bottom: 0;
}

.page-responsible-gambling__text-center {
    text-align: center;
}

.page-responsible-gambling__cta-bottom-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-responsible-gambling__main-title {
        font-size: 2.5em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__help-content,
    .page-responsible-gambling__protection-content {
        flex-direction: column;
    }
    .page-responsible-gambling__help-image-wrapper,
    .page-responsible-gambling__protection-image-wrapper {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-responsible-gambling__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-responsible-gambling__main-title {
        font-size: 2em;
    }
    .page-responsible-gambling__description {
        font-size: 1em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-responsible-gambling__btn-primary,
    .page-responsible-gambling__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-responsible-gambling__container {
        padding: 0 15px;
    }
    .page-responsible-gambling__feature-card,
    .page-responsible-gambling__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    /* Mobile image responsiveness */
    .page-responsible-gambling img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-responsible-gambling__section,
    .page-responsible-gambling__card,
    .page-responsible-gambling__container,
    .page-responsible-gambling__hero-image-wrapper,
    .page-responsible-gambling__help-image-wrapper,
    .page-responsible-gambling__protection-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-responsible-gambling__help-section,
    .page-responsible-gambling__protection-section,
    .page-responsible-gambling__tips-section,
    .page-responsible-gambling__faq-section,
    .page-responsible-gambling__cta-bottom-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__main-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling__feature-grid {
        grid-template-columns: 1fr;
    }
}