/* Widget */
section#rosita_wideightteen {
  background: #0e0e0e;
  height: -webkit-fill-available;
  margin: 0;
  width: 100%;
  overflow: scroll;
  padding: 5px;
  gap: 1rem;
  scrollbar-width: none;
  position: fixed;

  & * {
    color: #fff;
    font-family: "Inria Sans", sans-serif;
  }

  & .ADS {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  & svg {
    color: #fff;
  }

  /*  */
  & .rosBox:nth-child(1) {
    height: inherit;
    min-width: 30%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 0px;

    & .box {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      opacity: 0;
      visibility: hidden;
      transition: 0.5s;
      border-radius: 10px;

      & .info {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 10rem 1rem 1rem;
        background: linear-gradient(to top, black, transparent);
        gap: 1rem;
        display: flex;
        flex-direction: column;

        & p:nth-child(1) {
          border: 1px dashed #ffffff52;
          width: fit-content;
          padding: 5px 10px;
          border-radius: 100px;
          font-size: 13px;
        }

        & h3 {
          font-size: 26px;
          text-shadow: 0 0 20px black;
        }

        & p:nth-child(3) {
          font-size: 12px;
          line-height: 22px;
          letter-spacing: 1px;
        }
      }
    }

    & .rosMode {
      opacity: 1;
      visibility: visible;
      transition: 0.5s;
    }
  }

  /*  */
  & .rosBox {
    display: flex;
    flex-direction: column;
    align-items: center;

    & .rosContiner {
      column-count: 3;
      column-gap: 1rem;
      margin-bottom: 2rem;

      & .box {
        break-inside: avoid;
        margin-bottom: 1rem;
        background: #eee;
        background-color: black !important;
        overflow: hidden;
        border-radius: 15px;
        position: relative;

        &.Active {
          &:hover .info {
          }
        }

        & .info {
          position: absolute;
          height: 100%;
          width: 100%;
          top: 0;
          align-items: center;
          justify-content: center;
          padding: 1rem;
          text-align: center;
          transition: 0.5s;
          flex-direction: column;
          gap: 20px;

          & p,
          h2 {
            opacity: 0;

            font-family: "Irish Grover", system-ui;
            color: #fff;
            transition: 0.5s;
          }

          & p {
            transform: translateY(2rem);
            font-size: 14px;
          }

          & h2 {
            opacity: 0;
            font-size: 17px;
            transform: translateY(2rem);
          }
        }

        &.Active {
          & .info {
            backdrop-filter: brightness(0.3);
          }
        }

        &.Active,
        &:hover .info {
          transition: 0.5s;
          backdrop-filter: brightness(0.3);

          & p,
          h2 {
            transition: 0.5s;
            transform: translateY(0px);
            opacity: 1;
          }

          & p:nth-child(1) {
            transition-delay: 0.5s;
            background: #fffdfe2b;
            padding: 8px 13px;
            color: #ffffff;
            border-radius: 50px;
            backdrop-filter: blur(10px);
            border: 1px dashed #ffffff36;
          }
        }
      }

      &.style_2 {
        column-count: unset;
        max-width: var(--premary_width);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        width: 100%;
        padding: 0 7px;
        gap: 2px;

        & .box {
          height: 30rem;
          border-radius: 3px;
          overflow: hidden;
          position: relative;
          margin: 0;
        }
      }
    }

    & .moreLoad {
      background: #e2e1e1;
      color: black;
      text-align: center;
      width: fit-content;
      padding: 8px 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      border-radius: 40px;
      cursor: pointer;

      & span {
        color: #000 !important;
      }

      & svg {
        fill: #000;
      }
    }
  }

  & .rosBox:nth-child(2) {
    & h3 {
      font-size: 18px;
    }
  }
}

/*  */
@media (max-width: 576px) {
  section#rosita_wideightteen {
    display: flex;
    flex-direction: column;
    padding: 0 7px;

    & .rosBox:nth-child(1) {
      min-height: 30rem !important;
      margin: 10px 0 0;
    }

    /*  */
    & .rosBox:nth-child(2) {
      z-index: 999;
      background: #000;
      padding-top: 10px;

      & .rosContiner {
        column-count: 1 !important;
      }
    }
  }
}

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

    & .rosBox:nth-child(1) {
      min-height: 30rem !important;
      margin: 10px 0 0;
    }

    /*  */
    & .rosBox:nth-child(2) {
      z-index: 999;
      background: #000;

      & .rosContiner {
        column-count: 2 !important;
      }
    }
  }
}

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

    & .rosBox:nth-child(1) {
      min-height: 30rem !important;
      margin: 10px 0 0;
    }

    /*  */
    & .rosBox:nth-child(2) {
      z-index: 999;
      background: #000;

      & .rosContiner {
        column-count: 3 !important;
      }
    }
  }
}

@media (min-width: 992px) {
  section#rosita_wideightteen {
    & .rosBox:nth-child(2) {
      width: -webkit-fill-available !important;
      height: min-content;

      & .rosContiner {
        &.style_2 {
          max-width: none !important;
          grid-template-columns: repeat(
            auto-fit,
            minmax(250px, 1fr)
          ) !important;
        }
      }
    }
  }
}
