/* Start Hero */
.post-template-pest-elm-leaf-beetle .hero-image {
  width: calc(50vw - 50px);
  right: calc(9vw - 135px);
  max-width: 1400px;
}
.hero.hero--elm-leaf-beetle h1 {
  max-width: 754px;
}
.hero__wrapper > span {
  font-size: calc(55px + 3.5vw);
}
body .hero.hero--secondary .hero__content {
  max-width: 585px;
}
@media (max-width: 850px) {
  .hero__wrapper > span {
    font-size: calc(50px + 3.5vw);
    margin-bottom: 10px;
  }
  .hero__wrapper {
    margin-bottom: -25px;
    z-index: 1;
  }
  body .hero.hero--secondary h1 {
    margin-bottom: 20px;
  }
  .hero__wrapper .button--primary {
    margin-top: 35px;
  }
  .hero.hero--secondary .hero-image {
    width: 100%;
    max-width: 560px;
  }
}
/* End Hero */

/* Start treatments */
.elm-leaf-beetle-intro {
  position: relative;
  color: white;
  padding: 0 var(--sidePadding);
  margin-bottom: 75px;
}

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

.elm-leaf-beetle-intro::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;
}

.elm-leaf-beetle-intro__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: -2;
}
.elm-leaf-beetle-intro__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}
.elm-leaf-beetle-intro__flex {
  display: flex;
  gap: 5.79vw;
}
.elm-leaf-beetle-intro__flex > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 340px;
}
.elm-leaf-beetle-intro__title {
  text-align: center;
  font-size: var(--textFontSizeL);
  font-weight: 700;
  text-transform: uppercase;
  max-width: 310px;
  width: 100%;
  margin-bottom: 25px;
}
.elm-leaf-beetle-intro__content {
  font-size: var(--textFontSizeS);
  font-weight: 400;
  font-family: var(--secondaryFont);
  text-align: justify;
  width: 100%;
}
.elm-leaf-beetle-intro__content strong {
  font-weight: 600;
}
.elm-leaf-beetle-intro__list {
  display: flex;
  min-height: 740px;
  gap: 4.63vw;
}
.elm-leaf-beetle-intro__list li {
  width: 240px;
  height: 100%;
  display: flex;
  justify-content: end;
  flex-direction: column;
}
.elm-leaf-beetle-intro__item > div {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: calc(100% - 195px);
  background: var(--green3);
  padding: 140px 15px 25px;
}
.elm-leaf-beetle-intro__list li:nth-child(2) {
  justify-content: start;
}
.elm-leaf-beetle-intro__list li:nth-child(2) > div {
  padding-top: initial;
  padding-bottom: 140px;
  padding-top: 25px;
  flex-direction: column-reverse;
}
.elm-leaf-beetle-intro__item-title {
  text-align: center;
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeM);
  font-weight: 600;
  line-height: 1.33;
  margin-bottom: 20px;
}
.elm-leaf-beetle-intro__list
  li:nth-child(2)
  .elm-leaf-beetle-intro__item-title {
  order: 1;
}
.elm-leaf-beetle-intro__item-content {
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  font-weight: 400;
  line-height: 1.26;
  text-align: justify;
}
.elm-leaf-beetle-intro__item-image {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: -120px;
  background: var(--greenLight);
  right: 0;
  border-radius: 50%;
  overflow: hidden;
}
.elm-leaf-beetle-intro__list
  li:nth-child(2)
  .elm-leaf-beetle-intro__item-image {
  top: initial;
  bottom: -120px;
}
.elm-leaf-beetle-intro__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .elm-leaf-beetle-intro__flex,
  .elm-leaf-beetle-intro__list {
    gap: var(--sidePadding);
  }
}

@media (max-width: 1050px) {
  .elm-leaf-beetle-intro {
    padding: 85px var(--sidePadding) 0;
  }
  .elm-leaf-beetle-intro__flex {
    flex-direction: column;
    align-items: center;
    gap: 180px;
  }
  .elm-leaf-beetle-intro__flex > div {
    max-width: 766px;
  }
  .elm-leaf-beetle-intro__title {
    max-width: 766px;
  }
  .elm-leaf-beetle-intro__list {
    min-height: auto;
  }
  .elm-leaf-beetle-intro__list li {
    height: auto;
  }
  .elm-leaf-beetle-intro__item-title {
    min-height: 53px;
    display: flex;
    align-items: center;
  }
  .elm-leaf-beetle-intro__item > div {
    height: 100%;
    padding-bottom: 25px;
    padding-top: 130px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .elm-leaf-beetle-intro__list li:nth-child(2) > div {
    padding-top: 130px;
  }
  .elm-leaf-beetle-intro__item-content {
    margin-bottom: auto;
    max-height: initial;
    overflow: auto;
  }
  .elm-leaf-beetle-intro__list
    li:nth-child(2)
    .elm-leaf-beetle-intro__item-image {
    top: -120px;
    bottom: initial;
  }
}

@media (max-width: 750px) {
  .elm-leaf-beetle-intro {
    padding-bottom: 85px;
  }
  .elm-leaf-beetle-intro__flex {
    gap: 45px;
  }
  .elm-leaf-beetle-intro__flex > div {
    max-width: 460px;
  }
  .elm-leaf-beetle-intro__list {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
  }
  .elm-leaf-beetle-intro__list li {
    width: 100%;
    max-width: 380px;
  }
  .elm-leaf-beetle-intro__list li > div {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    column-gap: 20px;
    height: auto;
    min-height: 300px;
    max-height: initial;
    border-radius: 30px;
    overflow: hidden;
  }
  .elm-leaf-beetle-intro__list .elm-leaf-beetle-intro__item-title {
    min-height: initial;
    font-size: calc(var(--textFontSizeL) - 5px);
    text-align: left;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 0 25px;
  }
  .elm-leaf-beetle-intro__item-content {
    padding: 0 25px 25px;
    max-height: initial;
  }
  .elm-leaf-beetle-intro__list li:nth-child(2) > div {
    padding: 0;
    padding-bottom: 25px;
  }
  .elm-leaf-beetle-intro__list
    li:nth-child(2)
    .elm-leaf-beetle-intro__item-title {
    order: initial;
  }
  .elm-leaf-beetle-intro__list li picture {
    position: initial;
    grid-row: 1/2;
    margin: auto;
    border-radius: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1/0.8;
  }
}
/* End treatments */

/* Start sectors */

.elm-leaf-beetle-treatments {
  padding: 75px var(--sidePadding);
}

.elm-leaf-beetle-treatments__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.elm-leaf-beetle-treatments__container {
  display: flex;
}

.elm-leaf-beetle-treatments__container > div {
  width: 50%;
}

.elm-leaf-beetle-treatments__container-left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 440px;
  gap: 20px;
  padding-right: calc(15px + 2vw);
}

.elm-leaf-beetle-treatments__container-left-item {
  overflow: hidden;
}

.elm-leaf-beetle-treatments__container img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  display: block;
}

.elm-leaf-beetle-treatments__title {
  color: var(--grayDark);
  font-size: var(--textFontSizeL);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 25px;
}

.elm-leaf-beetle-treatments__content {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  font-weight: 400;
  text-align: justify;
  color: var(--grayDark);
}

.elm-leaf-beetle-treatments__content ul {
  padding: 30px 35px;
  border-radius: 30px;
  background: var(--green3);
  color: white;
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.elm-leaf-beetle-treatments__content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.elm-leaf-beetle-treatments__content ul li strong {
  font-weight: 600;
}

.elm-leaf-beetle-treatments__content ul li:before {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuMTI1IDUuNUg5Ljg3NU05Ljg3NSA1LjVMNS41IDEuMTI1TTkuODc1IDUuNUw1LjUgOS44NzUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K");
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

@media (max-width: 1050px) {
  .elm-leaf-beetle-treatments__container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .elm-leaf-beetle-treatments__container > div {
    width: 100%;
  }

  .elm-leaf-beetle-treatments__container-left {
    height: calc(350px + 20vw);
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .elm-leaf-beetle-treatments{
    padding: 50px var(--sidePadding);
  }
  .elm-leaf-beetle-treatments__container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .elm-leaf-beetle-treatments__container > div {
    width: 100%;
  }

  .elm-leaf-beetle-treatments__container-left {
    height: calc(350px + 20vw);
    padding-right: 0;
    gap: var(--sidePadding);
  }

  .elm-leaf-beetle-treatments__container-left-item:last-of-type img {
    width: 100%;
  }
}

@media (max-width: 499px) {
  .elm-leaf-beetle-treatments__container-left-item {
    min-height: calc(100px + 20vw);
  }

  .elm-leaf-beetle-treatments__container-left-item img {
    border-radius: 20px;
  }

  .elm-leaf-beetle-treatments__list {
    padding: 20px var(--sidePadding);
    border-radius: 15px;
  }
}

@media (max-width: 360px) {
  .elm-leaf-beetle-treatments__container-left {
    display: flex;
    flex-direction: column;
    height: auto;
  }
}

/* End sectors */

/* Start Prevention */

.elm-leaf-beetle-prevention {
  padding: 132px var(--sidePadding);
  position: relative;
  overflow: hidden;
  margin-bottom: 75px;
}
.elm-leaf-beetle-prevention > div {
  width: 100%;
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

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

.elm-leaf-beetle-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;
}

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

.elm-leaf-beetle-prevention__container {
  max-width: 671px;
}
.elm-leaf-beetle-prevention__title {
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
  line-height: 1;
  text-align: start;
  margin-bottom: 35px;
}
.elm-leaf-beetle-prevention__content {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  text-align: justify;
  line-height: 1.2;
}
.elm-leaf-beetle-prevention__img {
  position: absolute;
  width: 47.8vw;
  max-width: 895px;
  object-fit: contain;
  right: -60px;
  top: 52%;
  transform: translateY(-50%);
  z-index: 1;
}

@media (max-width: 1512px) {
  .elm-leaf-beetle-prevention {
    padding: 85px var(--sidePadding);
  }
  .elm-leaf-beetle-prevention__img {
    width: 45vw;
    height: 45vw;
  }
  .elm-leaf-beetle-prevention__container {
    max-width: calc(400px + 15.68vw);
  }
}
@media (max-width: 1100px) {
  .elm-leaf-beetle-prevention__img {
    width: 45vw;
    height: 45vw;
  }
}
@media (max-width: 1000px) {
  .elm-leaf-beetle-prevention {
    padding-bottom: 0;
  }
  .elm-leaf-beetle-prevention__wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .elm-leaf-beetle-prevention__container {
    max-width: 100%;
  }
  .elm-leaf-beetle-prevention__title {
    text-align: center;
  }
  .elm-leaf-beetle-prevention__img {
    position: relative;
    top: initial;
    transform: initial;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    transform: rotate(12deg);
  }
}
@media (max-width: 768px) {
  .elm-leaf-beetle-prevention {
    margin-bottom: 50px;
  }
}
/* End Prevention */
.post-template-pest-elm-leaf-beetle .feedback {
  padding-top: 100px;
}
.post-template-pest-elm-leaf-beetle .elm-leaf-beetle-treatments {
  padding-bottom: 75px;
}

.post-template-pest-elm-leaf-beetle .image-with-accordion-list {
  height: calc(980px - 3.5vw);
}

@media (max-width: 768px) {
  .post-template-pest-elm-leaf-beetle .image-with-accordion-list {
    height: 902px;
  }
}

@media (max-width: 500px) {
  .post-template-pest-elm-leaf-beetle .image-with-accordion-list {
    height: 960px;
  }
}

.post-template-pest-elm-leaf-beetle .feedback__slider h2 {
  max-width: 699px;
}