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

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

.page-support__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  padding: 60px 0;
}

.page-support__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-support__dark-section .page-support__section-title {
  color: #FFFFFF;
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: inherit;
}

.page-support__dark-section .page-support__section-description {
  color: #F0F0F0;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-support__inline-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
}

.page-support__inline-link:hover {
  color: #1a8cc7;
}

/* All images base responsive styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                               Hero Section                               */
/* -------------------------------------------------------------------------- */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-support__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-support__description {
  font-size: 20px;
  line-height: 1.7;
  color: #F0F0F0;
  margin-bottom: 30px;
  max-width: 700px;
}

/* -------------------------------------------------------------------------- */
/*                             Channels Section                             */
/* -------------------------------------------------------------------------- */
.page-support__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__channel-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

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

.page-support__channel-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__channel-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------- */
/*                                 FAQ Section                              */
/* -------------------------------------------------------------------------- */
details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #F5F5F5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 20px;
  background: #F9F9F9;
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  color: #555555;
}
details.page-support__faq-item .page-support__faq-answer p {
  margin-bottom: 10px;
}

/* -------------------------------------------------------------------------- */
/*                               Guides Section                             */
/* -------------------------------------------------------------------------- */
.page-support__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__guide-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 25px;
}

.page-support__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-support__guide-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-support__guide-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* -------------------------------------------------------------------------- */
/*                             Policy Section                               */
/* -------------------------------------------------------------------------- */
.page-support__policy-section {
  padding: 60px 0;
}

.page-support__article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-support__article-body p {
  margin-bottom: 1em;
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
}

.page-support__policy-list {
  list-style: disc;
  margin-left: 25px;
  padding: 0;
  margin-bottom: 30px;
}

.page-support__policy-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444444;
}

.page-support__policy-list li a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__policy-list li a:hover {
  color: #1a8cc7;
}

/* -------------------------------------------------------------------------- */
/*                           Commitment Section                             */
/* -------------------------------------------------------------------------- */
.page-support__commitment-section {
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* -------------------------------------------------------------------------- */
/*                              Media Queries                               */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-support__container {
    padding: 20px 40px;
  }

  .page-support__section-title {
    font-size: 32px;
  }

  .page-support__section-description {
    font-size: 17px;
  }

  .page-support__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-support__description {
    font-size: 18px;
  }

  .page-support__channel-title {
    font-size: 22px;
  }

  .page-support__faq-qtext {
    font-size: 17px;
  }

  .page-support__faq-toggle {
    font-size: 26px;
  }

  .page-support__guide-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  /* General Mobile Styles */
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Buttons Mobile Adaption */
  .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__hero-content .page-support__btn-primary {
    max-width: 300px !important;
    width: 100% !important;
  }

  /* Button containers mobile adaptation */
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-support__hero-section .page-support__hero-content {
    padding: 0 15px;
  }

  /* Hero Section Mobile */
  .page-support__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }

  .page-support__hero-image-wrapper {
    margin-bottom: 30px;
    max-height: 300px;
  }

  .page-support__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio for better fitting */
    width: 100% !important;
    height: auto !important;
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    text-align: center;
  }

  .page-support__description {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
  }

  /* Channels Section Mobile */
  .page-support__channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-card {
    padding: 25px;
  }

  .page-support__channel-icon {
    height: 180px;
  }

  .page-support__channel-title {
    font-size: 20px;
  }

  .page-support__channel-text {
    font-size: 15px;
  }

  /* FAQ Section Mobile */
  details.page-support__faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
  }
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  /* Guides Section Mobile */
  .page-support__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__guide-card {
    padding-bottom: 20px;
  }

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

  .page-support__guide-title {
    font-size: 18px;
  }

  .page-support__guide-text {
    font-size: 15px;
  }

  /* Policy Section Mobile */
  .page-support__article-body {
    padding: 15px;
  }

  .page-support__article-body p,
  .page-support__policy-list li {
    font-size: 15px;
  }

  .page-support__policy-list {
    margin-left: 20px;
  }

  /* Commitment Section Mobile */
  .page-support__commitment-section {
    padding: 50px 0;
  }
}