/* Contextual magazine treatment for recruiting and workstyle posts. */
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) {
  --editorial-ink: #14252c;
  background: #f2f5f3;
  padding-top: 28px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__content {
  gap: 24px clamp(24px, 3vw, 52px);
  grid-template-columns: minmax(0, 1fr) minmax(310px, 350px);
  padding-top: 36px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__sidebar { padding: 0; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__thum,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__sidebar > .widget { display: none; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__inner {
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(20, 37, 44, .065);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .page__info h1 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.42;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--editorial-hero-surface, #edf2ef);
  color: var(--editorial-hero-ink, #253e33);
}

/* One palette serves the article hero, category hero, navigation, and sidebar. */
body.umj-editorial-context--housing { --editorial-accent: #0b6254; --editorial-hero-surface: #e9f2eb; --editorial-hero-ink: #183b36; }
body.umj-editorial-context--manufacturing { --editorial-accent: #285f88; --editorial-hero-surface: #e7f1fa; --editorial-hero-ink: #173d59; }
body.umj-editorial-context--recruiting { --editorial-accent: #815827; --editorial-hero-surface: #f5eedf; --editorial-hero-ink: #493821; }
body.umj-editorial-context--workstyle { --editorial-accent: #2e6774; --editorial-hero-surface: #d9eef5; --editorial-hero-ink: #214653; }
body.umj-editorial-context--dispatch { --editorial-accent: #a34c3c; --editorial-hero-surface: #fff0e9; --editorial-hero-ink: #65372c; }
body.umj-editorial-context--career { --editorial-accent: #695398; --editorial-hero-surface: #f0ebf9; --editorial-hero-ink: #423357; }
body.umj-editorial-context--youworks { --editorial-accent: #79551f; --editorial-hero-surface: #fff3d2; --editorial-hero-ink: #4d3c1e; }
body.umj-editorial-context--onesong { --editorial-accent: #8c465d; --editorial-hero-surface: #f8eaf1; --editorial-hero-ink: #5a3040; }
body.umj-editorial-context--generic { --editorial-accent: #4e6657; --editorial-hero-surface: #edf2ef; --editorial-hero-ink: #2b4335; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__content > .umj-editorial-hero,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__content > .umj-editorial-nav {
  grid-column: 1 / -1;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--editorial-accent) 11%, transparent), transparent 48%);
  content: '';
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__image {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: -2;
  display: block;
  overflow: hidden;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--editorial-hero-surface) 0%, color-mix(in srgb, var(--editorial-hero-surface) 84%, transparent) 28%, transparent 94%);
  content: '';
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) brightness(1.04);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__copy {
  position: relative;
  z-index: 1;
  width: min(65%, 770px);
  box-sizing: border-box;
  padding: clamp(32px, 5vw, 72px);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  color: var(--editorial-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .23em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: '';
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__category {
  margin: 0 0 12px;
  color: var(--editorial-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .09em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__title {
  margin: 0;
  color: var(--editorial-hero-ink);
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(31px, 3.6vw, 53px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.38;
  text-wrap: pretty;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__description {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--editorial-hero-ink);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
}

body.umj-editorial-context--housing #single .umj-editorial-hero__image img { object-position: right center; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 15px 22px;
  border: 1px solid #dce5e1;
  border-radius: 12px;
  background: #fff;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__label {
  flex: none;
  color: #5a6c68;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid #dce5e1;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__group:last-child { border-right: 0; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__group-label {
  flex: none;
  margin-right: 3px;
  color: #53685f;
  font-size: 11px;
  font-weight: 800;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) a.umj-editorial-nav__group-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 7px 4px;
  color: var(--editorial-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) a.umj-editorial-nav__group-label.is-active {
  font-weight: 900;
  text-decoration-thickness: 2px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__item {
  padding: 7px 11px;
  border-radius: 6px;
  color: #354944;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__item:hover,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__item:focus-visible { background: #e8f0ec; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__item.is-active { background: var(--editorial-accent); color: #fff; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related {
  margin: 60px 0 8px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__heading {
  padding-bottom: 16px;
  border-bottom: 1px solid #dce5e1;
  margin-bottom: 22px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__heading > span,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__eyebrow {
  color: #526c64;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__heading h2 {
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--editorial-ink);
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(20, 37, 44, .04);
  transition: transform .18s, box-shadow .18s;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(20, 37, 44, .1);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5ebe8;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 29, 27, .35), transparent 46%);
  content: '';
  pointer-events: none;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) brightness(1.1);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__badge {
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 11px;
  max-width: calc(100% - 22px);
  padding: 6px 9px;
  border-radius: 3px;
  background: #fff;
  color: #163b33;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.3;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__fallback {
  display: flex;
  align-items: end;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: linear-gradient(135deg, #12372f, #5d8679);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 17px;
  letter-spacing: .12em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 17px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__copy time {
  color: #667973;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__copy strong {
  color: #192d31;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.55;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: #52645f;
  font-size: 12px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__more {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  color: #245d51;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__stories,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service {
  padding: 20px;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 37, 44, .045);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__eyebrow { margin: 0 0 5px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #192d31;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact { margin: 0 0 12px; box-shadow: none; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact > a { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__media { aspect-ratio: auto; height: 100%; min-height: 110px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__badge { display: none; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__copy { gap: 4px; padding: 10px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__copy strong { font-size: 12px; line-height: 1.5; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__more { font-size: 10px; padding-top: 2px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__archive { display: block; padding-top: 8px; color: #245d51; font-size: 12px; font-weight: 800; text-decoration: none; }

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service {
  padding-top: 24px;
  border-top: 5px solid var(--editorial-accent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--editorial-accent) 9%, white), #fff 65%);
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 10px 0 17px;
  padding: 15px;
  border-radius: 8px;
  background: linear-gradient(135deg, #173d38, var(--editorial-accent));
  color: #fff;
  text-decoration: none;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10,25,25,.78), rgba(10,25,25,.1) 70%);
  content: '';
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__visual img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__visual strong {
  color: #fff;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.3;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service > p:not(.umj-editorial-sidebar__eyebrow) {
  margin: 0 0 18px;
  color: #435953;
  font-size: 13px;
  line-height: 1.8;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__primary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 6px;
  background: var(--editorial-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__secondary {
  display: inline-block;
  margin-top: 13px;
  color: var(--editorial-accent);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__item,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__archive,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__primary,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__secondary,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__small {
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__small {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
  align-items: stretch;
  padding: 14px 17px;
  border-left: 3px solid #9c6575;
  background: #fff;
  color: #344c45;
  font-size: 11px;
  line-height: 1.5;
  text-decoration: none;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__small-copy { display: flex; flex-direction: column; gap: 3px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__small-copy > span:first-child { color: #6b7a75; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__small strong { color: #722f49; font-family: Georgia, serif; font-size: 17px; letter-spacing: .07em; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__small img { width: 74px; height: 74px; border-radius: 7px; object-fit: cover; }

/* The editorial rail follows the image-led magazine reference. */
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar { gap: 28px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__stories,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__stories > h2,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #102544;
  font-size: 22px;
  line-height: 1.35;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__stories > h2::before,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service > h2::before {
  flex: none;
  width: 4px;
  height: 29px;
  background: #f56c15;
  content: '';
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 252px;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(18, 39, 47, .11);
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-media,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.12) saturate(1.04);
  transition: transform .25s;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured:hover img { transform: scale(1.04); }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-shade {
  background: linear-gradient(0deg, rgba(7, 27, 30, .82), rgba(7, 27, 30, .2) 68%, rgba(7, 27, 30, .02));
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-label {
  padding: 5px 9px;
  border-radius: 3px;
  background: #0d6657;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
body.umj-editorial-archive #cate .umj-editorial-sidebar__featured--overview .umj-editorial-sidebar__featured-label {
  background: #2e6774;
}
body.umj-editorial-archive #cate .umj-editorial-sidebar__featured--dispatch .umj-editorial-sidebar__featured-label { background: #a34c3c; }
body.umj-editorial-archive #cate .umj-editorial-sidebar__featured--career .umj-editorial-sidebar__featured-label { background: #695398; }
body.umj-editorial-archive #cate .umj-editorial-sidebar__featured--youworks .umj-editorial-sidebar__featured-label { background: #79551f; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-copy strong {
  color: #fff;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .2);
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-more {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__more-stories { margin-top: 14px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #d8e2de;
  border-radius: 0;
  background: transparent;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact > a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 9px 0;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__media {
  height: 86px;
  min-height: 0;
  border-radius: 4px;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__copy { gap: 5px; padding: 0; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__copy strong { font-size: 14px; line-height: 1.45; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__copy time { font-size: 10px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__more { display: none; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__archive {
  display: inline-flex;
  padding: 12px 0 0;
  color: #0d6657;
  font-size: 12px;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 126px;
  overflow: hidden;
  margin: 0 0 8px;
  padding: 15px 52px 15px 18px;
  border-left: 5px solid var(--editorial-accent);
  border-radius: 6px;
  background: linear-gradient(120deg, #e8f7f1, #e3f4f8);
  color: #183c46;
  text-decoration: none;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(226, 247, 240, .97), rgba(220, 242, 247, .84) 52%, rgba(220, 242, 247, .3));
  content: '';
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform .25s, filter .25s;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner:hover img { transform: scale(1.035); filter: saturate(1.08); }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1.45;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner-copy strong {
  color: #173b45;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 19px;
  line-height: 1.35;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner-copy > span { color: #385f68; font-size: 11px; }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .9);
  background: #fff;
  color: var(--editorial-accent);
  font-size: 17px;
  box-shadow: 0 3px 10px rgba(21, 64, 72, .12);
  transform: translateY(-50%);
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner--secondary { border-left-color: var(--editorial-accent); }
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__consult {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid #c9ded5;
  border-radius: 8px;
  background: #f5faf7;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__consult > strong {
  color: #153f36;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 16px;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__consult p {
  margin: 8px 0 15px;
  color: #425d54;
  font-size: 12px;
  line-height: 1.7;
}
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__primary {
  justify-content: center;
  min-height: 50px;
  font-size: 13px;
  text-align: center;
}

:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card > a:focus-visible,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav a:focus-visible,
:is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar a:focus-visible { outline: 3px solid #cf812f; outline-offset: 3px; }

@media (max-width: 1020px) {
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__content { grid-template-columns: minmax(0, 1fr); }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__copy { width: min(78%, 770px); }
  body.umj-editorial-context #single .umj-editorial-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; }
  body.umj-editorial-context #single .umj-editorial-sidebar__small { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  body.umj-editorial-archive #cate .umj-editorial-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.umj-editorial-archive #cate .umj-editorial-sidebar__small { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .single__content { padding-top: 20px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero { min-height: 0; border-radius: 13px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__image { inset: 0; opacity: .24; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__image::after { background: linear-gradient(90deg, var(--editorial-hero-surface), color-mix(in srgb, var(--editorial-hero-surface) 76%, transparent)); }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__copy { width: 100%; padding: 30px 24px 34px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__eyebrow { margin-bottom: 25px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-hero__title { font-size: clamp(29px, 7vw, 40px); }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav { display: block; padding: 14px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__items { flex-wrap: nowrap; gap: 12px; margin-top: 7px; overflow-x: auto; scrollbar-width: thin; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__group { flex: none; flex-wrap: nowrap; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-nav__item { flex: none; white-space: nowrap; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__grid,
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar { grid-template-columns: minmax(0, 1fr); }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-related__grid { gap: 14px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card > a { display: grid; grid-template-columns: 36% minmax(0, 1fr); }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__media { aspect-ratio: auto; height: 100%; min-height: 130px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__copy { padding: 13px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__copy strong { font-size: 14px; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card__excerpt { display: none; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact > a { grid-template-columns: 100px minmax(0, 1fr); }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card--compact .umj-editorial-card__media { height: 74px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-card { transition: none; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured-media img { transition: none; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__featured:hover img { transform: none; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner img { transition: none; }
  :is(body.umj-editorial-context #single, body.umj-editorial-archive #cate) .umj-editorial-sidebar__service-banner:hover img { transform: none; }
}
