{% import "../_variables.css" as var %}

.story-slider .splide__slide {
  padding: 10px;
}
.story-card{
    background:#fff;
    border-radius:24px;
    padding: 35px 46px;
    display:grid;
    grid-template-columns:1.3fr 0.8fr;
    gap:80px;
    box-shadow:0 0px 10px rgba(0,0,0,.08);
    align-items:center;
}

.story-badge{
  border: 2px solid #2535ff;
  border-radius: 999px;
  color: #2535ff;
  display: inline-flex;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 5px 30px;
}

.story-quote{
  height: 100px;
}
.story-quote img {
  height: 100%;
}

.story-text{
    margin-top: 20px;
}

.story-highlight{
    margin-top:30px;
    color:#2535ff;
    font-weight:700;
}

.story-footer{
    margin-top:30px;
}

.story-person-wrapper {
  display: block;
  height: 100%;
}
.story-person-md-wrapper {
  display: none;
  margin-bottom: 40px;
}
.story-person {
  display:flex;
  flex-direction:column;
  height: 100%;
  padding-bottom: 24px;
  justify-content: center;
}
.story-person img {
  width:100%;
  border-radius:24px;
  object-fit: contain;
}

.story-name{
  margin-top:30px;
  padding-bottom: 10px;
  font-weight:700;
  color:#f26a44;
  text-transform: uppercase;
}

.story-role{
  color:#f26a44;
  font-size: 14px;
}

.story-navigation {
  position: absolute;
  top: 50%;
  left: -45px;
  right: -45px;
  display: flex;
  justify-content: space-between;
}

.story-prev,
.story-next{
    color:#2535ff;
    border: none;
    background: transparent;
    width: 60px;
    height: 60px;
    font-size: 2rem;
}


@media (max-width: 1139px) {
  .story-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
  }
  .story-person-wrapper {
    display: none;
  }
  .story-person-md-wrapper {
    display: block;
  }
  .story-navigation {
    left: 0px;
    right: 0px;
  }
   .story-person img {
     max-height: 35vw;
  }
}
  

@media (max-width: 798px) {
   .story-person img {
     max-height: unset;
  }
  .story-navigation {
    left: -12px;
    right: -12px;
  }
}