:root {
    --page-primary-color: #017439; /* Dark Green */
    --page-secondary-color: #FFFFFF; /* White */
    --page-dark-bg-color: #0d0d0d; /* Body background from shared.css */
    --page-text-color-light: #ffffff; /* For dark backgrounds */
    --page-text-color-dark: #333333; /* For light backgrounds */
    --page-button-register-bg: #C30808; /* Red for register/login */
    --page-button-register-text: #FFFF00; /* Yellow for register/login text */
}

.page-resources-hi88-future-trends-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-text-color-light); /* Default text color for dark body background */
    background-color: var(--page-dark-bg-color); /* Inherit from body or explicitly set if needed */
}

.page-resources-hi88-future-trends-strategy__hero-section {
    position: relative;
    padding: 60px 20px;
    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;
    min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-resources-hi88-future-trends-strategy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay for text readability */
    border-radius: 10px;
}

.page-resources-hi88-future-trends-strategy__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-text-color-light);
    line-height: 1.2;
}

.page-resources-hi88-future-trends-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-hi88-future-trends-strategy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-resources-hi88-future-trends-strategy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make background image subtle */
}

.page-resources-hi88-future-trends-strategy__section {
    padding: 60px 20px;
    margin-bottom: 0;
}

.page-resources-hi88-future-trends-strategy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__dark-bg {
    background-color: var(--page-primary-color); /* Brand primary color for dark sections */
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__section-title {
    font-size: 2.5em;
    color: var(--page-text-color-light);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-hi88-future-trends-strategy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-secondary-color);
    border-radius: 2px;
}

.page-resources-hi88-future-trends-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__image-text-section {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__image-text-section:nth-of-type(odd) {
    flex-direction: row-reverse;
}

.page-resources-hi88-future-trends-strategy__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-resources-hi88-future-trends-strategy__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-resources-hi88-future-trends-strategy__text-content {
    flex: 1;
    min-width: 300px;
}

.page-resources-hi88-future-trends-strategy__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-hi88-future-trends-strategy__grid-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__grid-title {
    font-size: 1.8em;
    color: var(--page-secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-resources-hi88-future-trends-strategy__btn-primary,
.page-resources-hi88-future-trends-strategy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-hi88-future-trends-strategy__btn-primary {
    background-color: var(--page-button-register-bg);
    color: var(--page-button-register-text);
    border: 2px solid var(--page-button-register-bg);
}

.page-resources-hi88-future-trends-strategy__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
    color: var(--page-button-register-text);
}

.page-resources-hi88-future-trends-strategy__btn-secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-resources-hi88-future-trends-strategy__btn-secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    border-color: var(--page-secondary-color);
}

.page-resources-hi88-future-trends-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-hi88-future-trends-strategy__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-hi88-future-trends-strategy__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-hi88-future-trends-strategy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-hi88-future-trends-strategy__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-secondary-color);
}

.page-resources-hi88-future-trends-strategy__faq-item.active .page-resources-hi88-future-trends-strategy__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-hi88-future-trends-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--page-text-color-light);
}

.page-resources-hi88-future-trends-strategy__faq-item.active .page-resources-hi88-future-trends-strategy__faq-answer {
    max-height: 1000px !important;
    padding: 20px 25px;
}

@media (max-width: 1024px) {
    .page-resources-hi88-future-trends-strategy__hero-title {
        font-size: 2.5em;
    }
    .page-resources-hi88-future-trends-strategy__section-title {
        font-size: 2em;
    }
    .page-resources-hi88-future-trends-strategy__image-text-section {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-hi88-future-trends-strategy__image-text-section:nth-of-type(odd) {
        flex-direction: column;
    }
    .page-resources-hi88-future-trends-strategy__text-content {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources-hi88-future-trends-strategy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-hi88-future-trends-strategy__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-hi88-future-trends-strategy__hero-title {
        font-size: 2em;
    }
    .page-resources-hi88-future-trends-strategy__hero-description {
        font-size: 1em;
    }
    .page-resources-hi88-future-trends-strategy__section {
        padding: 40px 15px;
    }
    .page-resources-hi88-future-trends-strategy__section-title {
        font-size: 1.8em;
    }
    .page-resources-hi88-future-trends-strategy__grid-container {
        grid-template-columns: 1fr;
    }
    .page-resources-hi88-future-trends-strategy__grid-item {
        padding: 25px;
    }
    .page-resources-hi88-future-trends-strategy__grid-title {
        font-size: 1.5em;
    }
    .page-resources-hi88-future-trends-strategy__hero-buttons,
    .page-resources-hi88-future-trends-strategy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-hi88-future-trends-strategy__btn-primary,
    .page-resources-hi88-future-trends-strategy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-hi88-future-trends-strategy img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-resources-hi88-future-trends-strategy__section,
    .page-resources-hi88-future-trends-strategy__card,
    .page-resources-hi88-future-trends-strategy__container,
    .page-resources-hi88-future-trends-strategy__image-wrapper,
    .page-resources-hi88-future-trends-strategy__text-content,
    .page-resources-hi88-future-trends-strategy__hero-content,
    .page-resources-hi88-future-trends-strategy__grid-item,
    .page-resources-hi88-future-trends-strategy__faq-item,
    .page-resources-hi88-future-trends-strategy__faq-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden !important;
    }
    .page-resources-hi88-future-trends-strategy__image-text-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-hi88-future-trends-strategy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}