.list-and-description {
    max-width: 100%;
    width: 100%;
    background: #000;
    overflow-y: clip;
}

.list-and-description .list-wrapper {
    max-width: 172rem;
    width: 100%;
    margin: auto;
    display: flex;
    height: 87.8rem;
    padding: 10rem 9.6rem 0 8rem;
}

.list-and-description .titles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.list-and-description .item-title {
    cursor: pointer;
    width: fit-content;
    height: fit-content;
}

.list-and-description .item-title:hover h3,
.list-and-description .item-title.active h3{
    font-size: 4.8rem;
}

.list-and-description .item-title h3 {
    font-family: Helvetica Neue !important;
    font-weight: 300;
    font-style: italic;
    font-size: 3.6rem;
    line-height: 6rem;
    text-transform: capitalize;
    color: #ffff;
}

.list-and-description .content {
    max-width: 62rem;
    width: 100%;
}

.list-and-description .item-content {
    display: flex;
    padding: 0 0 3rem;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.list-and-description .description {
    font-family: Helvetica Neue;
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 160%;
    color: #FFFF;
    transform: scale(.9);
    opacity: 0;
    transition: all 0.95s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.list-and-description .image-wrapper {
    display: flex;
    justify-content: flex-end;
    transform: scale(1.1);
    filter: brightness(300%);
    transition: 
      transform 0.95s cubic-bezier(0.165, 0.84, 0.44, 1),
      filter    0.95s cubic-bezier(0.165, 0.84, 0.44, 1),
      clip-path    0.95s cubic-bezier(0.165, 0.84, 0.44, 1),
      opacity    0.95s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.list-and-description .item-title h3 {
  text-decoration: none;
  display: inline;               /* tiene que ser inline para poder partir en varias líneas */
  padding-bottom: 2px;
  
  /* gradiente puro para la línea */
  background-image: linear-gradient(to right, #D4A896 0%, #D4A896 100%);
  background-repeat: no-repeat;
  background-size: 0 6px;        /* empieza oculto */
  background-position: 0 50%;   /* alinea en la base de cada línea */
  transition: 
    background-size 0.35s linear,
    font-size       0.35s ease-in-out;

  /* fuerza que cada trozo de texto en varias líneas tenga su propio fondo */
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

.list-and-description .item-title.active h3,
.list-and-description .item-title h3:hover {
	background-size: 100% 6px;
}


.list-and-description .titles {
  position: relative;
  z-index: 1;
  --gradient-height: 0px;
}

.list-and-description .titles::before {
    content: '';
    position: absolute;
    top: -10rem;
    right: calc(0% + 15rem);
    width: 50vw;
    height: var(--gradient-height);
    background: linear-gradient(to right, #5a4942, transparent);
    pointer-events: none;
    transition: height 0.3s ease;
    z-index: -1;
}

.list-and-description .item-content.active {
    opacity: 1;
    z-index: 10000;
}

.content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.list-and-description .item-content.active .description {
    opacity: 1;
    transform: scale(1);
}

.list-and-description     .arrows {
    position: absolute;
    right: 0;
    display: none;
    justify-content: space-between;
    flex-direction: row;
    bottom: 4rem;
    gap: 1.2rem;
}

.list-and-description    button.prev {
    border: solid 1px #fff;
    width: 3.7rem;
    height: 3.7rem;
    background: transparent;
    border-radius: 6rem;
    transform: rotate(270deg);
}

.list-and-description    button.next {
    border: solid 1px #fff;
    width: 3.7rem;
    height: 3.7rem;
    background: #ffffff;
    border-radius: 6rem;
    transform: rotate(90deg);
}

.list-and-description    button.next img {
    filter: brightness(0);
}

.page-id-2067 .list-and-description .item-title:hover h3, .page-id-2067 .list-and-description .item-title.active h3 {
    font-size: 4.2rem;
}

.page-id-2067 .list-and-description .item-title h3 {
    font-size: 3.2rem;
}


@media (max-width: 767px) {
    
    .list-and-description     .arrows { 
        display: flex !important;
    }
    
    .list-and-description .list-wrapper {
        flex-direction: column;
        height: auto;
        padding: 2.1rem 2.5rem 2.1rem;
    } 
    .list-and-description .titles {
        position: relative;
        z-index: 1;
        --gradient-height: 0px;
        height: 19rem !important;
        flex: auto;
        overflow: hidden;
    }
    .list-and-description .item-title h3 {
        font-size: 1.8rem !important;
        line-height: 2rem !important;

    }
    .list-and-description .item-title:hover h3, .list-and-description .item-title.active h3 {
        font-size: 2.3rem !important;
        line-height: 2rem;
    }
    .list-and-description .item-content.active {
        position: relative;
    }
    .list-and-description .description {
        font-size: 1.6rem;
        padding-bottom: 3rem;
    }
    .list-and-description .image-wrapper img {
        width: 100% !important;
    }
    .list-and-description .titles::before {
        display: none;
    }
    
    .list-and-description .content-wrapper {
        min-height: auto;
    }
    
    .list-and-description .item-title {
        transform: translateY(-15rem);
        position: absolute;
    }
    
    .item-title.active {
        transform: translateY(11rem);
        opacity: 1 !important;
        width: 70%;
    }
    .item-title.active  h3 {
       background-size: 100% 3px !important;
    }
    
    .item-title.next {
        transform: translateY(6rem);
        opacity: .8 !important;
    }
    
    .item-title.next-2 {
        transform: translateY(1rem);
        opacity: .8 !important;
    }
    
    .item-title.previous {
        transform: translateY(30rem);
    }
    
    .list-and-description .item-title {
        transition: all 0.95s cubic-bezier(0.165, 0.84, 0.44, 1);
        opacity: 0;
    }
    
    
    
        
    
    
}