/* Load after medical-v2.css. The offer owns all overrides in this file. */
.offer-band {
  padding: 36px 0 24px;
  background: #fff;
  color: #153b6d;
  font-family: Montserrat, Arial, sans-serif;
}

.offer-band .offer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
}

.offer-band .offer-proposal {
  width: min(100%, 680px);
  min-width: 0;
  padding: 24px 0;
  border: 1px solid #cbdcfa;
  border-radius: 18px;
  background: #f3f7ff;
  box-shadow: none;
  text-align: left;
}

.offer-band .offer-label {
  margin: 0;
  color: #153b6d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* Only the current price receives a saturated background. */
.offer-band .offer-price-layout {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 24px 16px;
  background: transparent;
  border-radius: 8px 8px 0 0;
}

.offer-band .offer-price-layout h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #153b6d;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 500;
  text-wrap: initial;
}

.offer-band .offer-price-layout h2 > span:first-child {
  display: block;
  margin: 0 0 6px;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.offer-band .offer-price-layout h2 > .offer-unit {
  margin: 0;
  font-size: .8304em;
  font-weight: 700;
  line-height: 1.1;
}

.offer-band .offer-amount {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0 8px 0 0;
  background: transparent;
}

.offer-band .offer-amount del {
  display: block;
  margin: 0;
  color: #74839c;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.offer-band .offer-amount strong {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: #176bff;
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.offer-band .offer-volume {
  margin: 0;
  padding: 8px 32px 0;
  background: transparent;
  color: #153b6d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.offer-band .offer-outcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 10px 32px 22px;
  border-radius: 0 0 8px 8px;
  background: transparent;
  color: #153b6d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
}

.offer-band .offer-outcome .icon {
  color: #176bff;
  width: 20px;
  height: 20px;
  flex: none;
}

.offer-band .offer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(calc(100% - 32px), 528px);
  margin: 0 auto;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid #d4e1f5;
  color: #345776;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.offer-band .offer-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #153b6d;
  flex: none;
}

.offer-band .offer-note span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.offer-band .section-action {
  width: min(100%, 528px);
  min-width: 0;
  min-height: 52px;
  margin: 22px auto 0;
  border-radius: 8px;
  background: #176bff;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  white-space: normal;
  transition: none;
}

.offer-band .section-action:hover {
  background: #153b6d;
}

.offer-band .section-action:focus-visible {
  outline: 3px solid #153b6d;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .offer-band {
    padding: 28px 0 16px;
  }

  .offer-band .offer-label {
    margin-bottom: 0;
    font-size: 16px;
  }

  .offer-band .offer-price-layout {
    gap: 16px;
  }

  .offer-band .offer-price-layout h2 {
    padding: 0;
    font-size: 34px;
  }

  .offer-band .offer-amount {
    gap: 8px;
    padding: 0;
  }

  .offer-band .offer-amount del {
    font-size: 22px;
  }

  .offer-band .offer-amount strong {
    padding: 10px;
    font-size: 32px;
  }

  .offer-band .offer-volume {
    padding: 8px 18px 0;
    font-size: 13px;
  }

  .offer-band .offer-outcome {
    padding: 10px 18px 18px;
    font-size: 14px;
  }

  .offer-band .offer-note {
    margin-top: 0;
  }
}

@media (max-width: 360px) {
  .offer-band .offer-price-layout h2 {
    padding: 0;
    font-size: 30px;
  }

  .offer-band .offer-amount {
    padding: 0;
  }

  .offer-band .offer-amount strong {
    padding: 10px 8px;
    font-size: 28px;
  }

  .offer-band .offer-volume {
    padding-inline: 14px;
    font-size: 12px;
  }

  .offer-band .offer-outcome {
    gap: 8px;
    padding-inline: 14px;
    font-size: 13px;
  }
}
