.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)); }
}

/* One desktop navigation row and a full-width banner. */
.hk-refined.site-ylxdn .legacy-nav { display:flex; flex-wrap:nowrap; overflow-x:auto; justify-content:space-between; }
.hk-refined.site-ylxdn .legacy-nav a { flex:1 1 0; min-width:0; padding:12px 3px; font-size:14px; white-space:nowrap; text-align:center; }
.hk-refined.site-ylxdn .restored-hero { aspect-ratio:auto; height:clamp(220px,28vw,330px); }
.hk-refined.site-ylxdn .restored-hero img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.hk-refined.site-ylxdn .restored-home-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:760px) {
 .hk-refined.site-ylxdn .legacy-nav { justify-content:flex-start; }
 .hk-refined.site-ylxdn .legacy-nav a { flex:0 0 auto; padding:11px 14px; font-size:15px; }
 .hk-refined.site-ylxdn .restored-hero { height:200px; }
 .hk-refined.site-ylxdn .restored-home-columns { grid-template-columns:1fr; }
}
/* Company name at left, original company-values artwork at right. */
.hk-refined.site-ylxdn .restored-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 24px; }
.hk-refined.site-ylxdn .restored-header>a { flex:1; min-width:0; }
.hk-refined.site-ylxdn .restored-header strong { font-size:25px; line-height:1.4; }
.site-ylxdn .xdn-header-art { position:relative; flex:0 0 43%; max-width:430px; line-height:0; }
.site-ylxdn .xdn-header-art img { display:block; width:100%; height:auto; }
.site-ylxdn .xdn-header-art span { position:absolute; left:27%; top:60%; width:50%; height:27%; display:flex; align-items:center; justify-content:center; background:linear-gradient(#f8f8f8,#e1e1e1); border-radius:12px; color:#f26522; font-size:14px; font-weight:700; line-height:1; white-space:nowrap; }
@media(max-width:760px) { .hk-refined.site-ylxdn .restored-header { display:block; padding:16px; } .hk-refined.site-ylxdn .restored-header strong { font-size:22px; } .site-ylxdn .xdn-header-art { width:100%; max-width:430px; margin:12px 0 0 auto; } }
/* Article titles and their date/hit metadata share one row. */
.hk-refined.site-ylxdn main .legacy-list li { display:flex; flex-wrap:nowrap; align-items:center; gap:10px; min-width:0; }
.hk-refined.site-ylxdn main .legacy-list li>a { display:block; flex:1 1 0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hk-refined.site-ylxdn main .legacy-list-meta { display:inline-flex; flex:0 0 auto; align-items:center; gap:4px; white-space:nowrap; font-size:12px; }
/* Dark footer text and restored network illustrations. */
.hk-refined.site-ylxdn footer,.hk-refined.site-ylxdn footer :is(p,span,font,a,strong,b,div,td) { color:#344d3a !important; opacity:1 !important; }
.hk-refined.site-ylxdn footer a { color:#245c34 !important; }
.site-ylxdn .xdn-network h2 { margin:20px 0 12px; padding-bottom:10px; border-bottom:1px solid #d8e5d8; color:#39754b; font-size:20px; }
.site-ylxdn .xdn-network img { display:block; max-width:100%; width:auto; height:auto; margin:16px auto 30px; padding:12px; background:#fff; border:1px solid #e1e8df; }