/* style/responsible-gambling.css */

/* Global styles for this page only */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background for readability */
    background-color: #f8f8f8; /* Light background */
}

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

/* Hero Section */
.page-responsible-gambling .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #001F3F; /* Primary dark background */
    color: #ffffff; /* Light text for contrast */
}

.page-responsible-gambling .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-responsible-gambling .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-responsible-gambling .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-responsible-gambling .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-responsible-gambling .hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    line-height: 1.2;
}

.page-responsible-gambling .hero-section p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.page-responsible-gambling .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Gold button */
    color: #001F3F; /* Navy text on gold */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling .cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-responsible-gambling .content-section {
    padding: 60px 0;
    background-color: #ffffff; /* White background for main content */
}

.page-responsible-gambling .section-title {
    font-size: 2.2em;
    color: #001F3F; /* Navy blue for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-responsible-gambling .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

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

.page-responsible-gambling h3 {
    font-size: 1.6em;
    color: #001F3F; /* Navy blue for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Feature Grid */
.page-responsible-gambling .feature-grid,
.page-responsible-gambling .support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gambling .feature-item,
.page-responsible-gambling .support-item {
    background-color: #f0f4f8; /* Light blue-gray for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-responsible-gambling .feature-item img,
.page-responsible-gambling .support-item img {
    max-width: 100%; /* Ensure images are not too small */
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

.page-responsible-gambling .feature-item h3,
.page-responsible-gambling .support-item h3 {
    color: #001F3F;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-responsible-gambling .feature-item p,
.page-responsible-gambling .support-item p {
    color: #555555;
    font-size: 0.95em;
}

/* List styles */
.page-responsible-gambling .bullet-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-responsible-gambling .bullet-list li {
    background: #e9eff4; /* Light background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #FFD700; /* Gold accent */
    border-radius: 5px;
    color: #333333;
    font-size: 1em;
}

/* Secondary Button */
.page-responsible-gambling .btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: #001F3F; /* Navy button */
    color: #FFD700; /* Gold text on navy */
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 1px solid #001F3F;
}

.page-responsible-gambling .btn-secondary:hover {
    background: #002c5c; /* Slightly darker navy */
    color: #ffffff; /* White text on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-responsible-gambling .faq-list {
    margin-top: 40px;
}

.page-responsible-gambling .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.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.15em;
    color: #001F3F;
}

.page-responsible-gambling .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-responsible-gambling .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #001F3F; /* Navy on active */
}

.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;
    background: #f9f9f9;
    color: #555555;
    font-size: 0.95em;
}

.page-responsible-gambling .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to show content */
    padding: 20px 25px;
    border-top: 1px solid #e9e9e9;
}

/* Bottom CTA */
.page-responsible-gambling .cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling .hero-section h1 {
        font-size: 2.2em;
    }
    .page-responsible-gambling .section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.4em;
    }
    .page-responsible-gambling .feature-grid,
    .page-responsible-gambling .support-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling .hero-section {
        padding: 40px 15px;
    }
    .page-responsible-gambling .hero-image {
        margin-bottom: 20px;
    }
    .page-responsible-gambling .hero-image img {
        border-radius: 4px;
    }
    .page-responsible-gambling .hero-section h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-responsible-gambling .hero-section p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-responsible-gambling .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-responsible-gambling .content-section {
        padding: 40px 0;
    }
    .page-responsible-gambling .section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-responsible-gambling .faq-question {
        padding: 15px 20px;
    }
    .page-responsible-gambling .faq-question h3 {
        font-size: 1em;
    }
    .page-responsible-gambling .faq-toggle {
        font-size: 20px;
    }
    .page-responsible-gambling .faq-answer {
        padding: 0 20px;
    }
    .page-responsible-gambling .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling .hero-section h1 {
        font-size: 1.5em;
    }
    .page-responsible-gambling .section-title {
        font-size: 1.4em;
    }
    .page-responsible-gambling .feature-item,
    .page-responsible-gambling .support-item {
        padding: 20px;
    }
    .page-responsible-gambling .feature-item img,
    .page-responsible-gambling .support-item img {
        min-width: 200px; /* Maintain min size */
        min-height: 200px; /* Maintain min size */
    }
    .page-responsible-gambling .cta-button {
        width: 100%;
        max-width: 280px;
    }
}