/* style/index-review-hi88.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --background-card: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-hi88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-light); /* Default text color for dark body background */
}

.page-index-review-hi88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-review-hi88__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-review-hi88__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

/* Fixed header padding */
.page-index-review-hi88__hero-header-section {
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #0D3B66);
}

.page-index-review-hi88__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-index-review-hi88__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index-review-hi88__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-review-hi88__cta-button:hover {
    background: #FFC107; /* Slightly lighter secondary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 20px;
}

.page-index-review-hi88__review-section {
    padding: 60px 0;
}

.page-index-review-hi88__review-card {
    background: var(--background-card);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-dark);
}

.page-index-review-hi88__section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-index-review-hi88__review-card h2 {
    color: var(--primary-color);
}

.page-index-review-hi88__sub-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-index-review-hi88__review-card p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.page-index-review-hi88__review-card ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-index-review-hi88__review-card li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.page-index-review-hi88__review-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-hi88__review-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-review-hi88__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__blog-section {
    padding: 60px 0;
    text-align: center;
}

.page-index-review-hi88__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-review-hi88__blog-card {
    background: var(--background-card);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.page-index-review-hi88__blog-card:hover {
    transform: translateY(-5px);
}

.page-index-review-hi88__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index-review-hi88__blog-title {
    font-size: 20px;
    font-weight: bold;
    padding: 15px 20px 10px;
    line-height: 1.4;
}

.page-index-review-hi88__blog-title a.page-index-review-hi88__blog-link {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-review-hi88__blog-title a.page-index-review-hi88__blog-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-review-hi88__blog-excerpt {
    font-size: 15px;
    color: #666666;
    padding: 0 20px 15px;
}

.page-index-review-hi88__read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0 20px 20px;
    transition: color 0.3s ease;
}

.page-index-review-hi88__read-more:hover {
    color: #FFC107;
    text-decoration: underline;
}

.page-index-review-hi88__faq-section {
    padding: 60px 0;
}

.page-index-review-hi88__faq-list {
    margin-top: 40px;
}

.page-index-review-hi88__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-review-hi88__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: #f0f0f0;
    border-radius: 0 0 8px 8px;
}

.page-index-review-hi88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-index-review-hi88__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-index-review-hi88__faq-question:active {
    background: #eeeeee;
}

.page-index-review-hi88__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-index-review-hi88__faq-toggle {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(180deg);
}

.page-index-review-hi88__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #0D3B66, var(--primary-color));
}

.page-index-review-hi88__cta-bottom-section .page-index-review-hi88__section-title {
    color: var(--text-light);
}

.page-index-review-hi88__cta-bottom-section .page-index-review-hi88__subtitle {
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-hi88__main-title {
        font-size: 38px;
    }
    .page-index-review-hi88__section-title {
        font-size: 28px;
    }
    .page-index-review-hi88__sub-title {
        font-size: 22px;
    }
    .page-index-review-hi88__review-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-header-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-index-review-hi88__main-title {
        font-size: 30px;
    }
    .page-index-review-hi88__subtitle {
        font-size: 16px;
    }
    .page-index-review-hi88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-index-review-hi88__review-section,
    .page-index-review-hi88__blog-section,
    .page-index-review-hi88__faq-section,
    .page-index-review-hi88__cta-bottom-section {
        padding: 40px 0;
    }
    .page-index-review-hi88__review-card {
        padding: 25px;
    }
    .page-index-review-hi88__section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .page-index-review-hi88__sub-title {
        font-size: 20px;
        margin-top: 30px;
    }
    .page-index-review-hi88__review-card p,
    .page-index-review-hi88__review-card li {
        font-size: 15px;
    }
    .page-index-review-hi88__blog-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .page-index-review-hi88__blog-image {
        height: 180px;
    }
    .page-index-review-hi88__blog-title {
        font-size: 18px;
        padding: 12px 15px 8px;
    }
    .page-index-review-hi88__blog-excerpt {
        font-size: 14px;
        padding: 0 15px 12px;
    }
    .page-index-review-hi88__read-more {
        padding: 0 15px 15px;
    }
    .page-index-review-hi88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-hi88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-hi88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-hi88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
        padding: 15px !important;
    }
    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-hi88__section, .page-index-review-hi88__card, .page-index-review-hi88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-review-hi88__main-title {
        font-size: 26px;
    }
    .page-index-review-hi88__section-title {
        font-size: 22px;
    }
    .page-index-review-hi88__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
}