.articles-agromar-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  position: relative;
  padding: 4rem 0;
  container-type: inline-size;
}
.articles-agromar-2 .content-wrapper {
  width: 100%;
  max-width: 94.5rem;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 1.5rem;
}
.articles-agromar-2 .content-wrapper > h2 {
  font-size: 2rem;
  line-height: 2.25rem;
  font-weight: 400;
  color: #380d06;
}
.articles-agromar-2 .content-wrapper .control-panel {
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 120rem;
  padding: 3.75rem 4rem 0;
  height: calc(100% - 8rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.articles-agromar-2 .content-wrapper .control-panel .arrow {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d6350f;
  border: none;
  cursor: pointer;
  pointer-events: fill;
}
.articles-agromar-2 .content-wrapper .control-panel .arrow > img {
  width: 1.5rem;
  height: 1.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.articles-agromar-2 .content-wrapper .control-panel .left {
  transform: rotate(180deg);
}
.articles-agromar-2 .content-wrapper .carousel-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  position: relative;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window {
  width: 25%;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel {
  position: relative;
  left: 0%;
  display: flex;
  transition: 0.5s;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container {
  display: flex;
  width: 100%;
  padding-inline: 0.75rem;
  flex-shrink: 0;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card {
  display: flex;
  width: 100%;
  flex-direction: column;
  position: relative;
  padding: 1rem 1rem 1.5rem;
  gap: 1.5rem;
  border: solid 1px #380d06;
  border-radius: 0.25rem;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card > img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 0.25rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content > h3 {
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: #380d06;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content > p {
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: #380d06;
  padding-top: 0.5rem;
}
.articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content .additional-info {
  padding-top: 1rem;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: rgba(56, 13, 6, 0.5);
}

@container (max-width: 100rem) {
  .articles-agromar-2 {
    padding: 4rem 6rem;
    overflow: hidden;
  }
  .articles-agromar-2 .content-wrapper {
    max-width: unset;
    gap: 4rem;
  }
  .articles-agromar-2 .content-wrapper > h2 {
    font-size: 2rem;
  }
  .articles-agromar-2 .content-wrapper .control-panel {
    padding: 6.25rem 6rem 0;
    height: calc(100% - 10.25rem);
  }
  .articles-agromar-2 .content-wrapper .control-panel .arrow {
    width: 4rem;
    height: 4rem;
  }
  .articles-agromar-2 .content-wrapper .control-panel .arrow > img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper {
    overflow: unset;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window {
    width: 31.75rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container {
    padding-inline: 0.75rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card {
    padding: 1rem 1rem 1.5rem;
    gap: 1rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card > img {
    width: 100%;
    height: 20rem;
    aspect-ratio: unset;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content > h3 {
    font-size: 1rem;
    line-height: 1.25rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content > p {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content .additional-info {
    padding-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}
@container (max-width: 45rem) {
  .articles-agromar-2 {
    padding: 3rem 1.25rem;
  }
  .articles-agromar-2 .content-wrapper {
    gap: 3rem;
  }
  .articles-agromar-2 .content-wrapper > h2 {
    font-size: 1.5rem;
  }
  .articles-agromar-2 .content-wrapper .control-panel {
    padding: 5.25rem 1.25rem 0;
    height: calc(100% - 8.25rem);
  }
  .articles-agromar-2 .content-wrapper .control-panel .arrow {
    width: 2.25rem;
    height: 2.25rem;
  }
  .articles-agromar-2 .content-wrapper .control-panel .arrow > img {
    width: 1rem;
    height: 1rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper {
    overflow: unset;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window {
    width: 17.5rem;
    max-width: 80%;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container {
    padding-inline: 0.625rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card {
    padding: 1rem;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card > img {
    width: 100%;
    aspect-ratio: 1/1;
    height: unset;
  }
  .articles-agromar-2 .content-wrapper .carousel-wrapper .carousel-window .carousel .card-container .card .card-content > p {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
