/* ============================================================
   tuoguan.css — /tuoguan/ 国际搬家专题页（重写版）
   PC 1200 容器居中，移动端单列；与 bjjg 老样式完全解耦
   ============================================================ */

.tg { max-width: 1200px; margin: 0 auto; padding-bottom: 40px; box-sizing: border-box; }
.tg img { border: 0; }
.tg a { text-decoration: none; }
.tg ul, .tg li, .tg dl, .tg dd, .tg dt, .tg p, .tg h2, .tg h3 { margin: 0; padding: 0; list-style: none; }

/* ---------- 头图 ---------- */
/* 头图脱离 1200 容器，按视口通栏铺满（模板中已移到 <main> 之前） */
.tg-hero { display: block; width: 100%; }
.tg-hero img { display: block; width: 100%; height: auto; border: 0; }

/* ---------- 一站式 + 五步流程 ---------- */
.tg-intro { display: flex; gap: 20px; margin-top: 20px; align-items: stretch; }
.tg-intro-left { flex: 0 0 340px; background: #f4f4f4; padding: 0 0 16px; box-sizing: border-box; }
.tg-intro-btn {
    display: block; background: #d20202; color: #fff; text-align: center;
    padding: 10px 0; letter-spacing: 2px;
}
.tg-intro-btn:hover { background: #b80101; color: #fff; }
.tg-intro-btn-title {
    display: block; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: 3px;
}
.tg-intro-btn-tel {
    display: block; margin-top: 3px; font-size: 12px; font-weight: 400; letter-spacing: 1px; opacity: .92;
}
.tg-intro-txt { padding: 10px 16px 0; font-size: 13px; color: #555; line-height: 1.75; }
.tg-intro-txt p { margin: 0 0 4px; }
.tg-intro-txt span { color: #d20202; font-weight: 700; padding: 0 2px; }

.tg-steps {
    flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
    background: #f4f4f4; min-width: 0;
}
.tg-step {
    position: relative; text-align: center; padding: 16px 4px 14px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.tg-step:after { content: ""; position: absolute; right: 0; top: 22px; bottom: 22px; width: 1px; background: #e2e2e2; }
.tg-step:last-child:after { display: none; }
.tg-step .tg-step-num {
    display: block; font-size: 10px; color: #bbb; font-weight: 700; letter-spacing: 1.5px;
}
.tg-step i { display: block; width: 42px; height: 42px; }
.tg-step i svg { display: block; width: 42px; height: 42px; }
.tg-step h3 { font-size: 15px; font-weight: 700; color: #333; line-height: 1.3; }
.tg-step p { font-size: 12px; color: #999; line-height: 1.5; }

/* ---------- 通用标题 ---------- */
.tg-h {
    display: flex; align-items: center; justify-content: space-between;
    margin: 38px 0 18px; padding-bottom: 12px; border-bottom: 2px solid #e8e8e8;
}
.tg-h h2 { position: relative; padding-left: 14px; font-size: 24px; font-weight: 700; color: #1a1a1a; line-height: 1.1; }
.tg-h h2:before { content: ""; position: absolute; left: 0; top: 1px; bottom: 1px; width: 4px; background: #d20202; }
.tg-h .tg-more { font-size: 13px; color: #999; white-space: nowrap; }
.tg-h .tg-more:hover { color: #d20202; }

/* ---------- 资讯三栏 ---------- */
.tg-news { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.tg-col { min-width: 0; }

.tg-panel-tit {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 10px; border-bottom: 1px solid #e8e8e8; margin-bottom: 12px;
}
.tg-panel-tit span { font-size: 17px; font-weight: 700; color: #222; }
.tg-panel-tit a { font-size: 12px; color: #999; white-space: nowrap; }
.tg-panel-tit a:hover { color: #d20202; }

.tg-zhuanti a { display: block; }
.tg-zhuanti img { display: block; width: 100%; height: 182px; object-fit: cover; }

.tg-form { background: #f6f6f6; padding: 14px; margin-top: 18px; }
.tg-form-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.tg-form-top span { font-size: 17px; font-weight: 700; color: #222; }
.tg-form-top b { font-size: 17px; color: #333; letter-spacing: .5px; }
.tg-form-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tg-form-row span { flex: 0 0 64px; font-size: 14px; color: #666; }
.tg-form-row input { flex: 1; min-width: 0; height: 34px; border: 1px solid #ddd; background: #fff; padding: 0 10px; font-size: 14px; color: #333; box-sizing: border-box; }
.tg-form-row textarea { flex: 1; min-width: 0; height: 64px; border: 1px solid #ddd; background: #fff; padding: 7px 10px; font-size: 14px; color: #333; box-sizing: border-box; resize: vertical; font-family: inherit; line-height: 1.5; }
.tg-form-row input:focus, .tg-form-row textarea:focus { border-color: #d20202; outline: 0; }
.inq-submit {
    display: block; width: 100%; margin-top: 4px;
    height: 42px; border: 0; background: #d20202; color: #fff;
    font-size: 16px; font-weight: 700; letter-spacing: 2px; cursor: pointer;
    transition: background .15s ease;
}
.inq-submit:hover { background: #b80101; }
.tg-form-btn {
    display: block; width: 100%; height: 42px; line-height: 42px; text-align: center;
    background: #d20202; color: #fff; font-size: 16px; font-weight: 700; margin-top: 4px; letter-spacing: 1px;
}
.tg-form-btn:hover { background: #b80101; color: #fff; }

.tg-list dl { padding: 16px 0; border-bottom: 1px dashed #e5e5e5; }
.tg-list dl:first-child { padding-top: 0; }
.tg-list dl:last-child { border-bottom: 0; padding-bottom: 0; }
.tg-list dt { display: flex; gap: 10px; align-items: flex-start; }
.tg-list dt em {
    flex: 0 0 44px; height: 24px; line-height: 24px; text-align: center;
    background: #d20202; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; border-radius: 2px;
}
.tg-list dt a { font-size: 15px; font-weight: 700; color: #222; line-height: 1.55; overflow-wrap: break-word; }
.tg-list dt a:hover { color: #d20202; }
.tg-list dd { padding-left: 54px; margin-top: 8px; }
.tg-list dd a { display: block; font-size: 13px; color: #7a7a7a; line-height: 1.95; }
.tg-list dd a:hover { color: #d20202; }

.tg-case-img { position: relative; display: block; overflow: hidden; }
.tg-case-img img { display: block; width: 100%; height: 188px; object-fit: cover; }
.tg-case-img span {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; line-height: 1.4; padding: 9px 10px;
}

.tg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.tg-tags a { display: block; background: #f4f4f4; color: #555; font-size: 13px; line-height: 1; padding: 8px 10px; }
.tg-tags a:hover { background: #d20202; color: #fff; }

.tg-top li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed #eee; }
.tg-top li:first-child { padding-top: 0; }
.tg-top li:last-child { border-bottom: 0; }
.tg-top i {
    flex: 0 0 20px; height: 20px; line-height: 20px; text-align: center;
    background: #d20202; color: #fff; font-size: 12px; font-style: normal;
}
.tg-top a { font-size: 13px; color: #444; line-height: 1.65; }
.tg-top a:hover { color: #d20202; }

/* ---------- 广告条 ---------- */
.tg-ad { display: block; margin-top: 30px; }
.tg-ad img { display: block; width: 100%; height: auto; }

/* ---------- 热门搬家城市 ---------- */
.tg-hot-head { display: flex; align-items: stretch; height: 54px; background: #f2f2f2; }
.tg-hot-badge {
    flex: 0 0 104px; background: #d20202; color: #fff; display: flex; flex-direction: column;
    align-items: center; justify-content: center; font-size: 20px; font-weight: 700; line-height: 1.15;
}
.tg-hot-badge span { font-size: 13px; font-weight: 400; letter-spacing: 1px; }
.tg-hot-tips { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.tg-hot-tips a { font-size: 12px; color: #777; white-space: nowrap; }
.tg-hot-tips a:hover { color: #d20202; }
.tg-hot-tabs { flex: 1; display: flex; align-items: stretch; min-width: 0; }
.tg-hot-tab {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #333; border-left: 1px solid #e4e4e4; white-space: nowrap; cursor: pointer;
}
.tg-hot-tab.on { background: #fff; color: #d20202; font-weight: 700; }
.tg-hot-more { flex: 0 0 auto; display: flex; align-items: center; padding: 0 16px; font-size: 13px; color: #888; white-space: nowrap; }
.tg-hot-more:hover { color: #d20202; }

.tg-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; }
.tg-card:hover { border-color: #ddd; box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.tg-card-img { position: relative; display: block; overflow: hidden; }
.tg-card-img img { display: block; width: 100%; height: 178px; object-fit: cover; }
.tg-card-img span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 22px 10px 9px; color: #fff; font-size: 13px; line-height: 1.4;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .72) 100%);
}
.tg-card-body { flex: 1; display: flex; flex-direction: column; padding: 10px 12px 12px; }
.tg-card-body p { font-size: 12px; color: #777; line-height: 1.85; }
.tg-card-tag { margin-top: auto; padding-top: 10px; font-size: 12px; color: #d20202; }

/* ---------- 主要城市 + 包装案例 ---------- */
.tg-city { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.tg-city-aside { position: sticky; top: 12px; align-self: start; }
.tg-city-ask { margin-top: 16px; background: #f7f7f7; padding: 16px 14px; text-align: center; }
.tg-city-ask b { display: block; font-size: 13px; font-weight: 400; color: #888; }
.tg-city-ask strong { display: block; margin: 6px 0 4px; font-size: 20px; color: #d20202; letter-spacing: .5px; }
.tg-city-ask p { font-size: 12px; color: #888; line-height: 1.7; }
.tg-city-ask-btn { display: block; height: 38px; line-height: 38px; margin-top: 10px; background: #d20202; color: #fff; font-size: 14px; }
.tg-city-ask-btn:hover { background: #b80101; color: #fff; }
.tg-city-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tg-city-tags a {
    display: block; background: #f5f5f5; color: #444; font-size: 13px; line-height: 1;
    padding: 12px 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tg-city-tags a:hover { background: #d20202; color: #fff; }

.tg-tabs { display: flex; align-items: stretch; border-bottom: 1px solid #e5e5e5; }
.tg-tabs .tg-tabs-label { flex: 0 0 132px; font-size: 16px; font-weight: 700; color: #222; padding: 11px 0; }
.tg-tabs .tg-tab {
    flex: 1 1 0; text-align: center; font-size: 14px; color: #666; padding: 12px 0 11px;
    cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tg-tabs .tg-tab.on { color: #d20202; font-weight: 700; border-bottom-color: #d20202; }

.tg-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tg-case { display: block; background: #fff; border: 1px solid #eee; }
.tg-case:hover { border-color: #ddd; box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.tg-case-pic { position: relative; display: block; overflow: hidden; }
.tg-case-pic img { display: block; width: 100%; height: 168px; object-fit: cover; }
.tg-case-pic span {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .58); color: #fff; font-size: 13px; line-height: 1.4; padding: 8px 10px;
}
.tg-case-txt { padding: 10px 12px 12px; }
.tg-case-txt p { font-size: 12px; color: #7a7a7a; line-height: 1.85; }
.tg-case-more {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 248px; background: #fafafa; border: 1px dashed #ddd;
}
.tg-case-more span { display: block; padding: 12px; }
.tg-case-more b { display: block; font-size: 15px; color: #444; font-weight: 600; margin-bottom: 8px; }
.tg-case-more i { display: block; font-style: normal; font-size: 13px; color: #d20202; }
.tg-pane { display: none; }
.tg-pane.on { display: grid; }

/* 国内案例按城市切换时保持高度稳定，避免页面跳动 */
.tg-panes[data-group="dom"] { min-height: 560px; }

/* 国内案例按城市切换时保持高度稳定，避免页面跳动 */
.tg-panes[data-group="dom"] { min-height: 560px; }

/* ---------- 国际搬家指南 ---------- */
.tg-guide { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.tg-guide-pic a { display: block; }
.tg-guide-pic img { display: block; width: 100%; height: 232px; object-fit: cover; }
.tg-guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.tg-guide-list ul { min-width: 0; }
.tg-guide-list li { display: flex; gap: 4px; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; }
.tg-guide-list li em { flex: 0 0 auto; font-style: normal; font-size: 13px; color: #d20202; line-height: 1.9; }
.tg-guide-list li a { font-size: 13px; color: #666; line-height: 1.9; overflow-wrap: break-word; }
.tg-guide-list li a:hover { color: #d20202; }

/* ---------- 热门城市价格 ---------- */
.tg-price dl { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed #e8e8e8; }
.tg-price dl:last-child { border-bottom: 0; }
.tg-price dt { flex: 0 0 90px; font-size: 14px; font-weight: 700; color: #333; line-height: 2; }
.tg-price dd { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 20px; }
.tg-price dd a { font-size: 13px; color: #777; line-height: 2; white-space: nowrap; }
.tg-price dd a:hover { color: #d20202; }

/* ============================================================
   ≤768 移动端
   ============================================================ */
@media screen and (max-width: 768px) {
    .tg { padding: 0 12px 30px; }

    .tg-intro { flex-direction: column; gap: 12px; margin-top: 12px; }
    .tg-intro-left { flex: none; width: 100%; padding: 0 0 14px; }
    .tg-intro-btn { padding: 10px 12px; }
    .tg-intro-btn-title { font-size: 20px; letter-spacing: 2px; }
    .tg-intro-btn-tel { font-size: 11px; letter-spacing: 0.5px; }
    .tg-intro-txt { padding: 10px 14px 0; font-size: 13px; line-height: 1.75; }
    .tg-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tg-step { padding: 16px 4px 14px; }
    .tg-step:after { top: 22px; bottom: 22px; }
    .tg-step:nth-child(3n):after { display: none; }
    .tg-step:nth-child(-n+3):before {
        content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: #e6e6e6;
    }
    .tg-step i, .tg-step i svg { width: 38px; height: 38px; }
    .tg-step h3 { font-size: 14px; }
    .tg-step p { font-size: 11px; }

    .tg-h { margin: 26px 0 14px; padding-bottom: 10px; }
    .tg-h h2 { font-size: 19px; padding-left: 11px; }
    .tg-h h2:before { width: 3px; }

    .tg-news { grid-template-columns: 1fr; gap: 26px; }
    /* iOS 上 <16px 的输入框会触发自动放大 */
    .tg-form-row input { font-size: 16px; height: 38px; }
    .tg-form-row textarea { font-size: 16px; }
    .tg-zhuanti img { height: auto; }
    .tg-form { margin-top: 14px; }
    .tg-case-img img { height: auto; }

    .tg-hot-head { flex-wrap: wrap; height: auto; }
    .tg-hot-badge { flex: 0 0 92px; height: 44px; flex-direction: row; gap: 4px; font-size: 15px; }
    .tg-hot-badge span { font-size: 13px; }
    .tg-hot-tips { flex: 1 1 auto; gap: 10px; padding: 0 10px; justify-content: flex-end; }
    .tg-hot-tips a { font-size: 12px; }
    .tg-hot-tabs { flex: 1 0 100%; order: 3; }
    .tg-hot-tab { height: 44px; font-size: 14px; border-top: 1px solid #e4e4e4; }
    .tg-hot-tab:first-child { border-left: 0; }
    .tg-hot-more { order: 2; height: 44px; padding: 0 10px; }

    .tg-cards { grid-template-columns: 1fr; gap: 12px; }
    .tg-card-img img { height: auto; }
    .tg-card-body p { font-size: 12px; }

    .tg-city { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .tg-city-aside { position: static; min-width: 0; width: 100%; overflow: hidden; }
    .tg-city-tags {
        display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding-bottom: 6px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .tg-city-tags::-webkit-scrollbar { display: none; }
    .tg-city-tags a { flex: 0 0 auto; padding: 10px 14px; }
    .tg-tabs { overflow-x: auto; scrollbar-width: none; }
    .tg-tabs::-webkit-scrollbar { display: none; }
    .tg-tabs .tg-tabs-label { flex: 0 0 auto; font-size: 14px; padding: 11px 12px 11px 0; white-space: nowrap; }
    .tg-tabs .tg-tab { flex: 0 0 auto; padding: 11px 16px; font-size: 14px; }

    .tg-panes[data-group="dom"] { min-height: 0; }
    .tg-case-more { min-height: 130px; }
    .tg-panes[data-group="dom"] { min-height: 0; }
    .tg-cases { grid-template-columns: 1fr; gap: 12px; }
    .tg-case-pic img { height: auto; }

    .tg-guide { grid-template-columns: 1fr; gap: 14px; }
    .tg-guide-pic img { height: auto; }
    .tg-guide-list { grid-template-columns: 1fr; gap: 0; }

    .tg-price dl { flex-direction: column; gap: 4px; padding: 14px 0; }
    .tg-price dt { flex: none; font-size: 14px; }
    .tg-price dd { gap: 0 16px; }
    .tg-price dd a { line-height: 2.1; }

    .tg-ad { margin-top: 22px; }
}
