.rosita-youtube-lazy {
  & iframe {
    border: none;
    width: 100%;
    height: -webkit-fill-available;
    border-radius: 7px;
  }
}

main#Single__One_Content {
  padding: 0 7px;

  /* Custom 1 */
  & .ros__featured_image {
    height: 30rem;
    max-width: var(--premary_width);
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 1rem;
    position: relative;

    /*  */
    h1 {
      font-size: 25px;
      font-family: "Tagesschrift";

      &:before {
        content: "";
        width: 12px;
        height: 12px;
        background: url();
        border: 3px dashed #00ffc5;
        border-radius: 100%;
        display: inline-flex;
        margin-right: 10px;
        animation: bRotate 8s cubic-bezier(0, 0, 1, 1) infinite;
      }
    }

    @keyframes bRotate {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    & .ros__top_info {
      position: absolute;
      background: linear-gradient(to bottom, #00000000, #000000b5);
      width: 100%;
      height: inherit;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 4rem 0 1rem 2rem;
      bottom: 0;
      height: fit-content;

      &.center_info {
        background: linear-gradient(to top, #2c5741, #ff000054) !important;
        justify-content: center;
        align-items: center;
        padding: 0px !important;
        height: 100%;
      }

      & * {
        color: #fff !important;
      }

      & ul {
        padding: 0 !important;
      }

      .ros__1 {
        display: flex;
        align-items: center;
        gap: 8px;

        & span,
        a {
          font-size: 13px;
          color: #ffffff8f;
          font-family: "Tagesschrift";
        }

        & ul {
          display: flex;
          gap: 5px;
        }
      }

      & .ros__title {
        margin: 15px 0;
      }

      & .author {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 13px;

        & img {
          border-radius: 100%;
          overflow: hidden;
          width: 33px;
          border: 1px dashed #8f8f8f;
          padding: 2px;
        }

        & * {
          font-family: "Tagesschrift";
        }
      }
    }
  }

  /* Custom 2 */
  & .ros__featured_image.custum__2 {
    height: 22rem;
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
    border-radius: 0;
    border-bottom: 2px dashed #0000003d;
    align-items: center;

    & > img {
      width: 50%;
      border-radius: 10px;
    }

    & .ros__top_info {
      width: 50%;
      position: unset;
      display: flex;
      justify-content: center;
      background: transparent !important;
      padding: 1rem;

      & > div {
        width: 100%;
      }

      & * {
        color: #000 !important;
      }

      & h1 {
        font-size: 35px;

        &:before {
          border: 3px dashed #0030ff !important;
        }
      }
    }
  }

  & .continer {
    display: flex;
    max-width: var(--premary_width);
    margin: 0 auto;
    gap: 2rem;

    /*  */
    & .left {
        min-width: 67%;
        
        
      & article {
        & h2 {
          margin: 1.2rem 0;
          color: var(--h2);
        }

        & h3 {
          color: var(--h3);
        }

        & h4 {
          color: var(--h4);
        }

        & h5 {
          color: var(--h5);
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        p {
          font-style: normal !important;
        }

        & p {
          margin: 20px 0;
          line-height: 25px;
          text-transform: capitalize;
          color: #000000bd;
        }

        & * {
          font-family: var(--content__font);
        }

        & h2 {
          margin: 1.2rem 0;
        }

        & ol,
        & ul {
          padding-left: 3rem;

          & li {
            margin: 10px 0;
            list-style: inside;
          }
        }

        & p {
          margin: 20px 0;
        }

        & .the_content {
          display: flex;
          gap: 1rem;

          & .socialShear {
            height: fit-content;
            border-right: 1px dashed #0000006b;
            padding: 0px 8px 0 0;
            display: flex;
            position: sticky;
            margin: 25px 0 0;
            flex-direction: column;
            align-items: center;
            transition: 0.5s;

            & span {
              writing-mode: vertical-rl;
              margin-bottom: 1rem !important;
            }

            & ul {
              padding: 0 !important;
              display: flex;
              flex-direction: column;
              gap: 6px;

              & li {
                list-style: none !important;
                transition: transform 0.1s linear;
                margin: 0;
                cursor: pointer;

                &:hover,
                &:focus {
                  animation: vibrate-1 1s linear infinite;
                }

                & .linkedCopy {
                  transform: translateY(0px);
                  opacity: 0;
                  width: 100%;
                  background: #fff;
                  visibility: hidden;
                  transition: 0.5s;
                  pointer-events: none;
                  position: absolute;

                  &.linkedCopy_active {
                    transform: translateY(-27px);
                    opacity: 1;
                    visibility: visible;
                  }
                }
              }
            }
          }
        }
      }
    }

    /*  */
    & aside {
      min-width: 30%;
      width: 30%;
      position: sticky;
      top: 20px;
    }
  }
}

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

/* Comment */
div#comments {
  max-width: var(--premary_width);
  margin: 0 auto;
}

/* sharing */
.sharing {
  display: flex;
  margin-top: 1rem;
  align-items: center;
  gap: 10px;
  transition: 0.5s;
  border: 1px dashed #0000003d;
  border-left: none;
  border-right: none;
  padding: 10px 0;

  & * {
    font-family: lora !important;
  }

  & ul {
    gap: 1rem;
    padding: 0 !important;

    & li {
      margin: 0px !important;
      list-style-type: none !important;
    }
  }
}

/* Table of Content */
.tableOf__content {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 0 14px #0000002e;
  position: relative;

  & .tableName {
    padding: 1rem 2rem;
    background: var(--T_O_C_C);
    color: #fff;
    border-radius: 80px 0 0 100px;
    position: relative;
    margin-bottom: 1rem;
    font-family: "Lora";

    &:before {
      content: "";
      position: absolute;
      background: var(--T_O_C_C);
      width: 5rem;
      height: 4rem;
      right: 0;
      bottom: -36px;
    }

    &::after {
      content: "";
      position: absolute;
      background: #ffffff;
      border-radius: 0px 100px 27px 9px;
      width: 7rem;
      height: 4rem;
      right: -2px;
      bottom: -64px;
    }
  }

  & ul {
    padding: 0 2rem 1rem;
    overflow: scroll;
    height: 18rem;
    position: relative;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 6px;

    & li {
      display: flex;
      gap: 6px;
      align-items: flex-start;

      & a {
        font-size: 13px;
        font-family: "Tagesschrift";
        margin: 0 !important;
      }

      & svg {
        max-width: 19px;
      }
    }
  }

  /*  */
  &:before {
    content: "";
    position: absolute;
    background: var(--T_O_C_C);
    width: 5rem;
    height: 4rem;
    left: -3px;
    bottom: -3px;
  }

  &::after {
    content: "";
    position: absolute;
    background: #ffffff;
    border-radius: 3px 0px 0px 100px;
    width: 7rem;
    height: 6rem;
    left: -5px;
    bottom: 0px;
  }

  /* Style_2 */
  &.style_2 {
    border: 1px dashed #7877777a !important;
    border-radius: 10px;
    box-shadow: unset !important;

    &:before,
    &:after,
    & .tableName,
    & .tableName:before,
    & .tableName:after {
      background: transparent !important;
    }

    & .tableName {
      border-bottom: 1px dashed #7877777a !important;
      border-radius: 0;
      color: #000;
    }
  }
}

/* blockquote */
blockquote {
  font-family: "Georgia", serif !important;
  font-size: 1.3rem;
  font-style: italic;
  color: #222;
  text-align: center;
  line-height: 1.6;
  margin: 2em auto;
  padding: 2em 2.5em;
  max-width: 650px;
  position: relative;
  background: #f3f3f3;
  border-radius: 12px;

  &::before {
    content: "''";
    font-size: 4rem;
    color: #ff6b6b;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
  }

  &::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #ff6b6b;
    margin: 1.5em auto 0;
    border-radius: 3px;
  }

  & cite {
    display: block;
    margin-top: 1em;
    font-size: 1rem;
    color: #666;
    font-style: normal;
  }
}

/* Shearing Animation */
@keyframes vibrate-1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(-2px, 0) rotate(-1deg);
  }

  20% {
    transform: translate(2px, 0) rotate(1deg);
  }

  30% {
    transform: translate(-1px, 0) rotate(-0.6deg);
  }

  40% {
    transform: translate(1px, 0) rotate(0.6deg);
  }

  50% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Tags */
.tags {
  margin: 7px 0;
  display: flex;
  align-items: center;

  & * {
    font-weight: bold;
    font-family: "Inria Sans" !important;
  }

  & ul {
    display: flex;
    align-items: center;
    padding: 0 !important;
    gap: 1rem;
    margin-left: 1rem;

    & li {
      list-style: none !important;
      font-size: 0.9rem;
      margin: 0 !important;

      &::before {
        content: "#";
        color: #ff5671;
        margin-right: 3px;
      }
    }
  }
}

div#comments {
  & ol {
    & li {
      margin: 5px 0 0 10px;
    }
  }
}

/* Responce */
@media ((max-width: 576px)) {
  #Single__One_Content {
    & .ros__featured_image {
      .ros__title {
        text-align: center;
      }
    }

    & .ros__featured_image.custum__2 {
      flex-direction: column;
      height: auto !important;
      margin-bottom: 0 !important;

      & .ros__top_info,
      & > img {
        width: 100% !important;
      }
      & .ros__top_info {
        & h1 {
          font-size: 32px !important;
          text-align: left;
        }
      }

      & > img {
        height: 15rem;
      }
    }

    & .continer {
      & .left {
        margin: 0 !important;
        width: 100% !important;
      }
    }
  }

  /*  */
  #Single__One_Content:has(aside) {
    & .ros__featured_image {
      & .ros__top_info {
        padding: 1rem;

        & .ros__title {
            text-align: center;
            margin: 15px 20px;
        }
      }
    }

    & .ros__featured_image.custum__2 {
      flex-direction: column;
      height: auto !important;

      & .ros__top_info,
      & > img {
        width: 100% !important;
      }
      & .ros__top_info {
        & h1 {
          font-size: 32px !important;
          text-align: left;
        }
      }

      & > img {
        height: 15rem;
      }
    }

    /*  */
    & .continer {
      display: flex;
      flex-direction: column;

      & aside {
        padding: 2rem 0 0 !important;
        width: 100%;
      }
    }
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  #Single__One_Content {
    & .ros__featured_image {
      .ros__title {
        text-align: center;
      }
    }

    & .ros__featured_image.custum__2 {
      flex-direction: column;
      height: auto !important;
      margin-bottom: 0rem !important;

      & .ros__top_info,
      & > img {
        width: 100% !important;
      }
      & .ros__top_info {
        & h1 {
          font-size: 32px !important;
          text-align: left;
        }
      }

      & > img {
        height: 15rem;
      }
    }

    & .continer {
      & .left {
        margin: 0 !important;
        width: 100% !important;
      }
    }
  }

  /*  */
  #Single__One_Content:has(aside) {
    & .ros__featured_image {
      & .ros__top_info {
        padding: 1rem;

        & .ros__title {
          text-align: left;
        }
      }
    }

    /*  */
    & .continer {
      display: flex;
      flex-direction: column;

      & aside {
        padding: 2rem 0 0 !important;
        width: 100%;
      }
    }
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  #Single__One_Content {
    & .ros__featured_image {
      .ros__title {
        text-align: center;
      }
    }

    & .ros__featured_image.custum__2 {
      align-items: center !important;
      padding: 1rem !important;
      height: 19rem !important;
      margin-bottom: 1rem !important;

      & .ros__top_info,
      & > img {
        width: 100% !important;
      }
      & .ros__top_info {
        & h1 {
          font-size: 32px !important;
          text-align: left;
        }
      }

      & > img {
        height: 15rem;
      }
    }

    & .continer {
      & .left {
        margin: 0 !important;
        width: 100% !important;
      }
    }
  }

  /*  */
  #Single__One_Content:has(aside) {
    & .ros__featured_image {
      & .ros__top_info {
        padding: 1rem;

        & .ros__title {
          text-align: left;
        }
      }
    }

    /*  */
    & .continer {
      display: flex;
      flex-direction: column;

      & aside {
        width: 100%;
        padding: 2rem 0 0 !important;
        display: flex;
        flex-wrap: wrap;

        & section {
          width: calc(100% / 2) !important;
          margin: 0;
        }
      }
    }
  }
}

@media (min-width: 993px) and (max-width: 1130px) {
  #Single__One_Content:has(aside) {
    & .ros__featured_image {
      & .ros__top_info {
        padding: 1rem;

        & .ros__title {
          text-align: left;
        }
      }
    }

    /*  */
    & .continer {
      display: flex;
      flex-direction: column;

      & aside {
        width: 100%;
        padding: 2rem 0 0 !important;
        display: flex;
        flex-wrap: wrap;

        & section {
          width: calc(100% / 2) !important;
          margin: 0;
        }
      }
    }
  }
}

/*  */
p.comment_Closed {
  padding: 6px 9px;
  margin: 1rem 0 !important;
  border-radius: 5px;
  background: #008aff1a;
  text-align: center;
  box-shadow: 2px 3px 0 #00000033;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
}
