:root {
  --treturn-white: #FFFFFF;
  --treturn-forest: #00402A;
  --treturn-green: #00A443;
  --treturn-green-1: #007F33;
  --treturn-green-4: #5BD38C;
  --treturn-green-45: rgba(91, 211, 140, 0.50);
  --treturn-sand: #FFF5EC;
  --treturn-sand-1: #FFFEFF;
  --treturn-sand-3: #D8CFC7;
  --treturn-sand-6: #615D5A;
  --treturn-sunset-4: #FFCD52;
  --treturn-sunset-475: #FFD97D;
  --treturn-sky-4: #6BDAFF;
  --treturn-sky-230: #B4DEF7;
}

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

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

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

#treturn h2,
#treturn h3,
#treturn h4 {
  margin-top: 0 !important;
}

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

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

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

#treturn .treturn_title {
  color: var(--treturn-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: 16px;
}

#treturn .treturn_title strong {
  font-style: normal;
  font-weight: normal;
  font-family: "IberPangea Bold" !important;
}

#treturn .treturn_description {
  color: var(--treturn-forest) !important;
  font-style: normal;
  font-weight: normal;
  font-family: "IberPangea" !important;
  font-size: 21px;
  line-height: 1.14;
  text-align: left;
  margin-bottom: 24px;
}

#treturn .treturn_content {
  border-radius: 15px;
  background: var(--treturn-sand-1);
  padding: 10px;
  margin-bottom: 24px;
}

#treturn .treturn_media {
  position: relative;
  width: 100%;
  max-width: 258px;
  margin: 0 auto;
  padding-left: 50px;
  padding-bottom: 140px;
}

#treturn .treturn_legend {
  position: absolute;
}

#treturn .treturn_legend-x {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  bottom: 10px;
  left: 50px;
  width: calc(100% - 50px);
}

#treturn .treturn_legend-y {
  width: 44px;
  left: 0;
  top: 68px;
}

#treturn .treturn_legend-y .treturn_legend_item {
  color: var(--treturn-sand-3) !important;
  font-family: "IberPangeaText" !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  margin-bottom: 80px !important;
}

#treturn .treturn_legend-x .treturn_legend_item {
  color: var(--treturn-sand-6) !important;
  font-family: "IberPangeaText" !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  text-wrap: balance;
  position: relative;
  width: 40px;
  height: 116px;
}

#treturn .treturn_legend-x .treturn_legend_item span {
  transform: rotate(-90deg);
  position: absolute;
  top: 36px;
  left: -32px;
  width: 126px;
  height: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#treturn .treturn_legend_item em {
  font-style: italic;
}

#treturn .treturn_media_inner {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  min-height: 363px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/retorno-total-accionistas/images/grafico-m.svg');
  background-repeat: no-repeat;
  background-position: left 62px;
  background-size: 192px auto;
}

#treturn .treturn_media_column {
  width: 40px;
}

#treturn .treturn_media_label {
  color: var(--treturn-forest) !important;
  font-family: "IberPangeaText Bold" !important;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  display: block;
  margin-bottom: 4px;
}

#treturn .treturn_media_block {
  display: block;
  height: 0;
  transition: all 0.5s;
}

#treturn .treturn_media_block-1 {
  border-radius: 5px 5px 0 0;
  background: #5BD38C;
}

#treturn .treturn_media_block-2 {
  background: #00A443;
}

#treturn .treturn_media_block-3 {
  background: #00402A;
}

#treturn .treturn_points {}

#treturn .treturn_points_item {
  padding-left: 40px;
  position: relative;
  margin-bottom: 16px !important;
  color: var(--treturn-sand-6) !important;
  font-family: "IberPangeaText" !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  text-wrap: balance;
}

#treturn .treturn_points_item:after {
  content: '';
  display: block;
  width: 16px;
  min-width: 16px;
  height: 16px;
  border-radius: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
}

#treturn .treturn_points_item-1:after {
  background-color: var(--treturn-forest);
}

#treturn .treturn_points_item-2:after {
  background-color: var(--treturn-green);
}

#treturn .treturn_points_item-3:after {
  background-color: var(--treturn-green-4);
}

#treturn .treturn_note {
  color: var(--treturn-sand-6) !important;
  font-family: "IberPangeaText" !important;
  font-size: 12px;
  line-height: 1.33;
  font-style: italic;
  font-weight: normal;
  text-align: left;
}

#treturn .treturn_source {
  margin-top: 12px;
  color: var(--treturn-sand-6) !important;
  font-family: "IberPangeaText" !important;
  font-size: 12px;
  line-height: 1.33;
  font-style: italic;
  font-weight: normal;
  text-align: left;
}

#treturn.viewport .treturn_media_column-1 .treturn_media_block-1 {
  height: 61px;
}

#treturn.viewport .treturn_media_column-1 .treturn_media_block-2 {
  height: 36px;
}

#treturn.viewport .treturn_media_column-1 .treturn_media_block-3 {
  height: 33px;
}

#treturn.viewport .treturn_media_column-2 .treturn_media_block-1 {
  height: 52px;
}

#treturn.viewport .treturn_media_column-2 .treturn_media_block-2 {
  height: 54px;
}

#treturn.viewport .treturn_media_column-2 .treturn_media_block-3 {
  height: 63px;
}

#treturn.viewport .treturn_media_column-3 .treturn_media_block-1 {
  height: 41px;
}

#treturn.viewport .treturn_media_column-3 .treturn_media_block-2 {
  height: 48px;
}

#treturn.viewport .treturn_media_column-3 .treturn_media_block-3 {
  height: 91px;
}

#treturn.viewport .treturn_media_column-4 .treturn_media_block-1 {
  height: 104px;
}

#treturn.viewport .treturn_media_column-4 .treturn_media_block-2 {
  height: 76px;
}

#treturn.viewport .treturn_media_column-4 .treturn_media_block-3 {
  height: 160px;
}

#treturn .treturn_points_item,
#treturn .treturn_media_block {
  opacity: 1;
  transition: all 0.5s;
}

#treturn .treturn_points_item.inactive,
#treturn .treturn_media_block.inactive {
  opacity: 0.3;
}

@media (min-width: 700px) {

  #treturn {
    padding: 40px 32px;
  }

  #treturn .treturn_title {
    font-size: 32px;
    line-height: 1.125;
  }

  #treturn .treturn_description {
    font-size: 24px;
    line-height: 1.16;
  }

  #treturn .treturn_note,
  #treturn .treturn_source {
    font-size: 14px;
    line-height: 1.28;
  }

  #treturn .treturn_legend-y {
    width: 49px;
    top: 70px;
  }

  #treturn .treturn_legend-y .treturn_legend_item {
    font-size: 16px;
  }

  #treturn .treturn_legend-x {
    bottom: 20px;
  }

  #treturn .treturn_legend-x .treturn_legend_item {
    width: 105px;
  }

  #treturn .treturn_legend-x .treturn_legend_item span {
    transform: rotate(-50deg);
    left: 0px;
    top: 40px;
  }

  #treturn .treturn_legend-x .treturn_legend_item:first-child span {
    left: 20px;
  }

  #treturn .treturn_media {
    max-width: 484px;
    padding-bottom: 126px;
  }

  #treturn .treturn_media_inner {
    gap: 32px;
    min-height: 385px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/retorno-total-accionistas/images/grafico-t.svg');
    background-position: left 41px;
    background-size: 441px auto;
  }

  #treturn .treturn_media_column {
    width: 66px;
  }

  #treturn .treturn_media_label {
    font-size: 20px;
  }

}

@media (min-width: 1000px) {

  #treturn .treturn_legend-x {
    gap: 80px;
    width: 100%;
  }

  #column-2 #treturn .treturn_legend-x {
    gap: 8px;
    width: calc(100% - 50px);
  }

  #treturn .treturn_legend-x .treturn_legend_item {
    width: 116px;
  }

  #column-2 #treturn .treturn_legend-x .treturn_legend_item {
    width: 105px;
  }

  #treturn .treturn_legend-x .treturn_legend_item span {
    transform: none;
    top: 30px;
  }

  #column-2 #treturn .treturn_legend-x .treturn_legend_item span {
    transform: rotate(-50deg);
    top: 40px;
  }

  #treturn .treturn_legend-x .treturn_legend_item:first-child span {
    left: 0px;
  }

  #column-2 #treturn .treturn_legend-x .treturn_legend_item:first-child span {
    left: 20px;
  }

  #treturn .treturn_media {
    max-width: 841px;
  }

  #column-2 #treturn .treturn_media {
    max-width: 484px;
  }

  #treturn .treturn_media_inner {
    gap: 80px;
    min-height: 385px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/retorno-total-accionistas/images/grafico-d.svg');
    background-position: left 38px;
    background-size: 789px auto;
  }

  #column-2 #treturn .treturn_media_inner {
    gap: 32px;
    min-height: 385px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/retorno-total-accionistas/images/grafico-t.svg');
    background-position: left 41px;
    background-size: 441px auto;
  }

  #treturn .treturn_media_column {
    width: 116px;
  }

  #column-2 #treturn .treturn_media_column {
    width: 66px;
  }

  #treturn .treturn_points {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
  }

  #column-2 #treturn .treturn_points {
    display: block;
    gap: 0px;
  }

  #treturn .treturn_points_item {
    max-width: 266px;
  }

  #column-2 #treturn .treturn_points_item {
    max-width: 100%;
  }
}