.impact-stories-slider {
  background-color: #1C365F;
  padding: 100px 40px 80px 40px;
  color: #ffffff;
  overflow: hidden;
}

.impact-stories-track {
  display: flex;
  transition: transform 0.4s ease;
}

.impact-story-slide {
  min-width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.impact-story-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.impact-story-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.impact-story-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.impact-story-image{
  flex: 0 0 40%;
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* Fixed height instead of aspect ratio:
     height: 332px;
  */
}

.impact-story-content {
  flex: 1 1 50%;
}

.impact-story-label {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  opacity: 0.8;
  font-family: "freight-sans-pro", Sans-serif;
  font-size: 36px;
}

.impact-bold {
  font-weight: 700;
}

.impact-regular {
  font-weight: 400;
}

.impact-story-title {
  font-size: 2rem;
  margin: 0 0 12px;
  font-family: "freight-sans-pro", Sans-serif;
}

.impact-story-excerpt p {
  margin: 0 0 20px;
  line-height: 1.6;
  font-family: "freight-sans-pro", Sans-serif;
  font-size: 18px;
}

.impact-story-button {
	display: inline-block;
    padding: 10px 44px;
    background-color: #D86949;
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
    border-radius: 0px;
    text-transform: uppercase;
    font-family: "freight-sans-pro", Sans-serif;
    font-size: 20px;
}

.impact-story-button:hover,
.impact-story-button:focus {
  opacity: 0.9;
}

/* Dots */
.impact-stories-dots {
  text-align: center;
  margin-top: 20px;
}

.impact-stories-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    margin: 0 4px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 0px;
}

.impact-stories-dot:hover {
	background-color: #ffffff;
}

.impact-stories-dot.is-active {
  background-color: #7EB5D8;
}

/* Mobile */
@media (max-width: 768px) {
  .impact-story-inner {
    flex-direction: column;
    text-align: center;
  }

  .impact-story-image,
  .impact-story-content {
    flex: 1 1 100%;
  }

  .impact-story-title {
    font-size: 1.5rem;
  }
}
/* Single Impact Story featured image */
.impact-story-single-media{
  float: left;
  width: 40%;
  max-width: 420px;
  margin: 0 30px 20px 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;   /* adjust if you want */
}

.impact-story-single-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px){
  .impact-story-single-media{
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 20px 0;
  }
}