/* ------------------------------------------------------------------
   Visual summary ("at a glance") block that opens a guide page.
   Linked only from pages that use it. Everything is real HTML text,
   so Google and AI answers can read it. Classes are prefixed hr-vs-.
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Hr Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/uploads/2024/09/minervamodern-bold.woff2) format('woff2');
}

.hr-vs {
  --vs-green: #256125;
  --vs-green-dark: #1b491b;
  --vs-brown: #432211;
  --vs-cream: #fffaf5;
  --vs-mint: #edf3ea;
  --vs-ink: #432211;
  --vs-body: #3a2a1f;
  --vs-display: 'Hr Display', Georgia, 'Times New Roman', serif;
  box-sizing: border-box;
  margin: 24px 0 32px;
  background: var(--vs-cream);
  border-radius: 16px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  color: var(--vs-body);
  line-height: 1.5;
  font-weight: 400;
}
html body .hr-vs strong, html body .hr-vs b { font-weight: 700; }
.hr-vs *, .hr-vs *::before, .hr-vs *::after { box-sizing: border-box; }

html body .hr-vs h2, html body .hr-vs h3, html body .hr-vs p,
html body .hr-vs ul, html body .hr-vs li, html body .hr-vs table {
  margin: 0; padding: 0;
}
html body .hr-vs ul { list-style: none; }

/* ---- Header band ---- */
.hr-vs .hr-vs-hero { background: var(--vs-green); color: #fff; padding: 36px 40px 32px; }
.hr-vs .hr-vs-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.hr-vs .hr-vs-hero .hr-vs-kicker { color: #fff; }
html body .hr-vs .hr-vs-title {
  font-family: var(--vs-display); font-weight: 700; color: #fff;
  font-size: clamp(34px, 5.5vw, 54px); line-height: 1.05; margin-top: 10px;
}
html body .hr-vs .hr-vs-sub {
  font-family: var(--vs-display); color: #fff; font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.25; margin-top: 10px;
}

/* ---- Parts ---- */
.hr-vs .hr-vs-part { padding: 32px 40px 8px; }
.hr-vs .hr-vs-part + .hr-vs-part { border-top: 1px solid #e8ddd2; margin-top: 24px; }
html body .hr-vs .hr-vs-part-title {
  font-family: var(--vs-display); font-weight: 700; color: var(--vs-ink);
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; margin: 6px 0 4px;
}
.hr-vs .hr-vs-part > .hr-vs-kicker { color: var(--vs-green); font-size: 12px; }
.hr-vs .hr-vs-label {
  display: block; margin: 22px 0 12px; color: var(--vs-green);
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
html body .hr-vs p.hr-vs-text { font-size: 16px; margin: 10px 0; color: var(--vs-body); }
.hr-vs .hr-vs-more {
  display: inline-block; margin: 18px 0 8px; font-size: 15px; font-weight: 700;
  color: var(--vs-green) !important; text-decoration: none !important;
  border-bottom: 2px solid #b9d0b4;
}
.hr-vs .hr-vs-more:hover { border-bottom-color: var(--vs-green); }

/* Cards */
.hr-vs .hr-vs-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hr-vs .hr-vs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-vs .hr-vs-card {
  border-radius: 14px; padding: 20px 22px; border: 2px solid var(--vs-brown);
  background: transparent; color: var(--vs-body); font-size: 15.5px;
}
.hr-vs .hr-vs-card--green { background: var(--vs-green); border-color: var(--vs-green); color: #fff; }
.hr-vs .hr-vs-card--brown { background: var(--vs-brown); border-color: var(--vs-brown); color: #fff; }
.hr-vs .hr-vs-card--mint  { background: var(--vs-mint); border-color: var(--vs-mint); }
.hr-vs .hr-vs-card--line-green { border-color: var(--vs-green); }
html body .hr-vs .hr-vs-card-title {
  display: block; font-family: var(--vs-display); font-weight: 700; font-size: 22px;
  line-height: 1.2; margin-bottom: 6px; color: inherit;
}
.hr-vs .hr-vs-card--line-green .hr-vs-card-title { color: var(--vs-green); }
.hr-vs .hr-vs-card--mint .hr-vs-card-title { color: var(--vs-green); }
.hr-vs .hr-vs-card-center { text-align: center; display: flex; align-items: center; justify-content: center; }
.hr-vs .hr-vs-card-center .hr-vs-card-title { margin: 0; }

/* Flow: card -> card -> card */
.hr-vs .hr-vs-flow { display: flex; align-items: center; gap: 10px; }
.hr-vs .hr-vs-flow > .hr-vs-card { flex: 1 1 0; text-align: center; font-size: 16.5px; }
.hr-vs .hr-vs-arrow { flex: 0 0 auto; color: var(--vs-green); font-size: 22px; font-weight: 700; }

/* Big pull line */
html body .hr-vs p.hr-vs-pull {
  font-family: var(--vs-display); font-weight: 700; color: var(--vs-ink); text-align: center;
  font-size: clamp(21px, 3vw, 28px); line-height: 1.3; margin: 26px auto 6px; max-width: 30em;
}
.hr-vs .hr-vs-pull em { font-style: normal; color: var(--vs-green); }

/* Numbered takeaways */
.hr-vs .hr-vs-steps { display: grid; gap: 12px; }
.hr-vs .hr-vs-step {
  display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; align-items: start;
  background: var(--vs-mint); border-radius: 14px; padding: 18px 22px; font-size: 15.5px;
}
.hr-vs .hr-vs-step--brown { background: var(--vs-brown); color: #fff; }
.hr-vs .hr-vs-step-num {
  font-family: var(--vs-display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--vs-green);
}
.hr-vs .hr-vs-step--brown .hr-vs-step-num { color: #fff; }
.hr-vs .hr-vs-step .hr-vs-card-title { margin-bottom: 2px; }

/* Rows: big label | text */
.hr-vs .hr-vs-rows { display: grid; gap: 12px; }
.hr-vs .hr-vs-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: center;
  border: 2px solid var(--vs-brown); border-radius: 14px; padding: 18px 24px; font-size: 15.5px;
}
.hr-vs .hr-vs-row--green { background: var(--vs-green); border-color: var(--vs-green); color: #fff; }
.hr-vs .hr-vs-row--brown { background: var(--vs-brown); border-color: var(--vs-brown); color: #fff; }
.hr-vs .hr-vs-row-big {
  font-family: var(--vs-display); font-weight: 700; font-size: 28px; line-height: 1.1; color: inherit;
}
.hr-vs .hr-vs-row:not(.hr-vs-row--green):not(.hr-vs-row--brown) .hr-vs-row-big { color: var(--vs-ink); }

/* Warning banner */
.hr-vs .hr-vs-warn {
  display: flex; gap: 16px; align-items: center; background: var(--vs-brown); color: #fff;
  border-radius: 14px; padding: 20px 26px; font-family: var(--vs-display); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px); line-height: 1.3; margin-top: 18px;
}
.hr-vs .hr-vs-warn svg { flex: 0 0 auto; }

/* Equation: A + B = C */
.hr-vs .hr-vs-eq { display: flex; align-items: stretch; gap: 10px; }
.hr-vs .hr-vs-eq > .hr-vs-card { flex: 1 1 0; text-align: center; font-size: 15px; }
.hr-vs .hr-vs-eq > .hr-vs-arrow { align-self: center; }

/* Pills */
.hr-vs .hr-vs-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hr-vs .hr-vs-pills li {
  background: var(--vs-mint); border-radius: 999px; padding: 9px 18px;
  font-size: 15px; font-weight: 600; color: var(--vs-ink);
}
.hr-vs .hr-vs-pills--wide li { flex: 1 1 auto; text-align: center; }

/* Quotes */
.hr-vs .hr-vs-quote {
  font-family: var(--vs-display); font-weight: 700; font-size: 19px; color: var(--vs-ink);
}

/* Compare table */
.hr-vs .hr-vs-table-wrap { border: 2px solid var(--vs-brown); border-radius: 14px; overflow: hidden; }
html body .hr-vs table.hr-vs-table { width: 100%; border-collapse: collapse; font-size: 15px; border: 0; }
.hr-vs .hr-vs-table th, .hr-vs .hr-vs-table td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0 !important; }
.hr-vs .hr-vs-table thead th {
  background: var(--vs-brown); color: #fff; font-family: var(--vs-display); font-size: 19px;
}
.hr-vs .hr-vs-table tbody tr + tr { border-top: 1px solid #e8ddd2; }
.hr-vs .hr-vs-table tbody tr:nth-child(even) { background: #f6efe8; }
.hr-vs .hr-vs-table tbody th { font-weight: 700; color: var(--vs-ink); background: transparent; }

/* Lists inside cards */
.hr-vs .hr-vs-list li { padding: 5px 0; font-size: 15.5px; }

/* Stat cards */
.hr-vs .hr-vs-stat-num {
  display: block; font-family: var(--vs-display); font-weight: 700; font-size: 56px; line-height: 1;
}
.hr-vs .hr-vs-stat-meta {
  display: block; margin: 10px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
}
.hr-vs .hr-vs-stat-note {
  display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.5);
  font-size: 14px;
}

/* Bottom line panel */
.hr-vs .hr-vs-bottom { background: var(--vs-green); color: #fff; border-radius: 16px; padding: 28px 30px; }
html body .hr-vs .hr-vs-bottom-title {
  font-family: var(--vs-display); font-weight: 700; color: #fff;
  font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin-bottom: 18px;
}
.hr-vs .hr-vs-bottom .hr-vs-grid li {
  border: 1.5px solid #fff; border-radius: 10px; padding: 14px 16px; font-weight: 700; font-size: 15.5px;
}

/* CTA strip */
.hr-vs .hr-vs-cta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  background: var(--vs-mint); border-radius: 14px; padding: 18px 24px; margin-top: 18px;
}
html body .hr-vs .hr-vs-cta p { font-size: 16px; color: var(--vs-ink); }
.hr-vs .hr-vs-cta a {
  background: var(--vs-green); color: #fff !important; text-decoration: none !important;
  font-weight: 700; padding: 11px 22px; border-radius: 999px; white-space: nowrap;
}
.hr-vs .hr-vs-cta a:hover { background: var(--vs-green-dark); }

.hr-vs .hr-vs-end { padding: 0 40px 36px; }

/* ---- Phone ---- */
@media (max-width: 700px) {
  .hr-vs { border-radius: 12px; margin: 18px 0 24px; }
  .hr-vs .hr-vs-hero { padding: 26px 20px 24px; }
  .hr-vs .hr-vs-part { padding: 26px 18px 4px; }
  .hr-vs .hr-vs-end { padding: 0 18px 26px; }
  .hr-vs .hr-vs-grid, .hr-vs .hr-vs-grid--3 { grid-template-columns: 1fr; }
  .hr-vs .hr-vs-flow, .hr-vs .hr-vs-eq { flex-direction: column; align-items: stretch; }
  .hr-vs .hr-vs-flow > .hr-vs-arrow, .hr-vs .hr-vs-eq > .hr-vs-arrow { align-self: center; transform: rotate(90deg); }
  .hr-vs .hr-vs-eq > .hr-vs-arrow.hr-vs-noturn { transform: none; }
  .hr-vs .hr-vs-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .hr-vs .hr-vs-row-big { font-size: 24px; }
  .hr-vs .hr-vs-step { grid-template-columns: 38px 1fr; padding: 16px 16px; }
  .hr-vs .hr-vs-step-num { font-size: 30px; }
  .hr-vs .hr-vs-table th, .hr-vs .hr-vs-table td { padding: 11px 10px; font-size: 14px; }
  .hr-vs .hr-vs-table thead th { font-size: 16px; }
  .hr-vs .hr-vs-warn { padding: 18px; }
  .hr-vs .hr-vs-bottom { padding: 22px 18px; }
  .hr-vs .hr-vs-stat-num { font-size: 46px; }
}

/* Intro paragraphs + first H2 that sit above the visual summary, outside the
   post-content widget: match the article body's own p and h2 rhythm. */
html body .hr-intro p { line-height: 1.65; margin: 0 0 14px; }
html body .hr-intro strong { font-weight: 700; }
html body .hr-intro h2 { font-size: 28px; font-weight: 700; line-height: 1.25; margin: 26px 0 0; }
@media (max-width: 700px) { html body .hr-intro h2 { font-size: 24px; } }
