@charset "UTF-8";

/* =========================================
   SCSS 变量定义 (IE10 兼容性核心)
   ========================================= */
/* 1. 品牌色彩 (Brand Colors) */
/* 2. 中性色 (Neutrals) */
/* 3. 字体栈 (Typography) */
/* 4. 阴影 (Shadows) */
/* 注意：IE10 支持 rgba，但不完全支持 hsla 的透明度，这里提供 rgba 替代值 */
/* 5. 布局常量 (Layout) */
/* =========================================
   1. GLOBAL NAVBAR & PAGE 1
   ========================================= */

html {
  scrollbar-gutter: stable;
}

#page-1 {
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.home-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 0;
}

#page-1 .page-container {
  position: relative;
  z-index: 1;
  background: transparent;
}

@media screen and (max-width: 767px) {
  .home-video-bg {
    display: none;
  }

  #page-1 {
    background: url("../images//bg-mobile-home.jpg") no-repeat center/cover;
  }
}

/* Navbar styles moved to css/navbar.css */
/* Right Floating Icons */
.floating-icons {
  position: fixed;
  right: max(1.5vw, 1.2rem);
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  display: flex;
  flex-direction: column;
  /* gap removed */
  z-index: 900;
  transition: all 0.3s ease;
}

.float-item {
  width: 8rem;
  height: 8rem;
  position: relative;
  border-radius: 0;
  /* overflow: hidden; */
  /* REMOVED to allow popup to show outside */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 1.2rem;
  /* 12px */
}

.float-popup {
  display: flex;
  /* Kept flex for layout, visibility/opacity handles hiding */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -ms-transition: opacity 0.3s ease, visibility 0.3s ease;
  /* IE10 compatibility */
  position: absolute;
  top: 0;
  right: calc(100% + 2rem);
  width: 38rem;
  /* 380px @ 10px/rem */
  height: 22.4rem;
  /* 224px @ 10px/rem */
  background: rgba(255, 255, 255, 0.7);
  /* Background 70% opacity */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 4px 4px 12px 0px rgba(0, 48, 85, 0.4);
  z-index: 1000;
  pointer-events: auto;
  /* Changed to auto to allow clicking buttons */
  /* Center horizontal buttons (Default for Banking Login) */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  /* 12px spacing */
}

.float-popup.active {
  visibility: visible;
  opacity: 1;
}

/* Specific Style for '河行动态' Popup */
.float-popup.popup-news,.float-popup.popup-mobile {
  height: 16.5rem;
  /* 186px */
  flex-direction: row;
  /* Horizontal layout */
  align-items: flex-start;
  justify-content: center;
  /* Center the icons horizontally */
  padding-top: 3.2rem;
  /* Adjusted for better vertical centering */
  gap: 2.6rem;
  /* 26px spacing between QR codes */
  background: rgba(59,61,63,0.6);
  backdrop-filter: blur(5px);
}

.float-popup.popup-mobile{
  width:28rem;
}

.popup-netbank,.nav-functional .ebank-popup{
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(3px);
  box-shadow: 4px 4px 12px 0px #00305566;
}

.popup-netbank{
  width:27rem
}

.popup-netbank .popup-btn, .nav-functional .ebank-popup .popup-btn{
  border-radius: 80px;
  background: #00487F;
  color:white
}
.popup-netbank .popup-btn:hover, .nav-functional .ebank-popup .popup-btn:hover{
  border-radius: 80px;
  background: #00487F;
  color:white
}



.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 9.2rem;
  flex-shrink: 0;
}

.qr-item img {
  width: 8.4rem;
  /* 84px */
  height: 8.4rem;
  /* 84px */
  margin-bottom: 0.4rem;
  /* 4px spacing */
  display: block;
  background: #fff;
  /* Ensure background is solid white */
}

.qr-item p {
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  /* 12px */
  font-weight: 400;
  line-height: 1.5;
  /* 18px relative to 12px */
  text-align: center;
  margin: 0;
  white-space: nowrap;
}

.popup-btn {
  width: 17.6rem;
  /* 176px */
  height: 4rem;
  /* 40px */
  background-color: #ffffff;
  border: none;
  outline: none;
  color: #00487F;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 2rem;
  /* 20px */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.popup-btn:hover {
  background-color: #f5f5f5;
  /* Subtle hover feedback */
}

.float-item:last-child {
  margin-bottom: 0;
}

.float-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-color: var(--color-brand-blue);
  transition: all 0.3s ease;
}

.float-icon-wrapper {
  z-index: 1;
  position: relative;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
}

.float-icon {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.float-text {
  z-index: 1;
  position: relative;
  font-size: 1.4rem;
  font-family: var(--font-primary);
  color: white;
  margin: 0;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
}

/* Hover Effect for Floating Icons */
.float-item:hover .float-bg {
  background-color: var(--color-white);
  box-shadow: inset 0 -0.2rem 0 0 var(--color-brand-green);
  /* Bottom-only border */
}

.float-item:hover .float-icon {
  /* Precise filter to change white icon to brand blue (#00487f) */
  /* Step 1: Force to black. Step 2: Map black to #00487f */
  filter: brightness(0) invert(19%) sepia(91%) saturate(1914%) hue-rotate(186deg) brightness(91%) contrast(101%);
}

.float-item:hover .float-text {
  color: var(--color-brand-blue);
}

/* Notification Bar (Page 1) */
.notification-bar {
  position: absolute;
  bottom: calc(8rem + 3.6vh);
  width: min(103.3rem, 80vw);
  /* Max width or 80vw constraint */
  height: 4.8rem;
  left: 10vw;
  z-index: 900;
  transition: all 0.3s ease;
}

.notif-bg {
  position: absolute;
  bottom: calc(8rem + 3.6vh);
  width: min(103.3rem, 80vw);
  height: 4.8rem;
  left: 10vw;
  backdrop-filter: blur(3.34px);
  -webkit-backdrop-filter: blur(3.34px);
  background-color: rgba(102, 128, 148, 0.75);
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}

.notif-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}

.notif-icon-wrapper {
  display: flex;
  align-items: center;
  margin-right: 1.2rem;
  flex-shrink: 0;
  /* Prevent icon shrinking */
}

.notif-text {
  flex-grow: 1;
  font-size: 1.6rem;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 2rem;
}

.notif-more {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.notif-more-text {
  font-size: 1.6rem;
  color: white;
  margin-right: 0.4rem;
}

/* Shortcut Cards (Page 1) */
.shortcut-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 800;
  height: 8rem;
  padding: 0 4vw;
  transition: all 0.3s ease;
}

/* Background overlay - z-index 0, limited to the shortcuts bar area */
.shortcut-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  /* match .shortcut-container height */
  box-sizing: border-box;
  background-color: rgba(102, 128, 148, 0.75);
  backdrop-filter: blur(3.34px);
  -webkit-backdrop-filter: blur(3.34px);
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}

.shortcut-card {
  flex: 1;
  max-width: 24rem;
  min-width: 12.5rem;
  height: 8rem;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Separator Line */
  border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.shortcut-card:last-child {
  border-right: none;
}

.shortcut-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  /* Align icon and text horizontally */
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  padding-right: 1.7rem;
  /* Visual correction: Shift center left */
}

.shortcut-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 1.2rem;
  -o-object-fit: contain;
  object-fit: contain;
}

.shortcut-text {
  font-size: 1.6rem;
  color: white;
  font-weight: 400;
  white-space: nowrap;
  width: 8rem;
  /* Fixed width for alignment */
  text-align: left;
}

@media (min-width: 1700px) {
  .shortcut-text {
    font-size: 1.9rem;
    /* 19px */
  }
}

/* =========================================
   3. PAGE 3: CORPORATE BUSINESS
   ========================================= */
#page-3 {
  width: 100%;
  height: 100%;
  background: url("../images//asset/bg-corporate.svg") no-repeat center/cover;
  color: var(--color-grey);
}

#page-3 .viewport-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
}

#page-3 .content-wrapper {
  width: min(92vw, 152rem);
  /* 1520px */
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* padding-top: 9rem; Handled global */
  position: relative;
}

/* Page 3 Header */
#page-3 .header-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: flex-end;
}

#page-3 .title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.6rem;
  width: -moz-fit-content;
  width: fit-content;
}

#page-3 .header-section h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
}

#page-3 .title-decoration {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
}

#page-3 .decoration-bar {
  height: 0.3rem;
  display: block;
  flex-grow: 1;
}

#page-3 .decoration-bar.blue {
  flex: 50;
  background-color: var(--color-brand-blue);
}

#page-3 .decoration-bar.green {
  flex: 32;
  background-color: var(--color-brand-green);
}

#page-3 .decoration-bar.red {
  flex: 18;
  background-color: var(--color-brand-red);
}

#page-3 .subtitle {
  margin-top: 0;
  font-size: var(--fs-sub);
  font-weight: 350;
  color: var(--color-grey);
  line-height: 1.4;
}

/* Content Area - Desktop Layout Base */
#page-3 .content-area {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 48.8rem;
  /* 488px fixed height on desktop */
  align-items: stretch;
  justify-content: center;
  overflow-y: visible;
  box-shadow: none;
}

#page-3 .image-panel {
  flex: 1;
  max-width: 50%;
  aspect-ratio: auto;
  min-height: 32rem;
  /* 320px */
  position: relative;
  overflow: hidden;
}

#page-3 .image-bg {
  width: 100%;
  height: 100%;
  background-image: url("../images//hero-corporate.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Card Grid - Replaced Grid with Flex */
#page-3 .card-grid {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  background-color: var(--color-white);
}

#page-3 .card {
  position: relative;
  background-color: var(--color-white);
  width: 50%;
  /* 2 Columns */
  height: 25%;
  /* 4 Rows = 100% / 4 */
  display: flex;
  align-items: center;
  padding: 0 4rem;
  /* 40px */
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

/* Borders between columns (left column has right border) */
#page-3 .card:nth-child(odd) {
  border-right: 1px solid #E7E7E7;
}

/* Borders between rows (not the last row) */
#page-3 .card:nth-child(n+1):nth-child(-n+6) {
  border-bottom: 1px solid #E7E7E7;
}

/* Hover effect */
#page-3 .card:hover {
  background-color: var(--color-brand-blue-light);
  color: var(--color-white);
}

#page-3 .card:hover .card-title {
  color: var(--color-white);
}

#page-3 .card:hover .card-icon {
  filter: invert(1) brightness(1.2);
}

#page-3 .card-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  padding-left: 3rem;
  /* 30px */
}

#page-3 .card-icon {
  position: absolute;
  left: 4rem;
  /* 40px */
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  /* 16px */
  height: 1.6rem;
  background-image: url("../images//asset/marker-dot.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =========================================
   4. PAGE 4: SMALL BUSINESS
   ========================================= */
/* =========================================
   4. PAGE 4: SMALL BUSINESS
   ========================================= */
#page-4 {
  width: 100%;
  height: 100%;
  background: url("../images//asset/bg-business.jpg") no-repeat center/cover;
}

#page-4 .viewport-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
}

#page-4 .content-wrapper {
  width: min(92vw, 152rem);
  /* 1520px */
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* padding-top: 9rem; Handled global */
  position: relative;
  /* Padding bottom removed to allow spacer-bottom to work */
}

#page-4 .title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.6rem;
  width: -moz-fit-content;
  width: fit-content;
}

#page-4 .header-section h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
}

#page-4 .title-decoration {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
}

#page-4 .decoration-bar {
  height: 0.3rem;
  display: block;
  flex-grow: 1;
}

#page-4 .decoration-bar.blue {
  flex: 50;
  background-color: var(--color-brand-blue);
}

#page-4 .decoration-bar.green {
  flex: 32;
  background-color: var(--color-brand-green);
}

#page-4 .decoration-bar.red {
  flex: 18;
  background-color: var(--color-brand-red);
}

#page-4 .subtitle {
  margin-top: 0;
  font-size: var(--fs-sub);
  font-weight: 350;
  color: var(--color-grey);
  line-height: 1.4;
}

/* Content Area - Desktop Row Layout */
#page-4 .content-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow-y: visible;
  height: auto;
  flex-grow: 0;
  /* Do NOT grow, let spacers handle vertical space */
  width: 100%;
  gap: 2rem;
  /* Gap between cards and image */
  position: relative;
}

/* Cards Column */
#page-4 .product-cards {
  max-width: 54.7rem;
  /* 547px max */
  min-width: 39rem;
  /* 390px min hard limit */
  width: auto;
  flex: 1 1 39rem;
  /* Reduced basis from 49rem to allow shrinking before max-width hit */
  margin-right: -16.9rem;
  /* Overlap logic */
  padding-bottom: 0;
  z-index: 2;
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: -8.1rem;
  /* Compensate for button height (3.6rem) + margin-top (1.5rem) + gap adjustment */
}

#page-4 .card {
  width: 100%;
  height: 14rem;
  /* 140px */
  background: url("../images//asset/card-bg-small-default.svg") no-repeat center center;
  background-size: 100% 100%;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 3rem 4rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  /* Gap replacement */
}

#page-4 .card:last-child {
  margin-bottom: 0;
}

#page-4 .card:hover {
  background-image: url("../images//asset/card-bg-small-hover.svg");
  cursor: pointer;
}

#page-4 .card:hover h2,
#page-4 .card:hover p {
  color: var(--color-white);
}

#page-4 .card.active {
  background-image: url("../images//asset/card-bg-small-hover.svg");
  color: var(--color-white);
  cursor: pointer;
}

#page-4 .card.active h2,
#page-4 .card.active p {
  color: var(--color-white);
}

#page-4 .card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

#page-4 .card h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1;
  margin: 0;
  margin-right: 2rem;
  /* Gap replacement */
}

#page-4 .card p {
  font-size: var(--fs-home-body);
  color: var(--color-grey);
  line-height: 1.5;
  margin: 0;
}

#page-4 .card-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: static;
  transform: none;
  margin-top: auto;
}

#page-4 .btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-white);
  background-color: var(--color-brand-green);
  min-width: 14rem;
  height: 3.2rem;
  border-radius: 1.8rem;
  padding: 0 1.6rem;
  gap: 0.8rem;
}

#page-4 .btn-details::before {
  content: "查看详情";
  font-size: 1.6rem;
}

#page-4 .btn-details img {
  width: 1.2rem;
  height: 1.2rem;
}

/* Feature Image */
#page-4 .feature-image {
  max-width: 103.2rem;
  /* 1032px */
  width: auto;
  flex: 2 1 45rem;
  /* Grow/Shrink base 890px -> 450px */
  height: 56rem;
  /* 560px */
  min-width: 45rem;
  /* 450px min */
  position: relative;
  overflow: visible;
  z-index: 1;
  order: 2;
  flex-shrink: 1;
  /* Allow shrinking */
  align-self: flex-start;
  display: flex;
  flex-direction: column;
}

#page-4 .image-bg {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background-image: url("../images//Vector_584_11926.png");
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

#page-4 .image-content-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16rem;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  padding: 0 4rem;
  text-align: right;
}

#page-4 .overlay-text p {
  font-size: 1.8rem;
  color: var(--color-grey);
  line-height: 2.8rem;
  padding-left: 13rem;
}

/* Image Indicator Dots */
#page-4 .dots-indicator {
  position: relative;
  display: none;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  order: 3;
}

#page-4 .dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

#page-4 .dot.active {
  background-color: var(--color-brand-blue);
  width: 2.4rem;
  border-radius: 0.4rem;
}

/* Card Footer Icon / Jump Button */
/* Card Footer Icon / Jump Button */
#page-4 .card-footer-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: 1.5rem;
  /* Distance from last card */
  margin-left: auto;
  margin-right: auto;
  /* Center horizontally within product-cards */
}

#page-4 .card-footer-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../images//asset/icon-external-link.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
  cursor: pointer;
  transform: rotate(90deg);
}

/* =========================================
   Small Business Page - Credit Products Section
   Reusing Page 4 styles for #sb-credit-products
   ========================================= */
#sb-credit-products .content-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow-y: visible;
  height: auto;
  flex-grow: 0;
  width: 100%;
  gap: 2rem;
  position: relative;
}

#sb-credit-products .product-cards {
  max-width: 54.7rem;
  min-width: 39rem;
  width: auto;
  flex: 1 1 39rem;
  margin-right: -16.9rem;
  padding-bottom: 0;
  z-index: 2;
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: -8.1rem;
}

#sb-credit-products .card {
  width: 100%;
  height: 14rem;
  background: url("../images//asset/card-bg-small-default.svg") no-repeat center center;
  background-size: 100% 100%;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 3rem 4rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

#sb-credit-products .card:last-child {
  margin-bottom: 0;
}

#sb-credit-products .card:hover {
  background-image: url("../images//asset/card-bg-small-hover.svg");
  cursor: pointer;
}

#sb-credit-products .card:hover h2,
#sb-credit-products .card:hover p {
  color: var(--color-white);
}

#sb-credit-products .card.active {
  background-image: url("../images//asset/card-bg-small-hover.svg");
  color: var(--color-white);
  cursor: pointer;
}

#sb-credit-products .card.active h2,
#sb-credit-products .card.active p {
  color: var(--color-white);
}

#sb-credit-products .card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

#sb-credit-products .card h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1;
  margin: 0;
  margin-right: 2rem;
}

#sb-credit-products .card p {
  font-size: var(--fs-home-body);
  color: var(--color-grey);
  line-height: 1.5;
  margin: 0;
}

#sb-credit-products .card-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: static;
  transform: none;
  margin-top: auto;
}

#sb-credit-products .btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-white);
  background-color: var(--color-brand-green);
  min-width: 14rem;
  height: 3.2rem;
  border-radius: 1.8rem;
  padding: 0 1.6rem;
  gap: 0.8rem;
}

#sb-credit-products .btn-details::before {
  content: "查看详情";
  font-size: 1.6rem;
}

#sb-credit-products .btn-details img {
  width: 1.2rem;
  height: 1.2rem;
}

#sb-credit-products .feature-image {
  max-width: 103.2rem;
  width: auto;
  flex: 2 1 45rem;
  height: 56rem;
  min-width: 45rem;
  position: relative;
  overflow: visible;
  z-index: 1;
  order: 2;
  flex-shrink: 1;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
}

#sb-credit-products .image-bg {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background-image: url("../images//Vector_584_11926.png");
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

#sb-credit-products .image-content-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16rem;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  padding: 0 4rem;
  text-align: right;
}

#sb-credit-products .overlay-text p {
  font-size: 1.8rem;
  color: var(--color-grey);
  line-height: 2.8rem;
}

#sb-credit-products .dots-indicator {
  position: relative;
  display: none;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  order: 3;
}

#sb-credit-products .dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

#sb-credit-products .dot.active {
  background-color: var(--color-brand-blue);
  width: 2.4rem;
  border-radius: 0.4rem;
}

#sb-credit-products .card-footer-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

#sb-credit-products .card-footer-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../images//asset/icon-external-link.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
  cursor: pointer;
  transform: rotate(90deg);
}

/* =========================================
   5. PAGE 5: NEWS CENTER
   ========================================= */
#page-5 {
  font-family: var(--font-primary);
  background: url("../images//asset/bg-news.jpg") no-repeat center/cover;
}

#page-5 .content-wrapper {
  width: min(92vw, 152rem);
  /* 1520px standard */
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* padding-top: 9rem; Handled global */
  position: relative;
}

#page-5 .header-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 9.5rem;
  justify-content: center;
  /* Margin removed detailed in standardization plan */
}

#page-5 .title-group {
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 1.6rem;
}

#page-5 .title-group h1 {
  font-size: var(--fs-h1);
  /* 36px */
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
}

#page-5 .decoration-bar {
  height: 0.3rem;
  display: block;
  flex-grow: 1;
}

#page-5 .decoration-bar.blue {
  flex: 50;
  background-color: var(--color-brand-blue);
}

#page-5 .decoration-bar.green {
  flex: 32;
  background-color: var(--color-brand-green);
}

#page-5 .decoration-bar.red {
  flex: 18;
  background-color: var(--color-brand-red);
}

#page-5 .title-decoration {
  display: flex;
  margin-top: 0.8rem;
  margin-bottom: 0;
  width: 100%;
}

#page-5 .subtitle {
  margin-top: 0;
  font-size: var(--fs-sub);
  /* 26px */
  font-weight: 350;
  color: var(--color-grey);
  opacity: 1;
  line-height: 1.4;
}

#page-5 .news-tabs {
  display: flex;
  /* position: absolute; REMOVED */
  /* right: 0; REMOVED */
  /* top: -6rem; REMOVED */
  /* bottom: auto; REMOVED */
  width: 100%;
  /* Full width row */
  justify-content: flex-end;
  /* Groups tabs to right */
  margin-bottom: 1.8rem;
  /* Pushes content down */
  border-radius: 2.2rem;
  overflow: visible;
  flex-direction: row;
  background: transparent;
  border: none;
}

#page-5 .tab-item {
  flex: 0 0 auto;
  width: 12.2rem;
  /* 80% resized */
  height: 3.4rem;
  /* 80% resized */
  border-radius: 99rem;
  border: 1px solid #e5e5e5;
  font-weight: 500;
  font-size: 1.9rem;
  /* 80% resized */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey);
  margin-left: 1.6rem;
  /* Resized gap */
  cursor: pointer;
}

#page-5 .tab-item.active {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
}

#page-5 .content-area {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* Allow tabs to wrap to top line */
  align-items: flex-start;
  justify-content: space-between;
  justify-content: space-between;
  -moz-column-gap: 5rem;
  column-gap: 5rem;
  /* Horizontal spacing */
  row-gap: 0;
  /* Remove vertical gap below tabs */
  /* Fixed 50px gap */
  position: relative;
  /* Context for tabs */
}

/* Featured Card */
#page-5 .featured-card {
  display: block;
  position: relative;
  overflow: hidden;
  flex: 3 1 38rem;
  /* Ratio 3 (approx 630px at max), Basis 380px */
  min-width: 38rem;
  /* Min 380px */
  height: 50rem;
  box-shadow: var(--shadow-card);
}

#page-5 .image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

#page-5 .featured-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

#page-5 .featured-card:hover img {
  transform: scale(1.05);
}

#page-5 .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 3rem 4rem;
  background: url("../images//asset/news-overlay-bg.svg") no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center for desktop? Check legacy */
  justify-content: flex-start;
  /* Legacy said center/flex-start */
}

/* Legacy Desktop .card-overlay { alignItems: center; justifyContent: flex-start } */
/* Wait, text inside overlay needs to be aligned left? */
/* Actually legacy: align-items: flex-start (Mobile), align-items: center (Desktop??) */
/* The screenshot usually shows text left aligned. I'll stick to flex-start for text. */
#page-5 .card-overlay {
  align-items: flex-start;
}

#page-5 .overlay-text {
  width: 100%;
  overflow: hidden;
}

#page-5 .overlay-text h2 {
  color: white;
  font-size: var(--fs-h2);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

#page-5 .overlay-text .date {
  color: white;
  font-size: 1.8rem;
  margin-top: 1rem;
}

/* News List */
#page-5 .news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 4 1 38rem;
  /* Ratio 4 (approx 840px at max), Basis 380px */
  min-width: 38rem;
  /* Min 380px */
}

#page-5 .news-items-wrapper {
  display: flex;
  flex-direction: column;
  /* height: 50rem; Removed fixed height */
  justify-content: flex-start;
  /* Was space-between */
  gap: 3.1rem;
  /* Fixed 31px gap between cards */
}

#page-5 .news-item {
  display: flex;
  background: white;
  /* Half opacity of --shadow-card (0.2 -> 0.1) */
  box-shadow: 6px 8px 20px 0px hsla(206, 100%, 17%, 0.1);
  /* flex: 0 0 14.6rem; Removed fixed basis */
  /* height: 146px; Removed fixed height */
  padding: 2.8rem 3rem;
  /* Add vertical padding to prop up natural height */
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#page-5 .news-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

#page-5 .news-item:last-child {
  border-bottom: none;
}

#page-5 .news-content {
  width: 100%;
  overflow: hidden;
}

#page-5 .news-content h2 {
  line-height: 1;
  font-size: var(--fs-h2);
  color: var(--color-black);
  margin-bottom: 1.2rem;
  /* 12px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  transition: color 0.3s ease;
}

#page-5 .news-item:hover .news-content h2 {
  color: var(--color-brand-blue);
}

#page-5 .news-content .desc {
  line-height: 1;
  display: block;
  font-size: 1.8rem;
  color: var(--color-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1.8rem;
  /* 18px */
}

#page-5 .news-content .date {
  line-height: 1;
  font-size: 1.8rem;
  /* --fs-home-body */
  color: var(--color-light-grey);
}

#page-5 .more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey);
  font-size: 2.4rem;
  font-weight: 500;
  height: 4rem;
  width: 100%;
  margin-top: 2rem;
}

#page-5 .more-link img {
  margin-left: 0.5rem;
  width: 2.4rem;
  height: 2.4rem;
  opacity: 0.25;
}

/* =========================================
   6. PAGE 6: FOOTER / ABOUT US
   ========================================= */
/* =========================================
   6. PAGE 6: FOOTER / ABOUT US
   ========================================= */
#page-6 {
  width: 100%;
  height: 100%;
  font-family: var(--font-primary);
  overflow: hidden;
  background-color: #F9FBFC;
}

#page-6 .page-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: transparent;
}

#page-6 .bg-decoration {
  position: absolute;
  right: 0;
  bottom: 100%;
  width: auto;
  max-width: 53vw;
  min-width: 36rem;
  max-height: 70vh;
  z-index: -1;
  pointer-events: none;
}

/* =========================================
   2. PAGE 2: PERSONAL BUSINESS (Promoted from Page 2.5)
   ========================================= */
/* Breakpoint Sniffer for JS */
#page-2::after {
  content: "3";
  display: none;
}

@media screen and (max-width: 1420px) {
  #page-2::after {
    content: "2";
  }
}

@media screen and (max-width: 930px) {
  #page-2::after {
    content: "1";
  }
}

#page-2 {
  background: url("../images//asset/bg-personal.jpg") no-repeat center/cover;
}

/* Page 2 Container Styles */
#page-2 .main-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: transparent;
}

#page-2 .content-wrapper {
  position: relative;
  width: min(92vw, 152rem);
  /* 1520px */
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding-top: 9rem; Handled by global .content-wrapper */
}

/* Header */
#page-2 .header-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: flex-end;
}

#page-2 .title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.6rem;
  width: -moz-fit-content;
  width: fit-content;
}

#page-2 .header-section h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
}

#page-2 .title-decoration {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
}

#page-2 .decoration-bar {
  height: 0.3rem;
  display: block;
  flex-grow: 1;
}

#page-2 .decoration-bar.blue {
  flex: 50;
  background-color: var(--color-brand-blue);
}

#page-2 .decoration-bar.green {
  flex: 32;
  background-color: var(--color-brand-green);
}

#page-2 .decoration-bar.red {
  flex: 18;
  background-color: var(--color-brand-red);
}

#page-2 .subtitle {
  margin-top: 0;
  font-size: var(--fs-sub);
  font-weight: 350;
  color: var(--color-grey);
  line-height: 1.4;
}

/* Cards Area */
#page-2 .cards-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

#page-2 .cards-viewport {
  overflow: hidden;
  margin: 0;
  /* Fix: removed auto to prevents pushing arrows to edges */
  transition: width 0.3s ease;
  /* Explicit height for test cards */
  height: 52rem;
  display: flex;
  align-items: center;
}

#page-2 .cards-wrapper {
  display: flex;
  align-items: center;
  width: -moz-max-content;
  width: max-content;
  touch-action: pan-y pinch-zoom;
  transition: transform 0.3s ease;
}

#page-2 .card {
  width: 40rem;
  height: 50rem;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-right: 5rem;
  /* Increased gap */
  background-color: #fff;
  /* Default bg */
  box-shadow: var(--shadow-card);
}

#page-2 .card:last-child {
  margin-right: 0;
}

#page-2 .card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Internal Card Styles (Copied from Page 2) */
#page-2 .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

/* Background images/ */
#page-2 .card-bg-1 {
  background-image: url("../images//bg-section-corporate.jpg");
}

#page-2 .card-bg-2 {
  background-image: url("../images//bg-section-business.jpg");
}

#page-2 .card-bg-3 {
  background-image: url("../images//bg-section-credit.jpg");
}

#page-2 .card-bg-4 {
  background-image: url("../images//bg-section-market.jpg");
}

#page-2 .card:hover .card-bg {
  transform: scale(1.05);
}

#page-2 .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3em 2.5em;
  color: var(--color-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  pointer-events: none;
  /* Let clicks pass to btn/card */
}

#page-2 .card-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56%;
  background-image: url("../images//asset/card-cover-personal.svg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

#page-2 .card h2 {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  color: white;
}

#page-2 .card-desc {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 2.4rem;
  padding-bottom: 2.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

#page-2 .details-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  pointer-events: auto;
}

#page-2 .details-text {
  font-size: 2rem;
  line-height: 100%;
  margin-right: 1.2rem;
  color: white;
}

#page-2 .details-icon {
  width: 2rem;
  height: 2rem;
  background-image: url("../images//asset/circle-arrow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0) invert(1);
}

/* Scoped Arrows */
#page-2 .nav-arrow {
  background-color: rgba(255, 255, 255, 0);
  border: 0px;
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  /* Fix obstruction by side nav/floaters */
  transition: all 0.3s ease;
  /* Reset any global arrow styles if needed */
  position: static;
  margin: 0 4rem;
}

#page-2 .nav-arrow.nav-arrow-left {
  margin-left: 0;
}
#page-2 .nav-arrow.nav-arrow-left img {
  width: 48px;
  transform: rotate(180deg);
}

/* Tablet Override Removed: Restoring 100% size for 768-1200px */
#page-2 .nav-arrow.nav-arrow-right {
  margin-right: 0;
}
#page-2 .nav-arrow.nav-arrow-right img {
  width: 48px;
}

#page-2 .nav-arrow:hover {
  background-color: rgb(255, 255, 255);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#page-2 .nav-arrow:active {
  background-color: rgb(230, 230, 230);
  transform: scale(0.95);
}

#page-2 .nav-arrow.hidden {
  display: none;
}

/* Scoped Dots */
#page-2 .dots-indicator {
  position: absolute;
  bottom: -1.8rem;
  /* Position below cards (User req: 1.6rem gap -> approx -3rem relative to container) */
  left: 50%;
  transform: translateX(-50%);
  display: none;
  /* JS toggles visible */
  gap: 0.8rem;
  z-index: 10;
}

#page-2 .dots-indicator.visible {
  display: flex;
}

#page-2 .dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

#page-2 .dot.active {
  background-color: var(--color-brand-blue);
  width: 2.4rem;
  border-radius: 0.4rem;
}

@media screen and (max-width: 768px) {
  #page-2 .nav-arrow {
    display: none;
  }

  #page-2 .dots-indicator {
    display: flex;
  }
}

#page-6 .content-wrapper {
  position: relative;
  width: min(92vw, 152rem);
  /* 1520px */
  margin: 0 auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* padding-top: 9rem; Handled global */
  z-index: 2;
}

#page-6 .title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.6rem;
  width: -moz-fit-content;
  width: fit-content;
}

#page-6 .header-section h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
}

#page-6 .title-decoration {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
}

#page-6 .decoration-bar {
  height: 0.3rem;
  display: block;
  flex-grow: 1;
}

#page-6 .decoration-bar.blue {
  flex: 50;
  background-color: var(--color-brand-blue);
}

#page-6 .decoration-bar.green {
  flex: 32;
  background-color: var(--color-brand-green);
}

#page-6 .decoration-bar.red {
  flex: 18;
  background-color: var(--color-brand-red);
}

#page-6 .subtitle {
  margin-top: 0;
  font-size: var(--fs-sub);
  font-weight: 350;
  color: var(--color-grey);
  line-height: 1.4;
}

/* Cards Grid - Page 6 - Flex implementation */
#page-6 .cards-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 80rem;
  /* Approximate constraint */
  margin-right: auto;
  /* gap replacement handled in items */
}

#page-6 .card-item {
  position: relative;
  background-image: url("../images//asset/card-bg-default.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 33rem;
  /* 330px default desktop */
  height: 10rem;
  /* 100px default desktop */
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-card);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.2s ease;
  margin-bottom: 4.5rem;
  /* Row gap */
  margin-right: 6rem;
  /* Column gap */
}

#page-6 .card-item:nth-child(2n) {
  margin-right: 0;
}

#page-6 .card-item:hover {
  transform: translateY(-0.2rem);
  box-shadow: var(--shadow-card);
  background-image: url("../images//asset/card-bg-hover.svg");
}

#page-6 .card-item:hover .card-title {
  color: #fff;
}

#page-6 .card-item:hover .card-icon,
#page-6 .card-item:hover .arrow-icon {
  filter: brightness(0) invert(1);
}

#page-6 .card-icon-wrapper {
  position: relative;
  height: 56%;
  margin-left: 1.6rem;
  margin-right: 0.4rem;
  display: flex;
  align-items: center;
}

#page-6 .card-icon {
  height: 100%;
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

#page-6 .card-title {
  font-size: var(--fs-h2);
  color: var(--color-black);
  font-weight: 500;
  white-space: nowrap;
  z-index: 2;
}

#page-6 .card-arrow {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: auto;
  z-index: 2;
}

/* Footer */
#page-6 .page-footer {
  position: relative;
  background-color: var(--footer-bg);
  height: 17.2rem;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

#page-6 .footer-content {
  width: 92vw;
  max-width: 152rem;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#page-6 .trusted-website {
  display: none;
}

#page-6 .footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1.2rem;
  width: 100%;
}

#page-6 .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  font-size: 1.8rem;
}

#page-6 .footer-contact {
  display: flex;
  gap: 2rem;
  color: var(--color-grey);
}

#page-6 .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-brand-blue);
  gap: 2rem;
}

#page-6 .footer-links a {
  color: #000;
  text-decoration: none;
}

#page-6 .footer-links a:hover {
  color: var(--color-brand-blue);
}

#page-6 .divider {
  color: #000;
}

#page-6 .copyright-info {
  font-size: 1.6rem;
  color: var(--color-brand-blue);
  line-height: 1.6;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

#page-6 .copyright-info p {
  margin: 0;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
}

/* 响应式样式 */
@media (max-width: 768px) {
  #page-6 .footer-top {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 1.4rem;
  }
  
  
  #page-6 .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  #page-6 .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  #page-6 .footer-links .divider {
    display: none;
  }
  
  #page-6 .footer-links a {
    margin: 0 0.5rem;
  }
}

#page-6 .color-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.8rem;
  display: flex;
}

#page-6 .bar-blue {
  width: 50%;
  background-color: var(--color-brand-blue);
}

#page-6 .bar-green {
  width: 31.25%;
  background-color: var(--color-brand-green);
}

#page-6 .bar-red {
  width: 18.75%;
  background-color: var(--color-brand-red);
}

/* =========================================
   7. STANDARD RESPONSIVE LOGIC
   ========================================= */
/* @1200px (Tablet/Compact Desktop) */
@media (max-width: 1200px) {

  /* Navbar Adjustment Moved to navbar.css */
  /* Page 2: 3 cards -> 2 cards?
     Actually user plan said: Scale font size.
     But we might want to ensure layout fits if gaps are fixed REM.
     If card width 40rem * 3 + 10rem gap = 130rem.
     1200px = 120rem. 130rem > 120rem.
     So layout MUST change at 1200px.
  */
  /* Page 2: Keep 4th card visible */
  #page-2 .card {
    display: flex;
  }

  /* Center Arrows on Page 2 */
  #page-2 .arrow-left {
    left: calc(50% - 48rem);
  }

  #page-2 .arrow-right {
    right: calc(50% - 48rem);
  }

  /* Page 4/5 Rules Removed (Moved to 767px) */
  /* Page 4 Image Overlay on Tablet/Compact (<= 1200px) */
  #page-4 .image-content-overlay {
    display: none;
  }

  #page-5 .content-area {
    -moz-column-gap: 3rem;
    column-gap: 3rem;
    /* 30px horizontal */
    row-gap: 0;
    /* Remove vertical gap */
    align-items: stretch;
    /* Match heights */
  }

  #page-5 .featured-card {
    height: 39.2rem;
  }

  #page-5 .news-content .desc {
    display: none;
  }

  /* Page 3 Scaling (0.8x) */
  #page-3 .content-area {
    height: 39.04rem;
    /* 48.8 * 0.8 */
  }

  #page-3 .image-panel {
    min-height: 25.6rem;
    /* 32 * 0.8 */
  }

  /* Page 4 Scaling (0.8x) */
  #page-4 .content-area {
    gap: 1.6rem;
    /* 2.0 * 0.8 */
  }

  #page-4 .card {
    height: 11.2rem;
    /* 14 * 0.8 */
    margin-bottom: 1.6rem;
    /* 2.0 * 0.8 */
    padding: 2.4rem 3.2rem;
    /* 3 * 0.8, 4 * 0.8 */
  }

  #page-4 .btn-details {
    min-width: 11.2rem;
    /* 14 * 0.8 */
    height: 2.56rem;
    /* 3.2 * 0.8 */
    padding: 0 1.28rem;
    /* 1.6 * 0.8 */
    gap: 0.64rem;
    /* 0.8 * 0.8 */
  }

  #page-4 .feature-image {
    height: 44.8rem;
    /* 56 * 0.8 */
    min-width: 36rem;
    /* 45 * 0.8 */
    flex-basis: 36rem;
  }

  /* Page 6 Scaling (0.75x) */
  #page-6 .cards-grid {
    max-width: 60rem;
    /* 80 * 0.75 */
  }

  #page-6 .card-item {
    width: 24.75rem;
    /* 33 * 0.75 */
    height: 7.5rem;
    /* 10 * 0.75 */
    margin-bottom: 3.375rem;
    /* 4.5 * 0.75 */
    margin-right: 4.5rem;
    /* 6 * 0.75 */
  }
  #page-6 .footer-links {
    gap: 0.8rem;
  }

  #page-6 .card-title {
    font-size: 1.6rem;
    /* 16px */
  }
}

/* @800px (Mobile Mode)
   - Root font size resets to 5px or keeps scale? Step 357 style.css says:
     @media (max-width: 768px) { html { font-size: 50%; } } (1rem = 8px)
     So 10rem = 80px.
*/
@media (max-width: 768px) {

  /* Global Mobile UI Adjustment */
  .title-group h1 {
    font-size: 2.2rem !important;
    font-weight: 700;
    /* 22px Bold */
    /* 22px @ 1rem=10px */
  }

  .subtitle {
    font-size: 1.4rem !important;
    font-weight: 400;
    /* 14px Normal */
    /* 14px @ 1rem=10px */
    line-height: 1.5;
  }

  .title-decoration {
    margin-top: 0.6rem !important;
    /* 6px gap from h1 */
  }

  .title-group {
    margin-bottom: 1.2rem !important;
    /* 12px gap to subtitle */
  }

  /* Notification Bar Mobile - Full Width below Navbar */
  .notification-bar,
  .notif-bg {
    top: 5rem !important;
    /* Below 5rem navbar */
    bottom: auto !important;
    /* Override desktop bottom positioning */
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 0;
    height: 3.4rem !important;
    /* Mobile height */
  }

  .notif-text {
    font-size: 1.4rem !important;
  }

  /* Adjust icon wrapper to fit new icon size */
  .notif-icon-wrapper {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 0.8rem;
    /* Scale down margin slightly */
  }

  .notif-icon {
    width: 1.8rem !important;
    height: 1.8rem !important;
  }

  /* Helper to align content vertically in smaller bar */
  .notif-content {
    padding: 0 1.2rem;
    /* Reduce side padding */
  }

  /* View more section adjustments */
  .notif-more-text {
    font-size: 1.4rem !important;
  }

  .notif-more-icon {
    width: 1.8rem !important;
    height: 1.8rem !important;
  }

  /* Global Mobile Navigation Moved to navbar.css */
  /* Side Nav Mobile */
  .side-nav {
    /* top: auto; */
    bottom: 18rem;
    left: 0.4rem;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap removed in base, margin-bottom used */
  }

  .nav-dot {
    width: 0.75rem;
    height: 0.75rem;
    margin-bottom: 1.44rem;
  }

  .nav-dot.active {
    width: 1.2rem;
    height: 1.2rem;
    transform: none;
  }

  .nav-dot.active::after {
    display: none;
  }

  /* Floating Icons Mobile */
  .floating-icons {
    top: auto;
    bottom: 13.6rem;
    transform: none;
    right: 1.2rem;
  }

  .float-item {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.8rem;
  }

  .float-text {
    display: none;
  }

  .float-icon-wrapper {
    width: 2.24rem;
    height: 2.24rem;
    margin-bottom: 0;
  }

  .float-popup {
    top: 0;
    bottom: auto;
    right: calc(100% + 1.2rem);
  }

  .float-popup.popup-news {
    top: auto;
    bottom: 0;
    opacity: 0.8;
    background: #3B3D3F;
    backdrop-filter: blur(10px);
  }
  
  .float-popup.popup-mobile {
    opacity: 0.8;
    background: #3B3D3F;
    backdrop-filter: blur(10px);
  }

  /* Page 1 Shortcuts - Double Row */
  .shortcut-container,
  .shortcut-bg {
    flex-wrap: wrap;
    height: 10rem !important;
    /* 2 rows of 50px = 100px */
    height: 10rem !important;
    /* 2 rows of 50px = 100px */
    padding: 0;
    /* No container padding for mobile grid */
  }

  .shortcut-card:first-child::before,
  .shortcut-card:last-child::after {
    display: none;
  }

  .shortcut-card {
    flex: 0 0 33.33%;
    max-width: none;
    width: 100%;
    height: 5rem !important;
    /* 50px */
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .shortcut-card .shortcut-content {
    padding-right: 1.3rem;
    /* Mobile correction */
  }

  .shortcut-icon {
    width: 2.8rem !important;
    /* 28px */
    height: 2.8rem !important;
    margin-right: 0.8rem;
  }

  .shortcut-text {
    font-size: 1.2rem !important;
    font-weight: 500;
    /* 12px Medium */
    /* 12px */
    width: 6.4rem !important;
    /* Fixed width for alignment */
    text-align: left;
  }

  .shortcut-card:nth-child(3n) {
    border-right: none;
  }

  .shortcut-card:nth-child(-n+3) {
    border-top: none;
  }

  /* Page 2 Mobile Stack/Slider */
  #page-2 .content-wrapper {
    padding-top: 5rem;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #page-2 .header-section {
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  #page-2 .nav-arrow {
    display: none;
  }

  #page-2 .cards-viewport {
    /* Reset to standard width behavior (JS will set standard rem width) */
    /* But we need to make sure JS uses the NEW card width */
    /* Or we can let JS set it. */
    overflow: hidden !important;
    height: 37.5rem !important;
    /* Match card height (was 52rem on desktop) */
  }

  #page-2 .cards-section {
    /* Removed transform: scale(0.8) */
    width: 100%;
    justify-content: center;
  }

  /* Page 2 Mobile Card Restyling */
  #page-2 .card {
    width: 30rem;
    /* 300px (75% of 400) */
    height: 37.5rem;
    /* 375px (75% of 500) */
    margin-right: 5rem;
    /* Restore 5rem gap to match JS calculation */
  }

  #page-2 .card:last-child {
    margin-right: 0;
  }

  #page-2 .card h2 {
    font-size: 2rem;
    /* Scaled down */
    margin-bottom: 1rem;
    /* Balanced spacing */
  }

  #page-2 .card-desc {
    font-size: 1.4rem;
    /* Scaled down */
    padding-top: 0;
    margin-bottom: 3.6rem;
    padding-bottom: 0.5rem;
    /* Balanced spacing */
    line-height: 1.5;
    /* Reverted line-height */
  }

  #page-2 .details-btn {
    /* Was using invalid bottom property, relying on flex order now */
    margin-top: 0;
    /* Ensure close proximity */
    left: 2.4rem;
  }

  #page-2 .details-text {
    font-size: 1.4rem;
  }

  #page-2 .card-content {
    padding: 3.2rem 2.4rem 2rem;
    /* 2rem bottom distance for button */
  }

  #page-2 .dots {
    margin-top: 1rem !important;
    /* Reduced from default */
  }

  /* Page 3 Mobile Stack */
  /* Added Wrapper Padding for Page 3 */
  #page-3 .content-wrapper {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #page-3 .content-area {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  #page-3 .image-panel {
    width: 100%;
    max-width: none;
    /* Reset desktop constraints */
    min-height: 11.2rem;
    max-height: 20.8rem;
    height: auto;
    aspect-ratio: 335/140;
    flex-shrink: 0;
  }

  #page-3 .card-grid {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    align-content: stretch;
  }

  #page-3 .card {
    width: 50%;
    /* Keep 2 columns */
    height: 5.2rem;
    /* Each cell height */
    padding: 0 1.5rem;
  }

  #page-3 .card-title {
    font-size: 1.4rem;
    /* 14px Medium */
    font-weight: 500;
    padding-left: 2rem;
  }

  #page-3 .card-icon {
    left: 1.5rem;
    width: 0.854rem;
    height: 0.854rem;
  }

  /* Page 4 Mobile Stack */
  /* Added Wrapper Padding for Page 4 */
  #page-4 .content-wrapper {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #page-4 .content-area {
    flex-direction: column;
    gap: 2rem;
  }

  #page-4 .feature-image {
    width: 100%;
    max-width: none;
    /* Reset desktop max-width */
    min-width: 0;
    min-height: 11.2rem;
    max-height: 20.8rem;
    height: auto;
    aspect-ratio: 335/140;
    order: 1;
    flex: none;
    /* Reset desktop flex setting */
  }

  #page-4 .product-cards {
    width: 100%;
    max-width: none;
    /* Reset desktop max-width */
    margin-right: 0;
    margin-bottom: 0;
    min-width: 0;
    order: 2;
    flex: none;
    /* Reset desktop flex setting */
  }

  #page-4 .card-footer-icon {
    display: none;
  }

  #page-4 .image-content-overlay {
    display: none;
  }

  #page-4 .card {
    height: auto;
    min-height: 7rem;
    padding: 0.8rem 1.5rem;
    padding-right: 5rem;
    position: relative;
    margin-bottom: 1rem;
  }

  #page-4 .card-action {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }

  #page-4 .btn-details {
    font-size: 0;
    color: transparent;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 50%;
    min-width: auto;
  }

  #page-4 .btn-details::before {
    content: none;
  }

  #page-4 .btn-details img {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-left: 0 !important;
  }

  #page-4 .card h2 {
    font-size: 1.6rem;
    /* 16px Medium */
    font-weight: 500;
    margin-bottom: 0.7rem;
  }

  #page-4 .card p {
    font-size: 1.4rem;
    /* 14px Normal */
    font-weight: 400;
    line-height: 1.5;
  }

  #page-4 .card.active {
    background-image: url("../images//asset/card-bg-small-hover.svg");
  }

  #page-4 .card.active h2,
  #page-4 .card.active p {
    color: var(--color-white);
  }

  #page-4 .dots-indicator {
    display: flex;
  }

  /* Page 5 Mobile Stack */
  #page-5 .content-wrapper {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    /* Inherit global padding-top: 5rem */
  }

  #page-5 .header-section {
    justify-content: flex-start;
    min-height: auto;
  }

  #page-5 .content-area {
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* gap removed */
  }

  #page-5 .featured-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    /* Reset desktop flex-basis which was causing 504px height */
    height: 18.5rem;
    /* 185px @ 10px/rem */
    aspect-ratio: auto;
  }

  #page-5 .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  #page-5 .gap-spacer {
    display: none;
  }

  #page-5 .card-overlay {
    padding: 0.64rem 1.6rem;
  }

  #page-5 .overlay-text h2 {
    font-size: 1.4rem;
    /* 14px Medium */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    line-height: 1.4;
  }

  #page-5 .overlay-text .date {
    font-size: 1.2rem;
    /* 12px Regular */
    font-weight: 400;
    margin-top: 0.32rem;
  }

  #page-5 .news-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 1.6rem;
  }

  #page-5 .news-items-wrapper {
    height: auto;
    gap: 1.2rem;
  }

  #page-5 .news-item {
    flex: 0 0 auto;
    height: 6rem;
    /* 60px @ 10px/rem */
    min-height: auto;
    padding: 0.64rem 1.6rem;
    /* Reduced padding to fit 60px height */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #page-5 .news-content h2 {
    font-size: 1.4rem;
    /* 14px Medium */
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  #page-5 .news-content .desc {
    display: none;
  }

  #page-5 .news-content .date {
    display: block;
    margin-top: 0.32rem;
    font-size: 1.2rem;
    /* 12px Regular */
    font-weight: 400;
  }

  /* Page 6 Mobile Stack */
}

@media screen and (max-width: 768px) and (max-height: 720px) {
  #page-5 .news-item:nth-child(3) {
    display: none;
  }
}

@media (max-width: 768px) {
  #page-5 .news-tabs {
    position: relative;
    top: auto;
    /* Reset desktop top offset */
    bottom: auto;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
    /* Half of desktop 1.8rem */
    padding-bottom: 0;
  }

  #page-5 .tab-item {
    width: auto;
    height: 2.8rem;
    /* 28px */
    padding: 0 1.6rem;
    margin-left: 0;
    margin-right: 1.2rem;
    font-size: 1.44rem;
    cursor: pointer;
  }

  #page-5 .more-link {
    font-size: 1.4rem;
    /* 2.4 * 7/12 */
    margin-top: 1.2rem;
  }

  #page-5 .more-link img {
    width: 1.4rem !important;
    /* 2.4 * 7/12 */
    height: 1.4rem !important;
    margin-left: 0.3rem;
  }

  #page-6 .content-wrapper {
    padding-top: 5rem;
    align-items: flex-start;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #page-6 .cards-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 1.6rem;
    /* Consistent spacing */
  }

  #page-6 .card-item {
    width: calc(50% - 0.8rem);
    /* 2x2 Grid */
    margin-right: 0 !important;
    margin-bottom: 0;
    height: 4.8rem;
    background-image: url("../images//asset/card-bg-default.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  #page-6 .card-item:hover {
    background-image: url("../images//asset/card-bg-hover.svg");
  }

  #page-6 .card-icon-wrapper {
    height: 2.8rem;
    /* 28px @ 10px/rem */
  }

  #page-6 .card-title {
    font-size: 1.4rem;
    /* 14px Medium */
    font-weight: 500;
  }

  #page-6 .card-arrow {
    right: 1.2rem;
    /* Tighter for mobile */
    width: 1.6rem;
    /* Scaled down arrow */
  }

  #page-6 .page-footer {
    height: auto;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }
  
  #page-6 .copyright-info {
    flex-direction: column;
    align-items: center;
  }

  #page-6 .color-bar {
    height: 0.2rem;
  }

  /* Small Business Credit Products - Mobile Layout */
  #sb-credit-products .content-area {
    flex-direction: column;
    gap: 2rem;
  }

  #sb-credit-products .feature-image {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 11.2rem;
    max-height: 20.8rem;
    height: auto;
    aspect-ratio: 335/140;
    order: 1;
    flex: none;
  }

  #sb-credit-products .product-cards {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-bottom: 0;
    min-width: 0;
    order: 2;
    flex: none;
  }

  #sb-credit-products .card-footer-icon {
    display: none;
  }

  #sb-credit-products .image-content-overlay {
    display: none;
  }

  #sb-credit-products .card {
    height: auto;
    min-height: 7rem;
    padding: 0.8rem 1.5rem;
    padding-right: 5rem;
    position: relative;
    margin-bottom: 1rem;
  }

  #sb-credit-products .card-action {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }

  #sb-credit-products .btn-details {
    font-size: 0;
    color: transparent;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 50%;
    min-width: auto;
  }

  #sb-credit-products .btn-details::before {
    content: none;
  }

  #sb-credit-products .btn-details img {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-left: 0 !important;
  }

  #sb-credit-products .card h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
  }

  #sb-credit-products .card p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
  }

  #sb-credit-products .card.active {
    background-image: url("../images//asset/card-bg-small-hover.svg");
  }

  #sb-credit-products .card.active h2,
  #sb-credit-products .card.active p {
    color: var(--color-white);
  }

  #sb-credit-products .dots-indicator {
    display: flex;
  }
}

/*# sourceMappingURL=combined-pages.css.map */
