/* 세미나 안내 (/SeminarInfo) 전용 — 2026-11-24
   공통 틀은 site/site.css, 색 · 글꼴 값은 site/site-tokens.css · shared/theme.css. 여기에는 색상값을 적지 않습니다.
   치수는 아임웹 https://firstfruitskr.org/SeminarInfo 를 PC 1440px · 모바일 390px 에서 잰 값입니다.
   (괄호 안 숫자는 원본 PC 화면 맨 위에서 잰 위치) */

/* 기본 여백만 지웁니다 — :where 로 우선순위를 낮춰 아래 클래스의 margin 이 이기게 */
:where(.ffsem) :where(p, h1, h2, h3) {
  margin: 0;
}

.ffsem {
  color: var(--ff-site-text);
  text-align: center;
}

.ffsem-line {
  height: 1px;
  background: var(--ff-site-line);
}

.ffsem img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ═══════════════════════ PC ═══════════════════════ */

/* 제목 · 일정표 — 조모임 안내 한 줄(118) 바로 아래에서 시작 */
.ffsem-head {
  padding: 115px 0 52px;
}

.ffsem-eyebrow {
  color: var(--ff-gold);
  font-family: var(--ff-font-heading);
  font-size: 23.148px;
  font-weight: 700;
  line-height: 32px;
}

.ffsem-title {
  margin-top: 5px;
  font-family: var(--ff-font-heading);
  font-size: 57.852px;
  font-weight: 700;
  line-height: 79px;
  letter-spacing: 1px;
}

.ffsem-head-line {
  margin-top: 58px; /* (407) */
}

.ffsem-schedule img {
  width: 1070px;
  margin-top: 61px; /* (469) */
}

/* 다가오는 국내 세미나 */
.ffsem-upcoming {
  padding: 4px 0 66px; /* 선 (1127) … 섹션 끝 (3043) */
}

.ffsem-heading {
  margin-top: 33px; /* (1161) */
  color: var(--ff-gold);
  font-family: var(--ff-font-heading);
  font-size: 38.574px;
  font-weight: 700;
  line-height: 52px;
}

.ffsem-item {
  padding-bottom: 49px; /* 단추 아래 선까지 */
}

.ffsem-item:last-child {
  padding-bottom: 0;
}

.ffsem-name {
  margin-top: 25px; /* (1238) */
  font-family: var(--ff-font-site);
  font-size: 24px;
  font-weight: 700;
  line-height: 33px;
}

.ffsem-line + .ffsem-item .ffsem-name {
  margin-top: 47px; /* 선 다음 (2174) */
}

.ffsem .ffsem-poster {
  width: auto;
  height: 600px;
  margin-top: 11px;
}

.ffsem-info {
  margin-top: 32px;
  font-family: var(--ff-font-site);
  font-size: 18px;
  line-height: 24px;
}

.ffsem-info p + p {
  margin-top: 9px;
}

.ffsem-info p:nth-child(3) {
  margin-top: 12px;
}

/* 신청하기 — 아임웹 btn-lg (104 × 49) */
.ffsem-btn {
  display: inline-block;
  margin-top: 21px;
  padding: 15px 24px;
  border-radius: 5px;
  background: var(--ff-site-btn-soft);
  color: var(--ff-white);
  font-family: var(--ff-font-site);
  font-size: 14px;
  font-weight: 700;
  line-height: 18.6667px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

/* 마우스를 올리면 흰 바탕 · 금색 글자 (원본 그대로) */
.ffsem-btn:hover,
.ffsem-btn:focus-visible {
  background: var(--ff-white);
  color: var(--ff-site-btn-soft);
}

/* 992 ~ 1199px: 원본(아임웹 PC 칸 폭이 좁아짐)처럼 일정표 · 포스터를 85% 로 */
@media (min-width: 992px) and (max-width: 1199px) {
  .ffsem-schedule img {
    width: 910px;
  }

  .ffsem .ffsem-poster {
    height: 510px;
  }
}

/* ═══════════════════════ 모바일 ═══════════════════════ */

@media (max-width: 991px) {
  .ffsem-head {
    padding: 21px 0 0;
  }

  .ffsem-eyebrow {
    font-size: 18px;
    line-height: 24px;
  }

  .ffsem-title {
    margin-top: 6px;
    font-family: var(--ff-font-site);
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 0;
  }

  /* 모바일 원본은 제목 아래 선이 없습니다 */
  .ffsem-head-line {
    display: none;
  }

  .ffsem-schedule img {
    width: 100%;
    margin-top: 40px; /* 제목 섹션 끝 (172) + 12 */
  }

  .ffsem-upcoming {
    padding: 18px 0 36px;
  }

  .ffsem-heading {
    margin-top: 21px;
    font-size: 20px;
    line-height: 27px;
  }

  .ffsem-item {
    padding-bottom: 25px;
  }

  .ffsem-name {
    margin-top: 23px;
    font-size: 16px;
    line-height: 22px;
  }

  .ffsem-line + .ffsem-item .ffsem-name {
    margin-top: 29px;
  }

  /* 휴대폰에서는 화면 너비에 맞추고, 태블릿 폭에서는 높이 510px 에서 멈춥니다 (원본 그대로) */
  .ffsem .ffsem-poster {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 510px;
    margin-top: 7px;
  }

  .ffsem-line + .ffsem-item .ffsem-poster {
    margin-top: 8px;
  }

  .ffsem-info {
    margin-top: 20px;
    font-size: 15px;
    line-height: 20px;
  }

  .ffsem-info p + p {
    margin-top: 13px;
  }

  .ffsem-info p:nth-child(3) {
    margin-top: 16px;
  }

  .ffsem-btn {
    margin-top: 14px;
  }
}
