.post-sidebar {
    height: auto;
    z-index: 10;
    flex-basis: 450px;
    padding-left: 40px;
    position: relative;
}

.expertise-item {
    border-radius: 4px;
    padding: 4px 8px;
    background: #333b3f;
    color: #FFF;
    font-size: 16px;
    line-height: 1.7;
}

.author-sidebar-expertise {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.sidebar-read-next {
    padding-right: 26px;
}

.sidebar-read-next .related-post-image img {
    height: 100%;
    max-height: 217px;
}

.author-sidebar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.author-sidebar-bio {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
}
.author-sidebar-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.author-sidebar-socials a {
    display: flex;
    width: 32px;
    height: 32px;
}

.author-sidebar-socials a img {
    width: 100%;
    height: 100%;
}

.post-content-area .author-sidebar-name {
margin-top: 0;
    line-height: 1.4;
    margin-bottom: 0;
}

.post-sidebar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: #41484c;
    border-radius: 10px;
}

.post-sidebar__wrapper {
    position: sticky;
    top: 120px;
    transition: all 0.3s ease-out;
}

body:has(.header.hide) .post-sidebar__wrapper {
    top: 20px;
}

.post-share-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.post-share-icons a {
    display: flex;
    transition: all 0.1s linear!important;
}

.post-share-icons a:hover {
    transform: scale(1.1);
}

.post-share-buttons {
    margin-top: 16px;
    margin-bottom: 60px;
}

.post-content-area .sidebar-next-label {
    margin-top: 0;
    margin-bottom: 24px;
}

.sidebar-card {
    display: flex;
    flex-direction: column;
}

.sidebar-card img {
    width: 100%;
}

@media screen and (max-width: 1024.98px) {
    .post-sidebar {
        display: none;
    }

    .post-share-buttons,
    .author-sidebar-socials,
    .sidebar-read-next {
        margin-bottom: 30px;
    }

    .author-sidebar-header {
        margin-bottom: 10px;
    }

    .sidebar-next-label {
        margin-bottom: 10px;
    }

    .sidebar-read-next {
        padding-right: 0;
    }

}
