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

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

.page-responsible-gambling__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-responsible-gambling__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 500px;
}

.page-responsible-gambling__hero-content {
    z-index: 1;
    max-width: 800px;
}

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

.page-responsible-gambling__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

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

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #003366; /* Main brand color */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-responsible-gambling__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-responsible-gambling__info-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

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

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

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

.page-responsible-gambling__feature-icon {
    width: 200px; /* Minimum size */
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-responsible-gambling__feature-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-responsible-gambling__feature-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-responsible-gambling__link-text {
    color: #FFCC00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-responsible-gambling__link-text:hover {
    color: #e6b800;
    text-decoration: underline;
}

.page-responsible-gambling__guidelines-section {
    padding: 60px 0;
}

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

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

.page-responsible-gambling__guideline-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

.page-responsible-gambling__guideline-item p {
    color: #555555;
}

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

.page-responsible-gambling__protection-section .page-responsible-gambling__section-title {
    color: #FFCC00;
}

.page-responsible-gambling__protection-section .page-responsible-gambling__section-intro {
    color: #f0f0f0;
}

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

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

.page-responsible-gambling__protection-image {
    width: 200px; /* Minimum size */
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-responsible-gambling__protection-card-title {
    font-size: 1.6em;
    color: #FFCC00;
    margin-bottom: 15px;
}

.page-responsible-gambling__protection-card-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-responsible-gambling__callout {
    text-align: center;
    font-size: 1.1em;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-responsible-gambling__myths-facts-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-responsible-gambling__accordion-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-responsible-gambling__accordion-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling__accordion-header {
    background-color: #003366;
    color: #ffffff;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__accordion-header:hover {
    background-color: #004488;
}

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

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

.page-responsible-gambling__accordion-content {
    padding: 0 25px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-responsible-gambling__accordion-content.open {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px 25px 25px;
}

.page-responsible-gambling__accordion-content p {
    color: #555555;
    font-size: 1em;
}

.page-responsible-gambling__cta-section {
    background-color: #FFCC00;
    padding: 60px 0;
    text-align: center;
    color: #003366;
}

.page-responsible-gambling__cta-section .page-responsible-gambling__section-title {
    color: #003366;
}

.page-responsible-gambling__cta-section .page-responsible-gambling__section-title::after {
    background-color: #003366;
}

.page-responsible-gambling__cta-section .page-responsible-gambling__section-intro {
    color: #003366;
}

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

.page-responsible-gambling__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1em;
    white-space: nowrap;
}

.page-responsible-gambling__button--primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-responsible-gambling__button--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

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

.page-responsible-gambling__button--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

.page-responsible-gambling__button--tertiary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-responsible-gambling__button--tertiary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__feature-icon,
    .page-responsible-gambling__protection-image {
        width: 180px;
        height: 135px;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__hero-container {
        padding: 60px 20px;
        min-height: 400px;
    }
    .page-responsible-gambling__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling__hero-description {
        font-size: 1em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section-intro {
        font-size: 0.95em;
    }
    .page-responsible-gambling__features-grid,
    .page-responsible-gambling__protection-content {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__feature-icon,
    .page-responsible-gambling__protection-image {
        max-width: 100%;
        height: auto;
    }
    .page-responsible-gambling__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-responsible-gambling__accordion-content {
        padding: 0 20px;
    }
    .page-responsible-gambling__accordion-content.open {
        padding: 15px 20px 20px 20px;
    }
    .page-responsible-gambling__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-responsible-gambling__hero-actions,
    .page-responsible-gambling__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Mobile content area images must not cause overflow */
    .page-responsible-gambling img {
        max-width: 100%;
        height: auto;
    }
    .page-responsible-gambling {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.6em;
    }
    .page-responsible-gambling__feature-title,
    .page-responsible-gambling__protection-card-title {
        font-size: 1.4em;
    }
    .page-responsible-gambling__hero-container {
        padding: 40px 15px;
    }
}