/* style/resources-how-to-maximize-hi88-8823-promotions.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --register-color: #C30808;
    --login-color: #C30808;
    --button-text-color: #FFFF00;
}

.page-resources-how-to-maximize-hi88-8823-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--secondary-color); /* Default light background */
}

.page-resources-how-to-maximize-hi88-8823-promotions__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-how-to-maximize-hi88-8823-promotions__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px; /* Adjust for header offset if shared.css doesn't apply to body */
    min-height: 500px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-resources-how-to-maximize-hi88-8823-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-resources-how-to-maximize-hi88-8823-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
}

.page-resources-how-to-maximize-hi88-8823-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-how-to-maximize-hi88-8823-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-resources-how-to-maximize-hi88-8823-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-how-to-maximize-hi88-8823-promotions__btn-primary {
    display: inline-block;
    background-color: var(--register-color);
    color: var(--button-text-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.page-resources-how-to-maximize-hi88-8823-promotions__btn-primary:hover {
    background-color: darken(var(--register-color), 10%);
}

.page-resources-how-to-maximize-hi88-8823-promotions__btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-maximize-hi88-8823-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-how-to-maximize-hi88-8823-promotions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__sub-section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__image-text-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__image-left {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-resources-how-to-maximize-hi88-8823-promotions__list {
    flex: 1;
    list-style: none;
    padding-left: 0;
}

.page-resources-how-to-maximize-hi88-8823-promotions__list-item {
    background-color: #f9f9f9;
    margin-bottom: 15px;
    padding: 15px;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-resources-how-to-maximize-hi88-8823-promotions__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__inline-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-how-to-maximize-hi88-8823-promotions__inline-link:hover {
    color: darken(var(--primary-color), 10%);
}

.page-resources-how-to-maximize-hi88-8823-promotions__step-by-step {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__step-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-resources-how-to-maximize-hi88-8823-promotions__step-image {
    flex: 0 0 300px;
    width: 300px;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-resources-how-to-maximize-hi88-8823-promotions__step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__step-text {
    font-size: 1.1em;
}

.page-resources-how-to-maximize-hi88-8823-promotions__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__promo-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__promo-card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__promo-card-text {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__card-link {
    text-decoration: none;
    color: var(--primary-color);
}

.page-resources-how-to-maximize-hi88-8823-promotions__card-link:hover {
    text-decoration: underline;
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: var(--primary-color);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-question:hover {
    background-color: #e5e5e5;
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-item.active .page-resources-how-to-maximize-hi88-8823-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-resources-how-to-maximize-hi88-8823-promotions__faq-item.active .page-resources-how-to-maximize-hi88-8823-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
}

.page-resources-how-to-maximize-hi88-8823-promotions__cta-section {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources-how-to-maximize-hi88-8823-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__section-title {
        font-size: 2em;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__sub-section-title {
        font-size: 1.8em;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__step-image {
        flex: 0 0 250px;
        width: 250px;
        height: 187.5px;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__image-text-layout {
        flex-direction: column;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__image-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-maximize-hi88-8823-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__hero-title {
        font-size: 2em;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__hero-description {
        font-size: 1em;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__btn-primary,
    .page-resources-how-to-maximize-hi88-8823-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__cta-section {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__content-area {
        padding: 20px 15px;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__sub-section-title {
        font-size: 1.5em;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__image-text-layout {
        flex-direction: column;
        gap: 20px;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__image-left {
        max-width: 100%;
        height: auto !important;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__card-grid,
    .page-resources-how-to-maximize-hi88-8823-promotions__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__step-item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__step-item:nth-child(even) {
        flex-direction: column;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__step-image {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        flex: none;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-how-to-maximize-hi88-8823-promotions__section,
    .page-resources-how-to-maximize-hi88-8823-promotions__card,
    .page-resources-how-to-maximize-hi88-8823-promotions__container,
    .page-resources-how-to-maximize-hi88-8823-promotions__video-section,
    .page-resources-how-to-maximize-hi88-8823-promotions__video-container,
    .page-resources-how-to-maximize-hi88-8823-promotions__video-wrapper,
    .page-resources-how-to-maximize-hi88-8823-promotions__cta-buttons,
    .page-resources-how-to-maximize-hi88-8823-promotions__button-group,
    .page-resources-how-to-maximize-hi88-8823-promotions__btn-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-maximize-hi88-8823-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure image color filters are not used */
.page-resources-how-to-maximize-hi88-8823-promotions img {
    filter: none !important;
}