.etc-news-carousel {
  position: relative;
  width: 100%;
  min-height: 650px;
}

.etc-news-carousel__track.swiper {
  width: 100%;
  padding: 0 50px 0 0;
}

.etc-news-carousel__track.swiper .swiper-slide-active .etc-news-card__media
{
  margin-top: 20px;
}
.etc-news-carousel__track.swiper .etc-news-card__media
{
  aspect-ratio: 1 / 1;
}




.etc-news-carousel__nav {
  position: absolute;
  top: -50px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}

button.etc-news-carousel__nav 
{
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.etc-news-carousel__nav span {
  font-size: 20px;
  line-height: 1;
}

.etc-news-carousel__nav--prev 
{
  right: 70px;
}

.etc-news-carousel__nav--next 
{
  right: 0px;
}

.etc-news-carousel__nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.etc-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  min-height: 100%;

  width: auto;
  max-width: 400px;
}

@media screen and (max-width: 600px)
{
  .etc-news-card 
  {
    max-width: 320px;
  }
}

.etc-news-card:not(.swiper-slide-active) .etc-news-card__excerpt,
.etc-news-card:not(.swiper-slide-active) .etc-news-card__button
{
  opacity: 0;
}

.etc-news-card__media {
  display: block;
  position: relative;
  
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  transition: all .3s;
}

/*
.etc-news-card__media::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.etc-news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
  opacity: 1;
  pointer-events: none;
}
  */

.etc-news-card__title {
  font-weight: 600;
  display: block;
}

.etc-news-card__title.is-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
  z-index: 1;
}

.etc-news-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.etc-news-card__title.is-outside {
  color: #111;
}

.etc-news-card__excerpt {
  margin: 0;
  color: #4f4f4f;
  line-height: 1.6;

  transition: all .3s;
}

.etc-news-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #111;
  transition: color .2s ease, gap .2s ease, opacity .2s ease;

  align-self: flex-start;
}

@media (max-width: 1024px) {
  .etc-news-carousel__nav {
    display: none;
  }

  .etc-news-carousel__track.swiper {
    padding: 0 50px 0 0;
  }
}
