/* =========================================
   HOME MEDIA SECTION
========================================= */

.wlt-home-media{
  width: 100%;
  padding: 60px 20px;
  background: #EDE8E4;
  box-sizing: border-box;
  overflow: hidden;
}

.wlt-home-media__inner{
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Top */
.wlt-home-media__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.wlt-home-media__heading{
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 36px;
  line-height: 46px;
  font-weight: 600;
  color: #003A5C;
}

.wlt-home-media__arrows{
  display: flex;
  align-items: center;
  gap: 28px;
}

.wlt-home-media__arrow{
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wlt-home-media__arrow img{
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.wlt-home-media__arrow:hover{
  transform: translateY(-1px);
}

.wlt-home-media__arrow.is-disabled{
  opacity: 0.25;
  pointer-events: none;
}

/* Slider */
.wlt-home-media__slider{
  width: 100%;
  overflow: hidden;
}

.wlt-home-media__track{
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Card */
.wlt-home-media__card{
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  height: 550px;
  border: 1px solid #D9D9D9;
  border-radius: 20px;
  background: #FFFFFF;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.wlt-home-media__card-link{
  position: absolute;
  inset: 0;
  z-index: 5;
}

.wlt-home-media__pill{
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 6;
  padding: 8px 16px;
  border-radius: 4px;
  background: #DB8629;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
}

.wlt-home-media__image-wrap{
  width: 100%;
  height: 270px;
  flex: 0 0 270px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default for all cards */
.wlt-home-media__image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
}

/* Only first card image */
.wlt-home-media__card:first-child .wlt-home-media__image{
  object-fit: contain;
  object-position: center center;
}

.wlt-home-media__body{
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.wlt-home-media__title{
  margin: 0 0 14px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  color: #003A5C;
  
  min-height: 68px; /* 2 lines */
}

.wlt-home-media__description{
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #333333;
}

.wlt-home-media__meta{
  position: relative;
  z-index: 7;
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #636262;
}

.wlt-home-media__meta a,
.wlt-home-media__meta strong{
  color: #003A5C;
  font-weight: 400;
  text-decoration: none;
}

.wlt-home-media__meta time{
  color: #DB8629;
}

.wlt-home-media__dot{
  color: #003A5C;
}

.wlt-home-media__image-link{
    display:block;
    text-decoration:none;
}

.wlt-home-media__title-link{
    color:inherit;
    text-decoration:none;
    transition:opacity .3s ease;
}

.wlt-home-media__title-link:hover{
    opacity:.75;
}

/* Button */
.wlt-home-media__bottom{
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.wlt-home-media__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 12px 12px 20px;
  border-radius: 50px;
  background: #003A5C;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: capitalize;
}

.wlt-home-media__button:hover{
  color: #FFFFFF;
}

.wlt-home-media__button-icon{
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wlt-home-media__button-icon img{
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  transform-origin: center center;
}

/* Hover on the button/link wrapper */
.wlt-home-media__button:hover .wlt-home-media__button-icon img{
  transform: rotate(45deg);
}

/* Entrance */
.wlt-home-media__heading,
.wlt-home-media__arrows,
.wlt-home-media__card,
.wlt-home-media__bottom{
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.wlt-home-media.is-visible .wlt-home-media__heading,
.wlt-home-media.is-visible .wlt-home-media__arrows,
.wlt-home-media.is-visible .wlt-home-media__card,
.wlt-home-media.is-visible .wlt-home-media__bottom{
  opacity: 1;
  transform: translateY(0);
}

.wlt-home-media.is-visible .wlt-home-media__card:nth-child(1){ transition-delay: 0.08s; }
.wlt-home-media.is-visible .wlt-home-media__card:nth-child(2){ transition-delay: 0.16s; }
.wlt-home-media.is-visible .wlt-home-media__card:nth-child(3){ transition-delay: 0.24s; }

/* Laptop */
@media (min-width: 1025px) and (max-width: 1366px){
  .wlt-home-media{
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px){
  .wlt-home-media{
    padding: 50px 20px;
  }

  .wlt-home-media__card{
    flex-basis: calc((100% - 24px) / 2);
  }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px){
  .wlt-home-media{
    padding: 44px 20px;
  }

  .wlt-home-media__top{
    align-items: flex-end;
    margin-bottom: 22px;
  }

  .wlt-home-media__heading{
    font-size: 32px;
    line-height: 42px;
  }

  .wlt-home-media__arrows{
    gap: 14px;
  }

  .wlt-home-media__card{
    flex-basis: 100%;
    height: 540px;
  }

  .wlt-home-media__image-wrap{
    height: 285px;
    flex-basis: 285px;
  }

  .wlt-home-media__title{
    font-size: 22px;
    line-height: 32px;
  }
}