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

/* Hero Slider */
.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
}

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

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

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

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

.page-index__prev-button,
.page-index__next-button {
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.page-index__prev-button:hover,
.page-index__next-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.page-index__prev-button::before {
  content: '❮';
}

.page-index__next-button::before {
  content: '❯';
}

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

.page-index__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__dot.active {
  background-color: #FFFFFF;
}

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

.page-index__divider {
  flex-grow: 1;
  height: 2px;
  background-color: #D6E2FF;
  max-width: 200px;
}

.page-index__main-title {
  color: #1F2D3D;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 700px;
  padding: 0 10px;
}

/* Category Gateway */
.page-index__category-gateway {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-index__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  justify-items: center;
}

.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.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 200px; /* Constrain card width */
  color: #1F2D3D;
}

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

.page-index__category-card img {
  width: 100%;
  height: 300px; /* Fixed height for vertical aspect */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-index__category-label {
  padding: 15px 10px;
  font-weight: 600;
  font-size: 1.1em;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Article Body (Long SEO Content) */
.page-index__article-body {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

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

.page-index__blockquote p {
  margin-bottom: 0;
}

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

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

.page-index__highlight-text {
  color: #2F6BFF;
  font-weight: bold;
}

.page-index__article-heading {
  color: #1F2D3D;
  font-size: 2em;
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid #D6E2FF;
  padding-bottom: 10px;
}

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

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

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

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

.page-index__article-body strong {
  color: #000000; /* Custom Color_1776249996415 */
}

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

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

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

/* General button styling for consistency */
.page-index__article-body .btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-index__article-body .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__main-title {
    font-size: 2.5em;
  }
  .page-index__category-card img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-index__main-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index__section-title-container {
    margin: 30px auto;
    flex-direction: column;
    gap: 10px;
  }
  .page-index__divider {
    max-width: 100px;
  }
  .page-index__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  .page-index__category-card {
    max-width: 180px;
  }
  .page-index__category-card img {
    height: 200px; /* Ensure min 200px for card images on mobile */
    max-width: 100%; /* Important for mobile overflow */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
  }
  .page-index__article-body {
    padding: 20px;
    margin: 30px auto;
  }
  .page-index__article-heading {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-index__article-subheading {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 12px;
  }
  .page-index__slider-item img {
    max-height: 400px; /* Adjust hero height for mobile */
  }
  .page-index__article-figure img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
  }
  .page-index__article-body img {
    max-width: 100%;
    height: auto;
  }
  .page-index__blockquote {
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .page-index__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-index__grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-index__category-card {
    max-width: 100%;
  }
  .page-index__category-card img {
    
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
  }
  .page-index__slider-controls {
    bottom: 10px;
  }
  .page-index__prev-button,
  .page-index__next-button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .page-index__dot {
    width: 8px;
    height: 8px;
  }
}