.restored { margin: 0; background: var(--tint); color: #242424; }
.restored-wrap { max-width: var(--site-width); margin: auto; background: #fff; }
.restored-header { padding: 12px 20px; background: var(--tint) right center / auto 100% no-repeat; min-height: 100px; display: grid; align-items: center; }
.restored-header a { display: flex; gap: 18px; align-items: center; color: var(--accent); }
.restored-header strong { font-size: clamp(19px, 3vw, 28px); line-height: 1.35; }
.site-gzhstech .restored-header { background-color: #164f83; background-size: cover; }
.site-gzhstech .restored-header a { color: #fff; }
.site-ty022 .restored-header { min-height: 150px; background-color: #143556; background-size: cover; }
.site-ty022 .restored-header a { color: #fff; }
.site-ty022 .restored-header strong { max-width: 680px; text-shadow: 0 1px 3px #143556; }
.site-ty022 .ty-company-intro { display: flow-root; }
.site-ty022 .ty-company-intro img[align="left"],
.site-ty022 .legacy-content img[align="left"] { float: left; width: 200px; max-width: 45%; height: auto !important; margin: 0 16px 10px 0; }
.site-ty022 .ty-company-intro td > ul:first-child { padding: 0; margin: 0; list-style: none; }
.site-hs-iso .restored-header { background-image: none !important; background-color: #dfeef5; }
.site-chinahongruan .restored-header { background-size: cover; min-height: 120px; }
.site-chinahongruan .restored-header a { color: white; }
.site-chinahongruan .legacy-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); white-space: normal; text-align: center; }
.site-chinahongruan .legacy-nav a { display: flex; align-items: center; justify-content: center; height: 100%; }
.site-forlandgroup .restored-header { padding: 0; min-height: 0; }
.site-forlandgroup .restored-header a { display: block; }
.site-forlandgroup .restored-header img { width: 100%; height: auto; display: block; }
.site-diamond868 .restored-header { padding: 0; min-height: 0; }
.site-diamond868 .restored-header a { display: block; }
.site-diamond868 .restored-header img { width: 100%; height: auto; display: block; }
.site-diamond868 .restored-hero { aspect-ratio: 990 / 190; }
.site-diamond868 .restored-hero img { width: 100%; height: 100%; object-fit: contain; }
.site-diamond868 .legacy-grid img { width: 100%; height: 170px !important; object-fit: contain; }
.site-diamond868 .legacy-grid figure { border: 1px solid #d6deeb; padding: 8px; }
.site-diamond868 .restored-home-columns .restored-panel-body :is(p,div,span,font,strong,b) {
  margin: 4px 0 !important; font-size: 14px !important; line-height: 1.6 !important;
}
.site-diamond868 .restored-home-columns .restored-panel-body img { max-height: 130px; width: auto; }
.site-diamond868 footer :is(h1,h2,h3,h4,h5,p) { margin: 4px 0; line-height: 1.6; font-size: 14px; }
.restored-logo { display: block; width: auto; max-width: 34%; max-height: 86px; object-fit: contain; }
.restored .legacy-nav { color: #fff; background: var(--accent); justify-content: flex-start; flex-wrap: wrap; }
.restored .legacy-nav a { padding: 9px 12px; font-weight: 600; }
.restored .legacy-nav a:hover, .restored .legacy-nav a:focus-visible { background: #ffffff26; }
.restored-hero img { display: block; width: 100%; height: auto; }
.restored-hero img[hidden] { display: none; }
.restored-hero[data-slideshow] { aspect-ratio: 4 / 1; background: var(--tint); }
.restored-hero[data-slideshow] img { height: 100%; object-fit: contain; }
.restored-body { padding: 10px; }
.restored-body.has-sidebar { display: grid; grid-template-columns: minmax(0, var(--side-width)) minmax(0, 1fr); gap: 12px; }
.restored-body main, .restored-body aside { min-width: 0; overflow-wrap: anywhere; }
.restored-home-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.restored-home-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.restored-panel { margin-bottom: 10px; border: 1px solid #cbd3d9; min-width: 0; }
.restored-panel h2 { margin: 0; padding: 5px 10px; background: var(--accent); color: white; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.restored-panel h2 a { font-size: 12px; flex: none; }
.restored-panel-body { padding: 9px 11px; overflow-wrap: anywhere; }
.restored-panel-body .legacy-links { margin: 0; }
.restored-panel-body .legacy-links a { border-bottom: 1px dotted #ccd2d7; }
.restored-panel-body table { max-width: 100%; }
.restored aside .legacy-list li { display: block; }
.restored .legacy-list-meta { color: #595959; }
.restored .legacy-clicks { color: #595959; }
.restored .legacy-hit { color: #b52216; }
.restored-position { background: var(--tint); color: var(--accent); padding: 6px 12px; font-weight: bold; }
.restored .legacy-friends { overflow: auto; }
.restored footer { border-top: 3px solid var(--accent); text-align: center; background: var(--tint); padding: 14px 12px; }
.restored footer p { margin: 5px 0; }
.restored footer a { color: var(--accent); text-decoration: underline; }
.site-gzhstech .restored-category-links a[aria-current="page"] { color: var(--accent); font-weight: 700; background: var(--tint); }
:is(.site-gzhstech,.site-ty022) .aligned-gallery figure { border: 1px solid #cbd3d9; }
:is(.site-gzhstech,.site-ty022) .aligned-gallery figure a { display: flex; flex-direction: column; height: 100%; }
:is(.site-gzhstech,.site-ty022) .gallery-photo {
  display: grid; place-items: center; aspect-ratio: 4 / 3; min-width: 0;
  border-bottom: 1px solid #e1e7eb; background: #f6f8fa; color: #52616c; overflow: hidden;
}
:is(.site-gzhstech,.site-ty022) .aligned-gallery .gallery-photo img {
  display: block; width: 100%; height: 100% !important; min-height: 0; border: 0; object-fit: contain;
}
:is(.site-gzhstech,.site-ty022) .aligned-gallery figcaption { padding: 8px; overflow-wrap: anywhere; }
.site-gzhstech footer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 24px;
  padding: 16px 20px; text-align: left; line-height: 1.55; overflow-wrap: anywhere;
}
.site-gzhstech .restored-footer-copy h1 { margin: 0 0 4px; font-size: 14px !important; line-height: 1.55; }
.site-gzhstech .restored-footer-copy h1:last-child { margin-bottom: 0; }
.site-gzhstech .restored-footer-meta { text-align: right; }
.site-gzhstech .restored-footer-meta p { margin: 0; }
.site-gzhstech .restored-footer-meta p + p { margin-top: 4px; }
@media (max-width: 700px) {
  .site-chinahongruan .legacy-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-gzhstech footer { grid-template-columns: minmax(0, 1fr); }
  .site-gzhstech .restored-footer-meta { text-align: left; }
  .restored-body.has-sidebar { grid-template-columns: 1fr; }
  .restored-body.has-sidebar aside { order: 2; }
  .restored-home-columns, .restored-home-sections { grid-template-columns: 1fr; }
  .restored .legacy-list li { flex-wrap: wrap; gap: 2px 10px; }
}

/* Tianjin rental site layout. */
.site-ty022 .legacy-nav { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); white-space:normal; text-align:center; }
.site-ty022 .legacy-nav a { display:flex; align-items:center; justify-content:center; padding:10px 4px; height:100%; }
.site-ty022 .restored-body { align-items:start; }
.site-ty022 .restored-body > main { align-self:start; }
.site-ty022 .legacy-friends { margin-top:8px; padding:0 10px 8px; }
.site-ty022 .legacy-friends h2 { margin:0 0 8px; }
.site-ty022 .aligned-gallery figcaption { min-height:3.6em; }
.site-ty022 .legacy-content > section > table p { margin:8px 0; }
@media(max-width:700px) {
 .site-ty022 .legacy-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .site-ty022 .legacy-nav a:last-child:nth-child(odd) { grid-column:1/-1; }
}

/* Match the original wide banner without letterboxing. */
.site-diamond868 .restored-hero, .site-diamond868 .restored-hero[data-slideshow] { aspect-ratio: 970 / 170; margin: 0; padding: 0; line-height: 0; overflow: hidden; }
.site-diamond868 .restored-hero img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-diamond868 .restored-hero img[hidden] { display: none; }

/* Diamond company profile and aligned content cards. */
.site-diamond868 .legacy-nav { display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); white-space:normal; text-align:center; }
.site-diamond868 .legacy-nav a { display:flex; align-items:center; justify-content:center; padding:9px 3px; }
.site-diamond868 .restored-home-columns { align-items:stretch; }
.site-diamond868 .restored-home-columns > .restored-panel { display:flex; flex-direction:column; }
.site-diamond868 .restored-home-columns .restored-panel-body { flex:1; padding:12px; line-height:1.8; }
.site-diamond868 .restored-home-columns .legacy-list li { display:block; padding:8px 0; }
.site-diamond868 .restored-home-columns .legacy-list-meta { display:block; margin-top:3px; }
.site-diamond868 .restored-home-sections { align-items:start; }
.site-diamond868 .restored-home-sections > .restored-panel { margin:0; }
.site-diamond868 .legacy-grid { gap:12px; align-items:stretch; }
.site-diamond868 .aligned-gallery figure { display:flex; padding:0; border:1px solid #d6deeb; background:#fff; }
.site-diamond868 .aligned-gallery figure > a { display:flex; flex-direction:column; width:100%; height:100%; }
.site-diamond868 .gallery-photo { display:grid; place-items:center; width:100%; aspect-ratio:4/3; background:#f6f8fb; overflow:hidden; border-bottom:1px solid #d6deeb; }
.site-diamond868 .aligned-gallery .gallery-photo img { display:block; width:100%; height:100% !important; min-height:0; border:0; object-fit:contain; }
.site-diamond868 .aligned-gallery figcaption { display:flex; align-items:center; justify-content:center; padding:8px; min-height:4.6em; line-height:1.6; }
.site-diamond868 .legacy-content > p > img { display:block; margin:0 auto; max-width:100%; }
.site-ty022 .restored-category-links a[aria-current="page"] { font-weight:700; color:var(--accent); background:var(--tint); }
@media(max-width:700px) {
 .site-diamond868 .legacy-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .site-diamond868 .legacy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Shared geometry for the remaining Hong Kong sites. */
.hk-refined { font-size:15px; line-height:1.8; }
.hk-refined .restored-header { min-height:110px; background-image:none !important; padding:18px 24px; }
.hk-refined .restored-header strong { font-size:25px; max-width:830px; }
.hk-refined .restored-logo { max-width:140px; max-height:85px; }
.hk-refined .legacy-nav { display:flex; justify-content:flex-start; flex-wrap:wrap; }
.hk-refined .legacy-nav a { flex:1 0 110px; text-align:center; padding:10px 8px; }
.hk-refined .restored-hero { aspect-ratio:4/1; line-height:0; overflow:hidden; background:#fff; }
.hk-refined .restored-hero img { display:block; width:100%; height:100%; object-fit:contain; }
.hk-refined .restored-hero img[hidden] { display:none; }
.hk-refined .restored-hero:empty { display:none; }
.hk-refined .restored-body { align-items:start; padding:16px; }
.hk-refined .restored-home-columns { align-items:stretch; gap:14px; margin-bottom:14px; }
.hk-refined .restored-home-columns>.restored-panel { margin:0; display:flex; flex-direction:column; }
.hk-refined .restored-home-columns .restored-panel-body { flex:1; padding:12px; }
.hk-refined .restored-home-columns .legacy-list li { display:block; padding:8px 0; }
.hk-refined .restored-home-columns .legacy-list-meta { display:block; font-size:12px; }
.hk-refined .restored-home-sections { gap:14px; align-items:start; }
.hk-refined .restored-panel h2 { padding:8px 12px; font-size:17px; }
.hk-refined .restored-panel-body { padding:12px; }
.hk-refined .restored-panel-body p { margin:0 0 10px; }
.hk-refined .aligned-gallery { gap:12px; }
.hk-refined .aligned-gallery figure { margin:0; border:1px solid #d8e0e7; background:#fff; display:flex; }
.hk-refined .aligned-gallery figure>a { display:flex; flex-direction:column; width:100%; height:100%; }
.hk-refined .gallery-photo { display:grid; place-items:center; width:100%; aspect-ratio:4/3; overflow:hidden; background:#f5f7fa; border-bottom:1px solid #e3e8ed; }
.hk-refined .gallery-photo img { display:block; width:100%; height:100% !important; min-height:0; object-fit:contain; border:0; }
.hk-refined .aligned-gallery figcaption { display:flex; align-items:center; justify-content:center; min-height:4.6em; padding:8px; font-size:14px; line-height:1.6; }
.hk-refined .restored-category-links a[aria-current=page] { font-weight:bold; color:var(--accent); background:var(--tint); }
.hk-refined .legacy-content { padding:18px; }
.hk-refined footer :is(p,div,h1,h2,h3,span,font,strong,b) { font-size:14px !important; line-height:1.7 !important; margin:3px 0 !important; }
@media(max-width:700px) {
 .hk-refined { font-size:16px; }
 .hk-refined .restored-header { padding:14px; }
 .hk-refined .restored-header strong { font-size:21px; }
 .hk-refined .legacy-nav a { flex:1 0 30%; padding:9px 4px; font-size:15px; }
 .hk-refined .restored-body { padding:10px; }
 .hk-refined .legacy-content { padding:12px; }
 .hk-refined .legacy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* WNJZW local rebuild: preserve content, align the presentation. */
.site-wnjzw .restored-header{min-height:96px;padding:18px 24px;background:#f0f6f8!important}
.site-wnjzw .restored-header a{display:block}
.site-wnjzw .restored-header strong{display:block;font-size:30px;letter-spacing:2px}
.site-wnjzw .wnj-tagline{display:block;font-size:14px;color:#4e6875;margin-top:4px}
.site-wnjzw .legacy-nav{display:flex;flex-wrap:nowrap;align-items:stretch;min-height:48px;overflow-x:auto;gap:0}
.site-wnjzw .legacy-nav a{flex:1 0 auto;min-width:0;padding:12px 8px;font-size:14px;line-height:24px;white-space:nowrap;box-sizing:border-box}
.site-wnjzw .legacy-nav a:hover,.site-wnjzw .legacy-nav a:focus-visible{padding:12px 8px;font-size:14px;transform:none;background:#ffffff26}
.site-wnjzw .restored-hero{aspect-ratio:602/158;height:auto;margin:0;padding:0}
.site-wnjzw .restored-hero img{width:100%;height:auto;object-fit:contain}
.site-wnjzw .restored-body{padding:16px;align-items:start}
.site-wnjzw .wnj-home-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;margin-bottom:16px}
.site-wnjzw .wnj-home-top>.restored-panel,.site-wnjzw .wnj-home-sections>.restored-panel{display:flex;flex-direction:column;margin:0}
.site-wnjzw .wnj-home-top .restored-panel-body,.site-wnjzw .wnj-home-sections .restored-panel-body{flex:1}
.site-wnjzw .wnj-home-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;align-items:stretch}
.site-wnjzw .restored-panel h2{font-size:17px;line-height:26px;align-items:center}
.site-wnjzw .restored-panel h2 a{color:white}
.site-wnjzw .restored-panel-body{padding:14px}
.site-wnjzw .wnj-record-list{list-style:none;padding:0;margin:0}
.site-wnjzw .wnj-record-list li{padding:10px 0;border-bottom:1px dotted #d3dfe4}
.site-wnjzw .wnj-record-list li:first-child{padding-top:0}
.site-wnjzw .wnj-record-list li:last-child{border-bottom:0;padding-bottom:0}
.site-wnjzw .wnj-record-list a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-wnjzw .wnj-excerpt{font-size:14px;color:#52616d;line-height:1.85;margin:8px 0 0!important}
.site-wnjzw .legacy-list li{flex-wrap:nowrap;align-items:center;gap:12px;padding:10px 0}
.site-wnjzw .legacy-list li>a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-wnjzw .legacy-list-meta{flex:none;white-space:nowrap;font-size:12px}
.site-wnjzw .wnj-contact{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px 12px;margin:0;text-align:left;line-height:1.7}
.site-wnjzw .wnj-contact dt{color:#607480}
.site-wnjzw .wnj-contact dd{margin:0;overflow-wrap:anywhere}
.site-wnjzw .wnj-contact a{color:#225d79}
.site-wnjzw .legacy-grid.wnj-text-catalog{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.site-wnjzw .wnj-text-catalog figure{border:1px solid #d7e1e7;background:#f6f9fa;display:flex;min-height:82px}
.site-wnjzw .wnj-text-catalog figure a{display:flex;width:100%;align-items:center;justify-content:center;padding:10px}
.site-wnjzw .wnj-text-catalog figcaption{font-size:14px;line-height:1.65;padding:0}
.site-wnjzw .wnj-gallery-note{font-size:13px;color:#657581;margin:0 0 12px}
.site-wnjzw aside .legacy-list li{padding:8px 0}
.site-wnjzw aside .legacy-list li>a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;line-height:1.7;font-size:14px}
.site-wnjzw aside .legacy-list-meta{display:none}
.site-wnjzw aside .legacy-links{gap:0}
.site-wnjzw aside .legacy-links a{padding:8px 0;font-size:14px;line-height:1.65}
.site-wnjzw .legacy-content{overflow:visible;min-width:0;padding:20px}
.site-wnjzw .legacy-content h1{font-size:23px;margin:0 0 18px}
.site-wnjzw .wnj-prose{font-size:16px;line-height:1.9;overflow-wrap:anywhere;min-width:0}
.site-wnjzw .wnj-prose :is(p,div,span,font,strong,b){font-size:inherit;line-height:inherit;margin-left:0!important;margin-right:0!important;text-indent:0!important}
.site-wnjzw .wnj-prose p{margin:10px 0}
.site-wnjzw .wnj-prose h1,.site-wnjzw .wnj-prose h2,.site-wnjzw .wnj-prose h3{font-size:19px;line-height:1.6;margin:14px 0 8px}
.site-wnjzw .wnj-prose table{width:100%;max-width:100%;height:auto;border-collapse:collapse;table-layout:fixed}
.site-wnjzw .wnj-prose :is(td,th){height:auto;padding:6px;vertical-align:top;overflow-wrap:anywhere}
.site-wnjzw .wnj-prose :is(td,th):empty{padding:0}
.site-wnjzw .wnj-prose img{display:inline-block;max-width:100%;height:auto!important}
.site-wnjzw .wnj-unavailable{color:#666!important;text-decoration:none!important;cursor:help;border-bottom:1px dotted #aaa}
.site-wnjzw .legacy-friends{padding:8px 16px 16px;overflow:visible}
.site-wnjzw .legacy-friends table,.site-wnjzw .legacy-friends tbody,.site-wnjzw .legacy-friends tr{display:block;width:100%}
.site-wnjzw .legacy-friends tr{display:flex;flex-wrap:wrap;gap:8px}
.site-wnjzw .legacy-friends td{display:block;padding:4px 12px;border:1px solid #d5e0e5;font-size:14px}
.site-wnjzw .legacy-friends h2{font-size:16px;margin:0 0 8px}
.site-wnjzw footer{padding:18px 24px;text-align:left;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:center}
.site-wnjzw footer ul{list-style:none;padding:0;margin:0}
.site-wnjzw footer li{margin:4px 0}
.site-wnjzw footer :is(h1,h2,h3,h4,p,span,font){color:#334e5b!important;font-weight:400}
.site-wnjzw .wnj-footer-meta{text-align:right}
@media(max-width:700px){
 .site-wnjzw .restored-header{min-height:90px;padding:16px}
 .site-wnjzw .restored-header strong{font-size:26px}
 .site-wnjzw .legacy-nav{justify-content:flex-start}
 .site-wnjzw .legacy-nav a,.site-wnjzw .legacy-nav a:hover,.site-wnjzw .legacy-nav a:focus-visible{flex:0 0 auto;font-size:16px;padding:11px 15px}
 .site-wnjzw .restored-body{padding:12px}
 .site-wnjzw .wnj-home-top,.site-wnjzw .wnj-home-sections{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:12px}
 .site-wnjzw .legacy-grid.wnj-text-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-wnjzw .restored-panel-body{padding:12px}
 .site-wnjzw .wnj-excerpt,.site-wnjzw .wnj-text-catalog figcaption{font-size:15px}
 .site-wnjzw .legacy-list-meta{font-size:11px}
 .site-wnjzw .legacy-list time{display:none}
 .site-wnjzw .legacy-content{padding:14px}
 .site-wnjzw .wnj-prose{font-size:17px;line-height:1.9}
 .site-wnjzw .legacy-content h1{font-size:22px}
 .site-wnjzw .legacy-pagination{flex-wrap:wrap;font-size:14px;gap:8px}
 .site-wnjzw footer{grid-template-columns:minmax(0,1fr);padding:16px}
 .site-wnjzw .wnj-footer-meta{text-align:left}
}
