/* 이벤트 페이지(2026-11-11 HQ «이벤트 관리») — 앱 추가 CSS(시안 없음, 접두 `evp-`).
 * 이미지형 본문·댓글·유의사항은 `event-detail-figma.css`(evd-) 를 그대로 쓴다. 여기는 신청 폼 · 목록 · 안내 띠.
 * HTML 형 본문은 디자이너 CSS(서버가 `#mws-event` 안으로 가둔다)가 모양을 정한다. */

.evp-main--bare { padding-top: 0; }
#mws-event { position: relative; width: 100%; }
#mws-event img, #mws-event video { max-width: 100%; }

.evp-preview,
.evp-ended {
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.evp-preview { background: #fff4c2; color: #6b5200; }
.evp-ended { background: #444; color: #fff; }

/* ── 신청 ─────────────────────────── */
.evp-apply { padding: 60px 20px; background: #f7f7f7; }
.evp-apply__item + .evp-apply__item { margin-top: 40px; }
.evp-apply-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 40px 20px; }

.evp-form {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #1a1a1a;
}
.evp-form *, .evp-form *::before, .evp-form *::after { box-sizing: border-box; }
.evp-form__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; text-align: center; }
.evp-form__desc { margin: -8px 0 0; font-size: 14px; line-height: 22px; color: #666; text-align: center; white-space: pre-line; }
.evp-form--login, .evp-form--done { align-items: center; }
.evp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.evp-field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.evp-field__label { font-size: 14px; line-height: 20px; font-weight: 600; color: #444; padding: 0; }
.evp-field__label small { font-weight: 400; color: #949494; }
.evp-req { margin-left: 2px; color: #e04848; font-style: normal; }
.evp-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: #1a1a1a;
}
.evp-input:focus { outline: none; border-color: #4eb8ae; }
.evp-textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 22px; }
.evp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.evp-chip {
  height: 36px;
  padding: 0 14px;
  border: 1px solid #cfcfcf;
  border-radius: 18px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}
.evp-chip.is-on { border-color: #4eb8ae; background: #4eb8ae; color: #fff; font-weight: 600; }
.evp-file { font-size: 14px; }
.evp-files { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.evp-files li { display: flex; align-items: center; gap: 8px; }
.evp-files button { border: 0; background: none; color: #949494; cursor: pointer; }
.evp-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: #444; cursor: pointer; }
.evp-agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: #4eb8ae; }
.evp-agree small { display: block; margin-top: 4px; color: #949494; font-size: 12px; line-height: 18px; }
.evp-error { margin: 0; font-size: 14px; color: #e04848; }
.evp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 26px;
  background: #4eb8ae;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.evp-btn--submit { width: 100%; }
.evp-btn:disabled { background: #cfcfcf; cursor: default; }

/* ── 목록 ─────────────────────────── */
/* 2026-11-11 — 목록 이미지 PC 는 폭 1280: 좁은 화면 100% · 넓은 화면 1280 가운데 + 양옆 배경색(줄 `background` = HQ «목록 배경색») */
.evp-list__items { margin: 0; padding: 0; list-style: none; }
.evp-list__row { width: 100%; }
.evp-list__item { display: block; max-width: 1280px; margin: 0 auto; color: inherit; text-decoration: none; }
.evp-list__banner { display: block; width: 100%; height: auto; }
.evp-list__card { display: flex; gap: 24px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 40px 20px; border-bottom: 1px solid #eee; }
.evp-list__card img { width: 320px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; flex: none; }
.evp-list__card-text { display: flex; flex-direction: column; gap: 8px; }
.evp-list__card-text strong { font-size: 24px; line-height: 32px; }
.evp-list__card-text span { font-size: 15px; line-height: 22px; color: #666; }
.evp-list__card-text time { font-size: 14px; color: #4eb8ae; font-weight: 600; }
.evp-list__empty { margin: 0; padding: 160px 20px; text-align: center; font-size: 16px; color: #949494; }

@media (max-width: 767px) {
  .evp-apply { padding: 40px 16px; }
  .evp-form { padding: 28px 20px; gap: 16px; }
  .evp-form__title { font-size: 20px; line-height: 28px; }
  .evp-form__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .evp-list__card { flex-direction: column; align-items: stretch; padding: 24px 16px; }
  .evp-list__card img { width: 100%; }
  .evp-list__card-text strong { font-size: 18px; line-height: 26px; }
}

/* 화면 읽기 전용 제목(목록 화면은 event-detail-figma.css 를 싣지 않는다) */
.evp-page .evd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 2026-11-14 동의 문구(HQ 직접 입력) — 체크 + 아래 회색 상자(줄바꿈 유지 · 길면 칸 안 스크롤) */
.evp-consent { display: flex; flex-direction: column; gap: 8px; }
.evp-consent__text { max-height: 140px; overflow-y: auto; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 8px; background: #f7f7f7; color: #666; font-size: 12px; line-height: 18px; white-space: pre-line; }
