:root {
  --dark-gray: #222;
}

.f-dark-gray {
  color: var(--dark-gray);
}

#hero {
  margin-top: 12px !important;
  background-image: url('../../images/pages/about/about-hero-bg.webp');
  background-image: image-set(url('../../images/pages/about/about-hero-bg.webp') 1x,
      url('../../images/pages/about/about-hero-bg@2x.webp') 2x);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 64px 0 39px 0;
  width: 100% !important;
}

#hero .hero-inner {
  overflow: hidden;
}

#hero .title {
  font-size: 38px;
  position: relative;
  width: fit-content;
  margin: 0 auto 26px auto;
}

#hero .title::before {
  content: '';
  position: absolute;
  background-color: #000;
  height: 2px;
  width: 166px;
  left: -179px;
  top: 19px;
}

#hero .title::after {
  content: '';
  position: absolute;
  background-color: #000;
  height: 2px;
  width: 166px;
  right: -179px;
  top: 19px;
}

#hero p {
  font-size: 19px;
  line-height: 26px;
  max-width: 850px;
  margin: 0 auto
}

#hero img {
  margin: 0 auto
}

@media screen and (max-width: 992px) {
  #hero p br {
    display: none
  }
}

@media screen and (max-width: 767px) {
  #hero {
    margin-top: 22px
  }
}

@media screen and (max-width: 567px) {
  #hero {
    padding: 30px 0 24px 0
  }

  #hero .title {
    font-size: 40px;
    margin-bottom: 2px;
  }

  #hero .title::after,
  #hero .title::before {
    top: 16px;
  }

  #hero p {
    font-size: 14px;
    line-height: 19px
  }
}

#principles {
  margin-top: 13px;
  padding: 61px 0 66px 0;
  background-color: #f5f5f5;
}

#principles .title {
  font-size: 56.5px;
  line-height: 1;
  margin-bottom: 30px;
  text-align: center;
}

#principles .title span {
  font-size: 71.5px;
}

#principles .items-list {
  gap: 45px 60px;
  align-items: stretch
}

#principles .item {
  flex-basis: 327px;
  flex-direction: column;
  text-align: center;
  justify-content: start
}

#principles .d-image {
  height: 85px;
  align-items: flex-end
}

#principles h5 {
  font-size: 22px;
  margin-top: 10px;
  margin-bottom: 8px;
}

#principles p {
  font-size: 16px;
  line-height: 21px
}

#principles .button,
#principles .button:hover {
  color: #fff;
  height: 52px;
  line-height: 54px;
  font-size: 17px;
  margin-top: 29px;
  padding: 0 21px
}

@media screen and (max-width: 567px) {
  #principles {
    padding: 48px 0 53px 0;
    margin-top: 21px;
  }

  #principles .title {
    font-size: 40px;
    line-height: 37px;
    margin-bottom: 11px;
  }

  #principles .title span {
    font-size: 52.5px;
    display: block;
  }

  #principles .items-list {
    gap: 0px 60px;
  }

  #principles .item {
    flex-basis: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    text-align: left
  }

  #principles .d-image {
    flex-shrink: 0;
    width: 87px
  }

  #principles img {
    height: auto;
    margin: 0 auto 0 0;
    max-width: 67.5px;
  }

  #principles h5 {
    font-size: 18px;
    margin-bottom: 2px;
  }

  #principles p {
    font-size: 14px;
    line-height: 17.5px;
  }

  #principles .button, #principles .button:hover {
    margin-top: 23px;
  }
}

#history {
  margin-top: 72px;
  margin-bottom: 95px;
}

#history .container {
  width: 1230px;
}

#history .title {
  font-size: 45px;
  line-height: 48.5px;
  margin-bottom: 48px
}

#history .title span {
  font-size: 38px
}

#history .focused:nth-child(even) .d-text {
  width: 742px;
}

#history .focused:nth-child(even) p {
  max-width: 680px;
}

#history .focused:nth-child(even) img {
  margin: 0 0 0 auto
}

#history .focused:nth-child(odd) img {
  margin: 0 auto 0 0
}

#history h5 {
  font-size: 26px;
  line-height: 35px;
  margin-bottom: 7px
}

#history .d-image.pr2 {
  padding-right: 10px
}

#history .d-text {
  padding-bottom: 20px;
}

#history .d-text.pl1 {
  padding-left: 16px
}


#history p {
  font-size: 18px;
  line-height: 26px;
  max-width: 657px;
  margin-bottom: 0;
}

#history .readmore {
  color: var(--red) !important;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

@media screen and (max-width: 767px) {
  #history p br {
    display: none
  }

  #history .focused {
    flex-wrap: wrap;
  }

  #history .d-image {
    position: relative;
    order: 1;
    padding: 0;
    padding: 0 !important
  }

  #history .d-text.pl1 {
    padding: 0
  }

  #history .d-image img {
    max-width: 100vw;
    width: 100vw;
    margin: 0 0 0px -15px !important;
    object-fit: cover;
    max-height: 400px;
  }

  #history .d-text {
    margin-top: 16px;
    flex-basis: 100%;
    position: relative;
    order: 2
  }
}

@media screen and (max-width: 567px) {
  #history {
    margin-top: 26px;
    margin-bottom: 45px;
  }

  #history .title {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 45px;
  }

  #history .title span {
    font-size: 36px
  }

  #history .d-text {
    margin-top: 26px
  }

  #history h5 {
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 1
  }

  #history p {
    font-size: 14px;
    line-height: 19px
  }

  #history .readmore {
    font-size: 14px;
  }
}