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

/* 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)); }
}

/* Sidebar contacts: aligned labels, readable compact text. */
.site-diamond868 .diamond-contact-card { display:grid; grid-template-columns:56px minmax(0,1fr); gap:8px 7px; margin:0; font-size:14px; line-height:1.7; }
.site-diamond868 .diamond-contact-card dt,.site-diamond868 .diamond-contact-card dd { margin:0; padding:0; text-indent:0; font-size:14px; font-weight:normal; overflow-wrap:anywhere; }
.site-diamond868 .diamond-contact-card dt { color:#516477; }
.site-diamond868 .diamond-contact-photo { display:block; width:100%; max-width:180px; height:auto; margin:12px auto 0; }
/* Product catalogue: calm blue category rail and evenly spaced photo cards. */
.site-diamond868.diamond-product-page .restored-hero { aspect-ratio:auto; line-height:0; }
.site-diamond868.diamond-product-page .restored-hero img { height:auto !important; }
.site-diamond868.diamond-product-page .restored-body { padding-top:20px; }
.diamond-product-page .legacy-content { padding:22px; background:#fff; }
.diamond-catalog-heading { margin:0 0 22px; padding:0 0 18px; border-bottom:1px solid #dde5ee; }
.diamond-catalog-heading p { margin:0 0 4px; color:#708299; font-size:12px; letter-spacing:2px; }
.diamond-catalog-heading h1 { margin:0; font-size:25px; color:#193957; font-weight:600; }
.diamond-product-categories { display:flex; flex-direction:column; gap:5px; }
.diamond-product-categories a { padding:9px 10px; font-size:14px; color:#40576e; border-radius:4px; }
.diamond-product-categories a[aria-current=page] { background:#eaf1fa; color:#294f82; font-weight:600; box-shadow:inset 3px 0 #4c6c9f; }
.diamond-product-categories a:hover { background:#f2f6fa; text-decoration:none; }
.site-diamond868.diamond-product-page .aligned-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.site-diamond868.diamond-product-page .aligned-gallery figure { overflow:hidden; border:1px solid #dce4ec; border-radius:7px; background:white; transition:box-shadow .18s,border-color .18s; }
.site-diamond868.diamond-product-page .aligned-gallery figure:hover { border-color:#9cb6d1; box-shadow:0 6px 18px #16385412; }
.site-diamond868.diamond-product-page .gallery-photo { aspect-ratio:4/3; padding:16px; background:#f7f9fc; border-bottom:1px solid #e5ebf1; }
.site-diamond868.diamond-product-page .aligned-gallery .gallery-photo img { object-fit:contain; background:transparent; }
.site-diamond868.diamond-product-page .aligned-gallery figcaption { min-height:78px; padding:14px 12px; text-align:center; font-size:15px; color:#203c58; line-height:1.65; font-weight:500; }
.site-diamond868.diamond-product-page .aligned-gallery a:hover { text-decoration:none; }
.site-diamond868.diamond-product-page .legacy-pagination { margin:28px 0 4px; color:#6b7e90; font-size:13px; }
@media(max-width:900px) { .site-diamond868.diamond-product-page .aligned-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media(max-width:540px) { .diamond-product-page .legacy-content { padding:14px; } .site-diamond868.diamond-product-page .aligned-gallery { gap:12px; } .site-diamond868.diamond-product-page .gallery-photo { padding:10px; } .site-diamond868.diamond-product-page .aligned-gallery figcaption { font-size:14px; padding:10px 8px; } }
