.stories-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.story {
  transition: all 0.3s;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e1e2e6;
  width: calc(50% - 16px);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 320px;
  overflow: hidden;
}

.story:hover {
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.06);
}

.story .story-top {
  height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story .story-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.story .story-header .story-logo {
  background: white;
  border-bottom-right-radius: 40px;
  width: 170px;
  height: auto;
  object-fit: contain;
}

.story .story-header .story-video-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 44px;
  margin-top: 16px;
  margin-right: 16px;
  background: rgba(32, 36, 55, 0.2);
  color: #ffffff;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 700;
  cursor: pointer;
}

.story .story-header .story-video-btn img {
  width: 28px;
  height: 28px;
  margin-right: 4px;
}

.story .story-location {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  flex-direction: column;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0) 100%);
}

.story .story-location .location-top {
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  width: 100%;
  margin-bottom: 4px;
}

.story .story-location .location-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story .story-location .location-bottom .location {
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0;
}

.story .story-location .location-bottom .story-type {
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  line-height: 31px;
  letter-spacing: 0;
  vertical-align: middle;
  height: 31px;
  color: #202437;
  border-radius: 100px;
  text-align: center;
  background: #ffffff;
}

.story .story-bottom {
  min-height: 360px;
  padding: 28px;
  position: relative;
}

.story .story-bottom .story-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #202437;
  font-weight: 700;
  font-size: 30px;
  line-height: 41px;
  letter-spacing: 0;
  text-align: left;
  margin-bottom: 10px;
}

.story .story-bottom .story-person {
  color: #202437;
  font-weight: 600;
  font-size: 20px;
  line-height: 160%;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.story .story-bottom .story-quote {
  color: #515666;
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0;
}

.story .story-bottom .story-learn-more {
  position: absolute;
  bottom: 28px;
  left: 28px;
  width: 175px;
  height: 40px;
  padding: 12px 42px;
  border-radius: 100px;
  border: 1px solid #3b5cde;
  font-weight: 500;
  font-size: 16px;
  line-height: 14px;
  letter-spacing: 0;
  color: #3b5cde;
  display: inline-block;
}

.story .story-bottom .story-learn-more:hover {
  background: #3b5cde;
  color: #fff;
}

@media (max-width: 800px) {
  .stories-wrapper {
    flex-direction: column;
    gap: 20px 0;
  }

  .story {
    width: 100%;
    min-width: 0;
  }

  .story .story-top {
    position: relative;
    padding-top: 62.69%;
    height: auto;
    width: 100%;
  }

  .story .story-top .story-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .story .story-top .story-header .story-logo {
    background: none;
    border-bottom-right-radius: 0;
    width: 90px;
    height: auto;
  }

  .story .story-top .story-header .story-video-btn {
    padding: 4px 12px;
    margin-top: 12px;
    margin-right: 12px;
    line-height: unset;
    font-size: 14px;
    height: auto;
    width: auto;
  }

  .story .story-top .story-header .story-video-btn img {
    height: 24px;
    width: 24px;
  }

  .story .story-top .story-location {
    padding: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .story .story-top .story-location .location-top {
    margin-bottom: -5px;
  }

  .story .story-top .story-location .location-bottom {
    align-items: flex-end;
  }

  .story .story-top .story-location .location-bottom .location {
    font-size: 14px;
    line-height: 24px;
  }

  .story .story-top .story-location .location-bottom .story-type {
    height: 28px;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    padding: 6px 12px;
  }

  .story .story-bottom {
    min-height: 0px;
    padding: 14px;
  }

  .story .story-bottom .story-title {
    font-family: Manrope;
    font-size: 18px;
    line-height: 25px;
    display: block;
  }

  .story .story-bottom .story-person {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .story .story-bottom .story-quote {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .story .story-bottom .story-learn-more {
    width: 163px;
    position: static;
    font-size: 16px;
    padding: 12px 36px;
  }
} 