/* Shared large hero introduction: serim-hero-intro-lg.
 * Children: __label, __title, __description. Alignment: --center / --left.
 * Description typography is independent of shared body-text components.
 */
@font-face {
  font-family: "Chiron Sung HK Home";
  src: url("../fonts/chiron-sung-hk/chiron-sung-hk-site-200-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
}

/* Licensed static Web fonts. Existing family alias retained for compatibility. */
@font-face {
  font-family: "Serim Test Tiempos Headline";
  src: url("../fonts/tiempos-headline/tiempos-headline-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Serim Test Tiempos Headline";
  src: url("../fonts/tiempos-headline/tiempos-headline-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.serim-hero-intro-lg,
.serim-hero-title {
  --serim-hero-intro-lg-title-size: 2rem;
  --serim-hero-intro-lg-title-tracking: -0.04em;
  --serim-hero-intro-lg-title-font: "Chiron Sung HK Home", "Noto Serif CJK KR", "Nanum Myeongjo", serif;
  --serim-hero-intro-lg-title-weight: 500;
}

.serim-hero-intro-lg {
  --serim-hero-intro-lg-gap: 1rem;

  display: flex;
  flex-direction: column;
  gap: var(--serim-hero-intro-lg-gap);
  width: 100%;
  min-width: 0;
}

html[lang="en"] :is(.serim-hero-intro-lg, .serim-hero-title) {
  --serim-hero-intro-lg-title-tracking: -0.01em;
  --serim-hero-intro-lg-title-font: "Serim Test Tiempos Headline", Georgia, "Times New Roman", serif;
  --serim-hero-intro-lg-title-weight: 400;
}

.serim-hero-intro-lg--center {
  align-items: center;
  text-align: center;
}

.serim-hero-intro-lg--left {
  align-items: flex-start;
  text-align: left;
}

/* Shared hero eyebrow. This preserves the former section-label geometry while
 * giving hero labels one concise class and the requested 600 weight. */
.serim-hero-intro-lg__label {
  display: inline-block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--serim-text-secondary, #5c5c5c);
  font-family: var(--vf-font-sans, "UCity Pro", "Pretendard Variable", Pretendard, Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: normal;
  letter-spacing: -0.01em;
  line-height: 24px;
  text-transform: none;
}

/* The component title and standalone editorial headings share typography. */
:is(.serim-hero-intro-lg__title, .serim-hero-title) {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  color: var(--serim-text-primary, #171717);
  font-family: var(--serim-hero-intro-lg-title-font);
  font-size: var(--serim-hero-intro-lg-title-size);
  font-style: normal;
  font-weight: var(--serim-hero-intro-lg-title-weight);
  font-variation-settings: "wght" var(--serim-hero-intro-lg-title-weight);
  font-synthesis: none;
  letter-spacing: var(--serim-hero-intro-lg-title-tracking);
  line-height: 1.15;
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

html[lang="en"] :is(.serim-hero-intro-lg__title, .serim-hero-title) {
  /* Preserve the existing English title spacing. */
  margin-bottom: 0.15em;
}

html[lang="en"] :is(.serim-hero-intro-lg__title, .serim-hero-title):has(> span + span),
html[lang="en"] :is(.serim-hero-intro-lg__title, .serim-hero-title):has(br) {
  /* Preserve the spacing for explicitly split English titles. */
  margin-top: 0.1em;
  margin-bottom: 0.2em;
}

:is(.serim-hero-intro-lg__title, .serim-hero-title) > span {
  display: block;
}

.serim-hero-intro-lg .serim-hero-intro-lg__description {
  max-width: 100%;
  margin: 0;
  color: var(--serim-text-muted);
  font-family: var(--vf-font-sans, "VFR Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif);
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: normal;
  letter-spacing: normal;
  line-height: 1.625;
  text-transform: none;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

@media (min-width: 480px) {
  :is(.serim-hero-intro-lg, .serim-hero-title) {
    --serim-hero-intro-lg-title-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .serim-hero-intro-lg .serim-hero-intro-lg__description {
    font-size: 20px;
  }

  html[lang="en"] :is(.serim-hero-intro-lg, .serim-hero-title) {
    --serim-hero-intro-lg-title-tracking: -0.02em;
  }

  :is(.serim-hero-intro-lg, .serim-hero-title) {
    --serim-hero-intro-lg-title-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  :is(.serim-hero-intro-lg, .serim-hero-title) {
    --serim-hero-intro-lg-title-size: 4rem;
  }
}
