/* style/responsible-gambling.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #1a1a2e;
    --border-color: #e0e0e0;
}

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

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

.page-responsible-gambling section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.page-responsible-gambling h1, .page-responsible-gambling h2, .page-responsible-gambling h3, .page-responsible-gambling h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-responsible-gambling h1 {
    font-size: 2.8em;
    color: var(--text-color-light);
}

.page-responsible-gambling h2 {
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-responsible-gambling h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-responsible-gambling h4 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
}

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

.page-responsible-gambling ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-responsible-gambling ul li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.page-responsible-gambling a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Banner */
.page-responsible-gambling .hero-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000066 100%); /* Dark Blue gradient */
    color: var(--text-color-light);
    text-align: center;
    padding: 80px 20px;
}

.page-responsible-gambling .hero-banner p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 20px auto 40px auto;
    color: #e0e0e0;
}

.page-responsible-gambling .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.page-responsible-gambling .cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
    text-decoration: none;
}

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

.page-responsible-gambling .secondary-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
}

.page-responsible-gambling .secondary-button:hover {
    background-color: #000066; /* Slightly darker dark blue */
    color: var(--primary-color);
}

/* Content Blocks with Images */
.page-responsible-gambling .content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.page-responsible-gambling .content-image-left {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-responsible-gambling .content-image-right {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    order: 2;
}

.page-responsible-gambling .content-block p, .page-responsible-gambling .content-block ul {
    flex: 1;
    min-width: 300px;
}

.page-responsible-gambling .content-block .content-image-left + p, .page-responsible-gambling .content-block .content-image-left + ul {
    flex: 1;
}

.page-responsible-gambling .content-block .content-image-right + p, .page-responsible-gambling .content-block .content-image-right + ul {
    order: 1;
}

/* Tool Grid */
.page-responsible-gambling .tool-grid, .page-responsible-gambling .principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.page-responsible-gambling .tool-item:hover, .page-responsible-gambling .principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling .tool-icon, .page-responsible-gambling .principle-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-responsible-gambling .tool-item h3, .page-responsible-gambling .principle-item h4 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.page-responsible-gambling .call-to-action-text {
    text-align: center;
    font-style: italic;
    margin-top: 40px;
    font-size: 1.15em;
    color: var(--secondary-color);
}

/* Contact Info */
.page-responsible-gambling .contact-info {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling .contact-info ul {
    list-style: none;
    padding-left: 0;
}

.page-responsible-gambling .contact-info ul li {
    margin-bottom: 10px;
}

/* FAQ Section */
.page-responsible-gambling .section-faq {
    background-color: #eef2f3;
}

.page-responsible-gambling .faq-list {
    margin-top: 30px;
}

.page-responsible-gambling .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-responsible-gambling .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling .faq-question:hover {
    background: #f5f5f5;
}

.page-responsible-gambling .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
}

.page-responsible-gambling .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-responsible-gambling .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.page-responsible-gambling .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-responsible-gambling .content-block {
        flex-direction: column;
        align-items: center;
    }
    .page-responsible-gambling .content-image-left, .page-responsible-gambling .content-image-right {
        max-width: 600px;
        margin-bottom: 20px;
        order: 1; /* Reset order for smaller screens */
    }
    .page-responsible-gambling .content-block p, .page-responsible-gambling .content-block ul {
        min-width: unset;
        order: 2; /* Reset order for smaller screens */
    }
    .page-responsible-gambling .content-block .content-image-right + p, .page-responsible-gambling .content-block .content-image-right + ul {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling h1 {
        font-size: 2.2em;
    }
    .page-responsible-gambling h2 {
        font-size: 1.8em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.5em;
    }
    .page-responsible-gambling p {
        font-size: 1em;
    }
    .page-responsible-gambling .hero-banner {
        padding: 60px 15px;
    }
    .page-responsible-gambling .hero-banner p {
        font-size: 1.1em;
    }
    .page-responsible-gambling .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling .secondary-button {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-responsible-gambling .tool-item, .page-responsible-gambling .principle-item {
        padding: 20px;
    }
    .page-responsible-gambling .faq-question {
        padding: 15px 20px;
    }
    .page-responsible-gambling .faq-question h3 {
        font-size: 1.1em;
    }
    .page-responsible-gambling .faq-toggle {
        font-size: 20px;
    }
    .page-responsible-gambling .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling h1 {
        font-size: 1.8em;
    }
    .page-responsible-gambling h2 {
        font-size: 1.6em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.3em;
    }
    .page-responsible-gambling .cta-button {
        width: 100%;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .page-responsible-gambling .secondary-button {
        margin-top: 10px;
    }
    .page-responsible-gambling .tool-grid, .page-responsible-gambling .principles-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling .content-image-left, .page-responsible-gambling .content-image-right {
        max-width: 100%;
    }
}