/* style/index-review-tot88.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: var(--dark-bg-1);
    --border-light: #e0e0e0;
}

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

/* Ensure main content is not hidden by fixed header */
.page-index-review-tot88__intro-section {
    padding-top: 120px; /* Desktop: Adjust based on header height */
}

.page-index-review-tot88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

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

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

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

.page-index-review-tot88__intro-text,
.page-index-review-tot88__conclusion-text {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
}

.page-index-review-tot88__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    line-height: 1.3;
}

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

.page-index-review-tot88__card {
    background: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-tot88__review-details-section .page-index-review-tot88__card {
    color: var(--text-dark);
}

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

.page-index-review-tot88__card p {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-index-review-tot88__text-highlight {
    color: var(--primary-color);
    font-weight: bold;
}

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

.page-index-review-tot88__link-highlight {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-tot88__link-highlight:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-index-review-tot88__link-normal {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-index-review-tot88__link-normal:hover {
    color: #003380;
    text-decoration: underline;
}

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

.page-index-review-tot88__dark-bg .page-index-review-tot88__link-normal:hover {
    color: #ffd700;
}

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

.page-index-review-tot88__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 200px;
}

.page-index-review-tot88__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-index-review-tot88__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index-review-tot88__btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__dark-bg .page-index-review-tot88__btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-index-review-tot88__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__image-wrapper {
    margin: 30px auto;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index-review-tot88__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    width: 100%; /* Ensure image takes full width of its container */
    min-height: 200px; /* Minimum height to avoid small images */
}

/* FAQ Section */
.page-index-review-tot88__faq-section {
    padding: 40px 20px;
    background: var(--bg-light);
}

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

.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;
  padding: 0 15px;
  opacity: 0;
  background: var(--bg-light);
}

.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;
}

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

.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: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.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);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-tot88__main-title {
        font-size: 2.5em;
    }
    .page-index-review-tot88__section-title {
        font-size: 2em;
    }
    .page-index-review-tot88__card-title {
        font-size: 1.5em;
    }
    .page-index-review-tot88__btn {
        padding: 12px 25px;
        font-size: 1em;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88__intro-section {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile header height */
    }
    .page-index-review-tot88__container {
        padding: 25px 15px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-review-tot88__main-title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .page-index-review-tot88__intro-text,
    .page-index-review-tot88__conclusion-text {
        font-size: 1em;
    }
    .page-index-review-tot88__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-index-review-tot88__card {
        padding: 20px;
        margin-bottom: 15px;
    }
    .page-index-review-tot88__card-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    .page-index-review-tot88__card p {
        font-size: 0.95em;
    }
    .page-index-review-tot88__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-tot88__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 0.95em;
    }
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .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;
    }
}