/* Temperature guide page - company subpage layout aligned */
.tm-temp-guide-page {
    background: #FFFFFF;
}
.tm-temp-guide {
    color: #0F172A;
}
.tm-temp-guide * {
    box-sizing: border-box;
}
.tm-temp-guide-intro,
.tm-temp-guide-section {
    margin: 0 0 clamp(56px, 6vw, 88px);
}
.tm-temp-guide-summary,
.tm-temp-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1120px;
    margin: 0 auto;
}
.tm-temp-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
}
.tm-temp-guide-summary article,
.tm-temp-info-grid article,
.tm-temp-table-card,
.tm-temp-check-card,
.tm-temp-junction-card {
    min-width: 0;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: none;
}
.tm-temp-guide-summary article,
.tm-temp-info-grid article {
    padding: 24px;
}
.tm-temp-guide-summary em,
.tm-temp-info-grid em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border: 1px solid #D1FAE5;
    border-radius: 999px;
    background: #ECFDF5;
    color: #047857;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}
.tm-temp-guide-summary h3,
.tm-temp-info-grid h3 {
    margin: 0 0 10px;
    color: #0F172A;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.02em;
}
.tm-temp-guide-summary p,
.tm-temp-info-grid p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}
.tm-temp-junction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.tm-temp-junction-card {
    overflow: hidden;
    transition: border-color .22s ease, transform .22s ease;
}
.tm-temp-junction-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
}
.tm-temp-junction-card figure {
    margin: 0;
    padding: 18px;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC;
}
.tm-temp-junction-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 12px;
    background: #FFFFFF;
}
.tm-temp-junction-card div {
    padding: 22px 24px 24px;
}
.tm-temp-junction-card b {
    display: block;
    color: #0F172A;
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.025em;
}
.tm-temp-junction-card span {
    display: block;
    margin-top: 6px;
    color: #059669;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tm-temp-junction-card p {
    margin: 14px 0 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}
.tm-temp-table-card {
    padding: clamp(18px, 2.8vw, 28px);
}
.tm-temp-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #FFFFFF;
}
.tm-temp-table {
    width: 100%;
    min-width: 840px;
    border-collapse: collapse;
}
.tm-temp-table th {
    padding: 15px 16px;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #334155;
    font-size: 14px;
    font-weight: 850;
    text-align: left;
    white-space: nowrap;
}
.tm-temp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.65;
    word-break: keep-all;
}
.tm-temp-table tbody tr:last-child td {
    border-bottom: 0;
}
.tm-temp-table b {
    color: #0F172A;
    font-weight: 900;
}
.tm-temp-note {
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px solid #D1FAE5;
    border-radius: 14px;
    background: #ECFDF5;
    color: #047857;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.65;
    word-break: keep-all;
}
.tm-temp-check-card {
    padding: clamp(22px, 3vw, 34px);
}
.tm-temp-check-card ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tm-temp-check-card li {
    position: relative;
    min-height: 48px;
    padding: 14px 16px 14px 40px;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #FFFFFF;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}
.tm-temp-check-card li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #059669;
    box-shadow: 0 0 0 4px #D1FAE5;
}
.tm-temp-guide-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(56px, 6vw, 88px);
    padding: clamp(28px, 4vw, 44px);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 150, 105, .18), transparent 36%),
        #0F172A;
    color: #FFFFFF;
}
.tm-temp-guide-cta p {
    margin: 0 0 12px;
    color: #9FE870;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}
.tm-temp-guide-cta h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.22;
}
.tm-temp-guide-cta span {
    display: block;
    margin-top: 12px;
    color: #CBD5E1;
    font-size: 16px;
    line-height: 1.75;
    word-break: keep-all;
}
.tm-temp-guide-cta a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #059669;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .22s ease, background .22s ease;
}
.tm-temp-guide-cta a:hover {
    transform: translateY(-2px);
    background: #047857;
    color: #FFFFFF;
}
@media (max-width: 1180px) {
    .tm-temp-junction-grid,
    .tm-temp-info-grid,
    .tm-temp-check-card ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .tm-temp-guide-summary,
    .tm-temp-junction-grid,
    .tm-temp-info-grid,
    .tm-temp-check-card ul {
        grid-template-columns: 1fr;
    }
    .tm-temp-junction-card figure {
        padding: 14px;
    }
    .tm-temp-guide-cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .tm-temp-guide-cta a {
        width: 100%;
    }
}

/* Thermocouple wire guide */
.tm-wire-guide-page {
    background: #FFFFFF;
}
.tm-wire-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 16px;
    align-items: stretch;
}
.tm-wire-photo-card,
.tm-wire-spec-card,
.tm-wire-large-card {
    min-width: 0;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    overflow: hidden;
}
.tm-wire-photo-card figure,
.tm-wire-chart {
    margin: 0;
}
.tm-wire-photo-card figure {
    padding: 18px;
    background: #F8FAFC;
}
.tm-wire-photo-card img,
.tm-wire-chart img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #FFFFFF;
}
.tm-wire-spec-card {
    padding: clamp(20px, 2.6vw, 28px);
}
.tm-wire-spec-card h3 {
    margin: 0 0 18px;
    color: #0F172A;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.025em;
}
.tm-wire-spec-table-wrap {
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
}
.tm-wire-spec-table {
    width: 100%;
    border-collapse: collapse;
}
.tm-wire-spec-table th,
.tm-wire-spec-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 14px;
    line-height: 1.6;
    vertical-align: top;
}
.tm-wire-spec-table tr:last-child th,
.tm-wire-spec-table tr:last-child td {
    border-bottom: 0;
}
.tm-wire-spec-table th {
    width: 110px;
    background: #F8FAFC;
    color: #334155;
    font-weight: 850;
}
.tm-wire-spec-table td {
    color: #0F172A;
    font-weight: 750;
}
.tm-wire-spec-table td span {
    color: #64748B;
    font-weight: 650;
}
.tm-wire-large-card {
    padding: clamp(18px, 2.6vw, 28px);
}
.tm-wire-large-card__copy {
    margin-bottom: 18px;
}
.tm-wire-large-card__copy ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tm-wire-large-card__copy li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}
.tm-wire-large-card__copy li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #059669;
}
.tm-wire-chart {
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
}
@media (max-width: 1180px) {
    .tm-wire-overview-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .tm-wire-photo-card figure,
    .tm-wire-large-card,
    .tm-wire-spec-card {
        padding: 14px;
    }
    .tm-wire-spec-card h3 {
        font-size: 20px;
    }
    .tm-wire-spec-table th,
    .tm-wire-spec-table td {
        padding: 12px 14px;
    }
}
