/* JMH Resources — shared article page styles.
   Loaded after /jmh.css on every /resources/<slug>/ page. */

.art-hero h1 { font-size: clamp(32px, 4.2vw, 58px); max-width: 24ch; }
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.art-meta b { color: var(--brass-bright); font-weight: 500; }

/* body copy */
.art-body { max-width: 720px; }
.art-body > p { margin: 0 0 1.4em; font-size: 17px; line-height: 1.78; color: #29323e; }
.art-body .art-open { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--ink); }
.art-body h2 { font-size: clamp(24px, 2.5vw, 31px); letter-spacing: -0.02em; margin: 2em 0 0.7em; }
.art-body h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin: 1.7em 0 0.55em; }
.art-body h2 + h3 { margin-top: 1em; }
.art-body ul, .art-body ol { margin: 0 0 1.4em; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.art-body li { font-size: 16.5px; line-height: 1.7; color: #29323e; }
.art-body li::marker { color: var(--brass); font-family: var(--mono); font-size: 0.9em; }
.art-body strong { font-weight: 600; color: var(--ink); }
.art-body a { color: var(--brass); font-weight: 600; }
.art-body a:hover { color: var(--ink); }

/* republished-article credit line (see articles-data.js) */
.art-body .art-attrib,
.art-attrib {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* key-takeaways box (top of longer guides) */
.art-take {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 30px) clamp(24px, 3vw, 34px);
  margin: 0 0 2.4em;
}
.art-take .mono-label { display: block; font-size: 12px; margin-bottom: 14px; }
.art-take ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.art-take li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; }
.art-take li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); }

/* aside / tip */
.art-tip {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 0 0 1.6em;
}
.art-tip .mono-label { display: block; font-size: 11px; margin-bottom: 10px; }
.art-tip p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #29323e; }
.art-tip p + p { margin-top: 10px; }

/* two-column comparison cards */
.art-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 1.6em; }
.art-col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.art-col h4 { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
.art-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.art-col li { font-size: 15px; line-height: 1.6; color: #29323e; padding-left: 20px; position: relative; }
.art-col li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }
@media (max-width: 640px) { .art-cols { grid-template-columns: 1fr; } }

/* ledger-style checklist rows */
.art-rows { border-top: 1px solid var(--line); margin: 0 0 1.8em; }
.art-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 6px clamp(20px, 3vw, 40px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.art-row b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.art-row span { font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (max-width: 640px) { .art-row { grid-template-columns: 1fr; } }

/* footer of the article */
.art-foot {
  border-top: 1px solid var(--line);
  margin-top: 3.2em;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px 28px;
}
.art-disc { font-size: 13px; line-height: 1.65; color: var(--muted); max-width: 58ch; margin: 0; }
.art-back { font-weight: 600; font-size: 15px; color: var(--brass); white-space: nowrap; }
.art-back:hover { color: var(--ink); }
