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

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

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

.ec-sectors-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, .32) 100%),
    linear-gradient(180deg, rgba(8, 13, 40, .28) 0%, rgba(8, 13, 40, .96) 100%);
}

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

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

.ec-sectors-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-sectors-breadcrumbs a {
  color: rgba(255, 255, 255, .72);
  transition: .25s ease;
}

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

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

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

.ec-sectors-hero__content {
  max-width: 900px;
}

.ec-sectors-hero__eyebrow {
  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-sectors-hero__eyebrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #f26a21;
}

.ec-sectors-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-sectors-hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #f26a21;
}

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

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

.ec-sectors-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

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

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

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

.ec-sectors-page__counter {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 18px 20px;
  border: 1px solid #dfe3ec;
  color: #5d6475;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.ec-sectors-page__counter span {
  display: block;
  margin-bottom: 6px;
  color: #080d28;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.ec-sectors-list {
  display: grid;
  gap: 28px;
}

.ec-sector-card {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  min-height: 420px;
  border: 1px solid #dfe3ec;
  background: #ffffff;
  overflow: hidden;
  transition: .28s ease;
}

.ec-sector-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
}

.ec-sector-card:nth-child(even) .ec-sector-card__media {
  order: 2;
}

.ec-sector-card:nth-child(even) .ec-sector-card__content {
  order: 1;
}

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

.ec-sector-card__media {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: #080d28;
}

.ec-sector-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: .55s ease;
}

.ec-sector-card:hover .ec-sector-card__media img {
  transform: scale(1.07);
}

.ec-sector-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 40, .04) 0%, rgba(8, 13, 40, .6) 100%),
    linear-gradient(90deg, rgba(8, 13, 40, .2), rgba(8, 13, 40, 0));
}

.ec-sector-card__num {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #f26a21;
  font-size: 62px;
  line-height: 1;
  font-weight: 800;
}

.ec-sector-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 42px 46px;
  min-width: 0;
  overflow: hidden;
}

.ec-sector-card__content::after {
  content: "";
  position: absolute;
  right: -92px;
  top: -92px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(242, 106, 33, .16);
  border-radius: 50%;
  pointer-events: none;
}

.ec-sector-card__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #f26a21;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-sector-card__label::after {
  content: "";
  width: 58px;
  height: 1px;
  background: #f26a21;
}

.ec-sector-card__title {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 820px;
  margin-bottom: 22px;
  color: #080d28;
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: .015em;
  transition: .25s ease;
}

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

.ec-sector-card__text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 0 26px;
  color: #5d6475;
  font-size: 15px;
  line-height: 1.68;
}

.ec-sector-card__tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.ec-sector-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  background: #f7f8fb;
  border: 1px solid #dfe3ec;
  color: #5d6475;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.ec-sector-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

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

.ec-sector-card__btn:hover {
  border-color: #f26a21;
  background: #f26a21;
  color: #ffffff;
}

.ec-sector-card__btn--outline {
  background: transparent;
  color: #080d28;
}

.ec-sector-card__btn--outline:hover {
  color: #ffffff;
}

.ec-sectors-cta {
  padding: 0 0 88px;
  background: #ffffff;
}

.ec-sectors-cta__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px 46px;
  background:
    linear-gradient(90deg, rgba(8, 13, 40, .94), rgba(8, 13, 40, .86)),
    url("../img/7.jpg.webp") center / cover no-repeat;
  color: #ffffff;
}

.ec-sectors-cta__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #f26a21;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-sectors-cta__label::after {
  content: "";
  width: 60px;
  height: 1px;
  background: #f26a21;
}

.ec-sectors-cta__title {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.ec-sectors-cta__text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.6;
}

.ec-sectors-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid #f26a21;
  background: #f26a21;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: .25s ease;
}

.ec-sectors-cta__btn:hover {
  background: transparent;
  color: #ffffff;
}

@media (max-width: 1199px) {
  .ec-sector-card,
  .ec-sector-card:nth-child(even) {
    grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
  }

  .ec-sector-card:nth-child(even) .ec-sector-card__media,
  .ec-sector-card:nth-child(even) .ec-sector-card__content {
    order: initial;
  }

  .ec-sector-card__content {
    padding: 36px 34px;
  }

  .ec-sector-card__title {
    font-size: 28px;
  }
}

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

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

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

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

  .ec-sectors-page__head {
    display: block;
    margin-bottom: 34px;
  }

  .ec-sectors-page__counter {
    width: fit-content;
    margin-top: 24px;
  }

  .ec-sector-card,
  .ec-sector-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .ec-sector-card__media {
    min-height: 330px;
  }

  .ec-sectors-cta {
    padding-bottom: 58px;
  }

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

  .ec-sectors-cta__btn {
    width: fit-content;
  }
}

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

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

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

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

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

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

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

  .ec-sector-card__media {
    min-height: 245px;
  }

  .ec-sector-card__num {
    left: 18px;
    bottom: 18px;
    font-size: 46px;
  }

  .ec-sector-card__content {
    padding: 28px 22px;
  }

  .ec-sector-card__title {
    font-size: 23px;
  }

  .ec-sector-card__text {
    font-size: 14px;
  }

  .ec-sector-card__actions {
    display: grid;
  }

  .ec-sector-card__btn {
    width: 100%;
  }

  .ec-sectors-cta {
    padding-bottom: 44px;
  }

  .ec-sectors-cta__container {
    padding: 30px 22px;
  }

  .ec-sectors-cta__title {
    font-size: 22px;
  }

  .ec-sectors-cta__btn {
    width: 100%;
  }
}

.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;
}