main {
    background-color: #EDEDED;
    padding-bottom: 0px;
}

a {
    text-decoration: none;
}

main img {
    height: auto;
}

main .container_box {
    max-width: 1600px;
    padding: 25px;
    display: flex;
    gap: 25px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin: auto;
}

main .container_box .main_content {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

main .container_box .main_content .main-content-category {
    padding: 40px;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

main .container_box .main_content .main-content-category .title_category_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

main .container_box .main_content .main-content-category .title_category_box .title-post {
    font-size: 1.4rem;
    color: #0c0c0c;
    margin: 0px;
    border: 0px solid #00B8F2;
    border-right-width: 10px;
    padding-right: 10px;
    font-weight: 700;
}

.content-single {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}

.content-single #posts-item-box {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.content-single #posts-item-box .post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: calc(100% / 3 - 10px);
    gap: 10px;
    border: 1px solid #cbcbcb;
    padding: 15px;
}

.content-single #posts-item-box .post-item img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.content-single #posts-item-box .post-item h3 {
    font-size: 1.1rem;
    line-height: 1.8em;
    padding: 0px 10px;
    width: 100%;
    text-align: start;
}

.content-single #posts-item-box .post-item h3 a {
    color: #000000;
}

.content-single #posts-item-box .post-item ul.meta-single-post {
    list-style: none;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0px 10px;
    gap: 10px;
}

.content-single #posts-item-box .post-item ul.meta-single-post li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 1rem;
    color: #606060;
    line-height: 1.8em;
    margin-bottom: 0px;
}

.content-single #posts-item-box .not-found-any-post {
    width: 100%;
    padding: 15px;
    text-align: center;
    background-color: #ffb3c6;
    color: #d90429;
    font-size: 1.2rem;
    line-height: 1.8em;
    border: 3px dashed #e63946;
}

.content-single .pagination {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.content-single .pagination a,
.content-single .pagination span {
    display: inline-block;
    padding: 5px 15px;
    color: #333;
    background: #f3f3f3;
    border: 1px solid #cbcbcb;
    text-decoration: none;
}

.content-single .pagination a:hover {
    background: #0073aa;
    color: #fff;
}

.content-single .pagination .current {
    background: #00b8f2;
    color: #fff;
    font-weight: bold;

}

.content-category-page {
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #187cd9 #f1f1f1;
}

.content-category-page ol,
.content-category-page li,
.content-category-page ul {
    list-style: disc !important;
    color: black;
    margin: 10px auto;
}

.content-category-page h2 {
    font-size: 1.3rem;
    line-height: 1.8em;
}

.content-category-page h3 {
    font-size: 1.2rem;
    line-height: 1.6em;
}

.content-category-page h4 {
    font-size: 1.2rem;
    line-height: 1.6em;
}

.content-category-page figcaption {
    font-size: 1rem;
    color: #363636;
    line-height: 2;
    padding: 0px 13.4%;
    text-align: center;
}

.content-category-page .wp-video {
    margin: 10px auto !important;
    text-align: center;
}

.content-category-page .generated_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content-category-page .generated_box img {
    width: 100%
}

.content-category-page .eid_content {
    flex: 0 0 65%;
    padding: 20px
}

/* one col custom table */
.content-category-page table.table_one_col_did tr:nth-child(odd) {
    background-color: #ededed;
}

.content-category-page table.table_one_col_did tr:first-child {
    background-color: #f36422;
}

.content-category-page table.table_one_col_did tr td {
    color: #000000;
}

.content-category-page table.table_one_col_did tr:first-child td {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.content-category-page .eid_content ul li {
    list-style: circle;
}

.content-category-page .eid_content ul {
    padding-right: 50px
}

.content-category-page table {
    width: 100%;
    float: right;
    border-collapse: collapse;
    border: solid 1px #e6e6e6 !important;
    margin: 12px 0
}

.content-category-page table {
    float: right;
    width: 100% !important
}

.content-category-page .table-center {
    float: left;
    width: 100% !important;
    text-align: center
}

.content-category-page .table-center .tblmob {
    display: inline-block
}

.content-category-page .table-center table {
    width: auto !important;
    display: inline-block !important;
}

.content-category-page p {
    font-size: 1rem;
    color: #000;
    line-height: 2;
    text-align: justify;
    padding: 0px 13.4%;
    margin: 10px auto;
}

.content-category-page p:has(img) {
    padding: 0px;
    margin: 30px 0px;
}

.content-category-page p:has(img.alignright, img.alignleft) {
    margin: 10px auto !important;
    padding: 0px 13.4% !important;
}

.content-category-page img.alignright {
    margin-left: 15px;
}

.content-category-page img.alignleft {
    margin-right: 15px;
}

.content-category-page ul,
.content-category-page ol {
    padding: 0px 13.4%;
    padding-right: calc(13.4% + 15px);
}

.content-category-page ul li {
    font-size: 1.1rem;
    color: #000;
    text-align: justify;
    line-height: 2;
}

.content-category-page li::marker {
    color: #187cd9;
}

.content-category-page picture {
    text-align: center;
}

.content-category-page img {
    height: auto;
    min-width: 100%;
    display: block;
    margin: auto;
}

.content-category-page table tr td {
    margin-right: 10px;
    font-size: 0.9rem;
    padding: 8px 10px;
    color: #7a7777;
    border: solid 1px #e6e6e6;
    line-height: 1.8em;
}

.content-category-page table tr td p {
    font-size: 1rem !important;
}

.content-category-page div.wp-video-shortcode {
    border-radius: 8px;
    overflow: hidden;
}

.content-category-page h3,
.content-category-page h2,
.content-category-page h4,
.content-category-page table {
    margin: 10px auto;
    width: 100%;
    padding: 0px 7.55%;
}

.content-category-page .row {
    min-width: 100% !important;
    justify-content: center !important;
}

.content-category-page a {
    color: #187cd9;
    font-weight: 700;
}

.content-category-page mark {
    border-radius: 0px !important;
    background-color: #f2f2f2 !important;
    line-height: 2em !important;
    display: block;
    margin: 10px 0px;
    padding: 15px;
}


.bsra-img {
    float: right;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bsra-link {
    float: right;
    height: fit-content;
    line-height: 1.8em;
    font-size: 1.1rem;
    color: black;
    font-weight: 500;
    width: fit-content;
}

.bsra-read-more {
    font-weight: 700;
    color: #187cd9;
}


/* btn cta */
#cta_btn_link_one {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 2px solid #F36422;
    border-radius: 20px 30px 15px 35px;
    padding: 10px 20px;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 15px 0px;
}

i.cart_cta_icon {
    background-image: url(../icon/basket-icon-cta.svg);
    width: 45px;
    height: 45px;
    background-size: contain;
    display: block;
}


/* lucky wp table of content css */
.lwptoc.lwptoc-baseItems>div {
    width: 100% !important;
    direction: rtl !important;
    text-align: justify !important;
    border-radius: 8px !important;
    padding: 20px !important;
    background-color: #F6F6F6 !important;
    border: 1px solid #CBCBCB !important;
}

.lwptoc.lwptoc-baseItems div.lwptoc_header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0px !important;
}

.lwptoc.lwptoc-baseItems div.lwptoc_header .lwptoc_toggle {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lwptoc.lwptoc-baseItems div.lwptoc_header span.lwptoc_toggle::after,
.lwptoc.lwptoc-baseItems div.lwptoc_header span.lwptoc_toggle::before {
    display: none !important;
}

.lwptoc.lwptoc-baseItems div.lwptoc_header span.lwptoc_toggle a.lwptoc_toggle_label {
    background-color: #0094ff !important;
    color: white !important;
    padding: 5px 7px !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    display: inline !important;
}

.lwptoc.lwptoc-baseItems .lwptoc_i>.lwptoc_items {
    margin: 20px 0px 0px !important;
    background-color: white !important;
    border-radius: 8px !important;
    padding: 5px !important;
}

.lwptoc-notInherit .lwptoc_i div a {
    font-size: 1rem;
    line-height: 1.8em;
    padding: 10px 20px;
    display: block;
    border: 1px solid #f6f6f6 !important;
    border-width: 0px 0px 1px 0px !important;
}

.lwptoc_itemWrap .lwptoc_itemWrap {
    margin: 0px 15px 0 0px !important;
}


main .container_box .aside_content {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 20px;
    position: sticky;
    top: 15px;
}

main .container_box .aside_content>a,
main .container_box .aside_content>a img {
    width: 100%;
}


i.calender-icon,
i.comment-icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    -o-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
}

i.calender-icon {
    background-image: url(../icon/calendar_duotone_line.png);
    width: 20px;
    height: 20px;
    background-size: contain;
}

i.comment-icon {
    background-image: url(../icon/comment_light.png);
    width: 20px;
    height: 20px;
    background-size: contain;
    cursor: pointer;
}

i.time-icon {
    background-image: url(../icon/time.png);
    width: 20px;
    height: 20px;
    background-size: contain;
}

i.eye-icon {
    background-image: url(../icon/eye_light.png);
    width: 20px;
    height: 20px;
    background-size: contain;
}

i.copy-icon {
    background-image: url(../icon/copy_light.png);
    width: 20px;
    height: 20px;
    background-size: contain;
    display: block;
}

main .container_box .main-board-box {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(8, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

main .container_box .main-board-box a {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

main .container_box .main-board-box a:before {
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 60%, #000000);
    content: "";
    height: 100%;
    position: absolute;
    width: 100%;
}

main .container_box .main-board-box a:hover {
    opacity: 0.8;
    transition: opacity 0.6s ease 0s;
}

main .container_box .main-board-box a:nth-child(1) {
    grid-area: 1 / 1 / 9 / 7;
}

main .container_box .main-board-box a:nth-child(2) {
    grid-area: 1 / 7 / 5 / 11;
}

main .container_box .main-board-box a:nth-child(3) {
    grid-area: 5 / 7 / 9 / 11;
}

main .container_box .main-board-box a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

main .container_box .main-board-box a span {
    position: absolute;
    bottom: 10px;
    right: 15px;
    text-align: right;
    line-height: 1.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    width: calc(100% - 30px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1317px) {
    main .container_box .main_content .main-content-category .title_category_box .title-post {
        font-size: 1.2rem !important;
    }

    main .container_box .aside_content {
        padding: 10px !important;
    }

    .content-single #posts-item-box .post-item {
        width: calc(100% / 2 - 10px);
    }

}

@media (max-width: 1024px) {
    main .container_box {
        flex-direction: column;
        padding: 15px;
    }

    main .container_box .main_content {
        width: 100%;
        gap: 10px;
    }

    main .container_box .aside_content {
        width: 100%;
    }

    .content-category-page figcaption {
        padding: 0px 10px;
    }

    .lwptoc.lwptoc-baseItems>div {
        padding: 10px !important;
    }

    .lwptoc.lwptoc-baseItems .lwptoc_i>.lwptoc_items {
        margin: 10px 0px 0px !important;
    }

    .lwptoc-notInherit .lwptoc_i div a {
        padding: 10px 10px;
    }

    main .container_box .main-board-box a:before {
        background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 30%, #000000);
    }

    main .container_box .main-board-box a span {
        font-size: 0.9rem;
        line-height: 1.1rem;
    }
}

@media (max-width: 760px) {

    .content-single #posts-item-box .post-item h3 {
        font-size: 0.9rem;
    }

    main .container_box .main_content .main-content-category {
        padding: 10px;
    }

    .content-category-page h2 {
        font-size: 1.2rem;
        line-height: 1.8em;
    }

    .content-category-page h3 {
        font-size: 1rem;
        line-height: 1.6em;
    }

    .content-single #posts-item-box .post-item {
        width: 100%;
    }
}

@media (max-width: 680px) {

    main .container_box {
        padding: 10px;
    }

    main .container_box .main_content .main-content-category .title_category_box .title-post {
        border-width: 0px 5px 0px 0px !important;
    }


    .content-category-page p {
        padding: 0px 5px;
    }

    .content-category-page h3,
    .content-category-page h2,
    .content-category-page h4,
    .content-category-page table {
        padding: 0px;
    }

    .content-category-page ul,
    .content-category-page ol {
        padding-left: 0;
        padding-right: 20px;
    }
}