/* style/responsible-gambling.css */

/* General styles for the page content */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-responsible-gambling__section {
    padding: 60px 0;
    text-align: center;
}

.page-responsible-gambling__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-responsible-gambling__section-title {
    font-size: 2.8em;
    color: #0A6847;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.page-responsible-gambling__section-title .highlight {
    color: #FFD700;
}

.page-responsible-gambling p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

/* Hero Section */
.page-responsible-gambling__hero {
    background: linear-gradient(135deg, #0A6847 0%, #30805c 100%);
    color: #ffffff;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.page-responsible-gambling__hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

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

.page-responsible-gambling__hero-title .highlight {
    color: #FFD700;
}

.page-responsible-gambling__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-responsible-gambling__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A6847;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

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

.page-responsible-gambling__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.page-responsible-gambling__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(50%);
}

/* Intro Section */
.page-responsible-gambling__intro p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gambling__image-inline {
    max-width: 80%;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Principles Section */
.page-responsible-gambling__principles {
    background-color: #ffffff;
}

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

.page-responsible-gambling__grid-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #0A6847;
}

.page-responsible-gambling__item-title {
    font-size: 1.5em;
    color: #0A6847;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gambling__grid-item p {
    font-size: 1em;
    color: #555;
}

/* Tools and Resources Section */
.page-responsible-gambling__tools-resources {
    background-color: #f0f0f0;
}

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

.page-responsible-gambling__resource-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-responsible-gambling__resource-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-responsible-gambling__resource-item .page-responsible-gambling__item-title {
    font-size: 1.4em;
    color: #0A6847;
    margin-bottom: 10px;
}

.page-responsible-gambling__resource-item p {
    font-size: 1em;
    color: #555;
    flex-grow: 1;
    text-align: center;
}

.page-responsible-gambling__link.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    border: none;
}

.page-responsible-gambling__link.btn--secondary {
    background-color: #0A6847;
    color: #ffffff;
}

.page-responsible-gambling__link.btn--secondary:hover {
    background-color: #074b33;
}

.page-responsible-gambling__note {
    font-style: italic;
    margin-top: 40px;
    color: #666;
    font-size: 0.95em;
    text-align: center;
}

/* Self-Help Tips Section */
.page-responsible-gambling__self-help {
    background-color: #ffffff;
}

.page-responsible-gambling__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-responsible-gambling__tips-list {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.page-responsible-gambling__tip-item {
    margin-bottom: 30px;
}

.page-responsible-gambling__tip-item .page-responsible-gambling__item-title {
    font-size: 1.3em;
    color: #0A6847;
    margin-bottom: 10px;
}

.page-responsible-gambling__tips-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-responsible-gambling__tips-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-responsible-gambling__faq {
    background-color: #f0f0f0;
}

.page-responsible-gambling__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-responsible-gambling__faq-question {
    font-size: 1.3em;
    color: #0A6847;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-responsible-gambling__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-responsible-gambling__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-responsible-gambling__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-responsible-gambling__faq-answer.active {
    max-height: 200px;
    opacity: 1;
    padding-top: 15px;
}

/* Call to Action Section */
.page-responsible-gambling__cta {
    background: linear-gradient(135deg, #0A6847, #54957e);
    color: #ffffff;
    padding: 80px 0;
}

.page-responsible-gambling__cta-content {
    max-width: 800px;
    text-align: center;
}

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

.page-responsible-gambling__cta p {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-responsible-gambling__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 10px 20px;
    border: none;
}

.page-responsible-gambling__cta-button.btn--primary {
    background-color: #FFD700;
    color: #0A6847;
}

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

.page-responsible-gambling__cta-button.btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-responsible-gambling__cta-button.btn--secondary:hover {
    background-color: #FFD700;
    color: #0A6847;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gambling__hero-subtitle {
        font-size: 1.2em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling__grid,
    .page-responsible-gambling__resource-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-responsible-gambling__content-wrapper {
        flex-direction: column;
    }
    .page-responsible-gambling__tips-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__hero {
        padding: 80px 0;
    }
    .page-responsible-gambling__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling__hero-subtitle {
        font-size: 1em;
    }
    .page-responsible-gambling__hero-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-responsible-gambling__section {
        padding: 40px 0;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-responsible-gambling p {
        font-size: 1em;
    }
    .page-responsible-gambling__grid-item,
    .page-responsible-gambling__resource-item {
        padding: 20px;
    }
    .page-responsible-gambling__item-title {
        font-size: 1.3em;
    }
    .page-responsible-gambling__resource-icon {
        width: 60px;
        height: 60px;
    }
    .page-responsible-gambling__cta-button {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
}

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