/*-----------------------------------------
# 메인
-------------------------------------------*/
/* ===================================================================
   ehmav — Main Visual
   기준 : PC 1920 × 1080 / MO 375 × 680
   단위 : 10px = 1rem  (html { font-size:62.5%; })
=================================================================== */
.ehmav {
  /* --- Design Tokens --- */
  --ehmav-primary: #22969c;
  --ehmav-white: #ffffff;
  --ehmav-duration: 5s;   /* 슬라이드 노출(로딩바 채우는) 시간 */

  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 60rem;
  overflow: hidden;
  background-color: #0b1424;
}

/* ------------------------------ 슬라이드 ------------------------------ */
.ehmav__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.ehmav__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

/* ------------------------------ 배경 ------------------------------ */
.ehmav__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ehmav__bg-img {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

.ehmav__bg-img--01 { background-image: url("/public/img/main/visual/mainv_01_pc.webp"); }
.ehmav__bg-img--02 { background-image: url("/public/img/main/visual/mainv_02_pc.webp"); }

/* 켄번스 : 전환 직후 약 2초간만 서서히 확대(그 뒤 정지) */
.ehmav__slide.is-active .ehmav__bg-img {
  animation: ehmav-kenburns 4s ease-out forwards;
}

@keyframes ehmav-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* ---------------------------- 컨텐츠 영역 ---------------------------- */
.ehmav__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0 auto;
  max-width: 192rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10rem;
  box-sizing: border-box;
}

.ehmav__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  text-align: left;
  color: var(--ehmav-white);
  word-break: keep-all;
}

/* 메인 대제목 : 90 / 120  (등장 : 아래 → 위)
   transition 대신 animation — 첫 로드(HTML에 is-active)에도 애니가 재생된다. */
.ehmav__title {
  margin: 0;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 9rem;
  line-height: 12rem;
  letter-spacing: 0;
  opacity: 0;
}

.ehmav__slide.is-active .ehmav__title {
  animation: ehmav-title-in 0.9s ease 0.3s both;
}

@keyframes ehmav-title-in {
  from { opacity: 0; transform: translateY(4rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 서브 카피 : Pretendard Bold 28 / 40  (등장 : 좌 → 우) */
.ehmav__sub {
  margin: 0;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 4rem;
  letter-spacing: 0;
  opacity: 0;
}

.ehmav__slide.is-active .ehmav__sub {
  animation: ehmav-sub-in 0.9s ease 0.55s both;
}

@keyframes ehmav-sub-in {
  from { opacity: 0; transform: translateY(4rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.ehmav__br-mo { display: none; }

/* ----------------------- 페이지네이션(로딩바) ----------------------- */
.ehmav__pager {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10rem;
  z-index: 4;
  margin: 0 auto;
  max-width: 192rem;
  display: flex;
  gap: 4rem;
  padding: 0 10rem;
  box-sizing: border-box;
}

.ehmav__page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0;
  background: none;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.ehmav__page-num {
  font-family: "pretendard-800", "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 2.6rem;
  color: var(--ehmav-white);
}

.ehmav__page-bar {
  position: relative;
  display: block;
  width: 100%;
  height: 0.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
}

.ehmav__page-fill {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--ehmav-primary);
  border-radius: 0.5rem;
}

/* 활성 슬라이드 : 로딩바가 duration 동안 왼→오른 채워짐
   transition 대신 animation 사용 — 첫 로드(HTML에 is-active 존재)에도
   시작값(0)부터 정상 재생되어 "이미 꽉 참" 버그가 없다. */
.ehmav__page.is-active .ehmav__page-fill {
  animation: ehmav-fill var(--ehmav-duration) linear forwards;
}

@keyframes ehmav-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---------- ~1600px ---------- */
@media (max-width: 1600px) {
  .ehmav__inner { padding: 0 8rem; }
  .ehmav__txt { gap: 2.6rem; }
  .ehmav__title { font-size: 7.4rem; line-height: 9.8rem; }
  .ehmav__sub { font-size: 2.4rem; line-height: 3.6rem; }
  .ehmav__pager { padding: 0 8rem; bottom: 8rem; }
}

/* ---------- ~1280px ---------- */
@media (max-width: 1280px) {
  .ehmav__inner { padding: 0 6rem; }
  .ehmav__txt { gap: 2.2rem; }
  .ehmav__title { font-size: 6rem; line-height: 8rem; }
  .ehmav__sub { font-size: 2.1rem; line-height: 3.2rem; }
  .ehmav__pager { padding: 0 6rem; gap: 3rem; }
}

/* ---------- ~1024px ---------- */
@media (max-width: 1024px) {
  .ehmav__inner { padding: 0 4rem; }
  .ehmav__title { font-size: 4.6rem; line-height: 6rem; }
  .ehmav__sub { font-size: 1.9rem; line-height: 2.8rem; }
  .ehmav__pager { padding: 0 4rem; bottom: 6rem; }
}

/* ---------- ~768px : Mobile (375 기준) ---------- */
@media (max-width: 767px) {
  .ehmav {
    height: 68rem;
    min-height: 68rem;
  }

  .ehmav__bg-img--01 { background-image: url("/public/img/main/visual/mainv_01_mo.webp"); }
  .ehmav__bg-img--02 { background-image: url("/public/img/main/visual/mainv_02_mo.webp"); }

  .ehmav__inner {
    justify-content: flex-end;
    padding: 0 2rem 10rem;
  }

  .ehmav__txt {
    gap: 1.4rem;
    width: 100%;
    max-width: 33.5rem;
  }

  .ehmav__title {
    font-size: 2.6rem;
    line-height: 3.6rem;
  }

  .ehmav__sub {
    font-size: 1.5rem;
    line-height: 2.3rem;
  }

  .ehmav__br-mo { display: block; }

  .ehmav__pager {
    padding: 0 2rem;
    bottom: 4rem;
    gap: 2rem;
  }

  .ehmav__page-num {
    font-size: 1.3rem;
    line-height: 1.7rem;
  }

  .ehmav__page-bar {
    height: 0.3rem;
  }
}

/* 모션 최소화 선호 : 켄번스/등장 애니 끔 (텍스트는 즉시 보이게) */
@media (prefers-reduced-motion: reduce) {
  .ehmav__slide.is-active .ehmav__bg-img { animation: none; }
  .ehmav__page.is-active .ehmav__page-fill { animation: none; width: 100%; }
  .ehmav__title,
  .ehmav__sub { opacity: 0; animation: none; transform: none; }
  .ehmav__slide.is-active .ehmav__title,
  .ehmav__slide.is-active .ehmav__sub { opacity: 1; animation: none; }
}


/* ===================================================================
   COMMON — 메인 공통 (inner / 섹션 헤드 / 더보기 버튼)
   단위 : 10px = 1rem  (html { font-size:62.5%; })
=================================================================== */
:root {
  --color-primary: #22969c;
  --color-white: #ffffff;
  --color-desc: #dddddd;
}
/* ------------------------------ INNER ------------------------------ */
.inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 10rem;
  box-sizing: border-box;
}

@media (max-width: 1800px) { .inner { padding: 0 4rem; } }
@media (max-width: 1400px) { .inner { padding: 0 3rem; } }
@media (max-width: 768px)  { .inner { padding: 0 2rem; } }

/* --------------------------- 섹션 헤드 --------------------------- */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  text-align: center;
  word-break: keep-all;
}

.sec-head__tit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

/* 영문 라벨 : Poppins SemiBold 22 / 38 / ls 1.1 */
.sec-head__eng {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 3.8rem;
  letter-spacing: 0.11rem;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
}

/* 타이틀 : Pretendard Bold 70 / 88 */
.sec-head__tit {
  margin: 0;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 7rem;
  line-height: 8.8rem;
  letter-spacing: -0.1rem;
  color: var(--color-white);
}

/* 설명 : Pretendard Regular 22 / 38 */
.sec-head__desc {
  margin: 0;
  font-family: "pretendard-400", "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 3.8rem;
  color: var(--color-desc);
}

.sec-head__btns {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.br-mo { display: none; }

/* --------------- 섹션 헤드 : 밝은 배경용 (다크 텍스트) --------------- */
.sec-head--dark .sec-head__eng  { color: var(--color-primary); }
.sec-head--dark .sec-head__tit  { color: #111111; }
.sec-head--dark .sec-head__desc { color: #888888; }


/* --------------------------- 더보기 버튼 --------------------------- */
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.8rem 4rem;
  background-color: var(--color-primary);
  border-radius: 1.6rem 0.4rem 1.6rem 0.4rem; /* TL TR BR BL */
  text-decoration: none;
  overflow: hidden;
}

.btn-more:hover,
.btn-more:focus-visible { background-color: #1b7c81; }

.btn-more__txt {
  font-family: "pretendard-600", "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.6rem;
  color: var(--color-white);
  white-space: nowrap;
}

.btn-more__ico {
  display: block;
  flex-shrink: 0;
  width: 0.7rem;
  height: 1.2rem;
}

.btn-more__ico img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1600px) {
  .sec-head__tit { font-size: 5.8rem; line-height: 7.4rem; }
  .sec-head__eng { font-size: 2rem; line-height: 3.2rem; }
  .sec-head__desc { font-size: 2rem; line-height: 3.4rem; }
}

@media (max-width: 1400px) {
  .sec-head { gap: 2.6rem; }
  .sec-head__tit { font-size: 4.8rem; line-height: 6.2rem; }
  .sec-head__desc { font-size: 1.8rem; line-height: 3rem; }
  .btn-more { padding: 1.6rem 3.4rem; }
  .btn-more__txt { font-size: 1.8rem; line-height: 2.4rem; }
}

@media (max-width: 1024px) {
  .sec-head { gap: 2.2rem; }
  .sec-head__tit-area { gap: 1.2rem; }
  .sec-head__eng { font-size: 1.6rem; line-height: 2.4rem; letter-spacing: 0.08rem; }
  .sec-head__tit { font-size: 3.6rem; line-height: 4.8rem; }
  .sec-head__desc { font-size: 1.6rem; line-height: 2.8rem; }
}

@media (max-width: 768px) {
  .sec-head { gap: 1.6rem; }
  .sec-head__tit-area { gap: 1rem; }

  .sec-head__eng {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.06rem;
  }

  .sec-head__tit {
    font-family: "pretendard-800", "Pretendard", sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 3.4rem;
  }

  .sec-head__desc { font-size: 1.4rem; line-height: 2.2rem; }

  .sec-head__btns { margin-top: 0.4rem; gap: 0.7rem; }

  .br-mo { display: block; }

  .btn-more {
    gap: 0.7rem;
    padding: 1.1rem 1.8rem;
    border-radius: 1.2rem 0.4rem 1.2rem 0.4rem;
  }
  .btn-more__txt { font-size: 1.4rem; line-height: 2.2rem; }
  .btn-more__ico { width: 0.5rem; height: 0.8rem; }
}



/* ===================================================================
   ehmawh — Who we are (02_Why EHTI)
   기준 : PC 1920 / MO 375
   단위 : 10px = 1rem
=================================================================== */
.ehmawh {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 12rem 0;
  box-sizing: border-box;
  background-color: #16181d;
  overflow: hidden;
}

/* ------------------------------ 배경 ------------------------------ */
.ehmawh__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Figma : w 100% / h 140.08% / top -28.79% */
.ehmawh__bg-img {
  position: absolute;
  top: -28.79%;
  left: 0;
  width: 100%;
  height: 140.08%;
  background-image: url("/public/img/main/mawhy_pc.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* .ehmawh__bg-dim { */
  /* position: absolute; */
  /* inset: 0; */
  /* background-color: rgba(22, 24, 29, 0.7); */
/* } */

/* ---------------------------- 컨텐츠 ---------------------------- */
.ehmawh__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8rem;
}

/* ---------------------------- 카드 영역 ---------------------------- */
.ehmawh__cards {
  display: flex;
  gap: 2.4rem;
  width: 100%;
  height: 38rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 3rem 0.4rem 3rem 0.4rem; /* TL TR BR BL */
  overflow: hidden;
}

.ehmawh__card {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
  padding: 2.8rem 3.6rem;
  box-sizing: border-box;
  border-radius: 0.6rem;
  background-color: #0d1417;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

.ehmawh__card--01 { background-image: url("/public/img/main/whoweare_card01.webp"); }
.ehmawh__card--02 { background-image: url("/public/img/main/whoweare_card02.webp"); }
.ehmawh__card--03 { background-image: url("/public/img/main/whoweare_card03.webp"); }
.ehmawh__card--04 { background-image: url("/public/img/main/whoweare_card04.webp"); }

/* 카드 딤 : linear-gradient(90deg, rgba(0,0,0,.48) 20%, rgba(0,0,0,.18) 100%) */
.ehmawh__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.6rem;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.48) 20%, rgba(0, 0, 0, 0.18) 100%);
}

.ehmawh__card--03::before {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.56) 30%, rgba(0, 0, 0, 0.21) 70%);
}

/* 카드 라벨 : Pretendard Bold 22 / 36 */
.ehmawh__card-label {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 3.6rem;
  color: var(--color-white);
  white-space: nowrap;
}

/* 수치 */
.ehmawh__card-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  margin: 0;
  color: var(--color-white);
  white-space: nowrap;
}

/* 숫자 : Pretendard ExtraBold 60 / 64 */
.ehmawh__card-count {
  font-family: "pretendard-800", "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 6rem;
  line-height: 6.4rem;
  font-style: normal;
}

/* 단위 : Pretendard Bold 30 / 50 */
.ehmawh__card-unit {
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 5rem;
}
/* ---------- ~1600px ---------- */
@media (max-width: 1600px) {
  .ehmawh { padding: 10rem 0; }
  .ehmawh__inner { gap: 6.4rem; }
  .ehmawh__cards { height: 25rem; gap: 2rem; }
  .ehmawh__card { padding: 2.4rem 3rem; }
  .ehmawh__card-count { font-size: 5.2rem; line-height: 5.6rem; }
  .ehmawh__card-unit { font-size: 2.6rem; line-height: 4.4rem; }
}

/* ---------- ~1400px ---------- */
@media (max-width: 1400px) {
  .ehmawh { padding: 9rem 0; }
  .ehmawh__inner { gap: 5.6rem; }
  .ehmawh__cards { height: 22rem; gap: 1.6rem; }
  .ehmawh__card { padding: 2.2rem 2.4rem; }
  .ehmawh__card-label { font-size: 1.8rem; line-height: 3rem; }
  .ehmawh__card-count { font-size: 4.4rem; line-height: 4.8rem; }
  .ehmawh__card-unit { font-size: 2.2rem; line-height: 3.6rem; }
}

/* ---------- ~1024px : 카드 2×2 ---------- */
@media (max-width: 1024px) {
  .ehmawh { padding: 8rem 0; }
  .ehmawh__inner { gap: 4.8rem; }

  .ehmawh__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    height: auto;
    border-radius: 2.5rem 0.4rem 2.5rem 0.4rem;
  }

  .ehmawh__card {
    gap: 4rem;
    height: 20rem;
  }
}

/* ---------- ~768px : Mobile (375 기준) ---------- */
@media (max-width: 768px) {
  .ehmawh {
    padding: 5rem 0;
    background-color: #01100d;
  }

  /* MO : 상단 430px 영역에만 배경 노출 */
  .ehmawh__bg {
    top: 0;
    bottom: auto;
    height: 43rem;
  }

  .ehmawh__bg-img {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		
    background-image: url(/public/img/main/mawhy_mo.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
	}

  .ehmawh__bg-dim {
    background-color: transparent;
    background-image: linear-gradient(180deg, #16181d 22.34%, rgba(22, 24, 29, 0.5) 55%);
  }

  .ehmawh__inner { gap: 6rem; }

  /* 카드 1열 */
  .ehmawh__cards {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    height: auto;
    border-radius: 2.5rem 0.4rem 2.5rem 0.4rem;
  }

  .ehmawh__card {
		display: flex;
		overflow: unset;
		gap: 6rem;
		height: 38.935vw;
		padding: 2rem;
		justify-content: space-between;
	}

  .ehmawh__card-label { font-size: 1.6rem; line-height: 2.6rem; }

  .ehmawh__card-num { gap: 0.2rem; }

  .ehmawh__card-count { font-size: 3.4rem; line-height: 3rem; }

  .ehmawh__card-unit { font-size: 1.4rem; line-height: 1.8rem; }
}




/* ===================================================================
   ehmacl — CLIENTS & PARTNERS (로고 무한 롤링)
   기준 : PC 1920 / MO 375
   단위 : 10px = 1rem
=================================================================== */
.ehmacl {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
  width: 100%;
  padding: 12rem 0;
  box-sizing: border-box;
  background-color: #f5f6f8;
  overflow: hidden;
}

.ehmacl__head { width: 100%; }

/* 섹션 헤드 : 이 섹션만 영문 라벨 26px */
.ehmacl .sec-head__eng {
  font-size: 2.6rem;
  line-height: 3.8rem;
  letter-spacing: 0.13rem;
}

/* ---------------------------- 롤링 영역 ---------------------------- */
.ehmacl__rolling {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.ehmacl__row {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ehmacl__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
  animation-name: ehmacl-roll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--ehmacl-dur, 40s);
}

/* 역방향 행 */
.ehmacl__row--reverse .ehmacl__track { animation-direction: reverse; }

/* JS 계산 전(--ehmacl-dist 미설정) 에는 애니메이션 정지 */
.ehmacl__track:not([style*="--ehmacl-dist"]) { animation-play-state: paused; }

@keyframes ehmacl-roll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(var(--ehmacl-dist, 0px) * -1), 0, 0); }
}

/* ------------------------------ 카드 ------------------------------ */
.ehmacl__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 27.6rem;
  height: 13rem;
  margin-right: 2rem;          /* gap 대신 margin : 무한루프 계산을 정확히 하기 위함 */
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

.ehmacl__item img {
  display: block;
  /* width: 24rem; */
  /* height: 9rem; */
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

/* 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .ehmacl__track { animation: none !important; }
}

/* ---------- ~1600px ---------- */
@media (max-width: 1600px) {
  .ehmacl { gap: 7rem; }
  .ehmacl .sec-head__eng { font-size: 2.2rem; line-height: 3.2rem; letter-spacing: 0.11rem; }
}

/* ---------- ~1400px ---------- */
@media (max-width: 1400px) {
  .ehmacl { padding: 9rem 0; gap: 6rem; }
  .ehmacl .sec-head__eng { font-size: 2rem; line-height: 3rem; }

  .ehmacl__rolling { gap: 1.6rem; }
  .ehmacl__item { width: 24rem; height: 11.4rem; margin-right: 1.6rem; }
  .ehmacl__item img {max-width: 60%;}
}

/* ---------- ~1024px ---------- */
@media (max-width: 1024px) {
  .ehmacl { padding: 8rem 0; gap: 5rem; }
  .ehmacl .sec-head__eng { font-size: 1.6rem; line-height: 2.4rem; letter-spacing: 0.08rem; }

  .ehmacl__rolling { gap: 1.4rem; }
  .ehmacl__item { width: 20rem; height: 9.6rem; margin-right: 1.4rem; border-radius: 0.8rem; }
  /* .ehmacl__item img { width: 17.4rem; height: 6.6rem; } */
}

/* ---------- ~768px : Mobile (375 기준) ---------- */
@media (max-width: 768px) {
  .ehmacl { padding: 5rem 0; gap: 4rem; }

  .ehmacl .sec-head__eng {
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.06rem;
  }

  .ehmacl__rolling { gap: 0.7rem; }
  .ehmacl__item { width: 14rem; height: 6.6rem; margin-right: 0.7rem; border-radius: 0.5rem; }
  .ehmacl__item img {max-width: 60%;}
}

/* ---------- ~375px ---------- */
@media (max-width: 375px) {
  .ehmacl__item { width: 13rem; height: 6.2rem; }
  /* .ehmacl__item img { width: 11.4rem; height: 4.3rem; } */
}

/* ===================================================================
   ehmacus — CUSTOMER SERVICE / 고객 지원 서비스
   기준 : PC 1920 / MO 375
   단위 : 10px = 1rem
=================================================================== */
.ehmacus {
  position: relative;
  width: 100%;
  padding: 12rem 0;
  box-sizing: border-box;
  background-color: #f5f6f8;
  overflow: hidden;
}

/* ------------------------------ 배경 ------------------------------ */
.ehmacus__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ehmacus__bg-img {
  position: absolute;
  inset: 0;
  background-image: url("/public/img/main/bg_customer_pc.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* linear-gradient(to left, rgba(0,0,0,.8) 40%, rgba(0,0,0,.48) 100%) */
/* .ehmacus__bg-dim { */
  /* position: absolute; */
  /* inset: 0; */
  /* background-image: linear-gradient(to left, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.48) 100%); */
/* } */

/* ---------------------------- 레이아웃 ---------------------------- */
.ehmacus__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

/* ---------------------------- 섹션 헤드 ---------------------------- */
.ehmacus__head {
  flex-shrink: 0;
  width: 56rem;
}

.ehmacus__head-inner {
  position: sticky;
  top: 12rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  word-break: keep-all;
}

.ehmacus__tit-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}

/* 영문 라벨 : Poppins SemiBold 22 / 38 / ls 1.1 */
.ehmacus__eng {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 3.8rem;
  letter-spacing: 0.11rem;
  color: #ffffff;
  white-space: nowrap;
}

/* 타이틀 : Pretendard Bold 70 / 88 */
.ehmacus__tit {
  margin: 0;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 7rem;
  line-height: 8.8rem;
  letter-spacing: -0.1rem;
  color: #ffffff;
  white-space: nowrap;
}

/* 설명 : Pretendard Regular 22 / 38 */
.ehmacus__desc {
  width: 49.6rem;
  margin: 0;
  font-family: "pretendard-400", "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 3.8rem;
  color: #dddddd;
}

.ehmacus__br-mo { display: none; }
.ehmacus__br-pc { display: inline; }

/* ------------------------------ 카드 ------------------------------ */
.ehmacus__cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-shrink: 0;
  width: 100rem;
  border-radius: 3rem 0.6rem 3rem 0.6rem;  /* TL TR BR BL */
  overflow: hidden;
}

.ehmacus__row {
  display: flex;
  gap: 2rem;
  width: 100%;
}

.ehmacus__card {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  height: 26rem;
  padding: 3rem;
  box-sizing: border-box;
  border-radius: 0.6rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.ehmacus__card:hover,
.ehmacus__card:focus-visible { background-color: rgba(255, 255, 255, 0.25); }

/* 메인 카드 */
.ehmacus__card--primary {
  background-color: #22969c;
  backdrop-filter: blur(1.5rem);
  -webkit-backdrop-filter: blur(1.5rem);
}

.ehmacus__card--primary:hover,
.ehmacus__card--primary:focus-visible { background-color: #1e858a; }

/* 1행 : 620 / 360 고정 배분 */
.ehmacus__card--narrow {
  flex: 0 0 36rem;
  width: 36rem;
  height: auto;
  align-self: stretch;
  min-height: 26rem;
}

/* 카드 상단 */
.ehmacus__card-top {
  display: flex;
  align-items: flex-start;
  gap: 2.8rem;
  width: 100%;
}

.ehmacus__card-txt {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  color: #ffffff;
  overflow: hidden;
}

.ehmacus__card-tit {
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 3.8rem;
  white-space: nowrap;
}

.ehmacus__card--primary .ehmacus__card-tit {
  font-size: 3rem;
  line-height: 4.2rem;
}

.ehmacus__card-sub {
  font-family: "pretendard-400", "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.6rem;
}

.ehmacus__card-ico {
  display: block;
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
}

.ehmacus__card-ico img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 자세히 보기 */
.ehmacus__more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 0.2rem solid #ffffff;
}

.ehmacus__more-txt {
  font-family: "pretendard-600", "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 2.6rem;
  color: #ffffff;
  white-space: nowrap;
}

.ehmacus__more-ico {
  display: block;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 0.3s ease;
}

.ehmacus__more-ico img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ehmacus__card:hover .ehmacus__more-ico { transform: translateX(0.4rem); }

/* ---------- ~1800px ---------- */
@media (max-width: 1800px) {
  .ehmacus__head { width: 48rem; }
  .ehmacus__desc { width: 100%; }
  .ehmacus__cards { width: 92rem; }
}

/* ---------- ~1600px ---------- */
@media (max-width: 1600px) {
  .ehmacus__head { width: 42rem; }
  .ehmacus__tit { font-size: 5.6rem; line-height: 7.2rem; }
  .ehmacus__desc { font-size: 2rem; line-height: 3.4rem; }

  .ehmacus__cards { flex: 1 1 auto; width: auto; min-width: 0; }
  .ehmacus__card { height: 24rem; padding: 2.6rem; }
  .ehmacus__card--narrow { flex: 0 0 32rem; width: 32rem; min-height: 24rem; }
  .ehmacus__card-tit { font-size: 2.4rem; line-height: 3.2rem; }
  .ehmacus__card--primary .ehmacus__card-tit { font-size: 2.6rem; line-height: 3.6rem; }
}

/* ---------- ~1400px ---------- */
@media (max-width: 1400px) {
  .ehmacus { padding: 9rem 0; }
  .ehmacus__head-inner { top: 9rem; }
  .ehmacus__head { width: 36rem; }
  .ehmacus__eng { font-size: 2rem; line-height: 3rem; }
  .ehmacus__tit { font-size: 4.6rem; line-height: 6rem; }
  .ehmacus__desc { font-size: 1.8rem; line-height: 3rem; }

  .ehmacus__card { height: 22rem; padding: 2.4rem; }
  .ehmacus__card--narrow { flex: 0 0 28rem; width: 28rem; min-height: 22rem; }
  .ehmacus__card-sub { font-size: 1.6rem; line-height: 2.4rem; }
  .ehmacus__card-ico { width: 3.4rem; height: 3.4rem; }
}

/* ---------- ~1200px : 상하 배치 ---------- */
@media (max-width: 1200px) {
  .ehmacus__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 5rem;
  }

  .ehmacus__head { width: 100%; }
  .ehmacus__head-inner { position: static; }
  .ehmacus__cards { width: 100%; }
}

/* ---------- ~1024px : 카드 2×2 균등 ---------- */
@media (max-width: 1024px) {
  .ehmacus { padding: 8rem 0; }
  .ehmacus__inner { gap: 4.4rem; }

  .ehmacus__tit { font-size: 3.8rem; line-height: 5rem; }
  .ehmacus__eng { font-size: 1.6rem; line-height: 2.4rem; letter-spacing: 0.08rem; }

  .ehmacus__cards { border-radius: 2.5rem 0.4rem 2.5rem 0.4rem; }
  .ehmacus__row { gap: 1.6rem; }
  .ehmacus__card { height: 21rem; }

  .ehmacus__card--narrow {
    flex: 1 0 0;
    width: auto;
    height: 21rem;
    min-height: 0;
  }
}

/* ---------- ~768px : Mobile (375 기준) ---------- */
@media (max-width: 768px) {
  .ehmacus {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.9);
  }

  /* MO : 상단 430px 영역에만 배경 노출 */
  .ehmacus__bg-img {
	position: absolute;
	inset: 0;
	top: 0;
	height: 43rem;
	background-image: url(/public/img/main/bg_customer_mo.webp);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100%;
  }

  .ehmacus__inner { gap: 6rem; }

  /* 헤드 : 중앙 정렬 */
  .ehmacus__head-inner {
    align-items: center;
    gap: 1.6rem;
    width: 100%;
    text-align: center;
  }

  .ehmacus__tit-area {
    align-items: center;
    gap: 1rem;
  }

  .ehmacus__eng {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
  }

  .ehmacus__tit {
    font-family: "pretendard-800", "Pretendard", sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 3.4rem;
  }

  .ehmacus__desc { font-size: 1.4rem; line-height: 2.2rem; }

  .ehmacus__br-mo { display: inline; }
  .ehmacus__br-pc { display: none; }

  /* 카드 : 1열 */
  .ehmacus__cards {
    gap: 1rem;
    border-radius: 2.5rem 0.4rem 2.5rem 0.4rem;
  }

  .ehmacus__row {
    flex-direction: column;
    gap: 1rem;
  }

  .ehmacus__card {
	          flex: inherit;
	overflow: initial;
    height: 15rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1.5rem);
    -webkit-backdrop-filter: blur(1.5rem);
  }

  .ehmacus__card--primary {
    height: 20rem;
    background-color: rgba(34, 150, 156, 0.8);
  }

  .ehmacus__card--narrow {
    flex: 0 0 auto;
    width: 100%;
    height: 15rem;
  }

  .ehmacus__card-top { gap: 2.8rem; }
  .ehmacus__card-txt { gap: 0.4rem; }

  .ehmacus__card-tit { font-size: 2rem; line-height: 2.8rem; }
  .ehmacus__card--primary .ehmacus__card-tit { font-size: 2rem; line-height: 2.8rem; }
  .ehmacus__card-sub { font-size: 1.3rem; line-height: 2rem; }

  .ehmacus__card-ico { width: 3rem; height: 3rem; }

  .ehmacus__more { gap: 0.8rem; padding-bottom: 0.6rem; }
  .ehmacus__more-txt { font-size: 1.3rem; line-height: 2rem; }
  .ehmacus__more-ico { width: 1rem; height: 1rem; }

  .ehmacus__card:hover { background-color: rgba(255, 255, 255, 0.15); }
  .ehmacus__card--primary:hover { background-color: rgba(34, 150, 156, 0.8); }
  .ehmacus__card:hover .ehmacus__more-ico { transform: none; }
}



/* ===================================================================
   ehmaban — 분석문의 / 인재채용 배너
   기준 : PC 1920 / MO 375
   단위 : 10px = 1rem
=================================================================== */
.ehmaban {
  display: flex;
  align-items: stretch;
  gap: 3rem;
  width: 100%;
  padding: 4rem;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* ------------------------------ 카드 ------------------------------ */
.ehmaban__card {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 42rem;
  padding: 6rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* 시안 라운드 : TL TR BR BL */
.ehmaban__card--inquiry { border-radius: 5rem 0.6rem 0.6rem 0.6rem; }
.ehmaban__card--recruit { border-radius: 0.6rem 0.6rem 5rem 0.6rem;}

/* ------------------------------ 배경 ------------------------------ */
.ehmaban__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  pointer-events: none;
}

.ehmaban__card--inquiry .ehmaban__bg{
background-image: url(/public/img/main/ehmaban__card_inquiry_bg.webp);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
.ehmaban__card--recruit .ehmaban__bg{
background-image: url(/public/img/main/ehmaban__card_recruit_bg.webp);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}

/* 분석문의 : linear-gradient(to left, rgba(243,245,244,0) 36.567%, #f3f5f4 66.188%) */
.ehmaban__card--inquiry .ehmaban__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    #f3f5f4 0%,
    #f3f5f4 33.812%,
    rgba(243, 245, 244, 0) 63.433%
  );
}

/* 인재채용 : #f9f9f9 multiply */
.ehmaban__card--recruit .ehmaban__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f9f9f9;
  mix-blend-mode: multiply;
}

/* ---------------------------- 컨텐츠 ---------------------------- */
.ehmaban__cont {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-height: 0;
}

.ehmaban__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  word-break: keep-all;
}

.ehmaban__tit-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}

/* 영문 라벨 : Poppins SemiBold 16 / 22 / ls 0.8 */
.ehmaban__eng {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 2.2rem;
  letter-spacing: 0.08rem;
  color: #22969c;
  white-space: nowrap;
}

/* 타이틀 : Pretendard Bold 50 / 60 */
.ehmaban__tit {
  margin: 0;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 5rem;
  line-height: 6rem;
  letter-spacing: -0.05rem;
  color: #111111;
  white-space: nowrap;
}

/* 설명 : Pretendard Regular 20 / 34 */
.ehmaban__desc {
  margin: 0;
  font-family: "pretendard-400", "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 3.4rem;
  color: #111111;
}

/* ------------------------------ 버튼 ------------------------------ */
.ehmaban__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.9rem;
  padding: 1.6rem 3rem;
  background-color: #22969c;
  border-radius: 1.6rem 0.4rem 1.6rem 0.4rem;  /* TL TR BR BL */
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.ehmaban__btn:hover,
.ehmaban__btn:focus-visible { background-color: #1b7c81; }

.ehmaban__btn-txt {
  font-family: "pretendard-600", "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 2.2rem;
  color: #ffffff;
  white-space: nowrap;
}

.ehmaban__btn-ico {
  display: block;
  flex-shrink: 0;
  width: 0.7rem;
  height: 1.2rem;
  transition: transform 0.3s ease;
}

.ehmaban__btn-ico img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ehmaban__btn:hover .ehmaban__btn-ico { transform: translateX(0.3rem); }

/* ---------- ~1600px ---------- */
@media (max-width: 1600px) {
  .ehmaban__card { height: 38rem; padding: 5rem; }
  .ehmaban__tit { font-size: 4.4rem; line-height: 5.4rem; }
  .ehmaban__desc { font-size: 1.8rem; line-height: 3.2rem; }
}

/* ---------- ~1400px ---------- */
@media (max-width: 1400px) {
  .ehmaban { gap: 2.4rem; padding: 3rem; }
  .ehmaban__card { height: 34rem; padding: 4rem; }
  .ehmaban__card--inquiry { border-radius: 4rem 0.6rem 0.6rem 0.6rem; }
  .ehmaban__card--recruit { border-radius: 0.6rem 0.6rem 4rem 0.6rem; }

  .ehmaban__txt { gap: 1.6rem; }
  .ehmaban__tit-area { gap: 1.2rem; }
  .ehmaban__tit { font-size: 3.8rem; line-height: 4.8rem; }
  .ehmaban__desc { font-size: 1.6rem; line-height: 2.8rem; }
  .ehmaban__btn { padding: 1.4rem 2.6rem; }
  .ehmaban__btn-txt { font-size: 1.6rem; }
}

/* ---------- ~1024px : 상하 배치 ---------- */
@media (max-width: 1024px) {
  .ehmaban {
    flex-direction: column;
    gap: 2rem;
  }

  .ehmaban__card {
    flex: 0 0 auto;
    width: 100%;
    height: 30rem;
  }

  /* 세로 배치에서는 이미지가 더 크게 잡히므로 좌측 페이드를 넓힘 */
  .ehmaban__card--inquiry .ehmaban__bg::after {
    background-image: linear-gradient(
      to right,
      #f3f5f4 0%,
      #f3f5f4 40%,
      rgba(243, 245, 244, 0) 72%
    );
  }
}

/* ---------- ~768px : Mobile (375 기준) ---------- */
@media (max-width: 768px) {
  .ehmaban {
    gap: 1rem;
    padding: 2rem;
  }

  .ehmaban__card {
    height: auto;
    min-height: 20rem;
    padding: 2.4rem;
  }

  .ehmaban__card--inquiry { border-radius: 2.5rem 0.4rem 0.6rem 0.6rem; }
  .ehmaban__card--recruit { border-radius: 0.6rem 0.6rem 2.5rem 0.6rem; }

  .ehmaban__card--inquiry .ehmaban__bg::after {
    background-image: linear-gradient(
      to right,
      #f3f5f4 0%,
      #f3f5f4 36.399%,
      rgba(243, 245, 244, 0) 85.307%
    );
  }

  .ehmaban__txt { gap: 1rem; }
  .ehmaban__tit-area { gap: 0.6rem; }

  .ehmaban__eng {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2rem;
    letter-spacing: 0.05rem;
  }

  .ehmaban__tit { font-size: 2.2rem; line-height: 3rem; }
  .ehmaban__desc { font-size: 1.3rem; line-height: 2.2rem; }

  .ehmaban__cont { gap: 2rem; justify-content: flex-start; min-height:auto}

  .ehmaban__btn {
    gap: 0.7rem;
    padding: 0.8rem 1.6rem;
    border-radius: 1.2rem 0.4rem 1.2rem 0.4rem;
  }

  .ehmaban__btn-txt { font-size: 1.4rem; line-height: 2.2rem; }
  .ehmaban__btn-ico { width: 0.5rem; height: 0.8rem; }

  .ehmaban__btn:hover { background-color: #22969c; }
  .ehmaban__btn:hover .ehmaban__btn-ico { transform: none; }
}


/* ===================================================================
   ehmanews — 연구원 소식 (07_게시판 / NEWS & NOTICE)
   기준 : PC 1920 / MO 375   ·   단위 : 10px = 1rem
   * .inner / .sec-head / .sec-head--dark 는 main.css 공통 재사용
=================================================================== */
.ehmanews {
	overflow:hidden;
  position: relative;
  width: 100%;
  padding: 12rem 0;
  background-color: #ffffff;
  box-sizing: border-box;
}
.ehmanews * { box-sizing: border-box; }
.ehmanews a { text-decoration: none; color: inherit; }

.ehmanews__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 8rem;
}

/* ------------------------------ 탭 ------------------------------ */
.ehmanews__tabs {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ehmanews__tab-list {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.ehmanews__tab {
  padding: 1.2rem 0.6rem 1.4rem;
  border: 0;
  border-bottom: 0.2rem solid transparent;
  background: none;
  cursor: pointer;
  font-family: "pretendard-500", "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 2.6rem;
  color: #5b6472;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.ehmanews__tab:hover { color: #111111; }

.ehmanews__tab.is-active {
  border-bottom-color: #111111;
  font-family: "pretendard-700", "Pretendard", sans-serif;
  font-weight: 700;
  color: #111111;
}

/* ----------------------------- 패널 ----------------------------- */
.ehmanews__panels { position: relative; width: 100%; }

.ehmanews__panel {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.ehmanews__panel.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------- 스와이퍼 ---------------------------- */
.ehmanews__swiper {
  position: relative;
  width: 100%;
}
.ehmanews__swiper.swiper{
	overflow: unset;
}
/* swiper 버전 차이(4 / 9) 대비 최소 보정 */
.ehmanews__swiper .swiper-wrapper { display: flex; box-sizing: content-box; }
.ehmanews__swiper .swiper-slide {
  flex-shrink: 0;
  width: 55.2rem;
  max-width: calc(100% - 3.5rem);
  height: auto;
}

/* ------------------------------ 카드 ------------------------------ */
.ehmanews__card {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  height: 100%;
  padding: 3.4rem 3.4rem 3rem;
  background-color: #f3f5f4;
  border-radius: 3.6rem 0.6rem 3.6rem 0.6rem; /* TL TR BR BL */
  overflow: hidden;
  transition: background-color 0.3s;
}

.ehmanews__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.ehmanews__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border-radius: 10rem;
  background-color: var(--color-primary);
  font-family: "pretendard-800", "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--color-white);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}

.ehmanews__card-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

/* 제목 + 요약 : 높이 고정 · 하단 정렬 (요약 없는 자료실 카드 대응) */
.ehmanews__card-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
  gap: 1.6rem;
  width: 100%;
  height: 15.6rem;
}

.ehmanews__card-tit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "pretendard-600", "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 4.2rem;
  color: #16181d;
  word-break: keep-all;
  transition: color 0.3s;
}

.ehmanews__card-desc {
  margin: 0;
  height: 5.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "pretendard-400", "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.8rem;
  color: #888888;
  transition: color 0.3s;
}

.ehmanews__card-foot {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.ehmanews__card-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.ehmanews__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.ehmanews__card-date {
  font-family: "pretendard-600", "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 2rem;
  color: #aaaaaa;
  white-space: nowrap;
  transition: color 0.3s;
}

.ehmanews__card-ico {
  display: block;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
}
.ehmanews__card-ico img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ehmanews__card-ico .is-light { display: none; }

/* 카드 hover : 시안의 활성 카드 */
.ehmanews__card:hover,
.ehmanews__card:focus-visible { background-color: var(--color-primary); }

.ehmanews__card:hover .ehmanews__badge,
.ehmanews__card:focus-visible .ehmanews__badge {
  background-color: var(--color-white);
  color: var(--color-primary);
}
.ehmanews__card:hover .ehmanews__card-tit,
.ehmanews__card:focus-visible .ehmanews__card-tit {
  color: var(--color-white);
  text-decoration: underline;
}
.ehmanews__card:hover .ehmanews__card-desc,
.ehmanews__card:focus-visible .ehmanews__card-desc { color: var(--color-white); }

.ehmanews__card:hover .ehmanews__card-line,
.ehmanews__card:focus-visible .ehmanews__card-line { background-color: rgba(255, 255, 255, 0.2); }

.ehmanews__card:hover .ehmanews__card-date,
.ehmanews__card:focus-visible .ehmanews__card-date { color: var(--color-white); }

.ehmanews__card:hover .ehmanews__card-ico .is-dark,
.ehmanews__card:focus-visible .ehmanews__card-ico .is-dark { display: none; }
.ehmanews__card:hover .ehmanews__card-ico .is-light,
.ehmanews__card:focus-visible .ehmanews__card-ico .is-light { display: block; }

/* --------------------------- 좌우 버튼 --------------------------- */
.ehmanews__nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ehmanews__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background-color: #f3f5f4;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.ehmanews__nav-btn:hover { background-color: #e6ebe9; }

.ehmanews__nav-btn img {
  display: block;
  width: 0.7rem;
  height: 1.2rem;
  object-fit: contain;
}
.ehmanews__nav-btn--prev img { transform: rotate(360deg); }

.ehmanews__nav-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}
.ehmanews__nav-btn.swiper-button-disabled:hover { background-color: #f3f5f4; }

/* --------------------------- 게시글 없음 --------------------------- */
.ehmanews__empty {
  width: 100%;
  margin: 0;
  padding: 8rem 0;
  text-align: center;
  font-family: "pretendard-500", "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 3rem;
  color: #888888;
}

/* =========================== RESPONSIVE ===========================
   * common.css 가 html font-size 를 62.5% / (992~1600px) 58.5% 로 전환하므로
     1600px 구간은 별도 규칙 없이 rem 스케일로 자연 축소된다.
   * 그래서 브레이크포인트는 1800 / 1400 / 991 / 768 만 사용.
=================================================================== */
/* ---------- ~1800px ---------- */
@media (max-width: 1800px) {
  .ehmanews { padding: 10rem 0; }
  .ehmanews__body { margin-top: 6rem; }
  .ehmanews__swiper .swiper-slide { width: 50rem; }
}

/* ---------- ~1400px ---------- */
@media (max-width: 1400px) {
  .ehmanews { padding: 8rem 0; }
  .ehmanews__body { margin-top: 5rem; gap: 2.6rem; }
  .ehmanews__panel { gap: 2.6rem; }

  .ehmanews__swiper .swiper-slide { width: 44rem; }

  .ehmanews__card { gap: 2rem; padding: 2.8rem 2.8rem 2.6rem; }
  .ehmanews__card-body { gap: 2.4rem; }
  .ehmanews__card-tit { font-size: 2.4rem; line-height: 3.4rem; }
  .ehmanews__card-desc { height: 5.2rem; line-height: 2.6rem; }
  .ehmanews__card-txt { height: 13.6rem; }
}

/* ---------- ~991px ---------- */
@media (max-width: 991px) {
  .ehmanews__body { margin-top: 4rem; }
  .ehmanews__tab-list { gap: 2.4rem; }
  .ehmanews__tab { padding: 1rem 0.5rem 1.2rem; font-size: 1.8rem; line-height: 2.4rem; }

  .ehmanews__swiper .swiper-slide { width: 34rem; }

  .ehmanews__card { padding: 2.6rem 2.4rem 2.4rem; }
  .ehmanews__badge { padding: 0.5rem 1.2rem; font-size: 1.4rem; line-height: 2.2rem; }
  .ehmanews__card-tit { font-size: 2.2rem; line-height: 3.2rem; }
  .ehmanews__card-desc { height: 4.8rem; font-size: 1.5rem; line-height: 2.4rem; }
  .ehmanews__card-txt { height: 12.8rem; gap: 1.4rem; }
  .ehmanews__card-date { font-size: 1.5rem; }

  .ehmanews__nav-btn { width: 4.8rem; height: 4.8rem; }
}

/* ---------- ~768px : Mobile (375 기준) ---------- */
@media (max-width: 768px) {
  .ehmanews { padding: 6rem 0; }
  .ehmanews__body { margin-top: 3rem; gap: 2rem; }
  .ehmanews__panel { gap: 2rem; }

  .ehmanews__tab-list { gap: 1.6rem; }
  .ehmanews__tab { padding: 0.8rem 0.4rem 1rem; font-size: 1.5rem; line-height: 2.2rem; }

  /* 375 기준 : 30rem 카드 + 3.5rem 엿보기 */
  .ehmanews__swiper .swiper-slide { width: 30rem; }

  .ehmanews__card {
    gap: 1.6rem;
    padding: 2.2rem 2rem 2rem;
    border-radius: 2.4rem 0.6rem 2.4rem 0.6rem;
  }
  .ehmanews__badge { padding: 0.4rem 1rem; font-size: 1.2rem; line-height: 1.8rem; }

  .ehmanews__card-body { gap: 2rem; }
  .ehmanews__card-txt { height: 10.2rem; gap: 1.2rem; }
  .ehmanews__card-tit { font-size: 1.7rem; line-height: 2.6rem; }
  .ehmanews__card-desc { height: 3.8rem; font-size: 1.3rem; line-height: 1.9rem; }

  .ehmanews__card-foot { gap: 1.4rem; }
  .ehmanews__card-date { font-size: 1.2rem; line-height: 1.6rem; }
  .ehmanews__card-ico { width: 1.6rem; height: 1.6rem; }

  .ehmanews__nav { gap: 0.6rem; }
  .ehmanews__nav-btn { width: 4.2rem; height: 4.2rem; }
  .ehmanews__nav-btn img { width: 0.6rem; height: 1rem; }

  .ehmanews__empty { padding: 5rem 0; font-size: 1.5rem; }
}