/* ================================================
   STABLE INVESTMENT COURSE PAGE
   Desktop: all sizes in vw (px / 1920 * 100)
   Mobile: @media (max-width: 1023px) with px
   ================================================ */

/* ================================================
   HERO BANNER
   y=130, h=494px
   ================================================ */
.si-hero {
  position: relative;
  height: 25.7292vw;
  /* 494px */
  margin-top: 0;
  /* no gap between nav and hero */
  background-color: #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.si-hero-bg {
  position: absolute;
  /*inset: 0;*/
  z-index: 0;
}

.si-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.si-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.si-breadcrumb {
  position: absolute;
  top: 1.25vw;
  /* 24px */
  left: 0;
  font-size: 1.25vw;
  /* 24px */
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.025vw;
  /* 0.48px */
  display: flex;
  align-items: center;
  gap: 0.4167vw;
  /* 8px */
  margin-left: 4.583vw;
}

.si-breadcrumb a {
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.si-breadcrumb a:hover {
  opacity: 1;
}

.si-breadcrumb span {
  color: var(--color-white);
}

.si-hero-title {
  font-size: 4.1667vw;
  /* 80px */
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.0833vw;
  /* 1.6px */
  line-height: 1.2;
  margin: 0;
}

.si-hero-subtitle {
  font-family: 'Aboreto', cursive;
  font-size: 2.0833vw;
  /* 40px */
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.2708vw;
  /* 5.2px */
  margin-top: 0.8333vw;
  /* 16px */
}

/* ================================================
   QUOTE SECTION
   y=624, h=604px, bg=#F1F9FF
   ================================================ */
.si-quote-section {
  background: #F1F9FF;
  height: 31.4583vw;
  /* 604px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.si-quote-card {
  position: relative;
  width: 73.75vw;
  /* 1416px */
  height: 23.3854vw;
  /* 449px */
  border-radius: 1.5625vw;
  /* 30px */
  overflow: hidden;
}

.si-quote-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.si-quote-card-icon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: auto;
  height: auto;
  max-height: 100%;
}

.si-quote-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding-left: 6.51vw;
  padding-top: 6.51vw;
}

.si-quote-mark {
  font-family: 'Abhaya Libre', serif;
  font-size: 6.6667vw;
  /* 128px */
  font-weight: 800;
  color: #3D65F3;
  line-height: 1;
  margin-bottom: -1.5625vw;
  /* pull text closer */
}

.si-quote-text {
  font-size: 3.3333vw;
  /* 64px */
  font-weight: 700;
  color: #3D65F3;
  letter-spacing: 0.1667vw;
  /* 3.2px */
  line-height: 4.3229vw;
  /* 83px */
}

/* ================================================
   适合谁学 SECTION
   y=1228, h=854px
   ================================================ */
.si-audience {
  position: relative;
  height: 44.4792vw;
  /* 854px */
  overflow: hidden;
  background: url('../assets/03-stable-investment/sections/section-2.webp') center / cover no-repeat;
}

.si-audience-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.si-audience-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.si-audience-inner {
  position: relative;
  z-index: 2;
  padding-top: 3.6458vw;
  /* 70px */
}

.si-audience-header {
  margin-bottom: 2.6042vw;
  /* 50px */
}

.si-audience-num {
  font-size: 3.3333vw;
  /* 64px */
  font-weight: 900;
  color: #3D65F3;
  display: block;
  line-height: 1.2;
}

.si-audience-title {
  font-size: 2.0833vw;
  /* 40px */
  font-weight: 700;
  color: #3D65F3;
  margin: 0;
  line-height: 1.3;
}

.si-audience-cards {
  display: flex;
  gap: 2.344vw;
  justify-content: space-between;
}

.si-audience-card {
  width: 23.1771vw;
  /* 445px */
  height: 26.5104vw;
  /* 509px */
  background: linear-gradient(to top, #8E8CFD, #4E5DFF 60.584%, #3853E9);
  border-radius: 1.5625vw;
  /* 30px */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.si-audience-card-img {
  width: 21.3542vw;
  /* 410px */
  height: 15.1042vw;
  /* 290px */
  border-radius: 1.5625vw;
  /* 30px */
  overflow: hidden;
  margin: 0.9375vw auto 0;
  /* 18px auto 0 */
  flex-shrink: 0;
}

.si-audience-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.si-audience-card-body {
  padding: 1.25vw 1.5625vw;
  /* 24px 30px */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.si-audience-card-title {
  font-size: 1.875vw;
  /* 36px */
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.1875vw;
  /* 3.6px */
  margin: 0 0 0.5208vw 0;
  /* 0 0 10px 0 */
  line-height: 1.3;
}

.si-audience-card-desc {
  font-size: 1.0417vw;
  /* 20px */
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   RESPONSIVE — <=1023px
   ================================================ */
@media (max-width: 1023px) {

  /* -- Global overflow prevention -- */
  .si-hero,
  .si-quote-section,
  .si-audience {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* ---- Hero ---- */
  .si-hero {
    height: auto;
    min-height: auto;
    margin-top: 0;
    padding: 50px 0;
  }

  .si-hero-inner {
    height: auto;
  }

  .si-breadcrumb {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 12px;
    letter-spacing: 0.48px;
    margin-left: 0;
    margin-bottom: 0;
    gap: 6px;
  }

  .si-hero-title {
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 1px;
  }

  .si-hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 8px;
  }

  /* ---- Quote Section ---- */
  .si-quote-section {
    height: auto;
    padding: 36px 0;
  }

  .si-quote-card {
    width: 100%;
    height: auto;
    min-height: 180px;
    border-radius: 14px;
  }

  .si-quote-content {
    padding: 24px 20px;
    flex-direction: column;
  }

  .si-quote-mark {
    font-size: 48px;
    margin-bottom: -8px;
  }

  .si-quote-text {
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 32px;
  }

  .si-quote-card-icon {
    max-height: 50%;
    opacity: 0.5;
  }

  /* ---- Audience Section ---- */
  .si-audience {
    height: auto;
    padding: 40px 0 48px;
    background-size: cover;
    background-position: center;
  }

  .si-audience-inner {
    padding-top: 0;
  }

  .si-audience-header {
    margin-bottom: 24px;
  }

  .si-audience-num {
    font-size: 32px;
  }

  .si-audience-title {
    font-size: 22px;
  }

  .si-audience-cards {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .si-audience-card {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 14px;
  }

  .si-audience-card-img {
    width: calc(100% - 24px);
    height: 180px;
    border-radius: 12px;
    margin: 12px auto 0;
  }

  .si-audience-card-body {
    padding: 16px 20px 20px;
  }

  .si-audience-card-title {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 6px;
  }

  .si-audience-card-desc {
    font-size: 14px;
    line-height: 24px;
  }
}