#sidebarContainer {
    max-width: 350px;
    width: min-content;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    /*position: sticky;
    top: 2rem;*/
}

.sidebar-item h3 {
    margin: 0;
    font-size: 24px;
}

#categories, #shareThisPage {
    background-color: #fff;
    padding: 24px 28px 28px 28px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon {
    position: relative;
    max-width: 18px;
    z-index: 1;
}

#popularBlogs {
    text-align: center;
    position: relative;
}

#popularBlogs h3 {
    margin-bottom: 20px;
}

#popularBlogCards {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 24px;
    text-align: left;
    border-radius: 15px;
    background-color: #F6F1E7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    &::-webkit-scrollbar {
        display: none;
    }
}

.popular-blog {
    min-width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.popular-blog .popBlogImg {
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.popular-blog-date {
    font-weight: 300;
    font-size: 14px;
}

.popular-blog h4 {
    margin: 0;
    font-size: 22px;
}

.popArrow {
    position: absolute;
    background-color: #4039E6;
    display: flex;
    align-items: center;
    border-radius: 50px;
    padding: 4px 4px 4px 3px;
    z-index: 1;
}

.popArrow img {
    filter: brightness(0) invert(1);
}

#popLeftArrow {
    padding: 4px 4px 4px 3px;
    top: 138px;
    left: 8px;
}

#popRightArrow {
    padding: 4px 3px 4px 4px;
    top: 138px;
    right: 8px;
}

.viewsBox {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #8bd21d;
    color: #004b23;
    font-weight: bold;
    font-size: 12px;
    border-radius: 6px;
    width: max-content;
    padding: 5px 8px;
    letter-spacing: -0.4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    float: right;
    margin: -45px 12px 14px auto;
}

.growthGraphIcon {
    max-width: 12px;
    filter: invert(20%) sepia(63%) saturate(1546%) hue-rotate(92deg) brightness(95%) contrast(107%);
}

#subscribe {
    background-color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#subscribe button {
    display: block;
    background-color: #3E3AE6;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#newsletter {
    font-size: 16px;
    padding: 8px 18px;
    border-radius: 8px;
    border: solid 1px grey;
}

#shareThisPage {
    gap: 0;
}

#shareThisPage p {
    margin: 2px 0 14px 0;
    font-size: 14px;
    font-weight: 300;
}

.share-this-blog-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.socialBox {
    width: 38px;
    height: 38px;
    background-color: #8bd21d;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.socialIcons {
    width: 24px;
    filter: brightness(0) invert(1);
}

/* For Mobile */
@media screen and (max-width: 1125px) {
    #sidebarContainer {
        width: auto;
        margin-left: 0;
    }
}