#carousel_image_link .swiper-button-next,
#carousel_image_link .swiper-button-prev {
    background: var(--color-primary);
    border-radius: 50px;
    padding: 5px;
    width: 45px;
    height: 45px;
}

#carousel_image_link.outside_arrow .swiper-button-prev {
    left: -25px !important;
}

#carousel_image_link.outside_arrow .swiper-button-next {
    right: -25px !important;
}
.main-post_column.style2.main.infographic-column article.akp-ecl-card {
    width: 100% !important;
}
.social-box_footer ul.list-social li svg {
    height: 19px;
    width: 19px;
}

.social-box_footer ul.list-social li a {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
}

.social-box_footer ul.list-social li a svg path {
    fill: #fff;
}

.social-box_footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.box-phone {
    padding-top: 20px;
}

.box-phone .call-wrap {
    display: flex;
    align-items: center;
}

.box-phone .circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #05a081;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-phone .triangle {
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 19px solid #05a081;
    margin-left: -9px;
}

.box-phone .circle svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.footer-main .main-footer .box-phone .phone,
.footer-main .main-footer .box-phone .fax {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-main .main-footer .box-phone .c-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: #fff;
    font-weight: 300;
}

.footer-main .main-footer .box-phone .c-2 a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.social-box_footer {
    gap: 25px;
}

.footer-main .main-footer .v-container {
    grid-template-columns: 1fr;
}

.footer-main .main-footer .object-1.object-grid .main-object .object-sub_3 {
    justify-content: right;
}

header.site-header .main-bar .desktop_menu ul.menu {
    height: auto;
    background: #E1E1E1;
    padding: 2px 0;
    border-radius: 50px;
    margin: 0;
}

header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-item::after {
    content: unset;
}

header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-parent,
header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-item {
    background: transparent;
    border-radius: 0;
}

header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-parent>a,
header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-item>a {
    color: #994000;
}

header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-parent:hover>a,
header.site-header .main-bar .desktop_menu ul.menu>li.current-menu-item:hover>a {
    color: #994000 !important;
}

header.site-header .main-bar .toggle-search {
    display: flex !important;
    transform: rotate(315deg);
}

header.site-header .main-bar .toggle-search h4,
header.site-header .main-bar .toggle-search .toggle-search-label {
    display: none;
}

header.site-header .main-bar {
    height: auto;
    background: #E1E1E1;
    padding: 3px 4px;
    border-radius: 50px;
    margin: 0;
}

header.site-header .v-container .last-box .toggle-search {
    display: none;
}

.site-header .h-socials .social-box_footer {
    gap: 6px;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
}

.site-header .h-socials .social-box_footer ul.list-social li a {
    width: 32px;
    height: 32px;
}

.site-header .h-socials .social-box_footer ul.list-social li svg {
    width: 17px;
    height: 17px;
}

header .sub-bar {
    display: flex;
    justify-content: right;
}

header.site-header .v-container .right-box {
    padding: 15px 0px;
    gap: 10px;
}

/* div#carousel_home_banner .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
     display: none !important;
} */
.elementor-edit-area-active {
    width: 100%;
}

.f-box textarea {
    border-radius: 10px !important;
}

.p-title_16.page-title-feature-image {
    text-align: center;
    margin-bottom: 20px;
}

.p-title_16.page-title-feature-image img {
    box-shadow: none;
    position: absolute;
    bottom: 0;
    height: auto;
    width: 100%;
    max-width: 420px;
    right: 0;
}

.p-title_16.in-thumb {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.single .wrap-content,
.detail-archive_box {
    background: #f57921;
    padding-top: 0;
}

.single .wrap-content .v-container,
.detail-archive_box .v-container {
    background: #fff;
    padding: 40px;
    border-radius: 50px 0px 0px 50px;
}

.single .wrap-content .v-container:before,
.detail-archive_box .v-container:before {
    content: '';
    display: block;
    position: absolute;
    width: 5000px;
    height: 100%;
    background: #fff;
    top: 0;
    right: -5000px;
}

header.entry-header {
    position: relative;
}

article.akp-ecl-card.grey-color {
    background: #ebebeb;
    border: 1px solid #e9e9e9;
    position: relative;
}

.post-related article.akp-ecl-card.akp-ecl-card-horizontal_card a.akp-ecl-thumb-wrap {
    padding-bottom: calc(0.8 * 100%);
}

.v-post-loop.-list article.akp-ecl-card.akp-ecl-card-horizontal_card {
    padding: 0px;
}

h3.widget-title.section-title {
    color: var(--color-primary);
}

h3.widget-title.section-title:before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-image: url('https://thaihealth.zlla.in/wp-content/themes/fluffy/theme-core/theme-16/img/blog.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

h3.widget-title.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar_moex form li input,
.search-bar_moex form li select {
    background: #F0F0F0 !important;
    border: 0 !important;
    color: #595959 !important;
}

.search-bar_moex form li input::placeholder {
    color: #595959 !important;
}

.page-sub-title.archive {
    display: none;
}

#page .archive-box .content-pagination .page-numbers {
    color: #000;
}

#page .archive-box .content-pagination .current {
    background: #E6E7E8;
    color: var(--color-primary);
}

#page .archive-box .content-pagination .page-numbers {
    border-radius: 50px;
    border: 0;
}

#page .archive-box .content-pagination .next.page-numbers,
#page .archive-box .content-pagination .prev.page-numbers {
    background: var(--color-primary);
}

#page .archive-box .content-pagination .next.page-numbers svg,
#page .archive-box .content-pagination .prev.page-numbers svg {
    stroke: #fff;
}

.archive-box li.sf-field-posts_per_page select {
    background: #E6E7E8 !important;
    color: var(--color-primary);
    border-radius: 50px;
    color: #000;
}

.theme-sixteen .detail-archive_box:before {
    content: '';
    background-image: url('https://thaihealth.zlla.in/wp-content/themes/fluffy/theme-core/theme-16/img/left-bg-archive.svg');
    display: block;
    height: 644px;
    width: 550px;
    z-index: 0;
    position: absolute;
    bottom: 170px;
    left: 0;
    background-position: top left;
    background-repeat: no-repeat;
}

.theme-sixteen .detail-archive_box:after {
    content: '';
    background-image: url('https://thaihealth.zlla.in/wp-content/themes/fluffy/theme-core/theme-16/img/right-bg-archive.svg');
    display: block;
    height: 644px;
    width: 550px;
    z-index: 1;
    position: absolute;
    bottom: 170px;
    right: 0;
    background-position: bottom right;
    background-repeat: no-repeat;
}

.vc-color_2 .theme-sixteen .detail-archive_box:before,
.vc-color_2 .theme-sixteen .detail-archive_box:after,
.vc-color_3 .theme-sixteen .detail-archive_box:before,
.vc-color_3 .theme-sixteen .detail-archive_box:after {
    filter:grayscale(1)
}

div#main {
    z-index: 1000;
    position: relative;
}

header.entry-header h1.page-title-text {
    text-align: left;
}

.single article.akp-ecl-card.akp-ecl-card-horizontal_card .akp-ecl-title a {
    color: #009780;
}

article.akp-ecl-card span.post-views-count {
    font-size: 13px !important;
    font-weight: 600;
    color: #000;
    font-family: "KwamSook", sans-serif !important;
}

article.akp-ecl-card.akp-ecl-card-two_column_card span.post-views-count,
article.akp-ecl-card.akp-ecl-card-two_column_card .meta-post .text-card,
article.akp-ecl-card.akp-ecl-card-two_column_card .meta-post .date-post_wrap,
article.akp-ecl-card.akp-ecl-card-two_column_card .meta-post .post_view {
    font-size: 13px !important;
    font-weight: 500;
    font-family: inherit !important;
    line-height: 1.3;
}

article.akp-ecl-card.akp-ecl-card-two_column_card:first-child span.post-views-count,
article.akp-ecl-card.akp-ecl-card-two_column_card:first-child .meta-post .text-card,
article.akp-ecl-card.akp-ecl-card-two_column_card:first-child .meta-post .date-post_wrap,
article.akp-ecl-card.akp-ecl-card-two_column_card:first-child .meta-post .post_view {
    font-size: 16px !important;
}

.wrap-post-style2 .tags_list span {
    display: block;
    max-width: 95px;
    width: 100%;
    line-height: 1;
    padding: 8px 15px;
    text-align: center;
    border-radius: 50px;
    border-top-left-radius: 0;
}

span.tags-icon {
    padding: 0 !important;
    margin: 0 !important;
}

.wrap-post-style2 .tags_list>span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

span.tags-icon {
    width: auto !important;
    display: flex !important;
    max-width: 100% !important;
}

.wrap-post-style2 .tags_list span svg {
    width: 12px;
    height: 12px;
}

.wrap-post-style2 .tags_list a {
    background: #F3F3F3;
    border: 0;
    padding: 7px 12px;
}

.wrap-post-style2 .tags_list>span {
    margin-bottom: 10px;
}

.single-meta i,
.single .icon-date,
.single .right-items .icon-view {
    background: transparent !important;
    color: var(--color-primary) !important;
    padding: 0 !important;
    font-size: 18px !important;
}

.theme-sixteen .wrap_file_item.wrap-post-style2 {
    grid-template-columns: 1fr;
}

.theme-sixteen .section-box-single .icon-title {
    background: transparent;
    width: auto;
    height: auto;
    border-radius: unset;
}

.theme-sixteen .section-box-single .icon-title svg {
    width: 50px;
    height: 50px;
}

.theme-sixteen h3.section-title {
    display: flex !important;
    align-items: center;
}

#carousel_image_link .swiper-slide a:hover {
    border-radius: 18px;
}

#carousel_image_link .swiper-slide a {
    border-radius: 18px;
}

.tag-search .mwtsa-search-stats ul>li>ul>li a {
    background: transparent;
    color: #000;
    padding: 0;
}

.popup_search .tag-search {
    display: flex;
}

.popup_search .tag-search .text-sleft {
    width: auto;
}

.tag-search .mwtsa-search-stats ul,
.tag-search .mwtsa-search-stats {
    text-align: left;
    position: relative;
    margin: 0 0 0 auto;
}

form.search-panel {
    max-width: 700px !important;
}

.popup_search form.search-panel h4 {
    color: var(--color-primary);
}

form.search-panel .main-object {
    border-color: var(--color-primary);
}

form.search-panel .main-object button svg {
    color: var(--color-primary);
}

.wrap-search-content {
    grid-template-columns: 1fr;
}

/* Search Filter - Post Type Checkbox Styling */
.wrap-form-search .sf-field-post_type h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.wrap-form-search .sf-field-post_type>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrap-form-search .sf-field-post_type>ul>li {
    position: relative;
}

.wrap-form-search .sf-field-post_type .sf-input-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.wrap-form-search .sf-field-post_type .sf-label-checkbox {
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    color: #000;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wrap-form-search .sf-field-post_type .sf-label-checkbox:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.wrap-form-search .sf-field-post_type .sf-input-checkbox:checked+.sf-label-checkbox,
.wrap-form-search .sf-field-post_type .sf-option-active .sf-label-checkbox {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.wrap-form-search .sf-field-post_type .sf-input-checkbox:checked+.sf-label-checkbox:hover,
.wrap-form-search .sf-field-post_type .sf-option-active .sf-label-checkbox:hover {
    background: #e66d0f;
    border-color: #e66d0f;
}

.wrap-search-content {
    grid-template-columns: 1fr;
}

.archive-box.search-page li.sf-field-category>ul,
.archive-box.search-page li.sf-field-post_type>ul {
    display: block;
    float: left;
}

.archive-box.search-page li.sf-field-category>ul li,
.archive-box.search-page li.sf-field-post_type>ul li {
    display: inline-block;
    width: auto;
    margin-right: 8px;
}

.archive-box.search-page li.sf-field-category>ul li:last-child,
.archive-box.search-page li.sf-field-post_type>ul li:last-child {
    margin-right: 0;
}

.search-page li.sf-field-category label:before,
.search-page li.sf-field-post_type label:before {
    content: unset !important;
}

.archive-box.search-page .searchandfilter>ul {
    display: grid;
}

.archive-box.search-page li.sf-field-submit {
    grid-column: span 3;
}

.archive-box.search-page li.sf-field-submit input {
    border-radius: 50px;
}

.archive-box.search-page .search_bar_left {
    background: transparent;
}

.archive-box.search-page .search_bar_title h2 {
    background: transparent;
    color: #000;
}

.archive-box.search-page .search_bar_left .wrap-form-search {
    background: #F3F3F3;
    border-radius: 20px;
    border: 1px solid #000;
}

.theme-sixteen .search-page .detail-archive_box:after {
    z-index: 1000;
}

.wrap_yp_gallery a.yp_gallery_item .item-thumbs img {
    border-radius: 20px;
}

.wrap_yp_gallery a.yp_gallery_item .item-thumbs {
    padding-bottom: calc(1 * 100%) !important;
}

.thumbnail-t_16 {
    position: relative;
    width: 85px;
    height: 85px;
}

.thumbnail-t_16 img {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

article.card-document {
    display: flex;
    background: #F3F3F3;
    gap: 20px;
    padding: 5px;
    align-items: center;
    border-radius: 16px;
}

article.card-document .main-content_b {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    gap: 25px;
    padding: 10px 0;
}

article.card-document .main-content_b ul {
    padding: 0;
    margin: 0;
}

article.card-document .main-content_b ul li {
    list-style: none;
}

article.card-document {
    margin-bottom: 15px;
}

article.card-document:last-child {
    margin-bottom: 0;
}

article.card-document .btn-readmore_dm {
    flex: 0 0 20%;
}

article.card-document .main-content_b {
    flex: 0 0 60%;
}

article.card-document .thumbnail-info {
    flex: 0 0 13%;
}

article.card-document .thumbnail-info img {
    width: 95px;
    height: 95px;
    display: block;
}

article.card-document .main-content_b>a {
    color: #000 !important;
}

article.card-document .btn-readmore_dm a {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: row-reverse;
}

article.card-document .btn-readmore_dm a span {
    line-height: 0;
    display: block;
    background: var(--color-primary);
    border-radius: 50px;
}

article.card-document .btn-readmore_dm a span>svg {
    stroke: #fff;
}

article.card-document {
    position: relative;
    overflow: hidden;
    border-bottom-right-radius: 0;
}

article.card-document .bg-ab {
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 0;
    transform: scale(1.1);
}

article.card-document .btn-readmore_dm {
    z-index: 9;
}

.theme-sixteen h3.section-title {
    width: 100%;
}

.theme-sixteen h3.section-title a {
    display: none;
}

.single .overlay_thumb_single {
    border-radius: 16px;
    border-bottom-right-radius: 0;
}

.wrap_yp_gallery a.yp_gallery_item .item-thumbs img {
    border-radius: 20px;
    border-bottom-right-radius: 0;
}

/* show posts */
.grid-column-post .no-results.not-found {
    min-height: 25rem;
    width: 100%;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    font-weight: 700;
}
.no-results.not-found::before {
    content: 'ไม่พบรายการ';
}

/* Gallery Load More Button Styles */
.gallery_loadmore {
    position: relative;
    width: calc(25% - 10px);
    float: left;
    margin: 5px;
}

.gallery_loadmore .load-more-preview {
    display: block;
    position: relative;
}

.gallery_loadmore .load-more-preview .overlay_thumb_single {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery_loadmore .load-more-preview:hover .overlay_thumb_single {
    opacity: 1;
}

.gallery_loadmore .btn-view-all-gallery {
    background: transparent;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    transform: scale(1);
    height: 100%;
    width: 100%;
}

li.sf-field-submit {
    display: none !important;
}

article.akp-ecl-card {
    z-index: 9999;
}

div#grid-column-post .akp-ecl-card {
    background: #f2f2f2;
}

h3.akp-ecl-title {
    font-size: 19px;
}

.card-post_m .post-format-video .post-format-icon img {
    height: unset !important;
}

.wrap_yp_gallery .gallery_loadmore {
    width: calc(20% - 10px);
    float: left;
    margin: 5px;
}

.gallery_loadmore a {
    min-width: 100%;
}

.wrap_yp_gallery a.yp_gallery_item .item-thumbs img {
    border-bottom-right-radius: 0;
}

/* .gallery_loadmore .load-more-preview:hover .btn-view-all-gallery {
    background: #e66d0f;
    transform: scale(1);
} */

.gallery_loadmore .plus-icon {
    font-size: 18px;
}

.gallery_loadmore a.yp_gallery_item.load-more-preview {
    display: block !important;
}

.gallery_loadmore .load-more-preview .overlay_thumb_single {
    background: #ec750db5;
    content: '';
    transition: all ease-in-out 200ms;
    z-index: 1;
    opacity: 1;
    border-radius: 20px;
    border-bottom-right-radius: 0;
}

.akp-ecl-card.akp-ecl-card-horizontal_card .post-format-type {
    flex: 0 0 calc(45% - 10px);
    position: relative;
}

.akp-ecl-card.akp-ecl-card-horizontal_card .akp-ecl-content {
    flex: 0 0 calc(55% - 10px);
    padding: 16px 0;
}

.akp-ecl-card.akp-ecl-card-horizontal_card .post-format-type span.gallery-count_box img {
    width: 16px !important;
    height: auto !important;
    position: relative !important;
    transform: unset !important;
    top: 0 !important;
    left: 0 !important;
}

.akp-ecl-card.akp-ecl-card-horizontal_card .post-format-type span.gallery-count_box>span {
    font-size: 13px;
}

.akp-ecl-card.akp-ecl-card-horizontal_card .post-format-type span.gallery-count_box {
    gap: 3px;
    margin-bottom: 7px;
    margin-left: 10px;
}

.post-format-type.post-format-gallery span.gallery-count_box img {
    width: 16px !important;
    height: auto !important;
}

article.akp-ecl-btn,
.akp-ecl-btn:visited {
    color: #fff !important;
}

article.article-download-16 .download-list-in.active {
    position: absolute;
    width: 100%;
    left: 0;
    background: #D9D9D9;
    z-index: 9999;
    padding: 20px;
    top: 58px;
    border-radius: 20px;
}

article.article-download-16 .download-list-in:hover {
    z-index: 9999;
    position: absolute;
}

article.article-download-16.active {
    z-index: 999;
}

.download-page .download-list-in li {
    background: #ffff;
    border-radius: 50px;
    padding: 10px 20px;
}

/* Override main.css with higher specificity */
#page .archive-box .v-post-loop.-list .theme-sixteen article.article-download-16.active * {
    color: #000 !important;
}

.download-page .download-list-in li.file a {
    background: #ffff;
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center;
}

.archive-box .v-post-loop.-list article.article-download-16 span.post_view {
    margin: 0;
    font-size: 14px;
    margin-top: 4.5px;
}

.archive-box .v-post-loop.-list article.article-download-16 .entry-meta {
    display: flex;
    align-items: center;
}

body.theme-sixteen #page .archive-box .v-post-loop.-list article.active * {
    color: #fff !important;
    /* หรือ style ที่คุณต้องการ */
}

body.single-wpdmpro.theme-sixteen #page .archive-box .main-post_column {
    gap: 5px;
}

body.single-wpdmpro.theme-sixteen .download-page.v-post-loop.-list .post-info .entry-title {
    font-size: 16px;
}

/* ยกเว้นบางส่วน */
body.theme-sixteen #page .archive-box .v-post-loop.-list article.active .download-list-in>.detail span {
    color: inherit !important;
}


body.theme-sixteen.page-template-page-download .detail-archive_box {
    padding-bottom: 0 !important;
}

body.theme-sixteen.page-template-page-download #page .archive-box .main-post_column {
    gap: 0 !important;
}


.archive-box .v-post-loop.-list article.article-download-16 {
    padding: 0;
    margin: 0 !important;
    background: #F3F3F3;
}

.archive-box .v-post-loop.-list article.article-download-16.active,
.archive-box .download-page.v-post-loop.-list article.article-download-16:hover {
    background: #ff933c;
    box-shadow: none;
}

.archive-box .download-page.v-post-loop article.article-download-16 .post-info {
    padding: 10px 15px;
}

/* .archive-box .download-page.v-post-loop article.article-download-16 .post-header {
    margin-top: 0.15em;
} */
.download-page.v-post-loop.-list .article-download-16 .toggle-download-list .wrap-toggle-download {
    min-height: 18px;
    max-height: 18px;
    min-width: 18px;
    max-width: 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
}

.download-page.v-post-loop.-list .article-download-16 .toggle-download-list span {
    margin-top: 0;
}

.download-page.v-post-loop.-list .article-download-16 .toggle-download-list svg {
    margin: 0;
    width: 12px;
    height: 12px;
}

.download-page.v-post-loop.-list .article-download-16 .right-download {
    top: 27px;
}

.download-page.v-post-loop.-list .article-download-16 button.toggle-download-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* body.theme-sixteen.page-template-page-download .download-page.v-post-loop .post-header {
    width: 7%;
    padding: 0;
} */
.wrap-list-theme-16 .download-list-in {
    width: 100%;
    margin: 0;
}

.wrap-list-theme-16 .download-list-in li .detail {
    font-size: 14px;
}

#primary .download-page .wrap-list-theme-16 .download-list-in li .detail a,
.wrap-list-theme-16 .file-info {
    font-size: 11px !important;
}

#primary .download-page .wrap-list-theme-16 .download-list-in li .detail a svg {
    width: 10px !important;
    margin-bottom: -4px !important;
}

#primary .download-page .wrap-list-theme-16 .download-list-in li.file a.download-link {
    color: #000;
    align-items: center;
    padding: 0;
    border-radius: 0 !important;
    font-size: 12px !important;
    top: 22px;
    text-decoration: none;
    gap: 5px;
}

#primary .download-page .wrap-list-theme-16 .download-list-in li.file a.download-link i {
    background: #ff933c;
    color: #FFF !important;
    font-size: 7px;
    border-radius: 50px;
    width: 17px;
    height: 17px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.wrap-list-theme-16 {
    display: flex;
    width: 100%;
    background: #D9D9D9;
    border-radius: 20px;
    margin: 5px 0;
    /* padding: 7px; */
    padding-bottom: 0;
    /* padding-top: 6px; */
}

.wrap-list-theme-16 .file-info {
    display: flex;
    align-items: center;
}

.wrap-list-theme-16 .download-list-in li {
    border-radius: 16px;
    margin-bottom: 5px;
    position: relative;
}

.wrap-list-theme-16 .download-list-in li:last-child {
    margin-bottom: 0;
}

.archive-box .v-post-loop.-list .wrap-list-theme-16 .download-list-in.active {
    margin: 0;
    padding: 7px;
}

.wrap-list-theme-16 .download-list-in ul {
    margin: 0;
}

.wrap-list-theme-16 .download-page .download-list-in li {
    font-variant: all-small-caps;
    margin-bottom: 5px;
}

.wrap-list-theme-16 .download-list-in .file-info a {
    margin-top: -9px !important;
    margin-left: 6px;
    text-decoration: none;
}

#page .download-page .wrap-list-theme-16 .download-list-in {
    margin-top: 0 !important;
}


article.card-n-quote .main-content_b {
    gap: 5px;
}

article.card-n-quote .thumbnail-info {
    flex: 0 0 100px;
}

article.card-n-quote .main-content_b {
    flex: 0 0 calc(100% - 245px);
}

article.card-n-quote .btn-readmore_dm {
    flex: 0 0 120px;
}

article.card-n-quote .thumbnail-info img {
    width: 85px;
    height: 85px;
}

article.card-n-quote .btn-readmore_dm a {
    font-size: 14px;
    gap: 6px;
    font-weight: 500;
}

article.card-n-quote .btn-readmore_dm a span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

article.card-n-quote .btn-readmore_dm a span>svg {
    stroke: #fff;
    width: 12px;
    height: 12px;
    margin-top: -4px;
    margin-right: 1px;
}

article.card-n-quote .main-content_b ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 3px;
    font-weight: 500;
}

article.card-n-quote .main-content_b ul li svg {
    margin-top: -3px;
    width: 17px;
}

article.card-n-quote .main-content_b:hover>a {
    color: #009a75 !important;
}

.single .right-items .post_views .post-views {
    margin-left: 4px;
    border-right: solid 1px #ddd;
    padding-right: 12px;
}

.single .right-items .post_views {
    margin-right: 11px;
}

.single .right-items .icon-view {
    display: flex;
    width: 20px;
    margin-right: 5px;
}

.single-meta .post_by {
    display: flex;
    align-items: center;
    margin-right: 13px;
}

.single-meta .post_by span.byline {
    padding-left: 4px;
}

.single-meta .post_date {
    display: inline-block;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    padding: 0 12px;
}

.wrap-all-shared {
    display: none;
}

.wrap-shortlink .wrap-input {
    position: relative;
    width: calc(100% - 190px);
    padding: 7px 13px;
    border-radius: 50px;
    background: #F0F0F0;
}

.wrap-shortlink {
    display: flex;
    gap: 11px;
}

.wrap-shortlink input {
    border: 0;
    background: #0000;
    padding: 0;
}

.wrap-shortlink button span {
    color: var(--color-primary);
}

.wrap-shortlink button {
    padding: 8px 7px;
    min-height: 0;
    height: 100%;
    border-radius: 50px;
    top: 0;
    right: 0;
    background: #0000;
    color: var(--color-primary);
    padding-right: 15px;
}

.wrap-shortlink button svg {
    stroke: var(--color-primary)
}

.single .left-shared {
    padding: 0;
    margin: 0;
}

.single-meta .left-items {
    margin-right: 13px !important;
}

body.elementor-page.single-post .entry-content {
    margin: 1.5em 0 1.5em !important;
}

.single-post .entry-content p,
.single-mec-events .entry-content p,
.single-post .entry-content li {
    font-family: 'KaLaTeXa';
    font-size: 20px;
    line-height: 25px;
}

.wpt_share_count svg {
    width: 15px;
    height: 15px;
    margin-bottom: -2px;
    margin-right: 3px;
}

article.card-n-quote {
    gap: 0;
    width: 100%;
}

.related-bottom article.akp-ecl-card .date-post_card,
.related-bottom article.akp-ecl-card span.post-views-count {
    font-size: 12px !important;
}

#page .related-bottom .v-post-loop a {
    line-height: 24px;
}

@media (max-width: 767px) {
    #page .jet-slider__content-inner .video-slide{
    min-height: 350px;
}

#page .jet-slider__content.sp-layer .jet-slider__content-inner {
    padding: 0 !important;
}
    .gallery_loadmore {
        width: calc(50% - 10px);
    }

    article.card-n-quote .thumbnail-info {
        flex: 0 0 27% !important;
    }

    article.card-n-quote .main-content_b {
        padding-top: 3px;
    }

    article.card-n-quote {
        align-items: start !important;
    }
}

@media (max-width: 1024px) {
   #page .jet-slider__content-inner .video-slide{
    min-height: 450px;
}

    .single .wrap-content .v-container,
    .detail-archive_box .v-container {
        padding: 20px;
        margin-left: 20px;
    }

    .single .wrap-content,
    .detail-archive_box {
        margin-top: 0;
    }

    .single .wrap-content,
    .detail-archive_box {
        padding-left: 30px;
    }

    .theme-sixteen .search-page .detail-archive_box:after {
        z-index: 999;
    }
}

@media (max-width: 768px) {
    .footer-main .main-footer .object-1.object-grid .main-object .object-sub_3 {
        justify-content: left;
    }

    .p-title_16.page-title-feature-image img {
        max-width: 265px;
        right: 0px;
    }

    .single .wrap-content,
    .detail-archive_box {
        padding-left: 0px;
    }

    #page .archive-box .main-post_column article {
        width: 100%;
    }

    .single .wrap-content .v-container,
    .detail-archive_box .v-container {
        margin-left: 10px;
    }

    .single .wrap-content .v-container,
    .detail-archive_box .v-container {
        z-index: 1002;
    }

    .theme-sixteen .search-page .detail-archive_box:after {
        z-index: 999;
    }

    article.card-document .btn-readmore_dm {
        flex: 0 0 100%;
    }

    article.card-document .main-content_b {
        flex: 0 0 70%;
        padding-left: 10px;
    }

    article.card-document {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 10px;
        gap: 10px 0px;
    }

    article.card-document .thumbnail-info {
        flex: 0 0 30%;
    }

    .bg-ab {
        display: none;
    }
}

/* WCAG G18: bg ต้องอยู่บน <a> เอง — transparent ทำให้ checker อ่าน contrast ผิด */
#page header.site-header .main-bar .desktop_menu ul.menu > li > a[aria-current="page"],
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-item > a,
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-parent > a,
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-ancestor > a,
#page header.site-header .main-bar .desktop_menu .current_page_item > a,
#page header.site-header .main-bar .desktop_menu li.current_page_item > a,
#page .desktop_menu li.current_page_item > a,
#page .desktop_menu li.current-menu-item > a,
#page header.site-header .main-bar .desktop_menu ul#primary-menu.menu > li.menu-item > a[aria-current="page"],
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item > a[aria-current="page"],
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item.current-menu-item > a,
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item.current-menu-parent > a,
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item.current-menu-ancestor > a {
    background-color: #c25700;
    color: #fff;
    border-radius: 0 !important;
}

#page header.site-header .main-bar .desktop_menu ul.menu > li > a[aria-current="page"]:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-item > a:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-parent > a:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-ancestor > a:hover,
#page header.site-header .main-bar .desktop_menu .current_page_item > a:hover,
#page header.site-header .main-bar .desktop_menu li.current_page_item > a:hover,
#page .desktop_menu li.current_page_item > a:hover,
#page .desktop_menu li.current-menu-item > a:hover,
#page header.site-header .main-bar .desktop_menu ul#primary-menu.menu > li.menu-item > a[aria-current="page"]:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item > a[aria-current="page"]:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item.current-menu-item > a:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item.current-menu-parent > a:hover,
#page header.site-header .main-bar .desktop_menu ul.menu > li.menu-item.current-menu-ancestor > a:hover {
    /* background-color: #eb6a00 !important; */
    color: #fff !important;
}

#page header.site-header .main-bar .desktop_menu ul.menu > li:has(> a[aria-current="page"]),
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-item,
#page header.site-header .main-bar .desktop_menu ul.menu > li.current-menu-parent {
    background: #c25700;
    border-radius: 50px;
}

/* Mega menu / submenu links over background images */
body.theme-sixteen .mega-menu-container a:not(.elementor-button):not(.elementor-button-link),
#page header.site-header .main-bar .desktop_menu li.menu-item ul.sub-menu li a {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 2px 8px;
    border-radius: 50px;
}

#page header.site-header .main-bar .desktop_menu li.menu-item ul.sub-menu li:hover > a {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
}

body.theme-sixteen h2.elementor-heading-title.elementor-size-default {
    color: #eb6a00 !important;
}

body.theme-sixteen .title-secondary h2.elementor-heading-title.elementor-size-default {
    color: #008767 !important;
}

/* Jet Slider text over slide images — background wraps text only, not full width */
#page .jet-slider__content-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100%;
}
#page .jet-slider__content-inner .video-slide{
    min-height: 520px;
}

#page .jet-slider__title,
#page .jet-slider__subtitle,
body.theme-sixteen .jet-slider__title,
body.theme-sixteen .jet-slider__subtitle {
    color: #ffffff !important;
    background-color: #1a1a1a !important;
    padding: 4px 10px !important;
    display: inline !important;
    width: auto !important;
    max-width: 100%;
    align-self: center !important;
    border-radius: 4px !important;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

body.theme-sixteen a.jet-slider__button.jet-slider__button--primary {
    background-color: #c25700 !important;
    border-color: #c25700 !important;
    color: #ffffff !important;
}

/* Elementor buttons - broad selectors to override Elementor inline colors */
#page body.theme-sixteen .elementor-widget-button .elementor-button:not(.jet-slider__button),
#page body.theme-sixteen a.elementor-button.elementor-size-md:not(.jet-slider__button),
#page body.theme-sixteen .elementor-button.elementor-size-md:not(.jet-slider__button) {
    background-color: #008671 !important;
    background-image: none !important;
    border-color: #008671 !important;
    color: #ffffff !important;
}

#page body.theme-sixteen .elementor-widget-button .elementor-button:not(.jet-slider__button) .elementor-button-text,
#page body.theme-sixteen a.elementor-button.elementor-size-md:not(.jet-slider__button) .elementor-button-text,
#page body.theme-sixteen .elementor-button.elementor-size-md:not(.jet-slider__button) .elementor-button-text {
    color: #ffffff !important;
}

#page body.theme-sixteen .btn-more .elementor-button,
#page body.theme-sixteen .btn-more a.elementor-button,
#page body.theme-sixteen .btn-more a.elementor-button-link,
#page body.theme-sixteen .btn-more.more-news .elementor-button,
#page body.theme-sixteen .btn-more.more-news a.elementor-button-link {
    background-color: var(--color-primary) !important;
    background-image: none !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

#page body.theme-sixteen .btn-more .elementor-button-text,
#page body.theme-sixteen .btn-more.more-news .elementor-button-text {
    color: #ffffff !important;
}

.akp-ecl-card .akp-ecl-title a {
    color: #009780;
}

article.akp-ecl-card.akp-ecl-card-horizontal_card .akp-ecl-title a {
    color: #1a1a1a;
}

/* PDPA popup: button close controls (WCAG H91) */
button.dpdpa--popup-close,
button.dpdpa--popup-settings-close,
button.dpdpa--popup-cookie-back {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font: inherit;
    color: inherit;
    appearance: none;
}

/* iPad Pro 11 portrait (834) and other tablets using the hamburger header */
@media (max-width: 991.98px) {
    header.site-header .sub-bar {
        display: none !important;
    }

    .main-post_column,
    .column-post_grid.close .box-post_grid .main-post_column {
        grid-template-columns: repeat(2, 1fr);
    }

    #page .jet-slider__content-inner .video-slide {
        min-height: 380px;
    }
}

/* iPad Pro 12.9 portrait (1024) */
@media (min-width: 992px) and (max-width: 1024px) {
    header.site-header .v-container {
        grid-template-columns: auto 1fr auto;
        padding: 0 16px 0 12px !important;
        align-items: center;
    }

    header.site-header .v-container .left-box {
        padding-left: 12px;
        padding-right: 8px;
    }

    header.site-header .site-branding img,
    header.site-header .site-branding img.custom-logo {
        height: 52px !important;
    }

    header.site-header .site-branding .site-title a {
        font-size: 12px;
        line-height: 1.3;
        max-width: 140px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    header.site-header .v-container .right-box {
        padding-right: 12px !important;
        min-width: 0;
    }

    header.site-header .v-container .last-box {
        padding-left: 12px;
    }

    .site-header .h-socials .social-box_footer p.head-foot {
        display: none;
    }

    .site-header .h-socials .social-box_footer ul.list-social li a {
        width: 28px;
        height: 28px;
    }

    header.site-header .main-bar {
        gap: 8px;
        min-width: 0;
    }

    header.site-header .main-bar .desktop_menu {
        min-width: 0;
        flex: 1;
    }

    header.site-header .main-bar .desktop_menu ul.menu {
        height: auto;
        gap: 2px;
        margin: 0;
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    #page .desktop_menu li {
        padding: 4px 3px;
    }

    header.site-header .main-bar .desktop_menu ul.menu > li > a {
        font-size: 13px !important;
        line-height: 1.25;
        white-space: nowrap;
    }

    header.site-header .main-bar .desktop_menu ul.menu li svg {
        width: 20px;
        height: 20px;
        margin: 0 auto 2px !important;
    }

    header.site-header .main-bar .toggle-icon {
        width: 36px;
        height: 36px;
    }

    .footer-main .main-footer .object-1.object-grid .main-object {
        grid-template-columns: 1fr;
        grid-gap: 16px;
    }

    .footer-main .main-footer .object-1.object-grid .main-object .object-sub_3 {
        justify-content: flex-start;
    }

    #page .jet-slider__content-inner .video-slide {
        min-height: 420px;
    }

    .v-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* iPad Pro landscape: 11" (1194) and 12.9" (1366) */
@media (min-width: 1025px) and (max-width: 1366px) {
    header.site-header .v-container {
        grid-template-columns: auto 1fr auto;
        padding: 0 20px 0 16px !important;
        align-items: center;
    }

    header.site-header .v-container .left-box {
        padding-left: 20px;
        padding-right: 10px;
    }

    header.site-header .site-branding img,
    header.site-header .site-branding img.custom-logo {
        height: 56px !important;
    }

    header.site-header .site-branding .site-title a {
        font-size: 13px;
        line-height: 1.3;
        max-width: 180px;
    }

    header.site-header .v-container .right-box {
        padding-right: 16px !important;
        min-width: 0;
    }

    header.site-header .v-container .last-box {
        padding-left: 16px;
    }

    .site-header .h-socials .social-box_footer p.head-foot {
        font-size: 14px !important;
    }

    .site-header .h-socials .social-box_footer ul.list-social li a {
        width: 30px;
        height: 30px;
    }

    header.site-header .main-bar {
        gap: 10px;
        min-width: 0;
    }

    header.site-header .main-bar .desktop_menu ul.menu {
        height: auto;
        gap: 6px;
        margin: 0;
        flex-wrap: nowrap;
    }

    #page .desktop_menu li {
        padding: 6px 6px;
    }

    header.site-header .main-bar .desktop_menu ul.menu > li > a {
        font-size: 14px !important;
        line-height: 1.25;
        white-space: nowrap;
    }

    header.site-header .main-bar .desktop_menu ul.menu li svg {
        width: 22px;
        height: 22px;
        margin: 0 auto 4px !important;
    }

    .footer-main .main-footer .object-1.object-grid .main-object {
        grid-template-columns: 1fr 2fr 2fr;
        grid-gap: 12px;
    }

    .footer-main .main-footer .v-container {
        grid-template-columns: 1fr;
    }

    #page .jet-slider__content-inner .video-slide {
        min-height: 440px;
    }

    .v-container {
        padding-left: 28px;
        padding-right: 28px;
    }
}