/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
body {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

.slider-content h1,
.section-heading,
.heading,
h1,h2,h3,h4,h5,h6,
.nav-menu .main-menu .menu-item > a {
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-weight: 600;
}

/* Restore standard list styles for blog posts and page content */
.blog-info ul,
.site-main ul,
.entry-content ul {
    list-style-type: disc !important;
    margin-left: 20px !important;
    margin-bottom: 20px !important;
    padding-left: 20px !important;
}

.blog-info ol,
.site-main ol,
.entry-content ol {
    list-style-type: decimal !important;
    margin-left: 20px !important;
    margin-bottom: 20px !important;
    padding-left: 20px !important;
}

.blog-info li,
.site-main li,
.entry-content li {
    list-style: inherit !important;
    margin-bottom: 8px !important;
}


/* Single Post */

.post-thumbnail img{
    width:100%;
    height:auto;
    display:block;
}

.blog-header {
    height: auto !important;
    min-height: auto !important;
    padding-top: 130px !important;
    padding-bottom: 70px !important;
}

.blog-header .wrapper {
    padding: 0 !important;
    max-width: 860px;
}

.blog-header .heading {
    font-size: 34px !important;
    line-height: 1.45 !important;
    font-weight: 700;
    margin-bottom: 20px !important;
    color: #ffffff !important;
}

.blog-header .subheading {
    font-size: 16px !important;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 0;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .blog-header {
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
    .blog-header .heading {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    .blog-header .subheading {
        font-size: 14px !important;
    }
}

.domain-pricing .tablepress {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.domain-pricing .tablepress thead th {
    background: var(--bs-primary);
    color: #fff;
    padding: 16px;
    border: 0;
}

.domain-pricing .tablepress td {
    padding: 16px;
}

.domain-pricing .tablepress tbody tr:hover {
    background: #f8f9fa;
}

.domain-pricing .tablepress td:first-child {
    font-weight: 600;
}

.domain-pricing {
    overflow-x: auto;
}

.domain-pricing .tablepress {
    min-width: 650px;
}

.domain-table {
    background: #fff;
}

.domain-table thead th {
    background: var(--bs-primary);
    color: #fff;
}

.domain-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #e8f3ff;
}

/* --- TSH Modern Service Cards Redesign --- */

.tsh-section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.tsh-section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--mergecolor);
}
.tsh-section-header p {
    font-size: 16px;
    color: #8c98a5;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Card Container */
.tsh-service-card {
    background-color: var(--seccolorstyle);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
    padding: 0;
    height: 100%;
}

.tsh-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Top Accent Bar */
.tsh-card-accent {
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.card-blue .tsh-card-accent { background: linear-gradient(90deg, #007bff, #00d2ff); }
.card-purple .tsh-card-accent { background: linear-gradient(90deg, #6f42c1, #a951ed); }
.card-teal .tsh-card-accent { background: linear-gradient(90deg, #20c997, #05e3a8); }
.card-orange .tsh-card-accent { background: linear-gradient(90deg, #fd7e14, #ffb830); }
.card-pink .tsh-card-accent { background: linear-gradient(90deg, #e83e8c, #ff758c); }

/* Card Body */
.tsh-card-body {
    padding: 2.5rem 2rem 1.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tsh-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tsh-card-desc {
    color: #8c98a5;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

/* Icon Wrapper */
.tsh-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tsh-icon-wrapper img.svg {
    width: 32px;
    height: 32px;
    filter: none !important;
}

.card-blue .tsh-icon-wrapper { background-color: rgba(0, 123, 255, 0.1); }
.card-purple .tsh-icon-wrapper { background-color: rgba(111, 66, 193, 0.1); }
.card-teal .tsh-icon-wrapper { background-color: rgba(32, 201, 151, 0.1); }
.card-orange .tsh-icon-wrapper { background-color: rgba(253, 126, 20, 0.1); }
.card-pink .tsh-icon-wrapper { background-color: rgba(232, 62, 140, 0.1); }

/* Badges */
.tsh-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.badge-blue { background-color: rgba(0, 123, 255, 0.1); color: #007bff; }
.badge-purple { background-color: rgba(111, 66, 193, 0.1); color: #6f42c1; }
.badge-teal { background-color: rgba(32, 201, 151, 0.1); color: #20c997; }
.badge-orange { background-color: rgba(253, 126, 20, 0.1); color: #fd7e14; }
.badge-pink { background-color: rgba(232, 62, 140, 0.1); color: #e83e8c; }

/* Pricing */
.tsh-card-price {
    margin-bottom: 1.5rem;
}
.tsh-card-price .currency {
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    top: -10px;
    color: var(--mergecolor);
}
.tsh-card-price .value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mergecolor);
}
.tsh-card-price .period {
    font-size: 0.95rem;
    color: #8c98a5;
}
.tsh-card-price .fromer {
    font-size: 0.8rem;
    color: #8c98a5;
    margin-top: 4px;
}

/* Features List */
.tsh-card-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tsh-card-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--mergecolor);
}

.tsh-card-features .check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.card-blue .check-icon { background-color: rgba(0, 123, 255, 0.1); color: #007bff; }
.card-purple .check-icon { background-color: rgba(111, 66, 193, 0.1); color: #6f42c1; }
.card-teal .check-icon { background-color: rgba(32, 201, 151, 0.1); color: #20c997; }
.card-orange .check-icon { background-color: rgba(253, 126, 20, 0.1); color: #fd7e14; }
.card-pink .check-icon { background-color: rgba(232, 62, 140, 0.1); color: #e83e8c; }

/* Card Footer & CTA Button */
.tsh-card-footer {
    padding: 0 2rem 2.5rem 2rem;
}

.btn-tsh-card {
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none !important;
}

.card-blue .btn-tsh-card { background-color: #007bff; color: #fff; }
.card-blue .btn-tsh-card:hover { background-color: #0056b3; box-shadow: 0 5px 15px rgba(0,123,255,0.3); color: #fff; }

.card-purple .btn-tsh-card { background-color: #6f42c1; color: #fff; }
.card-purple .btn-tsh-card:hover { background-color: #5a32a3; box-shadow: 0 5px 15px rgba(111,66,193,0.3); color: #fff; }

.card-teal .btn-tsh-card { background-color: #20c997; color: #fff; }
.card-teal .btn-tsh-card:hover { background-color: #17a078; box-shadow: 0 5px 15px rgba(32,201,151,0.3); color: #fff; }

.card-orange .btn-tsh-card { background-color: #fd7e14; color: #fff; }
.card-orange .btn-tsh-card:hover { background-color: #ca6510; box-shadow: 0 5px 15px rgba(253,126,20,0.3); color: #fff; }

.card-pink .btn-tsh-card { background-color: #e83e8c; color: #fff; }
.card-pink .btn-tsh-card:hover { background-color: #c52b71; box-shadow: 0 5px 15px rgba(232,62,140,0.3); color: #fff; }

/* Dark mode overrides (based on body attribute) */
body[data-background="dark"] .tsh-service-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
}
body[data-background="dark"] .tsh-card-features {
    border-top: 1px solid rgba(255,255,255,0.08);
}
body[data-background="dark"] .tsh-service-card:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Custom Header Login Button styling */
.nav-menu .main-menu > .menu-item.login-btn-item {
    display: inline-flex;
    align-items: center;
    padding: 0 10px !important;
    float: none !important;
}

.btn-login-header {
    background: #fdd700 !important;
    color: #15212a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(253, 215, 0, 0.25) !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1.5 !important;
}

.btn-login-header::before,
.btn-login-header::after {
    display: none !important;
    content: none !important;
}

.btn-login-header:hover {
    background: #ffb830 !important; /* warmer gold hover */
    color: #15212a !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(253, 215, 0, 0.45) !important;
}

.btn-login-header:active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 10px rgba(253, 215, 0, 0.3) !important;
}

/* Mobile responsive menu login button overrides */
@media (max-width: 991px) {
    .menu-wrap.mobile .nav-menu .main-menu > .menu-item.login-btn-item {
        display: block !important;
        float: none !important;
        text-align: center !important;
        padding: 15px 0 !important;
        border-bottom: none !important; /* Don't draw border under login button */
    }
    
    .menu-wrap.mobile .btn-login-header {
        display: inline-block !important;
        width: auto !important;
        min-width: 160px;
        padding: 10px 28px !important;
        font-size: 14px !important;
    }
}

/* เว้นระยะห่างและขนาดของไอคอนในเมนู */
.menu-item-icon {
    width: 32px !important;
    height: 32px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

