.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-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); }
.site-gzhstech .aligned-gallery figure { border: 1px solid #cbd3d9; }
.site-gzhstech .aligned-gallery figure a { display: flex; flex-direction: column; height: 100%; }
.site-gzhstech .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;
}
.site-gzhstech .aligned-gallery .gallery-photo img {
  display: block; width: 100%; height: 100% !important; min-height: 0; border: 0; object-fit: contain;
}
.site-gzhstech .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; }
}

/* Compact, evenly padded contact details for ForlandGroup. */
.site-forlandgroup .forland-contact { display:grid; gap:14px; text-align:left; }
.site-forlandgroup .forland-contact-group { min-width:0; margin:0; padding:0; }
.site-forlandgroup .forland-contact h3 { margin:0 0 6px; font-size:14px; line-height:1.5; color:#204e68; }
.site-forlandgroup .forland-contact dl { display:grid; grid-template-columns:60px minmax(0,1fr); gap:6px 8px; margin:0; }
.site-forlandgroup .forland-contact :is(dt,dd) { margin:0; padding:0; font-size:14px; line-height:1.65; font-weight:400; }
.site-forlandgroup .forland-contact dt { color:#52616c; }
.site-forlandgroup .forland-contact dd { color:#242424; min-width:0; overflow-wrap:anywhere; }
.site-forlandgroup aside .restored-panel:has(.forland-contact) > .restored-panel-body { padding:14px 14px; }
.site-forlandgroup main > .legacy-content:has(>.forland-contact) { padding:20px; }
.site-forlandgroup main .forland-contact { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.site-forlandgroup main .forland-contact-group { border:1px solid #d9e3e9; padding:16px; }
.site-forlandgroup main .forland-contact h3 { font-size:16px; }
@media(max-width:700px) { .site-forlandgroup main .forland-contact {grid-template-columns:1fr;} }

.site-forlandgroup .legacy-nav { display:flex; flex-wrap:nowrap; width:100%; padding:0; gap:0; overflow-x:auto; }
.site-forlandgroup .legacy-nav a { display:flex; flex:1 1 0; min-width:0; align-items:center; justify-content:center; padding:13px 5px; white-space:nowrap; font-size:15px; line-height:1.5; text-align:center; }
@media(max-width:700px) { .site-forlandgroup .legacy-nav a {flex:0 0 auto;padding:12px 16px;} }

/* Spacious contact cards, balanced imagery and a clean footer. */
.site-forlandgroup main .forland-contact { gap:28px; margin:20px 0 0; align-items:stretch; }
.site-forlandgroup main .forland-contact-group { padding:22px; border-color:#d8e3ea; border-top:3px solid #21628c; background:#fbfdff; }
.site-forlandgroup main .forland-contact h3 { margin:0 0 14px; padding-bottom:10px; border-bottom:1px solid #e2eaf0; line-height:1.5; }
.site-forlandgroup main .forland-contact dl { grid-template-columns:66px minmax(0,1fr); gap:11px 10px; }
.site-forlandgroup .forland-photos { display:grid; gap:20px; margin:28px 0 0; }
.site-forlandgroup .forland-photos.is-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.site-forlandgroup .forland-photos figure { display:flex; flex-direction:column; margin:0; min-width:0; border:1px solid #d8e3ea; background:#f4f8fb; overflow:hidden; }
.site-forlandgroup .forland-photos img { display:block; width:100%; height:auto; object-fit:cover; }
.site-forlandgroup .forland-photos.is-pair img { aspect-ratio:16/10; }
.site-forlandgroup .forland-photos.is-banner img { aspect-ratio:3/1; object-position:center 48%; }
.site-forlandgroup .forland-photos figcaption { padding:10px 14px; text-align:center; color:#255973; font-size:14px; line-height:1.5; }
.site-forlandgroup .forland-about { margin-bottom:0; }
.site-forlandgroup .forland-about :is(p,div) { line-height:1.9; }
.site-forlandgroup footer { padding:20px 24px; color:#314b5a; line-height:1.7; }
.site-forlandgroup footer :is(ul,ol) { list-style:none; margin:0; padding:0; }
.site-forlandgroup footer :is(li,p,div) { padding:0; font-size:13px; line-height:1.7; }
.site-forlandgroup footer p { margin:3px 0; }
.site-forlandgroup .forland-footer-copy { display:grid; gap:3px; max-width:860px; margin:0 auto 8px; }
.site-forlandgroup .forland-footer-copy p { margin:0; overflow-wrap:anywhere; }
.site-forlandgroup .forland-footer-copy [lang="en"] { font-size:12px; color:#627583; }
@media(max-width:700px) {
 .site-forlandgroup main .forland-contact { gap:20px; }
 .site-forlandgroup main .forland-contact-group { padding:18px; }
 .site-forlandgroup .forland-photos { gap:12px; }
 .site-forlandgroup .forland-photos figcaption { padding:9px 5px; font-size:13px; }
 .site-forlandgroup footer { padding:18px; }
}
