.page-responsible-gaming {
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-responsible-gaming__hero-section {
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to Background */
    border-bottom: 1px solid #A84F0C; /* Border */
}

.page-responsible-gaming__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    width: 1200px; /* Display width */
    height: 675px; /* Display height */
    object-fit: cover;
}

.page-responsible-gaming__hero-content {
    max-width: 800px;
    width: 100%; /* Ensure width: 100% is present for flex item */
}

.page-responsible-gaming__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
    max-width: 100%;
    /* No fixed font-size, rely on clamp if needed, but not here by default */
}

.page-responsible-gaming__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF3E6; /* Text Main */
}

.page-responsible-gaming__cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-responsible-gaming__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 26, 0.4); /* Glow effect */
}

.page-responsible-gaming__cta-button--secondary {
    background: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
}

.page-responsible-gaming__cta-button--secondary:hover {
    background: #0D0E12; /* Background */
    box-shadow: 0 6px 12px rgba(168, 79, 12, 0.4);
}

.page-responsible-gaming__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-responsible-gaming__sub-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #FFA53A; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-responsible-gaming__text-block {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
    text-align: justify;
}

/* Intro Section */
.page-responsible-gaming__intro-section {
    padding: 40px 0;
    border-bottom: 1px solid #A84F0C; /* Border */
}

/* Features Section */
.page-responsible-gaming__features-section {
    padding: 40px 0;
    border-bottom: 1px solid #A84F0C; /* Border */
}

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

.page-responsible-gaming__feature-card {
    background-color: #17191F; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #A84F0C; /* Border */
}

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

.page-responsible-gaming__feature-icon {
    width: 400px; /* Match HTML width */
    height: 300px; /* Match HTML height */
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px; /* Ensure min 200x200 for content images */
}

.page-responsible-gaming__card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 15px;
}

.page-responsible-gaming__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
}

/* Advice Section */
.page-responsible-gaming__advice-section {
    padding: 40px 0;
    border-bottom: 1px solid #A84F0C; /* Border */
}

.page-responsible-gaming__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-responsible-gaming__tip-item {
    background-color: #17191F; /* Card BG */
    border-left: 5px solid #FFA53A; /* Auxiliary color */
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__tip-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #FFB04D; /* Glow */
    margin-bottom: 10px;
}

.page-responsible-gaming__tip-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
}

/* Help Section */
.page-responsible-gaming__help-section {
    padding: 40px 0;
    border-bottom: 1px solid #A84F0C; /* Border */
}

.page-responsible-gaming__contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.page-responsible-gaming__contact-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #FFF3E6; /* Text Main */
}

.page-responsible-gaming__support-organizations {
    margin-top: 40px;
}

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

.page-responsible-gaming__organization-item {
    background-color: #17191F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #A84F0C; /* Border */
}

.page-responsible-gaming__organization-logo {
    width: 200px; /* Match HTML width */
    height: 100px; /* Match HTML height */
    object-fit: contain;
    margin-bottom: 15px;
    min-width: 200px; /* Min 200px for content images */
    min-height: 200px;
}

.page-responsible-gaming__organization-name {
    font-size: 1.25em;
    font-weight: 700;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 10px;
}

.page-responsible-gaming__organization-description {
    font-size: 0.9em;
    line-height: 1.5;
    color: #FFF3E6; /* Text Main */
}

/* FAQ Section */
.page-responsible-gaming__faq-section {
    padding: 40px 0 80px 0;
}

.page-responsible-gaming__faq-list {
    margin-top: 30px;
}

.page-responsible-gaming__faq-item {
    background-color: #17191F; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #A84F0C; /* Border */
}

.page-responsible-gaming__faq-question {
    width: 100%;
    background-color: #17191F; /* Card BG */
    color: #FFB04D; /* Glow */
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question:hover {
    background-color: #0D0E12; /* Background */
}

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

.page-responsible-gaming__faq-question[aria-expanded="true"]::after {
    content: '-';
    transform: rotate(180deg);
}

.page-responsible-gaming__faq-answer {
    padding: 0 25px;
    background-color: #0D0E12; /* Background */
    color: #FFF3E6; /* Text Main */
    font-size: 0.95em;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-responsible-gaming__faq-answer[data-expanded] {
    max-height: 200px; /* Arbitrary max-height for smooth transition */
    padding: 15px 25px 20px 25px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .page-responsible-gaming__container {
        padding: 15px;
    }

    .page-responsible-gaming__hero-section {
        padding: 30px 15px;
    }

    .page-responsible-gaming__main-title {
        font-size: 1.8em;
    }

    .page-responsible-gaming__description {
        font-size: 1em;
    }

    .page-responsible-gaming__cta-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .page-responsible-gaming__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-responsible-gaming__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gaming img {
        max-width: 100%;
        height: auto;
    }

    .page-responsible-gaming__hero-image {
        width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 112px; /* 16:9 aspect ratio for hero, min height > 200px if original height was larger */
    }
    .page-responsible-gaming__feature-icon,
    .page-responsible-gaming__organization-logo {
        width: 100%; /* Ensure they scale down */
        height: auto;
        max-width: 200px; /* Still respect the min-width constraint */
        min-height: 200px; /* Ensure content images are at least 200px tall */
    }

    .page-responsible-gaming__organization-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-responsible-gaming__main-title {
        font-size: 1.5em;
    }
    .page-responsible-gaming__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gaming__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-responsible-gaming__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}