.sidebar {
    order: 1;
    /* width: 25%; */
    padding: 2rem;
    position: sticky;
    top: 5px;
    line-height: 1.3;

}
@media(max-width: 667px){
    .sidebar {
        padding: 0.5rem;
    }
}

.widget {
    margin-bottom: 2rem;
    background-color: #fff;
    box-shadow: inset 0.5rem 0.5rem 0.7rem #97979759, inset -0.5rem -0.5rem 0.7rem #97979759;

}
.widget:hover{
    box-shadow: 5px 5px 15px #7b7b7b, -5px -5px 15px #7b7b7b;
    transform: translateY(-5px);
}
.post-thumbnail{
    width: 10rem;
    height: 5rem;
}
.widget h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background-color: #242145;
    border-radius: 0.5rem;
    padding: 1rem 0;
    color: #FFF;
}
.search-form{
    padding: 2rem;

}
.recent-posts{
    padding: 2rem;

}
.popular-posts{
    padding: 2rem;

}
.categories{
    padding: 2rem;
}

/* Styling for Search Widget */
.search-form input[type="text"] {
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    border: none;
    border-bottom: 0.2rem solid #ff1361;
    outline: none;
    border-radius: 0.8rem;


}

.search-form button {
    width: 100%;
    padding: 0.8rem;
    box-sizing: border-box;
    background-color: #fff;
    color: #202121;
    border: none;
    cursor: pointer;
}

/* Styling for Recent Posts Widget */
.widget.recent-posts ul,
.widget.popular-posts ul,
.widget.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget.recent-posts li,
.widget.popular-posts li,
.widget.categories li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
}

.widget.recent-posts .post-thumbnail,
.widget.popular-posts .post-thumbnail {
    width: 10rem !important;
    height: 6rem;
    margin-right: 1rem;
    border-radius: 0.5rem;
    /* overflow: hidden; */
}

.widget.recent-posts .post-thumbnail img,
.widget.popular-posts .post-thumbnail img {
    width: 10rem;
    height: 100%;
    object-fit: cover;
}

/* Styling for Categories Widget */
.widget.categories ul {
    list-style: none;
    padding: 0;
    margin: 1rem;
    display: -webkit-inline-box;
}

.widget.categories li {
    margin-bottom: 1rem;
}
.sidbarTitle{
    font-size: 2.2rem;
    color: #242145;
    text-decoration: underline;
}
.sidbarCategory{
    color: #242145;
    font-size: 1.7rem;
    border: 0.2rem solid currentColor;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;

}
#no-available{
    font-size: 2rem;
    text-align: center;
    color: #242145;
}