/* Brand adaptations for the imported careers layout used by World & Residents. */
#careers.as-astronstar-page .as-world-wordmark {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#careers.as-astronstar-page .l-heder__left .l-header__logo,
#careers.as-astronstar-page .l-hambergerMenu__logo {
  width: clamp(130px, 15rem, 180px);
}

#careers.as-astronstar-page .l-footer__logo {
  aspect-ratio: 1;
}

#careers.as-astronstar-page .p-recruit-intro .p-recruit-intro__head {
  width: calc(100% - min(50%, 75vh));
}

#careers.as-astronstar-page .p-recruit-intro .p-recruit-intro__body {
  width: min(50%, 75vh);
  background: linear-gradient(180deg, #f803a3 0%, #ff2300 100%);
}

#careers.as-astronstar-page .p-recruit-intro__body img,
#careers.as-astronstar-page .p-recruit-profile__img img,
#careers.as-astronstar-page .p-recruit-jobs__detailsTitleAnimals img,
#careers.as-astronstar-page .c-jobListAnimal img {
  image-rendering: pixelated;
}

#careers.as-astronstar-page .p-recruit-intro__body img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

#careers.as-astronstar-page .p-recruit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

#careers.as-astronstar-page .c-jobListHukidashi img {
  width: 76%;
  height: auto;
  object-fit: contain;
}

#careers.as-astronstar-page .c-jobListAnimal img {
  object-fit: contain;
}

#careers.as-astronstar-page .as-resident-profile {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  object-fit: cover;
  image-rendering: pixelated;
  background: #626262;
  box-shadow: rgba(0, 0, 0, 0.2) 0 5px 40px;
}

#careers.as-astronstar-page .p-recruit-profile__img {
  background: rgba(255, 255, 255, 0.85);
}

#careers.as-astronstar-page .p-recruit-profile__img img {
  width: 100%;
  height: 100%;
  padding: 8%;
  object-fit: contain;
}

#careers.as-astronstar-page .p-recruit-caseStudy__articleThumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

#careers.as-astronstar-page .p-recruit-jobs__detailsTitleAnimals img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#careers.as-astronstar-page .p-page__title .en {
  letter-spacing: 0;
}

/*
 * 原版“案例展示”心形容器已经从世界页模板移除。此保护规则确保旧脚本、
 * 浏览器缓存或后续迁移内容意外恢复该节点时也不会显示原版心形图案。
 */
#careers.as-astronstar-page .p-recruit-caseStudy__heart {
  display: none !important;
}

@media screen and (max-width: 768px) {
  #careers.as-astronstar-page .l-heder__left .l-header__logo,
  #careers.as-astronstar-page .l-hambergerMenu__logo {
    width: 13rem;
  }

  #careers.as-astronstar-page .p-recruit-intro .p-recruit-intro__head,
  #careers.as-astronstar-page .p-recruit-intro .p-recruit-intro__body {
    width: 100%;
  }

  #careers.as-astronstar-page .p-recruit-intro__body img {
    object-position: center center;
  }

  #careers.as-astronstar-page .p-page__title .en {
    white-space: normal;
  }
}
