:root {
  --color-dark: #000;
  --color-white: #fff;
  --color-accent-primary: #701725;
  --color-accent-primary-light: #9a112d;
  --color-dark-grey: #363636;
  --color-bg: #e2e0e0;
  --serivce-gradient-c1: #000000b3;
  --serivce-gradient-c2: #000000b3;
  --vh: 100vh;
  --items: 1;
  --gap: 16px;
}

.hero__box,
.team-member__link,
.hero__msg {
  align-items: center;
  display: flex;
}

.hero__msg {
  justify-content: center;
}

.team-member__link {
  justify-content: space-between;
}

.team-member,
.team-member__box,
.team-member__position,
.team-member__link-wrap {
  flex-direction: column;
  display: flex;
}

.hero__box {
  flex-direction: column;
}

.team__list--grid {
  flex-wrap: wrap;
  display: flex;
}

.hero__msg,
.team__box,
.team-member__img-wrap {
  position: relative;
}

.hero__msg svg,
.team-member__img-desc,
.team-member__img-desc:before {
  position: absolute;
}

.team-member__link,
.team-member__link svg {
  transition: var(--transition--100, 0.1s linear);
}

.team__list--grid {
  gap: var(--gap);
}

.team__item--grid {
  flex-basis: calc((100% - var(--gap, 16px) * (var(--items, 1) - 1)) / var(--items, 1));
  width: calc((100% - var(--gap, 16px) * (var(--items, 1) - 1)) / var(--items, 1));
}

.team__box {
  --height-img: 400px;
  margin: 0 auto;
}

@media (width >= 768px) {
  .team__box--swiper,
  .team__box--leader {
    --height-img: 480px;
  }

  .team__box--swiper {
    max-width: 400px;
  }
}

@media (width >= 1024px) {
  .team__box--swiper {
    max-width: 800px;
  }
}

@media (width >= 1440px) {
  .team__box--swiper,
  .team__box--leader {
    --height-img: 652px;
  }

  .team__box--swiper {
    max-width: initial;
  }
}

.team__msg {
  text-align: center;
  margin-bottom: 36px;
  font-size: 20px;
  line-height: 24px;
}

@media (width >= 768px) {
  .team__list--grid {
    --items: 2;
    --gap: 20px;
    row-gap: 48px;
  }
}

@media (width >= 1024px) {
  .team__list--grid {
    --items: 3;
    row-gap: 64px;
  }
}

@media (width >= 1440px) {
  .team__list--grid {
    --gap: 32px;
  }
}

.team-member {
  gap: 32px;
}

@media (width >= 768px) {
  .team-member--leader {
    flex-direction: row;
  }
}

@media (width >= 1024px) {
  .team-member.swiper-slide {
    flex-direction: row;
  }
}

.team-member__box {
  width: 100%;
}

.team-member__name {
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.team-member__position {
  color: #7e8492;
  text-transform: uppercase;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.team-member__position:after {
  content: '';
  background-color: var(--color-accent-primary, #701725);
  width: 80px;
  height: 2px;
  display: block;
}

.team-member__img {
  width: 100%;
  height: var(--height-img);
  max-width: initial;
  object-fit: cover;
  border-radius: 8px;
}

.team-member__img-desc {
  --padding: 4px;
  left: var(--padding);
  bottom: var(--padding);
  width: calc(100% - var(--padding) * 2);
  color: var(--color-white, #fff);
  font-feature-settings: 'liga' off, 'clig' off;
  background: var(--color-accent-primary, #701725);
  border-radius: 4px;
  padding: 12px 8px 12px 74px;
}

.team-member__img-desc:before {
  --background-image-url: url('/assets/images/icons/icon-youtube2.svg');
  content: '';
  background-color: var(--color-white, #fff);
  background-image: var(--background-image-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: block;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

@media (width >= 768px) {
  .team-member__img-desc {
    --padding: 8px;
    padding: 12px 12px 12px 74px;
    font-weight: 600;
    line-height: 28px;
  }

  .team-member__img-desc svg {
    left: 38px;
  }
}

@media (width >= 1024px) {
  .team-member__img-desc {
    width: calc(100% - 32px);
    bottom: 16px;
    left: 16px;
  }
}

@media (width >= 1440px) {
  .team-member__img-desc {
    width: calc(100% - 56px);
    padding: 20px 20px 20px 100px;
    bottom: 28px;
    left: 28px;
  }

  .team-member__img-desc:before {
    left: 28px;
  }
}

.team-member__link-wrap {
  margin-top: auto;
}

.team-member__link {
  color: inherit;
  border-bottom: 1px solid var(--color-dark-grey, #363636);
  padding: 18px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.team-member__link svg {
  fill: currentColor;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.team-member__link:hover {
  color: var(--color-accent-primary, #701725);
  border-color: var(--color-accent-primary, #701725);
}

.team-member__link:hover svg {
  transform: translateX(4px);
}

.team-member__link:active {
  color: var(--color-accent-primary-light, #a91d3a);
  border-color: var(--color-accent-primary-light, #a91d3a);
}

@media (width <= 1023px) {
  .team-swiper-pagination.swiper-pagination-bullets {
    top: calc(var(--height-img) + 12px);
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.team__box .swiper-btn {
  top: calc((var(--height-img) - 32px) / 2);
  transform: initial;
}

.hero {
  --hero-img-top: -10px;
  --hero-img-width: 100vw;
  --hero-img-height-ratio: calc(429 / 810);
  --hero-img-height: calc(var(--hero-img-width) * var(--hero-img-height-ratio));
  --lg-top: calc(var(--header--height) + var(--header--top) + var(--hero-img-top));
  --lg-bottom: calc(var(--hero-height) - var(--hero-img-height) - var(--lg-top));
  --lg-step-top: 40px;
  --lg-step-bottom: 30px;
  --lg-cover-start: calc(var(--lg-top) + var(--lg-step-top));
  --lg-cover-end: calc(var(--hero-height) - var(--lg-bottom) - var(--lg-step-bottom));
  --lg-bottom-start: calc(var(--hero-height) - var(--lg-bottom));
  --lg-left: calc((100vw - var(--hero-img-width)) / 2);
  --lg-right: calc((100vw - var(--hero-img-width)) / 2);
  --lg-step-left: 0px;
  --lg-step-right: 0px;
  --lg-cover2-start: calc(var(--lg-left) + var(--lg-step-left));
  --lg-cover2-end: calc(100vw - var(--lg-right) - var(--lg-step-right));
  --lg-right-start: calc(100vw - var(--lg-right));
  --lg-1: linear-gradient(
    to bottom,
    #000 0,
    #000 var(--lg-top),
    #000000b3 var(--lg-cover-start),
    #000000b3 var(--lg-cover-end),
    #000 var(--lg-bottom-start),
    #000 var(--hero-height)
  );
  --lg-2: linear-gradient(
    to right,
    #000 0,
    #000 var(--lg-left),
    #0000 var(--lg-cover2-start),
    #0000 var(--lg-cover2-end),
    #000 var(--lg-right-start),
    #000 100vw
  );
  background: #000;
  overflow: hidden;
}

.hero:before {
  content: '';
  z-index: 1;
  pointer-events: none;
  background: var(--lg-1), var(--lg-2);
  position: absolute;
  inset: 0;
}

@media (width >= 480px) {
  .hero {
    --hero-img-width: 480px;
    --lg-step-left: 10px;
    --lg-step-right: 10px;
  }
}

@media (width >= 768px) {
  .hero {
    --hero-img-width: 768px;
    --hero-img-top: -30px;
  }
}

@media (width >= 1024px) {
  .hero {
    --hero-img-width: 1024px;
  }
}

@media (width >= 1440px) {
  .hero {
    --hero-img-width: 1440px;
  }
}

.hero__img {
  top: calc(var(--header--height) + var(--header--top) + var(--hero-img-top));
  width: var(--hero-img-width, 100%);
  max-height: initial;
  aspect-ratio: 810 / 429;
  object-fit: contain;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero__box {
  z-index: 1;
  gap: 16px;
  position: relative;
}

.hero__title {
  color: var(--color-white, #fff);
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
}

@media (width >= 768px) {
  .hero__title {
    font-size: 32px;
  }
}

@media (width >= 1024px) {
  .hero__title {
    font-size: 44px;
  }
}

@media (width >= 1440px) {
  .hero__title {
    font-size: 52px;
  }
}

.hero__msg {
  width: fit-content;
  color: var(--color-white, #fff);
  text-align: center;
  text-transform: uppercase;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  transition-delay: 40ms;
}

.hero__msg:before {
  content: '';
  background-color: var(--color-accent-primary, #701725);
  border-radius: 50%;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: block;
}

.hero__msg svg {
  fill: currentColor;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  display: block;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

@media (width >= 768px) {
  .hero__msg {
    font-size: 20px;
  }
}

@media (width >= 1024px) {
  .hero__msg {
    font-size: 30px;
  }

  .hero__msg:before {
    width: 40px;
    height: 40px;
  }

  .hero__msg svg {
    width: 16px;
    height: 16px;
    left: 12px;
  }
}

@media (width >= 1440px) {
  .hero__msg {
    font-size: 38px;
  }

  .hero__msg:before {
    width: 48px;
    height: 48px;
  }

  .hero__msg svg {
    width: 20px;
    height: 20px;
    left: 13px;
  }
}
