/* style/resources-sv388-latest-link-guide.css */

/* Base styles for the page content */
.page-resources-sv388-latest-link-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-resources-sv388-latest-link-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-sv388-latest-link-guide__content-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

.page-resources-sv388-latest-link-guide p {
  margin-bottom: 15px;
  color: #ffffff; /* Default paragraph color */
}

.page-resources-sv388-latest-link-guide a {
  color: #26A9E0; /* Link color */
  text-decoration: none;
}

.page-resources-sv388-latest-link-guide a:hover {
  text-decoration: underline;
}

.page-resources-sv388-latest-link-guide .highlight {
  color: #EA7C07; /* Highlight color for keywords */
  font-weight: bold;
}

/* Hero Section */
.page-resources-sv388-latest-link-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #0a5f8a); /* Gradient background */
  overflow: hidden;
}

.page-resources-sv388-latest-link-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-sv388-latest-link-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-sv388-latest-link-guide__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-resources-sv388-latest-link-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

/* Buttons */
.page-resources-sv388-latest-link-guide__btn-primary,
.page-resources-sv388-latest-link-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-sv388-latest-link-guide__btn-primary {
  background-color: #EA7C07; /* Login/Register color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-sv388-latest-link-guide__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

.page-resources-sv388-latest-link-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-sv388-latest-link-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-2px);
}

.page-resources-sv388-latest-link-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Intro Section */
.page-resources-sv388-latest-link-guide__intro-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Dark background for this section */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-sv388-latest-link-guide__intro-section .page-resources-sv388-latest-link-guide__section-title {
  color: #ffffff; /* White title on brand color background */
}

.page-resources-sv388-latest-link-guide__intro-section p {
  color: #ffffff;
}

/* Common Issues Section */
.page-resources-sv388-latest-link-guide__common-issues {
  padding: 60px 20px;
  background-color: var(--black-color); /* Dark background */
}

.page-resources-sv388-latest-link-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sv388-latest-link-guide__card {
  background-color: #1a1a1a; /* Slightly lighter dark background for cards */
  color: #ffffff; /* Light text on dark card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-sv388-latest-link-guide__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-sv388-latest-link-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-sv388-latest-link-guide__card p {
  color: #f0f0f0;
}

/* Guide Section */
.page-resources-sv388-latest-link-guide__guide-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__guide-section .page-resources-sv388-latest-link-guide__section-title {
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-sv388-latest-link-guide__step-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for steps */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-sv388-latest-link-guide__step-item:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-resources-sv388-latest-link-guide__step-text-content {
  flex: 1;
}

.page-resources-sv388-latest-link-guide__step-text-content p {
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__step-item .page-resources-sv388-latest-link-guide__step-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-resources-sv388-latest-link-guide__step-image {
  flex-shrink: 0;
  width: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Benefits Section */
.page-resources-sv388-latest-link-guide__benefits-section {
  padding: 60px 20px;
  background-color: var(--black-color); /* Dark background */
}

.page-resources-sv388-latest-link-guide__benefits-section .page-resources-sv388-latest-link-guide__card {
  background-color: #1a1a1a; /* Dark card background */
}

.page-resources-sv388-latest-link-guide__benefits-section .page-resources-sv388-latest-link-guide__card-title {
  color: #26A9E0;
}

/* FAQ Section */
.page-resources-sv388-latest-link-guide__faq-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__faq-section .page-resources-sv388-latest-link-guide__section-title {
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-resources-sv388-latest-link-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-sv388-latest-link-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-sv388-latest-link-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-sv388-latest-link-guide__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-resources-sv388-latest-link-guide__faq-item.active .page-resources-sv388-latest-link-guide__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to a cross (minus) */
}

.page-resources-sv388-latest-link-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-sv388-latest-link-guide__faq-item.active .page-resources-sv388-latest-link-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-resources-sv388-latest-link-guide__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-resources-sv388-latest-link-guide__conclusion-section {
  padding: 60px 20px;
  background-color: var(--black-color); /* Dark background */
}

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

  .page-resources-sv388-latest-link-guide__hero-description {
    font-size: 1.1em;
  }

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

  .page-resources-sv388-latest-link-guide__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-sv388-latest-link-guide__step-item:nth-child(even) {
    flex-direction: column;
  }

  .page-resources-sv388-latest-link-guide__step-image {
    width: 80%;
    max-width: 500px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-sv388-latest-link-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-sv388-latest-link-guide__hero-section {
    padding: 60px 15px; /* Adjust internal padding for mobile */
  }

  .page-resources-sv388-latest-link-guide__hero-title {
    font-size: 2.5em;
  }

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

  .page-resources-sv388-latest-link-guide__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-sv388-latest-link-guide__btn-primary,
  .page-resources-sv388-latest-link-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-sv388-latest-link-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-sv388-latest-link-guide__content-block {
    font-size: 1em;
  }

  .page-resources-sv388-latest-link-guide__grid {
    grid-template-columns: 1fr;
  }

  .page-resources-sv388-latest-link-guide__card {
    padding: 25px;
  }

  .page-resources-sv388-latest-link-guide__step-item {
    padding: 25px;
  }

  .page-resources-sv388-latest-link-guide__step-image {
    width: 100%;
  }

  /* Mobile image responsiveness */
  .page-resources-sv388-latest-link-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-sv388-latest-link-guide__section,
  .page-resources-sv388-latest-link-guide__card,
  .page-resources-sv388-latest-link-guide__container,
  .page-resources-sv388-latest-link-guide__guide-steps,
  .page-resources-sv388-latest-link-guide__faq-list,
  .page-resources-sv388-latest-link-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-sv388-latest-link-guide__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  /* FAQ specific mobile adjustments */
  .page-resources-sv388-latest-link-guide__faq-question {
    padding: 18px 20px;
  }
  .page-resources-sv388-latest-link-guide__faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources-sv388-latest-link-guide__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

/* Color contrast enforcement - assuming body is dark */
.page-resources-sv388-latest-link-guide__dark-bg {
  color: #ffffff; /* Deep blue background, white text */
  background: #26A9E0;
}

.page-resources-sv388-latest-link-guide__light-bg {
  color: #333333; /* Light background, dark text (used for specific cards if needed) */
  background: #ffffff;
}

/* Ensure general text on dark body background is light */
.page-resources-sv388-latest-link-guide p,
.page-resources-sv388-latest-link-guide li {
  color: #f0f0f0;
}

/* Specific button colors for contrast */
.page-resources-sv388-latest-link-guide__btn-primary {
  background: #EA7C07; /* Login orange */
  color: #ffffff;
}

.page-resources-sv388-latest-link-guide__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}