.page-casino-live-dealer-games {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D); /* Default text color */
    background-color: #0a0909; /* Deep red/wine red suggested by 3WIN, using a dark background here */
    padding-bottom: 40px; /* General padding for the bottom */
}

.page-casino-live-dealer-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #1a1a1a; /* Darker background for hero */
    color: #FFFFFF; /* White text for contrast on dark background */
}

.page-casino-live-dealer-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 20px;
}

.page-casino-live-dealer-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-casino-live-dealer-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-casino-live-dealer-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF; /* Ensure H1 is white on dark hero background */
    margin-bottom: 15px;
    /* No fixed font-size, rely on responsive scaling and other properties */
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for responsive H1 */
}

.page-casino-live-dealer-games__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-casino-live-dealer-games__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.page-casino-live-dealer-games__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    min-width: 120px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-casino-live-dealer-games__button--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border: none;
}

.page-casino-live-dealer-games__button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-casino-live-dealer-games__button--secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color, #2F6BFF);
    color: var(--primary-color, #2F6BFF);
}

.page-casino-live-dealer-games__button--secondary:hover {
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-casino-live-dealer-games__intro-section,
.page-casino-live-dealer-games__game-rules-section,
.page-casino-live-dealer-games__responsible-gambling-section,
.page-casino-live-dealer-games__faq-section,
.page-casino-live-dealer-games__cta-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg, #FFFFFF); /* Card background for sections */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-main, #1F2D3D); /* Main text color for these sections */
}

.page-casino-live-dealer-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-casino-live-dealer-games__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color, #2F6BFF);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-casino-live-dealer-games__intro-section p,
.page-casino-live-dealer-games__responsible-gambling-section p,
.page-casino-live-dealer-games__cta-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.page-casino-live-dealer-games__game-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-casino-live-dealer-games__game-card {
    background-color: var(--background, #F4F7FB); /* Using specified background color for cards */
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-casino-live-dealer-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-casino-live-dealer-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, min 200px */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-casino-live-dealer-games__game-card-title {
    font-size: 1.4rem;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-casino-live-dealer-games__game-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow paragraph to grow */
}

.page-casino-live-dealer-games__game-rules-list {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
}

.page-casino-live-dealer-games__game-rules-list li {
    margin-bottom: 5px;
}

.page-casino-live-dealer-games__faq-list {
    margin-top: 30px;
}

.page-casino-live-dealer-games__faq-item {
    border: 1px solid var(--border-color, #D6E2FF);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-casino-live-dealer-games__faq-question {
    font-size: 1.15rem;
    color: var(--custom-color-1776249996415, #000000);
    padding: 15px 20px;
    cursor: pointer;
    background-color: var(--background, #F4F7FB);
    margin: 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-casino-live-dealer-games__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-casino-live-dealer-games__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}


.page-casino-live-dealer-games__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 20px 15px;
    display: none; /* Hidden by default, JS will toggle */
    color: var(--text-main, #1F2D3D);
}

.page-casino-live-dealer-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino-live-dealer-games__hero-section {
        padding-bottom: 20px;
    }

    .page-casino-live-dealer-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

    .page-casino-live-dealer-games__hero-description {
        font-size: 1rem;
    }

    .page-casino-live-dealer-games__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-casino-live-dealer-games__button {
        width: 100%;
        max-width: 250px; /* Limit button width on mobile */
        margin: 0 auto;
        padding: 10px 20px;
    }

    .page-casino-live-dealer-games__intro-section,
    .page-casino-live-dealer-games__game-rules-section,
    .page-casino-live-dealer-games__responsible-gambling-section,
    .page-casino-live-dealer-games__faq-section,
    .page-casino-live-dealer-games__cta-section {
        margin: 20px auto;
        padding: 15px;
    }

    .page-casino-live-dealer-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .page-casino-live-dealer-games__intro-section p,
    .page-casino-live-dealer-games__responsible-gambling-section p,
    .page-casino-live-dealer-games__cta-section p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .page-casino-live-dealer-games__game-rules-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-casino-live-dealer-games__game-card-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Enforce minimum height */
    }

    /* Enforce min-width/height 200px for all images in content area */
    .page-casino-live-dealer-games img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Crucial: ensure no image is smaller than 200px */
        min-height: 200px; /* Crucial: ensure no image is smaller than 200px */
    }

    .page-casino-live-dealer-games__faq-question {
        font-size: 1.05rem;
        padding: 12px 15px;
    }

    .page-casino-live-dealer-games__faq-answer {
        font-size: 0.95rem;
        padding: 0 15px 12px;
    }

    .page-casino-live-dealer-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}