/* style/index-kf94-advantages.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-index-kf94-advantages {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
}

.page-index-kf94-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-kf94-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-index-kf94-advantages__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-index-kf94-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-index-kf94-advantages__hero-content {
  position: absolute;
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-index-kf94-advantages__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-kf94-advantages__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styles */
.page-index-kf94-advantages__section {
  padding: 80px 0;
  text-align: center;
}

.page-index-kf94-advantages__introduction {
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-index-kf94-advantages__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
}

.page-index-kf94-advantages__text-block {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
  text-align: left;
}

.page-index-kf94-advantages__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Advantages List Grid */
.page-index-kf94-advantages__advantages-list {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-index-kf94-advantages__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-kf94-advantages__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-index-kf94-advantages__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-kf94-advantages__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-index-kf94-advantages__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0; /* Brand color */
  margin-bottom: 15px;
}

.page-index-kf94-advantages__card-text {
  font-size: 1rem;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Conclusion Section */
.page-index-kf94-advantages__conclusion {
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
  padding-bottom: 60px;
}

.page-index-kf94-advantages__text-link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-index-kf94-advantages__text-link:hover {
  color: #EA7C07; /* Login color for hover */
}

/* CTA Button Styles */
.page-index-kf94-advantages__cta-container {
  margin-top: 60px;
}

.page-index-kf94-advantages__btn-primary,
.page-index-kf94-advantages__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-kf94-advantages__btn-primary:hover,
.page-index-kf94-advantages__cta-button:hover {
  background-color: #EA7C07; /* Login color on hover */
  transform: translateY(-3px);
}

.page-index-kf94-advantages__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
}

/* FAQ Section */
.page-index-kf94-advantages__faq-section {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
  padding-bottom: 80px;
}

.page-index-kf94-advantages__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-index-kf94-advantages__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  text-align: left;
}

.page-index-kf94-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-index-kf94-advantages__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-index-kf94-advantages__faq-qtext {
  flex-grow: 1;
}

.page-index-kf94-advantages__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-index-kf94-advantages__faq-item[open] > .page-index-kf94-advantages__faq-question {
  border-bottom: none;
}

.page-index-kf94-advantages__faq-item[open] > .page-index-kf94-advantages__faq-question .page-index-kf94-advantages__faq-toggle {
  color: #EA7C07;
}

.page-index-kf94-advantages__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.7;
}

/* Details element specific styling for summary marker */
.page-index-kf94-advantages__faq-item summary {
  list-style: none;
}

.page-index-kf94-advantages__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-kf94-advantages__hero-content {
    max-width: 600px;
  }
  .page-index-kf94-advantages__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-index-kf94-advantages__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-index-kf94-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-kf94-advantages__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-kf94-advantages__hero-content {
    padding: 15px;
    max-width: 90%;
    position: relative; /* Make content flow below image on mobile */
    background: rgba(0, 0, 0, 0.7);
    margin-top: -50px; /* Overlap slightly for visual continuity */
  }

  .page-index-kf94-advantages__hero-image-wrapper {
    max-height: 400px;
  }
  
  .page-index-kf94-advantages__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-kf94-advantages__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-index-kf94-advantages__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-index-kf94-advantages__section {
    padding: 40px 0;
  }

  .page-index-kf94-advantages__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-index-kf94-advantages__text-block {
    padding: 0 15px;
    text-align: left;
  }

  .page-index-kf94-advantages__advantage-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-index-kf94-advantages__card {
    padding: 25px;
  }

  .page-index-kf94-advantages__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-kf94-advantages__card-title {
    font-size: 1.3rem;
  }

  .page-index-kf94-advantages__cta-button,
  .page-index-kf94-advantages__btn-primary {
    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;
    font-size: 1rem;
  }

  .page-index-kf94-advantages__cta-button--large {
    font-size: 1.1rem;
    padding: 15px 25px;
  }

  .page-index-kf94-advantages__faq-list {
    padding: 0 15px;
  }

  .page-index-kf94-advantages__faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .page-index-kf94-advantages__faq-answer {
    padding: 12px 20px 15px 20px;
  }

  /* Ensure all content containers are responsive */
  .page-index-kf94-advantages__section,
  .page-index-kf94-advantages__card,
  .page-index-kf94-advantages__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-kf94-advantages__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-index-kf94-advantages__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-index-kf94-advantages__hero-description {
    font-size: 0.95rem;
  }
  .page-index-kf94-advantages__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .page-index-kf94-advantages__card-title {
    font-size: 1.2rem;
  }
  .page-index-kf94-advantages__faq-question {
    font-size: 0.95rem;
  }
  .page-index-kf94-advantages__faq-answer {
    font-size: 0.9rem;
  }
}