#banner-ssr {
  .btn:not(.tablesaw-nav-btn) {
    font-family: Roboto;
    font-weight: 500;
    font-style: normal;
  }

  .h1 {
    font-family: RBCDisplay;
    font-weight: 500;
    font-style: normal;
  }

  .hide {
    display: none !important;
  }

  .h1 {
    line-height: 3.5rem;
  }

  .h1 {
    font-size: 2.8rem;
  }

  .fw-bnr .h1,
  .fw-bnr h2 {
    color: rgb(254, 223, 1);
  }

  .h1 {
    padding: 0px;
    margin: 25px 0px 15px;
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    .h1 {
      margin-top: calc(2.21925px + 3.56506vw);
    }
  }

  @media (min-width: 1200px) {
    .h1 {
      margin-top: 45px;
    }
  }

  .h1:first-child {
    margin-top: 0px;
  }

  .h1:last-child {
    margin-bottom: 0px;
  }

  .h1 a {
    font-size: inherit;
    line-height: inherit;
    font-family: inherit !important;
    font-weight: inherit !important;
  }

  .h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(0, 106, 195);
  }

  &.banner.fw-bnr .h1,
  &.banner.fw-bnr p {
    color: rgb(255, 255, 255);
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    .h1 {
      margin-top: calc(4.30481px + 0.891266vw);
      margin-bottom: calc(4.30481px + 0.891266vw);
      font-size: calc(-13.6684px + 2.8rem + 2.13904vw);
      line-height: calc(-14.8075px + 3.5rem + 2.31729vw);
    }
  }

  @media (min-width: 1200px) {
    .h1 {
      margin-top: 15px;
      margin-bottom: 15px;
      font-size: 4rem;
      line-height: 4.8rem;
    }
  }

  @media (max-width: 639px) {
    .h1 {
      margin-top: 10px;
      margin-bottom: 10px;
      font-size: 2.8rem;
      line-height: 3.5rem;
    }
  }

  .text-blue {
    color: rgb(0, 106, 195) !important;
  }

  .text-black {
    color: rgb(37, 37, 37) !important;
  }

  .text-white {
    color: rgb(255, 255, 255) !important;
  }

  section .section-inner {
    max-width: 1200px;
    padding: 15px;
    margin: 0px auto;
  }

  section .section-inner {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    section .section-inner {
      padding-top: calc(-4.17112px + 5.34759vw);
      padding-bottom: calc(-4.17112px + 5.34759vw);
    }
  }

  @media (min-width: 1200px) {
    section .section-inner {
      padding-top: 60px;
      padding-bottom: 60px;
    }
  }

  section:first-of-type .section-inner {
    padding-top: 15px;
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    section:first-of-type .section-inner {
      padding-top: calc(-2.08556px + 2.6738vw);
    }
  }

  @media (min-width: 1200px) {
    section:first-of-type .section-inner {
      padding-top: 30px;
    }
  }

  &.banner.fw-bnr {
    background-size: cover;
    background-position: 50% 25%;
    background-repeat: no-repeat;
  }

  &.banner.fw-bnr {
    display: flex;
    -webkit-box-align: end;
    align-items: flex-end;
    position: relative;
    height: 500px;
  }

  @media (max-width: 639px) {
    &.banner.fw-bnr > .section-inner {
      padding: 0px;
    }
  }

  &.banner.fw-bnr > .section-inner {
    max-width: 1170px;
    overflow: visible;
    -webkit-box-flex: 1;
    flex: 1 1 100%;
    color: rgb(255, 255, 255);
    padding: 0px;
  }

  &.banner.fw-bnr > .section-inner .btn {
    display: table;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  &.banner.fw-bnr > .section-inner .btn:first-child {
    margin-top: 0px;
  }

  &.banner.fw-bnr > .section-inner .btn:last-child {
    margin-bottom: 0px;
  }

  .btn:not(.tablesaw-nav-btn) {
    display: inline-block;
    background: 0px 0px;
    padding: 12px 15px;
    min-width: 47px;
    text-align: center;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 1px;
    text-transform: capitalize;
    font-size: 1.6rem;
    line-height: 1.6rem;
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: none !important;
  }

  .btn:not(.tablesaw-nav-btn):lang(fr-ca) {
    text-transform: none;
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    .btn:not(.tablesaw-nav-btn) {
      margin-top: calc(-2.08556px + 2.6738vw);
      margin-bottom: calc(-2.08556px + 2.6738vw);
    }
  }

  @media (min-width: 1200px) {
    .btn:not(.tablesaw-nav-btn) {
      margin-top: 30px;
      margin-bottom: 30px;
    }
  }

  .btn:not(.tablesaw-nav-btn):first-child {
    margin-top: 0px;
  }

  .btn:not(.tablesaw-nav-btn):last-child {
    margin-bottom: 0px;
  }

  .btn:not(.tablesaw-nav-btn):focus {
    outline: rgb(37, 37, 37) solid 1px;
    outline-offset: -5px;
  }

  &.banner.fw-bnr a {
    color: rgb(255, 255, 255);
  }

  &.banner.fw-bnr a:active,
  &.banner.fw-bnr a:focus,
  &.banner.fw-bnr a:visited {
    color: rgb(255, 255, 255);
  }

  .text-center {
    text-align: center !important;
  }

  @media (max-width: 639px) {
    .w-mob-100 {
      width: 100% !important;
    }
  }

  .pad-lr-hlf {
    padding-right: 15px !important;
  }

  .pad-lr-hlf {
    padding-left: 15px !important;
  }

  .mar-b {
    margin-bottom: 15px !important;
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    .mar-b {
      margin-bottom: calc(-2.08556px + 2.6738vw) !important;
    }
  }

  @media (min-width: 1200px) {
    .mar-b {
      margin-bottom: 30px !important;
    }
  }

  .mar-l {
    margin-left: 15px !important;
  }

  @media (min-width: 639px) and (max-width: 1200px) {
    .mar-l {
      margin-left: calc(-2.08556px + 2.6738vw) !important;
    }
  }

  @media (min-width: 1200px) {
    .mar-l {
      margin-left: 30px !important;
    }
  }

  @media (max-width: 639px) {
    .mob-pad-0 {
      padding-top: 0px !important;
    }
  }

  @media (max-width: 639px) {
    .mob-pad-0 {
      padding-right: 0px !important;
    }
  }

  @media (max-width: 639px) {
    .mob-pad-0 {
      padding-bottom: 0px !important;
    }
  }

  @media (max-width: 639px) {
    .mob-pad-0 {
      padding-left: 0px !important;
    }
  }

  @media (max-width: 639px) {
    .mob-mar-t-0 {
      margin-top: 0px !important;
    }
  }

  &.banner {
    overflow: hidden;
  }

  &.banner.fw-bnr > .section-inner {
    max-width: 1200px;
  }

  @media (min-width: 640px) {
    &.banner.fw-bnr > .section-inner {
      margin-top: -20px;
    }
  }

  &.banner.fw-bnr {
    max-height: 500px !important;
  }

  &.banner.cc-template {
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    background-attachment: inherit;
    background-origin: inherit;
    background-clip: inherit;
    background-color: inherit;
    background-repeat: no-repeat;
    aspect-ratio: initial;
    height: 550px;
    max-height: 550px !important;
  }

  &.banner.cc-template .section-inner {
    max-width: 1170px;
    z-index: 1;
    margin-top: auto;
    margin-bottom: auto;
  }

  &.banner.cc-template .section-inner {
    padding: 0px !important;
  }

  &.banner.cc-template .banner-wpr {
    display: flex;
  }

  &.banner.cc-template .text-white a,
  .banner.cc-template .text-white a:visited {
    color: rgb(255, 255, 255) !important;
  }

  &.banner.cc-template .banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: initial;
  }

  &.banner.cc-template .h1 {
    max-width: initial;
  }

  &.banner.cc-template .banner-img {
    width: auto;
    height: auto;
    display: block;
    margin: auto 0px auto auto;
  }

  &.banner.cc-template .banner-img img {
    max-height: 233px;
    width: auto;
    height: 100%;
    aspect-ratio: initial;
  }

  &.banner.cc-template .banner-img:not(.banner-img-mobile) {
    display: none;
  }

  &.banner.cc-template .banner-text {
    width: 66%;
    max-width: 770px;
  }

  &.banner.cc-template.fw-bnr a.btn {
    padding: 20px 32px !important;
  }

  @media (max-width: 1919px) {
    &.banner.fw-bnr.cc-template .banner-img:not(.banner-img-mobile) {
      height: 295px;
      margin: auto auto auto 0px;
    }
  }

  @media (max-width: 1599px) {
    &.banner.fw-bnr.cc-template .banner-img:not(.banner-img-mobile) {
      height: 295px;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template .banner-text {
      padding: 64px 15px 32px;
      margin-top: 0px;
      max-width: initial;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template {
      height: auto !important;
      max-height: inherit !important;
      background-image: none !important;
    }
  }

  @media (max-width: 1199px) {
    &.banner.cc-template .section-inner {
      max-width: initial;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template .banner-wpr {
      display: flex;
      flex-direction: column;
      height: 550px;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template .banner-text {
      width: 100%;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile {
      display: flex;
      align-items: center;
      justify-content: center;
      height: auto;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: 200px;
      flex-grow: 1;
      position: relative;
      width: 100%;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile::before {
      height: 100%;
      background-size: cover;
      background-position: center center;
      content: "";
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      z-index: 0;
      width: 100%;
    }
  }

  @media (max-width: 1199px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile img {
      z-index: 1;
      max-height: 180px;
      position: relative;
      bottom: -35px;
      margin-top: auto;
      margin-bottom: 0px;
      margin-right: auto;
      padding-left: 15px;
      padding-right: 0px;
    }
  }

  @media (max-width: 960px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile {
      max-height: 410px;
    }
  }

  @media (max-width: 960px) {
    &.banner.fw-bnr.cc-template .banner-text .btn,
    &.banner.fw-bnr.cc-template .banner-text .standalone-link-container {
      display: block;
    }
  }

  @media (max-width: 480px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile {
      max-height: 275px;
    }
  }

  @media (max-width: 480px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile::before {
      height: 215px;
    }
  }

  @media (max-width: 480px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile img {
      max-height: 125px;
    }
  }

  @media (min-width: 1200px) {
    &.banner.fw-bnr.cc-template .section-inner {
      padding: 0px !important;
    }
  }

  @media (min-width: 1200px) {
    &.banner.fw-bnr.cc-template .banner-img.banner-img-mobile {
      display: none;
    }
  }

  @media (min-width: 1200px) {
    &.banner.fw-bnr.cc-template .banner-img:not(.banner-img-mobile) {
      display: block;
      margin-left: auto;
      margin-right: 0px;
    }
  }

  @media (min-width: 1200px) {
    &.banner.fw-bnr.cc-template::after {
      height: 100%;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      content: "";
      position: absolute;
      top: 0px;
      right: 0px;
      width: 32%;
      aspect-ratio: initial;
      z-index: 0;
    }
  }

  @media (min-width: 1300px) {
    &.banner.fw-bnr.cc-template::after {
      width: initial;
      aspect-ratio: 9 / 16;
    }
  }

  @media (min-width: 1920px) {
    &.banner.fw-bnr.cc-template::after {
      right: auto;
      left: calc(50% + 340px);
      aspect-ratio: 1 / 1;
    }
  }

  @media (min-width: 961px) {
    &.banner.fw-bnr.cc-template .banner-text .btn,
    &.banner.fw-bnr.cc-template .banner-text .standalone-link-container {
      display: inline-flex;
      margin-right: 16px;
    }
  }

  &.banner {
    min-height: 530px !important;
    height: 530px !important;
  }

  @media (max-width: 1200px) {
    &.banner {
      min-height: 550px !important;
      height: 550px !important;
    }
  }

  @media screen and (min-width: 640px) and (max-width: 999px) {
    &.IAV-card {
      padding-top: 90px !important;
    }
  }

  @media (max-width: 960px) {
    &.banner.fw-bnr .banner-wpr {
      max-width: 100vw;
    }
  }

  &.banner.fw-bnr.cc-template {
    &.IAV-card {
      background:
        linear-gradient(0deg, rgb(7, 57, 117) 0%, rgb(7, 57, 117) 100%),
        linear-gradient(270deg, rgb(0, 81, 165) 26.46%, rgb(0, 31, 63) 101.35%);
    }
    &::after {
      aspect-ratio: 9 / 11;
      left: calc(50% + 375px);
      @media (min-width: 1200px) {
        background-image: none !important;
      }
    }
    & .banner-wpr {
      @media (max-width: 1199px) {
        flex-direction: row-reverse;
        padding: 32px;
      }
      @media (max-width: 768px) {
        flex-direction: column;
        padding: unset;
      }
    }
    & .banner-img.banner-img-mobile::before {
      @media (max-width: 1199px) {
        height: 800px;
        top: unset;
        left: unset;
        right: -32px;
        width: 310px;
        background-image: none !important;
      }
      @media (max-width: 768px) {
        height: 290px;
        right: unset;
        width: 100%;
      }
    }
    & .pill {
      font-size: 12px;
      font-weight: 500;
      line-height: 16px;
      text-transform: uppercase;
      display: inline-block;
      padding: 3px 10px;
      border-radius: 4px;
      background: rgb(255, 186, 0);
    }
  }

  &.IAV-card {
    background:
      linear-gradient(0deg, rgb(7, 57, 117) 0%, rgb(7, 57, 117) 100%),
      linear-gradient(270deg, rgb(0, 81, 165) 26.46%, rgb(0, 31, 63) 101.35%) !important;
    @media (min-width: 1200px) {
      background: url("/credit-cards/_assets-custom/images/iav-banner.webp")
        center center / cover no-repeat !important;
    }
    & .banner-text {
      @media (max-width: 768px) {
        padding: 50px 15px 32px;
      }
      & h2 {
        font-size: 40px;
        font-weight: 500;
        line-height: 50px;
        margin-top: 16px;
        margin-bottom: 8px !important;
        @media (max-width: 1399px) {
          font-size: 40px;
        }
        @media (max-width: 1199px) {
          font-size: 40px;
          line-height: 50px;
          margin-top: 24px;
        }
        @media (max-width: 768px) {
          font-size: 28px;
          line-height: 35px;
          margin-top: 16px;
          margin-bottom: 8px !important;
        }
      }
      & p {
        font-family: RBCDISPLAY;
        font-size: 18px;
        font-weight: 500;
        line-height: 27px;
        margin-bottom: 32px;
        @media (max-width: 768px) {
          font-size: 18px;
          line-height: 27px;
          margin-bottom: 24px !important;
        }
      }
      & .snipe {
        @media (max-width: 1199px) {
          overflow: visible;
        }
      }
    }
    & .banner-img img {
      max-height: 299px;
      margin-right: -70px;
      @media (max-width: 1650px) {
        margin-right: -20px;
      }
      @media (max-width: 1399px) {
        margin-right: 0px;
      }
      @media (max-width: 1199px) {
        max-height: 201px;
        margin-right: -50px;
      }
      @media (max-width: 768px) {
        max-height: 175px;
        margin-right: 0px;
        padding: 0px;
        margin-top: -25px;
      }
    }
    & .cta-links {
      @media (max-width: 768px) {
        display: block;
        gap: 16px;
        & .btn {
          padding: 20px 15px !important;
          /* &.text-blue { width: 50%; } */
        }
      }
    }
    & .offer-ends {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      margin-top: 16px;
    }
    & .offer-ends img {
      margin-top: 2px;
    }
    & .offer-ends span {
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
      margin: 0px;
      color: rgb(255, 255, 255);
    }
  }
  .banner-card-img {
    max-width: 175px;
    height: auto;
  }
  .banner-award-img {
    width: 120px;
    height: 100px;
    margin-left: 12px;
  }
}
