/* style/resources-sv388-login-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --login-button-color: #EA7C07;
}

.page-resources-sv388-login-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: transparent; /* body handles background */
}

.page-resources-sv388-login-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-sv388-login-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 60px; /* Adjusted padding-top for header offset */
  padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
  min-height: 500px;
  overflow: hidden;
  color: var(--text-color-dark-bg);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a7fb2 100%);
}

.page-resources-sv388-login-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-resources-sv388-login-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-resources-sv388-login-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--text-color-dark-bg);
}

.page-resources-sv388-login-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-sv388-login-guide__btn-primary,
.page-resources-sv388-login-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-sv388-login-guide__btn-primary {
  background-color: var(--login-button-color); /* Login color */
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

.page-resources-sv388-login-guide__btn-primary:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

.page-resources-sv388-login-guide__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-sv388-login-guide__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Video Section */
.page-resources-sv388-login-guide__video-section {
  position: relative;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Darker background for contrast with light text */
  color: var(--text-color-dark-bg);
  text-align: center;
}

.page-resources-sv388-login-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 30px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.page-resources-sv388-login-guide__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-resources-sv388-login-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

/* Content Area */
.page-resources-sv388-login-guide__content-area {
  background-color: var(--secondary-color); /* White background for main content readability */
  color: var(--text-color-light-bg);
  padding: 60px 20px;
}

.page-resources-sv388-login-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-sv388-login-guide__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-light-bg);
}

.page-resources-sv388-login-guide__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-sv388-login-guide__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: var(--text-color-light-bg);
}

.page-resources-sv388-login-guide__content-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-resources-sv388-login-guide__faq-list {
  margin-top: 40px;
}

.page-resources-sv388-login-guide__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
}

.page-resources-sv388-login-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-sv388-login-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-sv388-login-guide__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-resources-sv388-login-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-resources-sv388-login-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-color-light-bg);
}

.page-resources-sv388-login-guide__faq-item.active .page-resources-sv388-login-guide__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px;
}

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

.page-resources-sv388-login-guide__center-cta {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Color Contrast Specifics for dark body background */
.page-resources-sv388-login-guide__dark-bg {
  background-color: #1a1a1a; /* A slightly lighter dark for sections */
  color: var(--text-color-dark-bg);
}

.page-resources-sv388-login-guide__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
}

.page-resources-sv388-login-guide__text-contrast-fix {
  color: var(--text-color-light-bg) !important; /* Ensure dark text on light background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-sv388-login-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-sv388-login-guide__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-sv388-login-guide__hero-section {
    padding: 80px 15px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-resources-sv388-login-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-sv388-login-guide__hero-description {
    font-size: 1em;
  }

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

  .page-resources-sv388-login-guide__btn-primary,
  .page-resources-sv388-login-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-sv388-login-guide__video-section,
  .page-resources-sv388-login-guide__content-area {
    padding: 40px 15px;
  }
  
  .page-resources-sv388-login-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-resources-sv388-login-guide__paragraph {
    font-size: 0.95em;
  }

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

  /* Mobile image responsiveness */
  .page-resources-sv388-login-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-sv388-login-guide__section,
  .page-resources-sv388-login-guide__card,
  .page-resources-sv388-login-guide__container,
  .page-resources-sv388-login-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-resources-sv388-login-guide video,
  .page-resources-sv388-login-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

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