/*
Theme Name: Spectrum Website 2025
Theme URI: https://spectrumth.com
Author: win
Description: A custom WordPress theme developed by win.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spectrum
Tags: custom, spectrum, minimal
*/


/* IBM Plex Sans Thai - Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* Apply font globally */
body {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: #111;
}

/* Links */
a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

/* Elementor override (optional but recommended) */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}

.elementor-widget-text-editor {
    font-family: 'IBM Plex Sans Thai', sans-serif !important;
}

/* Buttons */
button,
.button,
input[type="submit"] {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    background: #000;
}

/* Utility spacing */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

p {
    margin-bottom: 1em;
}

ul,
ol {
    margin: 0 0 1em 1.25em;
    padding: 0;
}


.spectrum-hili .elementor-heading-title {
    /* background: url(assets/images/gd-text.png) lightgray 50px -8.431px / 94.963% 95.699% no-repeat; */
    display: inline-block;
    background: url(assets/images/gd-text.png) repeat;
    background-size: 100% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* สำคัญ */
    color: transparent !important;
    /* fallback */
    padding: 30px 0;
    ;
}

.spectrum-tt .elementor-heading-title {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    padding-right: 30px;
    background: url(assets/images/tt-c.png) repeat;
    background-size: contain;
    height: 57px;
}

.spectrum-tt .elementor-heading-title:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: #fff url(assets/images/tt-l.png) no-repeat;
    background-size: auto 100%;
}

.spectrum-tt .elementor-heading-title::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: #fff url(assets/images/tt-r.png) no-repeat;
    background-size: auto 100%;
}


.play-list-thumb .elementor-widget-container {
    position: relative;
    display: inline-block;
}

.play-list-thumb .elementor-widget-container img {
    display: block;
    border-radius: 10px;
    /* ทำให้ภาพมน */
    z-index: 1;
    position: relative;
}

.play-list-thumb .elementor-widget-container::after,
.play-list-thumb .elementor-widget-container::before {
    content: "";
    position: absolute;
    bottom: 2px;
    /* ระยะห่างจากภาพ */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 15px;
    background: #999999;
    /* เงาชั้นแรก */
    border-radius: 10px;
}

.play-list-thumb .elementor-widget-container::before {
    bottom: -4px;
    /* ระยะห่างจากเงาชั้นแรก */
    width: 80%;
    height: 15px;
    background: rgba(0, 0, 0, 0.15);
    /* เงาชั้นที่สอง */
}


/*Hero Sldier*/
.sp-hero-slider .swiper-pagination .swiper-pagination-bullet {
    border: 1.5px solid #fff;
    opacity: 1 !important;
    background-color: transparent !important;
}

.sp-hero-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #fff !important;
}

.sp-hero-slide .htslider-single-post-slide .content .post-inner h1,
.sp-hero-slide .htslider-single-post-slide .content .post-inner h2,
.sp-hero-slide .htslider-single-post-slide .content .post-inner h3 {
    color: inherit;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.sp-hero-slide .htslider-single-post-slide .content .post-inner p {
    font-size: 16px;
    line-height: 1.8;
    color: inherit;
}

.sp-hero-slide .htslider-single-post-slide .content {
    align-items: end !important;
}

.sp-hero-slide .htslider-single-post-slide .content .htslider-desc {
    padding-bottom: 50px;
}

.sp-hero-slide .htslider-postslider-area button.slick-arrow {
    top: auto;
    bottom: 0;
}

.sp-hero-slide .htslider-desc {
    opacity: 0;
}

.sp-hero-slide .slick-active .htslider-desc {
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out forwards;
}


.sp-hero-slide.single-banner .htslider-item-img {
    position: relative;
    display: block;
}

.sp-hero-slide.single-banner .htslider-item-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.26);
    z-index: 10;
}

.sp-hero-slide.single-banner .htslider-item-img .htb-container {
    position: relative;
    z-index: 11;
}

.sp-hero-slide.single-banner .htslider-single-post-slide .content {
    align-items: center !important;
    /* padding: 35px; */
}

.sp-hero-slide.single-banner .htslider-single-post-slide .content .post-inner {
    height: 100%;
}

.sp-hero-slide.single-banner .htslider-single-post-slide .content .post-inner .htslider-desc {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.sp-hero-slide.single-banner .htslider-single-post-slide .content .post-inner h1,
.sp-hero-slide.single-banner .htslider-single-post-slide .content .post-inner h2,
.sp-hero-slide.single-banner .htslider-single-post-slide .content .post-inner h3 {
    font-size: 2.5rem;
    padding: 0;
    margin-bottom: 25px;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp-wrp-trending .small-item {
    overflow: hidden;
}

.sp-wrp-trending .small-item .scroll-img {
    transition: all 0.5s ease;
}

.sp-wrp-trending .small-item:hover .scroll-img {
    bottom: 40% !important;
}

.sp-wrp-trending .small-item .scroll-text {
    bottom: -100%;
    transition: all 0.5s ease;
}

.sp-wrp-trending .small-item:hover .scroll-text {
    bottom: 0%;
}

.sp-wrp-latest .ekit-wid-con .elementskit-post-image-card:hover .elementskit-entry-thumb>img {
    transform: scale(1) rotate(0);
    opacity: 1;
}

.sp-wrp-latest .post-items>div {
    margin-bottom: 5px;
}

.sp-wrp-latest .post-items .elementskit-post-image-card {
    position: relative;
    padding-bottom: 0 !important;
}

.sp-wrp-latest .post-items .elementskit-post-image-card .elementskit-post-body {
    padding-top: 60px !important;
    /* margin-top: 21px !important; */
}

.meta-date,
.post-cat {
    margin-top: 26px !important;
}

.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-body,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-post-body {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
}

.sp-wrp-latest .post-items>div .elementskit-entry-thumb {
    position: relative;
}

.blog-bohome .col-lg-4 {
    padding: 7px !important;

}

.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-entry-thumb:after,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-entry-thumb:after,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-entry-thumb:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.00) 75.76%);
    z-index: 10;
}

.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body .entry-title {
    margin-bottom: 10px !important;
}

.trending-4-carousel .e-loop-item .elementor-element .sp_trending_3 .elementor-heading-title {}

.trending-4-carousel .e-loop-item .elementor-element .sp_trending_3:hover .elementor-widget-tl-post-fatured-image::after {
    content: "";
    position: absolute;
    bottom: 9px;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 0;
}

.sp-wrp-latest .post-items>div .elementskit-post-body .meta-date,
.sp-wrp-latest .post-items>div .elementskit-post-body .post-cat {
    display: block;
    position: absolute;
    top: 0;
    left: 15px;
    display: none;
}

.sp-wrp-latest .post-items>div:nth-child(2) .elementskit-post-body .meta-date,
.sp-wrp-latest .post-items>div:nth-child(5) .elementskit-post-body .meta-date,
.sp-wrp-latest .post-items>div:nth-child(1) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(6) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(7) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(9) .elementskit-post-body .post-cat {
    display: block;
}

.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body .entry-title a,
.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body .author-name,
.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body .meta-date-text,
.sp-wrp-latest .post-items>div:nth-child(3) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-body .entry-title a,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-body .author-name,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-body .meta-date-text,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-body .post-cat,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-post-body .entry-title a,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-post-body .author-name,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-post-body .meta-date-text,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-post-body .post-cat {
    color: #fff;
}

.blog-bohome .post-items>div:nth-child(3) .elementskit-post-body .credit-name,
.blog-bohome .post-items>div:nth-child(4) .elementskit-post-body .credit-name,
.blog-bohome .post-items>div:nth-child(8) .elementskit-post-body .credit-name {
    color: #fff !important;
}


.sp-wrp-latest .post-items>.col-lg-4 {
    display: flex;
    flex-direction: column;
}

.sp-wrp-latest .post-items>div:nth-child(1) .elementskit-post-body {
    height: 100%;
}

.sp-wrp-colums .content .post-inner {
    height: 100%;
}

.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-entry-header,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-entry-header a,
.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-entry-header a img,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-entry-header,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-entry-header a,
.sp-wrp-latest .post-items>div:nth-child(8) .elementskit-entry-header a img,
.sp-wrp-latest .post-items>div:nth-child(9) .elementskit-post-body {
    height: 100%;
}

.sp-wrp-latest .post-items>div:nth-child(1) .elementskit-post-body,
.sp-wrp-latest .post-items>div:nth-child(9) .elementskit-post-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp-wrp-latest .post-items .elementskit-post-body .post-meta-list {
    margin-top: auto;
}

.sp-wrp-colums .content .post-inner .htslider-desc {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.sp-wrp-colums .content .post-inner .htslider-desc h2 {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: inherit;
    font-weight: 600;
    margin-top: 9%;
    /* font-size: 2.5rem; */
}

.sp-wrp-colums .content .post-inner .htslider-desc p,
.sp-wrp-colums .content .post-inner .htslider-desc span {
    color: inherit;
    font-size: 0.4em;
}

.sp-wrp-colums:not(.set2) .slick-dots {
    display: inline-block;
    border: 1px solid #999;
    position: relative !important;
    padding: 0px 10px !important;
    border-radius: 14px;
    margin-top: 58px !important;
}

.sp-wrp-colums .htslider-desc {
    opacity: 0;
}

.sp-wrp-colums .slick-arrow {
    margin-top: -32px;
}

.sp-wrp-colums .slick-active .htslider-desc {
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out forwards;
}

.sp-wrp-colums.set2 .content .post-inner .htslider-desc h2 {
    margin-top: 28%;
}

.sp-wrp-colums.set2 .slick-dots {
    bottom: 10px;
    top: auto;
}

@media only screen and (max-width: 600px) {

    .sp-wrp-colums .content .post-inner .htslider-desc p,
    .sp-wrp-colums .content .post-inner .htslider-desc span {
        color: inherit;
        font-size: .8em;
    }

    .slick-arrow {
        display: none !important;
    }
}

.sp-socials a i {
    color: #fff;
}

.sp-socials-2 a {
    background-color: transparent !important;
}

.sp-socials a {
    background-color: transparent !important;
}

.sp-socials a svg path {
    stroke: #fff !important;
    fill: #fff !important;
}

.sp-socials .f .e-fab-facebook-f {
    width: 10.25px;
    height: 15px;
    margin-left: 7px;
}

.sp-socials .instagram .e-fab-instagram {
    width: 17px;
    height: 17px;
}

.sp-socials .v i {
    width: 23px;
    height: 23px;
    font-size: 21px;
    padding-top: 1px;

}

.sp-socials .tiktok svg {
    width: 12.75px;
    height: 15px;
}

.sp-socials .twitter svg {
    width: 16.5px;
    height: 15px;
    margin-left: -10px;
}

.sp-socials-2 .facebook .icon-facebook {
    width: 10.25px;
    height: 15px;
    font-size: 15px;
    margin-left: 7px;
}

.sp-socials-2 .instagram .e-fab-instagram {
    width: 17px;
    height: 17px;
}

.sp-socials-2 .v i {
    width: 23px;
    height: 23px;
    font-size: 21px;
    padding-top: 1px;
}

.sp-socials-2 .tiktok svg {
    width: 12.75px;
    height: 15px;
}

.sp-socials-2 .twitter svg {
    width: 16.5px;
    height: 15px;
    margin-left: -10px;
}

.sp-general-list .post-items .elementskit-post-image-card .elementskit-post-body {
    padding-top: 40px !important;
    margin-top: 25px;
}

.sp-general-list .post-items>div .elementskit-post-body .post-cat {
    position: absolute;
    top: 0;
    left: 0px;
}


@media only screen and (max-width: 600px) {

    .sp-general-list .post-items>div .elementskit-post-body .post-cat {
        text-align: center;
        width: 100%;
        display: block;
    }

    .sp-main-menu {
        padding: 0;
    }

    .sp-main-menu .hfe-nav-menu__toggle {
        position: absolute;
        bottom: 5px;
        left: 10px;
    }

    .sp-serach-btn a.elementskit-btn {
        padding-right: 10px;
    }

    .sp-wrp-video .elementor-swiper-button {
        display: none !important;
    }

}


.sp-slide-bottom-blog .swiper-slide:after {
    content: "";
    height: 14px;
    width: auto;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: url('http://18.140.213.107/wp-content/uploads/2025/03/Column_Spectator-02.png') no-repeat center center;
    background-size: contain;
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: all 0.8s ease;
}

@media only screen and (min-width: 801px) {

    .sp-slide-bottom-blog .elementor-image-carousel {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .sp-slide-bottom-blog .swiper-slide {
        transition: all 0.5s ease;
    }

    .sp-slide-bottom-blog .swiper-slide .elementor-image-carousel-caption {
        opacity: 0;
        position: absolute;
        bottom: -30px;
        left: 0;
        width: 100%;
        padding: 20px;
        transition: all 0.8s ease;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-active+.swiper-slide+.swiper-slide {
        transform: scale(1.44);
        z-index: 30;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-active+.swiper-slide+.swiper-slide .elementor-image-carousel-caption {
        opacity: 1;
        bottom: 0;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-active+.swiper-slide+.swiper-slide:after {
        opacity: 1;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-next {
        transform: translateX(-19%);
        z-index: 20;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-active+.swiper-slide+.swiper-slide+.swiper-slide {
        transform: translateX(19%);
        z-index: 20;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-duplicate-prev,
    .sp-slide-bottom-blog .swiper-slide.swiper-slide-active {
        transform: scale(0.66);
    }

    .sp-slide-bottom-blog .elementor-swiper-button {
        border: 2px solid #000;
        padding: 5px;
        border-radius: 50%;
    }

    .sp-slide-bottom-blog .elementor-swiper-button.elementor-swiper-button-prev {
        left: 30%;
    }

    .sp-slide-bottom-blog .elementor-swiper-button.elementor-swiper-button-next {
        right: 30%;
    }
}

@media only screen and (max-width: 800px) {

    .sp-slide-bottom-blog .elementor-image-carousel {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .sp-slide-bottom-blog .swiper-slide {
        transition: all 0.5s ease;
    }

    .sp-slide-bottom-blog .swiper-slide .elementor-image-carousel-caption {
        opacity: 0;
        position: absolute;
        bottom: -30px;
        left: 0;
        width: 100%;
        padding: 20px;
        transition: all 0.8s ease;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-next {
        z-index: 30;
        transform: scale(1.6);
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-next {
        opacity: 1;
        bottom: 0;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-next:after {
        opacity: 1;
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-active {
        transform: translateX(-20%) !important;
        z-index: 20;
        transform: scale(1.20);
    }

    .sp-slide-bottom-blog .swiper-slide.swiper-slide-next+.swiper-slide {
        transform: translateX(20%) !important;
        z-index: 20;
        transform: scale(1.20);
    }

    .sp-slide-bottom-blog .elementor-swiper-button {
        border: 1.5px solid #000;
        padding: 2px;
        border-radius: 50%;
    }

    .sp-slide-bottom-blog .elementor-swiper-button.elementor-swiper-button-prev {
        left: 15% !important;
    }

    .sp-slide-bottom-blog .elementor-swiper-button.elementor-swiper-button-next {
        right: 15% !important;
    }
}

@media only screen and (min-width: 801px) {
    .sp-table table {
        border-spacing: 0;
    }

    .sp-table table thead tr th {
        border-bottom: 0 !important;
    }

    .sp-table table thead tr th:not(:first-child) {
        border-left: 0 !important;
    }

    .sp-table table tbody tr:not(:last-child) td {
        border-bottom: 0 !important;
    }

    .sp-table table tbody tr td:not(:first-child) {
        border-left: 0 !important;
    }

    .sp-table table tbody tr td[colspan="3"] {
        padding: 5px 0;
    }

    .sp-table table tbody tr td[colspan="3"] .td-content p {
        text-align: center;
        margin: 0;
    }

    .sp-table.set1 thead tr th:first-child {
        min-width: 280px;
    }

    .sp-table.set1 table tbody tr td:first-child .td-content {
        text-align: center;
    }
}

@media only screen and (max-width: 800px) {
    .sp-table table {
        border-spacing: 0;
    }

    .sp-table table thead {
        display: none;
    }

    .sp-table table tbody tr {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sp-table table tbody tr td {
        border: 0 !important;
        display: block;
        padding: 0;
        ;
    }

    .sp-table table tbody tr td .td-content {
        text-align: left !important;
        margin: 0;
        justify-content: left;
        flex-direction: column;
        align-items: start;
    }

}

.sp-video-list .elementskit-entry-thumb::after {
    content: "";
    bottom: 29px;
    left: 25px;
    position: absolute;
    width: 60px;
    height: 60px;
    background: url(assets/images/icon-play.svg) no-repeat;
    background-size: 100% auto;
}


.sp-search-form {
    text-align: center;
}

.sp-search-form form input[type="text"] {
    border: 1px solid #000;
    border-radius: 35px;
    padding: 13px;
    font-size: 1rem;
    width: 100%;
    max-width: 380px;
}

.sp-search-form form button {
    border-radius: 35px;
    background: transparent;
    border: 1px solid #000;
    margin-left: 22px;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 2px 10px;
}

@media only screen and (max-width: 800px) {

    .sp-search-form form input[type="text"] {

        padding: 8px;
        max-width: 220px;
    }

    .sp-search-form form button {

        margin-left: 12px;
        font-size: 1.2rem;
    }
}

.sp-wrp-policy-btn .elementor-widget-container:hover {
    background-color: #000;
    transition: all 0.5s ease;
}

.sp-wrp-policy-btn .elementor-widget-container:hover .elementor-heading-title {
    color: #fff;
}

.sp-wrp-policy-btn .elementor-widget-container:hover .elementor-heading-title a {
    text-decoration: none;
}


.footer-socials a {
    background-color: transparent !important;
}

.footer-socials a {
    /* transform: scale(1.4);
    margin: auto 5px; */
}

.footer-columns .column-item-bg {
    transition: background-size 0.8s ease !important;
}

.footer-columns .column-item-bg:hover {
    background-size: 120% auto !important;
}

.footer-columns .e-con::before {
    background: rgba(0, 0, 0, 0.5);
}

.ekit-wid-con .elementskit-post-image-card:hover .elementskit-entry-thumb>img {
    transform: scale(1.05) rotate(0) !important;
}

/* People  */
.tag-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-heading-tag {
    gap: 4px;
    text-decoration: none;
    color: #333;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.filter-heading-tag.active .elementor-widget-container {
    background-color: #000000;
    color: #fff;
    border: 2px solid #000000;
}

.filter-heading-tag.active a {

    color: #fff !important;
}

.filter-heading-tag .clear-tag-btn {
    display: none;
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-heading-tag.active .clear-tag-btn {
    display: flex;
    /* background-color: #000000; */
    color: #ffffff;
}

.filter-heading-tag .clear-tag-btn:hover {
    opacity: 0.8;
    background-color: #e0e0e0;
}

#my-loop-grid .elementor-loop-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* End People */

/*  Latest */
/* ปรับปุ่มให้เป็นวงกลม */
.elementor-pagination .page-numbers {
    display: inline;
    font-weight: 700 !important;
    padding: 0px 9px;
    margin: 0 0px !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: #999999 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ปุ่มปัจจุบัน (active page) */
.elementor-pagination .page-numbers.current {
    color: #999999 !important;
    font-weight: bold;
    border: 1.5px solid #999999 !important;
    border-radius: 999px;
    padding: 1px 9px;
    height: 19px !important;
    width: 29px !important;
    display: inline-block;
}

/* ลูกศรขวา */
.elementor-pagination .page-numbers.next {
    font-size: 18px;
    padding: 6px 12px;
}

/* จัดการปุ่ม Previous/Next */
.elementor-pagination .page-numbers.next,
.elementor-pagination .page-numbers.prev {
    /* ซ่อนข้อความเดิม เช่น "Next" หรือ "Previous" */
    font-size: 0;
    color: transparent;
    /* ทำให้ข้อความใสไปเลย */
    text-indent: -9999px;
    /* ซ่อนข้อความไปไกลๆ */

    width: 60px;
    /* กำหนดความกว้างของปุ่มให้พอดีกับลูกศร */
    height: 30px;
    /* กำหนดความสูงของปุ่มให้พอดีกับลูกศร */
    padding: 0;
    /* ไม่ต้องมี padding แล้ว เพราะจะใช้ SVG แทน */
    display: inline-flex;
    /* ใช้ flexbox เพื่อจัดลูกศรตรงกลาง */
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    /* ช่วยจัดแนวกับเลขหน้า */

    /* เพิ่ม SVG เป็น background-image ด้วย Base64 */
    background-image: url('http://18.140.213.107/wp-content/uploads/2025/07/download.png');
    /* background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLW1vdmUtcmlnaHQtaWNvbiBsdWNpZGUtbW92ZS1yaWdodCI+PHBhdGggZD0iTTE4IDhMMjIgMTJMMTggMTYiLz48cGF0aCBkPSJNMiAxMkgyMiIvPjwvc3ZnPg=='); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    /* ขนาดของ SVG ในปุ่ม (ปรับได้ตามต้องการ) */
    background-color: transparent;
    /* ไม่มีพื้นหลัง */
}

/* ซ่อนไปหน้าแรก (←) ถ้าไม่ต้องการ */
.elementor-pagination .page-numbers.prev {
    display: none;
}

/* End Latest */
/* ปรับขนาดและระยะจุด pagination */
.swiper-pagination-bullet {
    opacity: 1 !important;
    border: 1px solid #fff;
    background: #fff;
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
    /* จุดที่เลือก */
}

.elementor-swiper-button i {
    font-size: 43px;
    width: 50px;
    height: 50px;
}

.elementor-loop-item {
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-420 .elementor-element {
    padding: 0px !important;
}


/* ตัวเลขกลางภาพ */
.loop-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 23px;
    font-weight: 700;
    color: white;
    border: 2px solid white;
    border-radius: 999px;
    width: 33px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* กล่องข้อความสไลด์ล่าง */
.loop-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background: rgba(0,0,0,0.7); */
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Hover Effect */
.e-loop-item:hover .loop-caption {
    transform: translateY(0%);
}

.e-loop-item:hover .loop-number {
    transform: translate(-50%, -140%);
}

.video-box {
    position: relative;
    display: inline-block;
    width: 100%;
}

.video-box .elementor-widget-container,
.video-box .elementor-widget-container a {
    width: 100%;
}

.video-box img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7);
    /* ลดความสว่างให้รูปดูมืดลง */
}

.video-duration {
    position: absolute;
    top: 70%;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 900;
    font-size: 10px;
    padding: 6px 4px;
    border-radius: 9px;
    z-index: 5;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-wrapper .pagination-container a.pagination-link {

    display: inline-block;
    font-weight: 700;
    padding: 0px 9px !important;
    margin: 0px !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: #999999 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-wrapper .pagination-link.active {
    width: 29px;
    height: 19px;
    color: #999999 !important;
    font-weight: bold;
    border: 1px solid #999999 !important;
    border-radius: 72px;
}

.pagination-wrapper .pagination-link.next {
    /* ซ่อนข้อความเดิม เช่น "Next" หรือ "Previous" */
    font-size: 0;
    color: transparent;
    /* ทำให้ข้อความใสไปเลย */
    text-indent: -9999px;
    /* ซ่อนข้อความไปไกลๆ */

    width: 60px;
    /* กำหนดความกว้างของปุ่มให้พอดีกับลูกศร */
    height: 30px;
    /* กำหนดความสูงของปุ่มให้พอดีกับลูกศร */
    padding: 0;
    /* ไม่ต้องมี padding แล้ว เพราะจะใช้ SVG แทน */
    display: inline-flex;
    /* ใช้ flexbox เพื่อจัดลูกศรตรงกลาง */
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    /* ช่วยจัดแนวกับเลขหน้า */

    /* เพิ่ม SVG เป็น background-image ด้วย Base64 */
    background-image: url('http://18.140.213.107/wp-content/uploads/2025/07/download.png');
    /* background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLW1vdmUtcmlnaHQtaWNvbiBsdWNpZGUtbW92ZS1yaWdodCI+PHBhdGggZD0iTTE4IDhMMjIgMTJMMTggMTYiLz48cGF0aCBkPSJNMiAxMkgyMiIvPjwvc3ZnPg=='); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    /* ขนาดของ SVG ในปุ่ม (ปรับได้ตามต้องการ) */
    background-color: transparent;
    /* ไม่มีพื้นหลัง */
}

.pagination-wrapper .pagination-link.prev {
    font-size: 0;
    color: transparent;
    text-indent: -9999px;
    width: 60px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;

    background-image: url('http://18.140.213.107/wp-content/uploads/2025/07/download.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    background-color: transparent;

    transform: rotate(180deg);
}

.hfe-nav-menu a.hfe-menu-item,
.elementor-25 .elementor-element.elementor-element-4af3f19 nav.hfe-dropdown .menu-item a.hfe-sub-menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hfe-has-submenu .hfe-has-submenu-container a span {
    position: absolute;
    right: 5%;

}

/*  
.sub-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: #000;
    color: white;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 9999;
}

 
.sub-menu.active {
    display: block !important;
    left: 0;
}

 
.menu-back-hfe {
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    cursor: pointer;
} */

/* Base Styles */
#my-team-grid .elementor-loop-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

#my-team-grid .e-loop-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

/* 1 Item - Center */
#my-team-grid[data-items="1"] .elementor-loop-container {
    justify-content: center;
}

#my-team-grid[data-items="1"] .e-loop-item {
    flex: 0 0 100%;
    max-width: 300px;
}

/* 2 Items - Center */
#my-team-grid[data-items="2"] .elementor-loop-container {
    justify-content: center;
}

#my-team-grid[data-items="2"] .e-loop-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

/* 4 Items - First row 3, second row 1 (centered) */
#my-team-grid[data-items="4"] .e-loop-item:nth-child(n+4) {
    flex: 0 0 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* 5 Items - First row 3, second row 2 (centered) */
#my-team-grid[data-items="5"] .e-loop-item:nth-child(n+4) {
    /* flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px); */
}

/* Center the last row for 4 and 5 items */
#my-team-grid[data-items="4"] .elementor-loop-container,
#my-team-grid[data-items="5"] .elementor-loop-container {
    justify-content: center;
}

/* 6 Items - Normal 3 columns */
#my-team-grid[data-items="6"] .e-loop-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    #my-team-grid .e-loop-item {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }

    /* Center single item on tablet */
    #my-team-grid[data-items="1"] .e-loop-item {
        max-width: 100% !important;
    }

    .site-main,
    .hfeed.site {
        margin-top: 120px !important;
    }
}

@media (max-width: 767px) {
    #my-team-grid .e-loop-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .site-main,
    .hfeed.site {
        margin-top: 25px !important;
    }
}

.sp-video-list .elementor-widget-container:hover img {
    transform: scale(1.05);
    /*opacity: 0.7 !important;*/
}

.sp-video-list .elementor-widget-image .elementor-widget-container img {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.sp-video-list .elementor-widget-container {
    overflow: hidden;
}

/* Dark mode */
.theme-switch {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 40px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ffffff;
    border: 2px solid #000;
    border-radius: 30px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: background-color 0.5s ease;
    display: flex;
    align-items: center;
    padding: 0 3px;
    height: 31px;
    overflow: hidden;
}

.slider .icon {
    pointer-events: none;
    border-radius: 50%;
    border: 2px solid #000;
    display: flex;
    padding: 1px 2px;
    position: absolute;
    width: 25px;
    height: 25px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider .icon img {
    width: 15px;
    height: 15px;
    transition: opacity 0.25s ease;
}

.slider .icon.sun {
    left: 3px;
    transform: translateX(0);
    z-index: 2;
}

.slider .icon.moon {
    left: 3px;
    transform: translateX(0);
    z-index: 1;
}

.slider .icon.sun img {
    opacity: 1;
}

.slider .icon.moon img {
    opacity: 0;
}

/* เมื่อเปิด dark mode */
input:checked+.slider {
    background-color: #000000;
}

input:checked+.slider .icon.sun {
    transform: translateX(45px);
    z-index: 1;
}

input:checked+.slider .icon.moon {
    transform: translateX(45px);
    background-color: #000;
    border-color: #fff;
    z-index: 2;
}

input:checked+.slider .icon.sun img {
    opacity: 0;
}

input:checked+.slider .icon.moon img {
    opacity: 1;
}

/* ...existing code... */

body.dark-mode,
body.dark-mode .elementor-widget-heading .elementor-heading-title,
body.dark-mode .elementor-widget-tl-post-content p,
body.dark-mode .templately-heading-title,
body.dark-mode .sub-menu a.hfe-sub-menu-item {
    background: #121212;
    color: #ffffff !important;
}

body.dark-mode .menu-item a.hfe-menu-item {
    color: #ffffff !important;
}


body.dark-mode a {
    /* color: #ffcc00; */
}

body.dark-mode .elementor-widget-theme-post-content .elementor-widget-container,
body.dark-mode .elementor-widget-theme-post-content .elementor-widget-container>* {
    color: #fff !important;
}

body.dark-mode .icon,
body.dark-mode .slider {
    border: 2px solid #fff;
}

body.dark-mode .icon img,
body.dark-mode .elementor-element-4ef2a5d4 img,
body.dark-mode .elementor-element-1b5b952 img,
body.dark-mode .elementor-element-8de28ac img {
    filter: brightness(0) invert(1);
}

body.dark-mode .facebook,
body.dark-mode .wordpress,
body.dark-mode .twitter svg path,
body.dark-mode .elementor-305 .ekit_social_media svg,
body.dark-mode .elementor-305 .ekit_social_media svg path,
body.dark-mode .elementor-305 .ekit_social_media i {
    color: #fff !important;
    fill: #fff !important;
}

body.dark-mode .elementor-305 .elementor-search-form__submit svg circle,
body.dark-mode .elementor-305 .elementor-search-form__submit svg path {
    stroke: #fff !important;
}

body.dark-mode .elementor-heading-title {
    color: #fff !important;
    background-color: transparent !important;
}

body.dark-mode .hamburger-menu span {
    background-color: white !important;
    background: white !important;
}

body.dark-mode .facebook .icon,
body.dark-mode .wordpress .icon,
body.dark-mode .swiper-button-prev .icon,
body.dark-mode .swiper-button-next .icon,
body.dark-mode .icon-youtube-v {
    border: none !important;
}

body.dark-mode .elementor-3113 .elementor-element.elementor-element-8de28ac button {
    background-color: #121212 !important;
    border: 2px solid #ffffff !important;
    border-radius: 30px;
    height: 30px;
    display: flex;
    color: #ffffff !important;
    font-weight: 900;
    align-items: center;
    padding: 0px 10px;
}

body.dark-mode .elementor-3113 .elementor-element.elementor-element-dce116b button {
    background-color: #121212 !important;
    border: 2px solid #ffffff !important;
    border-radius: 30px;
    height: 30px;
    display: flex;
    color: #ffffff !important;
    font-weight: 900;
    align-items: center;
    padding: 0px 10px;
}

body.dark-mode .elementor-3113 .elementor-element.elementor-element-68fb92d .font-dropdown,
body.dark-mode .elementor-3113 .elementor-element.elementor-element-85b568f .font-dropdown {
    border: 2px solid #ffffff !important;
    border-radius: 30px;
    padding: 3px 0px 3px 10px;
    font-weight: 700;
    color: #fff !important;
    font-size: 18px;
    background: #121212 !important;
    align-items: center;
    display: flex;
}

.elementor-3113 .elementor-element.elementor-element-85b568f .font-dropdown
/* Dark mode */

.elementor-3113 .elementor-element.elementor-element-68fb92d .font-dropdown {
    width: 95px;
    padding: 1px 0px 0px 10px;
}

.e-loop__load-more .elementor-button-link {
    background-color: white !important;
    color: #999999;
    border: 1px solid #999;
    padding: 5px 10px;
    font-weight: 700;
    border-radius: 72px;

}

.post-references-inline {
    font-size: 0.85em;
    /* ตัวเล็กลง */
    color: #555;
}

.post-references-inline a {
    color: #000000;
    text-decoration: underline;
    margin-right: 0.5em;
    white-space: nowrap;
}

.post-references-inline a:hover {
    color: #005177;
}

.ref-label {
    font-weight: bold;
    margin-right: 0.5em;
}

.video-gome-main-carousel .e-loop-item:hover,
.video-gome-main-carousel .active-video-main {
    /* width: 300px !important;
    height: 178px !important; */
    border: #000 solid 1.5px;
    padding: 6px 5px;
    border-radius: 10px;
}

.video-gome-main-carousel .e-loop-item {
    padding: 6px 5px;
    border: #ffffff solid 1.5px;
}

.production-credits-inline {
    display: inline-block;
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-weight: 700;
    font-style: bold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #999999;
}

.production-credits-inline .credit-name {
    color: #999999;
}

.spectrum-hili-fa .elementor-heading-title {
    display: inline-block;
    background: url(assets/images/gd-text.png) repeat;
    background-size: auto 60% !important;
    background-position: right center !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    padding: 30px 0;
}

.site-main,
.hfeed.site {
    margin-top: 120px;
}

.footer-socials .icon-facebook {
    /* width: 12px;
    height: 22px; */
    font-size: 20px;
    margin-bottom: 2px;
}

.footer-socials a.tiktok,
.footer-socials a.instagram,
.footer-socials a.v,
.footer-socials a.twitter {
    padding-left: 5px;
    padding-right: 5px;
    width: auto !important;
    height: auto !important;
}

.footer-socials .e-fab-instagram {
    max-width: 24px !important;
    width: 24px !important;
    height: 26px !important;
    margin-right: 2px;
    margin-left: -2px;
}

.footer-socials .icon-youtube-v {
    width: 31px !important;
    height: auto !important;
    font-size: 31px;
}

.footer-socials .e-fab-tiktok {
    max-width: 20px !important;
    width: 20px;
    height: 21px !important;
}

.footer-socials .e-fab-x-twitter {
    max-width: 25px !important;
    width: 25px;
    height: 24px !important;
}

.essensials-credit .credit-name,
.latest-mobile .credit-name {
    color: #fff !important;
}

.essensials-credit .production-credits-inline {
    width: 100%;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.share-social .icon-facebook {
    width: 11px;
    height: 19px;
    font-size: 18px;
}

.share-social .e-fab-x-twitter {
    max-width: none !important;
    width: 21px;
    height: 19px;
}

.share-social .wordpress svg {
    max-width: none !important;
    width: 21px;
    height: 21px !important;
}

.share-social .elementor-repeater-item-6c34887 {
    margin: 0px !important;
}

body.dark-mode .share-social .wordpress svg,
body.dark-mode .share-social .wordpress svg path {
    stroke: #fff !important;
    fill: #fff !important;
}

body.dark-mode .elementor-305 .elementor-element.elementor-element-001ad14 {
    background-color: #121212 !important;
}

.footer-carousel .swiper-pagination {
    display: inline-block;
    border: 1px solid #999;
    position: relative !important;
    padding: 0px 1px !important;
    border-radius: 14px;
    margin-top: 58px !important;
}


.footer-carousel .swiper-pagination-bullet:hover,
.footer-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #999999 !important;
    border: 1.5px solid #999999 !important;
}

.footer-carousel .swiper-pagination-bullet {
    opacity: 1 !important;
    background-color: #02010100;
    border: 1.5px solid #999999 !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.home-essenials .elementor-swiper-button.elementor-swiper-button-next svg,
.home-essenials .elementor-swiper-button.elementor-swiper-button-prev svg {
    fill: none !important;
    font-size: 43px;
}

.home-essenials .elementor-widget-container a {
    height: 100% !important;
}

.footer-carousel .elementor-swiper-button.elementor-swiper-button-next svg,
.footer-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
    fill: none !important;
    font-size: 60px;
}

.ekit-wid-con .col-lg-4:first-child>.elementskit-post-image-card>.elementskit-entry-header>a {
    height: 286px;
    overflow: hidden;
}

.ekit-wid-con .col-lg-4:nth-child(2)>.elementskit-post-image-card>.elementskit-entry-header>a,
.ekit-wid-con .col-lg-4:nth-child(5)>.elementskit-post-image-card>.elementskit-entry-header>a {
    height: 199px;
    overflow: hidden;
}


.sp-wrp-latest .post-items>div:nth-child(7) .elementskit-post-image-card>.elementskit-entry-header>a,
.sp-wrp-latest .post-items>div:nth-child(6) .elementskit-post-image-card>.elementskit-entry-header>a,
.sp-wrp-latest .post-items>div:nth-child(6) .elementskit-post-image-card>.elementskit-entry-header>a img {
    height: 286px;
}


.sp-wrp-latest .post-items>div:nth-child(4) .elementskit-post-image-card {
    height: 475px;
}

.sp-wrp-latest .post-items>div:nth-child(9) .elementskit-post-image-card>.elementskit-entry-header>a img {
    transform: scale(1.5);
    padding-top: 10px;
}

.sp-wrp-latest .post-items>div:nth-child(9) .elementskit-post-image-card:hover>.elementskit-entry-header>a img {
    transform: scale(1.7) !important;
    padding-top: 10px;
}

.sp-wrp-latest .post-items>div:nth-child(6) .elementskit-post-body {
    display: flex;
    flex-direction: column;
}

.sp-wrp-latest .post-items>div:nth-child(6) .elementskit-post-body,
.sp-wrp-latest .post-items>div:nth-child(7) .elementskit-post-body {
    height: 100%;
}

.sp-wrp-latest .post-items>div:nth-child(9) .elementskit-post-image-card>.elementskit-entry-header>a {
    height: 286px;
}

/* .ekit-wid-con .col-lg-4:nth-child(3)>.elementskit-post-image-card>.elementskit-entry-header>a {
    height: 199px;
    overflow: hidden;
} */

.elementor-2 .elementor-element.elementor-element-b5ee68e .elementskit-post-image-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.elementor-post-info__terms-list .elementor-post-info__terms-list-item+.elementor-post-info__terms-list-item::before {
    content: "";
    /* ลบ , ออก */
}

.hfe-menu-toggle.sub-arrow.hfe-menu-child-0 {
    display: none !important;
}