.page-blog-caxeng2-casino-games-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Assuming body background from shared.css is light */
}

.page-blog-caxeng2-casino-games-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-caxeng2-casino-games-guide__hero-section {
    padding-top: 10px; /* Small top padding as per rules, assuming shared.css handles body padding */
    background-color: #f8f8f8;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-blog-caxeng2-casino-games-guide__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-blog-caxeng2-casino-games-guide__hero-content {
    padding-bottom: 40px;
}

.page-blog-caxeng2-casino-games-guide__main-title {
    font-size: 42px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-caxeng2-casino-games-guide__description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-caxeng2-casino-games-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container width for responsiveness */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-caxeng2-casino-games-guide__btn-primary,
.page-blog-caxeng2-casino-games-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Important for responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-blog-caxeng2-casino-games-guide__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-blog-caxeng2-casino-games-guide__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-blog-caxeng2-casino-games-guide__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-blog-caxeng2-casino-games-guide__btn-secondary:hover {
    background-color: #e6e6e6;
    color: #017439;
    border-color: #017439;
}

/* Content Section */
.page-blog-caxeng2-casino-games-guide__content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-blog-caxeng2-casino-games-guide__section-title {
    font-size: 36px;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-blog-caxeng2-casino-games-guide__sub-title {
    font-size: 28px;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-blog-caxeng2-casino-games-guide__content-section p {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

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

.page-blog-caxeng2-casino-games-guide__category-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.page-blog-caxeng2-casino-games-guide__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-caxeng2-casino-games-guide__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-blog-caxeng2-casino-games-guide__card-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: 600;
}

.page-blog-caxeng2-casino-games-guide__card-title a {
    text-decoration: none;
    color: #017439;
    transition: color 0.3s ease;
}

.page-blog-caxeng2-casino-games-guide__card-title a:hover {
    color: #005a2e;
}

.page-blog-caxeng2-casino-games-guide__category-card p {
    font-size: 15px;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 0;
    text-align: center;
}

.page-blog-caxeng2-casino-games-guide__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-blog-caxeng2-casino-games-guide__step-list li {
    background-color: #f0fcf5;
    border-left: 5px solid #017439;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 17px;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-caxeng2-casino-games-guide__step-list li strong {
    color: #017439;
}

.page-blog-caxeng2-casino-games-guide__cta-banner {
    background-color: #017439;
    border-radius: 10px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-caxeng2-casino-games-guide__banner-image {
    width: 40%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-blog-caxeng2-casino-games-guide__banner-content {
    flex-grow: 1;
    color: #FFFFFF;
}

.page-blog-caxeng2-casino-games-guide__banner-title {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #FFFFFF;
}

.page-blog-caxeng2-casino-games-guide__cta-banner p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #f0f0f0;
    text-align: left;
}

/* Override btn-primary for banner context if needed */
.page-blog-caxeng2-casino-games-guide__cta-banner .page-blog-caxeng2-casino-games-guide__btn-primary {
    background-color: #FFFF00; /* Yellow for contrast on green */
    color: #017439; /* Green text on yellow */
    border-color: #FFFF00;
}

.page-blog-caxeng2-casino-games-guide__cta-banner .page-blog-caxeng2-casino-games-guide__btn-primary:hover {
    background-color: #e6e600;
    border-color: #e6e600;
    color: #005a2e;
}

/* FAQ Section */
.page-blog-caxeng2-casino-games-guide__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-blog-caxeng2-casino-games-guide__faq-list {
    margin-top: 30px;
}

details.page-blog-caxeng2-casino-games-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-blog-caxeng2-casino-games-guide__faq-item summary.page-blog-caxeng2-casino-games-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none; /* Remove default marker */
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: #333333;
}
details.page-blog-caxeng2-casino-games-guide__faq-item summary.page-blog-caxeng2-casino-games-guide__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}
details.page-blog-caxeng2-casino-games-guide__faq-item summary.page-blog-caxeng2-casino-games-guide__faq-question:hover {
    background: #f5f5f5;
}

.page-blog-caxeng2-casino-games-guide__faq-qtext {
    flex: 1;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}

.page-blog-caxeng2-casino-games-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #017439; /* Use brand color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
    line-height: 1;
}

details.page-blog-caxeng2-casino-games-guide__faq-item .page-blog-caxeng2-casino-games-guide__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-caxeng2-casino-games-guide__main-title {
        font-size: 38px;
    }
    .page-blog-caxeng2-casino-games-guide__description {
        font-size: 17px;
    }
    .page-blog-caxeng2-casino-games-guide__section-title {
        font-size: 32px;
    }
    .page-blog-caxeng2-casino-games-guide__sub-title {
        font-size: 26px;
    }
    .page-blog-caxeng2-casino-games-guide__card-title {
        font-size: 20px;
    }
    .page-blog-caxeng2-casino-games-guide__cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .page-blog-caxeng2-casino-games-guide__banner-image {
        width: 80%;
        margin-bottom: 20px;
    }
    .page-blog-caxeng2-casino-games-guide__banner-title {
        font-size: 28px;
    }
    .page-blog-caxeng2-casino-games-guide__cta-banner p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* General content area padding */
    .page-blog-caxeng2-casino-games-guide__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-blog-caxeng2-casino-games-guide__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }
    .page-blog-caxeng2-casino-games-guide__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-blog-caxeng2-casino-games-guide__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Buttons */
    .page-blog-caxeng2-casino-games-guide__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding: 0 15px; /* Add padding to button container */
    }
    .page-blog-caxeng2-casino-games-guide__btn-primary,
    .page-blog-caxeng2-casino-games-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images */
    .page-blog-caxeng2-casino-games-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Content Section */
    .page-blog-caxeng2-casino-games-guide__content-section {
        padding: 40px 0;
    }
    .page-blog-caxeng2-casino-games-guide__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-blog-caxeng2-casino-games-guide__sub-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-blog-caxeng2-casino-games-guide__content-section p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    /* Game Categories */
    .page-blog-caxeng2-casino-games-guide__game-categories {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }
    .page-blog-caxeng2-casino-games-guide__card-image {
        height: 180px; /* Slightly smaller for mobile */
    }
    .page-blog-caxeng2-casino-games-guide__card-title {
        font-size: 18px;
    }
    .page-blog-caxeng2-casino-games-guide__category-card p {
        font-size: 14px;
    }

    /* Step List */
    .page-blog-caxeng2-casino-games-guide__step-list li {
        padding: 15px 20px;
        font-size: 15px;
    }

    /* CTA Banner */
    .page-blog-caxeng2-casino-games-guide__cta-banner {
        padding: 30px 20px;
    }
    .page-blog-caxeng2-casino-games-guide__banner-image {
        width: 100%;
        margin-bottom: 20px;
    }
    .page-blog-caxeng2-casino-games-guide__banner-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .page-blog-caxeng2-casino-games-guide__cta-banner p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-blog-caxeng2-casino-games-guide__cta-banner .page-blog-caxeng2-casino-games-guide__btn-primary {
        width: auto !important; /* Allow button to size based on content for single button */
        max-width: fit-content !important; /* Override 100% for banner button if it's single */
        margin: 0 auto; /* Center single button */
    }

    /* FAQ Section */
    .page-blog-caxeng2-casino-games-guide__faq-section {
        padding: 40px 0;
    }
    details.page-blog-caxeng2-casino-games-guide__faq-item summary.page-blog-caxeng2-casino-games-guide__faq-question {
        padding: 15px !important;
    }
    .page-blog-caxeng2-casino-games-guide__faq-qtext {
        font-size: 16px;
    }
    .page-blog-caxeng2-casino-games-guide__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }
    details.page-blog-caxeng2-casino-games-guide__faq-item .page-blog-caxeng2-casino-games-guide__faq-answer {
        padding: 0 15px 15px !important;
        font-size: 15px;
    }
}