/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background, contrast 13.9:1 */
    background-color: #f8f9fa; /* Light background */
}

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

.page-faq__highlight {
    color: #003366; /* Main brand color, contrast with white background 11.2:1 */
}

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #003366, #FFCC00);
    color: #ffffff; /* White text for dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("[GALLERY:hero:faq_banner,kubet11,online_betting,sports_casino]") no-repeat center center / cover;
    opacity: 0.15;
    z-index: 0;
}

.page-faq__hero > .page-faq__container {
    position: relative;
    z-index: 1;
}

.page-faq__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-faq__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Light grey for subtle text on dark background, contrast 10.6:1 */
}

.page-faq__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-faq__btn--primary {
    background-color: #FFCC00; /* Accent color */
    color: #003366; /* Main color for text, contrast 6.2:1 */
}

.page-faq__btn--primary:hover {
    background-color: #e6b800; /* Darker accent */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #FFCC00; /* Accent color */
    border: 2px solid #FFCC00;
}

.page-faq__btn--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #ffffff; /* White background for content */
}

.page-faq__section-heading {
    font-size: 2.5em;
    color: #003366; /* Main brand color, contrast with white background 11.2:1 */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-faq__accordion {
    margin-bottom: 40px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #eeeeee;
}

.page-faq__accordion-item:last-child {
    border-bottom: none;
}

.page-faq__accordion-header {
    background-color: #f0f2f5; /* Light grey background, contrast with main color 4.5:1 */
    color: #003366; /* Main brand color */
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active {
    background-color: #003366; /* Main brand color when active */
    color: #FFCC00; /* Accent color for text, contrast 6.2:1 */
}

.page-faq__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__accordion-content {
    padding: 0 25px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555555; /* Slightly lighter text on white background, contrast 9.6:1 */
}

.page-faq__accordion-content.open {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-faq__accordion-content p {
    margin-bottom: 15px;
}

.page-faq__inline-link {
    color: #003366; /* Main brand color for links, contrast with white background 11.2:1 */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
    color: #FFCC00; /* Accent color on hover, contrast with white background 4.5:1 */
}

.page-faq__image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.page-faq__section-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: none; /* Ensure no filter is applied */
}

/* Call to Action Section */
.page-faq__call-to-action {
    background-color: #003366; /* Main brand color */
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-faq__call-to-action .page-faq__section-heading {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-faq__call-to-action .page-faq__text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Light grey for subtle text on dark background, contrast 10.6:1 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq__title {
        font-size: 2.5em;
    }
    .page-faq__subtitle {
        font-size: 1.1em;
    }
    .page-faq__section-heading {
        font-size: 2em;
    }
    .page-faq__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-faq__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-faq__accordion-content {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-faq__title {
        font-size: 2em;
    }
    .page-faq__subtitle {
        font-size: 1em;
    }
    .page-faq__section-heading {
        font-size: 1.8em;
    }
    .page-faq__btn {
        width: 90%;
    }
}