/* style/resources-responsible-gaming.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-light: #f4f4f4;
    --border-color: #e0e0e0;
}

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

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

.page-resources-responsible-gaming-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-responsible-gaming-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-responsible-gaming-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-responsible-gaming-btn-primary,
.page-resources-responsible-gaming-btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-resources-responsible-gaming-btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-responsible-gaming-btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-responsible-gaming-btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-resources-responsible-gaming-btn-secondary:hover {
    background-color: lighten(var(--secondary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-resources-responsible-gaming-section {
    padding: 60px 0;
}

.page-resources-responsible-gaming-section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-responsible-gaming-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-resources-responsible-gaming-content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources-responsible-gaming-content-block h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 0;
    width: 100%;
}

.page-resources-responsible-gaming-content-block p {
    font-size: 1.1em;
    color: var(--text-dark);
    flex: 1;
    min-width: 300px;
}

.page-resources-responsible-gaming-content-block ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    flex: 1;
    min-width: 300px;
}

.page-resources-responsible-gaming-content-block ul li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-resources-responsible-gaming-img-left,
.page-resources-responsible-gaming-img-right {
    width: 45%; /* Adjust width for image */
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-resources-responsible-gaming-img-left {
    float: left;
    margin-right: 40px;
}

.page-resources-responsible-gaming-img-right {
    float: right;
    margin-left: 40px;
}

.page-resources-responsible-gaming-bg-alt {
    background-color: #f9f9f9;
}

.page-resources-responsible-gaming-advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-responsible-gaming-advice-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-responsible-gaming-advice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gaming-advice-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-resources-responsible-gaming-advice-item p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-resources-responsible-gaming-advice-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* FAQ Styles */
.page-resources-responsible-gaming-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--secondary-color);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--secondary-color);
}

.faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background-color: #fcfcfc;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    font-size: 1em;
}

.page-resources-responsible-gaming-cta {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.page-resources-responsible-gaming-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-resources-responsible-gaming-cta h2 {
    font-size: 2.8em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gaming-cta p {
    font-size: 1.1em;
    max-width: 700px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-responsible-gaming-cta-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gaming a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-responsible-gaming a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-responsible-gaming-hero h1 {
        font-size: 3em;
    }
    .page-resources-responsible-gaming-section-title {
        font-size: 2em;
    }
    .page-resources-responsible-gaming-content-block img {
        width: 100%;
        float: none;
        margin: 0 auto 20px auto;
    }
    .page-resources-responsible-gaming-content-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-resources-responsible-gaming-content-block p,
    .page-resources-responsible-gaming-content-block ul {
        min-width: unset;
        width: 100%;
    }
    .page-resources-responsible-gaming-img-left, .page-resources-responsible-gaming-img-right {
        margin: 0 auto 20px auto;
    }
}

@media (max-width: 768px) {
    .page-resources-responsible-gaming-hero {
        padding: 60px 0;
    }
    .page-resources-responsible-gaming-hero h1 {
        font-size: 2.5em;
    }
    .page-resources-responsible-gaming-hero p {
        font-size: 1em;
    }
    .page-resources-responsible-gaming-section {
        padding: 40px 0;
    }
    .page-resources-responsible-gaming-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-responsible-gaming-content-block h3 {
        font-size: 1.5em;
    }
    .page-resources-responsible-gaming-advice-item {
        padding: 20px;
    }
    .faq-question {
        padding: 12px 15px;
        font-size: 1em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 1.2em;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-resources-responsible-gaming-cta h2 {
        font-size: 2em;
    }
    .page-resources-responsible-gaming-cta p {
        font-size: 1em;
    }
    .page-resources-responsible-gaming-btn-primary,
    .page-resources-responsible-gaming-btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources-responsible-gaming-hero h1 {
        font-size: 2em;
    }
    .page-resources-responsible-gaming-section-title {
        font-size: 1.5em;
    }
    .page-resources-responsible-gaming-advice-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-responsible-gaming-cta h2 {
        font-size: 1.5em;
    }
}