/* IN THE PRESS & INDUSTRY*/
#media {
    background-color: var(--black-olive-color);
}

#media .container {
  flex-direction: column;
}

#media .navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width:100%;
}
#media .text-wrapper {max-width: 35em;}
#media .text-wrapper h2 {
    color:white;
    font-weight: 400;
}
#media .arrows {
    display: flex;
}
#media button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--gold-color);
    border-radius: 50%;
    height: 4em;
    width: 4em;
    color: white;
    transition: background-color .25s;
}
#media button:hover {
  cursor: pointer;
  background:var(--gold-color);
}
#media button.prev {
    margin-right: calc(1em + 0.5vw);
    transform:rotate(180deg)}
#media .ico-next {
    font-size: 1.25em;
    line-height: 0;
}


.carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width:100%;
    margin-top: 3em;
  }
  .carousel::-webkit-scrollbar {
    display: none;
  }
  .carousel.no-transition {
    scroll-behavior: auto;
  }
  .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .carousel.dragging .article {
    cursor: grab;
    user-select: none;
  }
  

  .carousel img {
    width:100%;
    height: auto;
  }

  .carousel .article {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    scroll-snap-align: start;
    cursor: pointer;
    flex-direction: column;
    overflow: hidden;
  }
  .carousel figcaption {
    width:100%;
    padding: 2em 1em 0;
  }
  .carousel h3 {
    margin:0;
    margin-bottom:.5em;
    color:var(--gold-color);
    font-size: .825rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .075em;}
  .carousel h2 {
    margin-bottom:0;
    font-size: clamp(1.425rem, .75rem + 1vw, 1.5rem);
    color:#fff;}
  
  @media screen and (max-width: 900px) {
    #media .arrows {display: none;}

    .carousel {
      grid-auto-columns: calc((100% / 2) - 9px);
    }
  }
  
  @media screen and (max-width: 600px) {
    .carousel {
      grid-auto-columns: 100%;
    }
  }