.page-index {
  max-width: 1390px;
  margin: 0 auto;
  padding: 10px 15px 40px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-index__hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-index__slider-item {
  min-width: 100%;
  flex-shrink: 0;
}

.page-index__slider-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index__slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 15px 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  line-height: 1;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-index__slider-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.page-index__slider-nav--prev {
  left: 10px;
}

.page-index__slider-nav--next {
  right: 10px;
}

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

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

.page-index__slider-dots .dot.active {
  background-color: #2F6BFF;
  transform: scale(1.2);
}

.page-index__hero-cta {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  z-index: 15;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__hero-cta:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index__section-title {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-index__section-title h1 {
  color: #1F2D3D;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  /* font-size handled by clamp in shared if necessary, otherwise defaults */
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-index__divider {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #D6E2FF 50%, transparent 100%);
  max-width: 150px;
}

.page-index__category-gateway {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

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

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

.page-index__category-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid #D6E2FF;
  transition: transform 0.3s ease;
}

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

.page-index__category-card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 15px;
  color: #1F2D3D;
}

.page-index__article-body {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
}

.page-index__article-body h2 {
  color: #1F2D3D;
  font-size: 2.2em;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #D6E2FF;
  padding-bottom: 10px;
}

.page-index__article-body h3 {
  color: #1F2D3D;
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

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

.page-index__article-figure {
  margin: 30px 0;
}

.page-index__article-figure.page-index__aligncenter {
  text-align: center;
}

.page-index__article-figure img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

@media (max-width: 1024px) {
  .page-index {
    padding: 10px 10px 30px;
  }
  .page-index__hero-slider {
    margin-bottom: 30px;
  }
  .page-index__hero-cta {
    bottom: 25px;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
  }
  .page-index__divider {
    max-width: 100px;
  }
  .page-index__category-gateway {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .page-index__article-body {
    padding: 30px;
  }
  .page-index__article-body h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-index__article-body h3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-slider {
    border-radius: 8px;
  }
  .page-index__hero-cta {
    bottom: 15px;
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__slider-nav {
    padding: 10px 7px;
    font-size: 20px;
  }
  .page-index__slider-dots {
    bottom: 10px;
    gap: 8px;
  }
  .page-index__slider-dots .dot {
    width: 10px;
    height: 10px;
  }
  .page-index__section-title {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__section-title h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    text-align: center;
  }
  .page-index__divider {
    width: 80%;
    max-width: 100%;
  }
  .page-index__category-gateway {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-index__category-card-title {
    font-size: 1.1em;
  }
  .page-index__article-body {
    padding: 20px;
    line-height: 1.6;
  }
  .page-index__article-body h2 {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-index__article-body h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-index__article-figure img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images in content area are responsive */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for any image that might be constrained by other rules */
  .page-index__article-body img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-index__category-card img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-index__slider-item img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-index__category-gateway {
    grid-template-columns: 1fr;
  }
  .page-index__section-title h1 {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-index__hero-cta {
    padding: 8px 15px;
    font-size: 0.8em;
  }
}