.post-cards-container {
  display: flex;
  flex-direction: column;
}

.new.OnlyMobile {
  font-size: 40px !important;
  line-height: 50px !important;
}

.post-cards-container h3 {
  font-family: Roboto;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  text-align: left;
  margin-bottom: 24px;
}

.carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 34px;
}

.carousel-controllers {
  position: absolute;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  width: 100%;
  background-color: #fff;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-button {
  height: 20px;
  width: 20px;
  background-image: url("../../img/icons/horizontal-arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  padding: 0;
  margin: 0 !important;
  cursor: pointer;
}

.carousel-button:last-child {
  transform: rotate(180deg);
}

.carousel-button:focus,
.carousel-button:hover {
  background-image: url("../../img/icons/horizontal-arrow.svg") !important;
  background: unset;
  outline: none !important;
}

.post-cards-container .card {
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.post-cards-container .card .image-wrapper {
  display: block;
  overflow: hidden;
  margin-bottom: 32px;
}

.post-cards-container .card .image-wrapper img {
  width: 100%;
  object-fit: cover;
}

.post-feature-card .image-wrapper img,
.post-cards-container .card .image-wrapper img {
  aspect-ratio: 388 / 218;
  object-fit: cover;
}

.post-cards-container .card .body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-cards-container .card .body .author-date {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  color: #0278cd;
  margin: 0;
}

.post-cards-container .card .body .title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.post-cards-container .card .body .title h2,
.post-cards-container .card .body .title h4 {
  width: fit-content;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-weight: 700;
  color: #25303e;
  margin: 0;
  text-align: left;
}

.post-cards-container .card .body .title h2 {
  font-family: Poppins;
  font-size: 36px;
  line-height: 48px;
}

.post-cards-container .card .body .title h4 {
  font-family: Roboto;
  font-size: 22px;
  line-height: 32px;
}

.post-cards-container .card .body .title .diagonal-arrow {
  height: 32px;
  width: 32px;
  background-image: url("../../img/icons/diagonal-arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.post-cards-container .card .body .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.32px;
  color: #25303e;
  margin: 0;
}

.post-cards-container .card .body .tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.post-cards-container .card .body .tags-container .tag {
  background-color: #d0d3d4;
  border-radius: 16px;
  padding: 2px 10px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #25303e;
  text-transform: capitalize;
}

.post-cards-container .no-posts {
  padding: 34px 0;
  margin-bottom: 34px;
}

.landing-posts {
  gap: 44px;
}

.posts h3 {
  margin-bottom: 24px !important;
  font-family: Roboto !important;
  font-size: 24px !important;
  line-height: 34px !important;
}

.post-feature-card {
  display: flex;
  gap: 24px;
  margin-bottom: 44px;
}

.search-filter.on-card {
  display: none;
}

.search-filter {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.search-filter form.searchform button i {
  display: none;
}

.search-filter form.searchform button {
  background: url(../../img/icons/ant-design_search-outlined.svg) !important;
  background-position: right;
  background-repeat: no-repeat !important;
  width: 30px;
  height: 20px;
}

.search-filter select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: url(../../img/icons/search-arrows.svg) no-repeat right 8px center !important;
  background-size: 16px !important;
  color: #444A53 !important;
  padding: 5px 14px !important;
  border: 1px solid #25303E !important;
  border-radius: 20px !important;
}

.search-filter form.searchform input::placeholder {
  color: #444A53 !important;
  font-family: Roboto;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 18.75px !important;
  text-align: left;
}

.search-filter form.searchform input {
  font-size: 16px !important;
  padding: 5px 14px !important;
  border: 1px solid #25303E !important;
  border-radius: 20px !important;
  color: #444A53 !important;
}

.search-filter form.searchform,
.search-filter select {
  width: 100% !important;
  height: 40px;
}

.landing-post-header {
  margin-block: 54px 24px;
}

@media (min-width: 768px) {
  .posts h3 {
    margin-bottom: 34px !important;
  }

  .new.OnlyTablet,
  .new.OnlyDesktop {
    font-size: 50px !important;
    line-height: 60px !important;
  }

  .carousel-container {
    margin-bottom: 60px;
  }

  .landing-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block: 54px 54px;
  }

  .post-feature-card {
    gap: 34px;
    margin-bottom: 54px
  }

  .landing-post-header h1 {
    margin-bottom: 0 !important;
  }

  .search-filter.on-top {
    display: flex;
    flex-wrap: nowrap;
  }

  .search-filter form.searchform,
  .search-filter select {
    width: 230px !important;
  }

  .post-cards-container .card .image-wrapper {
    margin-bottom: 34px;
  }
}

@media (min-width: 1440px) {
  .posts h3 {
    margin-bottom: 24px !important;
  }

  .new.OnlyDesktop {
    font-size: 60px !important;
    line-height: 70px !important;
  }

  .carousel-container {
    margin-bottom: 80px;
  }

  .landing-post-header {
    justify-content: center;
    margin-block: 54px 46px;
  }

  .landing-post-header.paged {
    justify-content: space-between;
  }

  .post-cards-container.post-feature-card .card .body .title h2 {
    color: #25303e;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Poppins;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
  }

  .post-feature-card {
    gap: 58px;
    margin-bottom: 40px
  }

  .post-cards-container.post-feature-card {
    flex-direction: row;
  }

  .search-filter.on-top {
    display: none;
  }

  .landing-post-header.paged .search-filter.on-top {
    display: flex;
  }

  .search-filter.on-card {
    display: flex;
    margin-bottom: 12px;
  }

  .post-feature-card .image-wrapper img {
    width: 678px;
    height: 384.668px;
  }

  .post-feature-card .right-section {
    width: 484px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: unset;
  }

  .carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    transition: none !important;
    transform: none !important;
  }

  .carousel-controllers {
    display: none;
  }

  .post-cards-container .card .image-wrapper img {
    max-height: 216px;
  }

  .landing-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 44px 34px;
  }
}