/* ===========================================================================
   윤리경영 — 지속가능경영 메뉴 (네 로케일. 제보 · 결과 확인 모달은 한국어 페이지에만, 제보 메일은 외국어 페이지에만)

   시안: 윤리경영 (3).pdf. 공용 컴포넌트와 가장 가까운 기존 페이지 값을 먼저 쓰고, 시안에만 있는 요소만 여기 새로 둔다 —
     히어로        : .sub-hero(46rem) + EU CRA 의 하단 타이틀(.cra-hero 값). 시안대로 오른쪽 정렬
     슬로건        : 보증 안내 .wr-pagehead p · CI .ci-pagehead p 값
     4대 윤리가치  : 보증 안내 .wr-guide__* 구조(4열 · 원 · 제목). 시안에만 있는 번호 탭 · 음영 원 · 아래 화살표를 더한다
     본문 3문단    : 기업개요 .about-intro p 값 + 위 샌드 구분선(EU CRA 선 색)
     윤리경영 원칙 : HSE .dl-list(공용 문서 렌더러) + EU CRA 의 샌드 선 덮어쓰기(.cra-forms .dl-list a 와 같은 값)
     신고 센터 바  : 공용 메일 바(.mail-bar) 구조(좌 문구 · 우 동작). 시안대로 네이비 바탕, 동작 버튼 2개 — 한국어만
     제보 메일     : 공용 .mail-bar 그대로(EU CRA 신고 메일과 같은 부품). 외국어만 — 한국어는 신고 센터 바로만 받는다
     보호 문구     : 보증 안내 .wr-dot 값. 표식만 시안의 ▶
     모달 2개      : 공용 .policy-modal.apply-modal + .apply-form. 공용에 없는 칸(select · textarea · password · 파일 · 글자 수)과
                     접수 완료 · 처리단계 표시만 여기 둔다. 칸 값은 공용 입력 칸 · 문의하기(inquiry.css) 값을 옮겼다
   =========================================================================== */

/* ---------- 히어로 — 배너 하단 오른쪽 타이틀 (.cra-hero · .trn-hero__word 와 같은 값) ---------- */
.eth-hero { display: flex; align-items: flex-end; padding-bottom: 4.6rem; }
.eth-hero .container { position: relative; z-index: 1; text-align: right; }
.eth-hero__title {
  font-family: var(--font-en); font-size: 4.2rem; font-weight: 400;
  line-height: 1.25; letter-spacing: .04em; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.eth-hero__title strong { font-weight: 800; }

/* ---------- 슬로건 (.wr-pagehead p 값) ---------- */
.eth-slogan {
  margin-bottom: clamp(4.8rem, 6.5vh, 6rem);
  font-size: 2.2rem; line-height: 1.4; color: #333; font-weight: 400;
}

/* ---------- 4대 윤리가치 — .wr-guide__items 4열 구조 ----------
   시안에만 있는 것: 원 위 번호 탭(샌드 + 흰 숫자 — .declare-num 색) · 음영 원(.vw-circle 그림자) · 원 아래 화살표(clip-path — .tri-diagram__tri 방식).
   그림 크기는 rem 이 아니라 칸 폭에 대한 비율로 둔다 — 시안(1440) 칸 피치 310px 에 원 252px · 탭 62px · 화살표 머리 126px.
   탭 아래 끝과 화살표 위 끝은 원 뒤로 들어간다(시안). */
.eth-values { display: grid; grid-template-columns: repeat(4, 1fr); }
.eth-values__item { padding: 0 2rem; text-align: center; }
.eth-values__figure { display: flex; flex-direction: column; align-items: center; width: 86%; margin: 0 auto; }
.eth-values__num {
  position: relative; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  width: 24.6%; aspect-ratio: 62 / 77; margin-bottom: -4%; padding-bottom: 4%;
  border-radius: 1rem 1rem 0 0;
  background: var(--color-sand); color: #fff;
  font-family: var(--font-en); font-size: 1.5rem; font-weight: 700;
}
.eth-values__circle {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: #ededed; box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.eth-values__circle img { width: 39%; }
.eth-values__arrow {
  width: 50%; aspect-ratio: 126 / 96; margin-top: -7%;
  background: var(--color-sand);
  clip-path: polygon(25.4% 0, 74.6% 0, 74.6% 45%, 100% 45%, 50% 100%, 0 45%, 25.4% 45%);
}
.eth-values__tit { display: block; margin-top: clamp(1.2rem, 2.4vh, 2.2rem); font-size: 1.6rem; font-weight: 700; color: #222; }

/* 본문 3문단 — .about-intro p 값. 위 선은 EU CRA 처럼 시안 선 색(샌드), 좌우 2rem 은 리드 글자 시작선에 맞춘다 */
.eth-values__body {
  margin-top: clamp(4rem, 8vh, 7.2rem); padding: 3.4rem 2rem 0;
  border-top: 1px solid var(--color-sand);
}
.eth-values__body p { font-size: 1.45rem; line-height: 1.8; color: #666; font-weight: 300; }
.eth-values__body p + p { margin-top: .7rem; }

/* ---------- 윤리경영 원칙 — 공용 문서 목록. 행 좌우 여백 · 선 색은 EU CRA 와 같다 ---------- */
#eth-principles .dl-list a { padding-inline: 2rem; border-color: var(--color-sand); }

/* ---------- 신고 센터 — 공용 .mail-bar 구조. 시안: 네이비 바탕 + 위아래 샌드 헤어라인 ---------- */
.eth-center__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.4rem;
  padding: 1.8rem 2rem;
  border-block: 1px solid var(--color-sand);
  background: var(--color-navy); color: #fff;
}
.eth-center__title { flex: 1; font-size: 1.6rem; font-weight: 700; }
.eth-center__actions { display: flex; flex-wrap: wrap; gap: 1rem 3.4rem; }
.eth-center__btn { display: inline-flex; align-items: center; gap: 1rem; font-size: 1.45rem; color: #fff; }
.eth-center__btn svg { flex: 0 0 auto; width: 3.4rem; height: 2rem; color: var(--color-sand); transition: transform .25s; }
.eth-center__btn:hover { text-decoration: underline; text-underline-offset: .3em; }
.eth-center__btn:hover svg { transform: translateX(.4rem); }
/* 결과 확인 = 조회 — 제품 시리즈 검색(.btn-search-pill)과 같은 돋보기. 오른쪽으로 밀지 않고 살짝 키운다 */
.eth-center__btn--search svg { width: 2.2rem; height: 2.2rem; }
.eth-center__btn--search:hover svg { transform: scale(1.12); }
.eth-center__btn:focus-visible { outline: 2px solid var(--color-sand); outline-offset: 4px; }

/* 보호 문구 — .wr-dot 값, 표식만 시안의 ▶(골드 — .wr-dot 표식과 같은 색) */
.eth-pledges { display: flex; flex-direction: column; gap: .8rem; margin-top: 2.4rem; }
.eth-pledges li {
  position: relative; padding-left: 2rem;
  font-size: 1.35rem; line-height: 1.8; color: #666; font-weight: 300;
}
.eth-pledges li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  border-style: solid; border-width: .35em 0 .35em .6em;
  border-color: transparent transparent transparent var(--color-gold);
}
.eth-pledges strong { font-weight: 700; color: var(--color-gold); }
/* 제목 아래 본문이 여러 줄인 목록(한국어) — 항목 사이를 넓힌다. 외국어는 한 줄 문구라 기본 간격 */
.eth-pledges--block { gap: 1.8rem; }

/* ===========================================================================
   제보 · 결과 확인 모달 — 공용 .apply-modal 위에 공용에 없는 것만
   =========================================================================== */
/* author display 가 UA [hidden] 을 이기므로 숨김을 다시 적는다 */
.eth-reporter[hidden], .eth-result[hidden], .eth-note[hidden], .eth-help[hidden],
.apply-form__grid .eth-overseas[hidden], .eth-result__detail [data-result-overseas][hidden] { display: none; }

.eth-required { margin: 0 0 1.4rem; text-align: right; color: #888; font-size: 1.3rem; line-height: 1.6; }

/* 공용 .apply-form__grid 는 text · tel · email 만 꾸민다 — 같은 값으로 나머지 칸 */
.eth-modal .apply-form__grid input[type="password"],
.eth-modal .apply-form__grid select,
.eth-modal .apply-form__grid textarea {
  width: 100%; height: 4.8rem; padding: 0 1.4rem;
  border: 1px solid #cfd2d5; border-radius: .4rem; background: #fff;
  font-size: 1.4rem; color: #222; outline: none;
}
.eth-modal .apply-form__grid textarea { height: auto; padding: 1.2rem 1.4rem; line-height: 1.7; resize: vertical; }
.eth-modal .apply-form__grid select:focus,
.eth-modal .apply-form__grid textarea:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(169,128,82,.14); }
.eth-modal .apply-form__grid select:disabled { background: #f5f5f5; color: #9ba0a4; }

/* 칸 아래 안내 — 문의하기 .inq-field-status · .inq-grid small 값 */
.eth-field-status { display: block; margin-top: .6rem; color: #73777c; font-size: 1.25rem; font-weight: 400; line-height: 1.5; }
.eth-counter, .eth-help, .eth-files__help, .eth-files__status { display: block; margin-top: .7rem; color: #85898e; font-size: 1.2rem; }
.eth-counter { text-align: right; }
.eth-files__status:empty { display: none; }
.eth-files__status.is-error { color: #b23a2b; }

.eth-guide { margin: 0 0 .4rem; font-size: 1.25rem; line-height: 1.6; color: var(--ink-soft); }
/* 라디오 묶음 — 문의하기 .inq-fieldset · .inq-radios 값(상자 없이 다른 칸과 같은 이름표 아래 한 줄) */
.eth-fieldset { min-width: 0; margin: 1.8rem 0 0; padding: 0; border: 0; }
.eth-fieldset legend { display: block; margin-bottom: .8rem; padding: 0; font-size: 1.35rem; font-weight: 700; color: #222; }
.eth-radios { display: flex; flex-wrap: wrap; align-items: center; min-height: 4.8rem; gap: .6rem 1.8rem; }
.eth-radios > label { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.4rem; color: #333; cursor: pointer; }
.eth-radios input { width: 1.8rem; height: 1.8rem; accent-color: var(--color-gold); }
.eth-fieldset + .apply-form__grid { margin-top: 1.8rem; }
.eth-identity { margin-top: 0; }
.eth-reporter { margin-top: 1.8rem; }
.eth-note { margin-top: 1.2rem; font-size: 1.3rem; line-height: 1.7; color: var(--ink-soft); }

/* 증빙자료 — 문의하기 .inq-file 값(파일 이름 칸 + 붙은 [찾아보기]). 칸은 multiple 하나, 고른 파일은 아래 목록이 정본(삭제 가능) */
.eth-files__label { display: block; margin-bottom: .8rem; font-size: 1.35rem; font-weight: 700; color: #222; }
.eth-files__label small { font-weight: 400; color: #85898e; }
.eth-file { position: relative; display: flex; }
.eth-file__name {
  flex: 1; min-width: 0; height: 4.8rem; padding: 0 1.4rem;
  border: 1px solid #d4d6d9; border-right: 0; border-radius: 3px 0 0 3px; background: #fafafa;
  font-size: 1.4rem; color: #222; text-overflow: ellipsis;
}
.eth-file__button {
  display: flex; align-items: center; justify-content: center; min-width: 11rem;
  border: 1px solid #b89264; border-radius: 0 3px 3px 0; background: #c69a63;
  color: #fff; font-size: 1.4rem; font-weight: 700; cursor: pointer;
}
.eth-file input[type="file"] { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.eth-file:focus-within { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.eth-files__list li {
  display: flex; align-items: center; gap: 1rem; margin-top: .6rem; padding: .8rem 1.2rem;
  border: 1px solid #e1e2e4; background: #f7f7f6; font-size: 1.3rem; color: #333;
}
.eth-files__name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.eth-files__size { color: #85898e; }
.eth-files__remove { padding: .3rem .9rem; border: 1px solid #bbb; border-radius: .4rem; background: #fff; font-size: 1.2rem; color: #444; }

/* 폼 아래 안내 — 교육 신청 .edu-day-pick__notes 값 */
.eth-notes { display: flex; flex-direction: column; gap: .4rem; margin-top: 2.4rem; font-size: 1.25rem; line-height: 1.6; color: var(--ink-soft); }

/* 개인정보 수집 · 이용 / 제3자 제공 동의 — 둘 다 펼친 같은 상자. 표 머리선은 처리단계의 네이비, 칸 선 · 바탕은 이 화면의 회색, 강조는 골드 */
.eth-consent { margin-top: 2.4rem; }
.eth-consent .eth-consent__privacy { margin-top: 0; border: 0; }
.eth-consent .eth-consent__privacy > div { padding: 2rem; font-size: 1.3rem; line-height: 1.6; color: #333; }
.eth-consent .eth-consent__check { min-height: 4.8rem; margin-top: 0; }
.eth-consent__title { margin-bottom: 1.2rem; font-size: 1.6rem; font-weight: 700; color: #222; }
.eth-consent__box { border: 1px solid #e1e2e4; background: #fff; }
.eth-consent__body { padding: 2rem; }
.eth-consent__table {
  width: 100%; table-layout: fixed; border-collapse: collapse;
  border-top: 2px solid var(--color-navy);
  font-size: 1.3rem; line-height: 1.6; color: #333;
}
.eth-consent__col-to { width: 18%; }
.eth-consent__col-purpose { width: 24%; }
.eth-consent__col-items { width: 32%; }
.eth-consent__col-keep { width: 26%; }
.eth-consent__table th {
  padding: 1rem .8rem; border-bottom: 1px solid #e1e2e4; border-left: 1px solid #e1e2e4;
  background: #f7f7f6; font-weight: 700; color: #222; text-align: center;
}
.eth-consent__table td {
  padding: 1.2rem 1rem; border-bottom: 1px solid #e1e2e4; border-left: 1px solid #e1e2e4;
  text-align: center; vertical-align: middle; overflow-wrap: anywhere;
}
.eth-consent__table th:first-child, .eth-consent__table tbody tr:first-child td:first-child { border-left: 0; }
.eth-consent__table td strong { display: block; font-weight: 700; color: #222; }
.eth-consent__purpose { text-align: left; }
.eth-consent__purpose li { padding-left: 1em; text-indent: -1em; }
.eth-consent__purpose li::before { content: '· '; }
.eth-consent__table .eth-consent__keep { font-weight: 700; color: var(--color-gold); }
.eth-consent__notes { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.2rem; font-size: 1.25rem; line-height: 1.6; color: var(--ink-soft); }
.eth-consent__notes strong { font-weight: 700; color: #222; }
.eth-consent__agree {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem;
  padding: .6rem 2rem; border-top: 1px solid #e1e2e4; background: #f7f7f6;
  font-size: 1.35rem; color: #333;
}

/* 선택지를 못 불러왔을 때 — 문의하기 .inq-unavailable 값 */
.eth-unavailable { margin: 0 0 1.4rem; color: #a4462b; font-size: 1.35rem; line-height: 1.6; }

/* ---------- 접수 완료 — 폼 자리에 들어간다(.apply-form 과 같은 틀) ---------- */
.eth-receipt { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.eth-receipt__title { font-size: 1.9rem; font-weight: 700; color: #222; }
.eth-receipt__title:focus { outline: none; }
.eth-receipt__label { margin-top: 2rem; font-size: 1.35rem; font-weight: 700; color: #222; }
.eth-receipt__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
  margin-top: .8rem; padding: 2rem 2.4rem;
  border: 1px solid var(--line-gold); background: #faf7f3;
}
.eth-receipt__no {
  font-family: var(--font-en); font-size: 3.2rem; font-weight: 700; letter-spacing: .04em;
  color: var(--color-navy); overflow-wrap: anywhere; user-select: all;
}
.eth-receipt__copy { min-width: 12rem; height: 4.6rem; padding: 0 2rem; border-radius: 2.3rem; font-size: 1.35rem; font-weight: 700; }
.eth-receipt__date { margin-top: 1rem; font-size: 1.3rem; color: #666; }
.eth-receipt__mail { margin-top: .6rem; font-size: 1.3rem; line-height: 1.6; color: #666; }
.eth-receipt__keep {
  margin-top: 1.6rem; padding: 1.6rem 1.8rem;
  border: 1px solid #e1e2e4; background: #f7f7f6;
  color: #a4462b; font-size: 1.4rem; font-weight: 700; line-height: 1.6;
}

/* ---------- 결과 확인 — 요약 · 4단계 진행 · 회신 · 이력. 회신 상자는 교육 접수확인 .edu-check-result 값 ---------- */
.eth-result__summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.eth-result__summary div { display: flex; gap: 1rem; font-size: 1.4rem; }
.eth-result__summary dt { flex: 0 0 auto; min-width: 7rem; font-weight: 700; color: #222; }
.eth-result__summary dd { color: #333; overflow-wrap: anywhere; }
.eth-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 2rem; }
.eth-steps__item {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.2rem .4rem 0; border-top: 3px solid #e1e2e4;
  font-size: 1.3rem; color: #85898e; text-align: center;
}
.eth-steps__num {
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: #e1e2e4; color: #fff; font-family: var(--font-en); font-weight: 700;
}
.eth-steps__item.is-done { border-top-color: var(--color-sand); color: #555; }
.eth-steps__item.is-done .eth-steps__num { background: var(--color-sand); }
.eth-steps__item.is-current { border-top-color: var(--color-navy); color: var(--color-navy); font-weight: 700; }
.eth-steps__item.is-current .eth-steps__num { background: var(--color-navy); }
/* 처리완료 — 앞 단계와 같은 완료색 + 체크. 지금 상태임은 굵은 글자로 보인다 */
.eth-steps__item.is-complete { border-top-color: var(--color-sand); color: var(--color-navy); font-weight: 700; }
.eth-steps__item.is-complete .eth-steps__num { background: var(--color-sand); }
.eth-result__subtitle { margin-top: 2.4rem; font-size: 1.4rem; font-weight: 700; color: #222; }
/* 접수 내용 — 제보자가 적은 줄바꿈을 그대로 보여 준다 */
.eth-result__detail { margin-top: .8rem; border-top: 1px solid #e1e2e4; }
.eth-result__detail div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid #eee; font-size: 1.35rem; line-height: 1.7; }
.eth-result__detail dt { font-weight: 700; color: #222; }
.eth-result__detail dd { color: #333; white-space: pre-wrap; overflow-wrap: anywhere; }
.eth-result__answer {
  margin-top: .8rem; padding: 1.2rem; border: 1px solid #eee; border-radius: .8rem; background: #fafafa;
  color: #333; font-size: 1.4rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere;
}
.eth-result__answer.is-empty { color: #666; }
.eth-history__item {
  display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.6rem;
  padding: 1rem 0; border-bottom: 1px solid #eee; font-size: 1.35rem; color: #333;
}
.eth-history__date { font-family: var(--font-en); color: #85898e; }
.eth-history__status { font-weight: 700; }
.eth-history__answer { grid-column: 1 / -1; color: #555; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.eth-history__empty { padding: 1rem 0; font-size: 1.35rem; color: #666; }

/* 브레이크포인트 · 값은 EU CRA 히어로 · 보증 안내 4열 · 공용 모달(640px)과 같다 */
@media (max-width: 1024px) {
  .eth-hero__title { font-size: 3.2rem; }
}
@media (max-width: 900px) {
  .eth-values { grid-template-columns: repeat(2, 1fr); row-gap: 3.4rem; }
}
@media (max-width: 640px) {
  .eth-hero { padding-bottom: 2.6rem; }
  .eth-hero__title { font-size: 2.4rem; }
  .eth-slogan { font-size: 1.7rem; }
  .eth-values__item { padding: 0 1rem; }
  .eth-values__body { padding-inline: 0; }
  .eth-center__title { flex-basis: 100%; }
  .eth-result__summary { grid-template-columns: 1fr; }
  .eth-steps__item { font-size: 1.2rem; }
  .eth-receipt__no { font-size: 2.4rem; }
  /* 문의하기 모바일 값 — 라디오는 위에서부터 줄바꿈, [찾아보기]는 조금 좁게 */
  .eth-radios { align-items: flex-start; flex-direction: column; }
  .eth-file__button { min-width: 9rem; }
  /* 제3자 제공 표는 좁은 화면에서 칸마다 이름표를 단 세로 목록으로 */
  .eth-consent__body, .eth-consent .eth-consent__privacy > div { padding: 1.4rem; }
  .eth-consent__table, .eth-consent__table tbody, .eth-consent__table tr, .eth-consent__table td { display: block; width: 100%; }
  .eth-consent__table colgroup, .eth-consent__table thead { display: none; }
  .eth-consent__table td,
  .eth-consent__table tbody tr:first-child td:first-child { padding: 1rem 0; border-left: 0; text-align: left; }
  .eth-consent__table td::before { content: attr(data-label); display: block; margin-bottom: .3rem; font-weight: 700; color: #222; }
  .eth-consent__table .eth-consent__keep::before { color: #222; }
  .eth-consent__agree { padding: 1rem 1.4rem; }
  .eth-result__detail div { grid-template-columns: 1fr; gap: .2rem; }
}
