/* style/support.css */

/* Custom Colors */
:root {
  --sodo666-green-main: #11A84E;
  --sodo666-green-accent: #22C768;
  --sodo666-card-bg: #11271B;
  --sodo666-background: #08160F;
  --sodo666-text-main: #F2FFF6;
  --sodo666-text-secondary: #A7D9B8;
  --sodo666-border: #2E7A4E;
  --sodo666-glow: #57E38D;
  --sodo666-gold: #F2C14E;
  --sodo666-divider: #1E3A2A;
  --sodo666-deep-green: #0A4B2C;
  --sodo666-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-support {
  background-color: var(--sodo666-background); /* Dark background from custom colors */
  color: var(--sodo666-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--sodo666-deep-green); /* A darker green for the hero section background */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of image wrapper */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-support__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  color: var(--sodo666-gold); /* Gold color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  color: var(--sodo666-text-secondary);
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: var(--sodo666-button-gradient);
  color: var(--sodo666-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
  background: transparent;
  color: var(--sodo666-gold);
  border: 2px solid var(--sodo666-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary:hover {
  background: rgba(var(--sodo666-gold), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--sodo666-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.05em;
  color: var(--sodo666-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* FAQ Section */
.page-support__faq-section,
.page-support__guides-section,
.page-support__policy-section,
.page-support__cta-bottom-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--sodo666-divider);
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: var(--sodo666-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--sodo666-border);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--sodo666-text-main);
  background-color: var(--sodo666-card-bg);
  border-bottom: 1px solid var(--sodo666-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-support__faq-question:hover {
  background-color: var(--sodo666-deep-green);
}

.page-support__faq-item[open] > .page-support__faq-question {
  background-color: var(--sodo666-deep-green);
  border-bottom-color: transparent;
}

.page-support__faq-qtext a {
  color: var(--sodo666-gold);
  text-decoration: none;
}

.page-support__faq-qtext a:hover {
  text-decoration: underline;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--sodo666-gold);
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--sodo666-text-secondary);
}

.page-support__faq-answer p {
  margin: 0;
}

.page-support__faq-answer a {
  color: var(--sodo666-green-accent);
  text-decoration: none;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

/* For details tag, hide default marker */
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-support__faq-item summary::marker {
  display: none;
}


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

.page-support__guide-card {
  background-color: var(--sodo666-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--sodo666-border);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-support__card-title {
  font-size: 1.25em;
  color: var(--sodo666-gold);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-support__card-title a {
  color: var(--sodo666-gold);
  text-decoration: none;
}

.page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__card-text {
  font-size: 0.95em;
  color: var(--sodo666-text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1; /* Push link to bottom */
}

.page-support__card-text a {
  color: var(--sodo666-green-accent);
  text-decoration: none;
}

.page-support__card-text a:hover {
  text-decoration: underline;
}

.page-support__card-link {
  display: inline-block;
  color: var(--sodo666-green-accent);
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px 20px;
  transition: color 0.3s ease;
}

.page-support__card-link:hover {
  color: var(--sodo666-gold);
  text-decoration: underline;
}

/* Contact Channels Section */
.page-support__contact-channels-section {
  background-color: var(--sodo666-deep-green); /* Use deep green for this section */
  padding: 80px 0;
}

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

.page-support__channel-card {
  background-color: var(--sodo666-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--sodo666-border);
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__channel-card .page-support__card-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-support__channel-card .page-support__card-text {
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Policy Section */
.page-support__policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__policy-item {
  background-color: var(--sodo666-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--sodo666-border);
}

.page-support__policy-title {
  font-size: 1.3em;
  color: var(--sodo666-gold);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__policy-title a {
  color: var(--sodo666-gold);
  text-decoration: none;
}

.page-support__policy-title a:hover {
  text-decoration: underline;
}

.page-support__policy-text {
  font-size: 1em;
  color: var(--sodo666-text-secondary);
}

.page-support__policy-text a {
  color: var(--sodo666-green-accent);
  text-decoration: none;
}

.page-support__policy-text a:hover {
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-support__cta-bottom-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-image-wrapper {
    max-height: 500px;
  }
}

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

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

  .page-support__description {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-support__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 15px;
  }

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

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

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

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

  .page-support__guide-image,
  .page-support__channel-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
  }
  
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-support__contact-channels-section {
    padding: 60px 0;
  }

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

/* Ensure no default filter on images */
.page-support img {
  filter: none;
}