/* style/bookmaker-reviews-f8bet.css */
:root {
  --primary-color: #0056b3;
  --secondary-color: #ffc107;
  --dark-background: #0a0a0a;
  --light-text: #ffffff;
  --dark-text: #333333;
  --card-background: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-bookmaker-reviews-f8bet {
  color: var(--light-text); /* Trang casino uy tín - Sử dụng màu chữ sáng trên nền tối */
  background-color: var(--dark-background);
  padding-top: 120px; /* Đảm bảo nội dung không bị che bởi header cố định */
}

.page-bookmaker-reviews-f8bet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-bookmaker-reviews-f8bet__main-title {
  font-size: 3.2em;
  color: var(--light-text);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  font-weight: bold;
}

.page-bookmaker-reviews-f8bet__section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  text-align: center;
  margin: 60px 0 40px;
  line-height: 1.3;
  font-weight: bold;
}

.page-bookmaker-reviews-f8bet__intro-text,
.page-bookmaker-reviews-f8bet__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-bookmaker-reviews-f8bet strong {
  color: var(--secondary-color);
}

.page-bookmaker-reviews-f8bet__review-overview-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-bookmaker-reviews-f8bet__overview-image {
  width: 40%;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-bookmaker-reviews-f8bet__overview-content {
  flex: 1;
}

.page-bookmaker-reviews-f8bet__overview-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bookmaker-reviews-f8bet__review-dimension-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-bookmaker-reviews-f8bet__dimension-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-bookmaker-reviews-f8bet__dimension-card p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-bookmaker-reviews-f8bet__dimension-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-bookmaker-reviews-f8bet__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary-color), #004085);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-bookmaker-reviews-f8bet__cta-button:hover {
  background: linear-gradient(135deg, #004085, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews-f8bet__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 40px;
}

.page-bookmaker-reviews-f8bet__inline-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-bookmaker-reviews-f8bet__inline-link:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* FAQ Section Styles */
.page-bookmaker-reviews-f8bet__faq-section {
  padding: 60px 0;
}

.page-bookmaker-reviews-f8bet__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-bookmaker-reviews-f8bet__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-bookmaker-reviews-f8bet__faq-item.active .page-bookmaker-reviews-f8bet__faq-answer {
  max-height: 2000px !important; /* Đảm bảo đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background);
  border-radius: 0 0 5px 5px;
}

.page-bookmaker-reviews-f8bet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-bookmaker-reviews-f8bet__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-bookmaker-reviews-f8bet__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-bookmaker-reviews-f8bet__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(--light-text);
}

.page-bookmaker-reviews-f8bet__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

.page-bookmaker-reviews-f8bet__faq-item.active .page-bookmaker-reviews-f8bet__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Biểu tượng xoay khi mở */
}

.page-bookmaker-reviews-f8bet__faq-answer p {
  color: #f0f0f0;
  line-height: 1.7;
  font-size: 1em;
}

/* Related Articles Section */
.page-bookmaker-reviews-f8bet__related-articles-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-bookmaker-reviews-f8bet__article-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bookmaker-reviews-f8bet__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-bookmaker-reviews-f8bet__article-image {
  width: 100%;
  height: 200px; /* Chiều cao cố định cho hình ảnh bài viết */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-bookmaker-reviews-f8bet__article-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-bookmaker-reviews-f8bet__article-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-bookmaker-reviews-f8bet__article-link:hover {
  text-decoration: underline;
}

.page-bookmaker-reviews-f8bet__article-summary {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-bookmaker-reviews-f8bet__read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.page-bookmaker-reviews-f8bet__read-more:hover {
  background: #004085;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bookmaker-reviews-f8bet__main-title {
    font-size: 2.8em;
  }
  .page-bookmaker-reviews-f8bet__section-title {
    font-size: 2em;
  }
  .page-bookmaker-reviews-f8bet__review-overview-card {
    flex-direction: column;
    text-align: center;
  }
  .page-bookmaker-reviews-f8bet__overview-image {
    width: 80%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-bookmaker-reviews-f8bet {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-bookmaker-reviews-f8bet__container {
    padding: 15px;
  }
  .page-bookmaker-reviews-f8bet__main-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-bookmaker-reviews-f8bet__section-title {
    font-size: 1.6em;
    margin: 40px 0 25px;
  }
  .page-bookmaker-reviews-f8bet__intro-text,
  .page-bookmaker-reviews-f8bet__paragraph,
  .page-bookmaker-reviews-f8bet__review-dimension-card p,
  .page-bookmaker-reviews-f8bet__faq-answer p {
    font-size: 0.95em;
  }
  .page-bookmaker-reviews-f8bet__review-overview-card {
    padding: 20px;
  }
  .page-bookmaker-reviews-f8bet__overview-image {
    width: 100%;
  }
  .page-bookmaker-reviews-f8bet__overview-title {
    font-size: 1.5em;
  }
  .page-bookmaker-reviews-f8bet__dimension-title {
    font-size: 1.3em;
  }
  .page-bookmaker-reviews-f8bet__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-bookmaker-reviews-f8bet__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-bookmaker-reviews-f8bet__faq-question {
    padding: 15px;
  }
  .page-bookmaker-reviews-f8bet__faq-question h3 {
    font-size: 1em;
  }
  .page-bookmaker-reviews-f8bet__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-bookmaker-reviews-f8bet__faq-item.active .page-bookmaker-reviews-f8bet__faq-answer {
    padding: 15px !important;
  }
  .page-bookmaker-reviews-f8bet__article-title {
    font-size: 1.2em;
  }
  .page-bookmaker-reviews-f8bet__article-image {
    height: 180px;
  }
  /* Ensure all images are responsive and do not overflow */
  .page-bookmaker-reviews-f8bet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-bookmaker-reviews-f8bet__section,
  .page-bookmaker-reviews-f8bet__card,
  .page-bookmaker-reviews-f8bet__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-bookmaker-reviews-f8bet__main-title {
    font-size: 1.8em;
  }
  .page-bookmaker-reviews-f8bet__section-title {
    font-size: 1.4em;
  }
  .page-bookmaker-reviews-f8bet__review-dimension-card {
    padding: 20px;
  }
}