.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.sidebar--wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5vh;
  align-items: center;
  width: 100%;
}

.sidebar__title {
  text-align: center;
  font-size: max(2.5vw, 24px);
  font-family: var(--base-font-family);
  font-weight: 700;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  align-items: center;
  width: inherit;
}

.sidebar-content__item {
  display: flex;
  width: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.sidebar-post__img {
  width: inherit;
}

.sidebar-post:hover img {
  transform: scale(1.03);
}
.sidebar-post img {
  width: 100%;
  transition: transform 0.3s ease-in;
}

.sidebar-post__title {
/*  padding: 2.5vh 0.5vw;*/
  padding: 10px 15px 30px 15px;
  display: flex;
  flex-direction: column;
  color: #363636;
  font-weight: 600;
  font-size: max(0.9vw, 14px);
  text-align: center;
  font-family: var(--base-font-family);
  width: inherit;
}
.sidebar-right a {
  font-family: "Montserrat", sans-serif;
  font-size: max(0.8vw, 10px);
}

.sidebar-post:hover .sidebar-post__title,
.sidebar-right a:hover {
  color: #cd2122;
}
.widget_block {
  display: flex;
  align-self: flex-start;
}
.widget_block h3 {
  font-size: max(1.2vw, 16px);
  font-weight: 600;
}

@media screen and (max-width: 900px) {
  .sidebar-right {
    /* display: none; */
    position: fixed;
    top: 50%;
    right: 0;
    max-width: 15rem;
    width: 100%;
    height: 100vh;
    padding: 2.5vh 1rem;
    /* background-color: rgb(0 0 0 / 100%); */
    background-color: #353535;
    /* transform: translate(0, -50%); */
    transform: translate(100%, -50%);
    opacity: 0;
    visibility: hidden;
    z-index: 98;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in;
    z-index: 100;
  }

  .sidebar-right.sidebar--active {
    transform: translate(0%, -50%);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .sidebar--wrapper {
    gap: 0.75vh;
    position: relative;
  }
  .sidebar__title {
    font-size: max(3.25vw, 24px);
    color: #fff;
  }
  .sidebar-post__img {
    max-width: 70%;
  }

  .sidebar-post__title {
    color: #fff;
  }
}
@media screen and (max-width: 750px) {
  /* .sidebar-post:last-child {
    display: none;
  } */

  .sidebar-content {
    gap: 0;
  }

  .sidebar-post__title {
    padding: 1.5vh 0.5vw;
  }
}
@media screen and (min-width: 400px) and (max-width: 900px) and (orientation: landscape) {
  .sidebar--wrapper {
    margin-top: 12.5rem;
  }
}
