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

.page-index-review-tot88 {
    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); /* Assuming shared.css defines --dark-bg-1 as a dark color */
    padding-top: 120px; /* Default for desktop, adjusted for fixed header */
}

@media (max-width: 768px) {
    .page-index-review-tot88 {
        padding-top: 100px !important; /* Adjusted for mobile fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
}

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

@media (max-width: 768px) {
    .page-index-review-tot88__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.page-index-review-tot88__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0A2463da); /* Slightly transparent primary color */
    color: var(--text-light);
}

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

.page-index-review-tot88__hero-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Adjust max-width for the image */
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-review-tot88__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-tot88__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-tot88__hero-description a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-tot88__hero-description a:hover {
    color: #ffd700;
}

.page-index-review-tot88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--secondary-color), #FFC107);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border: none;
}

.page-index-review-tot88__cta-button:hover {
    background: linear-gradient(135deg, #FFC107, #FFA500);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .page-index-review-tot88__hero-banner {
        padding: 40px 15px;
    }
    .page-index-review-tot88__main-title {
        font-size: 28px;
    }
    .page-index-review-tot88__hero-description {
        font-size: 16px;
    }
    .page-index-review-tot88__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-index-review-tot88__hero-image {
        max-width: 100%;
    }
}

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

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

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

.page-index-review-tot88__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__section-title {
    color: var(--secondary-color);
}

.page-index-review-tot88__light-bg .page-index-review-tot88__section-title {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .page-index-review-tot88__content-section {
        padding: 30px 0;
    }
    .page-index-review-tot88__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
}

.page-index-review-tot88__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-index-review-tot88__text-block a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-tot88__text-block a:hover {
    color: #ffd700;
}

.page-index-review-tot88__cta-button--secondary {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
    margin-top: 20px;
}

.page-index-review-tot88__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

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

.page-index-review-tot88__review-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-index-review-tot88__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-index-review-tot88__card-text {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

.page-index-review-tot88__card-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-tot88__card-text a:hover {
    color: #0A2463;
}

@media (max-width: 768px) {
    .page-index-review-tot88__review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-tot88__review-card {
        padding: 25px;
    }
    .page-index-review-tot88__card-title {
        font-size: 20px;
    }
    .page-index-review-tot88__card-image {
        max-width: 200px;
    }
}

.page-index-review-tot88__conclusion-text {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    line-height: 1.8;
    color: inherit;
}

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

.page-index-review-tot88__conclusion-text a:hover {
    color: #ffd700;
}

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

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

.page-index-review-tot88__pros-card .page-index-review-tot88__card-title {
    color: #28a745; /* Green for pros */
}

.page-index-review-tot88__cons-card .page-index-review-tot88__card-title {
    color: #dc3545; /* Red for cons */
}

.page-index-review-tot88__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-index-review-tot88__list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.page-index-review-tot88__list-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    margin-top: 2px;
    object-fit: contain;
}

.page-index-review-tot88__list li a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-tot88__list li a:hover {
    color: #0A2463;
}

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

.page-index-review-tot88__advice-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-review-tot88__advice-card .page-index-review-tot88__card-image {
    max-width: 200px;
    margin-bottom: 15px;
}

.page-index-review-tot88__advice-card .page-index-review-tot88__card-title {
    font-size: 22px;
    color: var(--primary-color);
}

.page-index-review-tot88__advice-card .page-index-review-tot88__card-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-tot88__advice-card .page-index-review-tot88__card-text a:hover {
    color: #0A2463;
}

@media (max-width: 768px) {
    .page-index-review-tot88__advice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

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

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

.page-index-review-tot88__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 15px;
    opacity: 0;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-index-review-tot88__faq-answer p {
    margin-bottom: 10px;
}

.page-index-review-tot88__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-index-review-tot88__faq-answer a:hover {
    color: #0A2463;
}

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

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

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

.page-index-review-tot88__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-tot88__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-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .page-index-review-tot88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-tot88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-tot88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-tot88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
        padding: 15px !important;
    }
}

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

.page-index-review-tot88__cta-section .page-index-review-tot88__container {
    background: var(--background-dark);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-review-tot88__cta-section .page-index-review-tot88__section-title {
    color: var(--secondary-color);
    font-size: 38px;
    margin-bottom: 25px;
}

.page-index-review-tot88__cta-section .page-index-review-tot88__text-block {
    font-size: 19px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

.page-index-review-tot88__cta-button--final {
    padding: 18px 50px;
    font-size: 22px;
    background: linear-gradient(135deg, #FFC107, #FFA500);
    color: var(--primary-color);
}

.page-index-review-tot88__cta-button--final:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

@media (max-width: 768px) {
    .page-index-review-tot88__cta-section {
        padding: 40px 0;
    }
    .page-index-review-tot88__cta-section .page-index-review-tot88__container {
        padding: 30px 20px;
    }
    .page-index-review-tot88__cta-section .page-index-review-tot88__section-title {
        font-size: 28px;
    }
    .page-index-review-tot88__cta-section .page-index-review-tot88__text-block {
        font-size: 16px;
    }
    .page-index-review-tot88__cta-button--final {
        padding: 15px 35px;
        font-size: 18px;
    }
}

/* Ensure all images are responsive and do not cause horizontal scroll */
.page-index-review-tot88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-tot88__section, .page-index-review-tot88__card, .page-index-review-tot88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-tot88__hero-banner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-index-review-tot88__hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}