/* style/responsible-gambling-help-resources.css */

.page-responsible-gambling-help-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-responsible-gambling-help-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-responsible-gambling-help-resources__hero {
    background: linear-gradient(135deg, #007bff, #ffc107);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling-help-resources__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-help-resources__hero-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-responsible-gambling-help-resources__hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-help-resources__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling-help-resources__section:nth-of-type(even) {
    background-color: #f1f5f9;
}

.page-responsible-gambling-help-resources__section-title {
    font-size: 2.2em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-responsible-gambling-help-resources__intro p,
.page-responsible-gambling-help-resources__signs p,
.page-responsible-gambling-help-resources__external-resources p,
.page-responsible-gambling-help-resources__advice-family p,
.page-responsible-gambling-help-resources__call-to-action p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #495057;
}

.page-responsible-gambling-help-resources__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-responsible-gambling-help-resources__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #495057;
}

.page-responsible-gambling-help-resources__list li strong {
    color: #007bff;
}

.page-responsible-gambling-help-resources__image-content {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling-help-resources__image-content--cta {
    max-width: 90%;
    margin-top: 50px;
}

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

.page-responsible-gambling-help-resources__grid-item {
    background-color: #e9f5ff;
    border-left: 5px solid #007bff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-help-resources__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling-help-resources__item-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-responsible-gambling-help-resources__grid-item p {
    font-size: 1em;
    color: #343a40;
}

.page-responsible-gambling-help-resources__button {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
    border: none;
    cursor: pointer;
}

.page-responsible-gambling-help-resources__button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-responsible-gambling-help-resources__button--primary {
    background-color: #007bff;
    color: #fff;
    margin-right: 15px;
}

.page-responsible-gambling-help-resources__button--primary:hover {
    background-color: #0056b3;
}

.page-responsible-gambling-help-resources__button--secondary {
    background-color: #6c757d;
    color: #fff;
}

.page-responsible-gambling-help-resources__button--secondary:hover {
    background-color: #5a6268;
}

.page-responsible-gambling-help-resources__list-external {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-responsible-gambling-help-resources__list-external li {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling-help-resources__list-external li .page-responsible-gambling-help-resources__item-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-responsible-gambling-help-resources__list-external li p {
    font-size: 1.05em;
    color: #343a40;
    margin-bottom: 15px;
}

.page-responsible-gambling-help-resources__link-external {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-responsible-gambling-help-resources__link-external:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-responsible-gambling-help-resources__faq-item {
    background-color: #e9f5ff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling-help-resources__faq-question {
    font-size: 1.2em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.page-responsible-gambling-help-resources__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #007bff;
    transition: transform 0.3s ease;
}

.page-responsible-gambling-help-resources__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-responsible-gambling-help-resources__faq-answer {
    font-size: 1.05em;
    color: #495057;
    padding-top: 10px;
    border-top: 1px solid #cce5ff;
    margin-top: 10px;
    display: none; /* Hidden by default */
}

.page-responsible-gambling-help-resources__faq-answer.active {
    display: block;
}

.page-responsible-gambling-help-resources__call-to-action {
    text-align: center;
    background: linear-gradient(to right, #007bff, #ffc107);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove bottom margin for the last section */
}

.page-responsible-gambling-help-resources__call-to-action .page-responsible-gambling-help-resources__section-title {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-responsible-gambling-help-resources__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling-help-resources__hero-subtitle {
        font-size: 1em;
    }
    .page-responsible-gambling-help-resources__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-help-resources__grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling-help-resources__button {
        display: block;
        width: fit-content;
        margin: 20px auto;
    }
    .page-responsible-gambling-help-resources__button--primary {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-help-resources__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-help-resources__section {
        padding: 40px 0;
    }
    .page-responsible-gambling-help-resources__hero-image,
    .page-responsible-gambling-help-resources__image-content {
        max-width: 95%;
    }
}