.page-resources-79-king-platform-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-79-king-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-79-king-platform-advantages__dark-section {
  background-color: #003366; /* Primary brand color */
  color: #ffffff;
  padding: 60px 0;
}

.page-resources-79-king-platform-advantages__light-bg {
  background-color: #f9f9f9;
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-resources-79-king-platform-advantages__hero-content {
  text-align: center;
  padding-top: 0; /* Handled by main container or shared.css body padding */
  padding-bottom: 60px;
}

.page-resources-79-king-platform-advantages__main-title {
  font-size: 2.8em;
  color: #FFCC00; /* Secondary brand color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-79-king-platform-advantages__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-79-king-platform-advantages__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-79-king-platform-advantages__btn-primary,
.page-resources-79-king-platform-advantages__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-79-king-platform-advantages__btn-primary {
  background-color: #FFCC00; /* Secondary brand color */
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-resources-79-king-platform-advantages__btn-primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-resources-79-king-platform-advantages__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-resources-79-king-platform-advantages__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-resources-79-king-platform-advantages__section-title {
  font-size: 2.2em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-79-king-platform-advantages__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-resources-79-king-platform-advantages__advantage-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-resources-79-king-platform-advantages__advantage-item--reverse {
  flex-direction: row-reverse;
}

.page-resources-79-king-platform-advantages__advantage-image {
  flex: 1;
  min-width: 300px; /* Minimum width for image to not be too small */
}

.page-resources-79-king-platform-advantages__advantage-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  max-width: 100%;
}

.page-resources-79-king-platform-advantages__advantage-content {
  flex: 2;
}

.page-resources-79-king-platform-advantages__advantage-heading {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-resources-79-king-platform-advantages__sub-heading {
  font-size: 1.4em;
  color: #003366;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-resources-79-king-platform-advantages__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-79-king-platform-advantages__list li {
  margin-bottom: 8px;
  color: #333333;
}

.page-resources-79-king-platform-advantages__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-resources-79-king-platform-advantages__cta-title {
  font-size: 2.5em;
  color: #FFCC00;
  margin-bottom: 20px;
}

.page-resources-79-king-platform-advantages__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-resources-79-king-platform-advantages__cta-image {
  margin-top: 40px;
}

.page-resources-79-king-platform-advantages__cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-79-king-platform-advantages__faq-section {
  padding: 60px 0;
}

.page-resources-79-king-platform-advantages__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-79-king-platform-advantages__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-79-king-platform-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-79-king-platform-advantages__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-79-king-platform-advantages__faq-question:active {
  background: #eeeeee;
}

.page-resources-79-king-platform-advantages__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-resources-79-king-platform-advantages__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-79-king-platform-advantages__faq-item.active .page-resources-79-king-platform-advantages__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

.page-resources-79-king-platform-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #555555;
}

.page-resources-79-king-platform-advantages__faq-item.active .page-resources-79-king-platform-advantages__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-79-king-platform-advantages__main-title {
    font-size: 2.4em;
  }

  .page-resources-79-king-platform-advantages__section-title {
    font-size: 2em;
  }

  .page-resources-79-king-platform-advantages__advantage-item {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-79-king-platform-advantages__advantage-item--reverse {
    flex-direction: column;
  }

  .page-resources-79-king-platform-advantages__advantage-image,
  .page-resources-79-king-platform-advantages__advantage-content {
    flex: none;
    width: 100%;
  }

  .page-resources-79-king-platform-advantages__advantage-image img {
    margin: 0 auto;
  }

  .page-resources-79-king-platform-advantages__advantage-heading {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources-79-king-platform-advantages {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile content is not hidden */
  }

  .page-resources-79-king-platform-advantages__container,
  .page-resources-79-king-platform-advantages__hero-content,
  .page-resources-79-king-platform-advantages__advantages-section,
  .page-resources-79-king-platform-advantages__cta-section,
  .page-resources-79-king-platform-advantages__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-resources-79-king-platform-advantages__main-title {
    font-size: 2em;
  }

  .page-resources-79-king-platform-advantages__section-title {
    font-size: 1.8em;
  }

  .page-resources-79-king-platform-advantages__advantage-item {
    margin-bottom: 40px;
    gap: 20px;
  }

  .page-resources-79-king-platform-advantages__advantage-image img,
  .page-resources-79-king-platform-advantages__cta-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce min-size for mobile */
    min-height: 200px !important;
  }

  .page-resources-79-king-platform-advantages__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-79-king-platform-advantages__btn-primary,
  .page-resources-79-king-platform-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-79-king-platform-advantages__faq-question {
    padding: 15px;
  }

  .page-resources-79-king-platform-advantages__faq-question h3 {
    font-size: 15px;
  }

  .page-resources-79-king-platform-advantages__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-resources-79-king-platform-advantages__faq-item.active .page-resources-79-king-platform-advantages__faq-answer {
    padding: 15px !important;
  }
}