/* Careers list and detail — CMS-led, quiet RMH art direction. */
.rmh-careers-page {
  overflow-x: clip;
  --rmh-career-orange: #b94d20;
  color: var(--rmh-ink, #1d3449);
  background: var(--rmh-offwhite, #f7f6f1);
}

.rmh-careers-page .container { max-width: 1260px; }
.rmh-careers-page a:focus-visible {
  outline: 3px solid var(--rmh-orange, #f36a2d);
  outline-offset: 4px;
}

.rmh-careers-kicker {
  display: inline-block;
  color: #687785;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .17em;
}

.rmh-careers-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #586b77;
  font-size: 12px;
  line-height: 1.5;
}
.rmh-careers-breadcrumb a { color: #52697a; }
.rmh-careers-breadcrumb a:hover { color: var(--rmh-career-orange); }
.rmh-careers-breadcrumb [aria-current] {
  min-width: 0;
  max-width: min(72vw, 540px);
  overflow: hidden;
  color: var(--rmh-navy, #12304d);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rmh-careers-hero {
  padding: 31px 0 91px;
  background: var(--rmh-offwhite, #f7f6f1);
}
.rmh-careers-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(38px, 5.5vw, 78px);
  margin-top: 51px;
}
.rmh-careers-hero-copy { padding: 0 0 18px; }
.rmh-careers-hero-copy h1 {
  max-width: 690px;
  margin: 20px 0 23px;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(45px, 5.1vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.052em;
  overflow-wrap: anywhere;
}
.rmh-careers-hero-copy h1 span { color: var(--rmh-orange-deep, #df5720); }
.rmh-careers-hero-copy > p {
  max-width: 540px;
  margin: 0;
  color: #5f7080;
  font-size: 17px;
  line-height: 1.8;
}
.rmh-careers-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 47px;
  margin-top: 31px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rmh-orange, #f36a2d);
  color: var(--rmh-navy, #12304d);
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, gap .2s ease;
}
.rmh-careers-primary-link i { color: var(--rmh-orange-deep, #df5720); font-size: 12px; }
.rmh-careers-primary-link:hover { gap: 20px; color: var(--rmh-career-orange); }
.rmh-careers-hero-visual {
  position: relative;
  height: 454px;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: #e7eaeb;
}
.rmh-careers-hero-visual::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(14, 35, 56, .65));
  pointer-events: none;
}
.rmh-careers-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rmh-careers-hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 35px;
  bottom: 29px;
  left: 35px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}
.rmh-careers-visual-rule { flex: 0 0 26px; height: 2px; background: var(--rmh-orange, #f36a2d); }

.rmh-careers-openings {
  padding: 91px 0 107px;
  border-top: 1px solid var(--rmh-border-soft, #e9e6df);
  background: var(--rmh-paper, #fffefb);
  scroll-margin-top: 88px;
}
.rmh-careers-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 31px;
}
.rmh-careers-section-head h2 {
  margin: 9px 0 0;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(36px, 3.7vw, 50px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.045em;
}
.rmh-careers-section-head p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 3px 5px 0;
  color: #647482;
  font-size: 13px;
}
.rmh-careers-section-head strong {
  color: var(--rmh-orange-deep, #df5720);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 25px;
  line-height: 1;
}
.rmh-careers-opening-list { border-top: 1px solid #dddcd5; }
.rmh-careers-opening { border-bottom: 1px solid #e5e3dc; }
.rmh-careers-opening > a {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 20px;
  min-height: 180px;
  padding: 28px 10px 30px 8px;
  color: inherit;
  transition: background .2s ease, padding .2s ease;
}
.rmh-careers-opening > a:hover { padding-left: 18px; background: #f8f6ef; }
.rmh-careers-opening-number {
  align-self: start;
  padding-top: 6px;
  color: #9da8ac;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.rmh-careers-opening-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #586b77;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.rmh-careers-opening h3 {
  max-width: 850px;
  margin: 0 0 9px;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.rmh-careers-opening > a:hover h3 { color: var(--rmh-orange-deep, #df5720); }
.rmh-careers-opening-main > p {
  margin: 0 0 16px;
  color: #667786;
  font-size: 14px;
  line-height: 1.6;
}
.rmh-careers-opening-tags,
.rmh-career-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 19px;
}
.rmh-careers-opening-tags span,
.rmh-career-detail-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #566a7a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.rmh-careers-opening-tags i,
.rmh-career-detail-tags i { color: var(--rmh-orange-deep, #df5720); font-size: 11px; }
.rmh-careers-opening-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #d7dad7;
  border-radius: 50%;
  color: var(--rmh-navy, #12304d);
  font-size: 13px;
  transform: rotate(45deg);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.rmh-careers-opening > a:hover .rmh-careers-opening-arrow {
  color: #fff;
  border-color: var(--rmh-orange-deep, #df5720);
  background: var(--rmh-orange-deep, #df5720);
}

.rmh-careers-empty {
  padding: 64px 28px 74px;
  border: 1px solid #e5e3dc;
  border-radius: 13px;
  background: #f8f7f2;
  text-align: center;
}
.rmh-careers-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 19px;
  border-radius: 50%;
  color: var(--rmh-orange-deep, #df5720);
  background: #fff0e7;
  font-size: 22px;
}
.rmh-careers-empty h3 {
  margin: 0 0 10px;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  font-weight: 800;
}
.rmh-careers-empty p { max-width: 500px; margin: 0 auto 18px; color: #647482; line-height: 1.7; }
.rmh-careers-empty a { display: inline-flex; align-items: center; gap: 10px; color: var(--rmh-career-orange); font-weight: 800; }
.rmh-careers-empty a:hover { color: var(--rmh-navy, #12304d); }

.rmh-careers-connect {
  padding: 62px 0 67px;
  color: #fff;
  background: var(--rmh-navy, #12304d);
}
.rmh-careers-connect .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.rmh-careers-connect .rmh-careers-kicker { color: #f6ad83; }
.rmh-careers-connect h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.rmh-careers-connect p { margin: 0; color: #c6d2da; font-size: 14px; line-height: 1.65; }
.rmh-careers-connect-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 7px;
  color: #fff;
  background: var(--rmh-career-orange);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.rmh-careers-connect-link:hover { color: #fff; background: #c34c1b; transform: translateY(-2px); }

/* Career detail */
.rmh-career-detail-hero {
  padding: 31px 0 73px;
  border-bottom: 1px solid var(--rmh-border-soft, #e9e6df);
  background: var(--rmh-offwhite, #f7f6f1);
}
.rmh-career-detail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 56px;
}
.rmh-career-detail-head > div { min-width: 0; }
.rmh-career-detail-head h1 {
  max-width: 900px;
  margin: 15px 0 18px;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(39px, 4.7vw, 64px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -.048em;
  overflow-wrap: anywhere;
}
.rmh-career-detail-head p {
  max-width: 790px;
  margin: 0;
  color: #5d7080;
  font-size: 16px;
  line-height: 1.75;
}
.rmh-career-detail-tags { margin-top: 25px; gap: 9px; }
.rmh-career-detail-tags span {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #e5e4dd;
  border-radius: 5px;
  background: #fffefb;
  font-size: 12px;
}
.rmh-career-detail-back {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
  color: var(--rmh-navy, #12304d);
  font-size: 13px;
  font-weight: 800;
}
.rmh-career-detail-back:hover,
.rmh-career-detail-return:hover { color: var(--rmh-career-orange); }

.rmh-career-detail-body { padding: 84px 0 112px; background: var(--rmh-paper, #fffefb); }
.rmh-career-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .86fr);
  align-items: start;
  gap: clamp(36px, 6vw, 88px);
}
.rmh-career-detail-content { min-width: 0; border-top: 1px solid #e1e2dd; }
.rmh-career-detail-section {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 17px;
  padding: 37px 0 39px;
  border-bottom: 1px solid #e1e2dd;
}
.rmh-career-detail-section-number {
  padding-top: 6px;
  color: var(--rmh-career-orange);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.rmh-career-detail-section h2 {
  margin: 0 0 17px;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.rmh-career-detail-richtext {
  overflow-wrap: anywhere;
  color: #52677a;
  font-size: 15px;
  line-height: 1.8;
}
.rmh-career-detail-richtext :last-child { margin-bottom: 0; }
.rmh-career-detail-richtext p { margin: 0 0 14px; }
.rmh-career-detail-richtext ul,
.rmh-career-detail-richtext ol { padding-left: 21px; margin: 0 0 15px; }
.rmh-career-detail-richtext li { padding-left: 4px; margin-bottom: 7px; }
.rmh-career-detail-richtext li::marker { color: var(--rmh-orange-deep, #df5720); }
.rmh-career-detail-richtext a { color: var(--rmh-career-orange); text-decoration: underline; }
.rmh-career-detail-return {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
  color: var(--rmh-navy, #12304d);
  font-size: 13px;
  font-weight: 800;
}

.rmh-career-apply {
  position: sticky;
  top: 107px;
  overflow: hidden;
  border: 1px solid #e6e5df;
  border-radius: 12px;
  background: #f8f7f2;
}
.rmh-career-apply-photo { height: 180px; overflow: hidden; background: #e8ecec; }
.rmh-career-apply-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 41%; }
.rmh-career-apply-inner { padding: 31px 32px 34px; }
.rmh-career-apply h2 {
  margin: 9px 0 12px;
  color: var(--rmh-navy, #12304d);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.rmh-career-apply-inner > p { margin: 0; color: #627384; font-size: 13px; line-height: 1.75; }
.rmh-career-apply-inner > p + .rmh-career-apply-button { margin-top: 23px; }
.rmh-career-apply-method {
  padding: 18px 0 16px;
  margin: 20px 0 23px;
  border-top: 1px solid #e4e3dc;
  border-bottom: 1px solid #e4e3dc;
}
.rmh-career-apply-method > span { color: #596a75; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.rmh-career-apply-method p { margin: 7px 0 0; color: var(--rmh-navy, #12304d); font-size: 13px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.rmh-career-apply-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 49px;
  padding: 11px 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--rmh-career-orange);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.rmh-career-apply-button:hover { color: #fff; background: var(--rmh-navy, #12304d); transform: translateY(-2px); }
.rmh-career-apply-email { display: block; margin-top: 11px; color: #526676; font-size: 12px; text-align: center; overflow-wrap: anywhere; }

@media (max-width: 991px) {
  .rmh-careers-hero-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 45px; }
  .rmh-careers-hero-copy { padding: 0; }
  .rmh-careers-hero-copy h1 { max-width: 790px; }
  .rmh-careers-hero-visual { height: 370px; }
  .rmh-career-detail-head { align-items: start; }
  .rmh-career-detail-layout { grid-template-columns: 1fr; gap: 46px; }
  .rmh-career-apply { position: static; display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1fr); }
  .rmh-career-apply-photo { height: 100%; min-height: 320px; }
}

@media (max-width: 640px) {
  .rmh-careers-hero { padding: 22px 0 55px; }
  .rmh-careers-breadcrumb { gap: 7px; font-size: 11px; }
  .rmh-careers-hero-grid { margin-top: 35px; gap: 30px; }
  .rmh-careers-hero-copy h1 { margin: 16px 0 17px; font-size: clamp(39px, 10vw, 52px); }
  .rmh-careers-hero-copy > p { font-size: 15px; line-height: 1.75; }
  .rmh-careers-primary-link { margin-top: 21px; }
  .rmh-careers-hero-visual { height: 300px; border-radius: 9px; }
  .rmh-careers-hero-visual figcaption { right: 20px; bottom: 19px; left: 20px; font-size: 11px; }
  .rmh-careers-openings { padding: 61px 0 72px; }
  .rmh-careers-section-head { align-items: start; flex-direction: column; gap: 10px; padding-bottom: 22px; }
  .rmh-careers-section-head h2 { font-size: 35px; }
  .rmh-careers-section-head p { margin: 0; }
  .rmh-careers-opening > a { grid-template-columns: 30px minmax(0, 1fr) 31px; gap: 10px; min-height: 0; padding: 23px 0 26px; }
  .rmh-careers-opening > a:hover { padding-left: 0; background: transparent; }
  .rmh-careers-opening-number { font-size: 12px; }
  .rmh-careers-opening h3 { font-size: 21px; }
  .rmh-careers-opening-main > p { font-size: 13px; }
  .rmh-careers-opening-tags { gap: 6px 12px; }
  .rmh-careers-opening-arrow { width: 31px; height: 31px; font-size: 10px; }
  .rmh-careers-empty { padding: 43px 22px 49px; }
  .rmh-careers-empty h3 { font-size: 23px; }
  .rmh-careers-connect { padding: 49px 0 54px; }
  .rmh-careers-connect .container { flex-direction: column; align-items: start; gap: 22px; }
  .rmh-careers-connect-link { width: 100%; justify-content: space-between; }
  .rmh-career-detail-hero { padding: 22px 0 54px; }
  .rmh-career-detail-head { display: block; margin-top: 38px; }
  .rmh-career-detail-head h1 { font-size: clamp(35px, 9vw, 49px); }
  .rmh-career-detail-head p { font-size: 15px; }
  .rmh-career-detail-tags { margin-top: 21px; }
  .rmh-career-detail-back { margin-top: 25px; }
  .rmh-career-detail-body { padding: 52px 0 77px; }
  .rmh-career-detail-section { grid-template-columns: 31px minmax(0, 1fr); gap: 10px; padding: 31px 0 34px; }
  .rmh-career-detail-section h2 { font-size: 25px; }
  .rmh-career-detail-richtext { font-size: 14px; }
  .rmh-career-apply { display: block; }
  .rmh-career-apply-photo { height: 180px; min-height: 0; }
  .rmh-career-apply-inner { padding: 27px 25px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .rmh-careers-page a,
  .rmh-careers-opening-arrow { transition: none !important; }
}
