:root {
  --announcement-bar-height: 0px;
  --show-fade-animation: 1;
}

/* Slider container */
.m-featured-slider.swiper {
  height: 350px;
  margin: -40px -20px 40px;
  overflow: hidden !important;
  position: relative;
  transition: all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1);
}

@media only screen and (min-width: 48rem) {
  .m-featured-slider.swiper {
    border-radius: 10px;
    height: 420px;
    margin: -40px 10px 20px;
    width: 100%;
  }

  .m-featured-slider.swiper:hover {
    box-shadow: var(--article-shadow-hover), 0 0 0 transparent;
    transform: translateY(-5px);
  }
}

@media only screen and (min-width: 64rem) {
  .m-featured-slider.swiper {
    margin: 0 20px 40px;
    overflow: unset;

  }
}

.m-featured-slider:not(:root:root) {
  overflow: hidden !important;
}

.m-featured-slider__list {
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 48rem) {
  .m-featured-slider__list {
    border-radius: 10px;
  }
}

.m-featured-slider__list__item {
  height: 100%;
  overflow: hidden;
}

@media only screen and (min-width: 48rem) {
  .m-featured-slider__list__item {
    border-radius: 10px;
  }
}

/* Article main block */
.m-featured-article {
  background-color: var(--primary-subtle-color);
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.m-featured-article:hover .m-featured-article__author {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 0 transparent;
}

.m-featured-article.no-picture .m-featured-article__picture {
  background-color: var(--primary-subtle-color);
}

/* Background image block */
.m-featured-article__picture {
  background-color: #000;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.m-featured-article__picture div {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  opacity: 0.7;
  width: 100%;
}

/* Meta info (author + tag) */
.m-featured-article__meta {
  left: 20px;
  position: absolute;
  top: 20px;
  z-index: 4;
}

@media only screen and (min-width: 48rem) {
  .m-featured-article__meta {
    left: 40px;
    top: 40px;
  }
}

.rtl .m-featured-article__meta {
  left: auto;
  right: 20px;
}

@media only screen and (min-width: 48rem) {
  .rtl .m-featured-article__meta {
    left: auto;
    right: 40px;
  }
}

/* Author avatar */
.m-featured-article__author {
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: block;
  height: 35px;
  margin-bottom: 20px;
  transition: all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1);
  width: 35px;
}

.m-featured-article__author div {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  height: 100%;
  width: 100%;
}

/* Tag label */
.m-featured-article__tag {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Ribbon */
.m-featured-article__ribbon {
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  color: #000;
  display: flex;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 26px;
  width: 24px;
  z-index: 2;
}

@media only screen and (min-width: 48rem) {
  .m-featured-article__ribbon {
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    height: 22px;
    justify-content: flex-start;
    padding: 0 7px;
    right: 40px;
    top: 47px;
    width: auto;
  }
}

.m-featured-article__ribbon span {
  display: inline-block;
}

@media only screen and (min-width: 48rem) {
  .m-featured-article__ribbon span:first-of-type {
    font-size: 0.75rem;
    margin-right: 4px;
  }
}

.m-featured-article__ribbon span:last-of-type {
  display: none;
}

@media only screen and (min-width: 48rem) {
  .m-featured-article__ribbon span:last-of-type {
    display: block;
  }
}

.rtl .m-featured-article__ribbon {
  left: 20px;
  right: auto;
}

@media only screen and (min-width: 48rem) {
  .rtl .m-featured-article__ribbon {
    left: 40px;
    right: auto;
  }

  .rtl .m-featured-article__ribbon span:first-of-type {
    margin-left: 4px;
    margin-right: 0;
  }
}

/* Content inside article */
.m-featured-article__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 120px 20px 20px;
  position: relative;
  width: 100%;
  z-index: 3;
}

@media only screen and (min-width: 48rem) {
  .m-featured-article__content {
    padding: 125px 40px 40px;
  }
}

/* Title */
.m-featured-article__title {
  color: #fff;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.3;
  margin: 0;
}

@media only screen and (min-width: 48rem) {
  .m-featured-article__title {
    font-size: 2.25em;
    letter-spacing: 0.5px;
    max-width: 80%;
  }
}

/* Timestamp */
.m-featured-article__timestamp {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
}

.m-featured-article__timestamp span:nth-child(2) {
  padding: 0 10px;
}
