@charset "utf-8";
/* 적용분야 페이지 – 사이트 공통 컨셉(화이트 + 그린 포인트) */
.tma { --tma-g: #059669; --tma-gd: #047857; --tma-gl: #ECFDF5; --tma-gb: #A7F3D0; --tma-ink: #0F172A; --tma-sub: #475569; --tma-mute: #64748B; --tma-line: #E2E8F0; }
.tma .tm-application-page__content { display: flex; flex-direction: column; gap: 56px; min-width: 0; }

/* 사이드 메뉴 */
.tma .tm-application-side__box { border: 1px solid var(--tma-line); border-radius: 18px; background: #fff; box-shadow: none; }
.tma .tm-application-side__box > p { color: var(--tma-g); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.tma .tm-application-side__box > strong { color: var(--tma-ink); }
.tma .tm-application-side__box nav a { border-radius: 10px; color: var(--tma-sub); }
.tma .tm-application-side__box nav a:hover { background: #F8FAFC; color: var(--tma-ink); }
.tma .tm-application-side__box nav a.is-active { background: var(--tma-gl); color: var(--tma-gd); font-weight: 760; }

/* 공통 */
.tma-eyebrow, .tma-head p { margin: 0 0 10px; color: var(--tma-g); font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.tma-head { margin-bottom: 20px; }
.tma-head h2 { margin: 0; color: var(--tma-ink); font-size: 28px; font-weight: 900; letter-spacing: -.035em; line-height: 1.3; }
.tma-head span { display: block; margin-top: 8px; color: var(--tma-mute); font-size: 15px; line-height: 1.6; }
.tma-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border: 1px solid var(--tma-line); border-radius: 12px; background: #fff; color: var(--tma-ink); font-size: 15px; font-weight: 760; text-decoration: none; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.tma-btn:hover { border-color: var(--tma-g); color: var(--tma-gd); }
.tma-btn--primary { border-color: var(--tma-g); background: var(--tma-g); color: #fff; }
.tma-btn--primary:hover { background: var(--tma-gd); border-color: var(--tma-gd); color: #fff; }

/* 소개 */
.tma-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tma-intro h2 { margin: 0; color: var(--tma-ink); font-size: 30px; word-break: keep-all; font-weight: 900; letter-spacing: -.04em; line-height: 1.25; }
.tma-intro__line { margin: 12px 0 0; color: var(--tma-gd); font-size: 17px; font-weight: 760; letter-spacing: -.02em; }
.tma-intro__desc { margin: 14px 0 0; color: var(--tma-sub); font-size: 16px; line-height: 1.75; word-break: keep-all; }
.tma-intro__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tma-check { padding: 24px; border: 1px solid var(--tma-gb); border-radius: 20px; background: var(--tma-gl); }
.tma-check strong { display: block; margin-bottom: 14px; color: var(--tma-ink); font-size: 16px; font-weight: 800; }
.tma-check ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tma-check li { position: relative; padding-left: 28px; color: var(--tma-sub); font-size: 15px; line-height: 1.55; word-break: keep-all; }
.tma-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--tma-g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* 세부 분야 */
.tma-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tma-field { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border: 1px solid var(--tma-line); border-radius: 18px; background: #fff; color: var(--tma-ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
a.tma-field:hover { transform: translateY(-2px); border-color: var(--tma-g); box-shadow: 0 12px 28px rgba(15,23,42,.06); }
.tma-field em { color: var(--tma-g); font-size: 13px; font-style: normal; font-weight: 800; letter-spacing: .06em; }
.tma-field h3 { margin: 0; font-size: 19px; font-weight: 820; letter-spacing: -.03em; line-height: 1.4; }
.tma-field p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--tma-sub); font-size: 14.5px; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tma-field p b { margin-right: 8px; color: var(--tma-ink); font-weight: 760; }
.tma-field ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.tma-field li { padding: 5px 10px; border-radius: 999px; background: #F1F5F9; color: var(--tma-sub); font-size: 12.5px; font-weight: 680; }
.tma-field__more { margin-top: auto; padding-top: 4px; color: var(--tma-mute); font-size: 13.5px; font-weight: 760; transition: color .18s ease; }
.tma-field__more::after { content: " →"; }
a.tma-field:hover .tma-field__more { color: var(--tma-g); }

/* 추천 제품 – 카테고리 카드와 동일 */
html body .tma .tm-application-recommend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
html body .tma .tm-application-recommend-product { display: flex; flex-direction: column; gap: 0; overflow: hidden; padding: 0; border: 1px solid var(--tma-line); border-radius: 14px; background: #fff; box-shadow: none; color: var(--tma-ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
html body .tma .tm-application-recommend-product:hover { transform: translateY(-2px); border-color: var(--tma-g); box-shadow: 0 10px 24px rgba(15,23,42,.06); }
html body .tma .tm-application-recommend-product__thumb { display: flex; align-items: center; justify-content: center; height: 150px; margin: 0; padding: 16px; border: 0; border-bottom: 1px solid #F1F5F9; border-radius: 0; background: #fff; aspect-ratio: auto; }
html body .tma .tm-application-recommend-product__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html body .tma .tm-application-recommend-product strong { display: -webkit-box; overflow: hidden; margin: 0; padding: 12px 14px 0; color: var(--tma-ink); font-size: 13.5px; font-weight: 680; line-height: 1.45; letter-spacing: -.018em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html body .tma .tm-application-recommend-product em { margin-top: auto; padding: 8px 14px 14px; color: #94A3B8; font-size: 12px; font-style: normal; font-weight: 750; }
html body .tma .tm-application-recommend-product em::after { content: " →"; }
html body .tma .tm-application-recommend-product:hover em { color: var(--tma-g); }
.tma .tm-application-product-grid--fallback { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tma .tm-application-product-grid--fallback article { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--tma-line); border-radius: 14px; background: #fff; }
.tma .tm-application-product-grid--fallback em { color: var(--tma-g); font-style: normal; font-weight: 800; }
.tma .tm-application-recommend-empty { padding: 28px; border: 1px dashed var(--tma-line); border-radius: 14px; color: var(--tma-mute); text-align: center; }

/* 측정 항목으로 더 찾기 */
.tma-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tma-cats a { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--tma-line); border-radius: 16px; background: #fff; color: var(--tma-ink); text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.tma-cats a:hover { border-color: var(--tma-g); background: var(--tma-gl); }
.tma-cats__ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tma-gl); color: var(--tma-g); }
.tma-cats a:hover .tma-cats__ic { background: var(--tma-g); color: #fff; }
.tma-cats__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tma-cats b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.tma-cats b::after { content: " →"; color: var(--tma-g); }
.tma-cats em { display: block; margin-top: 3px; color: var(--tma-mute); font-size: 12.5px; font-style: normal; }

/* 관련 브랜드 */
html body .tma .tm-application-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
html body .tma .tm-application-brand-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; padding: 18px 14px; border: 1px solid var(--tma-line); border-radius: 14px; background: #fff; box-shadow: none; color: var(--tma-ink); text-align: center; text-decoration: none; transition: border-color .18s ease; }
html body .tma a.tm-application-brand-card:hover { border-color: var(--tma-g); }
html body .tma .tm-application-brand-card span { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; margin: 0; padding: 0; border: 0; background: none; }
html body .tma .tm-application-brand-card img { max-width: 110px; max-height: 40px; object-fit: contain; }
html body .tma .tm-application-brand-card strong { font-size: 13px; font-weight: 760; color: var(--tma-sub); }
html body .tma .tm-application-brand-card em { color: #94A3B8; font-size: 12px; font-style: normal; font-weight: 700; }
html body .tma a.tm-application-brand-card:hover em { color: var(--tma-g); }

/* 하단 상담 */
.tma-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 30px; border: 1px solid var(--tma-gb); border-radius: 20px; background: var(--tma-gl); }
.tma-cta b { display: block; color: var(--tma-ink); font-size: 19px; font-weight: 820; letter-spacing: -.03em; }
.tma-cta span { display: block; margin-top: 6px; color: var(--tma-sub); font-size: 15px; }
.tma-cta__btns { display: flex; flex: 0 0 auto; gap: 8px; }

@media (max-width: 1180px) {
    html body .tma .tm-application-recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tma-intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
    .tma .tm-application-page__inner { grid-template-columns: minmax(0, 1fr); }
    .tma .tm-application-page__content { gap: 44px; }
    .tma-intro h2 { font-size: 27px; }
    .tma-head h2 { font-size: 23px; }
    .tma-fields, .tma .tm-application-product-grid--fallback { grid-template-columns: minmax(0, 1fr); }
    .tma-cats { grid-template-columns: minmax(0, 1fr); }
    html body .tma .tm-application-recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    html body .tma .tm-application-recommend-product__thumb { height: 120px; }
    .tma-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
    .tma-cta__btns { width: 100%; }
    .tma-cta__btns .tma-btn { flex: 1 1 0; }
}

/* 모바일: 세부 분야 메뉴를 가로 칩으로, 스크롤 따라오기 */
@media (max-width: 920px) {
    body, .tm-site, .tm-content { overflow-x: clip !important; overflow-y: visible !important; }
    .tma .tm-application-side { position: sticky; top: var(--tm-header-h-mobile, 60px); z-index: 30; margin: -24px -24px 24px; padding: 0 24px; border-bottom: 1px solid var(--tma-line); background: rgba(255,255,255,.97); }
    .tma .tm-application-side__box { position: static; padding: 10px 0; border: 0; border-radius: 0; background: none; }
    .tma .tm-application-side__box > p, .tma .tm-application-side__box > strong, .tma .tm-application-side__group { display: none !important; }
    .tma .tm-application-side__box nav { display: flex; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .tma .tm-application-side__box nav::-webkit-scrollbar { display: none; }
    .tma .tm-application-side__box nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--tma-line); border-radius: 999px; font-size: 14px; white-space: nowrap; }
    .tma .tm-application-side__box nav a.is-active { border-color: var(--tma-g); background: var(--tma-g); color: #fff; }
}
