:root {
  --main-color: #113B7A;
  --auxiliary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

/* General styles for page-index to ensure light text on dark body background */
.page-index {
  color: var(--text-main); /* #F3F8FF */
  background: var(--deep-navy); /* #08162B from shared.css */
}

.page-index__spacing {
  height: 30px; /* Module 2: Spacing */
}

/* Module 1: Hero Slider */
.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top margin, not var(--header-offset) */
  overflow: hidden;
  max-width: 1920px; /* Max width for slider */
  margin: 0 auto;
}
.page-index__hero-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.page-index__hero-slider-slide {
  flex: 0 0 100%;
  position: relative;
  display: none;
  border-radius: 4px; /* Added from SLOT365 visual CSS */
  box-shadow: 0 2px 8px rgba(0,0,0,.15); /* Added from SLOT365 visual CSS */
}
.page-index__hero-slider-slide.is-active {
  display: block;
}
.page-index__hero-slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}
.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;
  z-index: 10;
  font-size: 24px;
  border-radius: 4px;
  user-select: none;
}
.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: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}
.page-index__hero-slider-dot.is-active {
  background: #fff;
}

/* Module 3: Promo Duo */
.page-index__promo-duo {
  padding: 20px 16px;
  max-width: 1250px; /* Max width for consistency */
  margin: 0 auto;
  box-sizing: border-box;
}
.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;
}
.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); /* Added from SLOT365 visual CSS */
  object-fit: cover;
}
.page-index__promo-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: var(--button-gradient); /* Custom button color */
  color: var(--text-main); /* #F3F8FF */
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}
.page-index__promo-cta:hover {
  opacity: 0.9;
}
.page-index__promo-cta--alert {
  background: linear-gradient(180deg, #FF6B6B 0%, #E74C3C 100%); /* Red/Orange for alert CTA */
}

/* Module 4: Decorative H1 */
.page-index__section-title {
  text-align: center;
  margin: 30px auto; /* Added from SLOT365 visual CSS */
  max-width: 1250px; /* Added from SLOT365 visual CSS */
  padding: 0 16px;
  box-sizing: border-box;
}
.page-index__section-title h1 {
  font-size: clamp(24px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color); /* #F2C14E */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  margin: 0;
}

/* Module 5: Long SEO Content */
.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid var(--auxiliary-color); /* #1D5FD1 */
  border-radius: 15px;
  box-shadow: 0 0 20px var(--auxiliary-color); /* #1D5FD1 */
  background: rgba(255, 255, 255, 0.92); /* Light background for readability */
}
.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;
  color: #333333; /* Explicitly dark text for readability on light inner background */
}
.page-index__home-content-inner::-webkit-scrollbar {
  width: 10px;
}
.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #4C9BB6; /* Scrollbar thumb color */
  border-radius: 20px;
  border: 3px solid var(--auxiliary-color); /* #1D5FD1 */
}
.page-index__home-content-inner h2 {
  color: var(--main-color); /* #113B7A */
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
}
.page-index__home-content-inner h3 {
  color: var(--auxiliary-color); /* #1D5FD1 */
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
}
.page-index__home-content-inner p {
  line-height: 1.7;
  margin-bottom: 10px;
}
.page-index__home-content-inner ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333333;
}
.page-index__home-content-inner li {
  margin-bottom: 5px;
}
.page-index__home-content-inner a {
  color: var(--auxiliary-color); /* #1D5FD1 */
  text-decoration: underline;
}
.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.1);
}
.page-index__home-content-inner figcaption {
  font-style: italic;
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}
.page-index__home-content-inner .page-index__table-wrapper {
  overflow-x: auto; /* For mobile table overflow */
  margin: 20px 0;
}
.page-index__home-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  min-width: 600px; /* Ensure table is wide enough for desktop, allow scroll on mobile */
}
.page-index__home-content-inner th,
.page-index__home-content-inner td {
  border: 1px solid var(--border-color); /* #244D84 */
  padding: 10px 15px;
  text-align: left;
  color: #333333; /* Dark text for table content */
}
.page-index__home-content-inner th {
  background: var(--main-color); /* #113B7A */
  color: var(--text-main); /* #F3F8FF */
  font-weight: 600;
}
.page-index__home-content-inner tr:nth-child(even) {
  background: #f0f0f0;
}
.page-index__home-content-inner tr:nth-child(odd) {
  background: #ffffff;
}
.page-index__home-content-inner .page-index__quick-links {
  text-align: center;
  font-weight: 600;
  margin-top: 20px;
  color: #333333;
}
.page-index__home-content-inner .page-index__quick-links a {
  margin: 0 8px;
  color: var(--main-color);
}

/* Module 6: Blog Slider */
.page-index__blog-slider {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 16px;
  box-sizing: border-box;
}