.page-support {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: var(--site-bg, #1a1a1a); /* Default dark background */
}

.page-support__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-support__hero-section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  color: #FFD86A; /* Gold from button gradient */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
  text-align: center;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(255, 216, 106, 0.4);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 216, 106, 0.6);
}

.page-support__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(122, 14, 14, 0.4);
}

.page-support__btn-secondary:hover {
  background: #B71C1C; /* Background color */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(122, 14, 14, 0.6);
}

.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #FFF5E1;
}

/* Guide Box Section */
.page-support__guide-box {
  padding: 40px 20px;
  background: #B71C1C; /* Background color */
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid #F2B544; /* Border color */
}

.page-support__guide-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-support__guide-card {
  flex: 0 0 18%; /* Approximately 5 cards per row */
  max-width: 18%;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border color */
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__guide-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 250 / 350;
  object-fit: cover;
}

.page-support__guide-card--pos-1 { padding-top: 50px; }
.page-support__guide-card--pos-2 { padding-top: 25px; }
.page-support__guide-card--pos-3 { padding-top: 0px; }
.page-support__guide-card--pos-4 { padding-top: 25px; }
.page-support__guide-card--pos-5 { padding-top: 50px; }

/* Home Content Box (FAQ) */
.page-support__home-content-box {
  max-width: 91%;
  margin: 40px auto;
  padding: 30px 40px;
  border: 5px solid #F2B544; /* Border color */
  border-radius: 15px;
  box-shadow: 0 0 25px #FFCC66; /* Glow color */
  background: #D32F2F; /* Card BG */
  height: 700px; /* Fixed height for scrolling */
  box-sizing: border-box;
}

.page-support__home-content-inner {
  height: 100%;
  overflow-y: auto; /* Scrollable content */
  padding-right: 15px; /* Space for scrollbar */
  box-sizing: border-box;
}

.page-support__home-content-inner::-webkit-scrollbar {
  width: 10px;
}

.page-support__home-content-inner::-webkit-scrollbar-track {
  background: #7A0E0E; /* Deep Red */
  border-radius: 5px;
}

.page-support__home-content-inner::-webkit-scrollbar-thumb {
  background: #FFD86A; /* Gold-like from button */
  border-radius: 5px;
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border: 1px solid #F2B544; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3); /* Slightly transparent dark */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
}

.page-support__faq-question:hover {
  background: #B71C1C; /* Background color */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-item.is-active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background: rgba(0, 0, 0, 0.15); /* Lighter transparent dark */
  color: #FFF5E1;
  padding: 0 20px;
}

.page-support__faq-item.is-active .page-support__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  padding: 15px 20px;
}

.page-support__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-support__cta-buttons--faq {
  margin-top: 40px;
}

/* Blog Section */
.page-support__blog-section {
  padding: 60px 20px;
  background: #B71C1C; /* Background color */
  margin-top: 40px;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.page-support__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.page-support__blog-card {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
}

.page-support__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support__blog-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-support__blog-card-content {
  padding: 20px;
}

.page-support__blog-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-support__blog-card-title a {
  color: #FFD86A; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__blog-card-title a:hover {
  color: #FFF5E1; /* Text Main */
}

.page-support__blog-card-meta {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 15px;
}

.page-support__blog-card-excerpt {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-support__blog-read-more {
  display: inline-block;
  padding: 8px 15px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 1px solid #F2B544;
}

.page-support__blog-read-more:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-support__cta-buttons--blog {
  margin-top: 50px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    max-width: 80%;
    width: 80%;
  }

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

  .page-support__guide-card {
    flex: 0 0 28%; /* 3 cards per row */
    max-width: 28%;
  }

  .page-support__guide-card--pos-1, .page-support__guide-card--pos-5 {
    padding-top: 25px;
  }
  .page-support__guide-card--pos-2, .page-support__guide-card--pos-4 {
    padding-top: 0px;
  }

  .page-support__blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

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

  /* Hero Section */
  .page-support__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

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

  .page-support__hero-content {
    padding: 15px;
    width: 95%;
  }

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

  .page-support__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 1em;
  }

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

  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* Guide Box Section */
  .page-support__guide-box {
    padding: 20px 15px;
    margin: 20px auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-support__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .page-support__guide-card {
    padding-top: 0 !important; /* Reset specific top padding for mobile */
    flex: none;
    max-width: none;
  }

  .page-support__guide-card--pos-1, .page-support__guide-card--pos-2 {
    grid-column: span 3; /* Top two cards span 3 columns each */
  }
  .page-support__guide-card--pos-3, .page-support__guide-card--pos-4, .page-support__guide-card--pos-5 {
    grid-column: span 2; /* Bottom three cards span 2 columns each */
  }

  /* Home Content Box (FAQ) */
  .page-support__home-content-box {
    max-width: 100% !important;
    margin: 20px auto !important;
    padding: 20px 15px !important;
    height: auto !important; /* Auto height on mobile */
    box-shadow: 0 0 15px #FFCC66; /* Adjust glow for mobile */
  }

  .page-support__home-content-inner {
    height: auto !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

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

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

  .page-support__faq-item.is-active .page-support__faq-answer {
    padding: 12px 15px;
  }

  /* Blog Section */
  .page-support__blog-section {
    padding: 30px 15px;
    margin-top: 20px;
  }

  .page-support__blog-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 20px;
  }

  .page-support__blog-card-title {
    font-size: 1.2em;
  }

  .page-support__blog-card-excerpt {
    font-size: 0.95em;
  }

  /* General Image and Button Responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .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;
  }

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