@charset "UTF-8";
/* JD Mastercard Promotion Page Styles
   Follows the same pattern as multi-currency-debit-card/styles.scss
   (plain SCSS — Bootstrap is already loaded by the layout template)
*/
/* ─── Font-size tokens ──────────────────────────────────────────────────── */
:root {
  --jdmc__intro-fz: 20px;
  --jdmc__section-title-fz: 48px;
  --jdmc__section-subtitle-fz: 20px;
  --jdmc__welcome-period-fz: 24px;
  --jdmc__item-label-fz: 20px;
  --jdmc__item-value-fz: 48px;
  --jdmc__item-desc-fz: 20px;
  --jdmc__cta-text-fz: 20px;
  --jdmc__annual-value-fz: 36px;
  --jdmc__annual-desc-fz: 16px;
  --jdmc__exclusive-card-name-fz: 32px;
  --jdmc__exclusive-card-li-fz: 20px;
}
@media screen and (max-width: 767px) {
  :root {
    --jdmc__intro-fz: 16px;
    --jdmc__section-title-fz: 30px;
    --jdmc__section-subtitle-fz: 16px;
    --jdmc__welcome-period-fz: 20px;
    --jdmc__item-label-fz: 20px;
    --jdmc__item-value-fz: 30px;
    --jdmc__item-desc-fz: 20px;
    --jdmc__cta-text-fz: 30px;
    --jdmc__annual-value-fz: 24px;
    --jdmc__annual-desc-fz: 16px;
    --jdmc__exclusive-card-name-fz: 24px;
    --jdmc__exclusive-card-li-fz: 16px;
  }
}

.orange-text {
  color: #ce1126;
}

/* ─── Layout overrides ──────────────────────────────────────────────────── */
.nav-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.site-container .page-integrated-investment.aumoffer .page-banner {
  height: 380px;
  background-image: url("/personal/promotions/jd_mastercard/images/banner.jpg");
  background-position: center;
  background-size: auto 100%;
}
@media screen and (max-width: 767px) {
  .site-container .page-integrated-investment.aumoffer .page-banner {
    height: 340px;
    background-position: right top;
    background-size: auto 220px;
    padding-top: 220px;
  }
}
.site-container .main-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
@media screen and (max-width: 1100px) {
  .site-container .main-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.jdmc__hl {
  color: #ce1126;
  font-weight: 700;
}

.jdmc_enlarge {
  font-size: 1.25em;
  font-weight: 700;
  color: #ce1126;
}
@media screen and (max-width: 767px) {
  .jdmc_enlarge {
    font-size: 20px;
  }
}

/* ─── Banner Link ───────────────────────────────────────────────────────── */
.jdmc__bannerLink {
  text-align: right;
  padding: 8px 16px 0;
  margin: 0;
}
.jdmc__bannerLink a {
  color: blue;
  text-decoration: underline;
}

/* ─── Intro ──────────────────────────────────────────────────────────────── */
.jdmc__intro {
  text-align: center;
  font-size: var(--jdmc__intro-fz);
  line-height: 1.8;
  color: #555;
  padding: 24px 16px 8px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .jdmc__intro {
    padding: 16px 12px 4px;
  }
}

/* ─── Shared section typography ─────────────────────────────────────────── */
.jdmc__section-title {
  font-size: var(--jdmc__section-title-fz);
  font-weight: 700;
  color: #ce1126;
  text-align: center;
  margin-bottom: 8px;
}

.jdmc__section-subtitle {
  text-align: center;
  font-size: var(--jdmc__section-subtitle-fz);
  color: #444;
  margin-bottom: 24px;
}

/* ─── Welcome Gift ───────────────────────────────────────────────────────── */
.jdmc__welcome {
  position: relative;
  background: url("/personal/promotions/jd_mastercard/images/welcome_bg.png") no-repeat center center/120% 120%;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
  border-radius: 16px;
  max-width: 1220px;
  margin: 24px auto;
  padding: 48px 24px 36px;
  overflow: visible;
}
@media screen and (max-width: 767px) {
  .jdmc__welcome {
    padding: 28px 16px 24px;
    margin: 32px auto 16px;
  }
}
.jdmc__welcome.jdmc__welcome--second {
  padding: 24px 24px 36px;
}
@media screen and (max-width: 767px) {
  .jdmc__welcome.jdmc__welcome--second {
    padding: 16px 16px 24px;
  }
}

.jdmc__welcome-period {
  width: 70%;
  text-align: center;
  font-size: var(--jdmc__welcome-period-fz);
  font-weight: bold;
  color: #333;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
  white-space: break-spaces;
}
@media screen and (max-width: 767px) {
  .jdmc__welcome-period {
    white-space: normal;
  }
}

/* Characters — absolutely pinned to top corners */
.jdmc__characters-left,
.jdmc__characters-right {
  position: absolute;
  bottom: calc(100% - 200px);
  pointer-events: none;
  text-align: center;
  width: 26%;
}
@media screen and (max-width: 767px) {
  .jdmc__characters-left,
.jdmc__characters-right {
    bottom: auto;
    top: -60px;
  }
}
.jdmc__characters-left img,
.jdmc__characters-right img {
  width: auto;
  height: auto;
  display: inline-block;
  width: 90%;
  max-width: 300px;
}
@media screen and (max-width: 767px) {
  .jdmc__characters-left img,
.jdmc__characters-right img {
    width: 90%;
  }
}

.jdmc__characters-left {
  left: 50%;
  transform: translateX(-50%);
  margin-left: -38%;
  /* nudge left character slightly outward for better balance with right character */
}

.jdmc__characters-right {
  right: 50%;
  transform: translateX(50%);
  margin-right: -38%;
  /* nudge right character slightly outward for better balance with left character */
}

/* Ensure content is layered above characters */
.jdmc__welcome > .container {
  position: relative;
  z-index: 1;
}

.jdmc__welcome-items {
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 20px auto;
  max-width: 600px;
}
@media screen and (max-width: 767px) {
  .jdmc__welcome-items {
    margin: 30px auto 0;
    flex-direction: column;
  }
}

.jdmc__welcome-item {
  flex: 1;
  padding: 12px 20px;
  text-align: left;
  border-left: 2px solid rgba(255, 0, 0, 0.25);
}
.jdmc__welcome-item:first-child {
  border-left: none;
  padding-left: 0;
}
@media screen and (max-width: 767px) {
  .jdmc__welcome-item {
    padding: 12px 0;
    border-left: none;
    border-top: 2px solid rgba(255, 0, 0, 0.25);
  }
  .jdmc__welcome-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

.jdmc__item-label {
  font-size: var(--jdmc__item-label-fz);
  color: #333;
}

.jdmc__item-value {
  font-size: var(--jdmc__item-value-fz);
  font-weight: 900;
  color: #ce1126;
  line-height: 1.1;
}
.jdmc__item-value sup {
  font-size: 0.6em;
}

.jdmc__item-desc {
  font-size: var(--jdmc__item-desc-fz);
  color: #444;
  margin-top: 6px;
  line-height: 1.5;
}

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.jdmc__cta {
  text-align: center;
  padding: 32px 16px;
}

.jdmc__cta-text {
  font-size: var(--jdmc__cta-text-fz);
  font-weight: 700;
  color: #ce1126;
  margin-bottom: 0;
}

/* ─── Collection image (desktop / mobile responsive) ───────────────────── */
.jdmc__collection {
  line-height: 0;
  /* remove gap under img */
}
.jdmc__collection img {
  width: 100%;
  display: block;
}

/* ─── Spending Rewards ───────────────────────────────────────────────────── */
.jdmc__rewards {
  padding: 48px 24px 40px;
  background: url("/personal/promotions/jd_mastercard/images/welcome_bg.png") no-repeat center center/120% 120%;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
  border-radius: 16px;
  max-width: 1220px;
  margin: 24px auto;
  /* Enlarge the '10%' highlight in the subtitle */
}
@media screen and (max-width: 767px) {
  .jdmc__rewards {
    padding: 28px 16px 24px;
    margin: 16px auto;
  }
}
.jdmc__rewards .jdmc__section-subtitle strong {
  font-size: 1.75em;
  font-weight: 900;
  color: #ce1126;
  line-height: 1;
  vertical-align: bottom;
}
@media screen and (max-width: 767px) {
  .jdmc__rewards .jdmc__section-subtitle strong {
    font-size: 20px;
    vertical-align: middle;
  }
}

.jdmc__merchants {
  margin-bottom: 28px;
  line-height: 0;
  text-align: center;
}
.jdmc__merchants img:first-child {
  max-height: 95px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.jdmc__merchants img:last-child {
  max-width: 254px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.jdmc__table-wrap {
  max-width: 940px;
  margin: 0 auto;
  box-shadow: none;
  border: 1px solid #ce1126;
  background: #ce1126;
}
.jdmc__table-wrap thead th {
  padding: 20px 16px;
  background: #ce1126;
  color: white;
}
.jdmc__table-wrap table tr.short-borders td:not(:first-child):before {
  background: #ce1126;
}
.jdmc__table-wrap table td {
  border-bottom: 1px solid #ce1126;
}
@media screen and (max-width: 767px) {
  .jdmc__table-wrap table td,
.jdmc__table-wrap table th {
    font-size: 14px;
  }
}

.jdmc__disclaimer {
  font-size: 12px;
  color: #888;
  text-align: left;
  margin: 12px auto 0;
  max-width: 940px;
  line-height: 1.6;
  padding: 0 4px;
}

/* ─── Annual Offers ──────────────────────────────────────────────────────── */
.jdmc__annual {
  padding: 48px 16px 40px;
}
@media screen and (max-width: 767px) {
  .jdmc__annual {
    padding: 28px 12px 24px;
  }
}

.jdmc__annual-grid {
  display: flex;
  gap: 20px;
  max-width: 800px;
  margin: 24px auto 0;
}
@media screen and (max-width: 767px) {
  .jdmc__annual-grid {
    flex-direction: column;
    gap: 14px;
  }
}

.jdmc__annual-card {
  flex: 1;
  background: url("/personal/promotions/jd_mastercard/images/welcome_bg.png") no-repeat center center/120% 120%;
  border-radius: 16px;
  padding: 24px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
}
.jdmc__annual-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .jdmc__annual-card img {
    width: 48px;
    height: 48px;
  }
}

.jdmc__annual-value {
  font-size: var(--jdmc__annual-value-fz);
  font-weight: 800;
  color: #ce1126;
}

.jdmc__annual-desc {
  font-size: var(--jdmc__annual-desc-fz);
  font-weight: bold;
  color: #444;
  margin-top: 6px;
  line-height: 1.5;
  white-space: break-spaces;
}

/* ─── Exclusive Offers ───────────────────────────────────────────────────── */
.jdmc__exclusive {
  padding: 48px 16px 40px;
}
@media screen and (max-width: 767px) {
  .jdmc__exclusive {
    padding: 28px 12px 24px;
  }
}

.jdmc__exclusive-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 24px auto 0;
}

.jdmc__exclusive-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-top: 2px solid rgba(255, 0, 0, 0.25);
}
.jdmc__exclusive-card:first-child {
  border-top: none;
}
@media screen and (max-width: 767px) {
  .jdmc__exclusive-card {
    flex-direction: column;
  }
}

.jdmc__exclusive-card-logo {
  flex-shrink: 0;
  width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
}
.jdmc__exclusive-card-logo img {
  width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .jdmc__exclusive-card-logo {
    width: 100%;
    padding: 16px 16px 8px;
  }
}

.jdmc__exclusive-card-content {
  flex: 1;
  background: #f4f4f4;
  padding: 16px 20px;
}

.jdmc__exclusive-card-name {
  font-size: var(--jdmc__exclusive-card-name-fz);
  font-weight: 700;
  color: #ce1126;
  text-align: left;
  margin-bottom: 10px;
}

.jdmc__exclusive-card ul {
  padding-left: 16px;
  margin: 0;
}
.jdmc__exclusive-card ul li {
  font-size: var(--jdmc__exclusive-card-li-fz);
  color: #444;
  margin-bottom: 6px;
  line-height: 1.6;
  text-align: left;
}

.jdmc__footlinks {
  text-align: left;
  margin-top: 32px;
}
.jdmc__footlinks a {
  font-size: 14px;
  color: #6d9dca;
  text-decoration: underline;
}

#modal_apply_steps {
  max-height: 90vh;
}

.modal-dialog-scrollable .modal-content {
  overflow: scroll !important;
}

/* Mobile menu toggle visibility (match multi-currency-debit-card behavior) */
.itemside.active {
  display: block;
}

.itemside.active .navbtn {
  display: block !important;
}

.navbtn a:after {
  content: none !important;
}

.desktop-nav .navbtn li {
  text-align: right !important;
}

.desktop-nav .navbtn li:not(:last-child) a {
  display: inline !important;
}

@media screen and (max-width: 375px) {
  .page-integrated-investment .page-banner .banner-content .banner-subtitle {
    font-size: 18px !important;
  }
}
.flink a,
.flink a:active,
.flink a:visited {
  color: #595959;
}

.desktop-only {
  display: block;
}
@media screen and (max-width: 767px) {
  .desktop-only {
    display: none;
  }
}

.mobile-only {
  display: none;
}
@media screen and (max-width: 767px) {
  .mobile-only {
    display: block;
  }
}

.banner-content {
  max-width: 700px;
}

.jdm_instruction {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
@media screen and (max-width: 767px) {
  .jdm_instruction {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
}