:root {
  --diffgreen-white: #fff;
  --diffgreen-green: #00a443;
  --diffgreen-green-1: #007f33;
  --diffgreen-green-4: #5BD38C;
  --diffgreen-sand: #fff5ec;
  --diffgreen-sand-1: #fffeff;
  --diffgreen-sand-3: #D8CFC7;
  --diffgreen-sand-7: #3A3735;
  --diffgreen-forest: #00402a;
  --diffgreen-forest-1: #DCEBE1;
  --diffgreen-sunset: #FF9C1A;
  --diffgreen-sunset-2: #E3850D;
}

#diffgreen {
  width: 100%;
  max-width: 980px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  border: 1px solid var(--diffgreen-sand-3);
  background: var(--diffgreen-white);
  padding: 32px 16px;
}

#diffgreen * {
  font-family: "IberPangeaText" !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#diffgreen strong {
  font-family: "IberPangeaText Bold" !important;
  font-weight: normal;
}

#diffgreen h2 {
  margin-top: 0 !important;
}

#diffgreen ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#diffgreen ul li:before {
  content: none !important;
  display: none !important;
}

#diffgreen img {
  display: block;
  width: 100%;
}

#diffgreen .diffgreen_swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#diffgreen .swiper-autoheight,
#diffgreen .swiper-autoheight .swiper-slide {
  height: auto;
}

#diffgreen .swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

#diffgreen .swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out
}

#diffgreen .swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#diffgreen .swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
  opacity: 0 !important;
  position: absolute;
}

#diffgreen .swiper-fade .swiper-slide-active {
  pointer-events: auto;
  opacity: 1 !important;
  position: relative;
}

#diffgreen .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

#diffgreen .swiper-android .swiper-slide,
#diffgreen .swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

#diffgreen .swiper-pointer-events {
  touch-action: pan-y;
}

#diffgreen .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  transition-property: transform;
}

#diffgreen .swiper-slide-invisible-blank {
  visibility: hidden;
}

#diffgreen .swiper-css-mode>.swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#diffgreen .swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

#diffgreen .swiper-horizontal.swiper-css-mode>.swiper-wrapper {
  scroll-snap-type: x mandatory;
}

#diffgreen .swiper-button-lock {
  display: none;
}

#diffgreen .swiper-slide {
  overflow: hidden;
}

#diffgreen .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

#diffgreen .swiper-button-prev,
#diffgreen .swiper-button-next {
  width: 32px;
  height: 32px;
  display: block !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2;
}

#diffgreen .swiper-button-prev {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/plasticos-biodegradables/images/ico-prev.svg");
}

#diffgreen .swiper-button-next {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/plasticos-biodegradables/images/ico-next.svg");
}

#diffgreen .swiper-button-prev.swiper-button-disabled,
#diffgreen .swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

#diffgreen .swiper-button-prev:focus,
#diffgreen .swiper-button-next:focus {
  background-color: #dcebe1 !important;
  outline: none !important;
}

#diffgreen .swiper-pagination {
  border-radius: 24px;
  border: 1px solid var(--diffgreen-forest);
  padding: 5px 16px;
  color: var(--diffgreen-forest) !important;
  font-size: 14px;
  line-height: 1.3;
  font-style: italic;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 68px;
  margin-right: auto;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  background-color: transparent !important;
  gap: 4px;
  white-space: nowrap;
}

#diffgreen .swiper-pagination .swiper-pagination-current {
  font-style: italic;
  color: var(--diffgreen-green-1) !important;
}

#diffgreen .swiper-pagination .swiper-pagination-total {
  font-style: italic;
}

#diffgreen .diffgreen_title {
  color: var(--diffgreen-green-1) !important;
  font-size: 30px;
  line-height: 1.13;
  font-style: normal;
  font-weight: normal;
  font-family: 'IberPangea' !important;
  text-align: left;
  text-wrap: balance;
  margin-bottom: 24px;
}

#diffgreen .diffgreen_title strong {
  font-weight: normal;
  font-family: 'IberPangea Bold' !important;
}

#diffgreen .diffgreen_title strong em {
  font-style: italic;
}

#diffgreen .diffgreen_content {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

#diffgreen .diffgreen_subtitle {
  border-radius: 15px;
  background: var(--diffgreen-green-1);
  padding: 10px 16px;
  color: var(--diffgreen-sand-1) !important;
  text-align: center;
  font-style: normal;
  font-weight: normal;
  font-family: 'IberPangea' !important;
  font-size: 24px;
  line-height: 1.16;
  margin: 0 auto -16px;
  position: relative;
  z-index: 1;
}

#diffgreen .diffgreen_subtitle:nth-of-type(2) {
  background: var(--diffgreen-sunset-2);
}

#diffgreen .diffgreen_subtitle em {
  font-style: italic;
}

#diffgreen .diffgreen_media {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 15px;
  background: #B4DEF7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#diffgreen .diffgreen_item_media {
  width: 100%;
  /* max-width: 100%; */
  height: 95px;
  margin: 0 auto 16px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--diffgreen-green-4);
}

#diffgreen .diffgreen_item_media_tag {
  max-height: 95px;
}

#diffgreen .diffgreen_item_media_tag-bottom {
  object-position: center bottom;
}

#diffgreen .diffgreen_ocean {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

#diffgreen .diffgreen_ocean-desktop {
  display: none;
}

#diffgreen .diffgreen_ocean-mobile {
  display: block;
}

#diffgreen .diffgreen_bubble {
  transform-box: fill-box;
  transform-origin: center;
  animation-duration: 5.8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-name: diffgreenBubbleFloatA;
  will-change: transform, opacity;
}

#diffgreen .diffgreen_bubble-2,
#diffgreen .diffgreen_bubble-5 {
  animation-name: diffgreenBubbleFloatB;
  animation-duration: 7.2s;
  animation-delay: -1.4s;
}

#diffgreen .diffgreen_bubble-3,
#diffgreen .diffgreen_bubble-6 {
  animation-name: diffgreenBubbleFloatC;
  animation-duration: 6.6s;
  animation-delay: -2.2s;
}

#diffgreen .diffgreen_bubble-4 {
  animation-duration: 8s;
  animation-delay: -3.1s;
}

@keyframes diffgreenBubbleFloatA {
  0% {
    transform: translate3d(0, 12px, 0) scale(0.82);
    opacity: 0;
  }
  12% {
    opacity: 0.38;
  }
  52% {
    opacity: 0.62;
  }
  88% {
    opacity: 0.2;
  }
  100% {
    transform: translate3d(4px, -18px, 0) scale(1.1);
    opacity: 0;
  }
}

@keyframes diffgreenBubbleFloatB {
  0% {
    transform: translate3d(2px, 14px, 0) scale(0.78);
    opacity: 0;
  }
  14% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.58;
  }
  86% {
    opacity: 0.18;
  }
  100% {
    transform: translate3d(-5px, -20px, 0) scale(1.14);
    opacity: 0;
  }
}

@keyframes diffgreenBubbleFloatC {
  0% {
    transform: translate3d(-1px, 10px, 0) scale(0.84);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  55% {
    opacity: 0.64;
  }
  90% {
    opacity: 0.24;
  }
  100% {
    transform: translate3d(6px, -16px, 0) scale(1.08);
    opacity: 0;
  }
}


#diffgreen .diffgreen_item_text {
  border-radius: 15px;
  border: 1px solid var(--diffgreen-sand-3);
  padding: 8px;
  color: var(--diffgreen-forest) !important;
  font-family: 'IberPangeaText' !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-height: 68px;
}

#diffgreen .diffgreen_item_text span {
  display: block;
  margin-bottom: 4px;
}

#diffgreen .diffgreen_item_text strong {
  display: block;
  color: var(--diffgreen-green-1) !important;
  font-family: 'IberPangea Bold' !important;
  font-size: 24px;
  line-height: 1.16;
  font-weight: normal;
}

#diffgreen .diffgreen_source {
  color: var(--diffgreen-sand-7) !important;
  font-family: "IberPangeaText" !important;
  font-size: 12px;
  line-height: 1.33;
  font-style: italic;
  font-weight: normal;
  text-align: left;
  margin-bottom: 0;
}

@media (min-width: 700px) {

  #diffgreen {
    padding: 40px 32px;
  }

  #diffgreen .swiper-button-prev:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/plasticos-biodegradables/images/ico-prev-hover.svg");
  }

  #diffgreen .swiper-button-next:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/plasticos-biodegradables/images/ico-next-hover.svg");
  }

  #diffgreen .diffgreen_title {
    font-size: 32px;
    line-height: 1.125;
    margin-bottom: 32px;
  }

  #diffgreen .diffgreen_content {
    margin-bottom: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  #diffgreen .diffgreen_subtitle {
    margin-bottom: 16px;
  }

  #diffgreen .diffgreen_media {
    width: calc(59% - 4px);
    margin: 0;
  }

  #diffgreen .diffgreen_ocean-desktop {
    display: block;
  }

  #diffgreen .diffgreen_ocean-mobile {
    display: none;
  }

  #diffgreen .diffgreen_item_media {
    height: 190px;
    flex: 1 1 auto;
  }

  #diffgreen .diffgreen_item_media_tag {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  
  #diffgreen .diffgreen_swiper {
    width: calc(41% - 4px);
    flex: 1;
  }

  #diffgreen .diffgreen_item {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #diffgreen .diffgreen_item_text {
    flex: 0 0 auto;
    min-height: 95px;
  }

  #diffgreen .diffgreen_source {
    font-size: 14px;
    line-height: 1.28;
  }
  
}

@media (prefers-reduced-motion: reduce) {
  #diffgreen .diffgreen_bubble {
    animation: none;
  }
}
