/* style/bookmaker-reviews-top-rated.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-dark: #000000; /* Body background from shared.css */
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-bookmaker-reviews-top-rated {
    color: var(--text-on-dark); /* Default text color for the main page content, as body is dark */
    background-color: var(--background-dark);
}

/* Fixed navigation bar spacing */
.page-bookmaker-reviews-top-rated__hero-content-section {
    padding-top: 120px; /* Desktop: Adjust for fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.page-bookmaker-reviews-top-rated__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-on-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-bookmaker-reviews-top-rated__intro-text {
    font-size: 18px;
    color: var(--text-on-dark);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.page-bookmaker-reviews-top-rated__highlight-text {
    color: var(--primary-color);
    font-weight: bold;
}

.page-bookmaker-reviews-top-rated__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-on-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-bookmaker-reviews-top-rated__cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews-top-rated__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-bookmaker-reviews-top-rated__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-bookmaker-reviews-top-rated__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-on-light);
    line-height: 1.6;
}

/* Criteria Section */
.page-bookmaker-reviews-top-rated__criteria-section {
    background-color: var(--background-light);
    padding: 60px 0;
    color: var(--text-on-light);
}

.page-bookmaker-reviews-top-rated__criteria-section .page-bookmaker-reviews-top-rated__section-title {
    color: var(--secondary-color);
}

.page-bookmaker-reviews-top-rated__criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-bookmaker-reviews-top-rated__criteria-item {
    padding: 30px;
    text-align: center;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bookmaker-reviews-top-rated__criteria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-reviews-top-rated__criteria-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-bookmaker-reviews-top-rated__criteria-heading {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-bookmaker-reviews-top-rated__criteria-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-on-light);
}

.page-bookmaker-reviews-top-rated__conclusion-text {
    font-size: 18px;
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: var(--text-on-light);
}

/* Recommendation Section */
.page-bookmaker-reviews-top-rated__recommendation-section {
    background-color: var(--background-dark);
    padding: 60px 0;
    color: var(--text-on-dark);
}

.page-bookmaker-reviews-top-rated__recommendation-section .page-bookmaker-reviews-top-rated__section-title {
    color: var(--primary-color);
}

.page-bookmaker-reviews-top-rated__recommendation-section .page-bookmaker-reviews-top-rated__section-description {
    color: var(--text-on-dark);
}

.page-bookmaker-reviews-top-rated__platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-bookmaker-reviews-top-rated__platform-card {
    padding: 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-bookmaker-reviews-top-rated__platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews-top-rated__platform-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 20px auto;
}

.page-bookmaker-reviews-top-rated__platform-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-bookmaker-reviews-top-rated__platform-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-bookmaker-reviews-top-rated__platform-link:hover {
    color: var(--text-on-dark);
    text-decoration: underline;
}

.page-bookmaker-reviews-top-rated__platform-summary {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-on-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-bookmaker-reviews-top-rated__platform-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.page-bookmaker-reviews-top-rated__platform-features span {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: var(--text-on-dark);
}

.page-bookmaker-reviews-top-rated__stars {
    color: var(--primary-color);
    margin-right: 5px;
    font-weight: bold;
}

.page-bookmaker-reviews-top-rated__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-on-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    margin-top: auto; /* Push button to bottom */
}

.page-bookmaker-reviews-top-rated__btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews-top-rated__view-all-platforms {
    text-align: center;
    margin-top: 50px;
}

.page-bookmaker-reviews-top-rated__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--card-background);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-color);
}

.page-bookmaker-reviews-top-rated__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-on-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-bookmaker-reviews-top-rated__guide-section {
    background-color: var(--background-light);
    padding: 60px 0;
    color: var(--text-on-light);
}

.page-bookmaker-reviews-top-rated__guide-section .page-bookmaker-reviews-top-rated__section-title {
    color: var(--secondary-color);
}

.page-bookmaker-reviews-top-rated__guide-section .page-bookmaker-reviews-top-rated__section-description {
    color: var(--text-on-light);
}

.page-bookmaker-reviews-top-rated__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-bookmaker-reviews-top-rated__guide-list li {
    background-color: var(--card-background);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-on-light);
    border-left: 5px solid var(--primary-color);
}

.page-bookmaker-reviews-top-rated__guide-list li strong {
    color: var(--secondary-color);
}

.page-bookmaker-reviews-top-rated__link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-bookmaker-reviews-top-rated__link:hover {
    color: #004499;
    text-decoration: underline;
}

/* FAQ Section */
.page-bookmaker-reviews-top-rated__faq-section {
    background-color: var(--background-dark);
    padding: 60px 0;
    color: var(--text-on-dark);
}

.page-bookmaker-reviews-top-rated__faq-section .page-bookmaker-reviews-top-rated__section-title {
    color: var(--primary-color);
}

.page-bookmaker-reviews-top-rated__faq-list {
    margin-top: 40px;
}

.page-bookmaker-reviews-top-rated__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-bookmaker-reviews-top-rated__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-top-rated__faq-item.active .page-bookmaker-reviews-top-rated__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 5px 5px;
    color: var(--text-on-dark);
}

.page-bookmaker-reviews-top-rated__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-bookmaker-reviews-top-rated__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-bookmaker-reviews-top-rated__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

.page-bookmaker-reviews-top-rated__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-on-dark);
    pointer-events: none; /* Allow click on entire question div */
}

.page-bookmaker-reviews-top-rated__faq-question-link {
    color: inherit;
    text-decoration: none;
}

.page-bookmaker-reviews-top-rated__faq-question-link:hover {
    text-decoration: underline;
}

.page-bookmaker-reviews-top-rated__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Allow click on entire question div */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-bookmaker-reviews-top-rated__faq-item.active .page-bookmaker-reviews-top-rated__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* Blog Section */
.page-bookmaker-reviews-top-rated__blog-section {
    background-color: var(--background-light);
    padding: 60px 0;
    color: var(--text-on-light);
}

.page-bookmaker-reviews-top-rated__blog-section .page-bookmaker-reviews-top-rated__section-title {
    color: var(--secondary-color);
}

.page-bookmaker-reviews-top-rated__blog-section .page-bookmaker-reviews-top-rated__section-description {
    color: var(--text-on-light);
}

.page-bookmaker-reviews-top-rated__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-bookmaker-reviews-top-rated__blog-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bookmaker-reviews-top-rated__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-bookmaker-reviews-top-rated__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-bookmaker-reviews-top-rated__blog-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 20px 20px 10px 20px;
    line-height: 1.4;
}

.page-bookmaker-reviews-top-rated__blog-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-bookmaker-reviews-top-rated__blog-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-bookmaker-reviews-top-rated__blog-excerpt {
    font-size: 15px;
    color: var(--text-on-light);
    padding: 0 20px 20px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-bookmaker-reviews-top-rated__blog-card .page-bookmaker-reviews-top-rated__btn-secondary {
    margin: 0 20px 20px 20px;
    text-align: center;
    align-self: flex-start;
    width: calc(100% - 40px);
}

.page-bookmaker-reviews-top-rated__view-all-news {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-bookmaker-reviews-top-rated__main-title {
        font-size: 36px;
    }
    .page-bookmaker-reviews-top-rated__section-title {
        font-size: 30px;
    }
    .page-bookmaker-reviews-top-rated__intro-text,
    .page-bookmaker-reviews-top-rated__section-description,
    .page-bookmaker-reviews-top-rated__conclusion-text {
        font-size: 17px;
    }
    .page-bookmaker-reviews-top-rated__cta-button {
        padding: 14px 35px;
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-bookmaker-reviews-top-rated__hero-content-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-bookmaker-reviews-top-rated__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-bookmaker-reviews-top-rated__intro-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-bookmaker-reviews-top-rated__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-bookmaker-reviews-top-rated__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-bookmaker-reviews-top-rated__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-bookmaker-reviews-top-rated__criteria-grid,
    .page-bookmaker-reviews-top-rated__platform-grid,
    .page-bookmaker-reviews-top-rated__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-bookmaker-reviews-top-rated__criteria-item,
    .page-bookmaker-reviews-top-rated__platform-card,
    .page-bookmaker-reviews-top-rated__blog-card {
        padding: 20px;
    }
    .page-bookmaker-reviews-top-rated__criteria-icon,
    .page-bookmaker-reviews-top-rated__platform-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .page-bookmaker-reviews-top-rated__criteria-heading {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .page-bookmaker-reviews-top-rated__criteria-item p,
    .page-bookmaker-reviews-top-rated__platform-summary,
    .page-bookmaker-reviews-top-rated__blog-excerpt,
    .page-bookmaker-reviews-top-rated__guide-list li {
        font-size: 14px;
    }
    .page-bookmaker-reviews-top-rated__platform-name {
        font-size: 20px;
    }
    .page-bookmaker-reviews-top-rated__btn-primary,
    .page-bookmaker-reviews-top-rated__btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    .page-bookmaker-reviews-top-rated__blog-title {
        font-size: 18px;
        padding: 15px 15px 8px 15px;
    }
    .page-bookmaker-reviews-top-rated__blog-excerpt {
        padding: 0 15px 15px 15px;
    }
    .page-bookmaker-reviews-top-rated__blog-card .page-bookmaker-reviews-top-rated__btn-secondary {
        margin: 0 15px 15px 15px;
        width: calc(100% - 30px);
    }
    .page-bookmaker-reviews-top-rated__faq-question h3 {
        font-size: 15px;
    }
    .page-bookmaker-reviews-top-rated__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-bookmaker-reviews-top-rated__faq-item.active .page-bookmaker-reviews-top-rated__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-bookmaker-reviews-top-rated img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-bookmaker-reviews-top-rated__container,
    .page-bookmaker-reviews-top-rated__hero-content-section,
    .page-bookmaker-reviews-top-rated__criteria-section,
    .page-bookmaker-reviews-top-rated__recommendation-section,
    .page-bookmaker-reviews-top-rated__guide-section,
    .page-bookmaker-reviews-top-rated__faq-section,
    .page-bookmaker-reviews-top-rated__blog-section,
    .page-bookmaker-reviews-top-rated__criteria-item,
    .page-bookmaker-reviews-top-rated__platform-card,
    .page-bookmaker-reviews-top-rated__blog-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-bookmaker-reviews-top-rated__blog-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .page-bookmaker-reviews-top-rated__main-title {
        font-size: 24px;
    }
    .page-bookmaker-reviews-top-rated__section-title {
        font-size: 22px;
    }
    .page-bookmaker-reviews-top-rated__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
}