/* style/index-review-one88.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
    --text-light: #ffffff;
    --text-dark: #333333;
    --light-bg-card: #ffffff;
    --border-color: #e0e0e0;
}

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

.page-index-review-one88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-review-one88__main-review-section {
    padding-top: 120px; /* Adjust for fixed header */
    padding-bottom: 60px;
    background-color: var(--dark-bg-1);
    color: var(--text-light);
}

.page-index-review-one88__section-heading {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-index-review-one88__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-index-review-one88__introduction-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-index-review-one88__introduction-text a,
.page-index-review-one88 p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-one88__introduction-text a:hover,
.page-index-review-one88 p a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-index-review-one88__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-index-review-one88__main-image,
.page-index-review-one88__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-index-review-one88__review-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-one88__review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-one88__item-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-index-review-one88__review-item p {
    font-size: 16px;
    color: #e0e0e0;
}

.page-index-review-one88__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

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

.page-index-review-one88__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-index-review-one88__btn-primary:hover {
    background: #003a8d;
    border-color: #003a8d;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-index-review-one88__faq-section {
    padding: 60px 20px;
    background: var(--light-bg-card); /* Light background for FAQ */
    color: var(--text-dark); /* Dark text for light background */
}

.page-index-review-one88__faq-section .page-index-review-one88__section-heading {
    color: var(--primary-color); /* Primary color for heading on light bg */
}

.page-index-review-one88__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

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

.page-index-review-one88__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;
    color: var(--text-dark);
}

.page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

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

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

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

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

.page-index-review-one88__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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-one88__faq-item.active .page-index-review-one88__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-one88__main-title {
        font-size: 36px;
    }
    .page-index-review-one88__section-heading {
        font-size: 28px;
    }
    .page-index-review-one88__review-item {
        padding: 25px;
    }
    .page-index-review-one88__item-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-index-review-one88__main-review-section {
        padding-top: 100px !important; /* Mobile fixed header adjustment */
        padding-bottom: 40px;
    }
    .page-index-review-one88__container {
        padding: 0 15px;
    }
    .page-index-review-one88__main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-index-review-one88__introduction-text {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-index-review-one88__section-heading {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-one88__review-criteria {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-one88__review-item {
        padding: 20px;
    }
    .page-index-review-one88__item-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-index-review-one88__review-item p {
        font-size: 15px;
    }
    .page-index-review-one88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-index-review-one88__faq-section {
        padding: 40px 15px;
    }
    .page-index-review-one88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-one88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-one88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-one88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images and containers are responsive */
    .page-index-review-one88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-one88__section,
    .page-index-review-one88__card,
    .page-index-review-one88__container,
    .page-index-review-one88__image-wrapper {
        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-one88__main-title {
        font-size: 24px;
    }
    .page-index-review-one88__section-heading {
        font-size: 22px;
    }
    .page-index-review-one88__cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
}