.text-with-cards {
    overflow: hidden;
  }
  .text-with-cards .btn--white {
    padding: 2rem 3rem 1.7rem;
    min-width: 17.5rem;
  }
  @media (min-width: 1921px) {
    .text-with-cards .btn--white {
      padding: 0.77vw 1.55vw 0.5vw;
      min-height: 2.6vw;
    }
  }
  .text-with-cards .btn--white:hover {
    background: #1B75BC;
  }
  .text-with-cards__main {
    position: relative;
    padding: 9.8rem 0 18.3rem;
  }

  .text-with-cards__main--hidden {
    height: 1px;
    margin-top: 15vw;
  }
  @media (max-width: 1921px) {
    .text-with-cards__main--hidden  {
      margin-top: 28rem;
    }
  }
  @media (max-width: 1024px) {
    .text-with-cards__main--hidden {
      margin-top: 20px;
    }
  }


  @media (min-width: 768px) {
    .text-with-cards__main {
      padding: 5.4rem 0 25rem;
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__main {
      padding: 2.75vw 0 12.5vw;
    }
  }
  .text-with-cards__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
    width: 100%;
    max-width: 100%;
  }
  @media (min-width: 1921px) {
    .text-with-cards__container {
      max-width: 95%;
    }
  }
  @media (min-width: 768px) {
    .text-with-cards__container {
      flex-direction: row;
    }
  }
  .text-with-cards__text {
    color: #fff;
    text-align: center;
  }
  @media (min-width: 768px) {
    .text-with-cards__text {
      width: 40%;
      text-align: left;
    }
  }
  .text-with-cards__text h2 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 3rem;
    font-size: 30px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__text h2 {
      font-size: 2.2rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__text h2 {
      font-size: calc(2.2rem + 8 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__text h2 {
      font-size: calc(30 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  }
  @media (min-width: 768px) {
    .text-with-cards__text h2 {
      margin-top: 6rem;
    }
  } */
  .text-with-cards__text h2 mark {
    display: block;
    color: rgb(15, 143, 212);
    font-size: 48px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__text h2 mark {
      font-size: 2.7rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__text h2 mark {
      font-size: calc(2.7rem + 21 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__text h2 mark {
      font-size: calc(48 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  .text-with-cards__text p {
    margin-top: 1.4rem;
    font-weight: 500;
    line-height: 1.1;
    font-size: 25px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__text p {
      font-size: 1.8rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__text p {
      font-size: calc(1.8rem + 7 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__text p {
      font-size: calc(25 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  @media (min-width: 768px) {
    .text-with-cards__text p {
      margin-top: 2.1rem;
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__text p {
      margin-top: 1.1vw;
    }
  }
  .text-with-cards__text .btn {
    margin-top: 3rem;
  }
  @media (min-width: 768px) {
    .text-with-cards__text .btn {
      margin-top: 5rem;
    }
  }
  .text-with-cards__text .subtitle {
    color: #fff;
    padding: 1rem 2.5rem 0.8rem;
    margin-bottom: 0;
  }
  .text-with-cards__text .subtitle:before {
    background: #0F8FD4;
  }
  @media (min-width: 768px) {
    .text-with-cards__text .subtitle {
      margin-left: -2.5rem;
    }
  }
  @media (min-width: 1281px) {
    .text-with-cards__text .subtitle {
      letter-spacing: 0.1em;
    }
  }
  .text-with-cards__img {
    margin-bottom: 5.3rem;
    margin-right: auto;
    width: 100%;
    max-width: 50rem;
    z-index: -1;
  }
  @media (max-width: 767px) {
    .text-with-cards__img {
      margin-left: auto;
      max-width: 30rem;
    }
  }
  @media (min-width: 768px) and (max-width: 1281px) {
    .text-with-cards__img img {
      display: none;
    }
  }
  @media (min-width: 1281px) {
    .text-with-cards__img {
      margin-left: -8%;
    }
  }
  @media (min-width: 1600px) {
    .text-with-cards__img {
      margin-left: -4%;
    }
  }
  .text-with-cards__img img {
    width: 100%;
  }
  .text-with-cards__absolute {
    position: absolute;
    top: 50px;
    border-radius: 50px;
    right: 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2.4rem 1.4rem;
    box-sizing: border-box;
    color: white;
    font-family: "Vast XL", sans-serif;
    font-weight: 500;
    line-height: 0.7;
    letter-spacing: 0.01em;
    max-width: min-content;
    width: 100%;
    text-align: center;
    border: 3px solid rgb(240, 48, 6);
    word-break: keep-all;
  }
  @media (max-width: 375px) {
    .text-with-cards__absolute {
      font-size: 4.5rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__absolute {
      font-size: calc(4.5rem + 10 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__absolute {
      font-size: calc(55 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  }
  @media (max-width: 767px) {
    .text-with-cards__absolute {
      display: none;
    }
  }
  .text-with-cards__absolute small {
    color: #fff;
    font-family: "Vast XL", sans-serif;
    line-height: 1.3;
    margin-top: 2rem;
    background: linear-gradient(100.58deg, #F36F22 4.86%, #EB0D30 100.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    display: block;
    text-transform: uppercase;
  }
  @media (max-width: 375px) {
    .text-with-cards__absolute small {
      font-size: 1.8rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__absolute small {
      font-size: calc(1.8rem + 2 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__absolute small {
      font-size: calc(20 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__absolute small {
      margin-top: 0.55vw;
    }
  }
  .text-with-cards__absolute small:first-child {
    margin-bottom: 1.6rem;
    margin-top: 0;
  }
  @media (min-width: 1921px) {
    .text-with-cards__absolute small:first-child {
      margin-bottom: 0.9vw;
    }
  }
  .text-with-cards__grid {
    margin-top: -9rem;
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 2;
  }
  @media (min-width: 768px) {
    .text-with-cards__grid {
      grid-template-columns: repeat(2, 1fr);
      margin-top: -17rem;
      gap: 1rem;
    }
  }
  @media (min-width: 1025px) {
    .text-with-cards__grid {
      margin-top: -21rem;
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__grid {
      margin-top: -11vw;
      gap: 0.55vw;
    }
  }
  .text-with-cards__grid .subtitle {
    font-weight: 700;
  }
  .text-with-cards__card {
    position: relative;
    overflow: hidden;
    min-height: 18.5vw;
    border-radius: 5px;
  }
  .text-with-cards__card h3 {
    font-family: "Vast XL", sans-serif;
    color: #231F20;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
    margin: 1.6rem 0 0;
    font-size:28px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__card h3 {
      font-size: 2.6rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__card h3 {
      font-size: calc(2.6rem + 2 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card h3 {
      font-size: calc(28 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  .text-with-cards__card h3 mark {
    background-color: transparent;
    color: #fff;
  }
  .text-with-cards__card .text-with-cards__subtitle {
    color: #fff;
    font-size: 1.4rem;
    text-transform: uppercase;
    width: max-content;
    font-weight: 700;
    position: relative;
    margin-left: -1.5rem;
    padding: 0.5rem 1.5rem 0.5rem;
  }
  @media (max-width: 767px) {
    .text-with-cards__card .text-with-cards__subtitle {
      margin: 0 auto;
    }
  }
  .text-with-cards__card .text-with-cards__subtitle:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(35, 31, 32);
    clip-path: polygon(5% 0, 100% 0, 95% 99%, 0% 100%);
    z-index: -1;
  }
  .text-with-cards__card .text-with-cards__card-text {
    margin: 0;
    padding: 2.5rem 2rem;
    box-sizing: border-box;
    width: 48%;
  }
  @media (max-width: 767px) {
    .text-with-cards__card .text-with-cards__card-text {
      width: 100%;
    }
  }
  @media (min-width: 768px) {
    .text-with-cards__card .text-with-cards__card-text {
      padding: 4rem 3rem;
    }
  }
  .text-with-cards__card .text-with-cards__card-text .btn {
    background-color: #231F20;
    color: #fff;
  }
  .text-with-cards__card .text-with-cards__card-text .btn:hover {
    color: #231F20;
    background: #fff;
  }
  .text-with-cards__card:first-child h3 {
    margin-top: 14px;
    color: rgb(255, 191, 149);
    font-family: "Montserrat", sans-serif;
    text-transform: none;
    font-size:20px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__card:first-child h3 {
      font-size: 1.6rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__card:first-child h3 {
      font-size: calc(1.6rem + 4 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card:first-child h3 {
      font-size: calc(20 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  .text-with-cards__card:first-child h3 mark {
    margin-bottom: 14px;
    display: block;
    text-transform: uppercase;
    font-family: "Vast XL", sans-serif;
    font-weight: 700;
    font-size:33px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__card:first-child h3 mark {
      font-size: 1.8rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__card:first-child h3 mark {
      font-size: calc(1.8rem + 15 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card:first-child h3 mark {
      font-size: calc(33 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  .text-with-cards__card:first-child .text-with-cards__card-text .btn {
    background-color: #F16323;
  }
  .text-with-cards__bg {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #EB0B30;
  }
  .text-with-cards__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media (max-width: 767px) {
    .text-with-cards__bg img {
      object-position: 0 1%;
    }
  }
  .text-with-cards__card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  @media (min-width: 768px) {
    .text-with-cards__card-img {
      width: 30%;
    }
  }
  @media (min-width: 1025px) {
    .text-with-cards__card-img {
      width: 50%;
    }
  }
  @media (max-width: 767px) {
    .text-with-cards__card-img {
      position: static;
      margin-bottom: -8rem;
      margin-right: -10vw;
      max-width: 25rem;
    }
  }
  .text-with-cards__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .text-with-cards__card-text {
    margin: 4.4rem 2rem;
    text-align: center;
  }
  @media (min-width: 768px) {
    .text-with-cards__card-text {
      margin: 2rem;
      text-align: left;
      width: 55%;
    }
  }
  @media (min-width: 1025px) {
    .text-with-cards__card-text {
      width: 40%;
      margin: 3rem 2.5rem 3rem 4rem;
    }
  }
  @media (min-width: 1281px) {
    .text-with-cards__card-text {
      width: 34%;
      margin: 3.6rem 2.5rem 3rem 4rem;
    }
  }
  @media (min-width: 1600px) {
    .text-with-cards__card-text {
      margin: 5rem 2.5rem 2rem 4rem;
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card-text {
      margin: 1.05vw 1.3vw 1.05vw 2.1vw;
    }
  }
  .text-with-cards__card-text .btn {
    margin-top: 1rem;
    padding: 1.2rem 1rem 0.8rem;
  }
  @media (min-width: 1025px) {
    .text-with-cards__card-text .btn {
      margin-top: 2.5rem;
    }
  }
  @media (min-width: 1600px) {
    .text-with-cards__card-text .btn {
      padding: 0.6vw 1.1vw 0.47vw;
      border-radius: 0.255vw;
    }
  }
  .text-with-cards__card-text .btn:hover {
    background: #fff;
    color: #231F20;
  }
  @media (min-width: 768px) {
    .text-with-cards__card--orange {
      grid-row: 2/3;
      grid-column: 1/2;
      min-height: 16vw;
    }
  }
  .text-with-cards__card--orange .text-with-cards__card-img {
    height: 95%;
    top: unset;
    bottom: 0;
    left: unset;
    right: 0;
  }
  @media (max-width: 767px) {
    .text-with-cards__card--orange .text-with-cards__card-img {
      position: absolute;
      height: unset;
      max-width: 20rem;
      width: 100%;
      right: -5rem;
      margin-right: 0;
      margin-bottom: 0;
    }
  }
  .text-with-cards__card--orange .text-with-cards__card-text h3 {
    font-weight: 700;
    color: #ffffff;
    font-size:25px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__card--orange .text-with-cards__card-text h3 {
      font-size: 1.8rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__card--orange .text-with-cards__card-text h3 {
      font-size: calc(1.8rem + 7 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card--orange .text-with-cards__card-text h3 {
      font-size: calc(25 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  .text-with-cards__card--orange .text-with-cards__card-text h3 span, .text-with-cards__card--orange .text-with-cards__card-text h3 mark {
    display: block;
  }
  .text-with-cards__card--orange .text-with-cards__card-text h3 mark {
    color: #2EA4FE;
  }
  .text-with-cards__card--orange .text-with-cards__card-text h3 span {
    margin-top: 5px;
    color: #BCBC4A;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    font-size:20px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__card--orange .text-with-cards__card-text h3 span {
      font-size: 1.6rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__card--orange .text-with-cards__card-text h3 span {
      font-size: calc(1.6rem + 4 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card--orange .text-with-cards__card-text h3 span {
      font-size: calc(20 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */

  .text-with-cards__card--orange .text-with-cards__subtitle:before {
    background: #DD2241;
  }
  .text-with-cards__card--large-height {
    flex-direction: column-reverse;
    min-height: 80vw;
    justify-content: flex-end;
    align-items: flex-start;
  }
  @media (min-width: 768px) {
    .text-with-cards__card--large-height {
      grid-row: span 2;
      grid-column: 2/3;
      min-height: unset;
    }
  }
  .text-with-cards__card--large-height h3 {
    color: #fff !important;
    font-weight: 700;
    font-size:30px;
  }
  /* @media (max-width: 375px) {
    .text-with-cards__card--large-height h3 {
      font-size: 1.8rem;
    }
  }
  @media (min-width: 376px) and (max-width: 1920px) {
    .text-with-cards__card--large-height h3 {
      font-size: calc(1.8rem + 6 * (100vw - 375px) / (1920 - 375));
    }
  }
  @media (min-width: 1921px) {
    .text-with-cards__card--large-height h3 {
      font-size: calc(24 * (100vw - 4.2vw * 2) / (1920 - 375));
    }
  } */
  @media (min-width: 768px) {
    .text-with-cards__card--large-height h3 {
      margin-top: 5rem;
    }
  }
  .text-with-cards__card--large-height h3 mark {
    display: block;
    margin-top: 12px;
    color: rgb(255, 246, 69) !important;
  }
  .text-with-cards__card--large-height .text-with-cards__card-text {
    width: 55%;
  }
  @media (max-width: 767px) {
    .text-with-cards__card--large-height .text-with-cards__card-text {
      width: 100%;
    }
  }

  @media (min-width: 768px) {
    .text-with-cards__card--large-height .text-with-cards__card-text .btn {
      margin-top: 5rem;
    }
  }
  .text-with-cards__card--large-height .text-with-cards__card-img {
    position: static;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .text-with-cards__card--large-height .text-with-cards__bg img {
    object-position: 20%;
  }


  @media (max-width: 1024px) {
  

    .text-with-cards__text {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .text-with-cards__grid {
      margin-top: 10px;
    }
    .text-with-cards__card .text-with-cards__card-text {
      width: 100%;
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      text-align: left;
    }
    
    .text-with-cards__card:first-child h3  {

      max-width: 210px;
    }
    .text-with-cards__card:first-child h3 mark {
      font-size: 20px;
      
    }
    .text-with-cards__card:first-child h3 {
      font-size: 12px;
    }
    
    .text-with-cards__card--orange .text-with-cards__card-text h3 {
      font-size: 20px;
      max-width: 210px;
    }
    .text-with-cards__card--large-height h3{
      font-size: 18px;
      max-width: 210px;
    }

    .text-with-cards__card--large-height h3 mark {

      margin-top: -8px;

    }

    .text-with-cards__text h2, .text-with-cards__text h2 mark{
      font-size: 22px;
      margin: 0;
    }
    .text-with-cards__text p {
      font-size: 18px;
    }
    .text-with-cards__main {
      position: relative;
      padding: 60px 0 70px;
    }
  
  }