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

.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for the first section */
}

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

.page-index__slider-item {
  min-width: 100%;
  box-sizing: border-box;
  display: none;
}

.page-index__slider-item--active {
  display: block;
}

.page-index__hero-slider img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px;
}

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

.page-index__slider-prev,
.page-index__slider-next {
  background-color: rgba(47, 107, 255, 0.7);
  color: #FFFFFF;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.2em;
  line-height: 1;
}

.page-index__slider-dots {
  display: flex;
  gap: 8px;
}

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

.page-index__slider-dot--active {
  background-color: #2F6BFF;
}

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

.page-index__main-title {
  color: #1F2D3D;
  text-align: center;
  padding: 0 20px;
  margin: 0;
  /* No fixed font-size for h1 */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.page-index__title-divider {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(to right, #D6E2FF, #2F6BFF, #D6E2FF);
  max-width: 150px;
}

.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(150px, 1fr));
  gap: 20px;
}

.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 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.page-index__category-card img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

.page-index__article-body {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.page-index__article-container {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-index__highlight-text {
  color: #ff9900; /* Amber/Orange for highlight as per 3WIN style */
  font-weight: bold;
}

.page-index__article-heading {
  color: #2F6BFF;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2em;
}

.page-index__article-subheading {
  color: #1F2D3D;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5em;
}

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

.page-index__article-body a {
  color: #2F6BFF;
  text-decoration: none;
}

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

.page-index__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-index__list li {
  margin-bottom: 10px;
}

.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 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin: 0 auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }
  .page-index__category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-index__main-title-section {
    margin: 30px auto;
  }
  .page-index__main-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }
  .page-index__title-divider {
    max-width: 80px;
  }
  .page-index__category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__article-container {
    padding: 20px;
  }
  .page-index__article-heading {
    font-size: 1.8em;
  }
  .page-index__article-subheading {
    font-size: 1.3em;
  }
  .page-index__hero-slider img,
  .page-index__category-card img,
  .page-index__article-figure img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-index__hero-slider .page-index__slider-prev,
  .page-index__hero-slider .page-index__slider-next {
    padding: 8px 12px;
    font-size: 1em;
  }
  .page-index__hero-slider .page-index__slider-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .page-index__main-title-section {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__title-divider {
    display: none;
  }
  .page-index__main-title {
    padding: 0 10px;
    font-size: clamp(1.2em, 6vw, 1.8em);
  }
  .page-index__category-grid {
    grid-template-columns: 1fr;
  }
  .page-index__article-container {
    padding: 15px;
  }
  .page-index__article-heading {
    font-size: 1.5em;
  }
  .page-index__article-subheading {
    font-size: 1.2em;
  }
}