.page-index {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per rule */
}

.page-index__slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-index__slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.page-index__nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index__nav-dot--active,
.page-index__nav-dot:hover {
  background-color: #2F6BFF;
}

.page-index__title-intro-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.page-index__decorative-line {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(to right, #D6E2FF, #2F6BFF);
}

.page-index__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  letter-spacing: -0.02em;
  max-width: 900px;
  /* No fixed font-size, rely on clamp if needed but prefer fluid */
}

.page-index__intro-paragraph {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  color: #1F2D3D;
}

.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.1em;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-index__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-index__category-gateway {
  max-width: 1390px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

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

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

.page-index__category-card img {
  width: 100%;
  height: 300px; /* Fixed height for consistency, will be object-fit */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

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

.page-index__category-label {
  padding: 15px 10px;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  width: 100%;
  background-color: #FFFFFF;
}

.page-index__seo-article {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.05em;
  color: #1F2D3D;
}

.page-index__blockquote {
  border-left: 5px solid #2F6BFF;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #000000;
  background-color: #D6E2FF;
  padding: 20px;
  border-radius: 8px;
}

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

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

.page-index__article-heading {
  font-size: 2em;
  font-weight: 700;
  color: #1F2D3D;
  margin-top: 50px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index__article-subheading {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-index__article-paragraph {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-index__article-paragraph a,
.page-index__article-list a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
}

.page-index__article-paragraph a:hover,
.page-index__article-list a:hover {
  text-decoration: underline;
}

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

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

.page-index__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-index__figcaption {
  font-size: 0.9em;
  color: #6FA3FF;
  margin-top: 10px;
}

.page-index__article-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-index__article-list li {
  margin-bottom: 8px;
}

.page-index__article-list li strong {
  color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__main-title {
    font-size: clamp(2em, 5vw, 3em); /* Using clamp for H1 */
  }
}

@media (max-width: 768px) {
  .page-index__decorative-line {
    display: none; /* Hide decorative lines on mobile */
  }

  .page-index__title-wrapper {
    gap: 0;
  }

  .page-index__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    padding: 0 10px;
  }

  .page-index__intro-paragraph {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-index__category-gateway {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* More compact on mobile */
    padding: 0 15px;
  }

  .page-index__category-card img {
    height: 200px; /* Adjust height for mobile */
  }

  .page-index__article-heading {
    font-size: 1.6em;
  }

  .page-index__article-subheading {
    font-size: 1.2em;
  }

  .page-index__seo-article,
  .page-index__blockquote {
    padding: 0 15px;
    font-size: 0.95em;
  }

  .page-index__hero-slider img, 
  .page-index__category-card img, 
  .page-index__article-figure img {
    max-width: 100%;
    height: auto;
    /* Ensure content area images are not smaller than 200px, but responsive */
    /* The min-width/min-height on images themselves already enforce 200px */
  }
}

/* Ensure content area images are not smaller than 200px via CSS */
.page-index img:not(.page-index__slider-nav-dot) {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-index img:not(.page-index__slider-nav-dot) {
    max-width: 100%;
    height: auto;
  }
}