.homepage-sidebar {
  &.widget-content {
    margin-bottom: 20px;
  }
  .recent-post,
  .recent-post:hover {
    margin-top: 0 !important;
  }
  .sidebar__search {
    .search-box {
      border: 2px solid #cccccc;
      display: flex;
      width: 100%;
      input {
        font-family: "Roboto";
        font-size: 14px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0.23px;
        color: #111111;
        border: none;
        flex-basis: calc(100% - 16px);
        padding: 10px 15px;
        &:hover,
        &:focus,
        &:active {
          outline: none;
          border: none;
        }
      }
      ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: #cccccc;
      }
      ::-moz-placeholder { /* Firefox 19+ */
        color: #cccccc;
      }
      :-ms-input-placeholder { /* IE 10+ */
        color: #cccccc;
      }
      :-moz-placeholder { /* Firefox 18- */
        color: #cccccc;
      }
      button {
        flex-basis: 14px;
        border: none;
        background-color: transparent;
        color: #cccccc;
        &:hover,
        &:focus,
        &:active {
          outline: none;
          border: none;
        }
      }
    }
  }
  .recent-posts-widget {
    margin-bottom: 20px;
    float: unset;
    .recent-post {
      display: flex;
      flex-wrap: wrap;
      flex-direction: column-reverse;
      width: 100%;
      margin-bottom: 0 !important;
      &:last-child {
        .recent-post-text {
          h2 {
            a {
              margin-bottom: 0 !important;
            }
          }
        }
      }
      &:hover {
        margin-top: 0 !important;
        .recent-post-text {
          h2 {
            a {
              color: #666666 !important;
            }
          }
        }
      }
      .recent-post-text {
        text-align: left;
        float: unset;
        width: 100%;
        margin: 0;
        h2 {
          width: 100% !important;
          max-width: 100% !important;
          a {
            font-family: "Roboto";
            font-size: 14px !important;
            font-weight: 500 !important;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: 0.15px;
            color: #111111 !important;
            margin: 10px 0 20px 0 !important;
            text-align: left;
          }
        }
      }
      a {
        img {
          &.recent-post-image {
            width: 100%;
            height: auto !important;
            margin: 0;
            object-fit: cover;
            border-radius: 0;
            box-shadow: none !important;
          }
        }
      }
    }
  }
  .widget-title {
    font-family: "Roboto";
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.19px;
    color: #111111;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
    float: none !important;
  }
  .g, .a-single {
    margin-bottom: 20px;
    img {
      width: 100%;
    }
  }
  .atf-static-tweets {
    .atf-inner-wrapper {
      p {
        font-family: "Roboto";
        font-weight: 500;
        font-size: 13px;
        color: #111111;
        a {
          color: #a1a1a1;
        }
      }
      .atf-tweet-wrapper {
        .atf-tweet-actions {
          li {
            a {
              color: #ccc;
              padding-bottom: 5px;
              border-bottom: 1px solid #ccc;
            }
          }
        }
      }
    }
  }
  a {
    &.rsswidget {
      color: #ccc;
    }
  }
}

@media screen and (max-width: 991px) {
  .homepage-sidebar {
    position: relative;
    max-width: 450px;
    left: 50%;
    transform: translateX(-50%);
    .widget-title {
      height: 20px;
    }
  }
}