/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

.page-support__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff; /* Auxiliary color */
  color: #333333;
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  min-height: 500px;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-support__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Use specific color for emphasis */
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg .page-support__link,
.page-support__light-bg .page-support__tips-list,
.page-support__light-bg .page-support__tips-list li {
  color: #017439;
}

.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__section-description {
  color: #ffffff;
}

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

.page-support__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

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

.page-support__btn-secondary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-support__btn-secondary:hover {
  background-color: #005f2c;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
}

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

.page-support__channel-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-support__channel-card .page-support__channel-icon {
  width: 100%;
  height: 200px; /* Enforce minimum height for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__channel-card .page-support__channel-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__channel-card .page-support__channel-text {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-support__contact-info {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-support__link {
  color: #017439;
  text-decoration: underline;
}

.page-support__link:hover {
  color: #005f2c;
}

/* Guide Section */
.page-support__guide-section {
  padding: 80px 0;
}

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

.page-support__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__guide-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-support__guide-list {
  list-style-type: disc;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-support__guide-list li {
  margin-bottom: 10px;
}

/* Issues/FAQ Section */
.page-support__issues-section {
  padding: 80px 0;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #e8e8e8;
  border-bottom: 1px solid #ddd;
  list-style: none;
}

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

.page-support__faq-qtext {
  color: #017439;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  color: #017439;
  margin-left: 15px;
}

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

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

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  text-align: center;
}

.page-support__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-support__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__commitment-icon {
  width: 100%;
  height: 150px; /* Enforce minimum height for content images */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-support__commitment-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-support__commitment-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Tips Section */
.page-support__tips-section {
  padding: 80px 0;
}

.page-support__tips-list {
  list-style-type: decimal;
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding-left: 20px;
  color: #333333;
}

.page-support__tips-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-support__cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #017439; /* Brand primary color */
  border-radius: 10px;
  color: #ffffff;
}

.page-support__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 400px;
  }
  .page-support__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-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__channels-grid,
  .page-support__guide-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__channel-card,
  .page-support__guide-item,
  .page-support__commitment-item {
    padding: 20px;
  }
  .page-support__channel-card .page-support__channel-icon,
  .page-support__commitment-icon {
    height: auto; /* Allow height to adjust for mobile */
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    min-width: unset; /* Override min-width for mobile images */
    min-height: unset; /* Override min-height for mobile images */
  }
  .page-support__channel-card .page-support__channel-title,
  .page-support__guide-title,
  .page-support__commitment-title {
    font-size: 1.5em;
  }
  .page-support__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
  }
  .page-support__tips-list {
    padding-left: 15px;
  }
  .page-support__tips-list li {
    font-size: 1em;
  }
  .page-support__cta-text {
    font-size: 1.2em;
  }
  /* Ensure all content containers are responsive */
  .page-support__section,
  .page-support__container,
  .page-support__channels-section,
  .page-support__guide-section,
  .page-support__issues-section,
  .page-support__commitment-section,
  .page-support__tips-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure min-size for images in content area, overridden by mobile specific rules */
.page-support__channel-card img,
.page-support__commitment-item img {
  min-width: 200px;
  min-height: 200px;
}

/* Adjust specific card image heights to fit better */
.page-support__channel-card .page-support__channel-icon {
  height: 200px;
  object-fit: cover;
}

.page-support__commitment-icon {
  height: 150px; /* Slightly smaller for commitment icons */
  object-fit: contain;
}