.page-index {
  padding-top: 10px; /* Small padding to avoid content touching the header */
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-index__hero-slider {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
  background-color: #2F6BFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  color: #FFFFFF;
  background-color: #2F6BFF; /* Ensure background consistency */
  width: 100%;
}

.page-index__hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-index__hero-button,
.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index__hero-button:hover,
.page-index__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-index__section-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.page-index__section-title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #D6E2FF;
  margin: 0 20px;
}

.page-index__main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: #000000;
  line-height: 1.2;
}

.page-index__category-gateway {
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
}

.page-index__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
}

.page-index__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #1F2D3D;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-index__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__category-card img {
  width: 100%;
  height: 300px; /* Fixed height for consistency, ensure min 200px */
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease;
}

.page-index__category-card:hover img {
  transform: scale(1.03);
}

.page-index__category-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 20px;
  color: #2F6BFF;
}

.page-index__article-body {
  max-width: 900px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
  line-height: 1.8;
  font-size: 1.05rem;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.page-index__blockquote {
  background-color: #F4F7FB;
  border-left: 5px solid #2F6BFF;
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  color: #1F2D3D;
  border-radius: 4px;
}

.page-index__blockquote a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-index__blockquote a:hover {
  text-decoration: underline;
}

.page-index__section-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-index__sub-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-index__article-body p {
  margin-bottom: 20px;
}

.page-index__article-figure {
  margin: 40px 0;
  text-align: center;
}

.page-index__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-index__article-figure figcaption {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 10px;
}

.page-index__process-list,
.page-index__promotion-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-index__process-list li,
.page-index__promotion-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-index__faq-question {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-index__faq-answer {
  margin-bottom: 20px;
}

.page-index__cta-button {
  display: block;
  width: fit-content;
  margin: 50px auto 20px auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-index__hero-content {
    padding: 30px 15px;
  }

  .page-index__hero-subtitle {
    font-size: 2rem;
  }

  .page-index__hero-description {
    font-size: 1rem;
  }

  .page-index__main-title {
    font-size: 2.2rem;
  }

  .page-index__section-title-container {
    margin: 40px auto;
  }

  .page-index__category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__article-body {
    padding: 25px;
  }

  .page-index__section-heading {
    font-size: 1.8rem;
    margin-top: 40px;
  }

  .page-index__sub-heading {
    font-size: 1.3rem;
    margin-top: 25px;
  }

  .page-index__article-body p,
  .page-index__blockquote,
  .page-index__process-list li,
  .page-index__promotion-list li,
  .page-index__faq-answer {
    font-size: 0.95rem;
  }

  .page-index__article-figure img,
  .page-index__category-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__main-title {
    font-size: 1.8rem;
  }

  .page-index__section-title-line {
    margin: 0 10px;
  }

  .page-index__category-grid {
    grid-template-columns: 1fr;
  }

  .page-index__hero-button,
  .page-index__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}