﻿.ts-page * {
    line-height: 1.65;
    font-size: 0.875rem;
}

.mb-ts {
    background:
        radial-gradient(circle at 16% 18%, rgba(70, 96, 124, .54) 0, rgba(70, 96, 124, 0) 28%),
        linear-gradient(135deg, #07111d 0%, #12243a 45%, #203854 100%);
    height: 85vh;
    margin-bottom: 0;
    color: #fff;
}

.ts-page a {
    text-decoration: none;
}

    .ts-page a:hover {
        text-decoration: underline;
    }

.ts-seo-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.ts-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 50px;
}

.ts-hero,
.ts-container {
    margin: 0 auto;
    max-width: 1480px;
}

.ts-hero__grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 1.2rem;
    min-height: calc(85vh - 40px);
    align-items: center;
}

.ts-h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
}

.ts-h2 {
    font-size: 1.8rem;
    margin: 0 0 16px;
    font-weight: 800;
}

.ts-h3 {
    font-size: 1.2rem;
    margin: 0 0 12px;
    font-weight: 700;
}

.ts-lead {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ts-hero__subtitle {
    margin: 20px 0;
}

.ts-text {
    font-size: 0.875rem;
    line-height: 1.7;
}

.ts-list {
    font-size: 1rem;
    line-height: 1.7;
}

    .ts-list li {
        margin: 0 0 8px;
    }

.ts-section {
    padding: 50px 0;
}

.ts-page > .ts-section:nth-of-type(even) {
    background-color: #fff;
}

.ts-page > .ts-section:nth-of-type(odd),
.ts-page > .faq-section-wrapper {
    background-color: #f2f2f2;
}

.ts-page .ts-section,
.ts-page .faq-section-wrapper,
.ts-page .home-quote-section {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    padding-left: max(50px, calc((100vw - 1480px) / 2));
    padding-right: max(50px, calc((100vw - 1480px) / 2));
}

.ts-page .ts-section > .ts-container {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.ts-page .home-quote-section {
    grid-template-columns: minmax(0, 1fr) auto;
}

.ts-page .home-quote-section > div:first-child {
    justify-self: start;
    width: min(100%, 1100px);
    text-align: left;
}

.ts-section__head {
    margin-bottom: 20px;
}

/* Tolerances standards page module frame aligned with CNC capability module */
#tolerances-standards-page > .ts-section,
#tolerances-standards-page > .faq-section-wrapper,
#tolerances-standards-page > .home-quote-section {
    padding-left: max(80px, calc((100vw - 1480px) / 2));
    padding-right: max(80px, calc((100vw - 1480px) / 2));
}

#tolerances-standards-page > .ts-section > .ts-container,
#tolerances-standards-page > .faq-section-wrapper > .left-content,
#tolerances-standards-page > .faq-section-wrapper > .right-content {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
}

#tolerances-standards-page > .ts-section .ts-lead,
#tolerances-standards-page > .faq-section-wrapper .faq-intro,
#tolerances-standards-page > .home-quote-section p {
    max-width: 1180px;
    font-size: 0.875rem;
    box-sizing: border-box;
}

.ts-hero {
    padding: 20px 50px;
}

.ts-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.ts-hero__points {
    margin: 20px 0;
    padding-left: 1.2rem;
}

    .ts-hero__points li {
        margin: 5px 0;
        font-size: 0.875rem;
    }

.ts-hero__cta {
    margin-top: 1rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.ts-hero__meta {
    margin-top: 20px;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.ts-badge {
    display: inline-flex;
    align-items: center;
    padding: .5rem .75rem;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    font-size: .8125rem;
}

.ts-deliverables__list {
    margin-top: 20px;
    padding-left: 1.2rem;
}

    .ts-deliverables__list li {
        margin: 5px 0;
    }

.ts-hero__media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.10);
}


.ts-subnav {
    border-top: 1px solid rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.ts-subnav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    list-style: none;
    margin: 0;
}


.ts-subnav__item {
    scroll-snap-align: start;
    border: 1px solid #fff;
    padding: 5px 15px;
}

.ts-subnav__link {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.15);
    font-size: 0.875rem;
    white-space: nowrap;
    color: #fff;
}

.ts-grid {
    display: grid;
    gap: 24px;
}

.ts-grid--2 {
    grid-template-columns: 1fr;
}

.ts-grid--3 {
    grid-template-columns: 1fr;
}

.ts-card {
    border: 1px solid #d0d0d0;
    padding: 10px 10px 0px 10px;
}

    .ts-card .ts-text {
        margin-top: 6px;
    }

.ts-callout {
    border: 1px solid #d0d0d0;
    padding: 10px 10px 0px 10px;
    margin-top: 20px;
}

.ts-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #d0d0d0;
    margin: 20px 0px;
}

.ts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 720px;
}

    .ts-table th, .ts-table td {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0,0,0,.1);
        text-align: left;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .ts-table tr:last-child td {
        border-bottom: none;
    }

.ts-table--sticky th:first-child,
.ts-table--sticky td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}

.ts-formula {
    font-size: 0.875rem;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    margin-top: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ts-btn {
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ts-btn--primary {
    border: none;
}

.ts-btn--ghost {
    background: transparent;
}

.ts-faq {
    display: grid;
    gap: 16px;
}

.ts-faq__item {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    padding: 16px 20px;
}

.ts-faq__q {
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

    .ts-faq__q::-webkit-details-marker {
        display: none;
    }

.ts-faq__a {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
}

.ts-cta-card {
    border: 1px solid #d0d0d0;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
}

.ts-cta-card__actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ts-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}


@media (min-width: 1100px) {
    .ts-hero__inner {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

@media (min-width: 768px) {
    .ts-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .ts-container {
        padding: 0 16px;
    }

    .ts-section {
        padding: 30px 0;
    }

    .ts-page .ts-section,
    .ts-page .faq-section-wrapper,
    .ts-page .home-quote-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    #tolerances-standards-page > .ts-section,
    #tolerances-standards-page > .faq-section-wrapper,
    #tolerances-standards-page > .home-quote-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ts-page .ts-section > .ts-container {
        padding-left: 0;
        padding-right: 0;
    }

    .ts-hero {
        padding: 50px 0 0 0;
    }

    .ts-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ts-h1 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .ts-h2 {
        font-size: 1.4rem;
    }

    .ts-h3 {
        font-size: 1.1rem;
    }

    .ts-card {
        padding: 18px;
    }

    .ts-callout {
        padding: 18px;
    }

    .ts-cta-card {
        padding: 20px;
    }

    .ts-table {
        min-width: 680px;
    }

        .ts-table th, .ts-table td {
            padding: 12px 12px;
        }
}

@media (max-width: 768px) {
    .mb-ts {
        height: auto;
    }

    .ts-container {
        padding: 0 14px;
    }

    .ts-btn {
        width: 100%;
    }

    .ts-hero__cta {
        gap: 10px;
    }

    .ts-table {
        min-width: 640px;
    }
}
