/* style/support.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

.page-support {
  color: #ffffff; /* Vì body background là #0a0a0a (dark), text color phải là light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Nhỏ để tránh che header, body đã có padding-top */
  padding-bottom: 60px;
  background: #0a0a0a; /* Ensure consistency with body background */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Điều chỉnh vị trí để không chồng lên ảnh */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
  border-radius: 8px;
}

.page-support__main-title {
  color: #26A9E0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  /* Không đặt font-size cố định quá lớn, dùng clamp nếu cần */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-support__hero-description {
  color: #f0f0f0;
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-support__introduction-section, 
.page-support__guide-section, 
.page-support__commitment-section {
  background: #ffffff; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
}

.page-support__channels-section, 
.page-support__issues-section, 
.page-support__cta-section {
  background: #0a0a0a; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-support__section-title {
  color: #26A9E0;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-support__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-support__image-container {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__channel-image, 
.page-support__faq-image, 
.page-support__commitment-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__channel-list, 
.page-support__guide-list, 
.page-support__faq-list {
  display: grid;
  gap: 25px;
  margin-top: 30px;
}

.page-support__channel-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-support__guide-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-support__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__introduction-section .page-support__text-block,
.page-support__guide-section .page-support__text-block,
.page-support__commitment-section .page-support__text-block,
.page-support__guide-item .page-support__guide-description {
  color: #333333;
}

.page-support__introduction-section .page-support__section-title,
.page-support__guide-section .page-support__section-title,
.page-support__commitment-section .page-support__section-title,
.page-support__guide-item .page-support__guide-title {
  color: #26A9E0;
}

.page-support__channel-title, 
.page-support__guide-title {
  color: #26A9E0;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__channel-description, 
.page-support__guide-description {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  text-align: justify;
}

.page-support__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-support__commitment-item {
  background: #F0F8FF; /* Light background for list items in light section */
  color: #333333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-support__commitment-item strong {
  color: #26A9E0;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-support__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -80px;
  }
  .page-support__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-support__hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding-bottom: 40px;
  }
  .page-support__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-support__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }
  .page-support__section-title {
    font-size: 2rem;
  }
  .page-support__container {
    padding: 30px 15px;
  }
  .page-support__text-block {
    font-size: 1rem;
  }
  .page-support__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-support__channel-list, 
  .page-support__guide-list {
    grid-template-columns: 1fr;
  }
  .page-support__faq-item summary {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-support__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-support__commitment-list {
    grid-template-columns: 1fr;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__image-container,
  .page-support__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-support__hero-section,
  .page-support__introduction-section,
  .page-support__channels-section,
  .page-support__guide-section,
  .page-support__issues-section,
  .page-support__commitment-section,
  .page-support__cta-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-support__hero-section {
    padding-top: 10px !important; /* body đã xử lý padding-top */
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
  .page-support__section-title {
    font-size: 1.8rem;
  }
  .page-support__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 10px 15px 15px;
  }
}