/* style/responsible-gambling.css */

.page-responsible-gambling {
    color: #333333; /* Default text color for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-responsible-gambling__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
    text-align: center;
}

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

.page-responsible-gambling__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    color: #ffffff;
}

.page-responsible-gambling__hero-title {
    font-size: 3em;
    color: #FFD700; /* Gold primary color */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-responsible-gambling__hero-button,
.page-responsible-gambling__cta-button {
    display: inline-block;
    background-color: #1E90FF; /* Deep Blue auxiliary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-responsible-gambling__hero-button:hover,
.page-responsible-gambling__cta-button:hover {
    background-color: #007bff;
}

.page-responsible-gambling__content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #1E90FF; /* Deep Blue auxiliary color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

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

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

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

.page-responsible-gambling__checklist-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700; /* Gold accent */
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 1.05em;
    display: flex;
    align-items: center;
}

.page-responsible-gambling__checklist-item::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
}

.page-responsible-gambling__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-responsible-gambling__tool-card,
.page-responsible-gambling__support-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__tool-card:hover,
.page-responsible-gambling__support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__tool-title,
.page-responsible-gambling__support-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold primary color */
    margin-bottom: 15px;
}

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

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

.page-responsible-gambling__strategy-item {
    background-color: #e6f7ff; /* Light blue background */
    border-left: 5px solid #1E90FF; /* Deep Blue accent */
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-responsible-gambling__strategy-item strong {
    color: #1E90FF;
}

.page-responsible-gambling__support-link {
    display: inline-block;
    margin-top: 20px;
    color: #1E90FF;
    text-decoration: none;
    font-weight: bold;
}

.page-responsible-gambling__support-link:hover {
    text-decoration: underline;
}

.page-responsible-gambling__external-links {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.page-responsible-gambling__external-item a {
    color: #1E90FF;
    text-decoration: none;
}

.page-responsible-gambling__external-item a:hover {
    text-decoration: underline;
}

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

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

    .page-responsible-gambling__hero-content {
        padding: 20px;
    }

    .page-responsible-gambling__section-title {
        font-size: 2em;
    }

    .page-responsible-gambling__tools-grid,
    .page-responsible-gambling__support-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gambling__text-block,
    .page-responsible-gambling__checklist-item,
    .page-responsible-gambling__tool-description,
    .page-responsible-gambling__support-description,
    .page-responsible-gambling__strategy-item {
        font-size: 0.95em;
    }

    .page-responsible-gambling__image-content {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content images do not overflow on mobile */
    .page-responsible-gambling__content-wrapper img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__hero-title {
        font-size: 1.8em;
    }

    .page-responsible-gambling__hero-button,
    .page-responsible-gambling__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

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