.pagination-list {
    position: relative;
}

.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.wp-pagenavi a.page,
.wp-pagenavi li>span {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-weight: 500;
    color: #55a507;
    background-color: #f9f1d7;
    line-height: 1.3;
    font-weight: 500;
    padding-bottom: 1px;
    border-radius: 50%;
    padding-bottom: 1px;
    font-size: 3rem;
    font-weight: 500;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.wp-pagenavi span.current {
    color: #fff;
    background-color: #55a507;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
a.next-btn,
a.pre-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    background-image: url(../images/sanai/icon-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    justify-content: flex-start;
    box-shadow: 0 0 10px 0 rgba(154, 216, 145, 0.3);
    border-radius: 50%;
}

ul.wp-pagenavi {
    max-width: 100%;
}

.box-single-top {
    padding: 35px 0 30px;
    position: relative;
}

.box-single-top::after {
    content: "";
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgb(93, 177, 73) 0%, rgb(243, 154, 0) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

.wp-pagenavi a.previouspostslink,
a.pre-btn {
    padding-right: 0;
    left: 0;
    right: unset;
    background-image: url(../images/sanai/icon-prev.svg);
    justify-content: flex-end;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sidebar-item.sidebar-arc {
    justify-content: flex-start;
    position: absolute;
    right: 0px;
    width: fit-content;
}

.sidebar .label {
    font-size: 2.3rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    margin-right: 15px;
    color: #55a507;
}

.sidebar-item label span {
    font-size: 2.3rem;
}

.sidebar {
    padding: 0;
}

.sidebar-item:not(.sidebar-arc) .select {
    margin-right: 0px;
    padding: 1px;
    border-radius: 25px;
}

.sidebar-item:not(.sidebar-arc) .select select {
    width: 296px;
    height: 52px;
    padding-left: 30px;
    background-image: url(../images/index/bg-select-2.svg);
    background-size: 16px 11px;
    background-repeat: no-repeat;
    background-position: center right 25px;
    color: #000;
    background-color: #fff;
    border: none;
    padding-right: 50px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 500;
    box-shadow: 0 0 7px 0 rgba(146, 207, 221, 0.7);
    border-radius: 26px;
    font-size: 1.6rem;
}

.sidebar-arc .select select {
    width: 168px;
    height: 52px;
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 7px 0 rgba(146, 207, 221, 0.7);
    border-radius: 26px;
    font-weight: 500;
    padding-left: 30px;
    border: none;
    background-size: 15px 11px;
    background-repeat: no-repeat;
    background-image: url(../images/index/bg-select-2.svg);
    background-position: center right 25px;
    font-size: 1.6rem;
}

.sidebar-item.sidebar-arc .label {
    font-size: 1.8rem;
}


/* .news-item.item-list .cat {
    height: 33px;
} */

.title-line .title-single {
    font-size: 2.8rem;
    font-weight: 500;
    position: relative;
    margin-top: 30px;
    color: #754c24;
    line-height: 1.43;
    text-align: left;
    letter-spacing: 0.05em;
    padding: 0;
}

.post-content {
    padding-top: 20px;
    padding-bottom: 100px;
    position: relative;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}


/* .title-line .title-single::after {
    content: "";
    width: 6px;
    height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -35px;
    background-color: #0071B7;
} */

figcaption.wp-element-caption {
    text-align: center;
    color: #000000;
    margin-bottom: 0 !important;
}

.infor-line .date {
    color: #666666;
    width: auto;
    font-size: 1.6rem;
    margin-bottom: 0;
    padding-bottom: 1px;
    text-align: left;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.infor-line .tag a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #0071B7;
}

.post-content-inner {
    max-width: 1030px;
    padding: 0 15px;
    margin: auto;
}

.post-content img {
    display: block;
    margin: 10px auto;
    padding: 0 0 20px;
}

.infor-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.post-content h1 {
    font-size: 2rem;
    padding-left: 26px;
    border-left: 5px solid var(--primary-color);
    min-height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    position: relative;
    margin-top: 60px;
    letter-spacing: 0.1em;
}

.post-content h1::before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #c7c7c7;
    bottom: -20px;
    left: 0;
    position: absolute;
}

.post-content p {
    margin-bottom: 15px;
    line-height: 2.1875;
    color: #333333;
    letter-spacing: 0.1em;
}

.post-content a {
    color: var(--primary-color);
}

.post-content h2 {
    color: #333333;
    font-size: 2.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    margin-bottom: 30px;
    position: relative;
    margin-top: 60px;
    font-weight: 500;
    padding: 6px 20px;
    border-left: 2px solid #55a507;
}

.post-content h2::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #c7c7c7;
    position: absolute;
    bottom: -15px;
    left: 0;
}

.post-content ul {
    margin-top: 50px;
}

.post-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
}

.post-content ul li::after {
    content: "";
    width: 11px;
    height: 11px;
    background-color: #55a507;
    position: absolute;
    border-radius: 50%;
    left: 0px;
    top: 8px;
}

.post-content h3 {
    font-size: 2.3rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    margin-bottom: 20px;
    position: relative;
    color: #2c7526;
    margin-top: 60px;
    font-weight: 500;
    padding-left: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #55a507;
}

.post-content h3::after {
    content: "";
    width: 11px;
    height: 11px;
    background-color: #f6ab3b;
    position: absolute;
    left: 0px;
    top: 11px;
    border-radius: 50%;
}

.post-content h4 {
    font-size: 2rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #2c7526;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    position: relative;
    margin-top: 30px;
    font-weight: 500;
    padding-left: 26px;
}

.post-content h4::after {
    content: "";
    width: 11px;
    height: 3px;
    background-color: #87c13f;
    position: absolute;
    left: 0px;
    top: 12px;
}

.post-content table {
    width: 100%;
}

.cat-line {
    display: flex;
    justify-content: center;
}

.cat-line a {
    min-width: 183px;
    padding: 5px 15px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: fit-content;
}

@media (max-width:767px) {
    .sidebar-item {
        justify-content: flex-end;
        max-width: 240px;
        margin: 0 auto 17px;
    }
    .sidebar {
        padding-top: 0;
    }
    .sidebar-item.sidebar-arc {
        justify-content: flex-end !important;
        margin-top: 0;
        position: static;
        margin-bottom: 0;
    }
    .sidebar-item:not(:nth-last-child(1)) {
        margin-bottom: 37px;
    }
    .hotnews .news-item.item-list {
        padding: 20px 3px;
    }
    .news-item.item-list .title {
        margin-top: 5px;
        flex: auto;
        width: 100%;
    }
    .sidebar .label {
        margin-bottom: 0px;
        font-size: 1.5rem;
        margin-right: 10px;
        font-weight: 500;
        padding-bottom: 0;
        border-bottom: none;
        text-align: right;
    }
    .sidebar-item.sidebar-arc .label {
        font-size: 1.5rem;
    }
    .sidebar-item:not(.sidebar-arc) .select {
        padding: 1px;
        border-radius: 15px;
    }
    .sidebar-item:not(.sidebar-arc) .select select {
        width: 170px;
        height: 35px;
        font-size: 1.2rem;
        padding-left: 20px;
        padding-right: 18px;
        background-size: 12px 7px;
        background-position: center right 13px;
        border-radius: 18px;
    }
    .sidebar-item .select {
        margin-right: 0;
    }
    .wp-pagenavi a.page,
    .wp-pagenavi li>span,
    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink {
        font-size: 1.4rem;
    }
    a.btn.btn-single-back {
        height: 50px;
        width: 165px;
    }
    .box-single-top .title-line {
        font-size: 1.4rem;
        padding-left: 0px;
        padding-right: 0;
        margin-bottom: 0;
        line-height: 1.45;
        border-width: 1px;
    }
    /* .infor-line {
        flex-direction: row-reverse;
    } */
    .infor-line .date {
        font-size: 1rem;
        width: 73px;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
    }
    .infor-line a.cat {
        width: auto;
        font-size: 1rem;
        max-width: unset;
        min-width: unset;
    }
    .infor-line .tag a {
        font-size: 1rem;
    }
    .title-line .title-single {
        font-size: 1.7rem;
        margin-top: 18px;
        line-height: 1.36;
        letter-spacing: 0.05em;
    }
    .box-single-top {
        padding: 0px;
        margin-bottom: 0;
        margin-top: 20px;
        border-width: 2px;
        border-radius: 0;
        padding-bottom: 15px;
    }
    .infor-line .cat a {
        min-height: 19px;
        width: 81px;
        font-size: 1.1rem;
        line-height: 1;
        margin-left: 0;
        padding-bottom: 2px;
        border-radius: 10px;
    }
    figcaption.wp-element-caption {
        font-size: 1.3rem;
    }
    .post-content {
        font-size: 1.4rem;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 30px;
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    .post-content-inner {
        padding: 0 0;
    }
    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink,
    a.next-btn,
    a.pre-btn {
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.3rem;
        right: 0;
        font-weight: bold;
    }
    .wp-pagenavi a.nextpostslink {
        justify-content: flex-end;
    }
    .wp-pagenavi a.previouspostslink,
    a.pre-btn {
        left: 0;
    }
    .wp-pagenavi a.nextpostslink::after,
    .wp-pagenavi a.previouspostslink::after,
    a.next-btn::after,
    a.pre-btn::after {
        font-size: 1.2rem;
        bottom: -20px;
        right: auto;
        transform: translateX(-50%);
        left: 50%;
        top: auto;
        color: #000;
    }
    .wp-pagenavi a.page,
    .wp-pagenavi li>span {
        width: 25px;
        height: 25px;
        font-size: 1.1rem;
        margin: 0 3px;
        font-weight: 500;
        padding-bottom: 0px;
        letter-spacing: 0.05em;
        padding-left: 1px;
    }
    .post-content h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
        min-height: 60px;
        padding: 0;
        margin-top: 25px;
        line-height: 1.4;
        border-width: 3px;
        padding-left: 10px;
    }
    .post-content h1::after {
        width: 3px;
        left: 0;
    }
    .post-content h1::before {
        height: 2px;
        bottom: -10px;
    }
    .post-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        margin-top: 25px;
        padding-left: 8px;
        line-height: 1.15;
    }
    .post-content h2::after {
        bottom: -8px;
    }
    /* .post-content h2::after {
        width: 9px;
        height: 9px;
        position: absolute;
        top: 5px;
        left: 0px;
    } */
    .post-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.5;
        padding-left: 20px;
        padding-bottom: 9px;
    }
    .post-content h3::after {
        width: 11px;
        left: 0;
        top: 6px;
        height: 11px;
    }
    .post-content h4 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.36;
        padding-left: 19px;
    }
    .post-content h4::after {
        width: 11px;
        left: 0px;
        top: 4px;
        height: 11px;
    }
    /* .post-content h3::after {
        width: 12px;
        height: 12px;
    } */
    .post-content p {
        font-size: 1.3rem;
        line-height: 1.72;
        letter-spacing: 0.1em;
    }
    .post-content ul {
        margin-top: 25px;
    }
    .post-content ul li {
        padding-left: 20px;
        font-size: 1.3rem;
        line-height: 1.73;
        margin-bottom: 10px;
    }
    .post-content ul li::after {
        width: 11px;
        height: 11px;
        top: 5px;
    }
    .title-line .title-single::after {
        height: 100%;
        left: 0;
        width: 3px;
    }
    /* .box-post-title {
        padding-left: 15px;
        padding-right: 15px;
    } */
    .single-content .container .container {
        padding-left: 0;
        padding-right: 0;
    }
    .single-page .wp-pagenavi a.previouspostslink,
    .single-page .wp-pagenavi a.nextpostslink {
        min-height: 26px;
        font-size: 1.4rem;
        max-width: unset;
        text-align: right;
    }
    .single-page .wp-pagenavi {
        flex-wrap: wrap;
        height: auto;
    }
    /* .single-page .wp-pagenavi li {
        width: 100%;
        position: relative;
    } */
    .single-page .wp-pagenavi a.nextpostslink {
        justify-content: flex-end;
        text-align: left;
    }
    /* .single-content {
        padding-left: 10px;
        padding-right: 10px;
    } */
    /* .wp-pagenavi a span{
        display: none;
    } */
    /* .pagination-list {
        padding-top: 23px;
        border-top: 1px solid #39b04a;
    } */
    .sidebar-item.sidebar-cat,
    .sidebar-item.sidebar-arc {
        display: flex;
        max-width: unset;
        align-items: center;
        justify-content: flex-end;
    }
    .post-content table td:first-child {
        width: 72px !important;
    }
    .post-content table td:nth-child(2) {
        width: 75px !important;
    }
    .post-content table th,
    .post-content table td {
        font-size: 1.3rem !important;
        padding: 5px !important;
    }
    .post-content table th:last-child,
    .post-content table td:last-child {
        text-align: left !important;
        padding-left: 12px !important;
    }
    .sidebar-arc .select select {
        font-size: 1.2rem;
        width: 110px;
        height: 35px;
        padding-left: 12px;
        background-size: 12px 7px;
        background-position: center right 13px;
        border-radius: 17px;
    }
}