.articleSlider {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 40px 0;
}

.articleSlider__container {
  position: relative;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.articleSlider__content {
  margin-bottom: 40px;
}

.articleSlider__header {
  color: #1e1e1e;
  font-family: Verdana;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 97%;
  margin: 0;
  margin-bottom: 20px;
}

.articleSlider__text {
  color: #1e1e1e;
  font-family: Verdana;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 30px;
}

.articleSlider__text p:last-child {
  margin: 0;
}

.articleSlider__slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.articleSlider__slides {
  display: flex;
  transition: transform 0.3s ease;
}

.articleSlider__slide {
  display: flex;
  gap: 30px;
  width: 100%;
  flex: 0 0 100%;
  height: 350px;
  padding: 0 15px;
}

.articleSlider__article {
  flex: 1;
  display: flex;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.articleSlider__article:hover {
  transform: translateY(-5px);
}

.articleSlider__articleImage {
  flex: 0 0 50%;
  height: 100%;
  max-height: 350px;
  position: relative;
  overflow: hidden;
}

.articleSlider__articleImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.articleSlider__article:hover .articleSlider__articleImage img {
  transform: scale(1.05);
}

.articleSlider__articleContent {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.articleSlider__articleTitle {
  color: #7a7a7a;
  font-family: Verdana;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 97%; /* 13.58px */
  text-transform: uppercase;
  margin: 0;
  min-height: 30px;
}

.articleSlider__articleExcerpt {
  color: var(--Black, #000);
  font-family: Verdana;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.articleSlider__readMore {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: Verdana;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 30px;
  background: var(--006338, #006338);
  padding: 6px 14px;
  text-decoration: none;
  width: fit-content;
  margin-top: auto;
}

.articleSlider__readMore svg {
  height: 30px;
  padding-left: 15px;
  border-left: 1px solid #fff;
  margin-left: 15px;
}

.articleSlider__readMore:hover {
  background: #00371f;
}

.articleSlider__readMore svg path {
  stroke: currentColor;
}

.articleSlider__articleLink {
  color: var(--DarkGreen);
  font-family: Verdana;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: stretch;
  gap: 5px;
  transition: color 0.3s ease;
}

.articleSlider__articleLink:hover {
  color: #005177;
}

.articleSlider__navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  width: 100%;
}

.articleSlider__timeline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  padding: 0.5rem 0;
}

.articleSlider__timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #bfbab0;
  transform: translateY(-50%);
  z-index: 1;
}

.articleSlider__progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background-color: #00371f;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.3s ease, left 0.3s ease;
}

.articleSlider__dot {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
  z-index: 3;
}

.articleSlider__dot.is-active {
  background: var(--DarkGreen);
}

.articleSlider__bottomControls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.5rem;
}

.articleSlider__arrows {
  display: flex;
  gap: 0;
}

.articleSlider__prev,
.articleSlider__next {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.articleSlider__prev:hover,
.articleSlider__next:hover {
  color: #006338;
}

.articleSlider__viewAll {
  margin-left: auto;
}

.articleSlider__viewAll .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: var(--Black, #000);
  font-family: Verdana;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.articleSlider__viewAll .button:hover {
  color: #006338;
}

.articleSlider__viewAll svg {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

/* Responsive styles */
@media (max-width: 992px) {
  .articleSlider__header {
    font-size: 28px;
  }

  .articleSlider__slide {
    flex-direction: column;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .articleSlider {
    padding: 30px 0;
  }

  .articleSlider__slider {
    width: 90%;
  }

  .articleSlider__article {
    flex-direction: column;
  }

  .articleSlider__container {
    width: 100%;
    padding: 0 15px;
  }

  .articleSlider__header {
    font-size: 24px;
  }

  .articleSlider__text {
    font-size: 15px;
  }

  .articleSlider__articleExcerpt {
    max-height: 65px;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .articleSlider {
    padding: 20px 0;
  }

  .articleSlider__slides {
    width: calc(100% - 30px);
  }

  .articleSlider__slide {
    flex: 1;
    height: 700px;
  }

  .articleSlider__articleImage {
    flex: 0 0 25%;
  }

  .articleSlider__header {
    font-size: 22px;
    margin-bottom: 15px;
  }

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

  .articleSlider__contentButton .button,
  .articleSlider__viewAll .button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
