/* ==========================================================================
   Sub-page banner
   A Korean photograph behind the page title, veiled on the reading side so
   navy type stays legible whatever the image does.
   ========================================================================== */

.fik-pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Break out of Astra's centred content column, like the homepage hero. */
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: linear-gradient(180deg, #F4FBF7 0%, #EEF8F2 100%);
}

/* ---------- Background image + veil ---------- */
.fik-pagehead__media { position: absolute; inset: 0; z-index: -1; }

.fik-pagehead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Strong on the left where the text sits, clearing toward the photo. */
.fik-pagehead__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(255, 255, 255, .95) 0%,
      rgba(255, 255, 255, .88) 28%,
      rgba(255, 255, 255, .55) 48%,
      rgba(255, 255, 255, .18) 66%,
      rgba(255, 255, 255, .06) 100%
    );
}

/* ---------- Layout ---------- */
.fik-pagehead__inner {
  max-width: none;
  padding-block: 52px 56px;
  padding-inline: max(20px, calc((100% - var(--fik-container, 1240px)) / 2));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  min-height: 232px;
}

.fik-pagehead__copy { max-width: 54ch; }

.fik-pagehead__rule {
  display: block;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: var(--fik-green, #4EA77A);
  margin-bottom: 16px;
}

.fik-pagehead__title {
  margin: 0 0 12px;
  font-family: var(--fik-font-head, sans-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--fik-navy, #102A43);
}

.fik-pagehead__text {
  margin: 0;
  max-width: 52ch;
  font-size: .98rem;
  line-height: 1.62;
  color: var(--fik-text, #475261);
}

/* Handwritten accent with its underline swoosh. */
.fik-pagehead__script {
  position: relative;
  display: inline-block;
  margin: 20px 0 0;
  padding-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--fik-green-deep, #3B8660);
}
.fik-pagehead__swoosh {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92%;
  height: 10px;
  overflow: visible;
  color: var(--fik-green, #4EA77A);
}

/* ---------- Right-hand eyebrow stack ---------- */
.fik-pagehead__aside {
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* min-width keeps the flex row from squeezing this column below its widest
     word, which made the letter-spaced text spill and read as clipped. */
  flex: 0 0 auto;
  min-width: max-content;
  text-align: left;
}
.fik-pagehead__aside span {
  font-family: var(--fik-font-head, sans-serif);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fik-navy, #102A43);
  opacity: .78;
}
.fik-pagehead__aside-rule {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--fik-green, #4EA77A);
  margin-top: 8px;
}

/* ---------- Without a photo ---------- */
.fik-pagehead--plain .fik-pagehead__inner { min-height: 190px; padding-block: 44px 46px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fik-pagehead__inner { padding-block: 40px 42px; min-height: 0; gap: 24px; }
  /* The photo is mostly decorative here; veil it further so text wins. */
  .fik-pagehead__veil {
    background: linear-gradient(
      100deg,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .9) 45%,
      rgba(255, 255, 255, .62) 100%
    );
  }
  .fik-pagehead__aside { display: none; }
}

@media (max-width: 560px) {
  .fik-pagehead__inner { padding-block: 32px 34px; }
  .fik-pagehead__script { font-size: 1.2rem; }
  .fik-pagehead__img { object-position: center !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fik-pagehead * { transition: none; }
}

/* The eyebrow words must not run past the container's right padding. */
.fik-pagehead__aside span { white-space: nowrap; }

@media (max-width: 1180px) {
  .fik-pagehead__aside span { font-size: .62rem; letter-spacing: .14em; }
}
