.page-index {
  background-color: #F5F7FA; /* Background */
  padding-bottom: 50px; /* General bottom padding */
}

/* Hero Banner */
.page-index__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for first section */
}
.page-index__hero-banner a {
  display: block;
}
.page-index__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no filter */
}

/* Section Title */
.page-index__section-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 40px auto 30px auto;
  padding: 0 15px;
  gap: 20px;
}
.page-index__decoration-line {
  flex-grow: 1;
  height: 2px;
  background-color: #E0E0E0; /* Border color */
  max-width: 150px;
}
.page-index__main-title {
  color: #333333; /* Text Main */
  font-size: clamp(1.5rem, 4.5vw, 2.5rem); /* Using clamp for H1 */
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  max-width: 800px;
}

/* Category Gateway */
.page-index__category-gateway-section {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 15px;
}
.page-index__category-gateway {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr); /* Mobile default: 2 columns */
}
.page-index__category-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}
.page-index__category-card:hover {
  transform: scale(1.03);
}
.page-index__category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: none; /* Prohibit grayscale */
  transition: transform .2s ease, brightness .2s ease;
}
.page-index__category-card:hover img {
  brightness: 1.05; /* Subtle brightness change on hover */
}

/* Article Body */
.page-index__article-body {
  max-width: 900px; /* Max width for readability */
  margin: 0 auto;
  padding: 0 15px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 40px;
  color: #333333; /* Text Main */
  line-height: 1.7;
}
.page-index__article-body p {
  margin-bottom: 1em;
}
.page-index__article-body a {
  color: #E53935; /* Main color for links */
  text-decoration: none;
  font-weight: 500;
}
.page-index__article-body a:hover {
  text-decoration: underline;
}
.page-index__blockquote {
  border-left: 5px solid #E53935; /* Main color */
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #fcf1f1; /* Lighter shade of main color */
  font-style: italic;
  color: #555555;
  border-radius: 4px;
}
.page-index__article-heading {
  color: #E53935; /* Main color */
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
}
.page-index__article-subheading {
  color: #FF5A4F; /* Auxiliary color */
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}
.page-index__article-figure {
  margin: 30px 0;
  text-align: center;
}
.page-index__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
  filter: none; /* Ensure no filter */
}
.page-index__article-figure figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}
.page-index__process-list,
.page-index__promotion-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1em;
}
.page-index__process-list li,
.page-index__promotion-list li {
  margin-bottom: 0.5em;
}
.page-index__faq-question {
  color: #E53935; /* Main color */
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
}
.page-index__faq-answer {
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-index__section-title-container {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index__decoration-line {
    display: none; /* Hide decorative lines on smaller screens */
  }
  .page-index__main-title {
    font-size: clamp(1.2rem, 6vw, 2rem);
    padding: 0 10px;
  }
  .page-index__category-gateway {
    grid-template-columns: repeat(2, 1fr); /* Remains 2 columns on mobile */
  }
  .page-index__article-body {
    padding: 20px;
  }
  .page-index__article-heading {
    font-size: 1.5rem;
  }
  .page-index__article-subheading {
    font-size: 1.2rem;
  }
  .page-index__article-body img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 850px) {
  .page-index__category-gateway {
    grid-template-columns: repeat(6, 1fr); /* PC: 6 columns */
  }
}

/* Ensure all images within .page-index are responsive and meet min size */
@media (max-width: 768px) {
  .page-index img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Button styles (example if buttons were present in main content) */
.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.page-index__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Ensure all content images meet minimum size requirements */
.page-index__article-body img,
.page-index__category-card img {
  min-width: 200px;
  min-height: 200px;
}