/* style/resources-security-privacy.css */

/* Base Styles */
.page-resources-security-privacy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared, but defining for clarity */
}

.page-resources-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-resources-security-privacy__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  background-color: #017439; /* Brand main color for hero */
  overflow: hidden; /* For image positioning */
  color: #ffffff;
}

.page-resources-security-privacy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-resources-security-privacy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-resources-security-privacy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-security-privacy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-security-privacy__hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Buttons in Hero */
.page-resources-security-privacy__btn-primary,
.page-resources-security-privacy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0; /* Managed by gap in parent */
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-security-privacy__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-security-privacy__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-resources-security-privacy__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Content Area */
.page-resources-security-privacy__content-area {
  padding: 60px 20px;
  background-color: #1a1a1a; /* A slightly lighter dark background for content */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-security-privacy__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand main color for titles */
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

.page-resources-security-privacy__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 5px solid #017439;
}

.page-resources-security-privacy p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-security-privacy a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-security-privacy a:hover {
  text-decoration: underline;
}

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

/* CTA Section */
.page-resources-security-privacy__cta-section {
  background-color: #017439; /* Brand main color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 60px;
}

.page-resources-security-privacy__cta-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-security-privacy__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-security-privacy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
}

/* FAQ Section */
.page-resources-security-privacy__faq-section {
  margin-top: 60px;
  padding: 40px 0;
  background-color: #1a1a1a; /* Match content area background */
  color: #ffffff;
}

.page-resources-security-privacy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-security-privacy__faq-item {
  background-color: #2a2a2a; /* Slightly lighter than content area for contrast */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-resources-security-privacy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #333333; /* Darker for question header */
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-security-privacy__faq-question:hover {
  background-color: #444444;
}

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

.page-resources-security-privacy__faq-item[open] .page-resources-security-privacy__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for open state */
}

/* For details/summary, hide default marker */
.page-resources-security-privacy__faq-item summary {
  list-style: none;
}

.page-resources-security-privacy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-security-privacy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-security-privacy__hero-title {
    font-size: 2.5em;
  }
  .page-resources-security-privacy__section-title {
    font-size: 2em;
  }
  .page-resources-security-privacy__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  /* General mobile spacing */
  .page-resources-security-privacy__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .page-resources-security-privacy__hero-title {
    font-size: 2em;
  }

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

  .page-resources-security-privacy__hero-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-resources-security-privacy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-security-privacy__content-area,
  .page-resources-security-privacy__cta-section,
  .page-resources-security-privacy__faq-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-resources-security-privacy__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  /* Images responsive on mobile */
  .page-resources-security-privacy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers of images/videos are also constrained */
  .page-resources-security-privacy__container,
  .page-resources-security-privacy__hero-content,
  .page-resources-security-privacy__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific video section adjustments for mobile if present, currently no video */
  .page-resources-security-privacy__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Color Contrast and Specific Color Rules */
/* Body background is #121212 (dark), so default text is #ffffff */
.page-resources-security-privacy__hero-section {
  background-color: #017439; /* Brand main color for hero */
  color: #ffffff;
}

.page-resources-security-privacy__content-area {
  background-color: #1a1a1a; /* A lighter dark for content areas, still requiring light text */
  color: #ffffff;
}

/* Ensure contrast for specific elements */
.page-resources-security-privacy__faq-question {
  background-color: #333333;
  color: #ffffff;
}

.page-resources-security-privacy__faq-answer {
  color: #e0e0e0;
}

/* Specific button colors */
.page-resources-security-privacy__btn-primary {
  background-color: #C30808; /* Register/Login button background */
  color: #FFFF00; /* Register/Login button font */
}

.page-resources-security-privacy__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* No CSS filters allowed for images */
.page-resources-security-privacy img {
  filter: none !important; /* Explicitly disable any potential filters */
}