.page-game-guides-baccarat {
    font-family: Arial, sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* body background is #0a0a0a from shared.css */
}

.page-game-guides-baccarat__section {
    padding: 60px 0;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background video/image if any */
}

.page-game-guides-baccarat__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-game-guides-baccarat__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 120px 0 60px; /* Default padding for desktop, adjusted for header offset */
    background-color: #0d0d0d; /* Slightly lighter than body for contrast */
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-game-guides-baccarat__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin-right: 0;
    margin-bottom: 40px;
}

.page-game-guides-baccarat__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides-baccarat__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-game-guides-baccarat__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-game-guides-baccarat__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-game-guides-baccarat__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* General Section Styling */
.page-game-guides-baccarat__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-guides-baccarat__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #8B0000; /* Dark red brand color */
    border-radius: 2px;
}

.page-game-guides-baccarat__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-game-guides-baccarat__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-game-guides-baccarat__list {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-game-guides-baccarat__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-game-guides-baccarat__link {
    color: #FFD700; /* Gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides-baccarat__link:hover {
    color: #f5e086; /* Lighter gold on hover */
    text-decoration: underline;
}

/* Buttons */
.page-game-guides-baccarat__btn-primary,
.page-game-guides-baccarat__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-game-guides-baccarat__btn-primary {
    background-color: #FFD700; /* Gold brand color */
    color: #0a0a0a; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-game-guides-baccarat__btn-primary:hover {
    background-color: #f5e086; /* Lighter gold on hover */
    border-color: #f5e086;
    color: #000000;
}

.page-game-guides-baccarat__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-game-guides-baccarat__btn-secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0a0a0a; /* Dark text */
}

/* Dark background sections for contrast */
.page-game-guides-baccarat__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body for sections */
    padding: 60px 0;
    border-radius: 10px;
    text-align: center;
}

.page-game-guides-baccarat__dark-bg .page-game-guides-baccarat__section-title,
.page-game-guides-baccarat__dark-bg .page-game-guides-baccarat__paragraph,
.page-game-guides-baccarat__dark-bg .page-game-guides-baccarat__link {
    color: #ffffff;
}

.page-game-guides-baccarat__dark-bg .page-game-guides-baccarat__section-title::after {
    background-color: #FFD700;
}

/* FAQ Section */
.page-game-guides-baccarat__faq-section {
    background-color: #0d0d0d; /* Slightly lighter than body for section */
    padding: 60px 0;
}

.page-game-guides-baccarat__faq-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides-baccarat__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #2a2a2a;
    color: #FFD700; /* Gold for question */
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-game-guides-baccarat__faq-question:hover {
    background-color: #3a3a3a;
}

.page-game-guides-baccarat__faq-title {
    margin: 0;
    color: #FFD700;
    font-size: 1.2em;
}

.page-game-guides-baccarat__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-game-guides-baccarat__faq-item.active .page-game-guides-baccarat__faq-toggle {
    transform: rotate(45deg);
}

.page-game-guides-baccarat__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-game-guides-baccarat__faq-item.active .page-game-guides-baccarat__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides-baccarat__hero-title {
        font-size: 3em;
    }
    .page-game-guides-baccarat__hero-description {
        font-size: 1.1em;
    }
    .page-game-guides-baccarat__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-guides-baccarat__hero-section {
        flex-direction: column;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
        min-height: auto;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    }

    .page-game-guides-baccarat__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }

    .page-game-guides-baccarat__hero-title {
        font-size: 2.5em;
    }

    .page-game-guides-baccarat__hero-description {
        font-size: 1em;
    }

    .page-game-guides-baccarat__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-game-guides-baccarat__btn-primary,
    .page-game-guides-baccarat__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-game-guides-baccarat__section {
        padding: 40px 0;
    }

    .page-game-guides-baccarat__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-guides-baccarat__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-game-guides-baccarat__paragraph,
    .page-game-guides-baccarat__list-item {
        font-size: 1em;
    }

    .page-game-guides-baccarat__image-content {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        margin: 30px auto;
    }

    .page-game-guides-baccarat__list {
        margin-left: 20px;
    }

    .page-game-guides-baccarat__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-game-guides-baccarat__faq-title {
        font-size: 1.1em;
    }

    .page-game-guides-baccarat__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure no image filters */
.page-game-guides-baccarat img {
    filter: none;
}

/* Specific styling for the CTA section with dark background */
.page-game-guides-baccarat__cta-section .page-game-guides-baccarat__container {
    background-color: #8B0000; /* Dark red brand color for CTA background */
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 10px;
}

.page-game-guides-baccarat__cta-section .page-game-guides-baccarat__section-title {
    color: #FFD700; /* Gold for title on dark red background */
}

.page-game-guides-baccarat__cta-section .page-game-guides-baccarat__section-title::after {
    background-color: #FFD700;
}

.page-game-guides-baccarat__cta-section .page-game-guides-baccarat__paragraph {
    color: #f0f0f0;
}

.page-game-guides-baccarat__cta-section .page-game-guides-baccarat__link {
    color: #FFD700;
}
.page-game-guides-baccarat__cta-section .page-game-guides-baccarat__link:hover {
    color: #f5e086;
}