/* ServerHW feed — mobile first, clean */
.serverhw-header {
  margin-bottom: 16px;
  text-align: center;
}

.serverhw-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.45;
}

/* 中英文同一内容宽度，避免英文字距把版面撑得过宽 */
@media (min-width: 900px) {
  .serverhw-wrap {
    max-width: 920px;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .serverhw-disclaimer-foot {
    max-width: 920px;
  }
}

.serverhw-card {
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.serverhw-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.serverhw-card-link:hover .serverhw-card-title {
  color: #111;
}

.serverhw-title {
  margin: 0 0 10px;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--serverhw-brand, #2b6cb0);
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  line-height: 1.25;
}

body.serverhw-en .serverhw-title {
  letter-spacing: 0.04em;
  text-indent: 0;
  font-size: 1.55rem;
}

.serverhw-h1 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.serverhw-sub,
.serverhw-subline,
.serverhw-muted {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.serverhw-trust {
  margin: 0 0 6px;
  color: #445;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.serverhw-filters {
  margin-bottom: 12px;
}

.serverhw-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.serverhw-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.serverhw-tab.is-active {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.serverhw-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.serverhw-filter-row select,
.serverhw-filter-row input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
}

.serverhw-btn {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.serverhw-switch {
  margin: 0 0 16px;
  font-size: 0.9rem;
}

.serverhw-switch-foot {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.8rem;
}

.serverhw-switch-foot a {
  color: #888;
  text-decoration: underline;
}

.serverhw-switch a {
  color: #333;
}

.serverhw-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.serverhw-card-link {
  display: block;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}

.serverhw-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.serverhw-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.serverhw-badge-wts,
.serverhw-badge-wtb {
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.serverhw-badge-wts {
  background: #1b5e20;
  color: #fff;
}

.serverhw-badge-wtb {
  background: #0d47a1;
  color: #fff;
}

.serverhw-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f4f4f4;
  color: #555;
  font-size: 0.75rem;
}

.serverhw-card-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.serverhw-card-line {
  margin: 0 0 8px;
  color: #333;
  font-size: 0.95rem;
}

.serverhw-card-foot {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #888;
  font-size: 0.8rem;
}

.serverhw-empty {
  padding: 32px 12px;
  text-align: center;
  color: #777;
}

.serverhw-pager {
  margin-top: 20px;
}

.serverhw-pager .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.serverhw-back {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.serverhw-back a {
  color: #333;
  text-decoration: none;
}

.serverhw-content,
.serverhw-note {
  margin: 20px 0 8px;
}

.serverhw-note-body {
  margin: 8px 0 0;
  padding: 12px 14px;
  background: #f7f7f7;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}


.serverhw-subscribe-form textarea,
.serverhw-subscribe-form select,
.serverhw-subscribe-form input[type="email"] {
  width: 100%;
  max-width: 420px;
  margin-top: 6px;
}

.serverhw-sub-ok {
  color: #0a7a32;
}

.serverhw-sub-err {
  color: #b00020;
}


.serverhw-thumb img,
.serverhw-thumb-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: #f3f3f3;
}

.serverhw-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.serverhw-table th,
.serverhw-table td {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.serverhw-table th {
  width: 30%;
  color: #777;
  font-weight: 500;
}

.serverhw-contact,
.serverhw-content {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.serverhw-contact-list {
  margin: 8px 0 0;
  padding-left: 1.1em;
  line-height: 1.7;
}

.serverhw-contact-list a {
  color: #1a1a1a;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.serverhw-badge-consign {
  background: #fff3e0;
  color: #e65100;
}

.serverhw-disclaimer {
  margin: 20px auto 0;
  padding: 16px 18px;
  background: #f4f5f7;
  border-radius: 10px;
  color: #555;
  font-size: 0.875rem;
  line-height: 1.7;
  box-sizing: border-box;
  text-align: center;
  max-width: 40em;
}

.serverhw-disclaimer-line {
  margin: 0 0 10px;
}

.serverhw-disclaimer-line:last-child {
  margin-bottom: 0;
}

.serverhw-disclaimer-foot {
  max-width: 720px;
  margin: 28px auto 96px;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.serverhw-fab {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.serverhw-fab:hover,
.serverhw-fab:focus {
  background: #333;
  color: #fff !important;
}

/* GeneratePress：货盘页去侧栏、内容区拉满 */
body.serverhw-app .sidebar,
body.serverhw-app #right-sidebar,
body.serverhw-app #left-sidebar,
body.serverhw-app .widget-area,
body.serverhw-app .is-right-sidebar,
body.serverhw-app .is-left-sidebar {
  display: none !important;
}

body.serverhw-app .content-area,
body.serverhw-app .site-content .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.serverhw-app .inside-article {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 900px) {
  .serverhw-fab {
    display: none;
  }

  .serverhw-disclaimer-foot {
    margin-bottom: 32px;
  }
}

@media (min-width: 640px) {
  .serverhw-wrap {
    padding-top: 28px;
  }

  .serverhw-filter-row {
    grid-template-columns: 160px 1fr auto;
    align-items: center;
  }

  .serverhw-title {
    font-size: 1.85rem;
    letter-spacing: 0.55em;
    text-indent: 0.55em;
  }

  body.serverhw-en .serverhw-title {
    font-size: 1.7rem;
    letter-spacing: 0.06em;
    text-indent: 0;
  }

  .serverhw-h1 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1100px) {
  .serverhw-wrap {
    max-width: 960px;
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .serverhw-card-link {
    padding: 16px 18px;
  }

  .serverhw-disclaimer-foot {
    max-width: 960px;
  }
}
