#blog {
  font-family: "Nunito";
}
#blog .wave {
  z-index: -1;
}
#blog .wave-desktop {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 1200px;
  height: 600px;
}
#blog .wave-mobile {
  display: none;
}

#blog .hero {
  text-align: center;
  margin: 55px 0 30px;
  position: relative;
  overflow: hidden;
}

#blog .hero h1 {
  font-weight: 700;
  font-size: 49px;
  line-height: 54px;
  letter-spacing: -0.05em;
  color: #141b31;
  font-style: normal;
}

#blog .hero h1 .blue {
  color: #2d77e8;
}
#blog .hero h1 .orange {
  color: #ff4d00;
}

#blog .category-cards {
  display: flex;
  gap: 30px;
}

#blog .category-card {
  flex: 1;
  padding: 30px;
  border-radius: 16px;
  position: relative;
}

#blog .category-card img {
  position: absolute;
}

#blog .category-card.travel img {
  height: 230px;
  right: 0;
  bottom: 0;
}
#blog .category-card.business img {
  height: 175px;
  right: -5px;
  bottom: 0;
}

#blog .category-card.travel {
  background: #fef9c3;
}

#blog .category-card.business {
  background: #d1fae5;
}

#blog .category-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#blog .category-card-content .d-inline-flex {
  display: inline-flex;
}

#blog .travel .category-card-content {
  width: calc(100% - 218px);
}
#blog .business .category-card-content {
  width: calc(100% - 218px);
}

#blog .category-card-content h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 30px;
  margin-bottom: 10px;
  letter-spacing: -0.05em;
}

#blog .travel .category-card-content h2 {
  color: #ff4d00;
}
#blog .business .category-card-content h2 {
  color: #2d77e8;
}

#blog .category-card-content p {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #5e6272;
  margin-bottom: 20px;
}

#blog .category-card-content .btn {
  padding: 8px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}
#blog .travel .category-card-content .btn {
  border: 1px solid #ff4d00;
  color: #ff4d00;
}
#blog .business .category-card-content .btn {
  border: 1px solid #2d77e8;
  color: #2d77e8;
}

#blog .blog-section {
  margin-top: 50px;
}

#blog .cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #adeaff;
  border-radius: 20px;
  padding: 60px;
  margin-top: 40px;
}

#blog .cta-logo-tablet {
  position: absolute;
  height: 430px;
  right: 10px;
  bottom: -30px;
}

#blog .cta-content {
  width: calc(100% - 290px);
}

#blog .cta-content h2 {
  font-weight: 700;
  font-size: 49px;
  line-height: 51px;
  margin-bottom: 20px;
  color: #141b31;
  letter-spacing: -0.05em;
}

#blog .cta-content h2 .orange {
  color: #ff4d00;
}

#blog .cta-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.05em;
  color: #5e6272;
  margin-bottom: 40px;
  width: 50%;
}

#blog .cta-buttons {
  display: flex;
  gap: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}

#blog .cta-buttons .btn-primary {
  background: #ff4d00;
  color: #fff;
  border: none;
  padding: 8px 33px;
  border-radius: 8px;
  cursor: pointer;
}

#blog .cta-buttons .btn-secondary {
  background: transparent;
  color: #8291A7;
  border: 1px solid #999;
  padding: 8px 26px;
  border-radius: 8px;
  cursor: pointer;
}

#blog .cta-logo-mobile {
  display: none;
}

@media (max-width: 1023px) {
  #blog .wave-desktop {
    width: 600px;
    height: 300px;
  }
  #blog .category-cards {
    flex-direction: column;
  }
  #blog .hero h1 {
    text-align: left;
    width: 85%;
  }
  #blog .blog-section {
    margin-top: 100px;
  }
  #blog .articles-grid {
    flex-direction: column;
  }
}
@media (max-width: 852px) {
  #blog .cta-buttons {
    display: inline-flex;
    flex-direction: column;
  }
  #blog .cta-logo-tablet {
    height: 295px;
    bottom: -22px;
  }
  #blog .cta-content {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #blog .wave-mobile {
    position: absolute;
    display: block;
    top: 25px;
    right: 0;
  }
  #blog .wave-desktop {
    display: none;
  }
  #blog .hero {
    margin: 7px 0 20px;
  }
  #blog .hero h1 {
    width: 100%;
    font-weight: 700;
    font-size: 34px;
    line-height: 36px;
  }
  #blog .category-card-content .d-inline-flex {
    display: flex;
  }
  #blog .category-card {
    padding: 20px;
  }
  #blog .category-card-content p {
    margin-bottom: 34px;
  }
  #blog .category-card-content h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 25px;
  }
  #blog .travel .category-card-content h2 {
    width: calc(100% - 41px);
  }
  #blog .travel .category-card-content p {
    width: calc(100% - 113px);
  }
  #blog .travel .category-card-content {
    width: 100%;
  }
  #blog .category-card.travel img {
    height: 120px;
    bottom: 75px;
  }

  #blog .category-card.business img {
    height: 136px;
    bottom: 68px;
  }
  #blog .business .category-card-content {
    width: 100%;
  }
  #blog .business .category-card-content h2 {
    width: calc(100% - 144px);
  }
  #blog .category-card-content p {
    width: calc(100% - 172px);
  }

  #blog .category-card-content .btn {
    width: 100%;
    text-align: center;
  }
  #blog .cta-content h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
  }
  #blog .cta-banner {
    padding: 20px 20px 38px 20px;
  }
  #blog .cta-logo-mobile {
    display: block;
    position: absolute;
    height: 156px;
    width: 150px;
    bottom: calc(100% - 13px);
    left: 50%;
    transform: translateX(-38%);
  }
  #blog .cta-logo-tablet {
    display: none;
  }
  #blog .cta-buttons {
    gap: 10px;
    display: flex;
    position: relative;
  }
  #blog .cta-buttons button {
    font-weight: 700!important;
    font-size: 16px!important;
    line-height: 30px!important;
  }
  #blog .cta-content p {
    width: 100%;
    margin-bottom: 152px;
  }
}
