.page-responsible-gambling {
    color: #333333; /* Dark text for default white body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-responsible-gambling__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-responsible-gambling__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

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

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

.page-responsible-gambling__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-responsible-gambling__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    text-align: center;
}

.page-responsible-gambling__button--primary {
    background-color: #E5B80B;
    color: #0A2342;
    border: 2px solid #E5B80B;
}

.page-responsible-gambling__button--primary:hover {
    background-color: #f5d14e;
    transform: translateY(-2px);
}

.page-responsible-gambling__button--secondary {
    background-color: transparent;
    color: #E5B80B;
    border: 2px solid #E5B80B;
}

.page-responsible-gambling__button--secondary:hover {
    background-color: rgba(229, 184, 11, 0.2);
    transform: translateY(-2px);
}

.page-responsible-gambling__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

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

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

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

.page-responsible-gambling__tool-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-responsible-gambling__tool-card:hover {
    transform: translateY(-5px);
}

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

.page-responsible-gambling__tool-title {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-responsible-gambling__tool-description {
    font-size: 1em;
    color: #666666;
}

.page-responsible-gambling__list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #555555;
}

.page-responsible-gambling__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-responsible-gambling__resource-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-responsible-gambling__resource-item {
    background-color: #0A2342;
    color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-responsible-gambling__resource-title {
    font-size: 2em;
    color: #E5B80B;
    margin-bottom: 15px;
}

.page-responsible-gambling__resource-description {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-responsible-gambling__button--link {
    background-color: #E5B80B;
    color: #0A2342;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__button--link:hover {
    background-color: #f5d14e;
}

.page-responsible-gambling__support-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-responsible-gambling__support-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-responsible-gambling__faq-accordion {
    margin-top: 30px;
}

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

.page-responsible-gambling__faq-question {
    font-size: 1.3em;
    color: #0A2342;
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-responsible-gambling__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #E5B80B;
    transition: transform 0.3s ease;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-responsible-gambling__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
    max-height: 300px; /* Adjust based on content */
    padding: 15px 25px 20px 25px;
}

.page-responsible-gambling__faq-answer p {
    margin: 0;
    color: #666666;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.5em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__hero-content {
        padding: 20px;
    }
    .page-responsible-gambling__hero-title {
        font-size: 2em;
    }
    .page-responsible-gambling__hero-description {
        font-size: 1em;
    }
    .page-responsible-gambling__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-responsible-gambling__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling__content-area {
        padding: 15px;
        margin: 20px auto;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__text-block, .page-responsible-gambling__list-item, .page-responsible-gambling__tool-description, .page-responsible-gambling__resource-description {
        font-size: 0.95em;
    }
    .page-responsible-gambling__tool-grid, .page-responsible-gambling__resource-list {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__tool-image, .page-responsible-gambling__support-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-responsible-gambling__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    /* Ensure content images do not overflow on mobile */
    .page-responsible-gambling__content-area img {
        max-width: 100%;
        height: auto;
    }
}