/* Shared visual rules for every static page: navigation, typography and footer. */
:root {
    --site-font: Tahoma, "Noto Sans Thai", Arial, sans-serif;
    --site-menu-size: 14px;
    --site-action-on-light: #c2410c;
}

/* Legacy/static pages */
body,
#wrapper,
#header,
#topbar,
#footer,
#footer-text,
#visitor-counter {
    font-family: var(--site-font) !important;
}

html,
body,
#body-bg,
#wrapper {
    max-width: 100%;
    /* Prevent overflow-x from implicitly creating a second vertical scroller. */
    overflow-x: clip;
}

#header #topbar {
    background: transparent !important;
    overflow: visible !important;
}

#header #topbar .topbar-sub-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 6px !important;
    border-radius: 4px;
    background: #211e1e !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

#topbar .topnav-container,
#topbar ul.topnav {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: stretch;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 0;
}

#topbar ul.topnav > li {
    display: block !important;
    flex: 0 0 auto;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    position: relative;
}

#topbar ul.topnav > li > a,
#topbar ul.topnav > li > .menu-label,
#topbar ul.topnav > li > a,
#topbar ul.topnav > li > a > div,
#topbar ul.topnav > li > .menu-label > div {
    font-family: var(--site-font) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: 0;
}

#topbar ul.topnav > li > a,
#topbar ul.topnav > li > .menu-label {
    display: flex !important;
    align-items: center;
    min-height: 42px;
    padding: 9px 5px !important;
    white-space: nowrap;
}

#topbar ul.topnav > li > .menu-label {
    color: #fff;
    cursor: default;
}

@media (min-width: 721px) {
    #topbar ul.topnav > li.nav-link > .menu-label,
    #topbar ul.topnav > li.nav-text > .menu-label,
    #topbar ul.topnav > li.has-submenu > .menu-label {
        cursor: pointer;
        user-select: none;
    }

    #topbar ul.topnav > li.nav-link > .menu-label::after,
    #topbar ul.topnav > li.nav-text > .menu-label::after,
    #topbar ul.topnav > li.has-submenu > .menu-label::after {
        content: "▾";
        display: inline-block;
        margin-left: 5px;
        font-size: 11px;
        opacity: .85;
    }

    #topbar ul.topnav > li.nav-link:hover > ul.subnav,
    #topbar ul.topnav > li.nav-text:hover > ul.subnav,
    #topbar ul.topnav > li.has-submenu:hover > ul.subnav,
    #topbar ul.topnav > li.has-submenu:focus-within > ul.subnav,
    #topbar ul.topnav > li.has-submenu.is-open > ul.subnav {
        display: block !important;
        top: 100% !important;
        left: 0 !important;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 50;
    }

    #topbar ul.topnav > li.nav-link.is-open > .menu-label,
    #topbar ul.topnav > li.nav-text.is-open > .menu-label,
    #topbar ul.topnav > li.has-submenu.is-open > .menu-label,
    #topbar ul.topnav > li.nav-link:focus-within > .menu-label,
    #topbar ul.topnav > li.nav-text:focus-within > .menu-label,
    #topbar ul.topnav > li.has-submenu:focus-within > .menu-label {
        color: #fff !important;
        background: #e96524 !important;
    }
}

#topbar ul.topnav > li > a:hover,
#topbar ul.topnav > li > a:focus-visible,
#topbar ul.topnav > li > .menu-label:hover {
    color: #fff !important;
    background: #e96524 !important;
    text-decoration: none;
}

#topbar ul.topnav > li > ul.subnav,
#topbar ul.topnav > li > ul.subnav li,
#topbar ul.topnav > li > ul.subnav a,
#topbar ul.topnav > li > ul.subnav a > div {
    font-family: var(--site-font) !important;
    font-size: var(--site-menu-size) !important;
    line-height: 1.55 !important;
}

#topbar ul.topnav > li > ul.subnav a {
    white-space: normal;
}

ul.sidenav,
ul.hiddennav,
ul.midnav,
ul.sidenav li,
ul.hiddennav li,
ul.midnav li,
ul.sidenav a,
ul.hiddennav a,
ul.midnav a,
ul.sidenav .menu-label,
ul.hiddennav .menu-label,
ul.midnav .menu-label {
    font-family: var(--site-font) !important;
    font-size: var(--site-menu-size) !important;
    line-height: 1.55 !important;
}

#slidemenu-trigger,
#mobile-searchbox-icon {
    font-family: var(--site-font) !important;
}

/* Disable the legacy slide menu so every page uses the shared standard menu. */
#slidemenu-container,
#slidemenu-menu,
#slidemenu-cover,
#slidemenu-trigger {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#footer #footer-text,
#footer #footer-text * {
    font-family: var(--site-font) !important;
    font-size: var(--site-menu-size) !important;
    line-height: 1.7 !important;
}

#footer #footer-text {
    padding: 16px 12px !important;
}

#footer #footer-text a,
#footer #footer-text a:link,
#footer #footer-text a:visited {
    color: #fff !important;
    text-decoration: underline;
}

#visitor-counter {
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* Shared index-style menu for lightweight pages. */
.standard-site-header {
    background: #fff;
    color: #1f2933;
    font-family: var(--site-font);
    position: relative;
    z-index: 30;
    border-bottom: 1px solid #e5e7eb;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.standard-site-shell {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
}

.standard-site-brandbar {
    padding: 12px 0 10px;
}

.standard-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1f2933 !important;
    text-decoration: none;
    min-width: 0;
}

.standard-site-brand img {
    width: 90px;
    height: auto;
    flex: 0 0 auto;
}

.standard-site-brand > span {
    min-width: 0;
}

.standard-site-brand strong {
    display: block;
    font-size: 19px;
    line-height: 1.35;
    color: #1f2933;
    font-weight: 700;
    letter-spacing: 0;
}

.standard-site-brand small {
    display: block;
    margin-top: 3px;
    color: #5b6475;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: 0;
}

.standard-site-menu {
    background: #211e1e;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
}

.standard-site-menu-toggle {
    display: none;
}

.standard-site-menu-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    width: min(1800px, calc(100% - 48px));
    max-width: none;
}

.standard-site-menu a,
.standard-site-menu summary {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 9px;
    color: #fff !important;
    text-decoration: none;
    font-size: var(--site-menu-size);
    line-height: 1.25;
    letter-spacing: 0;
    cursor: pointer;
}

.standard-site-menu a:hover,
.standard-site-menu summary:hover,
.standard-site-menu details[open] > summary {
    background: #e96524;
    color: #fff !important;
    text-decoration: none;
}

.standard-site-menu details {
    position: relative;
}

.standard-site-menu details:last-of-type .standard-site-submenu {
    right: 0;
    left: auto;
}

.standard-site-menu summary {
    list-style: none;
}

.standard-site-menu summary::-webkit-details-marker {
    display: none;
}

.standard-site-menu summary::after {
    content: "▾";
    margin-left: 5px;
    font-size: 10px;
}

.standard-site-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: min(380px, calc(100vw - 24px));
    min-width: 270px;
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #dedede;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.standard-site-menu details[open] .standard-site-submenu {
    display: block;
}

@media (hover: hover) and (min-width: 721px) {
    .standard-site-menu details:hover .standard-site-submenu {
        display: block;
    }
}

.standard-site-submenu a {
    display: block;
    min-height: auto;
    padding: 9px 12px;
    color: #242424 !important;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.45;
}

.standard-site-submenu a:hover {
    color: #1f1c1c !important;
    background: #fff2df;
}

.standard-site-footer {
    margin-top: 32px;
    background: #1f1c1c;
    color: #fff;
    font-family: var(--site-font);
}

.standard-site-footer #footer-text {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 14px 0 !important;
    color: #fff;
}

.standard-site-footer a,
.standard-site-footer a:link,
.standard-site-footer a:visited {
    color: #fff !important;
    text-decoration: underline;
}

/* Legacy widgets are removed from page flow so the top menu and footer carry navigation. */
#content > #sidebar,
#content > #viewcart-box-no-sidebar {
    display: none !important;
}

#content > .breadcrumb,
#content > .title,
#content > .product-title,
#content > .product-search-result-title,
#content > .content-tag-title,
#content > .hidable-container,
#content > .product-search-result-container,
#content > .webboard,
#content > .webboard-topic {
    float: none !important;
    width: min(100%, 1120px) !important;
    max-width: 1120px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

#content,
#content * {
    box-sizing: border-box;
}

#content > .breadcrumb {
    display: block;
    clear: both;
}

#content .breadcrumb,
#content .breadcrumb a,
#content .breadcrumb-parent {
    color: var(--site-action-on-light) !important;
}

#content > .hidable-container {
    padding-left: 0;
    padding-right: 0;
}

/* Sitewide modern footer, matching the home page footer. */
.footer-modern {
    background: linear-gradient(135deg, #1f1c1c 0%, #2a2525 100%);
    display: block;
    width: 100%;
    max-width: none;
    padding: 60px 40px 30px;
    margin: 56px 0 0;
    border-radius: 0;
    box-sizing: border-box;
    clear: both;
    font-family: var(--site-font);
    position: relative;
    z-index: 1;
}

.footer-modern,
.footer-modern * {
    box-sizing: border-box;
}

.footer-modern .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-modern .footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0;
}

.footer-modern .footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e96524;
}

.footer-modern .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-modern .footer-col ul li {
    margin-bottom: 10px;
}

.footer-modern .footer-col a,
.footer-modern .footer-col a:link,
.footer-modern .footer-col a:visited {
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.55;
    transition: color .2s ease, transform .2s ease;
}

.footer-modern .footer-col ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-modern .footer-col ul li a::before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 12px;
    color: #e96524;
}

.footer-modern .footer-col a:hover {
    color: #e96524 !important;
    transform: translateX(4px);
}

.footer-modern .footer-col p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 10px 0;
}

.footer-modern .footer-col p i {
    color: #e96524;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-modern .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-modern .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.footer-modern .footer-social a:hover {
    background: #e96524;
    transform: translateY(-2px);
}

.footer-modern .footer-trust-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-modern .trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-modern .trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.45;
}

.footer-modern .trust-badge i {
    color: #4ade80;
    font-size: 18px;
}

.footer-modern .footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-modern .footer-bottom p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-modern .footer-trust {
    margin-top: 6px !important;
}

/* The new knowledge pages use different semantic markup but the same visual tokens. */
.seo-guide-header,
.seo-guide-header * {
    font-family: var(--site-font) !important;
}

.seo-guide-header .seo-guide-shell {
    max-width: 1200px;
}

.seo-guide-header-inner {
    display: block;
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
}

.seo-guide-brand {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem !important;
}

.seo-guide-nav,
.seo-guide-nav a {
    font-size: var(--site-menu-size) !important;
    line-height: 1.55 !important;
}

.seo-guide-nav {
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.seo-guide-nav a {
    display: block;
    padding: 7px 8px;
    white-space: nowrap;
}

.seo-guide-footer,
.seo-guide-footer * {
    font-family: var(--site-font) !important;
    font-size: var(--site-menu-size) !important;
    line-height: 1.7 !important;
}

.seo-guide-footer p {
    margin: 0 0 5px;
}

/* Readable content blocks added to legacy service pages. */
.content-enhancement {
    margin: 30px auto 8px;
    color: #333;
    font-family: var(--site-font) !important;
    font-size: 16px;
    line-height: 1.9;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.content-enhancement h2,
.content-enhancement h3 {
    color: #1e3a5f !important;
    font-family: var(--site-font) !important;
    line-height: 1.45;
}

.content-enhancement h2 {
    margin: 28px 0 14px;
    padding: 12px 16px;
    border-left: 5px solid #f97316;
    background: linear-gradient(90deg, #fff7ed 0%, #ffffff 100%);
    font-size: 22px !important;
    font-weight: 700;
    border-radius: 0 10px 10px 0;
}

.content-enhancement h2:first-child {
    margin-top: 0;
}

.content-enhancement h2:not(:first-child) {
    margin-top: 38px;
}

.content-enhancement h3 {
    margin: 20px 0 8px;
    font-size: 18px !important;
    font-weight: 600;
    color: var(--site-action-on-light) !important;
}

.content-enhancement p {
    margin: 0 0 16px;
    line-height: 1.9;
    color: #4b5563;
}

.content-enhancement > p {
    max-width: 82ch;
}

.content-enhancement ul,
.content-enhancement ol {
    margin: 12px 0 20px;
    padding-left: 28px;
}

.content-enhancement li {
    margin: 8px 0;
    line-height: 1.8;
    position: relative;
    padding-left: 8px;
}

.content-enhancement li::marker {
    color: #f97316;
}

.content-enhancement a {
    color: var(--site-action-on-light);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.content-enhancement a:hover {
    border-bottom-color: #f97316;
}

.service-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 22px;
}

.service-insight-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
}

.service-insight-card h3 {
    margin-top: 0;
}

.service-insight-card p {
    margin-bottom: 0;
}

.service-process-list {
    counter-reset: service-step;
    list-style: none;
    padding-left: 0 !important;
    margin: 14px 0 26px !important;
}

.service-process-list li {
    counter-increment: service-step;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0 !important;
    border-bottom: 1px solid #e5e7eb;
}

.service-process-list li::before {
    content: counter(service-step);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #1e3a5f;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.service-checklist {
    list-style: none;
    padding-left: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.service-checklist li {
    margin: 0 !important;
    padding: 12px 14px 12px 40px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    position: relative;
}

.service-checklist li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 11px;
    height: 6px;
    border-left: 3px solid #16a34a;
    border-bottom: 3px solid #16a34a;
    transform: rotate(-45deg);
}

.descriptionContainer .description {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #fde68a;
    margin-bottom: 30px;
    text-align: left;
}

.descriptionContainer .description h2 {
    color: #1e3a5f !important;
    font-size: 24px !important;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0;
    border-left: none;
    background: transparent;
    border-radius: 0;
    text-align: left;
}

.descriptionContainer .description p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
    text-align: left;
}

.descriptionContainer .description a {
    color: var(--site-action-on-light);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.descriptionContainer .description a:hover {
    text-decoration: underline;
}

.descriptionContainer .description img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

.description img,
.content-enhancement img,
.seo-guide-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 16px auto;
    display: block;
}

.service-visual-break {
    margin: 34px 0 36px;
    width: 100%;
    aspect-ratio: 21 / 7;
    min-height: 190px;
    max-height: 290px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.12);
    background: #dceef2;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
    position: relative;
}

.service-visual-break::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 139, 143, 0.08), rgba(255, 255, 255, 0.08), rgba(16, 42, 67, 0.12));
    pointer-events: none;
}

.service-visual-break img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

.home-visual-break {
    width: min(1180px, calc(100% - 32px));
    margin: 46px auto 42px;
    aspect-ratio: 21 / 6.5;
    min-height: 240px;
    max-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.1);
    background: #dceef2;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.home-visual-break img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

.content-enhancement details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 12px 0;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.content-enhancement details:hover {
    border-color: #f97316;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.1);
}

.content-enhancement details:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.content-enhancement summary {
    cursor: pointer;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 16px;
    padding: 4px 0;
}

.content-enhancement summary:hover {
    color: var(--site-action-on-light);
}

.content-enhancement details p {
    margin: 12px 0 0;
    color: #6b7280;
    line-height: 1.8;
}

.service-standard-cta,
.service-related-links {
    margin: 30px auto 8px;
    padding: 30px;
    font-family: var(--site-font) !important;
    color: #333;
    border: 2px solid #fde68a;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
}

.service-standard-cta h2,
.service-related-links h2 {
    margin: 0 0 14px;
    color: #1e3a5f !important;
    font-family: var(--site-font) !important;
    font-size: 22px !important;
    line-height: 1.45;
    font-weight: 700;
}

.service-standard-cta p,
.service-related-links p,
.service-related-links li {
    font-size: 16px;
    line-height: 1.75;
}

.service-standard-cta p {
    margin: 0 0 12px;
}

.service-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 14px;
}

.service-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.service-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.service-cta-button.secondary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.service-cta-button.secondary:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.service-cta-note {
    color: #6b7280;
    font-size: 14px;
    margin-top: 10px;
}

.service-related-links {
    background: white;
}

.service-related-links ul {
    margin: 12px 0 0;
    padding-left: 24px;
}

.service-related-links li {
    margin: 8px 0;
    line-height: 1.7;
}

.service-related-links a {
    color: var(--site-action-on-light);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-related-links a:hover {
    color: #ea580c;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .service-insight-grid,
    .service-checklist {
        grid-template-columns: 1fr;
    }

    .content-enhancement h2:not(:first-child) {
        margin-top: 28px;
    }

    .service-visual-break {
        width: calc(100% + 40px);
        margin: 24px -20px 28px;
        aspect-ratio: 16 / 8;
        min-height: 168px;
        max-height: 190px;
        border-radius: 12px;
    }

    .home-visual-break {
        width: calc(100% - 28px);
        margin: 30px auto 28px;
        aspect-ratio: 16 / 8;
        min-height: 170px;
        max-height: 220px;
        border-radius: 14px;
    }

    .service-process-list li {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .standard-site-brand {
        align-items: flex-start;
        display: flex;
        width: 100%;
        gap: 10px;
    }

    .standard-site-brand img {
        width: 64px;
    }

    .standard-site-brand > span {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    .standard-site-brand strong {
        font-size: 16px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .standard-site-brand small {
        font-size: 12px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .standard-site-menu {
        box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    }

    .standard-site-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        border: 0;
        border-radius: 0;
        background: #211e1e;
        color: #fff;
        font-family: var(--site-font) !important;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.2;
        cursor: pointer;
    }

    .standard-site-menu-toggle:focus-visible {
        outline: 3px solid rgba(249, 115, 22, .55);
        outline-offset: -3px;
    }

    .standard-site-menu-icon {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 28px;
        height: 24px;
    }

    .standard-site-menu-icon span {
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 999px;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .standard-site-menu.is-open .standard-site-menu-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .standard-site-menu.is-open .standard-site-menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .standard-site-menu.is-open .standard-site-menu-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .standard-site-menu-inner {
        display: block !important;
        width: 100%;
        max-height: none;
        overflow: visible;
        transition: max-height .24s ease, visibility .24s ease;
    }

    .standard-site-menu.is-collapsed .standard-site-menu-inner {
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        border-top: 0;
    }

    .standard-site-menu.is-collapsed.is-open .standard-site-menu-inner {
        max-height: min(72vh, 560px);
        overflow-y: auto;
        visibility: visible;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        -webkit-overflow-scrolling: touch;
    }

    .standard-site-menu a,
    .standard-site-menu summary {
        min-height: 38px;
        padding: 0 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .standard-site-submenu {
        position: static;
        width: auto;
        min-width: 0;
        max-height: none;
        border: 0;
        box-shadow: none;
    }

    .standard-site-submenu a {
        padding-left: 24px;
    }

    .footer-modern {
        width: 100%;
        max-width: none;
        padding: 42px 20px 24px;
        margin-top: 40px;
        border-radius: 0;
    }

    .footer-modern .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-modern .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .seo-guide-nav {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    #header #topbar .topbar-sub-container {
        padding: 0 !important;
        border-radius: 0;
    }

    #topbar .topnav-container,
    #topbar ul.topnav {
        display: block !important;
    }

    #topbar ul.topnav > li > a,
    #topbar ul.topnav > li > .menu-label {
        min-height: 40px;
        padding: 9px 12px !important;
        white-space: normal;
    }

    #content {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: clip;
        overflow-y: visible;
    }

    #content > .breadcrumb,
    #content > .title,
    #content > .product-title,
    #content > .product-search-result-title,
    #content > .content-tag-title,
    #content > .hidable-container,
    #content > .product-search-result-container,
    #content > .webboard,
    #content > .webboard-topic {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #content > .breadcrumb {
        font-size: 20px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere;
    }

    #content > .title,
    #content > .title.title-with-text-alignment,
    #content > .product-title,
    #content > .product-search-result-title,
    #content > .content-tag-title {
        font-size: clamp(28px, 8.2vw, 34px) !important;
        line-height: 1.28 !important;
        text-align: center !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #content .descriptionContainer,
    #content .descriptionContainer .description,
    #content .content-enhancement,
    #content .service-standard-cta,
    #content .service-related-links {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #content .descriptionContainer .description,
    #content .content-enhancement {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    #content .descriptionContainer .description h1,
    #content .descriptionContainer .description h2,
    #content .descriptionContainer .description h3,
    #content .descriptionContainer .description h1 *,
    #content .descriptionContainer .description h2 *,
    #content .descriptionContainer .description h3 * {
        font-size: clamp(24px, 7vw, 32px) !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .service-standard-cta,
    .service-related-links {
        padding: 16px 14px;
    }

    .service-cta-actions {
        display: block;
    }

    .service-cta-button {
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 8px;
    }
}

/* === Customer Thank-You Section (replaces inline border style) === */
.customer-thankyou-section,
.hidable-12553676 .text-section-loader > div {
    border: none !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
    border-radius: 16px;
    padding: 40px 32px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #d1fae5;
    position: relative;
    overflow: hidden;
}

.customer-thankyou-section::before,
.hidable-12553676 .text-section-loader > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

.customer-thankyou-section h3,
.customer-thankyou-section strong,
.hidable-12553676 .text-section-loader h3,
.hidable-12553676 .text-section-loader strong {
    color: #065f46 !important;
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 20px;
}

.customer-thankyou-section img,
.hidable-12553676 .text-section-loader img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 12px;
}

/* Social Buttons Section - clean styling */
.social-buttons {
    padding: 12px 0;
    margin: 0;
    border: none;
    background: transparent;
}

.social-buttons .left,
.social-buttons .right {
    display: inline-block;
    vertical-align: middle;
}

/* Hide legacy tail widgets on service pages that now use the enriched content layout */
body.service-page-clean #hidable-12541542,
body.service-page-clean #hidable-13144053,
body.service-page-clean #showcase-container,
body.service-page-clean #showcase-loader,
body.service-page-clean .social-buttons,
body.service-page-clean .why-choose-us,
body.service-page-clean .process-flow,
body.service-page-clean .testimonials-section,
body.service-page-clean .cta-section,
body.service-page-clean .related-articles,
body.service-page-clean .customer-thankyou-section {
    display: none !important;
}

body.service-page-clean .footer-modern {
    margin-top: 48px;
}

/* Responsive styles for service pages */
@media (max-width: 768px) {
    .descriptionContainer .description {
        padding: 20px;
        border-radius: 16px;
    }
    
    .content-enhancement {
        padding: 20px;
        border-radius: 14px;
    }
    
    .content-enhancement h2 {
        font-size: 18px !important;
        padding: 10px 12px;
    }
    
    .service-standard-cta,
    .service-related-links {
        padding: 20px;
        border-radius: 14px;
    }
    
    .service-cta-actions {
        flex-direction: column;
    }
    
    .service-cta-button {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Reading Enhancement */
    .descriptionContainer .description p,
    .descriptionContainer .description li {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }
    
    .descriptionContainer .description h2 {
        font-size: 22px !important;
        margin-top: 24px !important;
    }
    
    .descriptionContainer .description h3 {
        font-size: 19px !important;
    }
    
    .descriptionContainer .description img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Touch targets - minimum 48px */
    .service-cta-button,
    .service-related-links a {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        padding: 12px 24px;
    }
    
    /* Better spacing for mobile */
    .why-choose-us,
    .process-flow,
    .testimonials-section,
    .faq-section,
    .seo-content-section {
        padding: 20px 15px !important;
    }
    
    .benefits-grid,
    .steps-container,
    .testimonials-grid {
        gap: 15px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .descriptionContainer .description {
        padding: 15px !important;
    }
    
    .descriptionContainer .description p {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
    
    .welcome-card h2 {
        font-size: 22px !important;
    }
    
    .welcome-subtitle {
        font-size: 16px !important;
    }
    
    .welcome-feature {
        font-size: 14px !important;
    }
    
    .customer-thankyou-section h3 {
        font-size: 18px !important;
    }

    #content > .breadcrumb,
    #content > .title,
    #content > .product-title,
    #content > .product-search-result-title,
    #content > .content-tag-title,
    #content > .hidable-container,
    #content > .product-search-result-container,
    #content > .webboard,
    #content > .webboard-topic {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #content > .title,
    #content > .title.title-with-text-alignment,
    #content > .product-title,
    #content > .product-search-result-title,
    #content > .content-tag-title {
        font-size: 30px !important;
        line-height: 1.3 !important;
    }

    #content .descriptionContainer .description h1,
    #content .descriptionContainer .description h2,
    #content .descriptionContainer .description h3,
    #content .descriptionContainer .description h1 *,
    #content .descriptionContainer .description h2 *,
    #content .descriptionContainer .description h3 * {
        font-size: 25px !important;
        line-height: 1.35 !important;
    }
}

/* Touch-friendly interactive elements */
@media (hover: none) and (pointer: coarse) {
    .service-cta-button {
        min-height: 52px;
        padding: 14px 28px;
    }
    
    .footer-modern a {
        padding: 8px 0;
        display: inline-block;
    }
}
