/* ============================================================================
  BUSINESS BANNER STYLES
  Purpose: Business page banner/ribbon differentiation
  ============================================================================ */

.business-router-page .business-router-hero{
  background:
    radial-gradient(circle at 82% 16%, rgba(77, 163, 255, 0.2), transparent 52%),
    var(--gradient-background);
  position: relative;
  isolation: isolate;
  height: auto;
  min-height: clamp(226px, 28.5vh, 304px);
  padding-top: clamp(0.35rem, 1.2vw, 0.85rem);
  padding-right: 0;
  padding-bottom: clamp(0rem, 0.4vw, 0.2rem);
  padding-left: 0;
  border-bottom: 0;
  text-align: left;
}

.business-router-page .business-router-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(26px, 4.2vw, 52px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 10, 69, 0) 0%, rgba(45, 10, 69, 0.34) 62%, rgba(45, 10, 69, 0.62) 100%);
}

.business-router-page .business-router-hero .container{
  max-width: 1380px;
  padding-left: clamp(0.8rem, 1.85vw, 1.6rem);
  padding-right: clamp(0.8rem, 1.85vw, 1.6rem);
  height: auto;
  position: relative;
  z-index: 2;
}

.business-router-page .business-router-hero-layout{
  display: grid;
  grid-template-columns: minmax(220px, 400px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 3.2vw, 3rem);
  min-height: clamp(166px, 20.5vh, 230px);
  position: relative;
  z-index: 2;
}

.business-router-page .business-router-hero-portrait{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.business-router-page .business-router-hero-portrait img{
  width: min(100%, 500px);
  height: auto;
  max-height: 700px;
  object-fit: contain;
  transform: translateX(-10px) translateY(11px) scale(0.97);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.28));
}

.business-router-page .business-router-hero-copy{
  text-align: left;
  transform: translateX(-2.5%);
}

.business-router-page .business-router-hero .page-title{
  font-size: clamp(2.3rem, 4.55vw, 3.15rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(to right, var(--color-primary-light), var(--color-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.business-router-page .business-router-hero .page-subtitle{
  font-size: clamp(1.06rem, 2.08vw, 1.28rem);
  max-width: 860px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: clamp(0.28rem, 0.72vw, 0.44rem);
  margin-left: auto;
  margin-right: auto;
}

.business-router-page .business-router-hero .hero-cta-group{
  margin-top: clamp(1.72rem, 2.95vw, 2.1rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.7rem, 1.8vw, 1rem);
  flex-wrap: wrap;
}

.business-router-page .business-router-hero .hero-microcopy{
  margin-top: clamp(0.34rem, 0.85vw, 0.5rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(0.92rem, 1.55vw, 1rem);
  color: var(--color-text-secondary);
}

.business-router-page .business-router-hero .hero-cta-group + .hero-microcopy{
  margin-top: 1.225rem;
}

.business-router-page .business-router-hero .hero-router{
  margin-top: 0.95rem;
  margin-bottom: 0.5rem;
  font-size: clamp(0.9625rem, calc(1.32vw + 1px), 1.0325rem);
  line-height: 1.45;
  max-width: none;
  white-space: nowrap;
  color: var(--color-text-secondary);
  opacity: 0.92;
}

.business-router-page .business-router-hero .hero-router a{
  color: inherit;
  opacity: 0.92;
  text-decoration: none;
  text-underline-offset: 0.12em;
}

.business-router-page .business-router-hero .hero-router a:hover,
.business-router-page .business-router-hero .hero-router a:focus-visible{
  text-decoration: underline;
}

@media (min-width: 992px) and (max-width: 1100px){
  .business-router-page .business-router-hero{
    min-height: auto;
    padding-top: clamp(1.15rem, 1.8vw, 1.45rem);
    padding-bottom: clamp(0.25rem, 0.6vw, 0.45rem);
  }

  .business-router-page .business-router-hero-copy{
    transform: none;
    margin-top: clamp(1.3rem, 2.8vw, 2rem);
  }

  .business-router-page .business-router-hero .page-title{
    line-height: 1.2;
    padding-top: 0.04em;
    padding-bottom: 0.04em;
    margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
  }

  .business-router-page .business-router-hero .page-subtitle{
    max-width: min(100%, 860px);
    overflow-wrap: anywhere;
    margin-bottom: clamp(0.12rem, 0.4vw, 0.25rem);
    line-height: 1.55;
  }

  .business-router-page .business-router-hero .page-subtitle span{
    white-space: normal !important;
  }

  .business-router-page .business-router-hero .hero-router{
    margin-top: 0.45rem;
    margin-bottom: 0.25rem;
    white-space: normal;
    max-width: 54ch;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }

  .business-router-page .business-router-hero .hero-cta-group{
    margin-top: clamp(0.9rem, 1.6vw, 1.2rem);
  }

  .business-router-page .business-router-hero .hero-microcopy{
    margin-top: clamp(0.2rem, 0.5vw, 0.35rem);
  }

  .business-router-page .business-router-hero .hero-cta-group + .hero-microcopy{
    margin-top: 0.72rem;
  }
}

@media (max-width: 991px){
  .business-router-page .business-router-hero{
    min-height: auto;
    padding-top: clamp(0.8rem, 2.9vw, 1.3rem);
    padding-bottom: clamp(0.8rem, 2.6vw, 1.2rem);
  }

  .business-router-page .business-router-hero::after{
    height: clamp(18px, 6.5vw, 30px);
  }

  .business-router-page .business-router-hero-layout{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .business-router-page .business-router-hero-copy{
    transform: none;
    text-align: center;
  }

  .business-router-page .business-router-hero-portrait{
    justify-content: center;
  }

  .business-router-page .business-router-hero-portrait img{
    width: min(82vw, 340px);
    transform: translateX(0) translateY(6px) scale(0.97);
  }

  .business-router-page .business-router-hero .page-title,
  .business-router-page .business-router-hero .page-subtitle,
  .business-router-page .business-router-hero .hero-microcopy,
  .business-router-page .business-router-hero .hero-router{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .business-router-page .business-router-hero .page-subtitle span,
  .business-router-page .business-router-hero .hero-router span{
    white-space: normal !important;
  }

  .business-router-page .business-router-hero .hero-cta-group{
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .business-router-page .business-router-hero .hero-cta-group .btn{
    width: 100%;
  }
}

@media (max-width: 900px){
  .business-router-page .business-router-hero .hero-router{
    white-space: normal;
    max-width: 54ch;
    text-wrap: pretty;
  }
}
