#primary section.hero {
  overflow: hidden;
  background-color: #f5f5f7;
}

.hero__banner img {
  border-radius: 8px;
  border: 2px solid #000;
  max-height: 220px;
}

.hero-swiper-wrapper {
  height: unset;
}

.hero__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero__content::after {
  content: "";
  position: absolute;
  background: center top / cover no-repeat
    url("https://storyblok-hub.itcurated.com/wp-content/uploads/2025/08/pseudo-item-bg.svg");
  z-index: -1;
}

.hero__content {
  position: relative;
  display: flex;
  border: 2px solid #000;
  background: #fff;
}

.hero__content::before {
  content: "";
  position: absolute;
  background: center top / cover no-repeat
    url("https://storyblok-hub.itcurated.com/wp-content/uploads/2025/08/pseudo-item-slider.svg");
  z-index: 0;
}

.hero__column {
  display: flex;
  flex-direction: column;
}

.slider-block-swiper {
  margin-left: unset;
  margin-right: unset;
}

.hero__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: calc(100% - 66px);
}

.hero__head-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 891px;
}

.hero__desc p {
  line-height: 140%;
  letter-spacing: -0.01em;
}

.hero__post-category {
  font-weight: 500;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
}

.hero__post-tile {
  color: #000;
  margin-top: 10px;
  margin-bottom: 20px;
}

.hero__posts-list {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hero__column--right {
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 25px;
}

.hero__latest-updates-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero__latest-updates-title {
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0.01em;
  color: #000;
}

.hero__latest-updates__post-category {
  font-weight: 500;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
}

.hero__latest-updates__post-tile {
  color: #000;
}

.hero__latest-updates__post-img {
  border-radius: 8px;
  overflow: hidden;
}

.hero__post-item {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

.hero__latest-updates__post-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__latest-updates__post-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__post-img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.hero__post-content {
  display: flex;
  flex-direction: column;
}

.hero__posts-list-bottom {
  margin-top: auto;
  display: flex;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-next,
.swiper-button-prev {
  position: unset;
  display: flex;
  margin: 0;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: unset !important;
  outline: none !important;
  height: auto;
  transition: all 0.3s;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  height: auto;
}

.hero__posts-pagination {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.swiper-pagination-bullet {
  width: calc(100% / 4);
  height: 4px;
  border-radius: 20px;
  background: #e6e6e6;
  margin: 0 !important;
  opacity: 1 !important;
  position: relative;
}

.swiper-pagination-bullet .progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #58b5ff;
  transition: width 0s;
}

.hero__desc {
  max-width: 700px;
}

@media screen and (min-width: 1401px) {
  #primary section.hero {
    padding-top: 180px;
    padding-bottom: 80px;
  }

  .hero__column--right {
    flex-basis: 408px;
  }

  .hero__column--left {
    max-width: calc(100% - 462px);
  }

  .hero__content {
    gap: 58px;
    padding: 72px 66px;
    border-radius: 24px;
  }

  .hero__latest-updates__post-img {
    height: 220px;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  #primary section.hero {
    padding-top: 160px;
    padding-bottom: 60px;
  }

  .hero__column--right {
    flex-basis: 350px;
  }

  .hero__column--left {
    max-width: calc(100% - 398px);
  }

  .hero__content {
    gap: 48px;
    padding: 60px 54px;
  }

  .hero__latest-updates__post-img {
    height: 180px;
  }
}

@media screen and (max-width: 1400px) {
  .hero__head {
    max-width: calc(100% - 54px);
  }

  .hero__content {
    border-radius: 16px;
  }
}

@media screen and (min-width: 1201px) {
  .hero__head-inner {
    flex-basis: calc(100% - 412px - 24px);
  }

  .hero__banner {
    flex-basis: 412px;
  }

  .hero__content::after {
    top: -318px;
    right: -250px;
    width: 897px;
    height: 869px;
  }

  .hero__post-content {
    margin-left: 35px;
    margin-right: 35px;
  }

  .hero__head-inner {
    gap: 35px;
  }

  .hero__desc p {
    font-size: 25px;
  }

  .hero__latest-updates-title {
    font-size: 24px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    min-width: 50px;
    transform: scale(0.9);
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: scale(1);
  }

  .hero__wrapper {
    gap: 65px;
  }

  .hero__posts-list-bottom {
    padding-top: 32px;
  }
}

@media screen and (max-width: 1200px) {
  .hero__content {
    flex-direction: column;
  }

  #primary section.hero {
    padding-bottom: 40px;
  }

  .hero__desc p {
    font-size: 24px;
  }

  .hero__wrapper {
    gap: 54px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    min-width: 40px;
  }

  .hero__posts-list-bottom {
    padding-top: 40px;
  }

  .hero__head {
    flex-direction: column;
    max-width: 100%;
  }

  .hero__banner img {
    max-width: 408px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  #primary section.hero {
    padding-top: 140px;
  }

  .hero__title {
    font-size: 60px;
  }

  .hero__content::after {
    top: -268px;
    right: -200px;
    width: 701px;
    height: 679px;
  }

  .hero__content {
    gap: 32px;
    padding: 46px 40px;
  }

  .hero__latest-updates__post-img {
    height: 205px;
  }

  .hero__latest-updates-container {
    flex-direction: row;
  }

  .hero__latest-updates-container a {
    width: 100%;
    max-width: 50%;
  }

  .hero__head-inner {
    gap: 30px;
  }
}

@media screen and (min-width: 801px) {
  .hero__posts-list-bottom {
    gap: 20px;
  }

  .hero__content::before {
    top: -22px;
    left: -30px;
    width: 37px;
    height: 44px;
  }
}

@media screen and (max-width: 800px) {
  #primary section.hero {
    padding-top: 100px;
  }

  .hero__banner img {
    border-radius: 0px;
    border: none;
  }

  .hero__title {
    font-size: 56px;
  }

  .hero__content::after {
    top: -48px;
    right: -241px;
    width: 601px;
    height: 583px;
  }

  .hero__content::before {
    top: -10px;
    left: -16px;
    width: 22px;
    height: 28px;
  }

  .hero__content {
    gap: 49px;
    padding: 20px;
  }

  .hero__head-inner {
    gap: 24px;
  }

  .hero__latest-updates__post-content {
    gap: 8px;
  }

  .hero__latest-updates__post-img,
  .hero__post-img {
    min-height: 151px;
  }

  .hero__post-tile {
    font-size: 34px !important;
  }

  .hero__latest-updates-title {
    font-size: 24px !important;
  }

  .hero__posts-list-bottom {
    gap: 10px;
  }
}
