.post-box {
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
}

.post-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 19px;
}

.post-box .post-cat {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    padding: 10px 20px;
    color: var(--black-color);
    background: var(--black-color-200);
    border-radius: 12px;
    position: absolute;
    right: 16px;
    top: 16px;
}

.post-box .title {
    font-size: 16px;
    font-weight: bold;;
    line-height: 24px;
    margin-bottom: 5px;
    padding: 0 9px;
}

.post-box .summary {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: var(--black-color-70);
    padding: 0 9px;
    margin-bottom: 8px;
    text-align: justify;
}

.post-box .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-box .info .time {
    padding-right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-box .info .time svg {
    width: 14px;
    fill: var(--main-color);
}

.post-box .info .time svg path {
    fill: var(--main-color);
}

.post-box .info .time span {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}

.post-box .info .btn {
    height: 48px;
    min-width: 107px;
    width: max-content;
}

.post-list.row .col-12 {
    padding-bottom: 24px;
}

/*************************************************************************************** Sidebar */
.right-sidebar {
    padding-left: 24px;
}

.widget,
.ws-cats-widget {
    padding: 8px 16px 16px;
    background: var(--white-color);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.widget {
    padding: 16px;
}
.widget.widget_search{
    padding: 0;
    border-radius: 12px;
}

.ws-widget-title-box {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 24px;
}

.ws-widget-title-box svg {
    width: 21px;
}

.ws-widget-title-box .ws-title-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget .widgettitle,
.ws-widget-title-box .ws-title-box .title {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black-color);
}

.widget .widgettitle {
    display: block;
    margin-bottom: 24px;
}

.ws-widget-title-box .ws-title-box .subtitle {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: var(--black-color);
}

.wp-block-categories-list,
.wp-widget-group__inner-blocks ul {
    padding: 0;
    margin: 0;
}

.wp-block-categories-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wp-block-categories-list .cat-item > a {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 8px 14px;
    gap: 8px;
    border: 1px solid var(--black-color-10);
    border-radius: 12px;
    transition: all .3s ease-in-out;
}

.wp-block-categories-list .cat-item img {
    width: 20px;
    transition: all .3s ease-in-out;
}

.wp-block-categories-list .cat-item .img {
    padding: 2px 0 2px 8px;
    border-left: 1px solid var(--black-color-10);
    transition: all .3s ease-in-out;
    display: flex;
}

.wp-block-categories-list .cat-item span {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    color: var(--black-color);
    display: block;
    transition: all .3s ease-in-out;
    font-family: BeautyShopFont;
}

.wp-block-categories-list .cat-item i {
    height: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    margin-right: auto;
    transition: all .3s ease-in-out;
}

.wp-block-categories-list .cat-item > a:hover {
    background: var(--main-color);
}

.wp-block-categories-list .cat-item > a:hover img {
    filter: brightness(0) invert(1);
}

.wp-block-categories-list .cat-item > a:hover .img {
    border-color: transparent;
}

.wp-block-categories-list .cat-item > a:hover,
.wp-block-categories-list .cat-item > a:hover span,
.wp-block-categories-list .cat-item > a:hover i {
    color: var(--white-color);
}

.wp-block-latest-posts__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wp-block-latest-posts__list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    padding: 8px 14px;
    gap: 8px;
    border: 1px solid var(--black-color-10);
    border-radius: 12px;
    transition: all .3s ease-in-out;
}

.wp-block-latest-posts__list li img {
    width: 70px;
    height: auto;
    border-radius: 8px;
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: var(--black-color);
    display: block;
    transition: all .3s ease-in-out;
    width: calc(100% - 78px);
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-author {
    font-size: 12px;
    font-weight: 300;
    line-height: 19px;
    color: var(--black-color-70);
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-date {
    font-size: 12px;
    font-weight: 300;
    line-height: 19px;
    color: var(--black-color-70);
    margin-right: auto;
}


.wp-block-search .wp-block-search__label {
    display: none;
}

.wp-block-search .wp-block-search__input {
    border: 1px solid var(--black-color-5);
    border-radius: 8px;
    font-size: 14px;
    line-height: 32px;
    padding: 0 12px;
}

.wp-block-search .wp-block-search__input::placeholder {
    font-size: 14px;
    font-weight: 300;
    color: var(--black-color-70);
}

.wp-block-search .wp-block-search__button {
    height: 40px;
    min-width: 60px;
    font-size: 16px;
    background: var(--sec-color-10);
    color: var(--sec-color);
    border-radius: 8px;
    padding: 0 8px;
    transition: all .3s ease-in-out;
}
.wp-block-search .wp-block-search__button:hover{
    background: var(--sec-color);
    color: var(--white-color);
}

.wp-block-search__button-inside .wp-block-search__input {
    border: 0;
}

.wp-block-search__button-inside .wp-block-search__inside-wrapper {
    padding: 4px;
    border: 1px solid var(--black-color-5);
    border-radius: 8px;
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button {
    align-items: center;
    margin-right: 8px;
}

/*************************************************************************************** Pagination */
.pagination {
    text-align: center;
    display: flex;
    justify-content: center;
}

.nav-links {
    margin-top: 56px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-links .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    border-radius: 12px;
    background: var(--white-color);
    color: var(--black-color-400);
    transition: all .3s ease-in-out;
    z-index: 2;
}

.nav-links .page-numbers.next {
    background: var(--main-color-400);
    color: var(--white-color);
    margin-top: -34px;
    margin-right: -24px;
    z-index: 1;

}

.nav-links .page-numbers.prev {
    background: var(--main-color-400);
    color: var(--white-color);
    margin-top: -34px;
    margin-left: -24px;
    z-index: 1;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    color: var(--black-color);
}

.nav-links .page-numbers.next:hover,
.nav-links .page-numbers.prev:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.order-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.order-box .order-by {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-box .order-by svg {
    width: 24px;
}

.order-box .order-by span {
    font-size: 16px;
    font-weight: 400;
    color: var(--black-color-60);
    line-height: 24px;
}

.order-box .order-items {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 48px;
}

.order-box .order-items a {
    font-size: 16px;
    font-weight: 300;
    color: var(--black-color-60);
    line-height: 24px;
}

.order-box .order-items a.active {
    font-weight: 400;
    color: var(--black-color);
}

.order-box .post-count span:first-child {
    font-size: 16px;
    font-weight: 300;
    color: var(--sec-color-80);
    line-height: 24px;
}

.order-box .post-count span:last-child {
    font-size: 16px;
    font-weight: 300;
    color: var(--black-color-60);
    line-height: 24px;
}

/*************************************************************************************** Single */
.white-box {
    padding: 16px 24px;
    background: var(--white-color);
    border-radius: 24px;
    margin-bottom: 56px;
}

.page-img-wrapper {
    margin-bottom: 24px;
}

.page-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.post-meta {
    --gap: 76px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px var(--gap);
    margin-bottom: 24px;
}

.post-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.post-meta div:before {
    content: "";
    width: 1px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: calc((var(--gap) / 2) * -1);
    transform: translateY(-50%);
}

.post-meta div:nth-child(2n):before {
    background: var(--main-color);
}

.post-meta div:nth-child(2n+1):before {
    background: var(--sec-color);
}

.post-meta div:last-child:before {
    content: unset;
    display: none;
}

.post-meta div svg {
    width: 24px;
}

.post-meta div:nth-child(2n) svg path:not([fill="white"]) {
    fill: var(--main-color);
}

.post-meta div:nth-child(2n+1) svg path:not([fill="white"]) {
    fill: var(--sec-color);
}

.post-meta div span {
    font-size: 16px;
    font-weight: 400;
    color: var(--black-color-70);
}

.related-posts {
    padding-right: 24px;
}

.related-posts-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 16px;
}

.related-post-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.post-box-horizontal {
    display: flex;
    gap: 4px;
    background: var(--white-color);
    border-radius: 16px;
    padding: 4px;
    position: relative;
}

.post-box-horizontal img {
    height: 90px;
    width: 88px;
    object-fit: cover;
    border-radius: 12px;
    transition: all .3s ease-in-out;
    filter: grayscale(1);
}
.post-box-horizontal a:hover img{
    filter: grayscale(0);
}

.post-box-horizontal .info {
    width: calc(100% - 92px);
    border-radius: 12px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 30%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: 4px 12px 4px 4px;
}

.post-box-horizontal .info .title {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black-color);
    margin-bottom: 0;
}

.post-box-horizontal .info .btn {
    width: 72px;
    height: 40px;
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    left: 4px;
    bottom: 4px;
    padding: 0;
    border-radius: 0 16px;
}

/*************************************************************************************** Comments */
.comments-area-head .page-title-box .page-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
}

.comments-area-head .page-title-box .page-subtitle {
    font-size: 14px;
    line-height: 19px;
}

.comments-area-head .page-title-box svg {
    width: 19px;
}

.comments-area-head .page-title-box {
    margin-bottom: 32px;
    gap: 10px;
}

.commentlist {
    padding: 0;
    margin: 0;
}

.commentlist .comment-item {
    position: relative;
}

.commentlist .comment-item.depth-1:before {
    content: "";
    width: 152px;
    height: 254px;
    background: var(--black-color-5);
    border-radius: 15px;
    position: absolute;
    right: -16px;
    top: 52px;
    z-index: -1;
}

.commentlist .comment-item-box {
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
    margin-bottom: 16px;
}

.commentlist .comment-item-box .head-box {
    padding: 16px;
    position: relative;
    gap: 16px;
}

.commentlist .comment-item-box .head-box:before {
    content: "";
    border: 12px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;
}

.commentlist .comment-item-box .head-box img {
    width: 56px;
    border-radius: 100%;
}

.commentlist .comment-item-box .head-box .d-flex {
    width: calc(100% - 72px);
}

.commentlist .comment-item-box .head-box .name-box {
    display: flex;
    flex-direction: column;
}

.commentlist .comment-item-box .head-box .name-box b {
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
}

.commentlist .comment-item-box .head-box .name-box b small {
    font-size: 12px;
    font-weight: 300;
    color: var(--black-color-70);
    padding-right: 8px;
}

.commentlist .comment-item-box .head-box .name-box span {
    font-family: BeautyShopFont;
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
    color: var(--main-color);
    background: var(--main-color-10);
    padding: 0 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
}

.commentlist .depth-2 .comment-item-box .head-box .name-box span {
    color: var(--sec-color);
    background: var(--sec-color-10);
}

.commentlist .comment-item-box .head-box .comment-reply-link {
    font-family: BeautyShopFont;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    color: var(--main-color);
    background: var(--main-color-10);
    padding: 0 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.commentlist .comment-item-box .head-box .comment-reply-link i {
    font-size: 24px;
}

.commentlist .comment-item-box .body-box {
    margin: 0 16px 16px 16px;
    padding: 8px 16px;
    border: 1px solid var(--black-color-10);
    border-radius: 16px;
}

.commentlist .comment-item-box .body-box .comment-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
    text-align: justify;
}

.commentlist .comment-item-box .body-box .comment-text a {
    color: var(--main-color);
}

.comment-respond .comment-reply-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-new-comment {
    margin: 32px 0 56px;

}

.post-new-comment .title-box {
    position: relative;
    padding: 16px 24px;
}

.post-new-comment .title-box:before {
    content: "";
    width: 248px;
    height: 261px;
    background: var(--main-color);
    border-radius: 24px;
    position: absolute;
    top: 0;
    right: -24px;
    z-index: -1;
}

.post-new-comment .title-box .title {
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
    color: var(--white-color);
    padding: 0 35px;
    position: relative;
}

.post-new-comment .title-box .title:before {
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--white-color);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.post-new-comment .title-box .title:after {
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--white-color);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

.comment-form {
    display: flex;
    flex-wrap: wrap;
    background: var(--white-color);
    padding: 24px 8px;
    border-radius: 24px;
    position: relative;
}

.comment-form:before {
    content: "";
    width: 248px;
    height: 261px;
    background: var(--sec-color);
    border-radius: 24px;
    position: absolute;
    bottom: -24px;
    left: -24px;
    z-index: -1;
}

.comment-form .col-12 {
    padding: 0 16px 24px;
}

.comment-form .col-12.comment-form-author {
    order: 1;
}

.comment-form .col-12.comment-form-email {
    order: 2;
}

.comment-form .col-12.comment-form-comment {
    order: 3;
}

.comment-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    color: var(--black-color);
    margin-bottom: 8px;
}

.comment-form .form-control {
    border-radius: 10px;
    border-color: var(--dim-gray);
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
}

.comment-form .form-control::placeholder {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    color: var(--dark-gray);
}

.comment-form .form-submit {
    order: 4;
    width: 100%;
    padding: 0 16px;
    margin: 0;
}

.comment-form .form-submit .btn {
    border-radius: 8px;
    height: 52px;
    width: max-content;
    min-width: 130px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-right: auto;
}


/*************************************************************************************** Beauty Blog in Single */
.weblog {
    margin-top: 55px;
    display: flex;
    position: relative;
    margin-bottom: 100px;
}

.weblog:before {
    content: "";
    width: 93px;
    height: calc(100% - 74px);
    border-radius: 24px;
    background: var(--black-color-5);
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    z-index: -1;
}

.weblog:after {
    content: "";
    width: 93px;
    height: calc(100% - 74px);
    border-radius: 24px;
    background: var(--black-color-5);
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    z-index: -1;
}

.weblog .box {
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
}

.weblog .head-weblog {
    width: 32%;
    padding-left: 6%;
    z-index: -1;
}

.weblog .head-weblog .inner {
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 30%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    position: relative;
}

.weblog .head-weblog .inner img {
    margin: 20px auto;
    display: block;
}

.weblog .head-weblog .inner:before {
    content: "";
    width: calc(100% - 36px);
    aspect-ratio: 1 / 1;
    background: linear-gradient(to top, #303030 0%, rgba(48, 48, 48, .3) 11%, transparent 20%);
    border-radius: 100%;
    position: absolute;
    top: -90px;
    right: 0;
    opacity: 0.1;
    mix-blend-mode: multiply;
}

.weblog .head-weblog .inner .text {
    width: 100%;
    text-align: center;
    padding: 20px 30px 30px;
    position: relative;
}

.weblog .head-weblog .inner .text:before {
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--black-color-10);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.weblog .head-weblog .inner .text:after {
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--black-color-10);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

.weblog .head-weblog .inner .text .title {
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    color: var(--black-color);
    display: block;
    margin: 0;
}

.weblog .head-weblog .inner .text .subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--black-color-70);
    display: block;
    margin: 0;
}

.weblog .first-article {
    width: 34%;
    margin-right: -6%;
    margin-top: -55px;
    padding-bottom: 31px;
    padding-left: 24px;
    position: relative;
    z-index: 1;
}

.weblog .first-article:after {
    content: "";
    width: 85px;
    height: 226px;
    background: var(--black-color-20);
    border-radius: 16px;
    filter: blur(50px);
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
}

.weblog .first-article .post-box {
    z-index: 2;
    position: relative;
    height: 100%;
}

.post-box {
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-box img {
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 19px;
    filter: grayscale(1);
    transition: all .3s ease-in-out;
}
.post-box a:hover img{
    filter: grayscale(0);
}

.post-box .post-cat {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    padding: 10px 20px;
    color: var(--black-color);
    background: var(--black-color-100);
    border-radius: 12px;
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 9;
}

.post-box .title {
    font-size: 16px;
    font-weight: bold;;
    line-height: 24px;
    margin-bottom: 5px;
    padding: 0 9px;
}

.post-box .summary {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: var(--black-color-70);
    padding: 0 9px;
    margin-bottom: 8px;
    text-align: justify;
}

.post-box .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-box .info .time {
    padding-right: 24px;
    display: flex;
    gap: 8px;
}

.post-box .info .time svg {
    width: 14px;
    fill: var(--main-color);
}

.post-box .info .time svg path {
    fill: var(--main-color);
}

.post-box .info .time span {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}

.post-box .info .btn {
    height: 48px;
    min-width: 107px;
    width: max-content;
}

.weblog .body-weblog {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.weblog .body-weblog .btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.weblog .body-weblog .btns .btn-box {
    height: 98px;
    width: calc(33.333333% - 10.666666px);
    background: var(--white-color);
    border-radius: 24px;
    padding: 4px;
}

.weblog .body-weblog .btns .btn-box .inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    background: var(--white-color);
    border-radius: 24px;
    transition: all .3s ease-in-out;
}

.weblog .body-weblog .btns .btn-box .inner:before {
    content: "";
    border: 10px solid var(--black-color-10);
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease-in-out;
}

.weblog .body-weblog .btns .btn-box i{
    font-size: 16px;
    transition: all .3s ease-in-out;
}
.weblog .body-weblog .btns .btn-box svg {
    width: 16px;
    transition: all .3s ease-in-out;
}

.weblog .body-weblog .btns .btn-box svg path {
    fill: var(--main-color);
    transition: all .3s ease-in-out;
}

.weblog .body-weblog .btns .btn-box span {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding-right: 8px;
    border-right: 1px solid var(--black-color-10);
    transition: all .3s ease-in-out;
}

.weblog .body-weblog .btns .btn-box:hover .inner {
    background: var(--main-color);
}

.weblog .body-weblog .btns .btn-box:hover .inner:before {
    opacity: 0;
}

.weblog .body-weblog .btns .btn-box:hover svg path {
    fill: var(--white-color);
}

.weblog .body-weblog .btns .btn-box:hover i {
    color: var(--white-color);
}

.weblog .body-weblog .btns .btn-box:hover span {
    color: var(--white-color);
    border-color: var(--white-color-10);
}


.weblog .post-box-horiz {
    display: flex;
    gap: 8px;
    background: var(--white-color);
    border-radius: 24px;
    padding: 8px;
}

.weblog .post-box-horiz img {
    height: 82px;
    width: 138px;
    object-fit: cover;
    border-radius: 16px;
    transition: all .3s ease-in-out;
    filter: grayscale(1);
}
.weblog .post-box-horiz a:hover img{
    filter: grayscale(0);
}

.weblog .post-box-horiz .info {
    width: calc(100% - 146px);
    border-radius: 16px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
    linear-gradient(270deg, var(--black-color-10) 0%, transparent 30%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weblog .post-box-horiz .info .title-box {
    padding: 4px 16px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.weblog .post-box-horiz .info .title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--black-color);
    margin-bottom: 4px;
}

.weblog .post-box-horiz .time {
    display: flex;
    gap: 8px;
}

.weblog .post-box-horiz .time svg {
    width: 14px;
    fill: var(--main-color);
}

.weblog .post-box-horiz .time svg path {
    fill: var(--main-color);
}

.weblog .post-box-horiz .time span {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}

.weblog .post-box-horiz .info .btn {
    font-size: 16px;
    font-weight: 400;
    color: var(--black-color-70);
    padding: 0 0 0 16px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.weblog .post-box-horiz .info .btn i {
    font-size: 10px;
    height: 10px;
    display: flex;
    align-items: center;
}


.weblog .first-article:before {
    content: "";
    width: 21px;
    height: 21px;
    background: var(--black-color-10);
    border-radius: 10px 0;
    position: absolute;
    top: calc(50% + 8px);
    left: 12px;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}

.weblog .body-weblog {
    position: relative;
}

.weblog .body-weblog:before {
    content: "";
    width: 21px;
    height: 21px;
    background: var(--black-color-10);
    border-radius: 10px 0;
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}

@media (max-width: 1399px) {
    .weblog .head-weblog .inner:before {
        top: -29px;
    }
}

@media (max-width: 1199px) {
    .weblog .head-weblog .inner:before {
        top: -70%;
        right: 20px;
    }

    .weblog .head-weblog .inner {
        padding-left: 0;
    }

    .weblog {
        flex-wrap: wrap;
    }

    .weblog .head-weblog {
        width: calc(50% - 8px);
        padding-left: 0;
    }

    .weblog .first-article {
        width: calc(50% - 8px);
        margin-right: 16px;
        margin-top: 0;
        padding-bottom: 0;
        padding-left: 0;
    }

    .weblog .body-weblog {
        width: 100%;
        margin-top: 16px;
    }

    .weblog .first-article:after,
    .weblog .first-article:before,
    .weblog .body-weblog:before {
        display: none;
    }
}

@media (max-width: 991px) {
    .weblog .head-weblog .inner:before {
        top: -30%;
    }
}

@media (max-width: 767px) {
    .weblog{
        margin-top: 40px;
        margin-bottom: 56px;
    }
    .weblog .head-weblog .inner .text:before,
    .weblog:before,
    .weblog .head-weblog .inner:before {
        display: none;
    }

    .weblog .head-weblog {
        width: 100%;
        margin-bottom: 8px;
        z-index: 1;
    }

    .weblog .first-article {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .weblog .body-weblog {
        margin: 0;
        gap: 8px;
    }

    .weblog .head-weblog .inner {
        flex-direction: row;
        border: 0;
    }

    .weblog .head-weblog .inner img {
        width: 73px;
        margin: -33px 9px 6px 0;
    }

    .weblog .head-weblog .inner .text {
        text-align: right;
        padding: 13px 24px;
    }

    .weblog .head-weblog .inner .text:after {
        left: 8px;
    }

    .weblog .head-weblog .inner .text .title {
        font-size: 16px;
    }

    .post-box img {
        height: auto;
    }

    .post-box .post-cat {
        right: unset;
        left: 16px;
    }

    .weblog .post-box-horiz img {
        width: 75px;
    }

    .weblog .post-box-horiz .info {
        border: 0;
        width: calc(100% - 83px);
        align-items: end;
    }

    .weblog .post-box-horiz .info .title-box {
        padding: 4px 8px;
        justify-content: space-between;
        height: 100%;
    }

    .weblog:after {
        width: 85px;
        height: 226px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        filter: blur(25px);
        background: var(--black-color);
        opacity: 0.2;
    }
}

@media (max-width: 567px) {

    .weblog .body-weblog .btns .btn-box {
        width: calc(50% - 8px);
        height: 71px;
    }

    .weblog .body-weblog .btns .btn-box:last-of-type {
        display: none;
    }

    .weblog .body-weblog .btns .btn-box span {
        font-size: 14px;
    }
}

/*************************************************************************************** Responsive */
@media (max-width: 1399px) {
    .post-meta div:nth-child(3):before {
        display: none;
    }
}

@media (max-width: 1199px) {
    .post-meta {
        --gap: 38px
    }
}

@media (max-width: 1023px) {
}

@media (max-width: 991px) {
    .related-posts {
        padding-right: 0;
    }

    .right-sidebar {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .order-box {
        gap: 16px 0;
        margin-bottom: 16px;
    }

    .order-box .order-items {
        gap: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 575px) {
    .post-meta {
        --gap: 16px;
    }

    .post-meta div:before {
        display: none;
    }

    .post-meta div {
        width: auto;
    }

    .post-meta div span {
        font-size: 14px;
    }

    .white-box {
        padding: 16px;
    }

    .page-title-box {
        gap: 8px;
    }

    .page-title-box .page-title {
        font-size: 18px;
        line-height: 28px;
    }

    .page-title-box .page-subtitle {
        font-size: 14px;
    }

    .comments-area {
        padding: 0 16px;
    }

    .post-new-comment {
        margin: 32px 16px 56px;
    }

    .commentlist .comment-item-box .head-box {
        gap: 8px;
    }

    .commentlist .comment-item-box .head-box .d-flex {
        width: calc(100% - 56px);
    }

    .commentlist .comment-item-box .head-box img {
        width: 48px;
    }

    .commentlist .comment-item-box .head-box .name-box b {
        font-size: 14px;
        line-height: 24px;
        display: flex;
        flex-direction: column;
    }

    .commentlist .comment-item-box .body-box .comment-text {
        font-size: 14px;
    }

    .commentlist .comment-item-box .head-box .comment-reply-link i {
        font-size: 18px;
    }

    .commentlist .comment-item-box .head-box .comment-reply-link {
        font-size: 14px;
        gap: 4px;
    }

    .commentlist .comment-item-box .head-box .name-box span {
        font-size: 12px;
        line-height: 22px;
    }
}

@media (max-width: 480px) {
    .order-box .order-items {
        padding-right: 0;
    }

    .order-box .order-by {
        flex-wrap: wrap;
        justify-content: center;
    }

    .order-box {
        gap: 8px 0;
        justify-content: center;
    }

    .order-box .order-items {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .order-box .order-items a {
        font-size: 14px;
    }

    .order-box .order-items {
        gap: 16px;
    }
}