.page-casino-table-games-guide {
    color: #333333; /* Dark text for light body background */
}

.page-casino-table-games-guide__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #000000; /* Dark background for hero content */
    color: #FFFFFF;
}

.page-casino-table-games-guide__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-casino-table-games-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image */
    z-index: 0;
}

.page-casino-table-games-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-casino-table-games-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-casino-table-games-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-casino-table-games-guide__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 10px 20px;
}

.page-casino-table-games-guide__hero-button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
}

.page-casino-table-games-guide__hero-button--primary:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-casino-table-games-guide__hero-button--secondary {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-casino-table-games-guide__hero-button--secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-casino-table-games-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-casino-table-games-guide__introduction-section,
.page-casino-table-games-guide__featured-games-section,
.page-casino-table-games-guide__strategy-section,
.page-casino-table-games-guide__mobile-gaming-section,
.page-casino-table-games-guide__faq-section,
.page-casino-table-games-guide__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-casino-table-games-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
}

.page-casino-table-games-guide__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.page-casino-table-games-guide__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-table-games-guide__game-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games-guide__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-table-games-guide__game-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    display: block; /* Ensure it's not smaller than 200px due to parent styling */
}

.page-casino-table-games-guide__game-card-title {
    font-size: 1.6em;
    margin: 25px 15px 15px;
    color: #000000;
}

.page-casino-table-games-guide__game-card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 25px;
}

.page-casino-table-games-guide__game-card-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-casino-table-games-guide__game-card-button:hover {
    background-color: #e0a53a;
}

.page-casino-table-games-guide__strategy-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-casino-table-games-guide__strategy-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-casino-table-games-guide__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-casino-table-games-guide__mobile-image {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block; /* Ensure it's not smaller than 200px */
}

.page-casino-table-games-guide__mobile-text {
    flex: 1;
}

.page-casino-table-games-guide__mobile-button {
    display: inline-block;
    margin-top: 30px;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-casino-table-games-guide__mobile-button:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-casino-table-games-guide__faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games-guide__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-casino-table-games-guide__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

.page-casino-table-games-guide__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-casino-table-games-guide__faq-answer a:hover {
    text-decoration: underline;
}

.page-casino-table-games-guide__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
}

.page-casino-table-games-guide__cta-section .page-casino-table-games-guide__section-title {
    color: #FFFFFF;
}

.page-casino-table-games-guide__cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 30px 15px 0;
}

.page-casino-table-games-guide__cta-button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-casino-table-games-guide__cta-button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-casino-table-games-guide__cta-button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-casino-table-games-guide__cta-button--login:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-casino-table-games-guide__hero-title {
        font-size: 3em;
    }
    .page-casino-table-games-guide__hero-description {
        font-size: 1.1em;
    }
    .page-casino-table-games-guide__section-title {
        font-size: 2em;
    }
    .page-casino-table-games-guide__mobile-content {
        flex-direction: column;
    }
    .page-casino-table-games-guide__mobile-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-casino-table-games-guide__hero-title {
        font-size: 2.2em;
    }
    .page-casino-table-games-guide__hero-description {
        font-size: 1em;
    }
    .page-casino-table-games-guide__hero-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 0 8px 15px;
    }
    .page-casino-table-games-guide__section-title {
        font-size: 1.8em;
    }
    .page-casino-table-games-guide__game-grid {
        grid-template-columns: 1fr;
    }
    .page-casino-table-games-guide__mobile-image {
        max-width: 100%;
        width: 100%;
        height: auto; /* ensure images are not smaller than 200px */
    }
    .page-casino-table-games-guide__mobile-text {
        text-align: center;
    }
    /* Mobile overflow prevention */
    .page-casino-table-games-guide img {
        max-width: 100%;
        height: auto;
    }
    .page-casino-table-games-guide {
        overflow-x: hidden;
    }
    .page-casino-table-games-guide__cta-button {
        font-size: 1em;
        padding: 15px 30px;
        margin: 20px 10px 0;
    }
}

@media (max-width: 480px) {
    .page-casino-table-games-guide__hero-title {
        font-size: 1.8em;
    }
    .page-casino-table-games-guide__hero-button {
        display: block;
        margin: 10px auto;
        width: calc(100% - 40px);
    }
    .page-casino-table-games-guide__section-title {
        font-size: 1.5em;
    }
    .page-casino-table-games-guide__game-card-title {
        font-size: 1.4em;
    }
    .page-casino-table-games-guide__faq-question {
        font-size: 1.1em;
    }
    .page-casino-table-games-guide__cta-button {
        display: block;
        margin: 15px auto;
        width: calc(100% - 40px);
    }
}