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

.page-responsible-gambling__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    background-color: #f0f0f0;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-responsible-gambling__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Limit hero container width */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.page-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly dim image to make text readable */
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    color: #2C3E50;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

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

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

.page-responsible-gambling__hero-button--primary {
    background-color: #FFD700;
    color: #2C3E50;
    border: 2px solid #FFD700;
}

.page-responsible-gambling__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-responsible-gambling__hero-button--secondary {
    background-color: #2C3E50;
    color: #FFD700;
    border: 2px solid #2C3E50;
}

.page-responsible-gambling__hero-button--secondary:hover {
    background-color: #1a2b3c;
    transform: translateY(-2px);
}

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

.page-responsible-gambling__commitment-section,
.page-responsible-gambling__tools-section,
.page-responsible-gambling__problem-identification-section,
.page-responsible-gambling__support-section,
.page-responsible-gambling__minor-protection-section,
.page-responsible-gambling__pagcor-role-section,
.page-responsible-gambling__faq-section,
.page-responsible-gambling__contact-section {
    padding: 60px 0;
    text-align: center;
}

.page-responsible-gambling__commitment-section {
    background-color: #f9f9f9;
}

.page-responsible-gambling__tools-section {
    background-color: #ffffff;
}

.page-responsible-gambling__problem-identification-section {
    background-color: #f9f9f9;
}

.page-responsible-gambling__support-section {
    background-color: #ffffff;
}

.page-responsible-gambling__minor-protection-section {
    background-color: #f9f9f9;
}

.page-responsible-gambling__pagcor-role-section {
    background-color: #ffffff;
}

.page-responsible-gambling__faq-section {
    background-color: #f9f9f9;
}

.page-responsible-gambling__contact-section {
    background-color: #2C3E50;
    color: #ffffff;
}

.page-responsible-gambling__contact-section .page-responsible-gambling__section-title,
.page-responsible-gambling__contact-section .page-responsible-gambling__section-text {
    color: #ffffff;
}

.page-responsible-gambling__section-title {
    font-size: 2.8em;
    color: #2C3E50;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-responsible-gambling__section-text {
    font-size: 1.1em;
    color: #666666;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gambling__section-text--emphasized {
    font-weight: bold;
    color: #FFD700; /* Accent color for emphasis */
    font-size: 1.2em;
}

.page-responsible-gambling__tool-grid,
.page-responsible-gambling__signs-grid,
.page-responsible-gambling__resources-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__sign-card,
.page-responsible-gambling__resource-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-responsible-gambling__tool-icon {
    width: 200px; /* Min size for content images */
    height: auto;
    margin: 0 auto 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-responsible-gambling__tool-title,
.page-responsible-gambling__sign-title,
.page-responsible-gambling__resource-title {
    font-size: 1.6em;
    color: #2C3E50;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-responsible-gambling__resource-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #2C3E50;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__resource-link:hover {
    background-color: #e6c200;
}

.page-responsible-gambling__minor-protection-image {
    width: 800px; /* Example size, adjust as needed */
    height: 450px;
    max-width: 100%;
    border-radius: 10px;
    margin-top: 40px;
    object-fit: cover;
}

.page-responsible-gambling__pagcor-link {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: #2C3E50;
    color: #FFD700;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__pagcor-link:hover {
    background-color: #1a2b3c;
}

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

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

.page-responsible-gambling__faq-question {
    font-size: 1.4em;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-responsible-gambling__faq-answer {
    font-size: 1em;
    color: #666666;
}

.page-responsible-gambling__faq-button,
.page-responsible-gambling__contact-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: #FFD700;
    color: #2C3E50;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-button:hover,
.page-responsible-gambling__contact-button:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gambling__hero-description {
        font-size: 1.1em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__hero-container {
        padding: 30px 15px;
    }
    .page-responsible-gambling__hero-content {
        padding: 30px;
    }
    .page-responsible-gambling__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling__hero-description {
        font-size: 1em;
    }
    .page-responsible-gambling__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-responsible-gambling__hero-button {
        width: 100%;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__section-text {
        font-size: 0.95em;
    }
    .page-responsible-gambling__tool-grid,
    .page-responsible-gambling__signs-grid,
    .page-responsible-gambling__resources-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__tool-icon {
        width: 250px;
        height: auto;
    }
    .page-responsible-gambling__minor-protection-image {
        width: 100%;
        height: auto;
    }
    .page-responsible-gambling__container {
        padding: 30px 15px;
    }
    .page-responsible-gambling__faq-question {
        font-size: 1.2em;
    }
    .page-responsible-gambling img {
        max-width: 100%;
        height: auto;
    }
}

@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__hero-content {
        padding: 20px;
    }
    .page-responsible-gambling__hero-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-responsible-gambling__section-text--emphasized {
        font-size: 1em;
    }
    .page-responsible-gambling__tool-title,
    .page-responsible-gambling__sign-title,
    .page-responsible-gambling__resource-title {
        font-size: 1.4em;
    }
    .page-responsible-gambling__faq-question {
        font-size: 1.1em;
    }
    .page-responsible-gambling__faq-button,
    .page-responsible-gambling__contact-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}