/* style/resources-8day-bookmaker-review.css */

/* Base styles for the page content */
.page-resources-8day-bookmaker-review {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Inherited from shared, ensuring contrast */
}

.page-resources-8day-bookmaker-review__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-8day-bookmaker-review__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-8day-bookmaker-review__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-8day-bookmaker-review__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-8day-bookmaker-review__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 40px;
}

.page-resources-8day-bookmaker-review__main-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.page-resources-8day-bookmaker-review__intro-text {
    font-size: 1.25em;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* General Section Styles */
.page-resources-8day-bookmaker-review__content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-8day-bookmaker-review__content-section:last-of-type {
    border-bottom: none;
}

.page-resources-8day-bookmaker-review__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-8day-bookmaker-review__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #C30808;
    border-radius: 2px;
}

.page-resources-8day-bookmaker-review__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-8day-bookmaker-review__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-resources-8day-bookmaker-review__text-block p a {
    color: #FFFF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-8day-bookmaker-review__text-block p a:hover {
    color: #017439;
}

/* Buttons */
.page-resources-8day-bookmaker-review__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-resources-8day-bookmaker-review__btn-primary,
.page-resources-8day-bookmaker-review__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-8day-bookmaker-review__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-resources-8day-bookmaker-review__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-8day-bookmaker-review__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom font color */
    border: 2px solid #FFFF00;
}

.page-resources-8day-bookmaker-review__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
}

/* Image styles */
.page-resources-8day-bookmaker-review__grid-image,
.page-resources-8day-bookmaker-review__promotion-banner,
.page-resources-8day-bookmaker-review__security-image,
.page-resources-8day-bookmaker-review__mobile-app-image,
.page-resources-8day-bookmaker-review__support-image,
.page-resources-8day-bookmaker-review__payment-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-8day-bookmaker-review__promotion-banner {
    margin-top: 20px;
}

/* List styles */
.page-resources-8day-bookmaker-review__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-8day-bookmaker-review__list li {
    margin-bottom: 10px;
}

.page-resources-8day-bookmaker-review__list li a {
    color: #FFFF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-8day-bookmaker-review__list li a:hover {
    color: #017439;
}

.page-resources-8day-bookmaker-review__text-block ol {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-8day-bookmaker-review__text-block ol li {
    margin-bottom: 10px;
}

.page-resources-8day-bookmaker-review__text-block ol li a {
    color: #FFFF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-8day-bookmaker-review__text-block ol li a:hover {
    color: #017439;
}

/* Game Showcase Grid */
.page-resources-8day-bookmaker-review__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-8day-bookmaker-review__grid-item {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-8day-bookmaker-review__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-resources-8day-bookmaker-review__item-title {
    font-size: 1.5em;
    color: #017439;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-resources-8day-bookmaker-review__item-title a {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-8day-bookmaker-review__item-title a:hover {
    color: #FFFF00;
}

.page-resources-8day-bookmaker-review__grid-item p {
    color: #ccc;
    font-size: 0.95em;
}

/* FAQ Section */
.page-resources-8day-bookmaker-review__faq-list {
    margin-top: 30px;
}

.page-resources-8day-bookmaker-review__faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-resources-8day-bookmaker-review__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #017439;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-resources-8day-bookmaker-review__faq-question:hover {
    background-color: #015f2e;
}

.page-resources-8day-bookmaker-review__faq-qtext {
    flex-grow: 1;
}

.page-resources-8day-bookmaker-review__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-resources-8day-bookmaker-review__faq-item[open] .page-resources-8day-bookmaker-review__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-8day-bookmaker-review__faq-answer {
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #ccc;
    font-size: 0.95em;
}

.page-resources-8day-bookmaker-review__faq-answer p {
    margin-bottom: 10px;
}

.page-resources-8day-bookmaker-review__faq-answer p a {
    color: #FFFF00;
    text-decoration: none;
}

.page-resources-8day-bookmaker-review__faq-answer p a:hover {
    color: #017439;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-8day-bookmaker-review__main-title {
        font-size: 2.8em;
    }
    .page-resources-8day-bookmaker-review__intro-text {
        font-size: 1.1em;
    }
    .page-resources-8day-bookmaker-review__section-title {
        font-size: 2em;
    }
    .page-resources-8day-bookmaker-review__grid-layout {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-8day-bookmaker-review {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-8day-bookmaker-review__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-8day-bookmaker-review__hero-content {
        padding: 20px;
    }
    .page-resources-8day-bookmaker-review__main-title {
        font-size: 2em;
    }
    .page-resources-8day-bookmaker-review__intro-text {
        font-size: 1em;
    }
    .page-resources-8day-bookmaker-review__section-title {
        font-size: 1.8em;
    }
    .page-resources-8day-bookmaker-review__sub-title {
        font-size: 1.5em;
    }
    .page-resources-8day-bookmaker-review__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-8day-bookmaker-review__btn-primary,
    .page-resources-8day-bookmaker-review__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-8day-bookmaker-review__grid-layout {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsiveness */
    .page-resources-8day-bookmaker-review img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-8day-bookmaker-review__section,
    .page-resources-8day-bookmaker-review__card,
    .page-resources-8day-bookmaker-review__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-8day-bookmaker-review__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-8day-bookmaker-review__video-container,
    .page-resources-8day-bookmaker-review__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-resources-8day-bookmaker-review__main-title {
        font-size: 1.8em;
    }
    .page-resources-8day-bookmaker-review__section-title {
        font-size: 1.5em;
    }
    .page-resources-8day-bookmaker-review__hero-section {
        min-height: 400px;
    }
    .page-resources-8day-bookmaker-review__hero-content {
        padding: 15px;
    }
    .page-resources-8day-bookmaker-review__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-resources-8day-bookmaker-review__faq-answer {
        padding: 10px 20px;
    }
}