/* style/resources-fcb88-account-security.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
  --bg-dark: #000000;
}

.page-resources-fcb88-account-security {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherits from shared.css body */
}

.page-resources-fcb88-account-security__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  overflow: hidden;
  min-height: 70vh;
}

.page-resources-fcb88-account-security__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-fcb88-account-security__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-resources-fcb88-account-security__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.6); /* Overlay for readability */
}

.page-resources-fcb88-account-security__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast, not changing color */
}

.page-resources-fcb88-account-security__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-fcb88-account-security__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-fcb88-account-security__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-fcb88-account-security__btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-resources-fcb88-account-security__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-fcb88-account-security__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  font-size: 1em;
}

.page-resources-fcb88-account-security__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-resources-fcb88-account-security__content-section {
  padding: 60px 20px;
}

.page-resources-fcb88-account-security__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-fcb88-account-security__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit; /* Inherit color from section background */
}

.page-resources-fcb88-account-security__text-block {
  margin-bottom: 30px;
  font-size: 1.1em;
  color: inherit;
}

.page-resources-fcb88-account-security__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-fcb88-account-security__image-wrapper {
  margin: 40px auto;
  text-align: center;
}

.page-resources-fcb88-account-security__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-resources-fcb88-account-security__faq-section {
  padding: 60px 20px;
}

.page-resources-fcb88-account-security__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-fcb88-account-security__faq-item {
  background-color: #ffffff;
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-resources-fcb88-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-resources-fcb88-account-security__faq-question:hover {
  background-color: #e0e0e0;
}

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

.page-resources-fcb88-account-security__faq-item.active .page-resources-fcb88-account-security__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-fcb88-account-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-fcb88-account-security__faq-item.active .page-resources-fcb88-account-security__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-fcb88-account-security__faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

.page-resources-fcb88-account-security__conclusion-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-fcb88-account-security__conclusion-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-fcb88-account-security__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-fcb88-account-security__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-fcb88-account-security__hero-title {
    font-size: 2.2em;
  }

  .page-resources-fcb88-account-security__hero-description {
    font-size: 1em;
  }

  .page-resources-fcb88-account-security__section-title {
    font-size: 2em;
  }

  .page-resources-fcb88-account-security__text-block {
    font-size: 1em;
  }

  .page-resources-fcb88-account-security__btn-primary,
  .page-resources-fcb88-account-security__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }

  .page-resources-fcb88-account-security__content-image,
  .page-resources-fcb88-account-security__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-fcb88-account-security__image-wrapper,
  .page-resources-fcb88-account-security__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-fcb88-account-security__container,
  .page-resources-fcb88-account-security__content-section,
  .page-resources-fcb88-account-security__faq-section,
  .page-resources-fcb88-account-security__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-resources-fcb88-account-security__faq-item {
    margin-left: 0;
    margin-right: 0;
  }

  .page-resources-fcb88-account-security__faq-question,
  .page-resources-fcb88-account-security__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-fcb88-account-security__hero-title {
    font-size: 1.8em;
  }
  .page-resources-fcb88-account-security__section-title {
    font-size: 1.8em;
  }
}