/* ========================================================
   Chase UI REPLICATION STYLESHEET
   Accurate typography, spacing, colors, and responsive layout
   ======================================================== */

:root {
  --Chase-blue-dark: #005eb8;
  --Chase-blue-primary: #0060f6;
  --Chase-blue-hover: #004ecc;
  --Chase-green: #12883c;
  --Chase-green-hover: #0e6e2e;
  --Chase-navy: #102a43;
  --text-dark: #1b1b1b;
  --text-muted: #595959;
  --text-light: #ffffff;
  --border-light: #d6d6d6;
  --border-input: #8c8c8c;
  --bg-light: #f7f9fa;
  --card-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max-width: 1220px;
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================================================
   TOP UTILITY BAR
   ======================================================== */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.top-bar {
  border-bottom: none;
  font-size: 13px;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  padding-top: 4px;
}

.segment-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.segment-link {
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.segment-link:hover {
  color: var(--Chase-blue-dark);
}

.segment-link.active {
  color: #111111;
  font-weight: 700;
}

.segment-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--Chase-blue-dark);
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-link {
  color: #333333;
  font-size: 13px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.utility-link:hover {
  color: var(--Chase-blue-dark);
}

.dropdown-trigger {
  cursor: pointer;
  padding: 0;
}

.chevron-icon {
  margin-top: 1px;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  padding: 4px;
  transition: color 0.15s ease;
}

.search-btn:hover {
  color: var(--Chase-blue-dark);
}

/* ========================================================
   MAIN BRAND & NAVIGATION HEADER
   ======================================================== */
.main-header {
  padding: 16px 0;
}

.main-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Chase Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-text {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #111111;
  line-height: 1;
}

.Chase-octagon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile specific header items */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #222222;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-signin-btn {
  display: none;
  background-color: var(--Chase-blue-primary);
  color: #ffffff;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mobile-signin-btn:hover {
  background-color: var(--Chase-blue-hover);
}

/* Primary Desktop Navigation Bar */
.primary-nav {
  padding-bottom: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.nav-item {
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0 6px;
  display: inline-block;
  position: relative;
  transition: color 0.15s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--Chase-blue-dark);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--Chase-blue-dark);
  transition: width 0.15s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* ========================================================
   HERO PROMOTION SECTION
   ======================================================== */
.hero-section {
  background-color: var(--Chase-blue-dark);
  color: var(--text-light);
  padding: 14px 0 16px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

/* Left Promo Content */
.hero-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding-top: 0;
}

.hero-offer-badge {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.offer-enjoy {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.offer-amount {
  font-size: 76px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -1px;
}

.hero-text-block {
  max-width: 450px;
}

.hero-title {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #f1f7ff;
}

.hero-subtitle sup {
  font-size: 11px;
  top: -0.4em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-green {
  background-color: var(--Chase-green);
  color: #ffffff;
  padding: 9px 24px;
  font-size: 15px;
}

.btn-green:hover {
  background-color: var(--Chase-green-hover);
}

.btn-blue {
  background-color: var(--Chase-blue-primary);
  color: #ffffff;
  font-size: 14.5px;
  padding: 10px 18px;
}

.btn-blue:hover {
  background-color: var(--Chase-blue-hover);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--Chase-blue-primary);
  border: 1px solid var(--Chase-blue-primary);
  font-size: 14px;
  padding: 8px 18px;
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

.btn-block {
  width: 100%;
}

.btn-card {
  padding: 10px 24px;
  font-size: 14.5px;
  border-radius: 4px;
}

/* Right: Sign In Widget Card */
.signin-card-wrapper {
  width: 340px;
  flex-shrink: 0;
}

.signin-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 4px;
  padding: 20px 22px 18px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 14px;
  position: relative;
}

.floating-label {
  display: block;
  font-size: 13px;
  color: #717171;
  margin-bottom: 4px;
  font-weight: 400;
}

.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #999999;
  padding: 4px 0;
  font-size: 14.5px;
  font-family: inherit;
  color: #222222;
  outline: none;
  background: transparent;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-bottom-color: var(--Chase-blue-primary);
}

.password-group {
  margin-bottom: 12px;
}

.password-input-wrap {
  position: relative;
}

.btn-toggle-password {
  position: absolute;
  right: 0;
  bottom: 6px;
  color: var(--Chase-blue-primary);
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}

.btn-toggle-password:hover {
  text-decoration: underline;
}

.form-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
}

.checkbox-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  height: 16px;
  width: 16px;
  background-color: #ffffff;
  border: 1.5px solid #666666;
  border-radius: 3px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.checkbox-container input:checked~.custom-checkbox {
  background-color: var(--Chase-blue-primary);
  border-color: var(--Chase-blue-primary);
}

.checkbox-container input:checked~.custom-checkbox::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.checkbox-label {
  color: #4a4a4a;
  font-size: 13px;
}

.use-token-link {
  color: var(--Chase-blue-primary);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.use-token-link:hover {
  text-decoration: underline;
}

.use-token-link .arrow,
.footer-link .arrow {
  font-size: 12px;
  font-weight: bold;
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
  color: #717171;
  font-size: 12.5px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #d9d9d9;
}

.form-divider span {
  padding: 0 10px;
}

.signin-footer-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  color: var(--Chase-blue-primary);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ========================================================
   CHOOSE WHAT'S RIGHT FOR YOU SECTION
   ======================================================== */
.explore-section {
  padding: 22px 0 50px;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #2b2b2b;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

/* Category Quick Icons Carousel */
.category-icon-carousel {
  width: 100%;
  position: relative;
}

.category-icon-grid.page {
  display: none !important;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.category-icon-grid.page.active {
  display: flex !important;
  opacity: 1;
}

.category-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.category-icon-item:hover {
  transform: translateY(-2px);
}

.category-icon-item:hover .category-label {
  color: var(--Chase-blue-dark);
  text-decoration: underline;
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.cat-svg {
  width: 44px;
  height: 44px;
  stroke: #4a5568;
  transition: stroke 0.2s ease;
}

.category-icon-item:hover .cat-svg {
  stroke: var(--Chase-blue-dark);
}

.category-label {
  font-size: 13.5px;
  color: var(--Chase-blue-dark);
  font-weight: 500;
}

/* Carousel Indicator Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.carousel-arrow:hover {
  transform: scale(1.15);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #0060a9;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.dot.active {
  background-color: #0060a9;
}

/* Promotion Cards Grid */
.cards-carousel-container {
  width: 100%;
  overflow: hidden;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.promo-card {
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  /* Longer card height */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.promo-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Blue Card Header Banner */
.card-header {
  background-color: var(--Chase-blue-dark);
  color: #ffffff;
  padding: 22px 24px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dark Navy Card Header for Card 2 (New Business Customers) */
.card-header.card-header-dark {
  background-color: #0b2341;
}

.card-header-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.card-header-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.header-svg {
  width: 42px;
  height: 38px;
  stroke: #ffffff;
}

/* White Card Body */
.card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body-title {
  font-size: 19px;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
  margin-bottom: 14px;
}

.card-body-text {
  font-size: 14px;
  line-height: 1.55;
  color: #414042;
  margin-bottom: 28px;
  flex: 1;
}

.card-btn-wrap {
  margin-top: auto;
}

/* ========================================================
   ADVISORY & MONEY JOURNEY PROMOTIONAL SECTION
   ======================================================== */
.promo-split-section {
  padding: 10px 0 60px;
  background-color: #ffffff;
}

.section-divider {
  border: none;
  border-top: 1px solid #e1e4e6;
  margin: 36px 0;
  width: 100%;
}

.split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.split-media {
  flex: 1;
  max-width: 500px;
}

.split-img {
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.split-content {
  flex: 1;
  max-width: 520px;
}

.split-title {
  font-size: 28px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 14px;
  line-height: 1.25;
}

.split-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #414042;
  margin-bottom: 24px;
}

.split-desc strong {
  font-weight: 700;
  color: #222222;
}

.split-desc sup {
  font-size: 10px;
  top: -0.4em;
}

.btn-split {
  padding: 10px 24px;
  font-size: 15px;
  border-radius: 4px;
}

/* ========================================================
   Chase PRODUCTS & SERVICES DIRECTORY SECTION
   ======================================================== */
.directory-section {
  padding: 24px 0 64px;
  background-color: #ffffff;
}

.directory-divider {
  margin-bottom: 28px;
}

.directory-header {
  margin-bottom: 32px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 36px;
  row-gap: 36px;
}

.directory-col {
  display: flex;
  flex-direction: column;
}

.directory-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
  line-height: 1.25;
}

.directory-title-accent {
  width: 28px;
  height: 2px;
  background-color: #333333;
  margin-bottom: 12px;
}

.directory-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #333333;
}

.directory-text sup {
  font-size: 9px;
  top: -0.4em;
}

.dir-link {
  color: #0060a9;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.dir-link:hover {
  color: var(--Chase-blue-primary);
}

.directory-disclaimer {
  margin-top: 14px;
}

.disclaimer-heading {
  font-size: 11px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
  line-height: 1.3;
}

.disclaimer-list {
  list-style-type: disc;
  padding-left: 16px;
  margin: 0;
}

.disclaimer-list li {
  font-size: 10px;
  font-weight: 700;
  color: #222222;
  line-height: 1.35;
  margin-bottom: 4px;
}

/* ========================================================
   Chase SITE FOOTER SECTION
   ======================================================== */
.site-footer {
  padding: 36px 0 60px;
  background-color: #ffffff;
  border-top: 1px solid #e1e4e6;
}

.footer-top-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.footer-products-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #222222;
}

.footer-products-and-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-products-links {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-prod-link {
  color: #0060a9;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: underline;
  font-weight: 400;
  transition: color 0.15s ease;
}

.footer-prod-link:hover {
  color: var(--Chase-blue-primary);
}

.footer-prod-link sup {
  font-size: 9px;
  top: -0.4em;
}

.footer-social-col {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 12px;
}

.social-icon-link {
  color: #555555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.social-icon-link:hover {
  color: #0060a9;
  transform: translateY(-1px);
}

.social-svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom: Legal Disclaimers side-by-side flexed with Links */
.footer-bottom-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
}

.footer-legal-item {
  width: 250px;
  flex-shrink: 0;
}

.legal-text {
  font-size: 11px;
  line-height: 1.45;
  color: #595959;
}

.footer-links-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 16px;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 12.5px;
  color: #333333;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.footer-nav-link:hover {
  color: #0060a9;
}

.footer-meta-item {
  font-size: 12px;
  color: #555555;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.housing-opportunity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.housing-icon {
  margin-top: -1px;
}

/* ========================================================
   RESPONSIVE DESIGN (DESKTOP / TABLET / MOBILE)
   ======================================================== */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1023px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .hero-content {
    width: 100%;
    justify-content: flex-start;
  }

  .signin-card-wrapper {
    width: 100%;
    max-width: 420px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
    row-gap: 28px;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 32px;
  }
}

/* Mobile View (< 768px) - Exact match to Mobile Screenshot */
@media (max-width: 767px) {

  /* Hide desktop top bar */
  .top-bar {
    display: none;
  }

  /* Main header adjustments */
  .main-header {
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-signin-btn {
    display: inline-block;
  }

  .logo-text {
    font-size: 23px;
  }

  .Chase-octagon svg {
    width: 24px;
    height: 24px;
  }

  /* Desktop nav hidden on mobile by default */
  .primary-nav {
    display: none;
    background-color: #ffffff;
    border-bottom: 1px solid #e1e4e6;
    padding: 16px 0;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-item {
    font-size: 16px;
    width: 100%;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 34px 0 40px;
  }

  .hero-content {
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
  }

  .offer-enjoy {
    font-size: 20px;
  }

  .offer-amount {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 22px;
  }

  /* In mobile screenshot, the sign-in widget is hidden in the hero flow */
  .signin-card-wrapper {
    display: none;
  }

  .signin-card-wrapper.mobile-active {
    display: block;
    width: 100%;
    margin-top: 24px;
  }

  /* "Choose what's right for you" Section Mobile */
  .explore-section {
    padding: 30px 0 48px;
  }

  /* px-2 (8px) between cards/content and the wall of the screen */
  .explore-section .container {
    padding: 0 8px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 26px;
  }

  /* Strict Step/Page display on Mobile: NEVER show both steps at once */
  .category-icon-grid.page {
    display: none !important;
  }

  .category-icon-grid.page.active {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    max-width: 330px;
    margin: 0 auto 24px;
  }

  .category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .icon-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }

  .cat-svg {
    width: 42px;
    height: 42px;
  }

  .category-label {
    font-size: 13.5px;
  }

  /* Carousel pagination controls on mobile */
  .carousel-controls {
    display: flex !important;
    margin-bottom: 24px;
  }

  /* Cards grid and container with px-2 gap to wall */
  .cards-carousel-container {
    padding: 0;
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  /* Longer card height on mobile */
  .promo-card {
    min-height: 440px;
    width: 100%;
  }

  .card-header {
    height: 94px;
    padding: 18px 20px;
  }

  .card-header-title {
    font-size: 18px;
  }

  .card-body {
    padding: 24px 20px 24px;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Advisory and Promo Split Section Mobile */
  .promo-split-section {
    padding: 10px 0 40px;
  }

  .promo-split-section .container {
    padding: 0 16px;
  }

  .section-divider {
    margin: 28px 0;
  }

  .split-row {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .split-media {
    max-width: 100%;
    width: 100%;
  }

  .split-img {
    max-height: 250px;
    width: 100%;
  }

  .split-content {
    max-width: 100%;
    width: 100%;
  }

  .split-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .split-desc {
    font-size: 14.5px;
    margin-bottom: 20px;
  }

  /* Directory Section Mobile */
  .directory-section {
    padding: 20px 0 40px;
  }

  .directory-section .container {
    padding: 0 16px;
  }

  .directory-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  /* Site Footer Mobile */
  .site-footer {
    padding: 28px 0 48px;
  }

  .site-footer .container {
    padding: 0 16px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-products-links {
    gap: 16px 24px;
  }

  .footer-social-col {
    gap: 18px;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 20px;
  }

  .footer-legal-item {
    width: 100%;
  }

  .footer-links-col {
    margin-left: 0;
  }

  .footer-links-row {
    gap: 10px 18px;
  }
}

/* ========================================================
   FULL-SCREEN BLUE LOADER OVERLAY (FIGMA MATCH)
   ======================================================== */
.Chase-loader-overlay {
  position: fixed;
  inset: 0;
  background-color: #245d91;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.Chase-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.Chase-spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid rgba(204, 204, 204, 0.7);
  border-top-color: #0091fe;
  border-radius: 50%;
  animation: ChaseSpin 0.85s linear infinite;
}

@keyframes ChaseSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.login-error-msg {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  border-left: 4px solid #be123c;
  color: #881337;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  display: none;
  line-height: 1.45;
  text-align: left;
}

.login-error-msg.visible {
  display: block;
}

/* ========================================================
   MOBILE SLIDE-OUT DRAWER MENU (EXACT SCREENSHOT MATCH)
   ======================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 86vw;
  background-color: #ffffff;
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.drawer-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.drawer-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.drawer-brand-logo img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 130px;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 50%;
  color: #334155;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer-close-btn:hover {
  background-color: #f1f5f9;
  color: #0f172a;
  border: none;
  outline: none;
}

.drawer-close-btn:focus,
.drawer-close-btn:focus-visible {
  outline: none;
  border: none;
  background-color: #f1f5f9;
}

.drawer-search-wrap {
  padding: 14px 20px 10px;
}

.drawer-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
  padding: 7px 12px;
}

.drawer-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14.5px;
  color: #1e293b;
  font-family: inherit;
}

.drawer-search-input::placeholder {
  color: #64748b;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0 40px;
}

.drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  color: #1e293b;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.drawer-item:hover {
  background-color: #f8fafc;
  color: var(--dash-blue-primary);
}

.drawer-arrow {
  color: #475569;
  font-size: 15px;
  font-weight: 600;
}

.drawer-section-title {
  padding: 22px 20px 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #0f172a;
  margin-top: 8px;
}