.content-excerpts {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  row-gap: var(--space-40-m30);
}

.content-excerpt {
  --radius: 20px;
  border-radius: var(--radius);
  background: var(--grey-light);
  overflow: hidden;
  transform: translateZ(0);
}

.content-excerpt_type_lg {
}

.content-excerpt_type_sm {
}

.content-excerpt__inner {
  display: flex;
  column-gap: 20px;
}

.content-excerpt_type_lg .content-excerpt__inner {
  min-height: 350px;
}

.content-excerpt_type_sm .content-excerpt__inner {
  min-height: 250px;
}

.content-excerpt:nth-child(even) .content-excerpt__inner {
  flex-direction: row-reverse;
}

.content-excerpt__content,
.content-excerpt__image {
  flex: 0 0 auto;
  width: calc(50% - 10px);
}

.content-excerpt__content {
  padding: 40px;
  align-self: center;
}

.content-excerpt__title {
}

.content-excerpt__text {
}

.content-excerpt__image {
  position: relative;
}

.content-excerpt__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-excerpt__image:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
}

.content-excerpt:nth-child(odd) .content-excerpt__image {
  --overlay-width: 270px;
}

.content-excerpt:nth-child(even) .content-excerpt__image {
  --overlay-width: 260px;
}

.content-excerpt_type_sm:nth-child(odd) .content-excerpt__image {
  --overlay-width: 200px;
}

.content-excerpt_type_sm:nth-child(even) .content-excerpt__image {
  --overlay-width: 190px;
}

.content-excerpt:nth-child(odd) .content-excerpt__image img {
  clip-path: polygon(
    calc(var(--overlay-width) * 0.95) 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

.content-excerpt:nth-child(even) .content-excerpt__image img {
  clip-path: polygon(
    0 0,
    calc(100% - var(--overlay-width)) 0,
    100% 100%,
    0 100%
  );
}

.content-excerpt:nth-child(odd) .content-excerpt__image:after {
  left: 0;
  width: var(--overlay-width);
  background-image: url("../images/content-excerpt-overlay-left.svg");
}

.content-excerpt:nth-child(even) .content-excerpt__image:after {
  right: 0;
  width: var(--overlay-width);
  background-image: url("../images/content-excerpt-overlay-right.svg");
}

@media (min-width: 1400px) {
  .content-excerpt_type_sm .content-excerpt__content {
    align-self: flex-start;
  }

  .content-excerpt:nth-child(odd) .content-excerpt__content {
    padding-right: 0;
  }

  .content-excerpt:nth-child(even) .content-excerpt__content {
    padding-left: 0;
  }

  .content-excerpt_type_lg .content-excerpt__title {
    font-size: 26px;
  }
}

@media (max-width: 1399.98px) {
  .content-excerpt {
    font-size: 14px;
  }

  .content-excerpt_type_lg .content-excerpt__inner {
    min-height: 300px;
  }

  .content-excerpt_type_sm .content-excerpt__inner {
    min-height: 280px;
  }

  .content-excerpt__content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .content-excerpt:nth-child(odd) .content-excerpt__image,
  .content-excerpt:nth-child(even) .content-excerpt__image {
    --overlay-width: 180px;
  }
}

@media (max-width: 1199.98px) {
  .content-excerpt:nth-child(odd) .content-excerpt__image,
  .content-excerpt:nth-child(even) .content-excerpt__image {
    --overlay-width: 160px;
  }
}

@media (max-width: 991.98px) {
  .content-excerpt_type_lg .content-excerpt__inner,
  .content-excerpt_type_sm .content-excerpt__inner {
    min-height: 280px;
  }

  .content-excerpt__content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .content-excerpt:nth-child(odd) .content-excerpt__image {
    --overlay-width: 160px;
  }

  .content-excerpt:nth-child(even) .content-excerpt__image {
    --overlay-width: 130px;
  }
}

@media (max-width: 767.98px) {
  .content-excerpts-title {
    font-size: 22px;
  }

  .content-excerpts {
    padding: 0;
  }

  .content-excerpt__inner {
    min-height: 0 !important;
    flex-direction: column !important;
  }

  .content-excerpt__content {
    align-self: stretch;
    padding: 20px 20px 30px;
    width: auto;
  }

  .content-excerpt__title {
    margin-bottom: 15px;
  }

  .content-excerpt__image {
    width: auto;
    height: 221px;
  }

  .content-excerpt__image:after {
    display: none !important;
  }

  .content-excerpt__image img {
    clip-path: none !important;
  }
}

.about-header {
  padding-top: 30px;
  padding-bottom: 40px;
}

.about-header h1 {
  margin: 0 0 40px;
}

.about-media {
  position: relative;
  background-color: var(--black);
  color: var(--white);
}

.about-media:before,
.about-media:after {
  content: "";
  position: absolute;
  top: 0;
  border-style: solid;
  z-index: 1;
  opacity: 0.9;
}

.about-media:before {
  border-width: 25px 25px 0 0;
  border-color: var(--red-main-color) transparent;
  left: 0;
  right: 50%;
  margin-right: -11px;
}

.about-media:after {
  border-width: 0 0 25px 25px;
  border-color: var(--grey-dark) transparent;
  right: 0;
  left: 50%;
  margin-left: -11px;
}

.about-media__bg,
.about-media__bg img,
.about-media__bg video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.about-media__bg img,
.about-media__bg video {
  object-fit: cover;
}

.about-media__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.about-media__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 400px;
  padding: 50px 0;
}

.about-clients-section {
  padding: 80px 0;
  background: var(--grey-light);
}

.about-clients {
}

.about-clients__slider {
}

.about-clients__slider .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  height: 134px;
}

.about-clients__item {
  width: 170px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.about-clients__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  filter: saturate(0);
  transition: 0.15s ease-in-out;
}

.about-clients__item img:hover {
  filter: saturate(1);
}

.about-history-section {
  padding: 60px 0;
  background: var(--grey-light);
}

.about-history {
  position: relative;
  overflow: hidden;
}

.about-history:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-bottom: 1px solid var(--grey-dark);
}

.about-history .swiper {
  overflow: visible;
}

.about-history__item {
  width: 272px;
  padding-left: 72px;
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  font-size: 14px;
  line-height: 1.6;
  height: auto;
}

.about-history__item-year {
  position: absolute;
  font-size: 60px;
  line-height: 0.7;
  font-weight: 500;
  opacity: 0.7;
  color: var(--grey-dark);
}

.about-history__item-image {
  max-width: 200px;
}

.about-history__item-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 100%;
}

.about-history__item:nth-child(odd) {
  padding-top: 60px;
}

.about-history__item:nth-child(odd) .about-history__item-year {
  right: 100%;
  bottom: 100%;
  margin-bottom: -60px;
  margin-right: -0.7em;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

.about-history__item:nth-child(even) {
  padding-bottom: 60px;
  flex-direction: column-reverse;
  align-items: flex-end;
}

.about-history__item:nth-child(even) .about-history__item-year {
  bottom: 80px;
  left: 0.7em;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

@media (max-width: 1399.98px) {
  .about-media__inner {
    height: 320px;
    padding: 40px 0;
  }
}

@media (max-width: 1199.98px) {
  .about-media:before {
    border-width: 20px 20px 0 0;
    margin-right: -9px;
  }

  .about-media:after {
    border-width: 0 0 20px 20px;
    margin-left: -9px;
  }
}

@media (max-width: 991.98px) {
  .about-header {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .about-media__inner {
    height: 240px;
    padding: 30px 0;
  }

  .about-media:before {
    border-width: 10px 10px 0 0;
    margin-right: -4px;
  }

  .about-media:after {
    border-width: 0 0 10px 10px;
    margin-left: -4px;
  }

  .about-clients-section {
    padding: 60px 0;
  }

  .about-history-section {
    padding: 45px 0;
  }

  .about-history__item {
    width: 208px;
    padding-left: 48px;
    font-size: 12px;
    line-height: 1.4;
  }

  .about-history__item-year {
    font-size: 40px;
  }

  .about-history__item:nth-child(odd) {
    padding-top: 40px;
  }

  .about-history__item:nth-child(odd) .about-history__item-year {
    margin-bottom: -40px;
  }

  .about-history__item:nth-child(even) .about-history__item-year {
    bottom: 60px;
  }
}

@media (max-width: 767.98px) {
  .about-header {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-header h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .about-media__inner {
    height: 200px;
    padding: 20px 0;
  }

  .about-clients__slider .swiper-wrapper {
    height: 298px;
  }

  .about-history__item {
    width: 203px;
    padding-left: 43px;
  }
}

.about-single-header {
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: var(--black);
  color: var(--white);
  position: relative;
}

.about-single-header__bg,
.about-single-header__bg img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.about-single-header__bg img {
  object-fit: cover;
  opacity: 0.5;
}

.about-single-header__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 20px;
}

.about-single-header__main {
  flex-grow: 1;
  min-width: 1px;
}

.about-single-header__content {
  flex: 0 0 auto;
  width: 370px;
}

.about-single-header .breadcrumbs__link {
  color: inherit;
  opacity: 0.5;
}

.about-single-header .breadcrumbs__link.is-active,
.about-single-header .breadcrumbs__link:hover {
  color: inherit;
  opacity: 1;
}

.about-single-header .breadcrumbs__item:not(:first-child):before {
  background: currentColor;
  opacity: 0.5;
}

@media (max-width: 1399.98px) {
  .about-single-header {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 991.98px) {
  .about-single-header__content {
    width: 300px;
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (max-width: 767.98px) {
  .about-single-header {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-single-header__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 60px;
  }
}
