.ws-content {
    padding-bottom: 10px;
}
.archive .ws-block__content {
    margin-top: 30px;
    margin-bottom: 30px;
}
.archive .ws-sidebar-post {
    margin: 0;
}

.ws-block__comment,
.ws-breadcrumb {
    margin: 0 0 30px;
}

.ws-block__heading,
.ws-block__posts {
    margin-top: 30px;
    margin-bottom: 30px;
}
.ws-block__feature {
    margin-bottom: 30px;
}

.ws-block__latest {
    position: relative;
    margin-bottom: 40px;
}
.ws-block__latest--container {
    gap: 30px;
    display: grid;
    align-items: flex-start;
    justify-content: flex-start;
    grid-template-columns: repeat(2, 1fr);
}
.ws-block__latest--title {
    line-height: 1;
    font-size: 24px;
    font-weight: 700;
    padding: 0 0 15px;
    border-bottom: 2px solid var(--ws-color-primary);
}
.ws-block__latest .ws-block__post {
    box-shadow: none;
    background: none;
}
.ws-block__latest .ws-posts__large {
    display: grid;
    background-color: #F580210F;
}
.ws-block__latest .ws-posts__large .ws-block__post--entry {
    padding: 20px;
}
.ws-block__latest .ws-posts__large .post-title {
    font-size: 24px;
    line-height: 1.4;
}
.ws-block__latest .ws-posts__small {
    display: flex;
    flex-direction: column;
}
.ws-block__latest .ws-posts__small .ws-block__post {
    padding-top: 27px;
}
.ws-block__latest .ws-posts__small .ws-block__post:not(:last-child) {
    padding-bottom: 27px;
    border-bottom: 2px solid #e1e2e7;
}
.ws-block__latest .ws-posts__small .ws-block__post--container {
    gap: 20px;
    display: grid;
    grid-template-columns: 200px auto;
}
.ws-block__latest .ws-posts__small .ws-block__post--entry {
    padding: 0;
}
.ws-block__latest .ws-posts__small .ws-block__post--more a {
    padding: 0;
    background: none;
    color: var(--ws-color-black);
}
.ws-block__latest .ws-posts__small .ws-block__post--more a:hover {
    text-decoration: underline;
}
.ws-block__latest .ws-posts__small .ws-block__post--more a::after {
    filter: unset;
}

/* ws-block__posts */
.ws-block__posts {
    position: relative;
}
.ws-block__posts--container {
    display: flex;
    justify-content: center;
    margin: auto;
    flex-direction: column;
    gap: 30px;
}
.ws-block__posts--title {
    line-height: 1;
    font-size: 24px;
    font-weight: 700;
    padding: 15px 0 0;
    border-top: 2px solid var(--ws-color-primary);
}
.ws-block__posts--loop {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

/* ws-block__post */
.ws-block__post {
    height: 100%;
    position: relative;
    background: var(--ws-color-white);
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.08);
}
.ws-block__post--container {
    display: flex;
    overflow: hidden;
    position: relative;
    flex-direction: column;
}
.ws-block__post--image {
    overflow: hidden;
}
.ws-block__post--image a {
    display: flex;
}
.ws-block__post--image a img {
    display: flex;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: all .3s ease;
}
.ws-block__post--entry {
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ws-block__post--title {
    position: relative;
}
.ws-block__post--title .post-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ws-color-primary);
}
.ws-block__post--title .post-title a {
    /* overflow: hidden; */
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    word-break: break-word;
    transition: all .3s ease;
    -webkit-box-orient: vertical;
}
.ws-block__post--title .post-title a:hover {
    color: var(--ws-color-second);
}
.ws-block__post--date {
    font-size: 14px;
    color: darkgray;
}
.ws-block__post--more {
    margin: 5px 0;
}
.ws-block__post--more a {
    gap: 10px;
    font-size: 14px;
    padding: 7px 15px;
    border-radius: 4px;
    align-items: center;
    display: inline-flex;
    vertical-align: middle;
    color: var(--ws-color-white);
    transition: background 0.3s ease;
    background: var(--ws-color-primary);
}
.ws-block__post--more a:hover {
    background: var(--ws-color-second);
}
.ws-block__post--more a::after {
    width: 12px;
    height: 12px;
    content: '';
    filter: invert(1);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='enable-background:new 0 0 44.952 44.952' xml:space='preserve' viewBox='0 0 44.952 44.952'%3E%3Cpath d='M44.952 22.108c0-1.25-.478-2.424-1.362-3.308L30.627 5.831a2.5 2.5 0 0 0-3.536 0 2.511 2.511 0 0 0 0 3.546l10.574 10.57H2.484C1.102 19.948 0 21.081 0 22.464v.028c0 1.382 1.102 2.523 2.484 2.523h35.182L27.094 35.579a2.504 2.504 0 0 0 3.538 3.54l12.958-12.97a4.633 4.633 0 0 0 1.362-3.309v-.732z'%3E%3C/path%3E%3C/svg%3E") no-repeat center center / 12px;
}

/* ws-block__pagination */
.ws-block__pagination {
    text-align: center;
}
.ws-block__pagination ul {
    gap: 10px;
    margin: 0;
    align-items: center;
    display: inline-flex;
    vertical-align: middle;
}
.ws-block__pagination ul a,
.ws-block__pagination ul span {
    min-width: 40px;
    min-height: 40px;
    font-weight: 600;
    background: none;
    display: grid;
    line-height: 1;
    align-items: center;
    text-align: center;
    color: var(--ws-color-primary);
    border-radius: 4px !important;
    border: 1px solid var(--ws-color-primary) !important;
}
.ws-block__pagination ul a:hover,
.ws-block__pagination ul span {
    color: var(--ws-color-white);
    background: var(--ws-color-primary) !important;
}

.single .ws-breadcrumb {
    margin-bottom: 0;
}

.noitem {
    margin: 0;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    color: var(--ws-color-black);
}

@media screen and (max-width: 992px)
{
    .ws-block__terms.post_tags {
        margin: 20px 0;
    }
    .ws-block__terms .ws-post-tags {
        display: none;
    }
    
    .ws-sidebar {
        display: none;
    }
}

@media screen and (max-width: 767px)
{
    .ws-block__posts--loop {
        gap: 15px;
        grid-template-columns: repeat(1, 1fr);
    }

    .ws-block__post--entry {
        gap: 10px;
        padding: 15px;
    }

    .ws-block__post--heading .post-title a {
        -webkit-line-clamp: 3;
    }

    .ws-post-content {
        grid-template-columns: 100%;
    }

    .ws-block__heading {
        margin-bottom: 30px;
    }

    .ws-block__posts {
        margin-top: 30px;
    }
}

/* ws-slidebar */
@media screen and (min-width: 1025px)
{
    .ws-slidebar {
        top: 120px;
        position: sticky;
    }
    
    .admin_bar .ws-slidebar {
        top: 160px;
    }
}
.ws-sidebar-post {
    gap: 20px;
    display: grid;
    padding: 20px;
    margin: 0 0 30px;
    background: #f8f9fa;
}
.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    padding: 10px 15px;
    color: var(--ws-color-white);
    background: var(--ws-color-primary);
}
.ws-sidebar-post .items,
.ws-sidebar-post .post-small {
    display: grid;
}
.ws-sidebar-post .post-small {
    gap: 10px;
    padding: 10px 0;
    position: relative;
    border-bottom: 1px solid #dee2e6;
}
.ws-sidebar-post .post-small:first-child {
    padding-top: 0;
}
.ws-sidebar-post .post-small:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.ws-sidebar-post .post-small a {
    color: var(--ws-color-primary);
}
.ws-sidebar-post .post-small a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px)
{
    .ws-sidebar-post {
        gap: 15px;
        padding: 15px;
        margin-top: 0;
    }

    .ws-block__latest--container {
        grid-template-columns: 100%;
    }
    .ws-block__latest .ws-posts__large .ws-block__post--entry {
        padding: 15px;
    }
    .ws-block__latest .ws-posts__large .post-title {
        font-size: 18px;
    }
    .ws-block__latest .ws-posts__small .ws-block__post--container {
        gap: 15px;
        grid-template-columns: 30% auto;
    }
    .ws-block__latest .ws-posts__small .ws-block__post:not(:last-child) {
        padding-bottom: 15px;
        border-bottom-width: 1px;
    }
    .ws-block__latest .ws-posts__small .ws-block__post {
        padding-top: 15px;
    }
    .ws-block__latest .ws-posts__small .ws-block__post--entry {
        gap: 5px;
    }
    .ws-block__latest .ws-posts__small .post-title {
        font-size: 15px;
    }
    .ws-block__latest .ws-posts__small .post-title a {
        -webkit-line-clamp: 3;
    }
    .ws-block__latest .ws-posts__small .ws-block__post--more {
        margin: 0;
    }
}