.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Light body background #FFFFFF, so use dark text */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for content area */
}

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  padding-top: 10px; /* body handles --header-offset, this is for visual spacing */
  background-color: #FFFFFF;
  text-align: center;
}

.page-support__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for H1 font size */
  color: #017439;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-support__btn-primary {
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFF00; /* Custom color for register/login text */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
  border-color: #017439;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for hero image */
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* Default light background for sections */
}

.page-support__dark-bg {
  background-color: #017439;
  color: #FFFFFF; /* White text for dark background */
}

.page-support__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: inherit; /* Inherit from section, so it's white on dark, dark on light */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

/* Why Us Section */
.page-support__why-us .page-support__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-support__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__feature-text {
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

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

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-support__faq-item[open] summary {
  border-bottom-color: #e0e0e0;
}

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

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

.page-support__faq-answer {
  padding: 20px 25px;
  background-color: #fefefe;
  color: #555555;
  font-size: 1em;
  border-top: 1px solid #e0e0e0; /* Add border for JS fallback */
}

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

.page-support__faq-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-support__faq-link:hover {
  color: #005f2e;
}

.page-support__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

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

.page-support__contact-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #FFFFFF; /* Ensure text is white */
}

.page-support__contact-title {
  font-size: 1.6em;
  color: #FFFF00; /* Use custom color for titles on dark background */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__contact-text {
  font-size: 1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-support__btn-contact {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

/* Helpful Tips Section */
.page-support__tips-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding-left: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-support__tips-list li {
  margin-bottom: 15px;
}

.page-support__tips-list strong {
  color: #017439;
}

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

.page-support__guide-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-support__guide-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__guide-card h3 {
  padding: 20px 25px 10px;
  font-size: 1.3em;
  font-weight: bold;
}

.page-support__guide-card h3 a {
  color: #017439;
  text-decoration: none;
}

.page-support__guide-card h3 a:hover {
  text-decoration: underline;
}

.page-support__guide-description {
  padding: 0 25px 15px;
  color: #555555;
  font-size: 0.95em;
  flex-grow: 1; /* Push link to bottom */
}

.page-support__guide-link {
  display: inline-block;
  padding: 10px 25px 20px;
  color: #017439;
  font-weight: bold;
  text-decoration: none;
}

.page-support__guide-link:hover {
  text-decoration: underline;
}

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

.page-support__security-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-support__security-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__security-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-support__security-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-support__security-link:hover {
  color: #005f2e;
}

/* Call to Action Section */
.page-support__call-to-action {
  text-align: center;
  padding: 80px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-section {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-support__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

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

  .page-support__intro-description,
  .page-support__section-intro,
  .page-support__feature-text,
  .page-support__contact-text,
  .page-support__tips-list li,
  .page-support__guide-description,
  .page-support__security-text {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100%;
    max-width: 300px !important; /* Constrain width for mobile buttons */
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section,
  .page-support__container,
  .page-support__hero-section,
  .page-support__faq-area,
  .page-support__contact-methods,
  .page-support__guides-section,
  .page-support__security-info,
  .page-support__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-support__video,
  .page-support video { /* Ensure video responsive rules are here, though no video in HTML */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper { /* Ensure video container responsive rules are here */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
}

/* Ensure images don't have filters */
.page-support img {
  filter: none !important;
}

/* FAQ JS fallback styles */
.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px; /* Large enough to show content */
  transition: max-height 0.5s ease-out;
}

.page-support__faq-item:not(.active) .page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in;
}

/* Hide default marker for non-details elements if JS fallback is used */
.page-support__faq-item:not(details) summary {
  list-style: none;
}
.page-support__faq-item:not(details) summary::-webkit-details-marker {
  display: none;
}