/* style/entertainment-games-blackjack-strategy.css */
.page-entertainment-games-blackjack-strategy {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for general sections */
}

.page-entertainment-games-blackjack-strategy__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-entertainment-games-blackjack-strategy__hero {
    position: relative;
    background: linear-gradient(135deg, #007bff, #28a745);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-entertainment-games-blackjack-strategy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-entertainment-games-blackjack-strategy__hero .page-entertainment-games-blackjack-strategy__container {
    position: relative;
    z-index: 1;
}

.page-entertainment-games-blackjack-strategy__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-entertainment-games-blackjack-strategy__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-entertainment-games-blackjack-strategy__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    margin: 10px;
}

.page-entertainment-games-blackjack-strategy__btn--primary {
    background-color: #ff8400; /* Complementary to primary blue for emphasis */
    color: #fff;
}

.page-entertainment-games-blackjack-strategy__btn--primary:hover {
    background-color: #e67600;
    transform: translateY(-2px);
}

.page-entertainment-games-blackjack-strategy__btn--secondary {
    background-color: #28a745; /* Auxiliary green */
    color: #fff;
}

.page-entertainment-games-blackjack-strategy__btn--secondary:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.page-entertainment-games-blackjack-strategy__btn--tertiary {
    background-color: #0056b3; /* Darker variant of primary blue */
    color: #fff;
}

.page-entertainment-games-blackjack-strategy__btn--tertiary:hover {
    background-color: #003f80;
    transform: translateY(-2px);
}

.page-entertainment-games-blackjack-strategy__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-entertainment-games-blackjack-strategy__section--light-bg {
    background-color: #f0f2f5;
}

.page-entertainment-games-blackjack-strategy__heading {
    font-size: 2.5em;
    color: #007bff; /* Primary blue for main headings */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-entertainment-games-blackjack-strategy__subheading {
    font-size: 1.8em;
    color: #28a745; /* Auxiliary green for subheadings */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 500;
}

.page-entertainment-games-blackjack-strategy__mini-heading {
    font-size: 1.4em;
    color: #0056b3; /* Darker primary blue for mini headings */
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-entertainment-games-blackjack-strategy p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #495057;
}

.page-entertainment-games-blackjack-strategy ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-entertainment-games-blackjack-strategy ol {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-entertainment-games-blackjack-strategy li {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #495057;
}

.page-entertainment-games-blackjack-strategy__link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-entertainment-games-blackjack-strategy__link:hover {
    text-decoration: underline;
}

.page-entertainment-games-blackjack-strategy__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-entertainment-games-blackjack-strategy__image--full-width {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-entertainment-games-blackjack-strategy__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    width: 40%;
}

.page-entertainment-games-blackjack-strategy__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    width: 40%;
}

.page-entertainment-games-blackjack-strategy__grid-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-entertainment-games-blackjack-strategy__option-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-entertainment-games-blackjack-strategy__option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-entertainment-games-blackjack-strategy__option-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-entertainment-games-blackjack-strategy__cta-section {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-entertainment-games-blackjack-strategy__cta-content {
    position: relative;
    z-index: 1;
}

.page-entertainment-games-blackjack-strategy__heading--cta {
    color: #fff;
    font-size: 2.8em;
    margin-bottom: 25px;
}

.page-entertainment-games-blackjack-strategy__cta-section p {
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
}

.page-entertainment-games-blackjack-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.page-entertainment-games-blackjack-strategy__cta-image {
    max-width: 500px;
    width: 100%;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.text-primary {
    color: #007bff;
}

/* Ensure float clearing */
.page-entertainment-games-blackjack-strategy__section::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-entertainment-games-blackjack-strategy__title {
        font-size: 2.5em;
    }
    .page-entertainment-games-blackjack-strategy__heading {
        font-size: 2em;
    }
    .page-entertainment-games-blackjack-strategy__subheading {
        font-size: 1.5em;
    }
    .page-entertainment-games-blackjack-strategy__image--left,
    .page-entertainment-games-blackjack-strategy__image--right {
        float: none;
        margin: 20px auto;
        width: 80%;
        display: block;
    }
}

@media (max-width: 768px) {
    .page-entertainment-games-blackjack-strategy__hero {
        padding: 80px 0;
    }
    .page-entertainment-games-blackjack-strategy__title {
        font-size: 2em;
    }
    .page-entertainment-games-blackjack-strategy__subtitle {
        font-size: 1em;
    }
    .page-entertainment-games-blackjack-strategy__heading {
        font-size: 1.8em;
    }
    .page-entertainment-games-blackjack-strategy__subheading {
        font-size: 1.3em;
    }
    .page-entertainment-games-blackjack-strategy__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-entertainment-games-blackjack-strategy__grid-options {
        grid-template-columns: 1fr;
    }
    .page-entertainment-games-blackjack-strategy__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-entertainment-games-blackjack-strategy__hero {
        padding: 60px 0;
    }
    .page-entertainment-games-blackjack-strategy__title {
        font-size: 1.8em;
    }
    .page-entertainment-games-blackjack-strategy__heading {
        font-size: 1.6em;
    }
    .page-entertainment-games-blackjack-strategy__cta-image {
        max-width: 90%;
    }
}

/* Color Contrast Check: */
/* Text on #f8f9fa (light-bg) should be dark enough. #333 (brightness 49) is good. */
/* Text on #f0f2f5 (light-bg) should be dark enough. #495057 (brightness 79) is good. */
/* Headings #007bff (brightness 101) on #f8f9fa or #f0f2f5 are fine. */
/* Subheadings #28a745 (brightness 118) on #f8f9fa or #f0f2f5 are fine. */
/* Hero section text #fff (brightness 255) on linear-gradient(#007bff, #28a745) (avg brightness around 100-110) is fine. */
/* Buttons: #ff8400 (brightness 163) with #fff (brightness 255) is fine. */
/* Buttons: #28a745 (brightness 118) with #fff (brightness 255) is fine. */
/* Buttons: #0056b3 (brightness 70) with #fff (brightness 255) is fine. */
/* Ensure all text colors have sufficient contrast against their backgrounds. */