/* 단지 실거래가 페이지 + 단지 허브 실거래 요약 */
.tx-hero { padding-bottom: clamp(64px, 7vw, 100px); }
.tx-hero-copy { padding-top: clamp(50px, 6vw, 84px); max-width: 760px; }
.tx-hero-copy h1 { margin: 0 0 24px; font-size: clamp(2.6rem, 4.6vw, 4.8rem); line-height: 1.08; }
.tx-lead { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.85; }
.tx-updated { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

.tx-latest { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0; margin: 52px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.tx-latest-card { display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 24px 0; border-bottom: 1px solid var(--line); }
.tx-latest-card + .tx-latest-card { padding-left: 22px; border-left: 1px solid var(--line); }
.tx-latest-label { color: var(--orange); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.tx-latest-card strong { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -.03em; }
.tx-latest-card .tx-latest-empty { color: var(--muted); font-size: 1.15rem; }
.tx-latest-meta { color: var(--muted); font-size: .82rem; line-height: 1.6; }

.tx-table-wrap { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tx-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: .94rem; font-variant-numeric: tabular-nums; }
.tx-table th, .tx-table td { padding: 17px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tx-table thead th { color: var(--muted); font-size: .8rem; font-weight: 600; }
.tx-table tbody th { font-weight: 600; }
.tx-price { font-weight: 700; }
.tx-badge { display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .78rem; font-weight: 600; }
.tx-cancelled td { color: #a19d96; }
.tx-cancelled .tx-price { text-decoration: line-through; }

.tx-panel { margin-top: 48px; }
.tx-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-tab { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .92rem; font-weight: 600; cursor: pointer; }
.tx-tab:hover { border-color: var(--ink); }
.tx-tab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.tx-tab:focus-visible, .tx-filters select:focus-visible, .tx-more:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; color: var(--muted); font-size: .86rem; }
.tx-filters label { display: inline-flex; align-items: center; gap: 10px; }
.tx-filters select { min-height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .92rem; }
.tx-check { cursor: pointer; }
.tx-check input { width: 18px; height: 18px; accent-color: var(--green); }
.tx-count { margin: 30px 0 0; color: var(--muted); font-size: .86rem; }
.tx-panel .tx-table-wrap { margin-top: 12px; }
.tx-empty { margin: 0; padding: 40px 0; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.tx-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.tx-more { border-color: var(--ink); background: transparent; color: var(--ink); min-width: 180px; }
.tx-more:hover { background: var(--ink); color: #fff; }

.tx-notes { padding: clamp(56px, 6vw, 84px) 0; }
.tx-notes-title { margin: 0 0 18px; font: 700 1rem var(--sans); letter-spacing: 0; }
.tx-notes ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .88rem; line-height: 1.9; }
.tx-next { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.tx-next p { margin: 0; color: var(--muted); }
.tx-next strong { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.tx-next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tx-next-call { border-color: var(--ink); color: var(--ink); }

/* 새로 공개된 실거래 */
.tx-new-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--ink); color: var(--muted); font-size: .92rem; }
.tx-new-summary strong { color: var(--ink); font-family: var(--serif); font-size: 1.7rem; }
.tx-new-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tx-new-range li { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px 0; border-bottom: 1px solid var(--line); }
.tx-new-range li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.tx-new-range span { color: var(--orange); font-size: .78rem; font-weight: 700; }
.tx-new-range strong { font-family: var(--serif); font-size: 1.35rem; }
.tx-new-range em { color: var(--muted); font-size: .82rem; font-style: normal; }
.tx-new .tx-table-wrap { margin-top: 26px; }
@media (max-width: 720px) {
  .tx-new-range { grid-template-columns: 1fr; }
  .tx-new-range li + li { padding-left: 0; border-left: 0; }
}

/* 단지 허브 실거래 요약 */
.hub-transactions-new { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hub-transactions .tx-latest { margin-top: 58px; }
.hub-transactions-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 30px; color: var(--muted); font-size: .84rem; }
.hub-transactions-foot .button { border-color: var(--ink); color: var(--ink); }
.hub-transactions-foot .button:hover { background: var(--ink); color: #fff; }

@media (max-width: 980px) {
  .tx-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
  .tx-latest-card:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  .tx-hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.3rem); }
  .tx-lead br { display: none; }
  .tx-latest-card { padding: 20px 14px 18px 0; }
  .tx-latest-card + .tx-latest-card { padding-left: 14px; }
  .tx-latest-card:nth-child(3) { padding-left: 0; }
  .tx-table th, .tx-table td { padding: 13px 5px; font-size: .8rem; }
  .tx-table th:first-child, .tx-table td:first-child { padding-left: 0; }
  .tx-list th:nth-child(6), .tx-list td:nth-child(6) { display: none; }
  .tx-badge { padding: 2px 7px; font-size: .72rem; }
  .tx-list .tx-price { white-space: normal; }
  .tx-filters label:not(.tx-check) { width: 100%; justify-content: space-between; }
  .tx-filters select { flex: 1; max-width: 70%; }
  .tx-next { grid-template-columns: 1fr; }
  .tx-next-actions .button { flex: 1 1 100%; }
}
