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

:root {
  --primary-color: #1A2A44;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-index-review-sinbet {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light background sections */
  background-color: var(--bg-light); /* Overall page background */
}

/* Fixed Navbar Spacing */
.page-index-review-sinbet__review-main-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background-color: var(--bg-light);
}

.page-index-review-sinbet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-sinbet__main-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-index-review-sinbet__review-summary-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--border-color);
}

.page-index-review-sinbet__review-summary-image {
  width: 40%;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
}

.page-index-review-sinbet__review-summary-content {
  flex: 1;
}

.page-index-review-sinbet__review-summary-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.page-index-review-sinbet__review-summary-content p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__review-summary-content p a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__review-content-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.page-index-review-sinbet__review-content-card h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-sinbet__review-body h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

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

.page-index-review-sinbet__review-body p a:hover {
  text-decoration: underline;
}

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

.page-index-review-sinbet__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, var(--secondary-color), #FFD700);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: none;
}

.page-index-review-sinbet__cta-button:hover {
  background: linear-gradient(135deg, #FFD700, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-sinbet__cta-button--bottom {
  margin-top: 40px;
  width: auto;
}

.page-index-review-sinbet__cta-button--small {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

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

.page-index-review-sinbet__section-description {
  font-size: 17px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-index-review-sinbet__section-description a:hover {
  text-decoration: underline;
}

/* Overview Section */
.page-index-review-sinbet__overview-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-index-review-sinbet__overview-section .page-index-review-sinbet__section-title {
  color: var(--text-light);
}

.page-index-review-sinbet__overview-section .page-index-review-sinbet__section-description {
  color: var(--text-light);
}

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

.page-index-review-sinbet__overview-item {
  background: var(--bg-dark-card); /* Semi-transparent white card */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-sinbet__overview-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index-review-sinbet__overview-item h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-index-review-sinbet__overview-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

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

.page-index-review-sinbet__overview-item p a:hover {
  text-decoration: underline;
}

/* Games & Services Section */
.page-index-review-sinbet__games-services-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-index-review-sinbet__games-services-section .page-index-review-sinbet__section-title,
.page-index-review-sinbet__games-services-section .page-index-review-sinbet__section-description {
  color: var(--text-dark);
}

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

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

.page-index-review-sinbet__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index-review-sinbet__game-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-sinbet__game-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  flex-grow: 1;
  margin-bottom: 15px;
}

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

.page-index-review-sinbet__game-description a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-index-review-sinbet__promotions-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

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

.page-index-review-sinbet__promotion-card {
  background: var(--bg-dark-card);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-sinbet__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index-review-sinbet__promotion-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-index-review-sinbet__promotion-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 15px;
}

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

.page-index-review-sinbet__promotion-description a:hover {
  text-decoration: underline;
}

/* News Section */
.page-index-review-sinbet__news-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-index-review-sinbet__news-section .page-index-review-sinbet__section-title,
.page-index-review-sinbet__news-section .page-index-review-sinbet__section-description {
  color: var(--text-dark);
}

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

.page-index-review-sinbet__article-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.page-index-review-sinbet__article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index-review-sinbet__article-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-index-review-sinbet__article-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-sinbet__article-title a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__article-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 15px;
}

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

.page-index-review-sinbet__article-excerpt a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__read-more {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
}

.page-index-review-sinbet__read-more:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-index-review-sinbet__faq-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

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

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

.page-index-review-sinbet__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;
  color: var(--text-dark); /* Ensure dark text on light answer background */
}

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

.page-index-review-sinbet__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-sinbet__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

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

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

.page-index-review-sinbet__faq-answer p a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-sinbet__main-title {
    font-size: 32px;
  }
  .page-index-review-sinbet__review-summary-card {
    flex-direction: column;
    text-align: center;
  }
  .page-index-review-sinbet__review-summary-image {
    width: 80%;
    margin-bottom: 25px;
  }
  .page-index-review-sinbet__review-content-card h2,
  .page-index-review-sinbet__section-title {
    font-size: 28px;
  }
  .page-index-review-sinbet__review-body h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-review-sinbet__review-main-section {
    padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
  }
  .page-index-review-sinbet__container {
    padding: 0 15px;
  }
  .page-index-review-sinbet__main-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-index-review-sinbet__review-summary-card {
    padding: 20px;
    margin-bottom: 40px;
  }
  .page-index-review-sinbet__review-summary-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-index-review-sinbet__review-summary-content p {
    font-size: 16px;
  }
  .page-index-review-sinbet__review-content-card {
    padding: 25px;
  }
  .page-index-review-sinbet__review-content-card h2,
  .page-index-review-sinbet__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-index-review-sinbet__review-body h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-index-review-sinbet__review-body p {
    font-size: 15px;
  }
  .page-index-review-sinbet__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
  }
  .page-index-review-sinbet__cta-button--small {
    padding: 10px 18px;
    font-size: 14px;
  }
  .page-index-review-sinbet__overview-section,
  .page-index-review-sinbet__games-services-section,
  .page-index-review-sinbet__promotions-section,
  .page-index-review-sinbet__news-section,
  .page-index-review-sinbet__faq-section {
    padding: 40px 0;
  }
  .page-index-review-sinbet__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-index-review-sinbet__overview-icon,
  .page-index-review-sinbet__game-image,
  .page-index-review-sinbet__promotion-image,
  .page-index-review-sinbet__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size */
    min-height: 200px !important;
  }
  .page-index-review-sinbet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-sinbet__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-review-sinbet__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-index-review-sinbet__faq-answer {
    padding: 0 15px;
  }
  .page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure all image containers are responsive */
.page-index-review-sinbet__review-summary-card,
.page-index-review-sinbet__review-content-card,
.page-index-review-sinbet__overview-item,
.page-index-review-sinbet__game-card,
.page-index-review-sinbet__promotion-card,
.page-index-review-sinbet__article-card {
  box-sizing: border-box !important;
}

/* Ensure images inside cards do not overflow */
.page-index-review-sinbet__review-summary-card img,
.page-index-review-sinbet__overview-item img,
.page-index-review-sinbet__game-card img,
.page-index-review-sinbet__promotion-card img,
.page-index-review-sinbet__article-card img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-index-review-sinbet__review-summary-card,
  .page-index-review-sinbet__review-content-card,
  .page-index-review-sinbet__overview-item,
  .page-index-review-sinbet__game-card,
  .page-index-review-sinbet__promotion-card,
  .page-index-review-sinbet__article-card {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-index-review-sinbet__review-summary-card img,
  .page-index-review-sinbet__overview-item img,
  .page-index-review-sinbet__game-card img,
  .page-index-review-sinbet__promotion-card img,
  .page-index-review-sinbet__article-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size */
    min-height: 200px !important;
  }
}