:root {
  --goalssust-white: #fff;
  --goalssust-green: #00a443;
  --goalssust-green-1: #007f33;
  --goalssust-border: #d8cfc7;
  --goalssust-sand: #FFF5EC;
  --goalssust-sand-1: #fffeff;
  --goalssust-sand-3: #D8CFC7;
  --goalssust-sand-6: #615D5A;
  --goalssust-sand-7: #3A3735;
  --goalssust-sand-dark: #EBE2DA;
  --goalssust-sky: #d8f3ff;
  --goalssust-forest: #00402a;
}

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

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

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

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

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

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

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

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

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

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

#goalssust .swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}

#goalssust .swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}

#goalssust .swiper-fade .swiper-slide-active,
#goalssust .swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

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

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

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

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

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

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

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

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

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

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

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

#goalssust .swiper-button-prev,
#goalssust .swiper-button-next {
  width: 32px;
  height: 32px;
  display: block !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  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;
}

#goalssust .swiper-button-prev {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/paises-generan-gei/images/ico-prev.svg");
}

#goalssust .swiper-button-next {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/paises-generan-gei/images/ico-next.svg");
}

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

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

#goalssust .swiper-pagination {
  border-radius: 24px;
  border: 1px solid var(--goalssust-forest);
  padding: 5px 16px;
  color: var(--goalssust-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;
}

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

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

#goalssust .goalssust_swiper {
  width: 100%;
  overflow: hidden;
}

#goalssust .goalssust_title {
  color: var(--goalssust-green-1) !important;
  font-style: normal;
  font-weight: normal;
  font-family: 'IberPangea' !important;
  font-size: 32px;
  line-height: 1.125;
  text-align: left;
  margin-bottom: 20px;
}

#goalssust .goalssust_title strong {
  font-style: normal;
  font-weight: normal;
  font-family: 'IberPangea Bold' !important;
  font-size: 32px;
  line-height: 1.125;
}

#goalssust .goalssust_item_title {
  padding: 8px 16px;
  border-radius: 16px 16px 0 0;
  background-color: var(--goalssust-green-1);
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--goalssust-sand-1) !important;
  font-size: 18px;
  line-height: 1.22;
  text-align: left;
  text-wrap: balance;
  font-style: normal;
  font-weight: normal;
  font-family: 'IberPangea Medium' !important;
}

#goalssust .goalssust_item_content {
  min-height: 100px;
  border-radius: 0 0 15px 15px;
  border: 1px solid var(--goalssust-sand-3);
  width: 100%;
}

#goalssust .goalssust_item_content_inner {
  width: 100%;
  overflow-x: auto;
}

#goalssust .goalssust_item_content_inner::-webkit-scrollbar {
  width: 10px;
}

#goalssust .goalssust_item_content_inner::-webkit-scrollbar-track {
  background: #D8CFC7;
  border-radius: 16px;
}

#goalssust .goalssust_item_content_inner::-webkit-scrollbar-thumb {
  background: #B0A9A3;
  border-radius: 16px;
}

#goalssust .goalssust_item_content_inner::-webkit-scrollbar-thumb:hover {
  background: green;
}

#goalssust .goalssust_item_media {
  width: 100%;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/paises-generan-gei/images/grafico-1.svg?t=1405');
  background-repeat: no-repeat;
  background-position: 72px 16px;
  background-size: auto 300px;
  /* min-width: 501px; */
  min-width: 350px;
  margin: 0;
  padding: 16px 16px 16px 72px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 361px;
}

#goalssust .goalssust_item-2 .goalssust_item_media {
  padding-left: 45px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/paises-generan-gei/images/grafico-2.svg?t=1405');
  background-position: 42px 16px;
}

#goalssust .goalssust_item-2 .goalssust_legend-y {
  left: -26px;
}

#goalssust .goalssust_legend-y {
  position: absolute;
  top: 16px;
  left: 0;
  width: 57px;
}

#goalssust .goalssust_legend-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 4px);
  /* max-width: 413px; */
  margin-top: auto;
}

#goalssust .goalssust_labels {
  position: absolute;
  top: 16px;
  left: 72px;
  width: calc(100% - 88px);
  height: calc(100% - 62px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#goalssust .goalssust_labels_item,
#goalssust .goalssust_legend_item {
  text-align: right;
  color: var(--goalssust-sand-6) !important;
  text-align: right;
  font-family: "IberPangeaText" !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
}

#goalssust .goalssust_labels_item:after {
  content: '';
  display: block;
  width: 10px;
  min-width: 10px;
  height: 10px;
  background-color: var(--goalssust-green);
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 100%;
}

#goalssust .goalssust_legend-y .goalssust_legend_item {
  margin-bottom: 21px !important;
}

#goalssust .goalssust_item-2 .goalssust_legend-y .goalssust_legend_item {
  margin-bottom: 15px !important;
}

#goalssust .goalssust_labels_item {
  /* width: 45px; */
  text-align: center;
  position: relative;
}

#goalssust .goalssust_labels_item-1 {
  margin-top: 11px;
  transform: translateX(4px);
}

#goalssust .goalssust_labels_item-2 {
  margin-top: 176px;
}

#goalssust .goalssust_labels_item-3 {
  margin-top: 210px;
}

#goalssust .goalssust_labels_item-4 {
  margin-top: 220px;
}

#goalssust .goalssust_labels_item-5 {
  margin-top: 223px;
}


#goalssust .goalssust_item-2 .goalssust_labels_item-1 {
  margin-top: 27px;
  transform: translateX(-12px);
}

#goalssust .goalssust_item-2 .goalssust_labels_item-2 {
  margin-top: 178px;
}

#goalssust .goalssust_item-2 .goalssust_labels_item-3 {
  margin-top: 206px;
}

#goalssust .goalssust_item-2 .goalssust_labels_item-4 {
  margin-top: 218px;
}

#goalssust .goalssust_item-2 .goalssust_labels_item-5 {
  margin-top: 223px;
  transform: translateX(-12px);
}

#goalssust .goalssust_source {
  color: var(--goalssust-sand-6) !important;
  font-size: 14px;
  line-height: 1.28;
  text-align: left;
  font-style: italic;
  font-weight: normal;
  font-family: 'IberPangeaText' !important;
  margin-top: 24px;
}

@media (min-width: 700px) {

  #goalssust {
    padding: 26px 32px;
  }

  #goalssust .swiper-button-prev:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/paises-generan-gei/images/ico-prev-hover.svg");
  }

  #goalssust .swiper-button-next:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/paises-generan-gei/images/ico-next-hover.svg");
  }

}