/* about */

.about {
  overflow: hidden;
  position: relative;
  background: url("../../img/202604/product-list-pankit/about-bg.png") repeat;
  background-color: var(--brand-color);
}

.about__bg {
  position: absolute;
}

.about__deco-img {
  position: absolute;
  filter: drop-shadow(0 5.677px 9.083px #b37d07);
}

.about__deco-img--top {
  top: -14.6px;
  right: -56px;
  width: 127px;
}

.about__deco-img--bottom {
  bottom: -34px;
  left: -16px;
  width: 118px;
}

.about__content {
  @media (768px <= width) {
    margin-top: 56px;
  }
}

.about__inner {
  position: relative;
  z-index: 1;
}

.about__top {
  @media (768px <= width) {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }
}

.about__item-body {
  padding-inline: 16px;

  @media (768px <= width) {
    flex: 1 1 0;
    width: auto;
    max-width: 548px;
    min-width: 0;
    padding-inline: 0;
  }
}

.about__item-img {
  border-radius: 16px;

  @media (768px <= width) {
    display: block;
    flex: 1 1 0;
    width: 100%;
    height: fit-content;
    max-width: 460px;
    min-width: 0;
    border-radius: 16px;
  }
}

.about__item-title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;

  @media (768px <= width) {
    margin-top: 0;
    font-size: 24px;
  }
}

.about__item-sentence-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;

  @media (768px <= width) {
    margin-top: 27px;
  }
}

.about__item-sentence {
  font-size: 14px;
  font-weight: 400;
  line-height: 2.2;
}

.about__card-items {
  display: grid;
  position: relative;
  margin-top: 64px;

  @media (768px <= width) {
    margin-top: 94px;
  }
}

.about__card-block {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  padding-block: 51px 24px;
  background-color: #fff;

  &:not(:first-of-type) {
    margin-top: 54px;
  }

  @media (768px <= width) {
    display: flex;
    justify-content: center;
    gap: 48px;
    width: 100%;
    max-width: 1032px;
    padding-block: 161px 48px;
    padding-inline: 24px;
  }
}

.about__card-item-balloon-picture {
  display: block;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.about__card-item-balloon {
  width: auto;
  height: 41px;

  @media (768px <= width) {
    height: 46px;
  }
}


.about__card-item-balloon-picture + .about__card-item {
  margin-top: 0;
}

.about__card-item {
  width: 100%;
  padding-inline: 16px;
  background-color: #fff;

  /* &:not(:first-of-type) { */
  + .about__card-item {
    margin-top: 48px;

    @media (768px <= width) {
      margin-top: 0;
    }
  }

  @media (768px <= width) {
    display: flex;
    flex-direction: column;
    max-width: 311px;
    padding-inline: 0;
  }
}

.about__card-item__authority-wrap {
  margin-bottom: 16px;
  margin-inline: auto;

  @media (768px <= width) {
    position: absolute;
    top: 49px;
    left: 50%;
    translate: -50%;
  }
}

.about__card-item-authority {
  display: flex;
  width: 100%;
  max-width: 311px;
  margin-inline: auto;

  @media (768px <= width) {
    max-width: 400px;
  }
}

.about__card-item-body {
  margin-top: 16px;

  @media (768px <= width) {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 19px;
  }
}

.about__card-item-sub-title {
  margin-bottom: 4px;
  padding-inline: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;

  @media (768px <= width) {
    padding-inline: 0;
    font-size: 14px;
  }
}

.about__card-item-title {
  padding-inline: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;

  @media (768px <= width) {
    padding-inline: 0;
    font-size: 24px;
  }
}

.about__card-item-sentence {
  margin-top: 16px;
  padding-inline: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;

  @media (768px <= width) {
    flex-grow: 1;
    padding-inline: 0;
  }
}

.about__card-item-btn {
  max-width: 311px;
  min-height: 48px;
  margin-top: 16px;

  @media (768px <= width) {
    margin-top: 23px;
    padding-block: 14px;
  }
}
