.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Ensure text is readable against body background */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #f0f8ff; /* Light blueish 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 {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: #ffffff; /* Ensure white background for content */
  color: #333333;
  border-radius: 8px;
  margin-top: -40px; /* Overlap slightly with image for design */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styles */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-support__section-title--white {
  color: #ffffff;
}

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

.page-support__dark-bg {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 60px 0;
}

/* Intro Section */
.page-support__intro-section .page-support__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-support__image-left,
.page-support__image-right,
.page-support__image-center,
.page-support__image-bottom {
  width: 100%; /* Default to full width */
  height: auto;
  display: block;
  object-fit: contain;
  margin: 20px 0;
}

.page-support__intro-section .page-support__image-left {
  flex: 1 1 45%; /* Take up about 45% width on larger screens */
  min-width: 300px; /* Minimum width before wrapping */
}

.page-support__text-block {
  flex: 1 1 50%;
  min-width: 300px;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-support__channel-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff;
}

.page-support__channel-description {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__channel-contact {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 15px;
  color: #ffffff;
}

.page-support__email-link,
.page-support__phone-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-support__email-link:hover,
.page-support__phone-link:hover {
  color: #f0f0f0;
}

/* FAQ Section */
.page-support__faq-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-list {
  margin-top: 30px;
}

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

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  outline: none;
  background-color: #ffffff;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  list-style: none; /* Hide default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* For details tag, the answer is shown by default when open */
.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 1000px; /* Arbitrarily large to allow content */
  opacity: 1;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
}

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

.page-support__faq-link:hover {
  color: #1a7bb0;
}

/* Guides Section */
.page-support__guides-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__guides-intro--white {
  color: #f0f0f0;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__guide-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff;
}

.page-support__guide-description {
  margin-bottom: 25px;
  flex-grow: 1;
  color: #f0f0f0;
}

/* Commitment Section */
.page-support__commitment-section .page-support__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-support__content-wrapper--reverse {
  flex-direction: row-reverse; /* Image on right, text on left */
}

.page-support__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-support__commitment-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-support__commitment-list li::before {
  content: '✓'; /* Checkmark icon */
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Feedback Section */
.page-support__feedback-section {
  text-align: center;
}

.page-support__feedback-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__feedback-description--white {
  color: #f0f0f0;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

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

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

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 10px; /* For multiple buttons in a card */
}

.page-support__btn-secondary:hover {
  background-color: #e0f2ff;
  color: #1a7bb0;
  border-color: #1a7bb0;
}

.page-support__guide-card .page-support__btn-secondary {
  margin-top: auto; /* Push buttons to bottom of card */
}

/* Images in content */
.page-support img:not(.page-support__hero-image) {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-support__intro-section .page-support__content-wrapper,
  .page-support__commitment-section .page-support__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-support__content-wrapper--reverse {
    flex-direction: column; /* Reset to default column for reverse */
  }
  .page-support__image-left,
  .page-support__image-right {
    order: -1; /* Image always on top in column layout */
  }
}

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

  .page-support__hero-content {
    margin-top: -20px;
    padding: 30px 15px;
  }

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

  .page-support__description,
  .page-support__faq-intro,
  .page-support__guides-intro,
  .page-support__feedback-description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-support__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-support__light-bg,
  .page-support__dark-bg {
    padding: 40px 0;
  }

  .page-support__container {
    padding: 0 15px;
  }

  .page-support img,
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__video-section {
    padding-top: 10px !important; /* body already has offset */
  }

  .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;
    margin-bottom: 10px; /* Space out stacked buttons */
  }

  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
  
  .page-support__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-support__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

/* Specific colors */
.page-support__btn-login {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}
.page-support__btn-login:hover {
  background-color: #cc6b06;
  border-color: #cc6b06;
}