/* style/blog-won88-game-strategy.css */

/* Custom Colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-blog-won88-game-strategy {
    background-color: var(--page-bg);
    color: var(--text-main); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section, body handles header offset */
}

.page-blog-won88-game-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-won88-game-strategy__section {
    padding: 60px 0;
    text-align: center;
}

.page-blog-won88-game-strategy__dark-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-blog-won88-game-strategy__card-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-blog-won88-game-strategy__heading {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--text-main);
    font-weight: bold;
}

.page-blog-won88-game-strategy__sub-heading {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-blog-won88-game-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.page-blog-won88-game-strategy__text-main {
    color: var(--text-main);
}

.page-blog-won88-game-strategy__text-secondary {
    color: var(--text-secondary);
}

.page-blog-won88-game-strategy__text-gold {
    color: var(--gold-color);
}

/* Hero Section */
.page-blog-won88-game-strategy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for the first section */
}

.page-blog-won88-game-strategy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
}

.page-blog-won88-game-strategy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-blog-won88-game-strategy__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 */
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-blog-won88-game-strategy__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-blog-won88-game-strategy__btn-primary,
.page-blog-won88-game-strategy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-blog-won88-game-strategy__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-won88-game-strategy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-won88-game-strategy__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-won88-game-strategy__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Game Grid */
.page-blog-won88-game-strategy__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-won88-game-strategy__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.page-blog-won88-game-strategy__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-blog-won88-game-strategy__game-card h3,
.page-blog-won88-game-strategy__game-card p {
    padding: 0 20px;
}

.page-blog-won88-game-strategy__card-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-blog-won88-game-strategy__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-won88-game-strategy__game-card .page-blog-won88-game-strategy__btn-secondary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
}

/* Content Images */
.page-blog-won88-game-strategy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-blog-won88-game-strategy__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-blog-won88-game-strategy__faq-item {
    background-color: var(--deep-green);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-blog-won88-game-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

.page-blog-won88-game-strategy__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-won88-game-strategy__faq-question:hover {
    background-color: var(--primary-color);
}

.page-blog-won88-game-strategy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold-color);
}

.page-blog-won88-game-strategy__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 1em;
}

.page-blog-won88-game-strategy__faq-item[open] .page-blog-won88-game-strategy__faq-question {
    background-color: var(--primary-color);
}

/* Related Articles */
.page-blog-won88-game-strategy__related-articles {
    background-color: var(--page-bg);
}

.page-blog-won88-game-strategy__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-won88-game-strategy__article-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-won88-game-strategy__article-card .page-blog-won88-game-strategy__card-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.page-blog-won88-game-strategy__article-card h3 {
    padding: 15px 20px 0;
    margin: 0;
}

.page-blog-won88-game-strategy__article-card h3 a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.25em;
    transition: color 0.3s ease;
}

.page-blog-won88-game-strategy__article-card h3 a:hover {
    color: var(--gold-color);
}

.page-blog-won88-game-strategy__article-card p {
    padding: 0 20px;
    margin-top: 10px;
    flex-grow: 1;
}

.page-blog-won88-game-strategy__article-date {
    display: block;
    font-size: 0.85em;
    padding: 0 20px 15px;
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Conclusion Section */
.page-blog-won88-game-strategy__conclusion .page-blog-won88-game-strategy__cta-button {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-won88-game-strategy__heading {
        font-size: 2em;
    }
    .page-blog-won88-game-strategy__sub-heading {
        font-size: 1.5em;
    }
    .page-blog-won88-game-strategy__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-blog-won88-game-strategy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-won88-game-strategy__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-blog-won88-game-strategy__hero-content {
        padding: 20px 15px;
    }

    .page-blog-won88-game-strategy__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-blog-won88-game-strategy__hero-description {
        font-size: 1em;
    }

    .page-blog-won88-game-strategy__section {
        padding: 40px 0;
    }

    .page-blog-won88-game-strategy__container,
    .page-blog-won88-game-strategy__section,
    .page-blog-won88-game-strategy__game-card,
    .page-blog-won88-game-strategy__article-card,
    .page-blog-won88-game-strategy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Images responsive */
    .page-blog-won88-game-strategy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Buttons responsive */
    .page-blog-won88-game-strategy__btn-primary,
    .page-blog-won88-game-strategy__btn-secondary,
    .page-blog-won88-game-strategy a[class*="button"],
    .page-blog-won88-game-strategy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 15px;
    }

    .page-blog-won88-game-strategy__game-card .page-blog-won88-game-strategy__btn-secondary,
    .page-blog-won88-game-strategy__article-card .page-blog-won88-game-strategy__btn-secondary {
        width: calc(100% - 30px) !important; /* Adjusted for padding */
        margin: 0 15px 15px !important;
    }

    .page-blog-won88-game-strategy__game-grid,
    .page-blog-won88-game-strategy__article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-blog-won88-game-strategy__faq-list {
        padding: 0 15px;
    }

    .page-blog-won88-game-strategy__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-blog-won88-game-strategy__faq-answer {
        padding: 0 15px 15px;
    }

    .page-blog-won88-game-strategy__game-card h3,
    .page-blog-won88-game-strategy__game-card p,
    .page-blog-won88-game-strategy__article-card h3,
    .page-blog-won88-game-strategy__article-card p,
    .page-blog-won88-game-strategy__article-date {
        padding-left: 15px;
        padding-right: 15px;
    }
}