:root {
  --blank-value: 80px;
}

.finance {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.finance-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 218px;
  background: linear-gradient(279deg, rgb(178, 225, 230) 0%, rgb(88, 148, 197) 35%, rgb(123, 120, 166) 100%);
}
.finance-hero__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 54px;
  width: 100%;
  max-width: 1280px;
  min-height: inherit;
  border-left: 1px solid #6e76a2;
  border-right: 1px solid #9ac8d4;
}
.finance-hero__sub {
  display: flex;
  flex-direction: row;
}
.finance-hero__sub__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 10px 0 0;
  color: #ffffff;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 19.2px;
  line-height: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
}
.finance-hero__sub__item::after {
  content: "";
  margin: 0 0 0 10px;
  width: 10px;
  height: 10px;
  background-image: url("/assets/svg/arrow-right-white.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.finance-hero__sub__item:last-child {
  margin: 0;
}
.finance-hero__sub__item:last-child::after {
  display: none;
}
.finance-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  font-size: 2.375rem;
  line-height: 60.8px;
  line-height: 3.8rem;
  font-weight: 600;
}
.finance__container {
  display: flex;
  flex-direction: column;
  padding: 90px 155px 130px 155px;
  width: 100%;
  max-width: 1280px;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
}
.finance__intro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.finance__intro__text {
  width: 100%;
  max-width: 520px;
}
.finance__intro__image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 50px;
  padding: 30px;
  width: 100%;
  max-width: 375px;
  height: 210px;
  background-color: #f7f9fa;
  border: 1px solid #e8ecf0;
}
.finance__intro__image img {
  width: 100%;
  max-width: 300px;
  -o-object-fit: contain;
     object-fit: contain;
}
.finance__branches {
  display: flex;
  flex-direction: column;
  margin: 120px 0 0 0;
  width: 100%;
}
.finance__branches__title {
  padding: 0;
  margin: 0 0 43px 0;
  width: 100%;
  font-size: 22px;
  font-size: 1.375rem;
  line-height: 22px;
  line-height: 1.375rem;
  font-weight: 700;
  text-align: left;
}
.finance__branches__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 0 72px 0;
  width: 100%;
}
.finance__branches__image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin: 0 30px 0 0;
  width: 100px;
  height: 100px;
  background-color: #e8ecf0;
}
.finance__branches__image img {
  width: 100%;
  max-width: 80px;
  max-height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
}
.finance__branches__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 835px;
}
.finance__branches__subtitle {
  margin: 0 0 12px 0;
  padding: 0;
  color: #181818;
  font-size: 16px;
  font-size: 1rem;
  line-height: 16px;
  line-height: 1rem;
  font-weight: 600;
}
.finance__branches__description {
  margin: 0 0 0 0;
}
.finance__branches__link {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin: 20px 0 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: #181818;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 14px;
  line-height: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
}
.finance__branches__link:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 70px;
  width: 15px;
  height: 14px;
  background-image: url("/assets/svg/right-arrow-blue.svg");
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: left 0.3s, opacity 0.3s;
}
.finance__branches__link:hover {
  color: #0154a3;
}
.finance__branches__link:hover:after {
  top: 1px;
  left: 100px;
  opacity: 1;
}
@media only screen and (max-width: 1024px) {
  :root {
    --blank-value: 50px;
  }
  .finance-hero__container {
    border: 0;
  }
  .finance__container {
    align-items: center;
    padding: 67px;
    border: 0;
  }
  .finance__intro {
    flex-direction: column-reverse;
  }
  .finance__intro__text {
    max-width: 100%;
  }
  .finance__intro__image {
    margin: 0 0 40px 0;
    max-width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .finance__branches {
    margin: 60px 0 0 0;
  }
  .finance__branches__item {
    flex-direction: column;
  }
  .finance__branches__image {
    margin: 0 0 25px 0;
  }
}
@media only screen and (max-width: 639px) {
  .finance-hero__title {
    font-size: 30px;
    font-size: 1.875rem;
    line-height: 48px;
    line-height: 3rem;
    text-align: center;
  }
  .finance__container {
    padding: 67px 24px 67px 24px;
  }
}