/* Start Pine Processionary hero */
.hero.hero--secondary {
  padding-top: 150px;
}
.hero__wrapper > span {
  margin-bottom: 5px;
  font-size: calc(55px + 3.15vw);
}
.post-template-pest-pine-processionary .hero h1 {
  max-width: 754px;
  margin-bottom: 10px;
}
body .hero.hero--secondary .hero__content {
  max-width: 666px;
}
.hero__wrapper .button--primary {
  margin-top: 30px;
}
.hero-image {
  right: -7.5vw;
  bottom: 0;
  width: 60vw;
}
@media (max-width: 1024px) {
  .post-template-pest-pine-processionary .hero h1 {
    max-width: 678px;
  }
}
@media (min-width: 851px) and (max-height: 790px) {
  .hero.hero--secondary {
    padding-top: 130px;
  }
  .hero__wrapper > span {
    display: none;
  }
}
@media (max-width: 850px) {
  .hero.hero--secondary {
    padding-top: calc(9vw + 50px);
    padding-bottom: calc(15px + 44vw);
  }
  .hero__wrapper > span {
    font-size: calc(7px + 8.75vw);
  }
  body .hero.hero--secondary h1 {
    font-size: calc(var(--textFontSizeXL) - calc(0.5vw + 4.25px));
    margin-bottom: 20px;
  }
  .hero.hero--secondary .hero-image {
    width: 100%;
    max-width: 678px;
    right: 0;
    bottom: -15vw;
    rotate: 25deg;
    position: absolute;
  }
}
/* End Pine Processionary hero */

/* Start Pine Processionary About */
.pine-processionary-about {
  padding: 85px var(--sidePadding);
  position: relative;
}

.pine-processionary-about__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.pine-processionary-about__title {
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  margin-bottom: 50px;
  color: var(--green);
}
.pine-processionary-about__content {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  text-align: justify;
  line-height: 1.2;
  width: 100%;
}
.pine-processionary-about__content ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  column-gap: 75px;
  margin: 15px 0;
}
.pine-processionary-about__content ul li {
  gap: 15px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* End Pine Processionary About */

/* Start Pine Processionary Prevention */
.pine-processionary-prevention {
  margin: 75px 0;
  padding: 132px var(--sidePadding);
  position: relative;
  overflow: hidden;
}

.pine-processionary-prevention::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: rgba(12, 99, 47, 1);
}

.pine-processionary-prevention::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    360deg,
    rgba(203, 213, 11, 0.2) 34.13%,
    rgba(12, 99, 47, 0.2) 100%
  );
  z-index: -1;
}

.pine-processionary-prevention__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: -2;
}
.pine-processionary-prevention__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
  color: white;
  position: relative;
}

.pine-processionary-prevention__container {
  max-width: 671px;
}
.pine-processionary-prevention__title {
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
  line-height: 1;
  text-align: start;
  margin-bottom: 35px;
}
.pine-processionary-prevention__content {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  text-align: justify;
  line-height: 1.2;
  z-index: 3;
  position: relative;
}
.pine-processionary-prevention__img {
  position: absolute;
  width: 51.8vw;
  max-width: 666px;
  object-fit: contain;
  right: -7.5vw;
  top: 52%;
  transform: translateY(-50%);
  z-index: 1;
}

@media (max-width: 1512px) {
  .pine-processionary-prevention {
    padding: 85px var(--sidePadding);
  }
  .pine-processionary-prevention__img {
    width: 45vw;
    right: -3vw;
  }
  .pine-processionary-prevention__container {
    max-width: calc(400px + 15.68vw);
  }
}
@media (max-width: 1000px) {
  .pine-processionary-prevention__wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .pine-processionary-prevention__container {
    max-width: 100%;
  }
  .pine-processionary-prevention__title {
    text-align: center;
  }
  .pine-processionary-prevention__img {
    position: initial;
    top: initial;
    transform: initial;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .pine-processionary-prevention {
    margin: 50px 0;
  }
}
/* End Pine Processionary Prevention */

.post-template-pest-pine-processionary .image-with-accordion-list {
  height: calc(980px - 3vw);
}

@media (max-width: 768px) {
  .post-template-pest-pine-processionary .image-with-accordion-list {
    height: 880px;
  }
}

@media (max-width: 500px) {
  .post-template-pest-pine-processionary .image-with-accordion-list {
    height: 910px;
  }
}
.post-template-pest-pine-processionary .feedback__slider h2 {
  max-width: 666px;
}