/**
 * About Story Styles
 *
 * @package PhilFred
 */

/* ==========================================================================
   ABOUT STORY
   ========================================================================== */

.about-story {
  padding-top: 80px;
  padding-bottom: 120px;
  position: relative;
}

@media (max-width: 1440px) {
  .about-story {
    padding-top: calc(40px + 40 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 1440px) {
  .about-story {
    padding-bottom: calc(85px + 35 * (100vw - 390px) / 1050);
  }
}

.about-story__back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.about-story__back img {
  -o-object-position: right top;
  object-position: right top;
}

.about-story__container {
  position: relative;
  z-index: 2;
}

.about-story__title {
  font-family: "Roboto Condensed", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 127%;
  text-align: center;
  color: #636363;
  margin: 0 auto;
  margin-bottom: 80px;
  max-width: 34.375rem;
}

@media (max-width: 1440px) {
  .about-story__title {
    font-size: calc(17px + 5 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 1440px) {
  .about-story__title {
    margin-bottom: calc(48px + 32 * (100vw - 390px) / 1050);
  }
}

.about-story__body {
  max-width: 50rem;
}

.about-story__body span {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  font-size: 39px;
  line-height: 108%;
  color: #e5193a;
}

@media (max-width: 1440px) {
  .about-story__body span {
    font-size: calc(32px + 7 * (100vw - 390px) / 1050);
  }
}

.about-story__body p {
  position: relative;
  z-index: 5;
}

.about-story__body p.mb-medium {
  margin-bottom: 3.5rem;
}

.about-story__body p.mb-small {
  margin-bottom: 1.5rem;
}

.about-story__body p.mb-big {
  margin-bottom: 88px;
}

@media (max-width: 1440px) {
  .about-story__body p.mb-big {
    margin-bottom: calc(41px + 47 * (100vw - 390px) / 1050);
  }
}

.about-story__bio {
  margin-top: 136px;
  display: grid;
  grid-template-columns: 58.88% 1fr;
  margin-bottom: 120px;
}

@media (max-width: 1440px) {
  .about-story__bio {
    margin-top: calc(56px + 80 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 1440px) {
  .about-story__bio {
    margin-bottom: calc(30px + 90 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 61.9988rem) {
  .about-story__bio {
    grid-template-columns: 1fr;
  }
}

.about-story__names {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  gap: 1.875rem;
  padding-block: 24px;
}

@media (max-width: 1440px) {
  .about-story__names {
    padding-block: calc(16px + 8 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 61.9988rem) {
  .about-story__names {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}

.about-story__name {
  font-family: "Edo", sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 158%;
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

@media (max-width: 1440px) {
  .about-story__name {
    font-size: calc(14px + 5 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 61.9988rem) {
  .about-story__photo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}

@media (min-width: 61.9988rem) {
  .about-story__photo {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
  }
}

@media (max-width: 47.9988rem) {
  .about-story__photo {
    margin-inline: -1.5rem;
  }
}

.about-story__info {
  background: #e5193a;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-block: 0.9375rem;
  padding-inline: 48px;
}

@media (max-width: 1440px) {
  .about-story__info {
    padding-inline: calc(24px + 24 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 61.9988rem) {
  .about-story__info {
    padding-block: 3rem;
    padding-inline: 1.5rem;
    margin: 0 -1.5rem;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
}

@media (min-width: 61.9988rem) {
  .about-story__info {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
  }
}

.about-story__label {
  font-family: "Roboto Condensed", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 3rem;
  line-height: 100%;
  margin-bottom: 1rem;
}

.about-story__more {
  font-family: "Roboto Condensed", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 127%;
  color: #fff;
  max-width: 29.875rem;
}

@media (max-width: 1440px) {
  .about-story__more {
    font-size: calc(20px + 2 * (100vw - 390px) / 1050);
  }
}

.about-story__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (min-width: 61.9988rem) {
  .about-story__wrapper {
    gap: 8.625rem;
  }
}

.about-story__decor {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 40.76%;
  flex: 0 0 40.76%;
}

@media (max-width: 61.9988rem) {
  .about-story__decor {
    display: none;
  }
}

@media (max-width: 61.9988rem) {
  .about-story__image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

.about-story__image-01 {
  -webkit-transform: rotate(-8deg);
  -ms-transform: rotate(-8deg);
  transform: rotate(-8deg);
}

@media (min-width: 61.9988rem) {
  .about-story__image-01 {
    margin-bottom: 5.625rem;
    margin-right: 1.6875rem;
  }
}

@media (max-width: 61.9988rem) {
  .about-story__image-01 {
    margin-bottom: 88px;
  }
}

@media (max-width: 61.9988rem) and (max-width: 1440px) {
  .about-story__image-01 {
    margin-bottom: calc(41px + 47 * (100vw - 390px) / 1050);
  }
}

.about-story__image-02 {
  -webkit-transform: rotate(8deg);
  -ms-transform: rotate(8deg);
  transform: rotate(8deg);
}

@media (max-width: 61.9988rem) {
  .about-story__image-02 {
    margin-bottom: 88px;
  }
}

@media (max-width: 61.9988rem) and (max-width: 1440px) {
  .about-story__image-02 {
    margin-bottom: calc(41px + 47 * (100vw - 390px) / 1050);
  }
}

.about-story__image-03 {
  -webkit-transform: rotate(-18deg);
  -ms-transform: rotate(-18deg);
  transform: rotate(-18deg);
}

@media (max-width: 61.9988rem) {
  .about-story__image-03 {
    margin-top: 88px;
  }
}

@media (max-width: 61.9988rem) and (max-width: 1440px) {
  .about-story__image-03 {
    margin-top: calc(41px + 47 * (100vw - 390px) / 1050);
  }
}
