.page-index {
  color: #F3F8FF; /* Text Main */
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto;
}

.page-index__hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-slider-slide {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.page-index__hero-slider-slide.is-active {
  opacity: 1;
}

.page-index__hero-slider-slide img {
  width: 100%;
  height: auto;
  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: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  z-index: 10;
}

.page-index__hero-slider-prev {
  left: 10px;
}

.page-index__hero-slider-next {
  right: 10px;
}

.page-index__hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.page-index__hero-slider-dots button.is-active {
  background: #F2C14E; /* Gold */
}

.page-index__spacing-medium {
  margin-bottom: 30px;
}

.page-index__promo-duo {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-index__promo-duo-col {
  background: #10233F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
}

.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.page-index__promo-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index__section-title {
  text-align: center;
  margin: 30px auto;
  max-width: 1250px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__section-title h1 {
  color: #F2C14E; /* Gold */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid #1D5FD1;
  border-radius: 15px;
  box-shadow: 0 0 20px #4FA8FF; /* Glow */
  background: #08162B; /* Deep Navy, dark background */
  color: #F3F8FF; /* Text Main, light text for dark background */
}

.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;
}

.page-index__home-content-inner::-webkit-scrollbar {
  width: 10px;
}

.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #4FA8FF; /* Glow */
  border-radius: 20px;
  border: 3px solid #1D5FD1;
}

.page-index__home-content-inner h2 {
  color: #F2C14E; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-index__home-content-inner h3 {
  color: #1D5FD1; /* Auxiliary Color */
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-index__home-content-inner p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
}

.page-index__home-content-inner strong {
  color: #F2C14E; /* Gold */
}

.page-index__home-content-inner a {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
}

.page-index__home-content-inner ul,
.page-index__home-content-inner ol {
  margin-left: 20px;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-index__home-content-inner li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #AFC4E8; /* Text Secondary */
}

.page-index__home-content-inner figure {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

.page-index__home-content-inner figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__home-content-inner figcaption {
  font-style: italic;
  font-size: 14px;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 10px;
}

.page-index__table-responsive {
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid #1B3357; /* Divider */
  border-radius: 8px;
}

.page-index__home-content-inner table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is scrollable on smaller screens if content is wide */
}

.page-index__home-content-inner th,
.page-index__home-content-inner td {
  border: 1px solid #1B3357; /* Divider */
  padding: 12px;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-index__home-content-inner th {
  background-color: #113B7A; /* Primary Color */
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
}

.page-index__home-content-inner tr:nth-child(even) {
  background-color: #10233F; /* Card BG */
}

.page-index__home-content-inner tr:hover {
  background-color: #244D84; /* Border */
}

.page-index__quick-access {
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-index__blog-slider {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__blog-slider-title {
  text-align: center;
  color: #F2C14E; /* Gold */
  text-transform: uppercase;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
}

.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-track::-webkit-scrollbar {
  height: 8px;
}

.page-index__blog-slider-track::-webkit-scrollbar-thumb {
  background-color: #4FA8FF; /* Glow */
  border-radius: 10px;
}

.page-index__post-item {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  box-sizing: border-box;
  background: #10233F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-index__post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index__post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__post-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.page-index__post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index__post-date {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #113B7A; /* Primary Color */
  border: 2px solid #F2C14E; /* Gold */
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.2;
  color: #F3F8FF; /* Text Main */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index__post-date-day {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.page-index__post-date-month {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #AFC4E8; /* Text Secondary */
}

.page-index__post-item h5 {
  text-align: center;
  color: #F2C14E; /* Gold */
  margin: 12px 8px 6px;
  font-size: 1.1rem;
  line-height: 1.4;
  padding: 0 5px;
}

.page-index__post-item p {
  text-align: center;
  color: #AFC4E8; /* Text Secondary */
  font-size: 14px;
  margin: 0 8px 15px;
  padding: 0 5px;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  background: #113B7A; /* Primary Color */
  color: #F3F8FF; /* Text Main */
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background: #244D84; /* Border (darker shade) */
}

/* General image responsiveness */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button responsiveness */
.page-index__promo-cta,
.page-index a[class*="button"],
.page-index a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__promo-duo-col .page-index__promo-cta {
    max-width: 100%;
    width: 100%; /* Ensure button takes full width of its column */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-index__hero-slider {
    padding-top: 10px !important;
  }

  .page-index__hero-slider-prev,
  .page-index__hero-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-index__promo-duo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-index__promo-duo-col {
    padding: 10px;
  }

  .page-index__promo-duo-col img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__promo-cta {
    font-size: 16px;
    padding: 12px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__section-title h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    padding: 0 10px;
  }

  .page-index__home-content {
    height: 60vh;
    min-height: 420px;
    max-height: 560px;
    margin: 16px 12px;
    border-width: 3px;
    padding: 5px;
  }

  .page-index__home-content-inner {
    padding: 10px 12px;
  }

  .page-index__home-content-inner h2 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index__home-content-inner h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .page-index__home-content-inner p,
  .page-index__home-content-inner li {
    font-size: 15px;
  }

  .page-index__home-content-inner table {
    display: block;
    overflow-x: auto;
  }

  .page-index__home-content-inner th,
  .page-index__home-content-inner td {
    padding: 8px;
    font-size: 14px;
  }

  .page-index__blog-slider {
    padding: 0 12px;
  }

  .page-index__blog-slider-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .page-index__blog-slider-wrap {
    gap: 5px;
  }

  .page-index__blog-slider-track {
    gap: 15px;
  }

  .page-index__post-item {
    flex: 0 0 100%;
  }

  .page-index__post-item h5 {
    font-size: 1rem;
    margin: 10px 5px 5px;
  }

  .page-index__post-item p {
    font-size: 13px;
    margin: 0 5px 10px;
  }

  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__promo-duo,
  .page-index__home-content,
  .page-index__blog-slider {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}