﻿/* 홈 전용 표면. 공통 마스터/검색 UI의 스타일과 동작은 유지합니다. */
.ts-site:has(.ts-home) { background: #f7f8f5; }
.ts-site:has(.ts-home) .ts-header-inner { padding-top: 18px; padding-bottom: 18px; }
.ts-site:has(.ts-home) .ts-header-link { color: #3e5355; }
.ts-site:has(.ts-home) .ts-account .ts-button { min-height: 36px; padding: 6px 16px; font-size: 12px; }
.ts-site:has(.ts-home) .ts-content { max-width: 1160px; }
.ts-site .ts-home { padding: 34px 0 12px; font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
.ts-site .ts-home a, .ts-site .ts-home td { font-family: inherit; }
.ts-site .ts-home-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; min-height: 342px; gap: 18px; padding: 12px 28px 30px; }
.ts-site .ts-home-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #52645a; font-size: 12px; font-weight: 600; letter-spacing: .1px; }
.ts-site .ts-home-kicker > span { width: 7px; height: 7px; background: #d46932; border-radius: 50%; }
.ts-site .ts-home h1 { color: #203a3e; font-size: clamp(30px, 3.4vw, 43px); font-weight: 750; line-height: 1.4; letter-spacing: -1.8px; margin: 0; }
.ts-site .ts-home h1 em { color: #c45929; font-style: normal; }
.ts-site .ts-home-lead { color: #637269; font-size: 14px; line-height: 1.85; margin: 19px 0 27px; letter-spacing: -.3px; }
.ts-site .ts-home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 27px; }
.ts-site .ts-home-search-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 14px 21px; border-radius: 9px; background: #24464a; color: #fff; font-size: 14px; font-weight: 700; transition: background .15s; }
.ts-site .ts-home-search-link:hover { background: #17373b; }
.ts-site .ts-home-search-link span { font-size: 19px; line-height: 1; font-weight: 400; }
.ts-site .ts-home-sell-link { color: #5f7069; font-size: 12px; font-weight: 600; padding: 12px 0; }
.ts-site .ts-home-sell-link span { margin-left: 9px; }
.ts-site .ts-home-sell-link:hover { color: #b7562b; }
.ts-site .ts-home-illustration { max-width: 420px; width: 100%; justify-self: end; text-align: center; }
.ts-site .ts-home-illustration svg { display: block; width: 100%; height: auto; }
.ts-site .ts-home-art-caption { color: #94a199; font-size: 9px; font-weight: 600; letter-spacing: 2px; }
.ts-site .ts-home-notice { display: flex; gap: 14px; align-items: center; background: #edf1e9; border: 1px solid #e4e9df; border-radius: 10px; padding: 13px 20px; margin: 15px 0 38px; }
.ts-site .ts-home-notice-label { flex-shrink: 0; color: #4f6b4d; background: #dde7d7; border-radius: 5px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.ts-site .ts-home-notice-content { min-width: 0; flex: 1; }
.ts-site .ts-home-notice table, .ts-site .ts-home-notice td { border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0; }
.ts-site .ts-home-notice p { margin: 0 !important; }
.ts-site .ts-home-notice p[hidden] { display: none !important; }
.ts-site .ts-home-notice span, .ts-site .ts-home-notice strong { color: #5b6f54 !important; font-size: 12px !important; line-height: 1.7; font-weight: 500; }
.ts-site .ts-home-notice a { text-decoration: underline; text-underline-offset: 3px; }
.ts-site .ts-home-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 2px 18px; }
.ts-site .ts-home-section-kicker { margin: 0 0 6px; color: #9a866a; letter-spacing: 1.8px; font-size: 9px; font-weight: 700; }
.ts-site .ts-home-section-heading h2 { color: #253d40; font-size: 22px; letter-spacing: -.7px; line-height: 1.5; margin: 0; }
.ts-site .ts-home-section-heading > p { color: #68786d; font-size: 12px; margin: 0 0 3px; }
.ts-site .ts-home-menu { display: grid; width: 100%; border-collapse: separate; border: 0; }
.ts-site .ts-home-menu > tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ts-site .ts-home-menu > tbody > tr { display: contents; }
.ts-site .ts-home-menu > tbody > tr > td { display: block; min-width: 0; padding: 0; white-space: normal !important; border: 0; background: transparent; text-align: left; }
.ts-site .ts-home-card { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; min-height: 112px; padding: 21px 20px; background: #fff; border: 1px solid #e5e9e2; border-radius: 12px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ts-site .ts-home-card:hover { border-color: #c7d4c3; box-shadow: 0 6px 18px #243e4210; transform: translateY(-2px); }
.ts-site .ts-home-card-icon { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 43px; height: 43px; border-radius: 12px; background: #f5f2e9; color: #946849; }
.ts-site .ts-home-card-icon svg { width: 25px; height: 25px; }
.ts-site .ts-home-card-copy { display: block; min-width: 0; }
.ts-site .ts-home-card-copy strong { display: block; color: #2c4245; font-size: 15px; font-weight: 700; margin-bottom: 5px; letter-spacing: -.3px; }
.ts-site .ts-home-card-copy small { display: block; color: #63736b; font-size: 12px; line-height: 1.6; }
.ts-site .ts-home-card-arrow { position: absolute; top: 13px; right: 14px; font-size: 14px; color: #b4bdb7; line-height: 1; }
.ts-site .ts-home-submenu { border: 1px solid #e4e9df; border-radius: 8px; margin-top: 8px; padding: 10px; font-size: 12px; }
.ts-site .ts-home-submenu summary { cursor: pointer; padding: 3px; }
.ts-site .ts-home-submenu .ts-home-card { margin-top: 8px; padding: 12px; min-height: 80px; }
.ts-site:has(.ts-home) .ts-footer { max-width: 1104px; margin: 32px auto 0; padding-top: 28px; border-top: 1px solid #e4e9e2; }
@media (max-width: 900px) {
    .ts-site .ts-home-hero { padding: 12px 8px 22px; gap: 0; grid-template-columns: 1.25fr 1fr; min-height: 316px; }
    .ts-site .ts-home h1 { font-size: 32px; letter-spacing: -1.4px; }
    .ts-site .ts-home-lead { font-size: 12px; }
    .ts-site .ts-home-card { flex-direction: column; align-items: flex-start; padding: 18px; gap: 13px; min-height: 146px; }
    .ts-site .ts-home-card-copy strong { font-size: 14px; }
    .ts-site .ts-home-section-heading > p { font-size: 11px; }
}
@media (max-width: 600px) {
    .ts-site .ts-home { padding-top: 27px; }
    .ts-site .ts-home-hero { display: block; min-height: 0; padding: 6px 6px 15px; }
    .ts-site .ts-home-illustration { display: none; }
    .ts-site .ts-home h1 { font-size: 31px; letter-spacing: -1.4px; }
    .ts-site .ts-home-kicker { font-size: 11px; margin-bottom: 17px; }
    .ts-site .ts-home-lead { font-size: 12px; margin: 17px 0 22px; }
    .ts-site .ts-home-hero-actions { gap: 20px; margin-top: 22px; }
    .ts-site .ts-home-search-link { gap: 25px; padding: 13px 17px; font-size: 13px; }
    .ts-site .ts-home-sell-link { font-size: 11px; }
    .ts-site .ts-home-notice { margin-top: 16px; margin-bottom: 30px; gap: 9px; padding: 12px; }
    .ts-site .ts-home-notice span, .ts-site .ts-home-notice strong { font-size: 11px !important; }
    .ts-site .ts-home-section-heading { margin-bottom: 15px; display: block; }
    .ts-site .ts-home-section-heading h2 { font-size: 20px; }
    .ts-site .ts-home-section-heading > p { margin-top: 7px; }
    .ts-site .ts-home-menu > tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ts-site .ts-home-card { padding: 17px 14px; min-height: 136px; gap: 13px; }
    .ts-site .ts-home-card-icon { width: 37px; height: 37px; border-radius: 10px; }
    .ts-site .ts-home-card-icon svg { width: 23px; height: 23px; }
    .ts-site .ts-home-card-copy strong { font-size: 14px; }
    .ts-site .ts-home-card-copy small { font-size: 11px; }
    .ts-site:has(.ts-home) .ts-footer { margin: 28px 16px 0; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .ts-site .ts-home-card, .ts-site .ts-home-search-link { transition: none; }
    .ts-site .ts-home-card:hover { transform: none; }
}
