#generalContent {
  max-width: var(--premary_width);

  & hr {
    margin-bottom: 2rem;
  }

  & .GeneralContent_continer {
    display: flex;
    gap: 25px;
    width: 100%;

    & .lastContent {
      height: inherit;
      width: 70%;
      background: pink;
    }

    & aside {
      width: 30%;
    }
  }
}

#generalContent:has(.noPosts) {
  & .noPosts {
    width: -webkit-fill-available;
  }

  & aside {
    min-width: 30%;
    transition: 0.5s;
  }
}

/* aside Steky */
aside.sticky {
  position: sticky;
  align-self: flex-start;
  transition: 0.5s;
}

section#Roseta__lastContet_1 {
  width: var(--premary_width);
  display: flex;
  gap: 25px;
  height: inherit;
  width: 70%;

  &:has(.Grid_Style),
  &:has(.Grid__img_full) {
    display: unset !important;
  }

  /* Full Image */
  &:has(.Grid__img_full) {
    & * {
      color: #fff;
    }

    & .box {
      height: 476px !important;
      position: relative;
      background: linear-gradient(45deg, #5691b0f2, transparent);
      overflow: hidden;
      border-radius: 10px;

      & > img {
        position: absolute;
        height: 100% !important;
        z-index: 1;
      }

      & .info {
        position: absolute;
        z-index: 1;
        padding: 6rem 1rem 1rem;
        background: linear-gradient(to top, #000000d4, transparent);
        bottom: 0;

        & hr {
          border: 1px solid #ffffff33 !important;
        }

        & ul {
          & li {
            padding: 3px 8px 5px;
          }
        }
      }
    }
  }

  /* Full Width */
  &:has(.Grid__img_full__full_width) {
    width: 100% !important;

    & .rosBox {
      gap: 10px !important;
      justify-content: space-between;

      & .box {
        max-width: calc(100% / var(--last__count) - 10px);
        border-bottom: none !important;
        transition: All 0.5s;

        &:hover {
          box-shadow: 2px 2px 4px 0px #000000b5;
        }
      }
    }
  }

  & * {
    font-family: "Inria Sans";
  }

  /* Flex */
  & .rosBox:has(.Smoking_Style) {
    /*  gap: 1rem; */
  }

  & .rosBox {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    & .box {
      height: 13rem;
      display: flex;
      gap: 1rem;

      & .more__ * {
        font-size: 11px !important;
        font-weight: bold;
        font-family: "Tagesschrift" !important;
      }

      & svg {
        position: absolute;
        top: 8px;
        left: 5px;
        fill: #fff;
        width: 18px;
        height: 18px;
        filter: drop-shadow(1px 1px 2px black);
        cursor: pointer;
      }

      & > img {
        width: 40%;
        min-width: 40%;
        border-radius: 7px;
      }

      & .info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: space-evenly;
        left: 0;
        width: 100%;

        & hr {
          margin: 0 !important;
        }

        & h2:nth-child(1) {
          font-weight: bold;
          font-size: 20px;
        }

        & p:nth-child(2),
        & p:nth-child(3) {
          font-size: 12.5px;
          opacity: 0.7;
          font-weight: bold;
          font-family: "Tagesschrift";
        }

        & hr {
          border: 1px solid #00000033;
        }

        & ul {
          margin: 0;

          & li {
            border: none;
            font-size: 13px;
            font-weight: bold;

            & a {
              color: #fff;
              text-shadow: 0 0 15px black;
            }
          }
        }

        & > div {
          font-size: 12px;
          line-height: 22px;
          letter-spacing: 1px;
          display: flex;
          align-items: center;
          gap: 10px;
          flex-wrap: wrap;

          & > img {
            width: 35px;
            height: 35px;
            border-radius: 100%;
            border: 1px solid;
            padding: 1px;
          }
        }
      }
    }
  }

  /* Grid */
  & .Grid_Style,
  & .Grid__img_full {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 15px !important;

    & .box {
      max-width: calc(100% / 2 - 13px);
      width: 100%;
      height: unset;
      flex-direction: column;
      border-bottom: 1px solid #0000002b;
      padding-bottom: 1rem;

      & > img {
        width: 100%;
        height: 15rem;
        top: 0;
        left: 0;
      }
    }
  }
}

/*  */
@media ((max-width: 576px)) {
  #generalContent {
    display: flex;
    flex-direction: column;

    & .GeneralContent_continer {
      flex-direction: column;

      & section#Roseta__lastContet_1 {
        width: 100%;
        padding: 0 7px;
        display: flex;
        flex-direction: column;
        padding: 0 7px;

        & .rosBox {
          & .box {
            flex-direction: column;
            height: auto;
            box-shadow: 0 0 10px 5px #d2d2d2;
            border-radius: 10px;
            padding: 5px 3px 8px;

            & > img {
              width: 100%;
              height: var(--Full_Image);
            }
          }
        }

        /*  */
        & .Grid_Style,
        & .Grid__img_full {
          display: flex;
          flex-direction: column;
          width: inherit;

          & .box {
            width: inherit;
            min-width: 100%;
          }
        }
      }
    }

    & aside {
      width: 100% !important;
    }
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  #generalContent {
    display: flex;
    flex-direction: column;
    padding: 0 7px;

    & .GeneralContent_continer {
      flex-direction: column;

      & section#Roseta__lastContet_1 {
        width: 100%;
      }

      & .Grid__img_full {
        gap: 30px !important;

        & .box {
          max-width: calc(100% / 2 - 15px) !important;
        }
      }

      & aside {
        width: 100%;
        border-top: 1px solid #00000033;
        padding-top: 2rem;
        display: flex;
        flex-direction: column;

        & .marg {
          margin: 2rem 0 !important;
        }
      }
    }
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  #generalContent {
    display: flex;
    flex-direction: column;
    padding: 0 7px;

    & .GeneralContent_continer {
      flex-direction: column;

      & section#Roseta__lastContet_1 {
        width: 100%;

        & .rosBox {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: space-between;

          & .box {
            max-width: calc(100% / 2 - 16px) !important;
            flex-direction: column;
            height: auto !important;

            & > img:first-child {
              width: 100% !important;
              height: 15rem;
            }
          }

          &.Grid__img_full {
            & .box {
              height: 30rem !important;
            }
          }
        }
      }

      & aside {
        width: 100%;
        border-top: 1px solid #00000033;
        padding-top: 2rem;
        display: flex;
        flex-direction: column;

        & .marg {
          margin: 2rem 0 !important;
        }
      }
    }
  }
}

@media (min-width: 992px) {
  #generalContent {
    padding: 0 7px;
  }
}
