@charset "UTF-8";
/*
  로그인 페이지(indexRn) 전용 반응형 헤더/푸터
  - Figma "[main] 메인페이지"(PC, node 970:1519) / "[Mo_main] 메인페이지"(모바일, node 999:11922)의
    GNB / Footer 컴포넌트 스펙을 그대로 반영한다.
  - 이 프로젝트는 기본적으로 PC 고정폭(1100px) 사이트이며, 이 페이지만 예외적으로 반응형으로 노출된다.
  - 모바일 브레이크포인트 : 768px 이하
  - 이미지/아이콘 영역(.imgPlaceholder)은 실제 리소스 교체 전까지 자리만 잡아둔 임시 박스이다.
*/
._mo {
  display: none !important;
}

._pc {
  display: block !important;
}

.imgPlaceholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a94a3;
  font-size: 11px;
  line-height: 1;
  box-sizing: border-box;
}

/* ===================== 헤더(GNB) ===================== */
.rnHeader {
  position: relative;
  width: 100%;
  background-color: #fff;
}

.rnGnbInner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
}

/* PC: rnGnbTopRow(로고+유틸)는 레이아웃에 개입하지 않고 자식(로고/유틸)이 rnGnbInner의
   플렉스 아이템이 되어 메뉴와 한 줄에 나란히 배치된다. 모바일에서는 실제 행(row)이 된다. */
.rnGnbTopRow {
  display: contents;
}

.rnLogo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  order: 1;
}
.rnLogoImg {
  width: 117px;
  height: 17px;
}

.rnMenu {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-left: 48px;
  order: 2;
}
.rnMenu a {
  font-size: 14px;
  font-weight: 500;
  color: #333842;
  white-space: nowrap;
}
.rnMenu a:hover {
  color: #0c56df;
}

.rnUtils {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  flex-shrink: 0;
  order: 3;
}

.rnLoginState,
.rnAdminLink {
  font-size: 13px;
  color: #667085;
}
.rnLoginState_current {
  cursor: default;
}

/* 언어 선택 드롭다운 */
.rnLangSelect {
  position: relative;
}
.rnLangSelectBtn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #667085;
  cursor: pointer;
  list-style: none;
}
.rnLangSelectBtn::-webkit-details-marker {
  display: none;
}
.rnLangIcon {
  display: block;
  width: 16px;
  height: 16px;
}
.rnLangArrow {
  display: block;
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
}
.rnLangSelect[open] .rnLangArrow {
  transform: rotate(180deg);
}

.rnLangMenu {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 80px;
  background-color: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
}
.rnLangMenu form {
  margin: 0;
}
.rnLangMenu button {
  width: 100%;
  min-width: 80px;
  padding: 10px 14px;
  white-space: nowrap;
  border: none;
  background: none;
  text-align: center;
  font-size: 13px;
  color: #040404;
  cursor: pointer;
}
.rnLangMenu button.isActive {
  background-color: #f1f4fd;
  font-weight: 600;
}

/* 모바일: 로고/유틸 1행 + GNB 메뉴 2행 */
@media (max-width: 768px) {
  ._mo {
    display: block !important;
  }

  ._pc {
    display: none !important;
  }

  .rnGnbInner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 22px;
    padding: 20px 20px 16px;
  }
  .rnGnbTopRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .rnLogoImg {
    width: 93px;
    height: 14px;
  }
  .rnMenu {
    margin-left: 0;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .rnMenu::-webkit-scrollbar {
    display: none;
  }
  .rnMenu a {
    font-size: 14px;
  }
  .rnUtils {
    gap: 14px;
  }
  .rnLoginState,
  .rnAdminLink,
  .rnLangSelectBtn {
    font-size: 12px;
  }
}

/* ===================== 푸터 ===================== */
.rnFooter {
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ededed;
}
.rnFooterInner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.rnFooterBrand {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.rnFooterLogoRow {
  display: flex;
  align-items: center;
  gap: 40px;
}
.rnFooterLogoImg {
  width: 112px;
  height: 16px;
}
.rnFooterLinks {
  display: flex;
  align-items: center;
  gap: 43px;
}
.rnFooterLinks a {
  font-size: 14px;
  color: #393939;
  white-space: nowrap;
}
.rnFooterRegistration {
  font-size: 12px;
  color: #bbb;
  line-height: 1.5;
}

.rnFooterCs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.rnCsNumber {
  font-size: 18px;
  font-weight: 600;
  color: #343434;
}
.rnBusinessHours {
  font-size: 13px;
  color: #606060;
  letter-spacing: -0.26px;
  line-height: 1.6;
}

/* 모바일: 고객센터 -> 로고 -> 링크 -> 사업자정보 순으로 세로 배치 (PC와 항목 동일) */
@media (max-width: 768px) {
  .rnFooterInner {
    flex-direction: column-reverse;
    gap: 52px;
    padding: 40px 20px 80px;
  }
  .rnFooterLogoRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .rnFooterLinks {
    gap: 10px 43px;
    flex-wrap: wrap;
  }
  .rnFooterCs {
    white-space: normal;
  }
}
