.page-index {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for visual separation from header */
}

.page-index__hero-link {
  display: block;
  width: 100%;
  height: auto;
  text-decoration: none;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.page-index__slider-nav {
  display: none; /* Simple slider with no visible nav for now, can be implemented with JS */
}

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

.page-index__decorative-line {
  flex-grow: 1;
  height: 2px;
  background-color: #D6E2FF;
  margin: 0 20px;
  max-width: 150px;
}

.page-index__main-title {
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  color: #000000;
  max-width: 800px;
  font-size: clamp(24px, 4vw, 48px); /* Using clamp for responsive H1 font size */
}

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

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

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

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

.page-index__category-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-index__category-label {
  padding: 15px 10px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  color: #000000;
}

.page-index__article-body {
  max-width: 900px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
  line-height: 1.8;
  color: #1F2D3D;
}

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

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

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

.page-index__heading-2 {
  font-size: 2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
  line-height: 1.3;
}

.page-index__heading-3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000000;
  line-height: 1.4;
}

.page-index__article-body p {
  margin-bottom: 1em;
}

.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 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-index__article-figure--aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__step-list,
.page-index__offer-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 10px;
  margin-bottom: 1em;
}

.page-index__step-list li,
.page-index__offer-list li {
  margin-bottom: 0.5em;
  color: #1F2D3D;
}

.page-index__text-link {
  color: #2F6BFF;
  text-decoration: none;
}

.page-index__text-link:hover {
  text-decoration: underline;
}

.page-index__text-link--highlight {
  font-weight: bold;
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.page-index__button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
}

.page-index__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index__hero-slider {
    padding-top: 8px;
  }

  .page-index__section-title-container {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-index__decorative-line {
    margin: 0 10px;
    max-width: 80px;
  }

  .page-index__main-title {
    font-size: 1.8em;
  }

  .page-index__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  .page-index__category-card img {
    min- /* Adjust min height for mobile, still > 200px if possible for content images */
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
  }

  .page-index__category-label {
    font-size: 0.9em;
    padding: 10px 5px;
  }

  .page-index__article-body {
    margin: 30px auto 60px auto;
    padding: 0 15px;
  }

  .page-index__heading-2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-index__heading-3 {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index__article-figure img,
  .page-index__article-body img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images don't overflow, maintain min size */
    min-height: 200px;
  }

  .page-index__step-list,
  .page-index__offer-list {
    margin-left: 15px;
    padding-left: 5px;
  }
}

/* Ensure all images within .page-index are responsive and meet min size requirements */
.page-index img {
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Global minimum size for all content images */
  min-height: 200px;
  object-fit: cover; /* Helps maintain aspect ratio while covering area */
}

/* Specific override for hero image to respect its larger size while being responsive */
.page-index__hero-image {
  min-width: unset; /* Let hero image be larger than 200px if its aspect ratio is wide */
  min-height: unset;
  object-fit: cover;
}