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