/* style/resources-ok9-security-measures.css */

.page-resources-ok9-security-measures {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Body background from shared.css */
}

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

.page-resources-ok9-security-measures__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-resources-ok9-security-measures__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-ok9-security-measures__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-ok9-security-measures__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Use custom color for CTA */
  color: #FFFF00; /* Use custom font color for CTA */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-resources-ok9-security-measures__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-resources-ok9-security-measures__content-section {
  padding: 60px 0;
}

.page-resources-ok9-security-measures__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-ok9-security-measures__dark-bg {
  background-color: #017439;
  color: #ffffff; /* Light text for dark background */
}

.page-resources-ok9-security-measures__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-ok9-security-measures__subsection-title {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-ok9-security-measures__text-block p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: inherit;
}

.page-resources-ok9-security-measures__image-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-ok9-security-measures__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

.page-resources-ok9-security-measures__faq-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-resources-ok9-security-measures__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-ok9-security-measures__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-ok9-security-measures__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: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-resources-ok9-security-measures__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-ok9-security-measures__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-ok9-security-measures__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFF00; /* Use custom color for toggle icon */
  margin-left: 15px;
}

.page-resources-ok9-security-measures__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-resources-ok9-security-measures__faq-item[open] .page-resources-ok9-security-measures__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-ok9-security-measures__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-ok9-security-measures__center-text {
  text-align: center;
}

.page-resources-ok9-security-measures__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-ok9-security-measures__hero-title {
    font-size: 2.4em;
  }
  .page-resources-ok9-security-measures__section-title {
    font-size: 2em;
  }
  .page-resources-ok9-security-measures__subsection-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-ok9-security-measures__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-ok9-security-measures__hero-title {
    font-size: 2em;
  }
  .page-resources-ok9-security-measures__hero-description {
    font-size: 1em;
  }
  .page-resources-ok9-security-measures__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-ok9-security-measures__content-section {
    padding: 40px 0;
  }
  .page-resources-ok9-security-measures__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-ok9-security-measures__subsection-title {
    font-size: 1.2em;
  }
  .page-resources-ok9-security-measures__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-resources-ok9-security-measures__faq-answer {
    padding: 10px 20px;
  }
  .page-resources-ok9-security-measures__cta-section {
    padding: 60px 0;
  }

  /* Mobile responsive image adaptation */
  .page-resources-ok9-security-measures img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-ok9-security-measures__image-wrapper,
  .page-resources-ok9-security-measures__container,
  .page-resources-ok9-security-measures__text-block,
  .page-resources-ok9-security-measures__faq-list,
  .page-resources-ok9-security-measures__hero-section,
  .page-resources-ok9-security-measures__content-section,
  .page-resources-ok9-security-measures__faq-section,
  .page-resources-ok9-security-measures__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile responsive button adaptation */
  .page-resources-ok9-security-measures__btn-primary,
  .page-resources-ok9-security-measures__cta-button,
  .page-resources-ok9-security-measures a[class*="button"],
  .page-resources-ok9-security-measures a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* For multiple buttons in a row, allow wrapping or stack them */
  .page-resources-ok9-security-measures__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-resources-ok9-security-measures__hero-title {
    font-size: 1.8em;
  }
  .page-resources-ok9-security-measures__section-title {
    font-size: 1.6em;
  }
  .page-resources-ok9-security-measures__hero-section {
    min-height: 300px;
  }
}