/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Add your custom styles here */
.sl-popup-link {
    text-align: center;
    margin: 30px auto 0;
}

.sl-popup-btn,
.sl-popup-btn:hover {
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg,
            #d5a84b 0%,
            #b88425 50%,
            #9d6c16 100%);
    color: #ffffff;
    font-size: 20px;
    padding: 6px 20px;
    font-family: "Noto Sans Thai", Sans-serif;
}
.online-btn {margin-bottom: 0 !important;}
.online-btn a {
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg,
            #d5a84b 0%,
            #b88425 50%,
            #9d6c16 100%);
}

/* ================================
   SERVICES TAB
================================ */
.services-tab-nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
}

.why-box {
    margin-bottom: 10px !important;
}

.why-box .num {
    display: block;
    color: #B88A3F;
    font-size: 30px;
    margin-bottom: 5px;
}

.blog-link .elementor-post__read-more,
.form-contact button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg, #d5a84b 0%, #b88425 50%, #9d6c16 100%);
    padding: 6px 20px;
    text-align: center;
    border-radius: 50px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.form-contact button {
    border-radius: 50px !important;
}

.services-tab-btn {
    width: calc(100% / 7);
    min-width: 0;
    box-sizing: border-box;
    text-wrap: revert;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 15px 10px 25px 10px;
    box-shadow: 0 0 6px rgb(0 0 0 / 10%);
    border: 0;
    background: #fff;
    color: #335033;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    cursor: pointer;
    transition: all .3s ease;
    font-family: "Prompt", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

/* ================================
   ICON
================================ */
.services-tab-btn .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    text-align: center;
}

.services-tab-btn .tab-icon img {
    display: block;
    width: 80px;
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}

/* ================================
   TAB TEXT
================================ */
.services-tab-btn>span:not(.tab-icon),
.services-tab-btn .tab-title {
    display: block;
    width: 100%;
    max-width: 180px;
    min-height: 42px;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
}

/* ================================
   HOVER / ACTIVE
================================ */
.services-tab-btn:hover,
.services-tab-btn.active {
    background: #335033;
    color: #ffffff;
    box-shadow:
        0 8px 20px rgba(51, 80, 51, .18);
    position: relative;
    z-index: 2;
}

/* ลูกศรด้านล่าง Active */
.services-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #335033;
}

/* ================================
   CONTENT
================================ */
.services-tab-panel {
    display: none;
}

.services-tab-panel.active {
    display: block;
    animation: servicesFadeIn .35s ease;
}

.services-tab-content {
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    border-radius: 15px;
    padding: 30px;
    z-index: 99;
    position: relative;
    background: #FBF7F3;
    margin-top: -10px;
    border: 6px solid #ffffff
}

/* ================================
   ANIMATION
================================ */
@keyframes servicesFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   SERVICE GRID
================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.service-image {
    display: block;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.04);
}

.service-info {
    padding: 15px 25px;
    text-align: center;
}

.service-title {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.4;
    font-family: "Prompt", Sans-serif;
    color: #335033;
    min-height: 55px;
}

.service-excerpt p {
    color: #444444;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg, #d5a84b 0%, #b88425 50%, #9d6c16 100%);
    padding: 6px 20px;
    text-align: center;
    border-radius: 50px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.service-link span {
    transition: transform .3s ease;
}

.service-link:hover {
    color: #ffffff;
}

.service-link:hover span {
    transform: translateX(5px);
    color: #ffffff;
}

.no-services {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

/* =========================================
   STRONGLIFE - Latest Featured Post
========================================= */
.sl-latest-post {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* IMAGE
========================================= */
.sl-latest-post-image {
    position: relative;
    min-height: auto;
    overflow: hidden;
}

.sl-latest-post-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.sl-no-image {
    width: 100%;
    height: 100%;
    min-height: 580px;
    background: #e9eee8;
}

/* CONTENT
========================================= */
.sl-latest-post-content {
    padding: 20px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* CATEGORY
========================================= */
.sl-post-category {
    font-size: 20px;
    line-height: 42px;
    font-weight: 400;
    margin: 0 0 0px;
    color: #5D432F;
    font-family: "Noto Sans Thai", Sans-serif;
}

/* EXCERPT
========================================= */
.sl-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* META
========================================= */
.sl-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #5D432F;
    font-size: 15px;
    margin-bottom: 28px;
    font-weight: 500;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-post-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sl-post-author {
    display: inline-flex;
    align-items: center;
}

.sl-meta-divider {
    width: 1px;
    height: 20px;
    background: #cfd4cf;
}

/* BUTTON
========================================= */
.sl-read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    padding: 12px 35px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg, #d5a84b 0%, #b88425 50%, #9d6c16 100%);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-family: "Prompt", Sans-serif;
}

.sl-read-more span {
    font-size: 22px;
    line-height: 0;
    transition: transform 0.3s ease;
}

.sl-read-more:hover span {
    transform: translateX(4px);
}

/* =====================================================
   STRONGLIFE BLOG
===================================================== */
.sl-blog-section {
    width: 100%;
}

/* =====================================================
   CATEGORY TABS
===================================================== */
.sl-blog-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.sl-blog-tab {
    min-width: 170px;
    height: auto;
    padding: 12px 28px;
    color: #A47C33;
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg,
            #d5a84b 0%,
            #b88425 50%,
            #9d6c16 100%) border-box;
    border-radius: 50px;
    font-family: "Prompt", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sl-blog-tab.active,
.sl-blog-tab:hover {
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg, #d5a84b 0%, #b88425 50%, #9d6c16 100%);
    color: #ffffff;
}

.sl-blog-tab:focus {
    outline: none;
}

/* =====================================================
   HEADER
===================================================== */
.sl-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sl-blog-heading {
    margin: 0;
    color: #335033;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
    font-family: "Prompt", Sans-serif
}

.sl-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #293329 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.sl-view-all span {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.sl-view-all:hover {
    color: #335033 !important;
}

.sl-view-all:hover span {
    transform: translateX(5px);
}

/* =====================================================
   GRID
===================================================== */
.sl-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 32px;
}

/* =====================================================
   CARD
===================================================== */
.sl-blog-card {
    background: #FBF7F3;
    border-radius: 13px;
    overflow: hidden;
    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.sl-blog-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.11);
}

/* =====================================================
   IMAGE
===================================================== */
.sl-blog-image {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #edf1ed;
}

.sl-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sl-blog-card:hover .sl-blog-image img {
    transform: scale(1.04);
}

.sl-blog-no-image {
    width: 100%;
    height: 100%;
    background: #edf1ed;
}

/* =====================================================
   CARD CONTENT
===================================================== */
.sl-blog-card-content {
    padding: 19px 24px 22px;
}

/* =====================================================
   CATEGORY
===================================================== */
.sl-blog-category {
    margin-bottom: 5px;
    color: #858585;
    font-family: "Prompt", Sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-transform: uppercase;
}

/* =====================================================
   TITLE
===================================================== */
.sl-blog-title {
    margin: 0 0 23px;
    min-height: 58px;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.sl-blog-title a {
    color: #5D432F;
    font-family: "Prompt", Sans-serif;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.sl-blog-title a:hover {
    color: #335033 !important;
}

/* =====================================================
   META
===================================================== */
.sl-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-blog-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #555b55;
    font-size: 14px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-blog-date svg {
    flex-shrink: 0;
}

/* =====================================================
   READ MORE
===================================================== */
.sl-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #293329 !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
}

.sl-blog-read-more span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.sl-blog-read-more:hover {
    color: #335033 !important;
}

.sl-blog-read-more:hover span {
    transform: translateX(4px);
}

/* =====================================================
   EMPTY
===================================================== */
.sl-blog-empty {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: #777;
    font-size: 16px;
}

/* =====================================================
   HIDDEN CARD
===================================================== */
.sl-blog-card.sl-hidden {
    display: none;
}

/* =========================================================
   STRONGLIFE SINGLE POST
========================================================= */
:root {
    --sl-green: #173b28;
    --sl-green-dark: #173b28;
    --sl-green-light: #eaf1eb;
    --sl-gold: #b88a3f;
    --sl-text: #A47C33;
    --sl-muted: #777f79;
    --sl-border: #e6ebe7;
    --sl-bg: #f8faf8;
    --sl-white: #ffffff;
}

.sl-single-post {
    background: #fff;
    color: var(--sl-text);
}

.sl-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

/* =========================================================
   BREADCRUMB
========================================================= */
.sl-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 0;
    font-size: 15px;
    color: #A47C33;
    font-family: "Prompt", Sans-serif;
    font-weight: 400;
}

.sl-breadcrumb a {
    color: #1d3026;
    text-decoration: none;
}

.sl-breadcrumb .current {
    color: var(--sl-text);
}

/* =========================================================
   HERO
========================================================= */
.sl-article-hero {
    padding: 25px 0 60px;
}

.sl-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 60px;
    background: #FBF7F3;
    border: 1px solid #B88A3F;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 10px 35px rgba(26, 55, 39, .04);
}

.sl-hero-content {
    padding: 30px 20px 30px 20px;
}

.sl-back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: #6d756f;
    font-size: 14px;
    text-decoration: none;
}

.sl-category-label {
    display: inline-flex;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg, #d5a84b 0%, #b88425 50%, #9d6c16 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px 0px rgba(163.99999999999997, 123.99999999999991, 50.999999999999986, 0.2);
    transition-duration: 2s;
    font-family: "Prompt", Sans-serif;
    font-weight: 600;
}

.sl-post-title {
    font-size: 34px;
    line-height: 52px;
    font-weight: 600;
    margin: 0 0 25px;
    color: #335033;
    font-family: "Prompt", Sans-serif
}

.sl-post-excerpt {
    max-width: 620px;
    color: #69736c;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #69736c;
    font-size: 13px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-meta-icon {
    color: var(--sl-green);
    font-size: 17px;
}

.sl-hero-image {
    height: auto;
    overflow: hidden;
    border-radius: 18px;
}

.sl-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sl-green-light);
    color: var(--sl-green);
    font-size: 30px;
}

/* =========================================================
   ARTICLE LAYOUT
========================================================= */
.sl-article-section {
    padding: 10px 0 90px;
}

.sl-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 70px;
}

.sl-article-content {
    min-width: 0;
    background: #fcf7f3;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 6px rgb(0 0 0 / 10%);
}

/* WordPress content */
.sl-article-content>p {
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-article-content h2 {
    color: var(--sl-green);
    font-size: 28px;
    margin: 10px 0 20px;
    font-family: "Noto Sans Thai", Sans-serif;
    font-weight: 700;
}

.sl-article-content h3 {
    color: var(--sl-green);
    font-size: 22px;
    margin: 35px 0 15px;
}

.sl-article-content ul,
.sl-article-content ol {
    padding-left: 25px;
    line-height: 1.9;
    color: #000000;
    font-family: "Noto Sans Thai", Sans-serif;
    margin-bottom: 20px;
}

.sl-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sl-sidebar-box {
    background: #fff;
    border: 1px solid var(--sl-border);
    border-radius: 16px;
    padding: 25px;
}

.sl-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sl-sidebar-title h3,
.sl-sidebar-heading {
    margin: 0;
    color: #26372d;
    font-size: 18px;
    font-family: "Prompt", Sans-serif;
}

.sl-sidebar-title a {
    color: var(--sl-green);
    font-size: 12px;
    text-decoration: none;
    font-family: "Prompt", Sans-serif;
}

.sl-sidebar-post {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0ed;
    text-decoration: none;
}

.sl-sidebar-post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sl-sidebar-thumb {
    width: 76px;
    height: 62px;
    flex: 0 0 76px;
    overflow: hidden;
    border-radius: 8px;
}

.sl-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-sidebar-post-content h4 {
    margin: 0 0 7px;
    color: #28372f;
    font-size: 14px;
    line-height: 1.45;
    font-family: "Prompt", Sans-serif;
}

.sl-sidebar-post-content span {
    color: #9a9f9b;
    font-size: 11px;
}

/* =========================================================
   DOCTOR CTA
========================================================= */
.sl-doctor-cta {
    background: #fcf7f3;
    border-radius: 16px;
    padding: 26px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 0 6px rgb(0 0 0 / 10%)
}

.sl-doctor-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    background: #a47c33;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.sl-doctor-cta h3 {
    margin: 0 0 10px;
    font-size: 17px;
    color: var(--sl-green);
    font-family: "Prompt", Sans-serif;
}

.sl-doctor-cta p {
    font-size: 13px;
    line-height: 1.7;
    color: #68726c;
    margin: 0 0 18px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-doctor-cta a {
    display: inline-flex;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: linear-gradient(180deg, #d5a84b 0%, #b88425 50%, #9d6c16 100%);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    font-family: "Prompt", Sans-serif;
}

/* =========================================================
   CATEGORY
========================================================= */
.sl-category-list {
    list-style: none;
    padding: 15px 0 0;
    margin: 0;
}

.sl-category-list li {
    border-bottom: 1px solid #edf0ed;
}

.sl-category-list li:last-child {
    border-bottom: 0;
}

.sl-category-list a {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    color: #444444;
    font-size: 14px;
    text-decoration: none;
    font-family: "Noto Sans Thai", Sans-serif;
    font-weight: 500;
}

.sl-category-list small {
    color: var(--sl-green);
}

/* =========================================================
   NEWSLETTER
========================================================= */
.sl-newsletter {
    border: 1px solid var(--sl-border);
    border-radius: 16px;
    padding: 25px;
}

.sl-newsletter h3 {
    margin: 0 0 12px;
    color: #26372d;
    font-size: 18px;
}

.sl-newsletter p {
    color: #737b75;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.sl-newsletter-form input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #dce2dd;
    border-radius: 7px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.sl-newsletter-form button {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 7px;
    background: var(--sl-green);
    color: #fff;
    cursor: pointer;
}

/* =========================================================
   TAGS
========================================================= */
.sl-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--sl-border);
}

.sl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sl-tags a {
    padding: 7px 14px;
    border: 1px solid #dfe5e0;
    border-radius: 30px;
    color: #68716b;
    font-size: 12px;
    text-decoration: none;
}

/* =========================================================
   SHARE
========================================================= */
.sl-share {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0 55px;
}

.sl-share strong {
    font-size: 16px;
    font-family: "Prompt", Sans-serif;
    font-weight: 400;
}

.sl-share-buttons {
    display: flex;
    gap: 8px;
}

.sl-share-buttons a,
.sl-share-buttons button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
}

.sl-share-buttons .facebook {
    background: #315ca8;
    color: #fff;
}

.sl-share-buttons .line {
    background: #25b942;
    color: #fff;
}

.sl-share-buttons .copy-link {
    background: #858a87;
    color: #fff;
}

/* =========================================================
   RELATED POSTS
========================================================= */
.sl-section-title {
    border-bottom: 1px solid #dfe5e0;
    margin-bottom: 22px;
}

.sl-section-title h2 {
    color: var(--sl-green);
    font-size: 22px;
    margin: 0 0 15px;
}

.sl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.sl-related-card {
    overflow: hidden;
    border: 1px solid var(--sl-border);
    border-radius: 12px;
    background: #fff;
    transition: .3s ease;
}

.sl-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.sl-related-card a {
    color: inherit;
    text-decoration: none;
}

.sl-related-image {
    height: 145px;
    overflow: hidden;
}

.sl-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sl-related-body {
    padding: 15px;
}

.sl-related-category {
    display: inline-block;
    color: var(--sl-green);
    font-size: 12px;
    margin-bottom: 8px;
    font-family: "Noto Sans Thai", Sans-serif;
}

.sl-related-body h3 {
    color: #27352d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 14px;
    font-family: "Prompt", Sans-serif;
}

.sl-related-date {
    color: #9a9f9b;
    font-size: 11px;
    font-family: "Prompt", Sans-serif;
}

@media (max-width: 1580px) {
    .sl-container {
        width: min(100% - 40px, 1240px);
    }
    .sl-popup-box{
        min-height: 85vh;
    }
    .sl-popup-article .sl-popup-benefitt{
        padding: 20px !important;
    }
    .sl-popup-benefitt-box{
        padding: 10px 0 !important;
    }
    .sl-popup-close{
        top: -14px;
        right: -10px;
    }
}

.sl-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.sl-popup-overlay.active {
    display: flex;
}
.sl-popup-article{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.sl-popup-article .sl-popup-info{
    width: 37%;
}
.sl-popup-article .sl-popup-info img{
    width: 150px;
    margin: auto;
    display: block;
}
.sl-popup-article .sl-popup-benefitt{
    width: 59%;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 10px rgb(0 0 0 / 5%);
}
.sl-popup-benefitt-box{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #ebebeb;
}
.sl-popup-benefitt-box:last-child{
    border-bottom: 0;
}
.sl-popup-benefitt-box .benefit-icon{
    width: 15%;
}
.sl-popup-benefitt-box .benefit-item{
    width: 81%;
}
.sl-popup-benefitt-box .benefit-item ul{
    list-style: none;
    padding-left: 0;
}
.sl-popup-benefitt-box .benefit-item ul li{
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}
.sl-popup-benefitt-box .benefit-item ul li::before{
    content: "";
    display: block;
    position: relative;
    background: url(/wp-content/uploads/2026/09/check-1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px;
    min-width: 13px;
    height: 13px;
    margin-top: 3px;
}
.sl-popup-benefitt-box .benefit-item h3{
    color: #335033;
    font-family: 'Prompt', Sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}
.lang-en .sl-popup-benefitt-box .benefit-item h3{
    font-size: 16px;
}
.sl-popup-benefitt-box .benefit-item ul li,
.sl-popup-benefitt-box .benefit-item p{
    color: #444444;
    font-family: "Noto Sans Thai", Sans-serif;
    font-size: 14px;
    line-height: 20px;
}
.sl-popup-box {
    background: url(/wp-content/uploads/2026/09/bg-popup.webp);
    background-size: cover;
    background-position: center;
    max-width: 1240px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
    padding: 30px;
}

.sl-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: #B88A3F;
}

.sl-popup-close:hover {
    background: none !important;
    color: #B88A3F;
    text-decoration: none;
}

body.sl-popup-open {
    overflow: hidden;
}

.sl-popup-image img {
    width: 70%;
    height: auto;
    border-radius: 6px;
    margin: auto auto 20px;
    display: block;
}
.lang-en .sl-popup-title{
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 5px;
}
.sl-popup-title {
    font-family: "Times New Roman", Sans-serif;
    color: #335033;
    text-align: center;
    font-weight: 600;
    font-size: 27px;
    line-height: 32px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.sl-popup-content {
    font-family: "Noto Sans Thai", Sans-serif;
    color: #444444;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 30px;
}
.sl-popup-content strong {
    color: #335033;
}
.lang-en .sl-popup-content h3{
    font-size: 20px;
    line-height: 28px;
}
.sl-popup-content h3 {
    color: #335033;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    text-align: center;
}
.sl-popup-content h4{
color: #335033;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
}
@media (max-width: 1100px) {
    .sl-container {
        width: min(100% - 40px, 1400px);
    }

    .sl-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sl-hero-image {
        height: 400px;
    }

    .sl-content-layout {
        grid-template-columns: 1fr;
    }

    .sl-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .sl-newsletter {
        grid-column: span 2;
    }
}

/* ================================
   TABLET
================================ */
@media (max-width: 1024px) {
    .sl-popup-box{
        padding: 20px;
    }
    .sl-popup-article{
        gap: 20px;
    }
    .sl-content-layout {
        gap: 25px;
    }

    .sl-sidebar {
        display: none;
    }

    .sl-post-meta {
        margin-bottom: 15px;
    }

    .sl-article-hero {
        padding: 0px !important;
    }

    .services-tab-btn {
        padding: 12px 7px;
        font-size: 13px;
    }

    .services-tab-btn .tab-icon img {
        width: 40px;
    }

    .services-tab-btn>span:not(.tab-icon),
    .services-tab-btn .tab-title {
        max-width: 135px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .service-link {
        font-size: 14px;
        padding: 5px;
    }

    .sl-latest-post {
        grid-template-columns: 45% 55%;
    }

    .sl-latest-post-image {
        min-height: auto;
    }

    .sl-latest-post-image img {
        height: 380px;
    }

    .sl-latest-post-content {
        padding: 20px;
    }

    .sl-post-title {
        font-size: 26px;
        line-height: 38px;
        margin-bottom: 10px;
    }

    .sl-post-excerpt {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .sl-read-more {
        padding: 12px 16px;
    }

    .sl-blog-tabs {
        gap: 12px;
    }

    .sl-blog-tab {
        min-width: 140px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .sl-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .sl-blog-image {
        height: 220px;
    }

    .sl-blog-title {
        font-size: 20px;
    }
}

/* ================================
   MOBILE
=============================== */
@media (max-width: 767px) {
    .sl-popup-article{
        gap: 0;
    }
    .sl-popup-article .sl-popup-info{
        width: 100%;
    }
    .sl-popup-article .sl-popup-benefitt{
        width: 100%;
    }
    .sl-popup-title{
        font-size: 24px;
        line-height: 32px;
    }
    .sl-popup-content h3{
        font-size: 18px;
        line-height: 26px;
    }
    .sl-popup-content{
        font-size: 14px;
        list-style: 22px;
    }
    .sl-popup-benefitt-box{
        gap: 0px;
    }
    .sl-popup-benefitt-box .benefit-icon,
    .sl-popup-benefitt-box .benefit-item{
        width: 100%;
    }
    .sl-popup-benefitt-box .benefit-icon img{
        width: 80px;
        height: auto;
        display: block;
        margin: auto;
    }
    .sl-popup-article .sl-popup-info img{
        width: 100px;
    }
    .sl-popup-benefitt-box .benefit-item h3{
        text-align: center;
    }
    .services-tab-nav {
        justify-content: flex-start;
        align-items: stretch;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 5px 5px 15px;
        scrollbar-width: none;
    }

    .services-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .services-tab-btn {
        flex: 0 0 100px;
        width: 100px;
        min-width: 100px;
        padding: 12px 8px;
        border-radius: 16px !important;
        font-size: 12px;
    }

    .services-tab-btn .tab-icon img {
        width: 52px;
    }

    .services-tab-btn>span:not(.tab-icon),
    .services-tab-btn .tab-title {
        max-width: 130px;
    }

    .services-tab-btn.active::after {
        display: none;
    }

    .service-info {
        padding: 15px 10px;
    }

    .service-title {
        font-size: 14px;
        line-height: 20px;
    }
    .service-link{
        font-size: 9px;
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .services-tab-content {
        padding: 15px;
    }

    .sl-latest-post {
        display: flex;
        flex-direction: column;
        border-radius: 12px;
    }

    .sl-latest-post-image {
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .sl-latest-post-image img {
        height: auto;
    }

    .sl-no-image {
        min-height: auto;
    }

    .sl-latest-post-content {
        padding: 30px 24px 32px;
    }

    .sl-post-category {
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 24px;
    }

    .sl-post-title {
        font-size: 26px;
        line-height: 1.35;
        margin-bottom: 16px;
    }

    .sl-post-excerpt {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .sl-post-meta {
        font-size: 13px;
        gap: 9px;
        margin-bottom: 22px;
    }

    .sl-meta-divider {
        height: 16px;
    }

    .sl-read-more {
        padding: 13px 22px;
        font-size: 14px;
    }

    .sl-blog-tabs {
        justify-content: center;
        gap: 9px;
        margin-bottom: 30px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .sl-blog-tabs::-webkit-scrollbar {
        display: none;
    }

    .sl-blog-tab {
        flex: 0 0 auto;
        min-width: auto;
        padding: 7px 18px;
        border-radius: 50px;
        font-size: 12px;
    }

    .sl-blog-header {
        align-items: flex-end;
        margin-bottom: 16px;
    }

    .sl-blog-heading {
        font-size: 21px;
    }

    .sl-view-all {
        font-size: 13px;
    }

    .sl-view-all span {
        font-size: 18px;
    }

    .sl-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sl-blog-image {
        height: 220px;
    }

    .sl-blog-card-content {
        padding: 18px 20px 20px;
    }

    .sl-blog-category {
        font-size: 12px;
    }

    .sl-blog-title {
        font-size: 19px;
        min-height: auto;
        margin-bottom: 20px;
    }

    .sl-blog-meta {
        gap: 8px;
    }

    .sl-blog-date {
        font-size: 12px;
    }

    .sl-blog-read-more {
        font-size: 12px;
    }

    .sl-container {
        width: calc(100% - 30px);
    }

    .sl-breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 0;
        display: none;
    }

    .sl-article-hero {
        padding: 25px 0px 0 !important;
    }

    .sl-article-hero {
        padding-top: 10px;
    }

    .sl-hero-grid {
        border-radius: 16px;
        padding: 12px;
    }

    .sl-hero-content {
        padding: 0px;
    }

    .sl-post-title {
        font-size: 24px;
    }

    .sl-article-content {
        padding: 20px;
    }

    .sl-post-excerpt {
        font-size: 15px;
    }

    .sl-post-meta {
        gap: 12px;
    }

    .sl-meta-item {
        font-size: 11px;
    }

    .sl-hero-image {
        height: 230px;
    }

    .sl-article-section {
        padding-bottom: 50px;
    }

    .sl-content-layout {
        gap: 40px;
    }

    .sl-article-content>p {
        font-size: 15px;
    }

    .sl-article-content h2 {
        font-size: 23px;
    }

    .sl-sidebar {
        display: none;
    }

    .sl-newsletter {
        width: auto;
    }

    .sl-related-grid {
        grid-template-columns: 1fr;
    }

    .sl-related-image {
        height: 200px;
    }

    .sl-share {
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .sl-blog-tab {
        border: 1px solid transparent;
    }
}