/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

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

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #B71C1C 0%, #7A0E0E 100%);
  color: #FFF5E1;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

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

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-support__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-support__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F4D34D;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-support__dark-section {
  background-color: #B71C1C; /* Background color */
  color: #FFF5E1; /* Text Main color */
  padding: 50px 0;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow color */
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__channel-grid, .page-support__guide-grid, .page-support__policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-support__card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border color */
}

.page-support__channel-icon, .page-support__policy-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__channel-title, .page-support__guide-title, .page-support__policy-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-support__channel-text, .page-support__guide-text, .page-support__policy-text {
  font-size: 1em;
  margin-bottom: 25px;
}

.page-support__btn-secondary {
  background: #FFF5E1; /* Text Main for background */
  color: #C91F17; /* Primary color for text */
  border: 2px solid #F4D34D; /* Gold color for border */
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-support__btn-secondary:hover {
  background: #F4D34D; /* Gold color for background on hover */
  color: #7A0E0E; /* Deep Red for text on hover */
  border-color: #FFF5E1;
}

.page-support__faq-section {
  padding: 50px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-support__faq-list {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-support__faq-image {
  flex: 1; /* allow image to take available space */
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__faq-items-wrapper {
  flex: 2; /* allow wrapper to take more space */
  min-width: 400px;
}

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #C91F17;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #C91F17;
}

.page-support__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

.page-support__guide-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__policy-section {
  padding: 50px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-support__contact-cta {
  padding: 60px 0;
  text-align: center;
}

.page-support__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image responsiveness */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-support__container {
    padding: 15px;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-support__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-support__hero-image {
    object-fit: contain !important; /* Contain for mobile hero image */
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-support__intro-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-support__channel-grid, .page-support__guide-grid, .page-support__policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__channel-icon, .page-support__policy-icon {
    width: 80px;
    height: 80px;
  }

  .page-support__channel-title, .page-support__guide-title, .page-support__policy-title {
    font-size: 1.5em;
  }

  .page-support__faq-list {
    flex-direction: column;
    gap: 20px;
  }

  .page-support__faq-image {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    order: -1; /* Image appears above text on mobile */
  }

  .page-support__faq-items-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-support__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-support__faq-answer {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-support__guide-image {
    height: 150px;
  }

  /* Ensure all images within page-support are responsive on mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}