.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; }
}

/* 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)); }
}

/* Compact introduction/contact and one-row homepage case showcase. */
.site-ty022 .ty-contact-summary p { margin:5px 0; font-size:14px; line-height:1.65; }
.site-ty022 .ty-contact-summary p:first-child { margin-top:0; font-weight:600; }
.site-ty022 .ty-contact-summary p:last-child { margin-bottom:0; }
.site-ty022 .legacy-content p, .site-ty022 .ty-company-intro p { margin:8px 0; }
.site-ty022 .legacy-content ul, .site-ty022 .ty-company-intro ul { margin-top:10px; margin-bottom:10px; }
.site-ty022 .home-scroller-viewport { overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; }
.site-ty022 .home-scroller-viewport:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.site-ty022 .home-scroller .aligned-gallery { display:flex; flex-wrap:nowrap; gap:14px; align-items:stretch; }
.site-ty022 .home-scroller .aligned-gallery figure { flex:0 0 calc((100% - 28px)/3); min-width:0; }
.site-ty022 .home-scroller .gallery-photo { aspect-ratio:4/3; }
.site-ty022 .home-scroller .aligned-gallery figcaption { height:4.8em; min-height:4.8em; overflow:hidden; line-height:1.6; }
.site-ty022 .home-scroller-toggle { display:block; margin:8px 0 0 auto; padding:4px 10px; border:1px solid #c5d3df; border-radius:3px; background:#fff; color:#194c78; font:inherit; font-size:12px; cursor:pointer; }
@media(max-width:600px) { .site-ty022 .home-scroller .aligned-gallery figure { flex-basis:calc((100% - 14px)/2); } }