﻿.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  color: var(--color-text-dark);
}
@media (width <= 79.99875rem) {
  .article-card {
    flex: 100%;
  }
}
.article-card:hover .link-with-arrow {
  background: var(--color-primary);
  color: var(--color-bg-base);
  padding-inline: 2.1875rem;
  border-radius: 0.5rem;
}
[dir=rtl] .article-card:hover .link-with-arrow::after {
  background-image: url("../images/icons/arrow-left-color-bg-base.svg");
}
[dir=ltr] .article-card:hover .link-with-arrow::after {
  background-image: url("../images/icons/arrow-right-color-bg-base.svg");
}
.article-card__image {
  height: 16.375rem;
}
@media (width <= 79.99875rem) {
  .article-card__image {
    height: 11.5625rem;
  }
}
.article-card__image video,
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (width <= 79.99875rem) {
  .article-card__image video,
  .article-card__image img {
    border-radius: 1rem;
  }
}
.article-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--color-bg-base);
  padding: 1.5rem;
}
.article-card__date {
  opacity: 0.4;
  color: var(--color-primary-dark);
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}
.article-card__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2rem;
  margin-bottom: 0.5rem;
}
.article-card__text {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}
.article-card__category {
  font-size: 0.875rem;
  line-height: 1.5rem;
  border-radius: 3.25rem;
  background: var(--color-bg-base);
  padding: 0.25rem 1rem;
  white-space: nowrap;
  position: absolute;
  top: 1.5625rem;
}
[dir=rtl] .article-card__category {
  right: 1.125rem;
}
[dir=ltr] .article-card__category {
  left: 1.125rem;
}
@media (width <= 79.99875rem) {
  [dir=rtl] .article-card__category {
    right: 1.5rem;
  }
  [dir=ltr] .article-card__category {
    left: 1.5rem;
  }
}
.article-card .link-with-arrow {
  margin-top: auto;
}

.articles {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 3rem;
}
@media (width <= 79.99875rem) {
  .articles {
    flex-direction: column;
    gap: 2rem;
  }
}
.articles article,
.articles .article {
  flex: 0 1 calc((100% - 4rem) / 3);
}

.promotion-banner {
  margin-top: calc(var(--section-spacing) / 2);
  margin-bottom: calc(var(--section-spacing) / 2);
}
.promotion-banner__wrapper {
  border-radius: 1rem;
  background: var(--color-accent);
  color: var(--color-bg-base);
  display: flex;
  justify-content: space-between;
  min-height: 21rem;
}
@media (width <= 79.99875rem) {
  .promotion-banner__wrapper {
    flex-direction: column-reverse;
    min-height: auto;
  }
}
.promotion-banner__content {
  padding: 2.5rem;
  width: 60.7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (width <= 79.99875rem) {
  .promotion-banner__content {
    padding: 1.5rem;
    width: 100%;
  }
}
.promotion-banner__title {
  font-size: 2.5rem;
  line-height: 2.625rem;
  font-weight: 700;
  padding-bottom: 0.9375rem;
}
@media (width <= 79.99875rem) {
  .promotion-banner__title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
  }
}
.promotion-banner__description {
  font-size: 1.5rem;
  line-height: normal;
}
@media (width <= 79.99875rem) {
  .promotion-banner__description {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.promotion-banner__media-wrapper {
  width: 39.3%;
}
@media (width <= 79.99875rem) {
  .promotion-banner__media-wrapper {
    width: 100%;
    height: 10.25rem;
  }
}
.promotion-banner__video, .promotion-banner__image {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (width <= 79.99875rem) {
  .promotion-banner__video, .promotion-banner__image {
    border-radius: 0;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }
}
.promotion-banner .link-btn {
  margin-top: 2rem;
}

.share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
@media (width <= 79.99875rem) {
  .share {
    flex-wrap: wrap;
  }
}
.share__title {
  color: var(--color-primary);
  font-size: 1.125rem;
  line-height: 1.5rem;
}
.share__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.share__icon {
  background: var(--color-primary);
  border-radius: 0.8125rem;
  width: 2.625rem;
  height: 2.625rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.share__icon img {
  width: 2.25rem;
  height: 2.25rem;
}

.rte-image-block {
  height: 29.375rem;
  margin: 3rem 0;
}
@media (width <= 79.99875rem) {
  .rte-image-block {
    height: 15.625rem;
    margin: 2rem calc(-1 * var(--container-padding-x));
  }
}
.rte-image-block img {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (width <= 79.99875rem) {
  .rte-image-block img {
    border-radius: 0;
  }
}

.rte-video-block {
  height: 29.375rem;
  margin: 3rem 0;
}
@media (width <= 79.99875rem) {
  .rte-video-block {
    height: 15.625rem;
    margin: 2rem calc(-1 * var(--container-padding-x));
  }
}
.rte-video-block__video {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (width <= 79.99875rem) {
  .rte-video-block__video {
    border-radius: 0;
  }
}

.rte-video-with-text {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  margin: 3rem 0;
}
@media (width <= 79.99875rem) {
  .rte-video-with-text {
    border-radius: 0;
    margin: 2rem calc(-1 * var(--container-padding-x));
  }
}
.rte-video-with-text__video {
  width: 100%;
  height: auto;
  max-height: 31.5625rem;
  display: block;
  object-fit: cover;
}
@media (width <= 79.99875rem) {
  .rte-video-with-text__video {
    max-height: 13.625rem;
  }
}
.rte-video-with-text__text {
  padding: 1.5rem 2rem;
  background: var(--color-primary);
  color: var(--color-bg-base);
}
@media (width <= 79.99875rem) {
  .rte-video-with-text__text {
    padding: 1.5rem;
  }
}

.rte-two-images-block {
  display: flex;
  gap: 1rem;
  margin: 3rem 0;
}
@media (width <= 79.99875rem) {
  .rte-two-images-block {
    gap: 1.25rem;
    margin: 2rem 0;
    flex-direction: column;
    align-items: flex-end;
  }
}
.rte-two-images-block.reverse {
  flex-direction: row-reverse;
}
@media (width <= 79.99875rem) {
  .rte-two-images-block.reverse {
    flex-direction: column-reverse;
  }
}
.rte-two-images-block__second {
  width: 41.3%;
  height: 11.875rem;
}
@media (width <= 79.99875rem) {
  .rte-two-images-block__second {
    width: 75%;
    height: 10.1875rem;
  }
}
.rte-two-images-block__first {
  width: 58.7%;
  height: 18.125rem;
}
@media (width <= 79.99875rem) {
  .rte-two-images-block__first {
    width: 100%;
    height: 14.6875rem;
  }
}
.rte-two-images-block img {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rte-three-images-block {
  --slidesSpacingMob: 1rem;
  display: flex;
  gap: 1rem;
  margin: 3rem 0;
}
@media (width <= 79.99875rem) {
  .rte-three-images-block {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-inline-end: calc(-1 * var(--container-padding-x));
  }
}
@media (width <= 79.99875rem) {
  .rte-three-images-block .slick-slide {
    margin: 0 calc(var(--slidesSpacingMob) / 2);
  }
}
.rte-three-images-block__image {
  flex: 1;
}
@media (width <= 79.99875rem) {
  .rte-three-images-block__image {
    width: 17.3125rem !important;
    height: 9.75rem;
  }
}
.rte-three-images-block__image img {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  padding-top: 3rem;
}

.info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.125rem;
  margin-bottom: 1rem;
  color: #6b7280;
}
@media (width <= 79.99875rem) {
  .info {
    flex-direction: column-reverse;
    gap: 2rem;
  }
}
.info__basic {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.9375rem;
  row-gap: 0.5rem;
}
@media (width <= 79.99875rem) {
  .info__basic {
    flex-wrap: wrap;
  }
}
.info__item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  white-space: nowrap;
}
.info__item img {
  width: 1rem;
  height: 1rem;
}

.main-content {
  position: relative;
  font-size: 1.25rem;
  line-height: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}
.main-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--container-padding-x);
  right: var(--container-padding-x);
  height: 0.0625rem;
  background-color: rgba(98, 96, 96, 0.4);
}
@media (width <= 79.99875rem) {
  .main-content {
    font-size: 1rem;
    line-height: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.main-content__wrapper {
  max-width: 54.5rem;
}
@media (width <= 79.99875rem) {
  .main-content__wrapper {
    max-width: 100%;
  }
}

.tags {
  margin-bottom: 3rem;
}

.instested-in-acticles {
  margin-top: calc(var(--section-spacing) / 2);
  margin-bottom: calc(var(--section-spacing) / 2);
}
.instested-in-acticles .articles {
  margin-top: 3rem;
  justify-content: center;
}
@media (width <= 79.99875rem) {
  .instested-in-acticles .articles {
    margin-top: 2rem;
  }
}
