/* Start Flies Hero */

.hero__wrapper > span {
  margin-bottom: 0;
}
.post-template-pest-flies .hero h1 {
  max-width: 699px;
}
.hero-image--fly {
  width: 65vw;
  max-width: 1250px;
  bottom: -2.5vw;
  right: 4vw;
}
.hero__content {
  max-width: 582px;
}
@media (max-width: 1920px) {
  .hero-image--fly {
    right: -4vw;
  }
}
@media (max-width: 1024px) {
  .hero-image--fly {
    width: 90vw;
    right: -34vw;
  }
}

@media (orientation: portrait), (max-width: 768px), (max-height: 460px) {
  .post-template-pest-flies .hero.hero--secondary {
    padding-top: calc(65px + 4.5vw);
  }
  .post-template-pest-flies .hero h1 {
    max-width: 488px;
  }
}

@media (max-width: 850px) {
  .hero.hero--secondary{
    padding-bottom: 25px;
  }
  .hero-image--fly {
    width: 100%;
    max-width: 768px;
  }
}
@media (max-width: 880px) {
  .hero__wrapper > span {
    font-size: calc(45px + 3.9vw);
  }
}

@media (orientation: landscape) and (max-height: 900px) and (min-height: 520px) {
  .post-template-pest-flies .hero h1 {
    font-size: calc(var(--textFontSizeXL) - 4px);
  }
}

@media (max-width: 440px) {
  .post-template-pest-flies .hero.hero--secondary h1 {
    margin-bottom: 25px;
    font-size: calc(22px + 3vw);
  }
  .hero__wrapper > span {
    margin-bottom: 15px;
  }
}
/* End Flies Hero */

.intro{
  padding-bottom: 50px;
}

/* Start flies types */
.flies-types {
  position: relative;
  padding: 50px var(--sidePadding) 85px;
}
.flies-types__wrapper {
  width: 100%;
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}
.flies-types__header {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 35px;
}
.flies-types__header-title {
  width: 100%;
  max-width: 570px;
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
}
.flies-types__header-content {
  width: 100%;
  max-width: 570px;
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  font-weight: 400;
  line-height: 1.26;
  text-align: justify;
}
.flies-types__header-content strong {
  font-weight: 600;
}
.flies-types__list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 25px;
  row-gap: 50px;
}
.flies-types__item {
  position: relative;
  width: 100%;
  aspect-ratio: 425/655;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 30px 25px;
}
.flies-types__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.flies-types__item > div {
  padding: 25px;
  background: white;
  border-radius: 30px;
  outline: 1px solid var(--green3);
  outline-offset: -12.5px;
  height: 270px;
  display: flex;
  flex-direction: column;
}
.flies-types__item-icon {
  min-width: 50px;
  min-height: 50px;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--green3);
}
.flies-types__item-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  --iconColor1: var(--green3);
}
.flies-types__item-title {
  max-width: 317px;
  width: 100%;
  margin: 0 auto 10px;
  text-align: center;
  font-size: var(--textFontSizeM);
  font-family: var(--secondaryFont);
  font-weight: 600;
}
.flies-types__item-content {
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  font-weight: 400;
  text-align: justify;
  flex-grow: 1;
  height: 100%;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.flies-types__item-content::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1100px) {
  .flies-types__item {
    padding: 25px 20px;
  }
  .flies-types__item > div {
    padding: 25px;
  }
}
@media (max-width: 1050px) {
  .flies-types__list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .flies-types__header {
    flex-direction: column;
    gap: 25px;
  }
  .flies-types__header-title {
    margin: 0 auto;
    text-align: center;
  }
  .flies-types__header-content {
    text-align: center;
    margin: 0 auto;
  }
}
@media (max-width: 700px) {
  .flies-types__list ul {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}
/* End flies types */

/* Start flies Prevention */
.flies-prevention {
  padding: 85px var(--sidePadding);
  position: relative;
}
.flies-prevention__img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}
.flies-prevention__header {
  display: flex;
  margin: 0 auto;
  max-width: calc(var(--maxScreenWidth) + 100px);
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 75px;
}
.flies-prevention__title {
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
  width: 100%;
  max-width: 600px;
}
.flies-prevention__content {
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  font-weight: 400;
  width: 50%;
  max-width: 720px;
  line-height: 1.2;
}
.flies-prevention__list {
  color: white;
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.flies-prevention__list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 80px;
  row-gap: 45px;
  width: 100%;
}
.flies-prevention__item {
  width: calc(33.33% - calc(calc(80px * 2) / 3));
  justify-content: center;
  padding: calc(20px + 1.74vw);
  position: relative;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 30px;
  overflow: hidden;
}
.flies-prevention__item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background: var(--green3);
  top: 0;
  left: 0;
  z-index: -1;
}
.flies-prevention__item-title {
  font-size: var(--textFontSizeM);
  font-family: var(--secondaryFont);
  margin-bottom: 25px;
}
.flies-prevention__item-title strong {
  font-weight: 700;
}
.flies-prevention__item-content {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  font-weight: 400;
  line-height: 1.3;
  text-align: justify;
}
.flies-prevention__content-bottom {
  color: white;
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  font-weight: 400;
  text-align: center;
  margin-top: 50px;
}
@media (max-width: 1050px) {
  .flies-prevention__list ul {
    column-gap: 25px;
  }
}
@media (max-width: 980px) {
  .flies-prevention__header {
    flex-direction: column;
  }
  .flies-prevention__title {
    margin: 0 auto;
    text-align: center;
  }
  .flies-prevention__content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .flies-prevention__list ul {
    gap: var(--sidePadding);
  }
  .flies-prevention__item {
    width: calc(50% - calc(var(--sidePadding) / 2));
    max-width: initial;
    height: initial;
    min-height: 210px;
  }
}
@media (max-width: 680px) {
  .flies-prevention__list ul {
    flex-direction: column;
  }
  .flies-prevention__item {
    width: 100%;
    min-height: 180px;
  }
}
/* End flies Prevention */

.post-template-pest-flies .image-with-accordion-list {
  height: calc(1080px - 10vw);
}
.post-template-pest-flies .feedback__slider h2{
  max-width: 699px;
}