.ec-news-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #080d28;
  color: #ffffff;
}

.ec-news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ec-news-hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(.12);
}

.ec-news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 13, 40, .95) 0%, rgba(8, 13, 40, .72) 44%, rgba(8, 13, 40, .3) 100%),
    linear-gradient(180deg, rgba(8, 13, 40, .28) 0%, rgba(8, 13, 40, .96) 100%);
}

.ec-news-hero__container,
.ec-news-page__container {
  width: min(100% - var(--ec-container-offset) * 2, var(--ec-container));
  margin-left: auto;
  margin-right: auto;
}

.ec-news-hero__container {
  position: relative;
  z-index: 3;
  padding: 42px 0 72px;
}

.ec-news-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.2;
}

.ec-news-breadcrumbs a {
  color: rgba(255, 255, 255, .72);
  transition: .25s ease;
}

.ec-news-breadcrumbs a:hover {
  color: #f26a21;
}

.ec-news-breadcrumbs span {
  color: #ffffff;
}

.ec-news-breadcrumbs a::after {
  content: "/";
  margin-left: 11px;
  color: rgba(255, 255, 255, .35);
}

.ec-news-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
}

.ec-news-hero__eyebrow,
.ec-news-featured__label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: #f26a21;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-news-hero__eyebrow::after,
.ec-news-featured__label::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #f26a21;
}

.ec-news-hero__title {
  position: relative;
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 12px;
  color: #ffffff;
  font-size: 62px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ec-news-hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #f26a21;
}

.ec-news-hero__text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.62;
}

.ec-news-page {
  padding: 82px 0 88px;
  background: #ffffff;
  color: #080d28;
}

.ec-news-page__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.ec-news-page__title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 18px;
  color: #080d28;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ec-news-page__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
  max-width: 100%;
  height: 2px;
  background: #f26a21;
}

.ec-news-page__subtitle {
  max-width: 640px;
  margin: 0;
  color: #5d6475;
  font-size: 15px;
  line-height: 1.6;
}

.ec-news-categories {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 560px;
}

.ec-news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 11px 15px;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  color: #080d28;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  transition: .25s ease;
}

.ec-news-category:hover,
.ec-news-category.is-active {
  border-color: #f26a21;
  background: #f26a21;
  color: #ffffff;
}

.ec-news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: stretch;
  min-height: 520px;
  margin-bottom: 26px;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  color: inherit;
  overflow: hidden;
}

.ec-news-featured::after {
  content: none;
}

.ec-news-featured__media {
  display: block;
  min-height: 520px;
  overflow: hidden;
  background: #080d28;
}

.ec-news-featured__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  transition: .55s ease;
}

.ec-news-featured:hover .ec-news-featured__media img {
  transform: scale(1.04);
}

.ec-news-featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 46px 48px;
}

.ec-news-featured__title {
  margin: 0 0 20px;
  color: #080d28;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 800;
  transition: .25s ease;
}

.ec-news-featured__title:hover {
  color: #f26a21;
}

.ec-news-featured__text {
  max-width: 620px;
  margin: 0 0 30px;
  color: #5d6475;
  font-size: 16px;
  line-height: 1.68;
}

.ec-news-featured__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 24px;
  border: 1px solid #080d28;
  background: #080d28;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  transition: .25s ease;
}

.ec-news-featured__btn:hover {
  border-color: #f26a21;
  background: #f26a21;
  color: #ffffff;
}

.ec-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ec-news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  color: inherit;
  transition: .25s ease;
}

.ec-news-card:hover {
  border-color: #080d28;
  background: #080d28;
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(8, 13, 40, .1);
}

.ec-news-card__image {
  display: block;
  height: 260px;
  overflow: hidden;
  background: #080d28;
}

.ec-news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: .45s ease;
}

.ec-news-card:hover .ec-news-card__image img {
  transform: scale(1.06);
}

.ec-news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.ec-news-card__date {
  margin-bottom: 16px;
  color: #f26a21;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ec-news-card__title {
  display: -webkit-box;
  margin-bottom: 16px;
  color: #080d28;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: .25s ease;
}

.ec-news-card:hover .ec-news-card__title {
  color: #f26a21;
}

.ec-news-card__desc {
  display: -webkit-box;
  margin: 0 0 24px;
  color: #5d6475;
  font-size: 14px;
  line-height: 1.62;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: .25s ease;
}

.ec-news-card:hover .ec-news-card__desc {
  color: rgba(255, 255, 255, .66);
}

.ec-news-card__link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: #080d28;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  transition: .25s ease;
}

.ec-news-card__link::after {
  content: " →";
  margin-left: 6px;
  color: #f26a21;
}

.ec-news-card:hover .ec-news-card__link {
  color: #ffffff;
}

.ec-news-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}

.ec-news-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  color: #080d28;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  transition: .25s ease;
}

.ec-news-pagination a.page-numbers:hover,
.ec-news-pagination .page-numbers.current {
  border-color: #080d28;
  background: #080d28;
  color: #ffffff;
}

.ec-news-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

.ec-news-pagination .page-numbers.prev,
.ec-news-pagination .page-numbers.next {
  min-width: 86px;
}

@media (max-width: 1199px) {
  .ec-news-featured {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  }

  .ec-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ec-news-hero {
    min-height: 420px;
  }

  .ec-news-hero__container {
    padding: 34px 0 58px;
  }

  .ec-news-hero__title {
    font-size: 46px;
  }

  .ec-news-page {
    padding: 58px 0;
  }

  .ec-news-page__top {
    display: block;
  }

  .ec-news-categories {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .ec-news-featured {
    grid-template-columns: 1fr;
  }

  .ec-news-featured__media,
  .ec-news-featured__media img {
    min-height: 360px;
  }

  .ec-news-featured__content {
    padding: 34px;
  }

  .ec-news-featured__title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .ec-news-hero {
    min-height: 390px;
  }

  .ec-news-breadcrumbs {
    margin-bottom: 34px;
    font-size: 12px;
  }

  .ec-news-hero__title {
    font-size: 34px;
  }

  .ec-news-hero__text {
    font-size: 15px;
  }

  .ec-news-page {
    padding: 44px 0;
  }

  .ec-news-page__title {
    font-size: 28px;
  }

  .ec-news-page__title::after {
    width: 170px;
  }

  .ec-news-category {
    width: 100%;
  }

  .ec-news-featured__media,
  .ec-news-featured__media img {
    min-height: 260px;
  }

  .ec-news-featured__content {
    padding: 28px 22px;
  }

  .ec-news-featured__title {
    font-size: 23px;
  }

  .ec-news-grid {
    grid-template-columns: 1fr;
  }

  .ec-news-card__image {
    height: 230px;
  }
}