.related-posts-wrapper {
    display: none;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 300px;
    height: 100%;
}

.related-posts-wrapper .related-post-wrapper {
    width: 100%;
}

.related-posts-wrapper .related-post-wrapper .related-post {
    width: 100%;
    margin: 20px 0;
    display: flex;
}
.related-posts-wrapper .related-post-wrapper:first-child .related-post {
    flex-direction: column;
}

.related-posts-wrapper .related-post-wrapper .related-post .related-post-img {
    flex: 1;
    width: 100%;
}

.related-posts-wrapper .related-post-wrapper .related-post .related-post-img img {
    width: 100%;
    object-fit: contain;
}

.related-posts-wrapper .related-post-wrapper .related-post .related-post-title {
    flex: 1;
    width: 100%;
}

.filter-category-tag-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 10px;
}

.filter-category-tag-wrapper .filter-category-tag {
    font-size: 12px;
    cursor: pointer;
    padding: 5px 20px;
    border-radius: 20px;
    border: 1px solid #000;
}

.filter-category-tag.selected {
    background-color: #ff8200;
    border: none;
    color: #fff;
}

a.filter-category-tag.selected:hover {
    color: #fff !important;
}

.article-item-wrapper {
    width: 100%;
}

.article-item-wrapper .article-item {
    display: flex;
    align-items: start;
    width: 100%;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid #ccc;
}

.article-item-wrapper .article-item .article-item-img {
    width: 500px;
    height: 265px;
}
.article-item-wrapper .article-item .article-item-img img {
    object-fit: contain;
}

.article-item-wrapper .article-item .article-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 265px;
}

.article-item-wrapper .article-item .article-item-content .article-item-title h3{
    margin-top: 0;
}

.article-item-wrapper .article-item .article-item-content .article-item-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-item-wrapper .article-item .article-item-content .article-item-tag {
    display: flex;
    gap: 20px;
}

.article-item-wrapper .article-item .article-item-content .article-item-tag .category-tag {
    border-radius: 20px;
    background-color: #ff8200;
    padding: 5px 20px;
    color: #fff;
    font-size: 12px;
}

article.type-article .post-body .post-content .row-container,
article.type-activity .post-body .post-content .row-container {
	display: flex;
    justify-content: center;
}

.single-article .post-body .limit-width,
.single-activity .post-body .limit-width {
    margin: 0;
}

.single-article .box-wrapper,
.single-activity .box-wrapper {
    overflow: unset;
}

.single-post-font-control {
	text-align: right; 
	padding: 0 36px; 
	font-size: 14px;
}

.single-post-font-control button.clickable-text {
    border: none;
    background: none;
    padding: 2px;
    color: #0041df;
    text-decoration: underline;
}

.single-post-font-control button.clickable-text.font-size-selected {
    color: #000000;
}

@media screen and (max-width: 1200px) {
    .related-posts-wrapper {
        width: 100%;
        padding: 0 36px;
    }
    article.type-article .post-body .post-content .row-container,
    article.type-activity .post-body .post-content .row-container {
        flex-direction: column;
        height: auto;
    }
    .related-posts-wrapper {
        position: relative;
        z-index: 1;
        margin: auto;
    }
}

@media screen and (max-width: 782px) {
    .filter-category-tag-wrapper {
        justify-content: start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .article-item-wrapper .article-item {
        flex-direction: column;
        gap: 0;
        padding: 30px 0;
    }

    .article-item-wrapper .article-item .article-item-img {
        width: 100%;
        height: auto;
    }

    .article-item-wrapper .article-item .article-item-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}
