/* style/resources-how-to-read-bong88-handicap.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --background-dark: #1a1a2e; /* From shared.css body background */
    --register-color: #C30808;
    --login-color: #C30808;
    --register-login-font-color: #FFFF00;
}

.page-resources-how-to-read-bong88-handicap {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

.page-resources-how-to-read-bong88-handicap__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-how-to-read-bong88-handicap__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-how-to-read-bong88-handicap__hero-container {
    max-width: 900px;
    padding: 60px 20px;
    z-index: 1;
    position: relative;
}

.page-resources-how-to-read-bong88-handicap__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-how-to-read-bong88-handicap__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__content-area,
.page-resources-how-to-read-bong88-handicap__conclusion-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--secondary-color); /* Light background for content */
    color: var(--text-on-light); /* Dark text for light background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-how-to-read-bong88-handicap__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-resources-how-to-read-bong88-handicap__sub-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-how-to-read-bong88-handicap__text-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-on-light);
}

.page-resources-how-to-read-bong88-handicap__text-block strong {
    color: var(--primary-color);
}

.page-resources-how-to-read-bong88-handicap__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-on-light);
}

.page-resources-how-to-read-bong88-handicap__list li {
    margin-bottom: 8px;
}

.page-resources-how-to-read-bong88-handicap__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
}

/* Buttons */
.page-resources-how-to-read-bong88-handicap__btn-primary,
.page-resources-how-to-read-bong88-handicap__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-how-to-read-bong88-handicap__btn-primary {
    background-color: var(--register-color); /* Custom color for register/login */
    color: var(--register-login-font-color); /* Custom font color */
    border: 2px solid var(--register-color);
    margin-right: 15px;
}

.page-resources-how-to-read-bong88-handicap__btn-primary:hover {
    background-color: darken(var(--register-color), 10%);
    border-color: darken(var(--register-color), 10%);
}

.page-resources-how-to-read-bong88-handicap__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-read-bong88-handicap__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-how-to-read-bong88-handicap__cta-section {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.page-resources-how-to-read-bong88-handicap__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-how-to-read-bong88-handicap__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-resources-how-to-read-bong88-handicap__faq-item {
    margin-bottom: 15px;
    background-color: var(--primary-color); /* Dark background for FAQ item */
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
}

.page-resources-how-to-read-bong88-handicap__faq-question::-webkit-details-marker {
    display: none;
}

.page-resources-how-to-read-bong88-handicap__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--register-login-font-color);
}

.page-resources-how-to-read-bong88-handicap__faq-item[open] .page-resources-how-to-read-bong88-handicap__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-how-to-read-bong88-handicap__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
    line-height: 1.7;
    background-color: var(--background-dark); /* Slightly different dark background */
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__faq-answer p,
.page-resources-how-to-read-bong88-handicap__faq-answer ul {
    color: var(--text-on-dark);
}

.page-resources-how-to-read-bong88-handicap__faq-answer ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

.page-resources-how-to-read-bong88-handicap__faq-btn {
    margin-top: 20px;
    margin-right: 0;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-read-bong88-handicap__hero-title {
        font-size: 2.2em;
    }
    .page-resources-how-to-read-bong88-handicap__hero-description {
        font-size: 1.1em;
    }
    .page-resources-how-to-read-bong88-handicap__section-title {
        font-size: 1.8em;
    }
    .page-resources-how-to-read-bong88-handicap__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-read-bong88-handicap__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-how-to-read-bong88-handicap__hero-title {
        font-size: 1.8em;
        line-height: 1.3;
    }
    .page-resources-how-to-read-bong88-handicap__hero-description {
        font-size: 1em;
    }
    .page-resources-how-to-read-bong88-handicap__btn-primary,
    .page-resources-how-to-read-bong88-handicap__btn-secondary,
    .page-resources-how-to-read-bong88-handicap a[class*="button"],
    .page-resources-how-to-read-bong88-handicap 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: 12px 15px;
        margin-right: 0 !important;
    }
    .page-resources-how-to-read-bong88-handicap__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-resources-how-to-read-bong88-handicap__content-area,
    .page-resources-how-to-read-bong88-handicap__cta-section,
    .page-resources-how-to-read-bong88-handicap__conclusion-section {
        padding: 20px 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-how-to-read-bong88-handicap img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-how-to-read-bong88-handicap__hero-image-wrapper,
    .page-resources-how-to-read-bong88-handicap__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-how-to-read-bong88-handicap__text-block,
    .page-resources-how-to-read-bong88-handicap__list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-how-to-read-bong88-handicap__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-read-bong88-handicap__hero-title {
        font-size: 1.5em;
    }
    .page-resources-how-to-read-bong88-handicap__section-title {
        font-size: 1.5em;
    }
    .page-resources-how-to-read-bong88-handicap__sub-title {
        font-size: 1.2em;
    }
    .page-resources-how-to-read-bong88-handicap__cta-title {
        font-size: 1.8em;
    }
}