/* style/blog-loto188-link-faq.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */
.page-blog-loto188-link-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Văn bản màu tối trên nền sáng */
  background-color: #FFFFFF; /* Nền trắng mặc định */
}

.page-blog-loto188-link-faq__dark-bg {
  background-color: #26A9E0; /* Màu chủ đạo */
  color: #ffffff; /* Văn bản màu trắng trên nền tối */
}

.page-blog-loto188-link-faq__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-loto188-link-faq__highlight {
  color: #EA7C07; /* Màu cam cho điểm nhấn */
  font-weight: bold;
}

.page-blog-loto188-link-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ khoảng cách nhỏ, body đã xử lý header-offset */
  text-align: center;
  overflow: hidden;
}

.page-blog-loto188-link-faq__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-loto188-link-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Đảm bảo nội dung nằm trên hình ảnh nếu có bất kỳ sự chồng chéo nào */
}

.page-blog-loto188-link-faq__hero-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Sử dụng clamp cho kích thước chữ linh hoạt */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* Văn bản màu trắng trên nền tối */
}

.page-blog-loto188-link-faq__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Văn bản màu trắng nhạt */
}

.page-blog-loto188-link-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-loto188-link-faq__cta-buttons--inline {
  margin-top: 20px;
}

.page-blog-loto188-link-faq__btn-primary,
.page-blog-loto188-link-faq__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-loto188-link-faq__btn-primary {
  background-color: #EA7C07; /* Màu cam cho nút chính */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-loto188-link-faq__btn-primary:hover {
  background-color: #d46a00;
  transform: translateY(-2px);
}

.page-blog-loto188-link-faq__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-blog-loto188-link-faq__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-blog-loto188-link-faq__btn-secondary.page-blog-loto188-link-faq__btn-large {
    color: #26A9E0; /* Sử dụng màu thương hiệu cho nút phụ khi nền sáng */
    border-color: #26A9E0;
}

.page-blog-loto188-link-faq__btn-secondary.page-blog-loto188-link-faq__btn-large:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-blog-loto188-link-faq__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

.page-blog-loto188-link-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-loto188-link-faq__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Màu chủ đạo cho tiêu đề */
}

.page-blog-loto188-link-faq__intro-section .page-blog-loto188-link-faq__section-title,
.page-blog-loto188-link-faq__faq-section .page-blog-loto188-link-faq__section-title,
.page-blog-loto188-link-faq__cta-section .page-blog-loto188-link-faq__section-title {
  color: #26A9E0;
}

.page-blog-loto188-link-faq__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-loto188-link-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-blog-loto188-link-faq__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-blog-loto188-link-faq__faq-item[open] {
  background-color: #e6f7ff; /* Màu nền khi mở */
}

.page-blog-loto188-link-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-blog-loto188-link-faq__faq-item[open] .page-blog-loto188-link-faq__faq-question {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog-loto188-link-faq__faq-question:hover {
  background-color: #e0e0e0;
}

.page-blog-loto188-link-faq__faq-item[open] .page-blog-loto188-link-faq__faq-question:hover {
  background-color: #1f8ec4;
}

.page-blog-loto188-link-faq__faq-qtext {
  flex-grow: 1;
}

.page-blog-loto188-link-faq__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-loto188-link-faq__faq-item[open] .page-blog-loto188-link-faq__faq-toggle {
  transform: rotate(0deg); /*  thành "-" */
}

.page-blog-loto188-link-faq__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #f8f8f8;
}

details > summary { /* Ẩn marker mặc định của details */
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}

.page-blog-loto188-link-faq__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-loto188-link-faq__benefit-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-blog-loto188-link-faq__benefit-card:hover {
  transform: translateY(-5px);
}

.page-blog-loto188-link-faq__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Đảm bảo ảnh không quá lớn */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.page-blog-loto188-link-faq__benefit-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-blog-loto188-link-faq__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-loto188-link-faq__hero-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-blog-loto188-link-faq__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-loto188-link-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-blog-loto188-link-faq__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important;
  }

  .page-blog-loto188-link-faq__hero-description {
    font-size: 1em;
  }

  .page-blog-loto188-link-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-loto188-link-faq__btn-primary,
  .page-blog-loto188-link-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-blog-loto188-link-faq__btn-large {
      padding: 15px 25px !important;
      font-size: 1em !important;
  }

  .page-blog-loto188-link-faq__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-loto188-link-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-loto188-link-faq__text-block {
    font-size: 1em;
  }

  .page-blog-loto188-link-faq__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-blog-loto188-link-faq__faq-answer {
    padding: 15px;
  }

  .page-blog-loto188-link-faq__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Tất cả hình ảnh phải thích ứng với thiết bị di động */
  .page-blog-loto188-link-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-loto188-link-faq__hero-section,
  .page-blog-loto188-link-faq__intro-section,
  .page-blog-loto188-link-faq__faq-section,
  .page-blog-loto188-link-faq__benefits-section,
  .page-blog-loto188-link-faq__cta-section,
  .page-blog-loto188-link-faq__faq-item,
  .page-blog-loto188-link-faq__benefit-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-loto188-link-faq__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
}