/* style/index-review-hi88.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B23C;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light-card: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88 {
    color: var(--text-light); /* Body background is dark, so text should be light */
    background-color: var(--bg-dark); /* Ensure consistency with shared.css body bg */
}

/* HERO Review Section */
.page-index-review-hi88__hero-review-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%); /* Darker gradient for contrast */
    color: var(--text-light);
}

.page-index-review-hi88__hero-review-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-index-review-hi88__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-review-hi88__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.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: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__cta-button:hover {
    background: #FFC107; /* Slightly brighter gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__cta-button--large {
    padding: 18px 50px;
    font-size: 22px;
    margin-top: 40px;
}

/* Content Section */
.page-index-review-hi88__content-section {
    padding: 60px 20px;
    background-color: var(--bg-dark); /* Consistent with body bg */
    color: var(--text-light);
}

.page-index-review-hi88__content-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-index-review-hi88 p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.page-index-review-hi88 p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-review-hi88 p a:hover {
    text-decoration: underline;
    color: #FFC107;
}

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

.page-index-review-hi88__review-card {
    background: var(--bg-light-card); /* Lighter background for cards */
    color: var(--text-dark); /* Dark text on light card background */
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-hi88__review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-hi88__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-review-hi88__review-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 0;
}

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

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

.page-index-review-hi88__summary-block {
    background: linear-gradient(135deg, var(--primary-color), #000000);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__summary-block .page-index-review-hi88__section-title {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.page-index-review-hi88__summary-block p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-review-hi88__related-articles {
    margin-top: 80px;
    text-align: center;
}

.page-index-review-hi88__article-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-review-hi88__article-list li {
    margin-bottom: 15px;
}

.page-index-review-hi88__article-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-review-hi88__article-list li a:hover {
    color: #FFC107;
    text-decoration: underline;
}

/* FAQ Section */
.page-index-review-hi88__faq-section {
    padding: 60px 20px;
    background-color: var(--bg-dark); /* Consistent with body bg */
    color: var(--text-light);
}

.page-index-review-hi88__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-review-hi88__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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;
    padding: 0 15px;
    opacity: 0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #2a2a2a; /* Slightly lighter dark for answer background */
    border-radius: 0 0 5px 5px;
    color: var(--text-light);
}

.page-index-review-hi88__faq-answer p {
    color: rgba(255, 255, 255, 0.85);
}

.page-index-review-hi88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary-color); /* Dark background for question */
    border: 1px solid #1a3a70;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-index-review-hi88__faq-question:hover {
    background: #1a3a70;
    border-color: #2a4a80;
}

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

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

.page-index-review-hi88__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-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: 28px;
    height: 28px;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
    color: #FFC107;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-hi88__main-title {
        font-size: 40px;
    }
    .page-index-review-hi88__subtitle {
        font-size: 18px;
    }
    .page-index-review-hi88__section-title {
        font-size: 30px;
    }
    .page-index-review-hi88__review-grid {
        gap: 20px;
    }
    .page-index-review-hi88__review-card {
        padding: 25px;
    }
    .page-index-review-hi88__card-title {
        font-size: 22px;
    }
    .page-index-review-hi88__card-image {
        height: 180px;
    }
    .page-index-review-hi88__summary-block {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-review-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-hi88__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-index-review-hi88__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-index-review-hi88__cta-button--large {
        padding: 15px 40px;
        font-size: 18px;
    }
    .page-index-review-hi88__hero-image-wrapper {
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .page-index-review-hi88__content-section,
    .page-index-review-hi88__faq-section {
        padding: 40px 15px;
    }
    .page-index-review-hi88__content-container,
    .page-index-review-hi88__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-index-review-hi88__section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .page-index-review-hi88 p {
        font-size: 15px;
        line-height: 1.7;
    }
    .page-index-review-hi88__review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-index-review-hi88__review-card {
        padding: 20px;
        border-radius: 8px;
    }
    .page-index-review-hi88__card-title {
        font-size: 20px;
    }
    .page-index-review-hi88__card-image {
        height: 150px;
        margin-bottom: 15px;
    }
    .page-index-review-hi88__review-card p {
        font-size: 14px;
    }
    .page-index-review-hi88__summary-block {
        padding: 30px;
        margin-top: 40px;
        border-radius: 8px;
    }
    .page-index-review-hi88__summary-block p {
        font-size: 16px;
    }
    .page-index-review-hi88__related-articles {
        margin-top: 60px;
    }
    .page-index-review-hi88__article-list li a {
        font-size: 16px;
    }
    
    .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;
    }
    
    /* Image responsive force */
    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-index-review-hi88__main-title {
        font-size: 28px;
    }
    .page-index-review-hi88__subtitle {
        font-size: 15px;
    }
    .page-index-review-hi88__section-title {
        font-size: 24px;
    }
    .page-index-review-hi88__card-title {
        font-size: 18px;
    }
    .page-index-review-hi88__review-card {
        padding: 15px;
    }
    .page-index-review-hi88__card-image {
        height: 120px;
    }
    .page-index-review-hi88__summary-block {
        padding: 25px;
    }
    .page-index-review-hi88__faq-question h3 {
        font-size: 14px;
    }
}