/* 全站轻修饰：顶栏、页脚、品牌 */
:root {
  --serverhw-brand: #2b6cb0;
}

.site-header {
  border-bottom: 1px solid #ececec;
}

.main-navigation .main-nav ul li a {
  font-size: 1.05rem;
  font-weight: 500;
  padding-left: 0.7em;
  padding-right: 0.7em;
}

@media (min-width: 900px) {
  .main-navigation .main-nav ul li a {
    font-size: 1.1rem;
  }
}

.main-title a,
.site-logo a {
  letter-spacing: -0.02em;
}

.site-description {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 400;
  color: #666;
  line-height: 1.3;
}

body.serverhw-en .site-description {
  display: none !important;
}

.site-footer .copyright,
.site-info {
  font-size: 0.8rem;
  color: #888;
}

.site-footer .copyright a,
.site-info a {
  color: #555;
  text-decoration: none;
}

.site-footer .copyright a:hover,
.site-info a:hover {
  text-decoration: underline;
}

.serverhw-footer-sep {
  margin: 0 0.25em;
  color: #bbb;
}

.serverhw-contact-line {
  margin: 24px 0 8px;
  padding: 14px 0 0;
  border-top: 1px solid #e8e8e8;
  color: #445;
  font-size: 0.95rem;
  line-height: 1.5;
}

.serverhw-contact-slot {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

.serverhw-contact-line a {
  color: var(--serverhw-brand, #2b6cb0);
  font-weight: 600;
  text-decoration: none;
}

.serverhw-contact-line a:hover {
  text-decoration: underline;
}

.serverhw-member-msg {
  margin: 16px 0 28px;
}

.serverhw-member-steps {
  margin: 10px 0 0 1.2em;
  padding: 0;
  color: #333;
  line-height: 1.55;
}

.serverhw-member-steps li {
  margin: 0 0 8px;
}

.serverhw-login-cta {
  margin: 16px 0 8px;
  font-size: 0.95rem;
}

.serverhw-login-cta a {
  color: var(--serverhw-brand, #2b6cb0);
  font-weight: 600;
}

.site-footer a[href*="generatepress"] {
  display: none !important;
}

.comments-area,
.comment-respond {
  display: none !important;
}

body.serverhw-hide-title .entry-header,
body.serverhw-hide-title .page-header,
body.serverhw-hide-title .entry-title {
  display: none !important;
}

body.serverhw-app {
  background: #f7f8fa;
}

@media (min-width: 1100px) {
  body.serverhw-app .site-content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

.serverhw-disclaimer-link {
  color: #333;
  text-decoration: underline;
  white-space: nowrap;
}

.serverhw-membership-benefits {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid #e8e8e8;
  font-size: 1rem;
}

.serverhw-membership-benefits h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.serverhw-membership-benefits h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.serverhw-membership-benefits ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
  line-height: 1.7;
}

/* 文内外链：颜色与正文一致，仅保留下划线提示可点 */
.serverhw-inline-ext,
.serverhw-membership-benefits a.serverhw-inline-ext,
.serverhw-legal a.serverhw-inline-ext {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.serverhw-inline-ext:hover,
.serverhw-membership-benefits a.serverhw-inline-ext:hover,
.serverhw-legal a.serverhw-inline-ext:hover {
  color: inherit;
  opacity: 0.85;
}

/* 会员付款页 */
.serverhw-pay {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 32px;
}

.serverhw-pay h1 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.serverhw-pay-lead {
  margin: 0 0 20px;
  color: #444;
  line-height: 1.6;
}

.serverhw-pay-methods {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .serverhw-pay-methods {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.serverhw-pay-block {
  margin: 0 0 24px;
  padding: 16px 0 0;
  border-top: 1px solid #e8e8e8;
}

.serverhw-pay-methods .serverhw-pay-block {
  border-top: none;
  padding-top: 0;
}

.serverhw-pay-block h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.serverhw-pay-qr {
  margin: 12px 0 0;
  text-align: center;
}

.serverhw-pay-qr img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  background: #fff;
}

.serverhw-btn {
  display: inline-block;
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  background: var(--serverhw-brand, #2b6cb0);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}

.serverhw-btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

.serverhw-btn-paypal {
  background: #0070ba;
}

.serverhw-pay-form label {
  font-weight: 500;
  color: #333;
}

.serverhw-pay-form input[type="email"],
.serverhw-pay-form input[type="text"],
.serverhw-pay-form select,
.serverhw-pay-form textarea {
  width: 100%;
  max-width: 420px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.serverhw-pay-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.serverhw-pay-ok {
  padding: 12px 14px;
  background: #e8f5e9;
  color: #1b5e20;
  border-radius: 4px;
}

.serverhw-pay-err {
  padding: 12px 14px;
  background: #ffebee;
  color: #b71c1c;
  border-radius: 4px;
}

.serverhw-muted {
  color: #777;
  font-size: 0.9rem;
}

.serverhw-rules-extra {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid #e8e8e8;
  font-size: 1rem;
}

.serverhw-rules-extra h2 {
  margin-top: 22px;
  font-size: 1.15rem;
}

.serverhw-rules-extra p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: #333;
}

.serverhw-html-sitemap {
  max-width: 480px;
  margin: 0 auto 16px;
  padding-left: 1.2em;
  line-height: 1.9;
}

.serverhw-legal {
  padding-top: 8px;
}

.serverhw-legal h1 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.serverhw-legal h2 {
  font-size: 1.1rem;
  margin: 20px 0 8px;
}
