.page-resources-security-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background #121212 is dark, so text is light */
  line-height: 1.6;
  padding-bottom: 60px;
}

.page-resources-security-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-security-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-resources-security-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-resources-security-guide__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-security-guide__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-resources-security-guide__section {
  padding: 60px 0;
}

.page-resources-security-guide__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-resources-security-guide__content-area {
  background-color: #242424; /* Even lighter dark background for contrast */
  color: #ffffff;
}

.page-resources-security-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-security-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #8B0000;
  border-radius: 2px;
}

.page-resources-security-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-security-guide__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-security-guide__btn-primary,
.page-resources-security-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-security-guide__btn-primary {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #121212; /* Dark text on bright button */
  border: none;
}

.page-resources-security-guide__btn-primary:hover {
  background: linear-gradient(90deg, #FFA500, #FFD700);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-security-guide__btn-secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-security-guide__btn-secondary:hover {
  background: #FFD700;
  color: #121212; /* Dark text on bright button */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.2);
}

.page-resources-security-guide__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 20px;
}

.page-resources-security-guide__cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-security-guide__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.3);
}

/* FAQ Section */
.page-resources-security-guide__faq-list {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-security-guide__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-security-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-security-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-security-guide__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
  flex-grow: 1;
}

.page-resources-security-guide__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-resources-security-guide__faq-item.active .page-resources-security-guide__faq-toggle {
  transform: rotate(0deg); /* '+' to '-' */
}

.page-resources-security-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-security-guide__faq-item.active .page-resources-security-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px;
}

.page-resources-security-guide__faq-answer .page-resources-security-guide__paragraph {
  color: #e0e0e0;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-security-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-security-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-security-guide__section-title {
    font-size: 2em;
  }
}

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

  .page-resources-security-guide__container {
    padding: 0 15px !important;
  }

  .page-resources-security-guide__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

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

  .page-resources-security-guide__section {
    padding: 40px 0;
  }

  .page-resources-security-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-security-guide__paragraph {
    font-size: 1em;
  }

  .page-resources-security-guide__btn-primary,
  .page-resources-security-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-security-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-security-guide__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 30px auto !important;
  }

  /* Ensure all image containers are responsive */
  .page-resources-security-guide__section,
  .page-resources-security-guide__container,
  .page-resources-security-guide__hero-section,
  .page-resources-security-guide__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Specific padding for content sections on mobile */
  .page-resources-security-guide__content-area,
  .page-resources-security-guide__dark-bg {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-resources-security-guide__faq-question {
    padding: 15px 0;
  }

  .page-resources-security-guide__faq-title {
    font-size: 1.1em;
  }

  .page-resources-security-guide__faq-toggle {
    font-size: 1.3em;
  }
}

/* Color Contrast Fixes - Ensure text is readable on dark background */
.page-resources-security-guide__dark-bg {
  color: #ffffff; /* Deep dark background, so white text */
}

.page-resources-security-guide__content-area {
  color: #ffffff; /* Dark background, so white text */
}

.page-resources-security-guide__paragraph {
  color: #e0e0e0; /* Slightly off-white for softer look */
}

.page-resources-security-guide__btn-primary {
  color: #121212; /* Dark text on bright yellow button */
}

.page-resources-security-guide__btn-secondary {
  color: #FFD700; /* Yellow text on transparent/dark background */
}
.page-resources-security-guide__btn-secondary:hover {
  color: #121212; /* Dark text on bright yellow button */
}

.page-resources-security-guide__faq-title {
  color: #FFD700;
}

.page-resources-security-guide__faq-toggle {
  color: #FFD700;
}