.page-resources-sv388-login-faq {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-sv388-login-faq__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  min-height: 500px;
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-resources-sv388-login-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-sv388-login-faq__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-sv388-login-faq__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-sv388-login-faq__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-sv388-login-faq__btn-primary:hover {
  background-color: #1e87bb;
}

.page-resources-sv388-login-faq__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
  margin-left: 15px;
  cursor: pointer;
}

.page-resources-sv388-login-faq__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-sv388-login-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-sv388-login-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-resources-sv388-login-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-50px);
  position: relative;
  z-index: 3;
}

.page-resources-sv388-login-faq__section-header {
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-sv388-login-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.page-resources-sv388-login-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07;
  border-radius: 2px;
}

.page-resources-sv388-login-faq__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-sv388-login-faq__text-block p,
.page-resources-sv388-login-faq__text-block li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-sv388-login-faq__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-sv388-login-faq__text-block a:hover {
  text-decoration: underline;
}

.page-resources-sv388-login-faq__text-block ol,
.page-resources-sv388-login-faq__text-block ul {
  margin-left: 20px;
  list-style-type: disc;
}

.page-resources-sv388-login-faq__text-block ol {
  list-style-type: decimal;
}

.page-resources-sv388-login-faq__image-container {
  text-align: center;
  margin: 40px 0;
}

.page-resources-sv388-login-faq__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-sv388-login-faq__faq-list {
  margin-top: 40px;
}

.page-resources-sv388-login-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-resources-sv388-login-faq__faq-item.active {
  background-color: #e6f7ff; /* Lighter blue for active state */
  border-color: #26A9E0;
}

.page-resources-sv388-login-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-sv388-login-faq__faq-item.active .page-resources-sv388-login-faq__faq-question {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-sv388-login-faq__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

.page-resources-sv388-login-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-resources-sv388-login-faq__faq-item.active .page-resources-sv388-login-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-sv388-login-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #333333;
}

.page-resources-sv388-login-faq__faq-item.active .page-resources-sv388-login-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-resources-sv388-login-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-sv388-login-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-sv388-login-faq__hero-section {
    flex-direction: column;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    min-height: 400px;
  }

  .page-resources-sv388-login-faq__hero-content {
    max-width: 100%;
    padding: 15px;
  }

  .page-resources-sv388-login-faq__main-title {
    font-size: 2em;
  }

  .page-resources-sv388-login-faq__intro-text {
    font-size: 1em;
  }

  .page-resources-sv388-login-faq__content-area {
    padding: 30px 15px;
    transform: translateY(-30px);
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-sv388-login-faq__section-title {
    font-size: 2em;
  }

  .page-resources-sv388-login-faq__sub-title {
    font-size: 1.5em;
  }

  .page-resources-sv388-login-faq__text-block p,
  .page-resources-sv388-login-faq__text-block li {
    font-size: 1em;
  }

  .page-resources-sv388-login-faq__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-sv388-login-faq__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-sv388-login-faq__faq-question {
    padding: 15px;
  }

  .page-resources-sv388-login-faq__faq-answer {
    padding: 0 15px;
  }

  .page-resources-sv388-login-faq__faq-item.active .page-resources-sv388-login-faq__faq-answer {
    padding: 15px;
  }

  .page-resources-sv388-login-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-sv388-login-faq__btn-primary,
  .page-resources-sv388-login-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
  }
}