/* ============================================================================
 * BRVAC shared page styles - light theme, no external fonts, no dependencies
 * Used by both brvacuum.com (EN) and zhenkong.net (ZH) additions.
 * Self-contained: does not rely on either site's CSS variables.
 * ==========================================================================*/
.brv-card, .brv-hero, .article, .entry-strip, .note-grid, .foot-grid {
  --brv-ink: #1d2733;
  --brv-ink2: #4e5d6c;
  --brv-ink3: #7a8794;
  --brv-line: #dfe6ea;
  --brv-blue: #185fa5;
  --brv-blue2: #0f3450;
  --brv-soft: #f4f7f8;
  --brv-gold: #b07d00;
}

/* ---- header / nav (EN site) ------------------------------------------- */
.site-head .brand { text-decoration: none; color: var(--ink, #1d2733); }
.brand-sub { font-size: 12px; font-weight: 400; color: var(--ink-3, #7a8794); margin-left: 6px; }
.topnav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.topnav a {
  color: #4e5d6c; font-size: 14px; padding: 7px 11px;
  border-radius: 6px; text-decoration: none; white-space: nowrap;
}
.topnav a:hover, .topnav a.on { color: #185fa5; background: #e6f1fb; }
.topnav a.nav-rfq { background: #185fa5; color: #fff; font-weight: 500; }
.topnav a.nav-rfq:hover { background: #0f3450; color: #fff; }

/* ---- foot --------------------------------------------------------------- */
.foot-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.muted { color: #7a8794; font-size: 13px; }
.brv-foot { background: #0f3450; color: #c9dbe8; padding: 26px 0; margin-top: 36px; }
.brv-foot a { color: #e9f3fa; }
.brv-foot .muted { color: #a8bfce; }
.brv-foot-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }

/* ---- hero --------------------------------------------------------------- */
.brv-hero { padding: 30px 0 18px; }
.brv-hero h1 { font-size: 30px; line-height: 1.35; margin: 8px 0 12px; color: #162b3a; }
.brv-hero p { font-size: 15px; line-height: 1.8; color: #4e5d6c; max-width: 860px; }
.entry-kicker { font-size: 11px; letter-spacing: .14em; color: #185fa5; font-weight: 500; text-transform: uppercase; }

/* ---- cards / sections --------------------------------------------------- */
.brv-card {
  background: #fff; border: 1px solid #dfe6ea; border-radius: 10px;
  padding: 22px 24px; margin: 18px 0;
}
.brv-card h2 { font-size: 19px; margin: 0 0 14px; color: #162b3a; }
.brv-card h3 { font-size: 16px; margin: 20px 0 8px; color: #162b3a; }
.brv-card p, .brv-card li { color: #405667; line-height: 1.8; }
.brv-card ol { padding-left: 1.3em; }
.brv-card .note, .note, p.note {
  font-size: 13px; color: #6b7d8a; line-height: 1.7;
  background: #f4f7f8; border-left: 3px solid #cbd5e0;
  padding: 10px 12px; border-radius: 0 6px 6px 0; margin-top: 14px;
}
.brv-card a, .article a { color: #185fa5; }

/* ---- homepage entry strip ---------------------------------------------- */
.entry-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 6px; }
.entry-card {
  display: block; background: #fff; border: 1px solid #dfe6ea; border-radius: 10px;
  padding: 18px 18px 16px; text-decoration: none; color: inherit;
  transition: border-color .15s ease;
}
.entry-card:hover { border-color: #185fa5; }
.entry-card h2 { font-size: 17px; margin: 8px 0 8px; color: #162b3a; }
.entry-card p { font-size: 13px; color: #5f6e7c; line-height: 1.7; margin: 0 0 10px; }
.more { font-size: 13px; color: #185fa5; font-weight: 500; }

/* ---- tables ------------------------------------------------------------- */
.tbl-wrap { overflow-x: auto; margin: 8px 0 4px; }
.tbl-wrap table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
.tbl-wrap th, .tbl-wrap td {
  border: 1px solid #e2e8ef; padding: 9px 10px; text-align: left;
  vertical-align: top; line-height: 1.65;
}
.tbl-wrap th { background: #f4f7f8; color: #162b3a; font-weight: 600; white-space: nowrap; }
.tbl-wrap td { color: #405667; }
.tbl-wrap td.num { font-variant-numeric: tabular-nums; }
.tbl-wrap code, .article code {
  background: #f1f4f7; border: 1px solid #e2e8ef; border-radius: 4px;
  padding: 1px 5px; font-size: 12.5px; font-family: ui-monospace, Menlo, Consolas, monospace;
}

/* ---- article list ------------------------------------------------------- */
.note-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 30px; }
.note-card {
  display: block; background: #fff; border: 1px solid #dfe6ea; border-radius: 10px;
  padding: 18px 20px; text-decoration: none; color: inherit;
}
.note-card:hover { border-color: #185fa5; }
.note-card h3 { font-size: 17px; margin: 8px 0; color: #162b3a; }
.note-card p { font-size: 13.5px; color: #5f6e7c; line-height: 1.7; margin: 0 0 10px; }
.note-meta { font-size: 12px; color: #7a8794; letter-spacing: .02em; }

/* ---- article ------------------------------------------------------------ */
.article { max-width: 860px; margin: 0 auto; padding: 26px 0 10px; }
.article h1 { font-size: 30px; line-height: 1.35; margin: 10px 0 12px; color: #162b3a; }
.article h2 { font-size: 21px; margin: 30px 0 10px; color: #162b3a; }
.article h3 { font-size: 17px; margin: 22px 0 8px; color: #162b3a; }
.article p, .article li { color: #405667; line-height: 1.85; font-size: 15px; }
.article ul, .article ol { padding-left: 1.4em; }
.article hr { border: 0; border-top: 1px solid #dfe6ea; margin: 28px 0; }
.article blockquote {
  margin: 16px 0; padding: 10px 14px; background: #f4f7f8;
  border-left: 3px solid #185fa5; color: #405667; font-size: 14px;
}
.article pre {
  background: #f6f8fa; border: 1px solid #e2e8ef; border-radius: 8px;
  padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.6;
}
.article .lede { font-size: 16px; color: #4e5d6c; border-left: 3px solid #185fa5; padding-left: 14px; }
.crumb { font-size: 13px; color: #7a8794; }
.crumb a { color: #185fa5; }

/* ---- RFQ form ----------------------------------------------------------- */
.rfq-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 12px; margin-bottom: 12px; }
#rfq-model, #rfq-qty, #rfq-contact, #rfq-msg {
  width: 100%; box-sizing: border-box; padding: 8px 10px; font-size: 14px;
  border: 1px solid #cbd5e0; border-radius: 6px; background: #fff; color: #1d2733;
  font-family: inherit; margin-top: 5px;
}
#rfq-msg { resize: vertical; }
.brv-card label { display: block; font-size: 13px; color: #4e5d6c; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn {
  display: inline-block; padding: 8px 16px; font-size: 14px; border-radius: 6px;
  border: 1px solid #cbd5e0; background: #fff; color: #1d2733;
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.btn:hover { border-color: #185fa5; color: #185fa5; }
.btn-primary { background: #185fa5; border-color: #185fa5; color: #fff; }
.btn-primary:hover { background: #0f3450; border-color: #0f3450; color: #fff; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 760px) {
  .entry-strip, .note-grid { grid-template-columns: 1fr; }
  .rfq-grid { grid-template-columns: 1fr; }
  .brv-hero h1, .article h1 { font-size: 24px; }
  .topnav { margin-top: 8px; }
}
