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

:root {
    --kkwin-primary: #0A246A;
    --kkwin-secondary: #FFD700;
    --text-dark: #333;
    --text-light: #f8f8f8;
    --background-light: #ffffff;
    --background-grey: #f0f2f5;
}

.page-responsible-gambling-help-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-responsible-gambling-help-resources__hero {
    background: linear-gradient(135deg, var(--kkwin-primary), #1a4292);
    color: var(--text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling-help-resources__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-responsible-gambling-help-resources__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-responsible-gambling-help-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-responsible-gambling-help-resources__title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--kkwin-secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-help-resources__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-responsible-gambling-help-resources__cta-button {
    display: inline-block;
    background-color: var(--kkwin-secondary);
    color: var(--kkwin-primary);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-responsible-gambling-help-resources__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--background-grey);
}

.page-responsible-gambling-help-resources__section:last-of-type {
    border-bottom: none;
}

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

.page-responsible-gambling-help-resources__section-title {
    font-size: 2.5em;
    color: var(--kkwin-primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-responsible-gambling-help-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--kkwin-secondary);
    border-radius: 2px;
}

.page-responsible-gambling-help-resources__introduction p,
.page-responsible-gambling-help-resources__identify-problem p,
.page-responsible-gambling-help-resources__family-friends p,
.page-responsible-gambling-help-resources__kkwin-commitment p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-responsible-gambling-help-resources__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-responsible-gambling-help-resources__list li {
    background-color: var(--background-grey);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling-help-resources__list li p {
    margin: 0;
    font-size: 1.05em;
}

.page-responsible-gambling-help-resources__list li::before {
    content: '✓';
    color: var(--kkwin-secondary);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2em;
    line-height: 1.5;
}

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

.page-responsible-gambling-help-resources__card {
    background-color: var(--background-light);
    border: 1px solid var(--background-grey);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-help-resources__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling-help-resources__card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

.page-responsible-gambling-help-resources__card-title {
    font-size: 1.8em;
    color: var(--kkwin-primary);
    margin-bottom: 15px;
}

.page-responsible-gambling-help-resources__card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.page-responsible-gambling-help-resources__external-link {
    display: inline-block;
    color: var(--kkwin-primary);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--kkwin-primary);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-responsible-gambling-help-resources__external-link:hover {
    background-color: var(--kkwin-primary);
    color: var(--text-light);
}

.page-responsible-gambling-help-resources__note {
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    color: #777;
}

.page-responsible-gambling-help-resources__cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-responsible-gambling-help-resources__cta-button--primary {
    background-color: var(--kkwin-primary);
    color: var(--text-light);
}

.page-responsible-gambling-help-resources__cta-button--primary:hover {
    background-color: #071a4f;
}

.page-responsible-gambling-help-resources__cta-button--secondary {
    background-color: var(--kkwin-secondary);
    color: var(--kkwin-primary);
}

.page-responsible-gambling-help-resources__cta-button--secondary:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-responsible-gambling-help-resources__hero {
        padding: 60px 15px;
    }

    .page-responsible-gambling-help-resources__title {
        font-size: 2.5em;
    }

    .page-responsible-gambling-help-resources__subtitle {
        font-size: 1.1em;
    }

    .page-responsible-gambling-help-resources__section-title {
        font-size: 2em;
    }

    .page-responsible-gambling-help-resources__introduction p,
    .page-responsible-gambling-help-resources__identify-problem p,
    .page-responsible-gambling-help-resources__family-friends p,
    .page-responsible-gambling-help-resources__kkwin-commitment p {
        font-size: 1em;
    }

    .page-responsible-gambling-help-resources__list li {
        padding: 12px 15px;
    }

    .page-responsible-gambling-help-resources__card {
        padding: 25px;
    }

    .page-responsible-gambling-help-resources__card-title {
        font-size: 1.5em;
    }

    .page-responsible-gambling-help-resources__cta-group {
        flex-direction: column;
        align-items: center;
    }

    .page-responsible-gambling-help-resources__cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-help-resources__title {
        font-size: 2em;
    }

    .page-responsible-gambling-help-resources__subtitle {
        font-size: 0.95em;
    }

    .page-responsible-gambling-help-resources__section-title {
        font-size: 1.8em;
    }

    .page-responsible-gambling-help-resources__card-icon {
        width: 60px;
        height: 60px;
    }

    .page-responsible-gambling-help-resources__card-title {
        font-size: 1.3em;
    }
}