.page-resources-ku77-security-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css, explicitly set for clarity */
}

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

/* Hero Section */
.page-resources-ku77-security-guide__hero-section {
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-ku77-security-guide__hero-content {
  max-width: 700px;
  margin-right: 40px;
  text-align: left;
}

.page-resources-ku77-security-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-resources-ku77-security-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-resources-ku77-security-guide__btn-primary,
.page-resources-ku77-security-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-resources-ku77-security-guide__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

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

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

.page-resources-ku77-security-guide__hero-image-wrapper {
  flex-shrink: 0;
}

.page-resources-ku77-security-guide__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Content Sections */
.page-resources-ku77-security-guide__content-section,
.page-resources-ku77-security-guide__info-section,
.page-resources-ku77-security-guide__fairness-section,
.page-resources-ku77-security-guide__tips-section,
.page-resources-ku77-security-guide__faq-section,
.page-resources-ku77-security-guide__cta-bottom-section {
  padding: 60px 0;
}

.page-resources-ku77-security-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-ku77-security-guide__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-resources-ku77-security-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-ku77-security-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-ku77-security-guide__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border: 1px solid #e0e0e0;
}

/* Feature Grid */
.page-resources-ku77-security-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-ku77-security-guide__feature-item {
  text-align: center;
}

.page-resources-ku77-security-guide__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-ku77-security-guide__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-ku77-security-guide__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Info Section Columns */
.page-resources-ku77-security-guide__columns {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-ku77-security-guide__column {
  flex: 1;
}

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

.page-resources-ku77-security-guide__list {
  list-style: disc inside;
  margin-top: 15px;
  padding-left: 20px;
  color: inherit;
}

.page-resources-ku77-security-guide__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit;
}

.page-resources-ku77-security-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Fairness Section */
.page-resources-ku77-security-guide__fairness-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-ku77-security-guide__fairness-image {
  flex-shrink: 0;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-ku77-security-guide__fairness-text {
  flex-grow: 1;
}

/* Tips Section */
.page-resources-ku77-security-guide__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-ku77-security-guide__tip-item {
  text-align: center;
}

.page-resources-ku77-security-guide__tip-icon {
  width: 100%;
  height: auto;
  max-width: 180px;
  margin-bottom: 20px;
  border-radius: 50%;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-resources-ku77-security-guide__tip-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-resources-ku77-security-guide__tip-description {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

/* FAQ Section */
.page-resources-ku77-security-guide__faq-list {
  margin-top: 40px;
}

.page-resources-ku77-security-guide__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.page-resources-ku77-security-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff; /* White text for contrast */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-resources-ku77-security-guide__faq-question:hover {
  background-color: #005f2f;
}

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

.page-resources-ku77-security-guide__faq-item.active .page-resources-ku77-security-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-ku77-security-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f9f9f9; /* Light background for answer */
  color: #333333;
  border-radius: 0 0 8px 8px;
  border-top: none;
}

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

.page-resources-ku77-security-guide__faq-answer p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.6;
}

/* CTA Bottom Section */
.page-resources-ku77-security-guide__cta-bottom-section {
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-resources-ku77-security-guide__cta-bottom-section .page-resources-ku77-security-guide__section-title {
  color: #ffffff;
}

.page-resources-ku77-security-guide__cta-bottom-section .page-resources-ku77-security-guide__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-resources-ku77-security-guide__cta-bottom-section .page-resources-ku77-security-guide__btn-primary,
.page-resources-ku77-security-guide__cta-bottom-section .page-resources-ku77-security-guide__btn-secondary {
  margin: 0 10px;
}

.page-resources-ku77-security-guide__register-btn {
  background-color: #C30808; /* Custom Register button color */
  color: #FFFF00; /* Custom Register font color */
  border: 2px solid #C30808;
}

.page-resources-ku77-security-guide__login-btn {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-ku77-security-guide__login-btn:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ku77-security-guide__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px);
    min-height: unset;
  }

  .page-resources-ku77-security-guide__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .page-resources-ku77-security-guide__cta-buttons {
    justify-content: center;
  }

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

  .page-resources-ku77-security-guide__fairness-content {
    flex-direction: column;
  }

  .page-resources-ku77-security-guide__fairness-image {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-resources-ku77-security-guide__columns {
    flex-direction: column;
    gap: 30px;
  }
  .page-resources-ku77-security-guide__column-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-resources-ku77-security-guide__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-resources-ku77-security-guide__content-section,
  .page-resources-ku77-security-guide__info-section,
  .page-resources-ku77-security-guide__fairness-section,
  .page-resources-ku77-security-guide__tips-section,
  .page-resources-ku77-security-guide__faq-section,
  .page-resources-ku77-security-guide__cta-bottom-section {
    padding: 40px 0;
  }

  /* Image responsive adaptation */
  .page-resources-ku77-security-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-ku77-security-guide__section,
  .page-resources-ku77-security-guide__card,
  .page-resources-ku77-security-guide__container,
  .page-resources-ku77-security-guide__hero-section,
  .page-resources-ku77-security-guide__content-section,
  .page-resources-ku77-security-guide__info-section,
  .page-resources-ku77-security-guide__fairness-section,
  .page-resources-ku77-security-guide__tips-section,
  .page-resources-ku77-security-guide__faq-section,
  .page-resources-ku77-security-guide__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive adaptation */
  .page-resources-ku77-security-guide__cta-button,
  .page-resources-ku77-security-guide__btn-primary,
  .page-resources-ku77-security-guide__btn-secondary,
  .page-resources-ku77-security-guide a[class*="button"],
  .page-resources-ku77-security-guide 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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-resources-ku77-security-guide__cta-buttons,
  .page-resources-ku77-security-guide__button-group,
  .page-resources-ku77-security-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-resources-ku77-security-guide__cta-bottom-section .page-resources-ku77-security-guide__btn-primary,
  .page-resources-ku77-security-guide__cta-bottom-section .page-resources-ku77-security-guide__btn-secondary {
    margin: 0;
  }
}