.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Consistent small top padding */
  overflow: hidden;
  margin-bottom: 30px; /* Spacing Module 2 */
  background-color: #F4F7FB; /* Background color for the slider section */
}
.page-index__hero-slider-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 675px; /* Fixed height for consistent display */
}
.page-index__hero-slider-slide {
  flex: 0 0 100%;
  transition: transform 0.6s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
}
.page-index__hero-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0%);
  position: relative; /* Active slide is in flow */
}
.page-index__hero-slider-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.page-index__hero-slider-prev,
.page-index__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  line-height: 1;
  border-radius: 4px;
}
.page-index__hero-slider-prev {
  left: 10px;
}
.page-index__hero-slider-next {
  right: 10px;
}
.page-index__hero-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.page-index__hero-slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  padding: 0;
}
.page-index__hero-slider-dot.is-active {
  background-color: #2F6BFF;
}

.page-index__promo-duo {
  margin-bottom: 30px; /* Spacing Module 2 */
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.page-index__promo-duo-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 15px;
  box-sizing: border-box;
}
.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  min-width: 200px;
  min-height: 200px;
}
.page-index__promo-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__promo-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.page-index__promo-cta--alert {
  background: linear-gradient(180deg, #FF6B6B 0%, #E74C3C 100%); /* High contrast alert color */
}

.page-index__section-title {
  text-align: center;
  margin: 30px auto;
  max-width: 1250px;
  padding: 0 16px;
}
.page-index__main-title {
  font-size: clamp(24px, 3.5vw, 48px); /* Using clamp for responsive H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin: 0;
  padding: 0;
}

.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid #6FA3FF;
  border-radius: 15px;
  box-shadow: 0 0 20px #A5C4FF; /* Using Glow color */
  background: #F4F7FB; /* Main background color */
  color: #1F2D3D; /* Main text color */
}
.page-index__home-content-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px;
  text-align: justify;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  line-height: 1.6;
  font-size: 16px;
}
.page-index__home-content-inner::-webkit-scrollbar {
  width: 10px;
}
.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #6FA3FF; /* Auxiliary color for scrollbar */
  border-radius: 20px;
  border: 3px solid #2F6BFF; /* Main color for scrollbar border */
}
.page-index__home-content-inner h2.page-index__h2-title {
  font-size: 28px;
  color: #2F6BFF;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}
.page-index__home-content-inner h3.page-index__h3-title {
  font-size: 22px;
  color: #1F2D3D;
  margin-top: 25px;
  margin-bottom: 10px;
}
.page-index__home-content-inner p {
  margin-bottom: 10px;
}
.page-index__home-content-inner figure {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.page-index__home-content-inner figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  min-width: 200px;
  min-height: 200px;
}
.page-index__home-content-inner figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}
.page-index__home-content-inner .page-index__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}
.page-index__home-content-inner .page-index__list li {
  margin-bottom: 5px;
}
.page-index__home-content-inner .page-index__quick-links {
  text-align: center;
  margin: 20px 0;
  font-size: 18px;
  font-weight: bold;
}
.page-index__home-content-inner .page-index__quick-links a {
  color: #2F6BFF;
  text-decoration: none;
  margin: 0 8px;
}
.page-index__home-content-inner .page-index__quick-links a:hover {
  text-decoration: underline;
}
.page-index__table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
}
.page-index__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is wide enough on desktop */
}
.page-index__table th,
.page-index__table td {
  border: 1px solid #D6E2FF;
  padding: 12px 15px;
  text-align: left;
  color: #1F2D3D;
}
.page-index__table th {
  background-color: #E0EFFF; /* Light blue background for headers */
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
}
.page-index__table tbody tr:nth-child(odd) {
  background-color: #F8FBFF;
}
.page-index__table tbody tr:hover {
  background-color: #EBF2FF;
}
.page-index__home-content-inner a {
  color: #2F6BFF;
  text-decoration: none;
}
.page-index__home-content-inner a:hover {
  text-decoration: underline;
}

.page-index__blog-slider {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 16px;
}
.page-index__blog-slider-title {
  text-align: center;
  color: #2F6BFF; /* Main color for title */
  text-transform: uppercase;
  font-size: 32px;
  margin-bottom: 25px;
}
.page-index__blog-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-index__blog-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; /* Space for scrollbar */
}
.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  background-color: rgba(47, 107, 255, 0.8); /* Main color with transparency */
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}
.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background-color: #2F6BFF;
}
.page-index__post-item {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cards on desktop with 20px gap */
  scroll-snap-align: start;
  box-sizing: border-box;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-index__post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.page-index__post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.page-index__post-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Fixed 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 4px;
}
.page-index__post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}
.page-index__post-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #fff;
  border: 2px solid #2F6BFF;
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.2;
  color: #2F6BFF;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.page-index__post-date-day {
  display: block;
  font-weight: 700;
  font-size: 18px;
}
.page-index__post-date-month {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}
.page-index__post-item h5 {
  text-align: center;
  color: #1F2D3D;
  margin: 15px 10px 8px;
  font-size: 18px;
  line-height: 1.4;
  min-height: 50px; /* Ensure consistent title height */
}
.page-index__post-item p {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin: 0 10px 15px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical;
}

/* General image and button responsive styles */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}
.page-index__table-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-index__hero-slider {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }
  .page-index__hero-slider-track {
    height: 200px; /* Adjust height for mobile */
  }
  .page-index__hero-slider-prev,
  .page-index__hero-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }
  .page-index__promo-duo {
    margin-bottom: 20px;
    padding: 0 12px;
  }
  .page-index__promo-duo-grid {
    grid-template-columns: 1fr; /* Single column for promo duo */
    gap: 15px;
  }
  .page-index__promo-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__section-title {
    margin: 20px auto;
    padding: 0 12px;
  }
  .page-index__main-title {
    font-size: clamp(20px, 6vw, 36px);
  }
  .page-index__home-content {
    height: 60vh; /* Fixed height for scroll box on mobile */
    min-height: 420px;
    max-height: 560px;
    margin: 16px 12px;
    border-width: 3px;
    padding: 8px;
  }
  .page-index__home-content-inner {
    padding: 10px 12px;
    font-size: 15px;
  }
  .page-index__home-content-inner h2.page-index__h2-title {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 12px;
  }
  .page-index__home-content-inner h3.page-index__h3-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 8px;
  }
  .page-index__home-content-inner .page-index__quick-links {
    font-size: 16px;
  }
  .page-index__home-content-inner .page-index__quick-links a {
    display: block;
    margin: 5px 0;
  }
  .page-index__table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-index__table {
    min-width: 500px; /* Allow horizontal scroll for tables */
  }
  .page-index__table th,
  .page-index__table td {
    padding: 10px 12px;
    font-size: 14px;
  }
  .page-index__blog-slider {
    margin: 20px auto;
    padding: 0 12px;
  }
  .page-index__blog-slider-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-index__blog-slider-wrap {
    gap: 10px;
  }
  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .page-index__blog-slider-track {
    gap: 15px;
  }
  .page-index__post-item {
    flex: 0 0 100%; /* Single card on mobile */
  }
  .page-index__post-item h5 {
    font-size: 16px;
    margin: 10px 8px 5px;
    min-height: auto;
  }
  .page-index__post-item p {
    font-size: 13px;
    margin: 0 8px 10px;
    -webkit-line-clamp: 2; /* Limit to 2 lines on mobile */
  }
  /* Universal image and container responsive styles */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-index__promo-duo-col img,
  .page-index__home-content-inner figure img,
  .page-index__post-cover img {
    min-width: unset;
    min-height: unset;
  }
  .page-index__promo-duo-col,
  .page-index__home-content-inner figure,
  .page-index__table-wrapper,
  .page-index__blog-slider-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
}