/* style/casino-table-games-strategy.css */

/* Base styling for the page content, ensuring top padding for fixed header */
.page-casino-table-games-strategy {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-casino-table-games-strategy__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text on dark/rich image background */
    text-align: center;
    padding: 80px 20px; /* Adjusted padding for content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-casino-table-games-strategy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-casino-table-games-strategy__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-casino-table-games-strategy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-casino-table-games-strategy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino-table-games-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

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

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

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

/* General Section Styling */
.page-casino-table-games-strategy__introduction-section,
.page-casino-table-games-strategy__game-strategies,
.page-casino-table-games-strategy__advantage-section,
.page-casino-table-games-strategy__advanced-tips,
.page-casino-table-games-strategy__responsible-gaming,
.page-casino-table-games-strategy__cta-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #FFFFFF; /* Ensure light background for text */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games-strategy__section-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-casino-table-games-strategy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-casino-table-games-strategy__section-paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
    text-align: justify;
}

/* Game Strategies Section */
.page-casino-table-games-strategy__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-casino-table-games-strategy__game-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-casino-table-games-strategy__game-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-casino-table-games-strategy__card-title {
    font-size: 1.5em;
    color: #000000;
    padding: 15px 20px 10px;
    margin: 0;
}

.page-casino-table-games-strategy__card-title a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-casino-table-games-strategy__card-title a:hover {
    color: #FCBC45;
}

.page-casino-table-games-strategy__card-description {
    font-size: 1em;
    color: #555555;
    padding: 0 20px 15px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-casino-table-games-strategy__card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    margin: 15px 20px 20px;
    align-self: flex-start; /* Align button to start of card */
    transition: background-color 0.3s ease;
}

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

/* Advantage Section */
.page-casino-table-games-strategy__advantage-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: #f2f2f2;
}

.page-casino-table-games-strategy__advantage-content {
    flex: 1;
    min-width: 300px;
}

.page-casino-table-games-strategy__advantage-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-casino-table-games-strategy__advantage-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure no extra space below image */
    margin: 0 auto; /* Center image */
}

.page-casino-table-games-strategy__advantage-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-casino-table-games-strategy__advantage-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #333333;
}

.page-casino-table-games-strategy__advantage-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #FCBC45;
    font-size: 1.2em;
}

.page-casino-table-games-strategy__advantage-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

/* Advanced Tips Section */
.page-casino-table-games-strategy__tip-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-casino-table-games-strategy__tip-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-casino-table-games-strategy__tip-paragraph {
    font-size: 1.05em;
    color: #333333;
    text-align: justify;
}

/* Responsible Gaming Section */
.page-casino-table-games-strategy__responsible-gaming {
    text-align: center;
    background-color: #fdf6e3; /* Lighter background to stand out */
    border: 1px solid #FCBC45;
}

.page-casino-table-games-strategy__responsible-gaming-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-casino-table-games-strategy__responsible-gaming-button:hover {
    background-color: #333333;
}

/* CTA Section */
.page-casino-table-games-strategy__cta-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: #000000; /* Dark background for strong CTA */
    color: #FFFFFF;
    text-align: center;
}

.page-casino-table-games-strategy__cta-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.page-casino-table-games-strategy__cta-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-casino-table-games-strategy__cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.page-casino-table-games-strategy__cta-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-casino-table-games-strategy__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

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

.page-casino-table-games-strategy__cta-button--secondary {
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #FCBC45;
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino-table-games-strategy__hero-title {
        font-size: 2.5em;
    }
    .page-casino-table-games-strategy__section-title {
        font-size: 2em;
    }
    .page-casino-table-games-strategy__game-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-casino-table-games-strategy__advantage-section,
    .page-casino-table-games-strategy__cta-section {
        flex-direction: column;
        text-align: center;
    }
    .page-casino-table-games-strategy__advantage-content,
    .page-casino-table-games-strategy__advantage-image,
    .page-casino-table-games-strategy__cta-content,
    .page-casino-table-games-strategy__cta-image {
        min-width: unset;
        width: 100%;
    }
    .page-casino-table-games-strategy__advantage-list {
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Mobile content area images must use max-width: 100%; height: auto; */
    .page-casino-table-games-strategy img {
        max-width: 100%;
        height: auto;
    }
    .page-casino-table-games-strategy__hero-section {
        padding: 60px 15px;
        min-height: 500px;
    }
    .page-casino-table-games-strategy__hero-title {
        font-size: 2em;
    }
    .page-casino-table-games-strategy__hero-description {
        font-size: 1.1em;
    }
    .page-casino-table-games-strategy__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-casino-table-games-strategy__section-title {
        font-size: 1.8em;
    }
    .page-casino-table-games-strategy__section-paragraph {
        font-size: 1em;
    }
    .page-casino-table-games-strategy__game-cards {
        grid-template-columns: 1fr;
    }
    .page-casino-table-games-strategy__game-card img {
        height: 200px;
    }
    .page-casino-table-games-strategy__card-title {
        font-size: 1.3em;
    }
    .page-casino-table-games-strategy__tip-title {
        font-size: 1.4em;
    }
    .page-casino-table-games-strategy__cta-title {
        font-size: 2em;
    }
    .page-casino-table-games-strategy__cta-description {
        font-size: 1.1em;
    }
    .page-casino-table-games-strategy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    /* Ensure content area does not overflow horizontally */
    .page-casino-table-games-strategy {
        overflow-x: hidden;
    }
}

/* Image size validation for content area */
/* This rule applies to ALL img tags within the main content area. */
/* It ensures no img within this scope is rendered smaller than 200px in width or height. */
/* This is a general safeguard against small icons being used in the main content. */
.page-casino-table-games-strategy img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}