.page-casino-card-games {
    background-color: #FFFFFF; /* Custom background color */
    color: #000000; /* Custom text color */
    padding-bottom: 40px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-casino-card-games__hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.page-casino-card-games__hero-banner {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.page-casino-card-games__hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9; /* Adjusted for 1920x1080 hero image */
    object-fit: cover;
    object-position: center;
}

.page-casino-card-games__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    text-align: center;
}

.page-casino-card-games__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjusted clamp for H1 */
    color: #26A9E0; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-casino-card-games__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-card-games__cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-casino-card-games__cta-button:hover {
    background-color: #d46f06;
}

.page-casino-card-games__secondary-cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Main color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.page-casino-card-games__secondary-cta-button:hover {
    background-color: #1e87bb;
}

.page-casino-card-games__section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 15px;
}

.page-casino-card-games__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #26A9E0; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-casino-card-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #EA7C07; /* Login color for accent */
}

.page-casino-card-games__content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.page-casino-card-games__content-wrapper p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-casino-card-games__content-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    width: 800px; /* HTML width attribute for CLS */
    height: 600px; /* HTML height attribute for CLS */
    aspect-ratio: 4 / 3; /* For 800x600 product image */
    object-fit: cover;
}

.page-casino-card-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-casino-card-games__feature-item {
    background-color: #F8F8F8; /* Light background for features */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-casino-card-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-casino-card-games__feature-title {
    font-size: 1.3rem;
    color: #26A9E0; /* Main color */
    margin-bottom: 10px;
}

.page-casino-card-games__feature-item p {
    font-size: 0.95rem;
    color: #333333;
}

.page-casino-card-games__button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-casino-card-games__faq-item {
    background-color: #F8F8F8; /* Light background for FAQ */
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-casino-card-games__faq-question {
    font-size: 1.1rem;
    color: #26A9E0; /* Main color */
    margin-bottom: 10px;
    cursor: pointer;
}

.page-casino-card-games__faq-answer {
    font-size: 0.95rem;
    color: #333333;
    padding-left: 10px;
    border-left: 3px solid #EA7C07; /* Login color for accent */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-casino-card-games__hero-content {
        padding: 15px;
    }

    .page-casino-card-games__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .page-casino-card-games__description {
        font-size: 1rem;
    }

    .page-casino-card-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-casino-card-games__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .page-casino-card-games__feature-list {
        grid-template-columns: 1fr;
    }

    .page-casino-card-games__content-wrapper img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
        width: auto; /* Allow auto width for responsive scaling */
        height: auto; /* Allow auto height for responsive scaling */
    }
}

@media (max-width: 768px) {
    .page-casino-card-games__hero-banner img,
    .page-casino-card-games__content-wrapper img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size is met */
        min-height: 200px; /* Ensure min size is met */
    }
}

@media (max-width: 549px) {
    .page-casino-card-games__main-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }

    .page-casino-card-games__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    .page-casino-card-games__feature-item {
        padding: 20px;
    }

    .page-casino-card-games__faq-question {
        font-size: 1rem;
    }
}