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

/* Biến CSS */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a;
    --bg-light-card: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
}

/* General Page Styles */
.page-index-review-one88 {
    background-color: var(--bg-dark); /* Thừa hưởng từ body, nhưng đảm bảo */
    color: var(--text-light); /* Chữ sáng trên nền tối */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Fixed header padding adjustment */
.page-index-review-one88__main-content-wrapper {
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-index-review-one88__review-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
    background: linear-gradient(145deg, var(--primary-color), #0A1A43);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.page-index-review-one88__page-title {
    font-size: 3.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-review-one88__page-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-one88__page-title a:hover {
    color: #FFEA00;
    text-decoration: underline;
}

.page-index-review-one88__intro-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

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

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

.page-index-review-one88__link-text:hover {
    text-decoration: underline;
    color: #FFEA00;
}

.page-index-review-one88__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-index-review-one88__cta-group--bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

.page-index-review-one88__cta-button--primary {
    background: linear-gradient(135deg, var(--secondary-color), #FFC107);
    color: var(--primary-color);
    border: none;
}

.page-index-review-one88__cta-button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #FFC107, #FFA000);
}

.page-index-review-one88__cta-button--secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-review-one88__cta-button--secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-index-review-one88__review-section-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-index-review-one88__review-card {
    background-color: var(--bg-light-card);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.page-index-review-one88__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-index-review-one88__review-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-index-review-one88__content-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height for content images */
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
}

/* FAQ Section */
.page-index-review-one88__faq-section {
    padding: 60px 20px;
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
    color: var(--text-light);
}

.page-index-review-one88__faq-main-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-review-one88__faq-main-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-one88__faq-main-title a:hover {
    color: #FFEA00;
    text-decoration: underline;
}

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

.page-index-review-one88__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.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, opacity 0.4s ease;
    padding: 0 30px;
    opacity: 0;
    color: #e0e0e0;
}

.page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 30px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 8px 8px;
}

.page-index-review-one88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--primary-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-light);
}

.page-index-review-one88__faq-question:hover {
    background: #0A1A43;
}

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

.page-index-review-one88__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Allow click on parent div */
    color: var(--text-light);
}

.page-index-review-one88__faq-toggle {
    font-size: 28px;
    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: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.page-index-review-one88__faq-item.active .page-index-review-one88__faq-toggle {
    color: var(--primary-color);
    background: var(--secondary-color);
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-one88__page-title {
        font-size: 2.8em;
    }
    .page-index-review-one88__section-title {
        font-size: 1.8em;
    }
    .page-index-review-one88__intro-text,
    .page-index-review-one88__review-content p {
        font-size: 1em;
    }
    .page-index-review-one88__cta-button {
        padding: 14px 30px;
        font-size: 1em;
    }
    .page-index-review-one88__review-card {
        padding: 30px;
    }
    .page-index-review-one88__faq-main-title {
        font-size: 2.4em;
    }
    .page-index-review-one88__faq-question h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-index-review-one88__main-content-wrapper {
        padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 40px;
    }
    .page-index-review-one88__review-header {
        margin-bottom: 30px;
        padding: 25px 0;
    }
    .page-index-review-one88__page-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-index-review-one88__intro-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-index-review-one88__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-one88__cta-button {
        width: 100%;
        max-width: 300px; /* Limit width for better mobile display */
        margin: 0 auto;
        padding: 12px 25px;
        font-size: 0.95em;
    }
    .page-index-review-one88__review-card {
        padding: 25px;
    }
    .page-index-review-one88__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-index-review-one88__review-content p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    .page-index-review-one88__content-image {
        max-height: 250px;
        margin: 20px 0;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-one88__review-section-container,
    .page-index-review-one88__review-card,
    .page-index-review-one88__review-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ Responsive */
    .page-index-review-one88__faq-section {
        padding: 40px 15px;
    }
    .page-index-review-one88__faq-main-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-index-review-one88__faq-question {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .page-index-review-one88__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-index-review-one88__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-index-review-one88__faq-answer {
        padding: 0 20px;
    }
    .page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-index-review-one88__page-title {
        font-size: 1.8em;
    }
    .page-index-review-one88__section-title {
        font-size: 1.4em;
    }
    .page-index-review-one88__faq-main-title {
        font-size: 1.8em;
    }
    .page-index-review-one88__cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-index-review-one88__review-card {
        padding: 20px;
    }
    .page-index-review-one88__faq-question {
        padding: 12px 15px;
    }
    .page-index-review-one88__faq-question h3 {
        font-size: 0.95em;
    }
    .page-index-review-one88__faq-toggle {
        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: 12px 15px !important;
    }
}