/* ============================================================
   cityam.css — faithful clean recreation of a cityam.com article
   ============================================================ */
body.cityam {
  --brand: #0a6dc4;
  --brand-ink: #ffffff;
  --paper: #ffffff;
  --ink: #111418;
  --muted: #6a7480;
  --rule: #e7e9ec;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
}

/* ---- top bar ---- */
.cam-topbar {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  padding: 16px 24px;
}
.cam-search {
  justify-self: start; width: min(260px, 30vw);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule); border-radius: 7px; padding: 9px 12px;
  color: #98a0aa; background: #fbfbfc;
}
.cam-search svg { width: 16px; height: 16px; flex: none; }
.cam-search span { font-family: "Source Sans 3", system-ui, sans-serif; font-size: 13.5px; }

.cam-logo { justify-self: center; display: block; }
.cam-logo svg { height: 34px; width: auto; display: block; }

.cam-app {
  justify-self: end;
  background: var(--brand); color: #fff; border: 0; border-radius: 6px;
  padding: 11px 17px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
}
.cam-app:hover { filter: brightness(1.06); }

/* ---- primary nav ---- */
.cam-nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cam-nav ul {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  list-style: none; display: flex; align-items: center; justify-content: center; gap: 26px;
  height: 50px;
  font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 600; font-size: 15px;
}
.cam-nav a { text-decoration: none; color: #1c2128; display: inline-flex; align-items: center; gap: 4px; }
.cam-nav a:hover { color: var(--brand); }
.cam-nav .caret { font-size: 10px; color: #9aa1ab; }
.cam-nav .sep { width: 1px; height: 18px; background: var(--rule); }
.cam-nav .muted { color: #6a7480; font-weight: 600; }

/* ---- article layout ---- */
.cam-main {
  max-width: 1180px; margin: 0 auto; padding: 28px 24px 70px;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px;
}
.cam-article { min-width: 0; }

.cam-meta {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 13px; color: var(--muted); margin: 0 0 14px;
}
.cam-meta .upd { color: #1c2128; font-weight: 700; }

.cam-h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 900; font-size: clamp(33px, 4.6vw, 50px); line-height: 1.04;
  letter-spacing: -.012em; margin: 0 0 22px; color: #0c0f13;
}

.cam-byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 26px; }
.cam-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; background: #dfe3e8; overflow: hidden; }
.cam-byname { font-family: "Source Sans 3", system-ui, sans-serif; }
.cam-byname b { display: block; font-weight: 800; font-size: 15.5px; color: #14181d; }
.cam-byname span { display: block; font-size: 13px; color: var(--muted); }
.cam-byline .spacer { flex: 1; }
.cam-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #d4d8de; border-radius: 999px; background: #fff;
  padding: 9px 16px;
  font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 700; font-size: 13.5px; color: #1c2128;
}
.cam-pill:hover { border-color: #b9bfc7; }
.cam-pill svg { width: 15px; height: 15px; }
.cam-pill.google { padding-left: 12px; }
.cam-pill.google .g { width: 16px; height: 16px; }

/* ---- hero ---- */
.cam-hero { margin: 0 0 10px; border-radius: 4px; overflow: hidden; }
.cam-hero .art { display: block; width: 100%; height: auto; background: #eef1f4; }
.cam-cap {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 12.5px; color: var(--muted); padding: 9px 2px 0; line-height: 1.45;
}
.cam-cap b { color: #1c2128; font-weight: 700; }

/* ---- body ---- */
.cam-body p { margin: 0 0 20px; }
.cam-body p.lead { font-size: 20px; line-height: 1.55; }
.cam-body .xhead {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 800;
  font-size: 23px; line-height: 1.2; margin: 30px 0 14px; color: #0c0f13;
}
.cam-pullquote {
  margin: 30px 0; padding: 6px 0 6px 22px;
  border-left: 4px solid var(--brand);
  font-weight: 700; font-size: 23px; line-height: 1.35; color: #15181d;
}
.cam-pullquote cite { display: block; margin-top: 10px; font-family: "Source Sans 3", system-ui, sans-serif; font-style: normal; font-weight: 600; font-size: 13.5px; color: var(--muted); }

/* ---- trending rail ---- */
.cam-side { font-family: "Source Sans 3", system-ui, sans-serif; }
.cam-trend { border-top: 3px solid #0c0f13; padding-top: 14px; }
.cam-trend h2 {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 900;
  font-size: 27px; margin: 0 0 6px; color: #0c0f13;
}
.cam-trend ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.cam-trend li {
  counter-increment: t;
  display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.cam-trend li::before {
  content: counter(t); color: var(--brand);
  font-family: "Source Serif 4", Georgia, serif; font-weight: 900; font-size: 34px; line-height: .9;
}
.cam-trend a {
  text-decoration: none; color: #14181d;
  font-family: "Source Serif 4", Georgia, serif; font-weight: 800; font-size: 16.5px; line-height: 1.25;
}
.cam-trend a:hover { color: var(--brand); }
.cam-trend .rule-b { height: 3px; background: var(--brand); margin-top: 2px; }

@media (max-width: 900px) {
  .cam-main { grid-template-columns: 1fr; gap: 40px; }
  .cam-topbar { grid-template-columns: auto 1fr; }
  .cam-search { display: none; }
  .cam-logo { justify-self: start; }
  .cam-nav ul { justify-content: flex-start; gap: 18px; overflow-x: auto; }
}
