/* careers-hero/block.css
 * Essential hero styles sourced from pages/careers/careers.css
 */

.mign-careers-hero {
  --color-warm-100: #e5e3df;
  --font-family-sans-en: "din-2014", "Inter", sans-serif;
  --font-family-sans-jp: "ryo-gothic-plusn", "Noto Sans JP", sans-serif;
  --font-family-serif-en: "cormorant-infant", "Cormorant Infant", serif;
  --font-size-sm: 14px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
}

.mign-careers-hero .mign-block-container {
  width: 100%;
  background: transparent;
}

.mign-careers-hero .careers-hero {
  min-height: clamp(580px, 84vh, 720px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  color: var(--color-warm-100);
}

.mign-careers-hero .careers-hero__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mign-careers-hero .careers-hero__eyebrow {
  font-family: var(--font-family-sans-en);
  font-weight: 300;
  font-size: var(--font-size-2xl);
  line-height: 1.3;
  margin: 0;
}

.mign-careers-hero .careers-hero__headline {
  font-family: var(--font-family-serif-en);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
  max-width: 1180px;
  margin: 0;
}

.mign-careers-hero .careers-hero__sub {
  font-family: var(--font-family-sans-jp);
  font-weight: 300;
  font-size: var(--font-size-xl);
  line-height: 2;
  margin: 0;
}

.mign-careers-hero .careers-hero__innerblocks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mign-careers-hero .careers-hero__add-inner-block {
  align-self: flex-start;
}

.mign-careers-hero.is-editor .careers-hero {
  min-height: auto;
  padding: 40px 24px;
}

@media (max-width: 767px) {
  .mign-careers-hero .careers-hero {
    min-height: auto;
    padding: 64px 24px 48px;
    gap: 24px;
  }

  .mign-careers-hero .careers-hero__headline {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.1;
  }

  .mign-careers-hero .careers-hero__sub {
    font-size: var(--font-size-sm);
    white-space: normal;
  }
}
