.page-faq-account-security {
  color: #333333; /* Dark text for light body background */
}

.page-faq-account-security__hero-section {
  background-color: #000000; /* Main color */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-faq-account-security__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-faq-account-security__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-faq-account-security__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFFFFF;
}

.page-faq-account-security__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-faq-account-security__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-faq-account-security__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq-account-security__button--register:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-faq-account-security__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq-account-security__button--download:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-faq-account-security__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  filter: brightness(0.6);
}

.page-faq-account-security__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-faq-account-security__faq-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-faq-account-security__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq-account-security__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-faq-account-security__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-faq-account-security__faq-list {
  display: grid;
  gap: 25px;
}

.page-faq-account-security__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-account-security__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-faq-account-security__faq-question {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq-account-security__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-faq-account-security__faq-item.active .page-faq-account-security__faq-question::after {
  transform: rotate(45deg);
}

.page-faq-account-security__faq-answer {
  font-size: 1em;
  color: #444444;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-faq-account-security__faq-item.active .page-faq-account-security__faq-answer {
  max-height: 500px; /* Adjust based on content */
  padding-top: 15px;
}

.page-faq-account-security__faq-answer p {
  margin-bottom: 15px;
}

.page-faq-account-security__faq-answer img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure content images are not too wide */
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq-account-security__button--inline {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-faq-account-security__button--inline:hover {
  background-color: #e0a33c;
}

.page-faq-account-security__cta-section {
  background-color: #000000; /* Main color */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-faq-account-security__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
}

.page-faq-account-security__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #FFFFFF;
}

.page-faq-account-security__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq-account-security__hero-title {
    font-size: 2.8em;
  }
  .page-faq-account-security__section-title {
    font-size: 2.2em;
  }
  .page-faq-account-security__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-faq-account-security__hero-title {
    font-size: 2.2em;
  }
  .page-faq-account-security__hero-description {
    font-size: 1em;
  }
  .page-faq-account-security__hero-actions,
  .page-faq-account-security__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq-account-security__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-faq-account-security__section-title {
    font-size: 1.8em;
  }
  .page-faq-account-security__faq-question {
    font-size: 1.3em;
  }
  .page-faq-account-security__faq-answer {
    font-size: 0.95em;
  }
  .page-faq-account-security__cta-title {
    font-size: 2em;
  }
  .page-faq-account-security__cta-description {
    font-size: 1em;
  }
  /* Content area images must be responsive */
  .page-faq-account-security__faq-answer img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
  /* Ensure main content area does not cause horizontal scroll */
  .page-faq-account-security__container {
    padding: 0 15px;
  }
  .page-faq-account-security {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-faq-account-security__hero-title {
    font-size: 1.8em;
  }
  .page-faq-account-security__section-title {
    font-size: 1.6em;
  }
  .page-faq-account-security__faq-question {
    font-size: 1.2em;
  }
  .page-faq-account-security__cta-title {
    font-size: 1.8em;
  }
  .page-faq-account-security__button {
    width: 95%;
  }
}