.qb-page,
.qb-article-page {
  background: #f3f7fb;
  color: #102033;
  overflow-x: hidden;
}

.qb-page *,
.qb-article-page * {
  box-sizing: border-box;
}

.qb-page {
  padding: 0 0 72px;
}

.qb-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 44px;
  align-items: center;
  width: 100vw;
  max-width: none !important;
  min-height: 470px;
  margin: -20px calc(50% - 50vw) 56px !important;
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(110deg, rgba(4, 13, 28, .96), rgba(18, 55, 79, .86), rgba(132, 31, 43, .48)),
    url("/images/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.qb-hero > * {
  position: relative;
  z-index: 1;
}

.qb-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #ffb3bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.qb-hero h1,
.qb-article-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  color: #fff !important;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: left;
}

.qb-hero p,
.qb-article-hero p {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .92) !important;
  font-size: 20px;
  line-height: 1.55;
}

.qb-hero-actions,
.qb-cta,
.qb-article-cta,
.qb-article-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.qb-button,
.qb-link,
.qb-article-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
}

.qb-button {
  color: #fff !important;
  background: #b21f2d;
  border: 1px solid #b21f2d;
}

.qb-link,
.qb-article-nav a {
  color: #12598b !important;
  background: #fff;
  border: 1px solid #d7e1ed;
}

.qb-hero .qb-link {
  color: #fff !important;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .42);
}

.qb-button:hover,
.qb-button:focus {
  color: #fff !important;
  background: #8f1824;
  border-color: #8f1824;
}

.qb-link:hover,
.qb-link:focus,
.qb-article-nav a:hover,
.qb-article-nav a:focus {
  color: #b21f2d !important;
  text-decoration: underline !important;
}

.qb-hero-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-left: 4px solid #d11f35;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  backdrop-filter: blur(3px);
}

.qb-hero-panel img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.qb-panel-note {
  padding: 22px;
}

.qb-panel-note strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.qb-panel-note span {
  display: block;
  color: rgba(255, 255, 255, .86);
  line-height: 1.55;
}

.qb-section,
.qb-content-grid,
.qb-process,
.qb-articles,
.qb-cta,
.qb-article-body,
.qb-article-cta,
.qb-article-nav {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.qb-section,
.qb-process,
.qb-articles,
.qb-cta,
.qb-article-body,
.qb-article-cta {
  background: #fff;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 36, 64, .07);
}

.qb-section,
.qb-articles,
.qb-article-body {
  padding: 38px 42px;
  margin-bottom: 28px;
}

.qb-section::before,
.qb-articles::before,
.qb-content-card::before,
.qb-process::before,
.qb-article-body::before {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-bottom: 24px;
  background: #b21f2d;
  border-radius: 999px;
}

.qb-section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.qb-section-heading h2,
.qb-content-card h2,
.qb-process h2,
.qb-articles h2,
.qb-article-body h2 {
  margin: 0 0 16px;
  color: #101827 !important;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

.qb-section-heading p,
.qb-content-card p,
.qb-process p,
.qb-cta span,
.qb-card span,
.qb-article-list a,
.qb-article-body p,
.qb-article-body li,
.qb-feature-list span,
.qb-article-cta span {
  color: #304157;
  font-size: 17px;
  line-height: 1.72;
}

.qb-card-grid,
.qb-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.qb-feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 30px;
}

.qb-card,
.qb-feature-list div,
.qb-content-card {
  padding: 20px;
  background: #f8fbff;
  border: 1px solid #d8e3ee;
  border-left: 4px solid #b21f2d;
  border-radius: 8px;
}

.qb-card strong,
.qb-feature-list strong,
.qb-article-cta strong,
.qb-cta strong {
  display: block;
  margin-bottom: 8px;
  color: #101827;
  font-size: 18px;
  font-weight: 800;
}

.qb-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.qb-content-card {
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 36, 64, .07);
}

.qb-content-card ul,
.qb-process ol {
  margin: 18px 0 0;
}

.qb-process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 28px;
  padding: 38px 42px;
  margin-bottom: 28px;
}

.qb-process::before {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.qb-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qb-article-list a {
  display: block;
  padding: 18px 20px;
  background: #f8fbff;
  border: 1px solid #d8e3ee;
  border-left: 4px solid #b21f2d;
  border-radius: 8px;
  color: #12598b !important;
  font-weight: 800;
  text-decoration: none !important;
}

.qb-article-list span {
  display: block;
  margin-bottom: 6px;
  color: #b21f2d;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qb-cta,
.qb-article-cta {
  padding: 28px 42px;
  margin-top: 28px;
}

.qb-article-page {
  padding: 0 0 72px;
}

.qb-article-shell {
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.qb-article-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  min-height: 410px;
  margin-top: -20px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 88px max(24px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(110deg, rgba(4, 13, 28, .96), rgba(18, 55, 79, .86), rgba(132, 31, 43, .48)),
    url("/images/hero.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.qb-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 13, 28, .4), rgba(4, 13, 28, .08));
  pointer-events: none;
}

.qb-article-hero .qb-eyebrow,
.qb-article-hero h1,
.qb-article-hero p {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.qb-article-nav {
  justify-content: space-between;
  padding: 26px 0 0;
  margin-bottom: 26px;
}

.qb-article-nav a {
  min-width: 180px;
}

.qb-article-nav .qb-article-nav-spacer {
  min-width: 180px;
}

.qb-article-body h2 {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .qb-hero,
  .qb-process {
    grid-template-columns: 1fr;
  }

  .qb-hero h1,
  .qb-article-hero h1 {
    font-size: 42px;
  }

  .qb-card-grid,
  .qb-content-grid,
  .qb-article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .qb-hero,
  .qb-article-hero {
    min-height: 360px;
    padding: 62px 20px;
  }

  .qb-hero h1,
  .qb-article-hero h1 {
    font-size: 34px;
  }

  .qb-hero p,
  .qb-article-hero p,
  .qb-section-heading p,
  .qb-content-card p,
  .qb-process p,
  .qb-cta span,
  .qb-card span,
  .qb-article-list a,
  .qb-article-body p,
  .qb-article-body li,
  .qb-feature-list span,
  .qb-article-cta span {
    font-size: 16px;
  }

  .qb-section,
  .qb-content-grid,
  .qb-process,
  .qb-articles,
  .qb-cta,
  .qb-article-body,
  .qb-article-cta,
  .qb-article-nav {
    width: min(100% - 28px, 1120px);
  }

  .qb-section,
  .qb-articles,
  .qb-process,
  .qb-article-body,
  .qb-article-cta,
  .qb-cta {
    padding: 26px 22px;
  }

  .qb-card-grid,
  .qb-content-grid,
  .qb-feature-list,
  .qb-article-list {
    grid-template-columns: 1fr;
  }

  .qb-button,
  .qb-link,
  .qb-article-nav a {
    width: 100%;
  }

  .qb-article-nav .qb-article-nav-spacer {
    display: none;
  }
}
