/* Americare Careers — shared styles for every page of the careers site. */
/* ============================================================
   DESIGN TOKENS — swap these three for Americare brand values
   ============================================================ */
:root {
  --brand: #0b4f6c; /* primary navy */
  --brand-2: #01baef; /* accent cyan */
  --accent: #e8703a; /* action orange — apply buttons only */
  --ink: #13202a;
  --ink-2: #4a5b68;
  --line: #dfe6ec;
  --bg: #f6f9fb;
  --white: #fff;
  --good: #0f8a5f;
  --warn: #b45309;
  --r: 14px;
  --shadow:
    0 1px 2px rgba(19, 32, 42, 0.06), 0 8px 24px rgba(19, 32, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(19, 32, 42, 0.16);
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Inter,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: var(--brand);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

/* ---------- annotation chrome (prototype only) ---------- */
.protobar {
  background: #13202a;
  color: #c9d6e0;
  font-size: 13px;
  padding: 9px 20px;
  text-align: center;
  letter-spacing: 0.01em;
}
.protobar b {
  color: #fff;
}
.note {
  position: relative;
  border-left: 3px solid var(--brand-2);
  background: #eef9fd;
  padding: 10px 14px;
  margin: 14px 0;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: #0b4f6c;
}
.note b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #0289b0;
  margin-bottom: 3px;
}
body.clean .note,
body.clean .protobar {
  display: none;
}

/* ---------- header ---------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.hd {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--brand);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span {
  color: var(--brand-2);
}
.hd nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
}
.hd nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.hd nav a:hover {
  color: var(--brand);
}
@media (max-width: 860px) {
  .hd nav {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(
    160deg,
    #0b4f6c 0%,
    #0a3d55 55%,
    #082e40 100%
  );
  color: #fff;
  padding: 44px 0 30px;
}
.hero h1 {
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.hero p.sub {
  font-size: clamp(16px, 2vw, 19px);
  color: #bfe2f0;
  margin: 0 0 22px;
  max-width: 640px;
}
.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.promise li {
  list-style: none;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13.5px;
  font-weight: 600;
}
.promise li b {
  color: #8ee7ff;
}

/* search bar */
.searchbar {
  background: #fff;
  border-radius: var(--r);
  padding: 12px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.8fr auto;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
.searchbar label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.searchbar input,
.searchbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(1.06);
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-block {
  width: 100%;
}
.searchbar .go {
  align-self: end;
}
@media (max-width: 760px) {
  .searchbar {
    grid-template-columns: 1fr;
  }
}

.alt {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: #bfe2f0;
}
.sms {
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  color: #fff;
}
.sms b {
  color: #8ee7ff;
}

/* ---------- discipline buttons ---------- */
section {
  padding: 44px 0;
}
.h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-weight: 800;
}
.lede {
  color: var(--ink-2);
  margin: 0 0 22px;
  max-width: 680px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 12px;
}
.disc {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 16px 15px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.14s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.disc:hover {
  border-color: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.disc[aria-pressed="true"] {
  border-color: var(--brand);
  background: #f0f9fd;
  box-shadow: 0 0 0 3px rgba(1, 186, 239, 0.18);
}
.disc .ic {
  font-size: 22px;
  line-height: 1;
}
.disc .nm {
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.disc .ct {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.disc .py {
  font-size: 13px;
  font-weight: 800;
  color: var(--good);
}
.disc .tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
}
.disc.train {
  background: linear-gradient(140deg, #fff7ed, #ffedd5);
  border-color: #fdba74;
}
.disc.train .py {
  color: var(--warn);
}

/* ---------- results ---------- */
.resultsbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 14px;
}
#openings {
  scroll-margin-top: 104px;
}
.jobs.reveal .job {
  animation: careerJobIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.jobs.reveal .job:nth-child(1) { animation-delay: 0.03s; }
.jobs.reveal .job:nth-child(2) { animation-delay: 0.08s; }
.jobs.reveal .job:nth-child(3) { animation-delay: 0.13s; }
.jobs.reveal .job:nth-child(4) { animation-delay: 0.18s; }
.jobs.reveal .job:nth-child(5) { animation-delay: 0.23s; }
.jobs.reveal .job:nth-child(6) { animation-delay: 0.28s; }
@keyframes careerJobIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  #openings { scroll-margin-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .jobs.reveal .job { animation: none; }
}
.count {
  font-weight: 800;
  font-size: 17px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-left: auto;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.clearall {
  background: none;
  border: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.job {
  --job-tint: #e8f5fb;
  --job-accent: #0b6f95;
  background: #fff;
  border: 1px solid #d9e3e9;
  border-radius: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(11, 79, 108, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.job:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--job-accent) 35%, #d9e3e9);
  box-shadow: 0 14px 30px rgba(19, 32, 42, 0.1);
}
.job[data-disc="hha"],
.job[data-disc="pca"] {
  --job-tint: #e8f7f0;
  --job-accent: #087f5b;
}
.job[data-disc="rn"],
.job[data-disc="rehab"] {
  --job-tint: #eaf1ff;
  --job-accent: #315fb5;
}
.job[data-disc="peds"],
.job[data-disc="aba"] {
  --job-tint: #fff0f3;
  --job-accent: #b4375a;
}
.job[data-disc="coord"],
.job[data-disc="sw"] {
  --job-tint: #fff4df;
  --job-accent: #9b6508;
}
.job[data-disc="rx"] {
  --job-tint: #f0edff;
  --job-accent: #6741b9;
}
.job-top {
  background: var(--job-tint);
  padding: 14px 16px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--job-accent) 15%, transparent);
}
.job-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--job-accent);
  font-size: 19px;
  flex: 0 0 auto;
}
.job-kind {
  color: var(--job-accent);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.job-req {
  margin-left: auto;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
}
.job-body {
  padding: 15px 16px 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}
.job h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.job .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.job .m {
  background: #f2f5f7;
  border: 0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.pay {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pay::before {
  content: "$";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f7f0;
  color: var(--good);
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}
.job-location {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.job-location::before {
  content: "⌖";
  color: var(--job-accent);
  font-weight: 900;
}
.pay.review {
  color: var(--ink-2);
  font-weight: 650;
}
.pay.review::before {
  content: "i";
  background: #eef2f5;
  color: var(--ink-2);
}
.bonus {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12.5px;
  font-weight: 800;
}
.job .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
  border-top: 1px solid #edf1f3;
}
.job .foot .btn {
  margin-top: 10px;
  padding: 8px 0;
  font-size: 14px;
  background: transparent;
  color: var(--job-accent);
  border: 0;
  box-shadow: none;
  text-align: left;
}
.job .foot .btn::after {
  content: "  →";
  transition: margin-left 0.15s ease;
}
.job:hover .foot .btn::after {
  margin-left: 4px;
}
.ago {
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 600;
}
.speed {
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 650;
  text-align: right;
  margin-top: 10px;
}
@media (max-width: 940px) {
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .jobs { grid-template-columns: 1fr; gap: 12px; }
  .job { min-height: 0; }
}

.empty {
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: var(--r);
  padding: 32px;
  text-align: center;
}
.empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.empty p {
  color: var(--ink-2);
  margin: 0 0 16px;
}
.emptyform {
  display: flex;
  gap: 8px;
  max-width: 430px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.emptyform input {
  flex: 1 1 190px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  font-size: 16px;
  font-family: inherit;
}

/* ---------- training band ---------- */
.band {
  background: linear-gradient(135deg, #0b4f6c, #01baef);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}
.band h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 8px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.band p {
  margin: 0 0 16px;
  color: #e2f6fd;
  font-size: 16.5px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.fact {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 11px 13px;
}
.fact b {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.fact span {
  font-size: 12.5px;
  color: #d3eefa;
}
.bandcard {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 18px;
}
.bandcard h4 {
  margin: 0 0 10px;
  font-size: 15px;
}
.bandcard ol {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.bandcard li {
  margin-bottom: 5px;
}
@media (max-width: 800px) {
  .band {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ---------- proof / referral ---------- */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 860px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.stat span {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.quote p {
  margin: 0 0 12px;
  font-size: 15px;
}
.who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.av {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.who b {
  display: block;
  font-size: 14px;
}
.who span {
  font-size: 12.5px;
  color: var(--ink-2);
}

.referral {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  border-radius: var(--r);
  padding: 22px;
}
.referral .amt {
  font-size: 34px;
  font-weight: 900;
  color: #9a3412;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 25, 35, 0.6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 120;
  padding: 0;
}
.modal.open {
  display: flex;
}
@media (min-width: 761px) {
  .modal {
    align-items: center;
    padding: 24px;
  }
}
.sheet {
  background: #fff;
  width: 100%;
  max-width: 520px;
  border-radius: 20px 20px 0 0;
  padding: 22px;
  max-height: 92vh;
  overflow: auto;
}
@media (min-width: 761px) {
  .sheet {
    border-radius: 18px;
  }
}
.sheet h3 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.sheet .role {
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 0 0 4px;
  font-weight: 600;
}
.sheet .paybig {
  font-size: 20px;
  font-weight: 900;
  color: var(--good);
  margin: 0 0 14px;
}
.steps {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.step {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}
.step.on {
  background: var(--brand-2);
}
.fld {
  margin-bottom: 12px;
}
.fld label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--ink);
}
.fld input,
.fld select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 12px;
  font-size: 16px;
  font-family: inherit;
}
.fld input:focus-visible,
.fld select:focus-visible {
  outline: 3px solid rgba(41, 64, 194, 0.18);
  outline-offset: 1px;
  border-color: var(--brand);
}
.fld .hint {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 4px;
}
.contact-stack {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f8fbff;
  margin-bottom: 12px;
}
.contact-stack .fld:last-child {
  margin-bottom: 0;
}
.optional-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e8f0ff;
  color: var(--brand);
  font-size: 10px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}
.delivery-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3edf8;
  margin-top: 5px;
}
.delivery-choice svg {
  flex: 0 0 auto;
  margin-top: 1px;
}
.delivery-choice b {
  display: block;
  font-size: 12.5px;
}
.delivery-choice span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 2px;
  line-height: 1.4;
}
.confirm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}
.confirm-item {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  background: #fff;
}
.confirm-item b {
  display: block;
  font-size: 13px;
}
.confirm-item span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 3px;
}
.confirm-item.ok {
  border-color: #a8ddb8;
  background: #f0fbf3;
}
.confirm-item.pending {
  border-color: #f2c885;
  background: #fffaf0;
}
@media (max-width: 420px) {
  .confirm-grid {
    grid-template-columns: 1fr;
  }
}
.radiorow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.radiorow button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
}
.radiorow button[aria-pressed="true"] {
  border-color: var(--brand);
  background: #eef9fd;
  color: var(--brand);
}
.microcopy {
  background: var(--bg);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13px;
  color: var(--ink-2);
  margin: 4px 0 14px;
}
.microcopy b {
  color: var(--good);
}
.done {
  text-align: center;
  padding: 14px 0;
}
.done .tick {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #dcfce7;
  color: var(--good);
  display: grid;
  place-items: center;
  font-size: 30px;
  margin: 0 auto 14px;
}
.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}
.slots button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  font-size: 14px;
}
.slots button:hover {
  border-color: var(--brand);
}
.closex {
  float: right;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  padding: 0 4px;
}

footer.site {
  background: #0a2634;
  color: #9fb6c4;
  padding: 34px 0;
  margin-top: 20px;
  font-size: 14px;
}
footer.site a {
  color: #bfe2f0;
}
.footer-next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(191, 226, 240, 0.45);
  border-radius: 6px;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}
.footer-next:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Americare live-site visual system — reference locked 2026-08-12 */
@font-face {
  font-family: Inter;
  src: url("https://www.americareny.com/wp-content/themes/fws-americare/src/assets/fonts/Inter-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("https://www.americareny.com/wp-content/themes/fws-americare/src/assets/fonts/Inter-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "P22 Mackinac";
  src: url("https://www.americareny.com/wp-content/themes/fws-americare/src/assets/fonts/P22Mackinac-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --brand: #2940c2;
  --brand-2: #1e73be;
  --accent: #da3545;
  --ink: #2d2d2d;
  --ink-2: #5d5d5d;
  --line: #cedff2;
  --bg: #f4f8fd;
  --r: 10px;
  --shadow: 0 8px 24px rgba(41, 64, 194, 0.08);
  --shadow-lg: 0 18px 50px rgba(30, 65, 120, 0.15);
}
body {
  font-family: Inter, Arial, Helvetica, sans-serif;
}
header.site {
  border-bottom: 1px solid #e8eef6;
  box-shadow: 0 2px 12px rgba(41, 64, 194, 0.04);
}
.hd {
  height: 86px;
  gap: 26px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  display: block;
  width: 138px;
  height: auto;
}
.hero {
  background: #e4f1ff;
  color: var(--ink);
  padding: 0;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: stretch;
  min-height: 560px;
}
.hero-copy {
  padding: 62px 44px 48px 0;
  align-self: center;
}
.hero-media {
  min-height: 560px;
  background: url("https://www.americareny.com/wp-content/uploads/2023/11/hero-new.webp")
    center 24% / cover no-repeat;
  border-radius: 0 0 0 80px;
}
.hero h1,
.h2,
.band h2,
.sheet h3 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--ink);
  max-width: 720px;
}
.hero p.sub {
  color: var(--ink-2);
  max-width: 650px;
}
.promise {
  padding: 0;
}
.promise li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 13px;
  color: var(--ink-2);
}
.promise li b {
  color: var(--brand);
}
.alt {
  color: var(--ink-2);
  font-size: 14px;
}
.sms {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}
.sms b {
  color: var(--brand);
}
.btn {
  border-radius: 6px;
}
.disc,
.job,
.card,
.stat,
.quote,
.referral {
  border-radius: 10px;
}
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 42px 0;
  }
  .hero-media {
    min-height: 310px;
    border-radius: 40px 40px 0 0;
    background-position: center 25%;
  }
  .hd {
    height: 72px;
  }
  .logo img {
    width: 116px;
  }
}
/* Approved blended direction — compact search-first production candidate experience */
.hero {
  background: linear-gradient(112deg, #e7f2ff 0%, #f4f8fd 72%);
}
.hero-layout {
  display: block;
  min-height: 0;
}
.hero-copy {
  padding: 30px 0 26px;
}
.hero-media {
  display: none;
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 8px;
}
.hero p.sub {
  font-size: 15px;
  margin: 0;
  max-width: 760px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-link {
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 10px 13px;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}
.hero-link.secondary {
  background: #fff;
  border-color: var(--line);
  color: #394252;
}
.searchbar {
  margin: 0;
  max-width: none;
}
.promise,
.alt {
  display: none;
}
#disciplines {
  padding-top: 28px;
  scroll-margin-top: 104px;
}
@media (max-width: 900px) {
  #disciplines { scroll-margin-top: 88px; }
}
.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.disc {
  min-height: 118px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff, #fff);
  position: relative;
  overflow: hidden;
}
.disc:nth-child(6n + 2) {
  background: linear-gradient(135deg, #fff1f4, #fff);
}
.disc:nth-child(6n + 3) {
  background: linear-gradient(135deg, #edf9f4, #fff);
}
.disc:nth-child(6n + 4) {
  background: linear-gradient(135deg, #fff7e7, #fff);
}
.disc:nth-child(6n + 5) {
  background: linear-gradient(135deg, #f5efff, #fff);
}
.disc:nth-child(6n + 6) {
  background: linear-gradient(135deg, #edf7fa, #fff);
}
.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}
.job {
  border: 1px solid #d9e3e9;
  border-radius: 18px;
  padding: 0;
}
.job .foot {
  justify-content: space-between;
}
@media (max-width: 940px) {
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .jobs { grid-template-columns: 1fr; gap: 12px; }
}
.job-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* long translated words wrap instead of widening the page */
  gap: 22px;
  margin-top: 20px;
  overflow-wrap: break-word;
}
.detail-intro {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  color: #28364a;
  margin: 0;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.detail-fact {
  background: #f4f8fd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.detail-fact span {
  display: block;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-fact b {
  display: block;
  font-size: 13px;
  margin-top: 3px;
}
.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.detail-section h4 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
}
.detail-section p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: var(--ink);
}
.detail-section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}
.detail-section li {
  font-size: 14px;
  line-height: 1.5;
}
.detail-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8f0ff;
  color: var(--brand);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  margin-bottom: 8px;
}
.detail-label.source {
  background: #edf8f1;
  color: #17653a;
}
.detail-note {
  background: #fff8e8;
  border-left: 4px solid #e6a21a;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #5d4a20;
}
.hha-story {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #c9ddf6;
  border-radius: 18px;
  background: linear-gradient(145deg, #edf6ff 0%, #ffffff 62%);
  box-shadow: 0 12px 30px rgba(41, 64, 194, 0.07);
}
.hha-story-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}
.hha-story h4 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 8px;
  color: #183159;
  text-wrap: balance;
}
.hha-story-head p {
  max-width: 650px;
  margin: 0;
  color: #4f6076;
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}
.hha-heart {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #2940c2;
  color: #fff;
  font-size: 25px;
  box-shadow: 0 8px 18px rgba(41, 64, 194, 0.22);
}
.hha-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hha-impact-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}
.hha-impact-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e7efff;
  color: #2940c2;
  font-size: 17px;
}
.hha-impact-card b {
  display: block;
  margin-bottom: 3px;
  color: #22324a;
  font-size: 13px;
}
.hha-impact-card p {
  margin: 0;
  color: #657287;
  font-size: 12px;
  line-height: 1.45;
}
.hha-source-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #dbe8f6;
  color: #657287;
  font-size: 11px;
  line-height: 1.5;
}
/* HHA postings: Recruitment's summary, certification line and union benefits */
.hha-summary .detail-intro b {
  font-weight: 600;
  color: #183159;
}
.hha-req {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid #2940c2;
  border-radius: 0 10px 10px 0;
  background: #fff;
}
.hha-req span {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hha-req b {
  font-size: 14px;
  color: var(--ink);
}
.hha-union {
  padding: 20px 22px;
  border: 1px solid #c9ddf6;
  border-radius: 14px;
  background: #fbfdff;
}
.hha-union h4 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #183159;
}
.hha-union p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #4f6076;
}
.hha-union ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}
.hha-union li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.hha-union li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e7efff;
  color: #2940c2;
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 620px) {
  .hha-union { padding: 16px; }
  .hha-union ul { grid-template-columns: 1fr; }
}
.detail-eeo {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (max-width: 620px) {
  .hha-story { padding: 18px; }
  .hha-story-head { grid-template-columns: 1fr; }
  .hha-heart { display: none; }
  .hha-impact { grid-template-columns: 1fr; }
}
.detail-actions {
  position: sticky;
  bottom: -18px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 0 2px;
  display: grid;
  gap: 8px;
}
.source-link {
  text-align: center;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}
.job-page {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  overflow: auto;
  background: #f7f9fc;
}
.job-page.open {
  display: block;
}
.job-page-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.job-page-bar .inner {
  max-width: 1180px;
  min-height: 72px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.job-page-back {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 10px 0;
}
.job-page-brand {
  height: 32px;
  width: auto;
}
.job-page-main {
  max-width: 1180px;
  margin: auto;
  padding: 48px 24px 80px;
}
.job-page-hero {
  max-width: 820px;
  margin-bottom: 34px;
}
.job-page-hero h1 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 8px 0 14px;
}
.job-page-meta {
  color: var(--ink-2);
  font-weight: 700;
}
.job-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 330px);
  gap: 56px;
  align-items: start;
}
.job-page-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 48px);
}
.job-page-content .job-detail {
  margin-top: 0;
  gap: 30px;
}
.job-page-content .detail-section {
  padding-top: 26px;
}
.job-page-content .detail-section h4 {
  font-size: 25px;
}
.job-page-content .detail-section p,
.job-page-content .detail-section li {
  font-size: 16px;
  line-height: 1.7;
}
.job-page-aside {
  position: sticky;
  top: 104px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.job-page-aside .paybig {
  margin: 4px 0 18px;
}
.job-page-aside .source-link {
  display: block;
  margin-top: 14px;
  line-height: 1.45;
}
.job-page-aside-note {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 0 0;
}
@media (max-width: 800px) {
  .job-page-bar .inner {
    min-height: 60px;
    padding: 8px 16px;
  }
  .job-page-brand {
    height: 27px;
  }
  .job-page-main {
    padding: 28px 16px 110px;
  }
  .job-page-hero {
    margin-bottom: 22px;
  }
  .job-page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
  .job-page-layout {
    display: block;
  }
  .job-page-content {
    padding: 22px 18px;
    border-radius: 12px;
  }
  .job-page-content .detail-section h4 {
    font-size: 21px;
  }
  .job-page-content .detail-section p,
  .job-page-content .detail-section li {
    font-size: 15px;
  }
  .job-page-aside {
    position: fixed;
    inset: auto 0 0;
    z-index: 4;
    border-radius: 0;
    border-width: 1px 0 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  }
  .job-page-aside .paybig,
  .job-page-aside .source-link,
  .job-page-aside-note {
    display: none;
  }
}
.show-more {
  display: block;
  margin: 18px auto 0;
}
@media (max-width: 520px) {
  .detail-facts {
    grid-template-columns: 1fr;
  }
  .detail-intro {
    font-size: 17px;
  }
  .detail-section h4 {
    font-size: 18px;
  }
}
@media (max-width: 900px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-copy {
    padding: 22px 0 20px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-media {
    display: none;
  }
}

/* --- mature careers frame (Astra brief + Wellfound/Anthropic/Instacart) --- */
:root {
  --bg: #ffffff;
  --line: #d8d8d8;
  --r: 12px;
  --shadow: none;
  --shadow-lg: none;
}
body {
  background: var(--bg);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
}
.hero h1,
.h2,
.job-page-hero h1 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.protobar {
  font-size: 12px;
  padding: 8px 16px;
  background: #051316;
}
.note {
  display: none;
}
.searchbar {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.btn {
  border-radius: 12px;
  font-weight: 600;
}
.btn-primary {
  background: #0b4f6c;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.disc {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 10px 16px;
  min-height: 0;
  box-shadow: none;
  background: #fff;
}
.disc:hover {
  transform: none;
  box-shadow: none;
  border-color: #051316;
}
.disc[aria-pressed="true"] {
  background: #051316;
  color: #fff;
  border-color: #051316;
  box-shadow: none;
}
.disc[aria-pressed="true"] .ct,
.disc[aria-pressed="true"] .nm,
.disc[aria-pressed="true"] .py {
  color: #fff;
}
.disc .ic {
  font-size: 14px;
}
.disc .nm {
  font-weight: 600;
  font-size: 14px;
}
.disc .ct {
  font-weight: 500;
  font-size: 13px;
}
.disc .py,
.disc .tag {
  display: none;
}
.disc.train {
  background: #fff;
  border-color: var(--line);
}
.jobs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  grid-template-columns: none;
}
.job-group {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.job-group-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
}
.job-group-h .nm {
  font-size: 20px;
  font-weight: 600;
  color: #051316;
  letter-spacing: -0.02em;
}
.job-group-h .ct {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.job {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px 0;
  background: transparent;
  overflow: visible;
}
.job:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  background: #f7f8f8;
}
.job-top {
  display: none;
}
.job-body {
  padding: 0;
  gap: 4px;
  grid-column: 1;
}
.job h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.job .job-location,
.job .pay,
.job .meta {
  font-size: 13px;
  color: var(--ink-2);
}
.job .foot {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  align-self: center;
}
.job .foot .btn {
  background: transparent;
  color: #0b4f6c;
  border: 0;
  padding: 8px 0;
  font-weight: 600;
  box-shadow: none;
}
.job .speed {
  display: none;
}
.jobs.reveal .job {
  animation: none;
}
.band,
.bandcard {
  box-shadow: none;
  border-radius: 12px;
}

/* ---------- header search: shown once the hero search scrolls out of view ---------- */
.hd-search,
.hd-search-btn {
  display: none;
}
body.show-hd-search .hd-search {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 18px;
}
.hd-search input {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.hd-search #hdQ {
  width: 210px;
}
.hd-search #hdZip {
  width: 82px;
}
.hd-search .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.hd-search-btn {
  margin-left: auto;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
}
@media (max-width: 1100px) {
  body.show-hd-search .hd nav {
    display: none;
  }
  body.show-hd-search .hd-search {
    margin-left: auto;
  }
}
@media (max-width: 860px) {
  body.show-hd-search .hd-search {
    display: none;
  }
  body.show-hd-search .hd-search-btn {
    display: inline-flex;
  }
}

/* ---------- free HHA training call-to-action on HHA job details ---------- */
.training-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  background: #eef9fd;
  border: 1px solid #bfe7f5;
  border-radius: 12px;
  padding: 16px 18px;
}
.training-cta b {
  display: block;
  font-size: 16px;
  color: var(--brand);
}
.training-cta p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.training-cta .btn {
  white-space: nowrap;
  text-decoration: none;
  max-width: 100%;
}
@media (max-width: 620px) {
  /* Spanish and Russian labels are longer than a phone is wide */
  .training-cta .btn { white-space: normal; text-align: center; }
}
.training-link {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.45;
}
@media (max-width: 800px) {
  .job-page-aside .training-link {
    display: none;
  }
}

/* ---------- careers tab menu (every page) ---------- */
header.site .tabs {
  border-top: 1px solid var(--line);
}
.tabs-row {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-row::-webkit-scrollbar {
  display: none;
}
.tabs a {
  flex: none;
  padding: 11px 14px 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tabs a:first-child {
  margin-left: -14px;
}
.tabs a:hover {
  color: var(--brand);
}
.tabs a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.tabs a.ext {
  margin-left: auto;
}
body.show-hd-search .hd-search {
  margin-left: auto;
}
#disciplines,
#openings {
  scroll-margin-top: 150px;
}
@media (max-width: 860px) {
  .tabs a {
    padding: 10px 10px 8px;
    font-size: 14px;
  }
  .tabs a:first-child {
    margin-left: -10px;
  }
  .tabs a.ext {
    margin-left: 0;
  }
  #disciplines,
  #openings {
    scroll-margin-top: 134px;
  }
}

/* ---------- content pages: pay & benefits, training, life at Americare ---------- */
section.page-hero {
  background: linear-gradient(112deg, #e7f2ff 0%, #f4f8fd 72%);
  padding: 40px 0 34px;
}
.page-hero .eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.page-hero h1 {
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--ink);
  max-width: 860px;
}
.page-hero p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 760px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.benefit .ic {
  font-size: 26px;
}
.benefit h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  color: var(--ink);
}
.benefit p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.page-note {
  margin: 22px 0 0;
  background: #fff;
  border-left: 4px solid var(--brand-2);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  color: var(--ink-2);
  font-weight: 600;
}
.page-cta .btn {
  display: inline-block;
  text-decoration: none;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.testimonial h3 {
  margin: 0;
  font-size: 17px;
  color: var(--brand);
}
.testimonial blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.testimonial figcaption {
  margin-top: auto;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}
/* On phones the tab row scrolls sideways; fade the right edge so that's visible. */
@media (max-width: 860px) {
  header.site .tabs {
    position: relative;
  }
  header.site .tabs::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
  }
}
a.hd-search-btn {
  text-decoration: none;
}

/* ---------- language picker (built by i18n.js into [data-lang-host]) ---------- */
.lang {
  position: relative;
  flex: none;
  margin-left: auto;
}
body.show-hd-search .hd .lang {
  margin-left: 12px;
}
.job-page-bar .lang {
  margin-right: 4px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.lang-btn:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(41, 64, 194, 0.08);
}
.lang-btn:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(41, 64, 194, 0.22);
}
.lang-btn[aria-expanded="true"] {
  border-color: var(--brand);
  background: #f4f8fd;
}
.lang-globe {
  flex: none;
  color: var(--brand);
}
.lang-chev {
  flex: none;
  color: #7c8697;
  transition: transform 0.25s;
}
.lang-btn[aria-expanded="true"] .lang-chev {
  transform: rotate(180deg);
}
.lang-code {
  display: none;
}
.lang-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 1001;
  width: 304px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e3eaf5;
  border-radius: 16px;
  box-shadow: 0 28px 60px -24px rgba(18, 26, 75, 0.45), 0 2px 6px rgba(18, 26, 75, 0.06);
  transform-origin: top right;
  animation: langIn 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
  text-align: left;
}
.lang-panel[hidden],
.lang-scrim[hidden] {
  display: none;
}
.lang-grip {
  display: none;
}
.lang-title {
  margin: 0;
  padding: 8px 10px 10px;
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
}
.lang-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-opt {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s;
}
.lang-opt:hover {
  background: #f4f8fd;
}
.lang-opt:focus-visible {
  outline: none;
  background: #f4f8fd;
  box-shadow: inset 0 0 0 2px var(--brand);
}
.lang-mono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eef3fb;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.15s, color 0.15s;
}
.lang-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.3;
}
.lang-native {
  font-size: 16px;
  font-weight: 600;
}
.lang-en {
  font-size: 12.5px;
  color: #6b7383;
}
.lang-check {
  color: var(--brand);
  opacity: 0;
}
.lang-opt[aria-checked="true"] {
  background: #eef3fb;
}
.lang-opt[aria-checked="true"] .lang-mono {
  background: var(--brand);
  color: #fff;
}
.lang-opt[aria-checked="true"] .lang-check {
  opacity: 1;
}
.lang-note {
  margin: 8px 10px 4px;
  padding-top: 10px;
  border-top: 1px solid #edf1f7;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b7383;
}
.lang-scrim {
  display: none;
}
@keyframes langIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes langSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
@keyframes langFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Phones: the button shrinks to globe + code, and the list opens as a bottom sheet. */
@media (max-width: 640px) {
  .lang-cur {
    display: none;
  }
  .lang-code {
    display: inline;
  }
  .lang-btn {
    gap: 6px;
    padding: 0 10px;
    height: 38px;
  }
  .lang-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    max-height: calc(100% - 48px);
    overflow-y: auto;
    border-radius: 22px 22px 0 0;
    padding: 8px max(16px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
    animation: langSheet 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .lang-grip {
    display: block;
    width: 40px;
    height: 5px;
    margin: 4px auto 8px;
    border-radius: 99px;
    background: #d5ddea;
  }
  .lang-title {
    font-size: 21px;
    padding: 6px 6px 12px;
  }
  .lang-opt {
    min-height: 62px;
  }
  .lang-native {
    font-size: 17px;
  }
  .lang-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(18, 26, 75, 0.38);
    animation: langFade 0.2s;
  }
  html.lang-sheet-open,
  html.lang-sheet-open body {
    overflow: hidden;
  }
}
@media (max-width: 420px) {
  .hd-search-btn .long {
    display: none;
  }
}
.hd-search-btn .short {
  display: none;
}
@media (max-width: 420px) {
  .hd-search-btn .short {
    display: inline;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lang-panel,
  .lang-scrim,
  .lang-suggest {
    animation: none;
  }
}

/* Footer language row */
.foot-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.foot-langs .lang-globe {
  color: inherit;
  opacity: 0.85;
}
.foot-langs-label {
  margin-right: 6px;
  font-size: 13px;
  opacity: 0.85;
}
.foot-langs button {
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.foot-langs button:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.foot-langs button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  font-weight: 600;
}

/* Offer the visitor's browser language once */
.lang-suggest {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 16px;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e3eaf5;
  border-radius: 999px;
  box-shadow: 0 24px 50px -22px rgba(18, 26, 75, 0.5);
  animation: langFade 0.3s;
}
.lang-suggest p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.lang-suggest-yes {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lang-suggest-no {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f1f4f9;
  color: #5d6575;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 640px) {
  .lang-suggest {
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    border-radius: 18px;
    flex-wrap: wrap;
  }
  .lang-suggest p {
    flex: 1 1 100%;
  }
}

/* Notes shown only outside English */
.res-note,
.detail-en-note,
.tr-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.detail-en-note {
  padding: 10px 14px;
  border-radius: 10px;
  background: #f4f8fd;
  border: 1px solid var(--line);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Scripts the display face doesn't cover: Cyrillic in Georgia, Chinese and Devanagari in system sans faces */
html:lang(ru) :is(.hero h1, .h2, .band h2, .sheet h3, .detail-intro, .detail-section h4, .hha-story h4, .job-page-hero h1, .page-hero h1, .lang-title) {
  font-family: Georgia, "Times New Roman", serif;
}
html:lang(zh-Hans) :is(.hero h1, .h2, .band h2, .sheet h3, .detail-intro, .detail-section h4, .hha-story h4, .job-page-hero h1, .page-hero h1, .lang-title) {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}
html:lang(hi) :is(.hero h1, .h2, .band h2, .sheet h3, .detail-intro, .detail-section h4, .hha-story h4, .job-page-hero h1, .page-hero h1, .lang-title) {
  font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", Mangal, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}
html:lang(hi) body {
  line-height: 1.65;
}

/* ---------- free HHA training sign-up form (training-form.js) ---------- */
.tform-inline {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 150px;
}
.tform {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tform-title {
  margin: 0;
  font-family: "P22 Mackinac", Georgia, serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  color: var(--ink);
}
.tform-sub {
  margin: -8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.tform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tform-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.tform-field label,
.tform-field legend {
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.tform-opt {
  font-weight: 400;
  color: var(--ink-2);
}
.tform input[type="text"],
.tform input[type="tel"],
.tform input[type="email"],
.tform select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid #c9d6ec;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tform input:focus,
.tform select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(41, 64, 194, 0.15);
}
.tform input[aria-invalid="true"] {
  border-color: #c42b3a;
}
.tform-err {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #c42b3a;
}
.tform-seg {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  border: 1.5px solid #c9d6ec;
  border-radius: 999px;
  background: #f4f8fd;
}
.tform-seg label {
  position: relative;
  cursor: pointer;
}
.tform-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tform-seg span {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.15s, color 0.15s;
}
.tform-seg input:checked + span {
  background: var(--brand);
  color: #fff;
}
.tform-seg input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(41, 64, 194, 0.35);
}
.tform-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.tform-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #2940c2;
}
.tform-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tform-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.tform-send {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.tform-send[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.tform-note {
  flex: 1 1 220px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.tform-preview {
  margin: 0;
  padding: 8px 12px;
  border: 1px dashed #d9a400;
  border-radius: 10px;
  background: #fff8e1;
  font-size: 13px;
  font-weight: 600;
  color: #7a5a00;
}
.tform-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 0 6px;
  text-align: center;
  outline: none;
}
.tform-done p {
  margin: 0;
  max-width: 44ch;
  color: var(--ink-2);
}
.tform-done .btn {
  margin-top: 6px;
  text-decoration: none;
}
.tform-tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #1a9e68;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.tform-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 30px 32px 28px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(18, 26, 75, 0.55);
  color: var(--ink);
  overflow-y: auto;
}
.tform-dialog::backdrop {
  background: rgba(18, 26, 75, 0.45);
}
.tform-dialog[open] {
  animation: langFade 0.2s;
}
.tform-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f1f4f9;
  color: #5d6575;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tform-x:hover {
  background: #e4eaf4;
}
.tform-dialog .tform-title,
.tform-dialog .tform-preview {
  margin-right: 44px;
}
@media (max-width: 640px) {
  .tform-inline {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .tform-grid {
    grid-template-columns: 1fr;
  }
  .tform-send {
    width: 100%;
  }
  /* On phones the dialog becomes a bottom sheet. */
  .tform-dialog {
    width: 100%;
    max-width: none;
    max-height: 92%;
    margin: auto 0 0;
    padding: 24px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
  }
  .tform-dialog[open] {
    animation: langSheet 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tform-dialog[open] {
    animation: none;
  }
}
html:lang(ru) .tform-title {
  font-family: Georgia, "Times New Roman", serif;
}
html:lang(zh-Hans) .tform-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
}
html:lang(hi) .tform-title {
  font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", Mangal, sans-serif;
  font-weight: 600;
}

/* ---------- Look B (the default): role buttons as square tiles under the hero (2027 americareny.com style) ----------
   Keyed on "not look A" so the page paints as B before the script sets data-look. */
html[data-look="a"] .role-tiles { display: none; }
html:not([data-look="a"]) #discGrid,
html:not([data-look="a"]) #disciplines > .wrap > .h2,
html:not([data-look="a"]) #disciplines > .wrap > .lede { display: none; }
html:not([data-look="a"]) #disciplines { padding-top: 28px; }
.role-tiles {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.role-tiles > .wrap { overflow: hidden; } /* clips the dividers on the outer edges */
.role-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 -23px -1px -22px; /* tile text lines up with the hero; the outer dividers fall outside */
}
.role-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 20px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.role-tile .ri {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.role-tile .rt { flex: 1; min-width: 0; }
.role-tile small {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.role-tile b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.role-tile .ra {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition: transform 0.15s, opacity 0.15s;
}
.role-tile:hover { background: #f5f9fc; color: var(--brand); }
.role-tile:hover .ra { opacity: 1; transform: translateX(3px); }
.role-tile[aria-pressed="true"] {
  background: #e8f5fb;
  color: var(--brand);
  box-shadow: inset 0 -3px 0 var(--brand);
}
.role-tile[aria-pressed="true"] .ra { opacity: 1; }
.role-tile:focus-visible { outline: 3px solid #4b9fd6; outline-offset: -3px; }
@media (max-width: 980px) {
  .role-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .role-tiles > .wrap { padding: 0; }
  .role-tile-grid { margin: 0 -1px -1px 0; }
  .role-tile { min-height: 78px; gap: 10px; padding: 16px 14px 16px 20px; }
  .role-tile .ri { width: 23px; height: 23px; }
  .role-tile .ra { display: none; }
  .role-tile small { font-size: 9px; letter-spacing: 0.05em; }
  .role-tile b { font-size: 14px; }
}

/* Look B job listing: one clean row per job, after the 2027 americareny.com listing. No grey
   hover; the title turns blue and the whole row is the link. */
.job-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.job-row h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color 0.15s;
}
.job-row .jr-main { display: block; min-width: 0; }
.job-row .jr-ref { font-size: 11px; color: var(--ink-2); letter-spacing: 0.04em; }
.job-row .jr-facts { display: grid; gap: 3px; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.job-row .pay { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.job-row .pay::before { content: none; }
.job-row .pay.review { font-weight: 400; color: var(--ink-2); }
.job-row .jr-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.job-row .jr-go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s;
}
.job-row:hover h3 { color: var(--brand); }
.job-row:hover .jr-go svg { transform: translateX(4px); }
.job-row:focus-visible { outline: 3px solid #4b9fd6; outline-offset: 2px; }
@media (max-width: 800px) {
  .job-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
  .job-row .jr-go { display: none; }
}
@media (max-width: 620px) {
  .job-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .job-row h3 { font-size: 18px; margin-bottom: 4px; }
  .job-row .jr-facts { display: flex; flex-wrap: wrap; column-gap: 12px; }
  .job-row .pay { flex-basis: 100%; }
}

/* A job's own address after the job has closed (site-api answers 404): say so above the openings. */
.job-gone {
  margin: 22px 0 0;
  padding: 12px 14px;
  background: #fff8e8;
  border-left: 4px solid #e6a21a;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5d4a20;
}
/* The job as site-api draws it before the page's script runs: one paragraph per posting line. */
.detail-section p + p {
  margin-top: 10px;
}
