.Quick__info {
  max-width: var(--premary_width);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  align-items: center;
  padding: 0 7px;
  overflow: hidden;
  font-family: "Inria Sans";
  position: relative;

  /*  */
  &:has(.with_desc) {
    align-items: flex-end;
    max-width: 100%;
    position: relative;
    margin: 0;
    height: 20rem;
    padding: 0;

    & img {
      position: absolute;
      z-index: -1;
    }

    & .with_desc {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      width: var(--premary_width);
      flex-direction: column;
      margin: 14px auto;
      gap: 1rem;
      padding: 0 7px;

      & .Home__ {
        font-size: 13px;
        font-weight: bold;
        padding: 5px 1rem;
        border-radius: 100px;
        background: #e2e2e2;
      }

      & .You__In {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;

        & .posts__Count {
          width: fit-content !important;
        }
      }
    }
  }

  /*  */
  &:has(.cat__name) {
    background: linear-gradient(45deg, #fff4f4, #afcbff);
    padding: 2rem;
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    border-radius: 5px 5px 20px 5px;

    & .cat__name {
      padding-right: 1rem;

      & p:nth-child(1) {
        font-family: "Tagesschrift";
        margin: 12px 0 8px;
        font-weight: 900;
        font-size: clamp(36px, 8vw, 35px);
        background: linear-gradient(90deg, #b52a89, #ff2d01f7);
        -webkit-background-clip: text;
        color: #00000000;
        text-shadow: 0 6px 40px rgba(34, 211, 238, 0.22);
      }

      & p:nth-child(2) {
        font-size: 13px;
        font-weight: bold;
      }
    }

    & p.desc {
      width: 65%;
      font-size: 14px;
      display: flex;
      flex-direction: column;
      line-height: 1.4;
      gap: 20px;
      border-left: 2px solid #0000001c;
      padding-left: 1rem;
      font-family: "Tagesschrift";
    }
  }

  /*  */
  & div.FoundPosts {
    position: absolute;
    outline: 6px solid #ffffff;
    border-radius: 100px;
    font-weight: bold;
    font-size: 13px;
    transition: 0.5s;
    font-family: monospace;
    background: #b9d0fe;
    top: 4px;
    right: 5px;
    z-index: 1;

    & p {
      background: #b9d0fe;
      width: 100%;
      height: 100%;
      padding: 9px 10px 10px;
      border-radius: 100px;
      border: 1px dashed #1959d9;
    }

    &:before,
    &::after {
      content: "";
      position: absolute;
      z-index: -1;
    }

    &:before {
      width: 3rem;
      height: 2rem;
      top: -12px;
      left: -30px;
      background: radial-gradient(
        circle 24px at bottom left,
        #c4d5fd 100%,
        #ffffff
      );
    }

    &::after {
      width: 2rem;
      height: 5rem;
      top: -14px;
      right: -13px;
      background: radial-gradient(
        circle 24px at bottom left,
        #b7cffe 100%,
        #ffffff
      );
    }
  }

  /*  */
  & .cat {
    font-weight: bold;
    font-family: "lora";
    font-style: italic;
    padding: 5px 1rem;
    border-radius: 100px;
    background: #e2e2e2;
    color: black;
    font-size: 13px;
  }

  & .posts__Count {
    border: 2px solid #cccaca;
    padding: 9px 10px 10px;
    border-radius: 100px;
    font-weight: bold;
    font-size: 11px;
    font-family: monospace;
    background: #e2e2e2;
  }
}

/*  */
body:has(.Quick__info p.desc) {
  nav {
    position: sticky !important;
  }
}

/*  */
@media (max-width: 577px) {
  .Quick__info {
    &:has(.cat__name) {
      margin: 3rem 7px;
    }

    & .cat {
      font-size: 13px;
    }

    & .posts__Count {
      font-size: 10px;
      padding: 5px 1rem !important;
    }
  }
}

@media (min-width: 577px) and (max-width: 786px) {
  .Quick__info {
    &:has(.cat__name) {
      margin: 2rem 7px;
    }
  }
}
