.spec-wrapper {
  display: flex;
  flex-direction: column;
  padding-block: 1.5rem;
  align-items: center;
  gap: 2rem;
}

.spec-label {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 150%;
}

.spec {
  padding: 1.5rem;
  border: 8px solid #d0c7b3;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: linear-gradient(
    270deg,
    rgba(249, 231, 188, 0.21) 0%,
    rgba(255, 255, 255, 0.21) 55.92%
  );
}

.spec-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-role {
  color: #df930e;
  font-size: 1.25rem;
  font-style: italic;
}

.spec-divider {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 217, 163, 0.9) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.spec-content,
.spec-section,
.spec-socials-wrapper {
  display: flex;
  gap: 1.5rem;
}

.spec-content {
  justify-content: space-between;
}

.spec-strengths-wrapper,
.spec-socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.spec-socials {
  max-width: 240px;
}

.spec-strengths {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;

  li {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    &::before {
      content: "";
      width: 10px;
      height: 10px;
      background-color: #df930e;
      border-radius: 50%;
    }
  }
}

.spec-avatar {
  background: linear-gradient(
    300deg,
    rgba(252, 223, 170, 0.5) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(252, 223, 170, 0.5) 100%
  );
  height: fit-content;

  img {
    width: 100%;
    border-radius: 50%;
    max-width: 260px;
  }
}

.spec-socials-list {
  display: flex;
  gap: 0.5rem;
}

.spec-review-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
  background-color: #fff;
  border: 1px solid #d0c7b3;
  border-radius: 1rem;
  width: 100%;
  max-width: 400px;

  &::after {
    content: "";
    position: absolute;
    width: 33px;
    height: 56px;
    bottom: -56px;
    left: 20%;
    transform: translateX(-50%);

    background-image: url("data:image/svg+xml,%3Csvg width='33' height='56' viewBox='0 0 33 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M33 56V0H0L33 56Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;

    filter: drop-shadow(1px 0px 0px #d0c7b3) drop-shadow(-1px 0px 0px #d0c7b3)
      drop-shadow(0px 1px 0px #d0c7b3);
  }
}

.spec-article-title {
  padding: 0 1rem;
  font-size: 1.25rem;
  color: #df930e;
  line-height: 120%;
}

.spec-article-text {
  padding: 0 1rem;
  line-height: 150%;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-time {
  color: #877141;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 2rem;
  width: fit-content;
  background: linear-gradient(
    90deg,
    rgba(252, 223, 170, 0.9) 11.67%,
    rgba(255, 251, 236, 0) 100%
  );
}

.spec-article-button {
  margin-top: 3.5rem;
  color: #5e5038;
  background-color: #f7d79d;
  border-radius: 0.5rem;
  padding: 1rem;
  width: fit-content;
  box-shadow: 2px 4px 4px #00000050;
  transition: all 0.3s;

  &:hover {
    box-shadow: none;
  }
}

@media all and (max-width: 1139px) {
  .spec-content {
    flex-direction: column;
  }

  .spec-article {
    max-width: unset;
  }
}

@media all and (max-width: 1023px) {
  .spec-label {
    font-size: 1rem;
  }
}

@media all and (max-width: 767px) {
  .spec {
    padding: 1rem;
  }

  .spec-section,
  .spec-socials-wrapper {
    flex-direction: column;
  }

  .spec-avatar {
    width: fit-content;
    align-items: center;
  }

  .spec-social-item {
    img,
    svg {
      width: 40px;
      height: 40px;
    }
  }

  .spec-avatar {
    width: 100%;
    max-width: 400px;
    img {
      max-width: 400px;
    }
  }
}
