/* style/bookmaker-reviews.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey/Black */
    --accent-color: #E74C3C; /* Red for emphasis */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-bookmaker-reviews {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--bg-dark); /* Inherited from body */
    line-height: 1.6;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
}

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

.page-bookmaker-reviews__card {
    background: #ffffff; /* White background for cards */
    color: var(--text-dark); /* Dark text on white background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-bottom: 30px;
}

.page-bookmaker-reviews__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.page-bookmaker-reviews__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    font-weight: 600;
}

.page-bookmaker-reviews__intro-section {
    background: var(--bg-dark);
    padding: 60px 0;
}

.page-bookmaker-reviews__intro-text {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-bookmaker-reviews__intro-text strong {
    color: var(--primary-color);
}

.page-bookmaker-reviews__why-trust-section,
.page-bookmaker-reviews__criteria-section,
.page-bookmaker-reviews__how-to-choose-section,
.page-bookmaker-reviews__games-section,
.page-bookmaker-reviews__responsible-gaming-section,
.page-bookmaker-reviews__faq-section,
.page-bookmaker-reviews__cta-section {
    padding: 30px 0;
    background-color: var(--bg-dark); /* Consistent dark background for sections */
}

.page-bookmaker-reviews__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-bookmaker-reviews__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-bookmaker-reviews__list-item strong {
    color: var(--primary-color);
}

.page-bookmaker-reviews__criteria-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #f9f9f9;
}

.page-bookmaker-reviews__criteria-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-bookmaker-reviews__criteria-item p {
    margin-bottom: 15px;
}

.page-bookmaker-reviews__image-wrapper {
    text-align: center;
    margin: 20px 0;
}

.page-bookmaker-reviews__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.page-bookmaker-reviews__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-bookmaker-reviews__game-card-small {
    background: #fefefe;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bookmaker-reviews__game-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-reviews__game-thumbnail {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, may crop */
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-bookmaker-reviews__game-card-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-bookmaker-reviews__game-card-description {
    font-size: 0.95em;
    color: #555;
}

.page-bookmaker-reviews__button-group {
    text-align: center;
    margin-top: 30px;
}

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

.page-bookmaker-reviews__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-bookmaker-reviews__btn-primary:hover {
    background: #e0b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-bookmaker-reviews__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ Styles */
.page-bookmaker-reviews__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-bookmaker-reviews__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-bookmaker-reviews__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-bookmaker-reviews__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-bookmaker-reviews__faq-question:active {
    background: #eeeeee;
}

.page-bookmaker-reviews__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
}

.page-bookmaker-reviews__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-toggle {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-bookmaker-reviews__main-title {
        font-size: 2.5em;
    }
    .page-bookmaker-reviews__section-title {
        font-size: 1.8em;
    }
    .page-bookmaker-reviews__card {
        padding: 30px;
    }
    .page-bookmaker-reviews__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-bookmaker-reviews {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-bookmaker-reviews__container {
        padding: 15px;
    }
    .page-bookmaker-reviews__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-bookmaker-reviews__main-title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .page-bookmaker-reviews__section-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-bookmaker-reviews__intro-text {
        font-size: 1em;
    }
    .page-bookmaker-reviews__criteria-title {
        font-size: 1.4em;
    }
    .page-bookmaker-reviews__game-thumbnail {
        height: 150px; /* Adjust height for mobile */
    }
    .page-bookmaker-reviews__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%; /* Full width buttons on mobile */
        box-sizing: border-box;
    }
    .page-bookmaker-reviews__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-bookmaker-reviews__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-bookmaker-reviews__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-bookmaker-reviews__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-bookmaker-reviews__faq-answer {
        padding: 0 15px;
    }
    .page-bookmaker-reviews__faq-item.active .page-bookmaker-reviews__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image adaptation */
    .page-bookmaker-reviews img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-bookmaker-reviews__intro-section,
    .page-bookmaker-reviews__why-trust-section,
    .page-bookmaker-reviews__criteria-section,
    .page-bookmaker-reviews__how-to-choose-section,
    .page-bookmaker-reviews__games-section,
    .page-bookmaker-reviews__responsible-gaming-section,
    .page-bookmaker-reviews__faq-section,
    .page-bookmaker-reviews__cta-section,
    .page-bookmaker-reviews__container,
    .page-bookmaker-reviews__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}