/* style/responsible-gambling.css */

/* General Page Styles */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for readability */
}

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

/* Hero Section */
.page-responsible-gambling__hero {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-responsible-gambling__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Buttons */
.page-responsible-gambling__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.page-responsible-gambling__btn--primary {
    background-color: #ffc107; /* Auxiliary color for CTA */
    color: #333; /* Dark text for contrast */
    border: 2px solid #ffc107;
}

.page-responsible-gambling__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    color: #000;
}

.page-responsible-gambling__btn--secondary {
    background-color: transparent;
    color: #007bff; /* Primary color for secondary CTA */
    border: 1px solid #007bff;
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-responsible-gambling__btn--secondary:hover {
    background-color: #007bff;
    color: #ffffff;
}

.page-responsible-gambling__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* Section Styles */
.page-responsible-gambling__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-responsible-gambling__section:last-of-type {
    border-bottom: none;
}

.page-responsible-gambling__section-title {
    font-size: 2.2em;
    color: #007bff; /* Primary color for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-responsible-gambling__section p {
    margin-bottom: 15px;
    color: #444;
}

/* Lists */
.page-responsible-gambling__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-responsible-gambling__list li {
    margin-bottom: 10px;
    color: #444;
}

.page-responsible-gambling__list--tips {
    list-style: decimal inside;
}

/* Images */
.page-responsible-gambling__image {
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: auto;
}

.page-responsible-gambling__image--full-width {
    max-width: 100%;
}

.page-responsible-gambling__image--medium {
    max-width: 70%;
}

.page-responsible-gambling__image--small {
    max-width: 50%;
}

/* Detail List for Sub-pages */
.page-responsible-gambling__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-responsible-gambling__detail-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling__detail-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gambling__detail-title a {
    color: #007bff;
    text-decoration: none;
}

.page-responsible-gambling__detail-title a:hover {
    text-decoration: underline;
}

.page-responsible-gambling__detail-description {
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-responsible-gambling__faq-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
}

.page-responsible-gambling__faq-question {
    font-size: 1.3em;
    color: #0056b3; /* Darker primary color for questions */
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer; /* Indicate it's clickable */
}

.page-responsible-gambling__faq-question:hover {
    text-decoration: underline;
}

.page-responsible-gambling__faq-answer {
    color: #555;
    display: none; /* Hidden by default, toggled by JS */
}

/* Call to Action Section */
.page-responsible-gambling__cta {
    background-color: #007bff; /* Primary color */
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.page-responsible-gambling__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-responsible-gambling__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-responsible-gambling__cta-small-text {
    margin-top: 20px;
    font-size: 0.9em;
    color: #c0dfff;
}

.page-responsible-gambling__cta-small-text a {
    color: #ffc107; /* Auxiliary color for links in CTA */
    text-decoration: none;
    font-weight: bold;
}

.page-responsible-gambling__cta-small-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .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__detail-list {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__image--medium,
    .page-responsible-gambling__image--small {
        max-width: 90%;
    }
    .page-responsible-gambling__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__hero {
        padding: 60px 0;
    }
    .page-responsible-gambling__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section {
        padding: 40px 0;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling__btn--primary,
    .page-responsible-gambling__btn--large {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-responsible-gambling__image--full-width,
    .page-responsible-gambling__image--medium,
    .page-responsible-gambling__image--small {
        max-width: 100%;
    }
    .page-responsible-gambling__list {
        margin-left: 0;
        list-style-position: outside;
    }
}