/* style/resources-k88-game-strategy.css */
.page-resources-k88-game-strategy {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-resources-k88-game-strategy__hero {
    background: linear-gradient(135deg, #0A2463, #FFD700);
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-resources-k88-game-strategy__hero-content {
    max-width: 800px;
}

.page-resources-k88-game-strategy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-k88-game-strategy__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-resources-k88-game-strategy__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2463;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-k88-game-strategy__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-k88-game-strategy__hero-image-wrapper {
    max-width: 600px;
    width: 100%;
    margin-top: 30px;
}

.page-resources-k88-game-strategy__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-k88-game-strategy__article-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.page-resources-k88-game-strategy__article-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.page-resources-k88-game-strategy__table-of-contents {
    flex: 0 0 280px; /* Fixed width for TOC */
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px; /* Adjust based on header height */
    align-self: flex-start;
    max-height: calc(100vh - 40px); /* Adjust based on header/footer */
    overflow-y: auto;
}

.page-resources-k88-game-strategy__toc-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-resources-k88-game-strategy__table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-k88-game-strategy__table-of-contents ul li {
    margin-bottom: 10px;
}

.page-resources-k88-game-strategy__table-of-contents ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    transition: color 0.3s ease;
}

.page-resources-k88-game-strategy__table-of-contents ul li a:hover {
    color: #0A2463;
    font-weight: bold;
}

.page-resources-k88-game-strategy__table-of-contents ul ul {
    padding-left: 15px;
    margin-top: 5px;
}

.page-resources-k88-game-strategy__article-content {
    flex: 1;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    max-width: 800px; /* Optimal reading width */
}

.page-resources-k88-game-strategy__article-content h2 {
    font-size: 2em;
    color: #0A2463;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.page-resources-k88-game-strategy__article-content h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-k88-game-strategy__article-content p {
    margin-bottom: 1em;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-resources-k88-game-strategy__article-content ul,
.page-resources-k88-game-strategy__article-content ol {
    margin-bottom: 1em;
    padding-left: 25px;
}

.page-resources-k88-game-strategy__article-content ul li,
.page-resources-k88-game-strategy__article-content ol li {
    margin-bottom: 0.5em;
}

.page-resources-k88-game-strategy__article-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-k88-game-strategy__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-k88-game-strategy__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-k88-game-strategy__button--primary {
    background-color: #0A2463;
    color: #FFFFFF;
}

.page-resources-k88-game-strategy__button--primary:hover {
    background-color: #1a3a7c;
    transform: translateY(-3px);
}

.page-resources-k88-game-strategy__button--secondary {
    background-color: #FFD700;
    color: #0A2463;
}

.page-resources-k88-game-strategy__button--secondary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources-k88-game-strategy__faq-item {
    background-color: #f0f8ff;
    border-left: 5px solid #0A2463;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-resources-k88-game-strategy__faq-question {
    font-size: 1.2em;
    color: #0A2463;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-k88-game-strategy__faq-answer {
    font-size: 1em;
    color: #555;
}

.page-resources-k88-game-strategy__back-link-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-resources-k88-game-strategy__back-link {
    display: inline-block;
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    border: 2px solid #0A2463;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-k88-game-strategy__back-link:hover {
    background-color: #0A2463;
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources-k88-game-strategy__article-container {
        flex-direction: column;
        gap: 20px;
    }

    .page-resources-k88-game-strategy__table-of-contents {
        flex: none;
        width: 100%;
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .page-resources-k88-game-strategy__article-content {
        padding: 20px;
    }

    .page-resources-k88-game-strategy__main-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-k88-game-strategy__hero {
        padding: 60px 15px;
    }

    .page-resources-k88-game-strategy__main-title {
        font-size: 1.8em;
    }

    .page-resources-k88-game-strategy__subtitle {
        font-size: 1em;
    }

    .page-resources-k88-game-strategy__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-k88-game-strategy__article-section {
        padding: 20px 15px;
    }

    .page-resources-k88-game-strategy__article-content h2 {
        font-size: 1.8em;
    }

    .page-resources-k88-game-strategy__article-content h3 {
        font-size: 1.3em;
    }

    .page-resources-k88-game-strategy__button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-resources-k88-game-strategy__hero {
        padding: 40px 10px;
    }

    .page-resources-k88-game-strategy__main-title {
        font-size: 1.5em;
    }

    .page-resources-k88-game-strategy__subtitle {
        font-size: 0.9em;
    }

    .page-resources-k88-game-strategy__article-content {
        padding: 15px;
    }
}