.page-index {
  padding-top: 10px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

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

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

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

.page-index__slide--active {
  display: block;
}

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

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

.page-index__slider-prev, .page-index__slider-next {
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 18px;
  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;
}

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

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

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

.page-index__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  text-align: center;
  max-width: 600px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

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

.page-index__category-grid {
  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;
  text-decoration: none;
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
  min-height: 300px; /* Ensure card has a minimum height */
}

.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: 100%; /* Make image fill card height */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  min-width: 200px;
  min-height: 200px;
}

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

.page-index__category-label {
  padding: 15px;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  color: #000000; /* Custom Color_1776249996415 */
}

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

.page-index__blockquote {
  border-left: 4px solid #A5C4FF; /* Glow color */
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #1F2D3D;
}

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

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

.page-index__article-body h2 {
  font-size: 2.2em;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-index__article-body h3 {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

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

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

.page-index__article-body ul li {
  margin-bottom: 0.5em;
}

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

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

.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 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

@media (max-width: 768px) {
  .page-index__hero-slider {
    margin-bottom: 30px;
  }

  .page-index__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-index__section-title-container {
    margin-bottom: 30px;
    padding: 0 10px;
  }

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

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

  .page-index__category-gateway {
    margin-bottom: 40px;
    padding: 0 10px;
  }

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

  .page-index__article-body h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-index__article-body h3 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-index__article-body img {
    max-width: 100%;
    height: auto;
  }

  .page-index__article-body ul {
    margin-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-index__category-grid {
    grid-template-columns: 1fr;
  }

  .page-index__category-card {
    min-height: 250px;
  }

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

  .page-index__slider-nav {
    bottom: 10px;
  }
}