/* A compact editorial entrance to the Diversity Dashboard. */
.bhm-home .bhm-home-careers { min-width: 0; }
.bhm-home .bhm-home-careers-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px 28px; margin: 0 0 16px; }
.bhm-home .bhm-home-careers-heading .bhm-eyebrow { margin: 0 0 10px; font: 700 14px/1.5 var(--bhm-font, sans-serif); letter-spacing: .05em; }
.bhm-home .bhm-home-careers-heading h2 { margin: 0; font-size: clamp(34px, 3.7vw, 48px); }
.bhm-home .bhm-home-careers-intro { max-width: 67ch; margin: 0 0 28px; color: #53565c; font: 400 17px/1.7 var(--bhm-font, sans-serif); }
.bhm-home .bhm-home-careers-link { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; max-width: 100%; padding: 9px 0; color: var(--bhm-dark-red, #951b24); font: 650 14px/1.5 var(--bhm-font, sans-serif); text-decoration: underline; text-underline-offset: 4px; }
.bhm-home .bhm-home-careers-link:hover { color: #64121a; text-decoration-thickness: 2px; }
.bhm-home .bhm-home-careers-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(230px, .9fr); align-items: start; gap: 32px; min-width: 0; }
.bhm-home .bhm-home-careers-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 26px; min-width: 0; }
.bhm-home .bhm-home-careers-stories--single { grid-template-columns: minmax(0, 1fr); }
.bhm-home .bhm-home-careers-stories .bhm-story-card { min-width: 0; padding: 0; border: 0; background: transparent; }
.bhm-home .bhm-home-careers-stories .bhm-card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f4f5; }
.bhm-home .bhm-home-careers-stories .bhm-card-image > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--bhm-image-focus-x, 50%) var(--bhm-image-focus-y, 30%); }
.bhm-home .bhm-home-careers-stories .bhm-card-image > .bhm-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; padding: 26px; background: #f3f4f5; }
.bhm-home .bhm-home-careers-stories .bhm-image-placeholder > img { display: block; width: 80%; max-height: 100%; height: auto; object-fit: contain; }
.bhm-home .bhm-home-careers-stories .bhm-card-copy { padding-top: 16px; }
.bhm-home .bhm-home-careers-stories .bhm-card-copy h3 { margin-bottom: 13px; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.16; overflow-wrap: anywhere; }
.bhm-home .bhm-home-careers-stories .bhm-card-copy .bhm-eyebrow { margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.bhm-home .bhm-home-careers-stories .bhm-card-excerpt { margin: 0 0 14px; color: #53565c; font: 400 16px/1.7 var(--bhm-font, sans-serif); }
.bhm-home .bhm-home-careers-stories .bhm-card-date { font-size: 14px; line-height: 1.6; }
.bhm-home .bhm-home-careers-organisations { min-width: 0; padding: 20px 0 0; border-top: 2px solid #242424; }
.bhm-home .bhm-home-careers-organisations > h3 { margin: 0 0 18px; color: #242424; font: 400 28px/1.2 var(--bhm-display, Georgia, serif); letter-spacing: -.02em; }
.bhm-home .bhm-home-careers-organisations ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.bhm-home .bhm-home-careers-organisations li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.bhm-home .bhm-home-careers-organisations li a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-height: 145px; height: 100%; padding: 14px 10px; border: 1px solid #dcdde0; background: #fff; color: #242424; text-align: center; text-decoration: none; }
.bhm-home .bhm-home-careers-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; }
.bhm-home .bhm-home-careers-logo img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 60px !important; object-fit: contain !important; }
.bhm-home .bhm-home-careers-organisations strong { color: inherit; font: 650 16px/1.4 var(--bhm-font, sans-serif); overflow-wrap: anywhere; }
.bhm-home .bhm-home-careers-organisations li a:hover { border-color: var(--bhm-dark-red, #951b24); color: var(--bhm-dark-red, #951b24); }
.bhm-home .bhm-home-careers-layout--stories-only, .bhm-home .bhm-home-careers-layout--profiles-only { grid-template-columns: minmax(0, 1fr); }
.bhm-home .bhm-home-careers-layout--profiles-only .bhm-home-careers-organisations ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bhm-home .bhm-home-careers a:focus-visible { outline: 3px solid var(--bhm-dark-red, #951b24); outline-offset: 4px; }
@container bhm-home-content (max-width: 850px) {
  .bhm-home .bhm-home-careers-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bhm-home .bhm-home-careers-organisations ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .bhm-home .bhm-home-careers-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bhm-home .bhm-home-careers-organisations ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .bhm-home .bhm-home-careers-heading { align-items: start; flex-direction: column; gap: 8px; }
  .bhm-home .bhm-home-careers-intro { font-size: 16px; }
  .bhm-home .bhm-home-careers-stories { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bhm-home .bhm-home-careers-organisations ul, .bhm-home .bhm-home-careers-layout--profiles-only .bhm-home-careers-organisations ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
