.content__val {
  color: var(--lightblue);
  border: 2px solid var(--lightblue);
  padding: 0.5rem 1rem;
  font-weight: 600;
  margin-right: 1rem;
  margin-bottom: 0.25rem;
  border-radius: 5px;
}
.article {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 2rem;
}
.article > * {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.articles__slider .article__image {
  width: 100%;
}
.articles__slider .article__content {
  width: 100%;
}
.articles__slider .article__content a {
  margin: 0 auto;
}
.article__image {
  width: 10rem;
  background-color: gray;
  min-height: 11rem;
  background-position: center;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
}
.article__content {
  width: calc(100% - 10.75rem);
  background-color: var(--darkblue);
  color: white;
  border-radius: 5px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 11rem;
  flex-direction: column;
}
.article__content__text {
  width: 65%;
  align-self: flex-start;
}
.article__content__text > p {
  height: 3.5rem;
  overflow: hidden;
  position: relative;
}

.article__content__text > p::after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
  height: 1.2em;
  background: linear-gradient(
    to right,
    rgba(15, 23, 25, 0),
    var(--darkblue) 50%
  );
}
.article__content__button {
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.article__content__text > h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.article__content__button a {
  color: white;
  text-decoration: none;
}
.article__content__button div {
  background-color: var(--red);
  color: white;
  padding: 0.75rem 3rem;
  border-radius: 5px;
  font-weight: 700;
  box-shadow: 0px 0px 5px var(--red);
}
.articles__flex {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 3rem;
}
.articles__flex .article__image{
    margin-right: 1rem;
    width: 13rem;
}
.articles__flex .article__content{
  flex-direction: row;
  width: calc(100% - 14.75rem);
}
.articles .articles__flex {
  padding: 2rem;
}

@media screen and (max-width: 1000px) {
  .articles__flex .article {
    width: calc(50% - 1rem);
  }
  .articles__flex .article__image {
    width: 100%;
    margin: 0;
    padding-bottom: 56.256%;
    border-radius: 5px 5px 0 0;
  }
  .articles__flex .article__content {
    width: 100%;
    border-radius: 0px 0px 5px 5px;
  }
  .articles__flex .article__content__text {
    width: 100%;
  }
  .articles__flex .article__content__button {
    width: unset;
    margin: 2rem auto 0;
  }
}
@media screen and (max-width: 768px) {
  .articles__flex {
    padding: 2rem;
  }
  .articles__flex .article {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .articles__flex,
  .articles .articles__flex {
    padding: 2rem 1rem;
  }
}
