@charset "utf-8";
/* ========== HEADER ========== */
/* === 모바일 (기본, 375px~) === */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: #fff;
  padding-left: 1rem;
  padding-right: 1rem;
}

.header-inner {
  height: 60px;
  gap: 1rem;
}

.header-logo {
  max-width: 160px;
  margin: 0;
}

.header-logo img {
  width: 100%;
  height: auto;
}

/* 모바일 메뉴 */
.menu-mo {
  position: fixed;
  top: 60px;
  right: 0;
  width: 100%;
  height: calc(100dvh - 60px);
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.3s;
  overflow-y: auto;
  padding: 2.5rem 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-mo.is-open {
  transform: translateX(0);
}

.header .icon-ham.is-open {
  -webkit-mask: url(/images/i-close.svg) no-repeat center / contain;
  mask: url(/images/i-close.svg) no-repeat center / contain;
}

/* 모바일메뉴 검색 */
.menu-mo .search {
  padding: 0 calc(1.5rem * 0.5);
  max-width: 400px;
  margin-bottom: 1.5rem;
}

.menu-mo .header-nav {
  font-size: 1.4rem;
}

.menu-mo .nav-link {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-mo .nav-link .icon-down {
  transition: transform 0.3s;
  background: var(--gray);
}

.menu-mo .sub-menu {
  background-color: var(--bg2);
  max-height: 0;
  overflow: hidden;
}

.menu-mo .sub-menu a {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
}

.menu-mo .nav-link.menu-open {
  color: var(--primary);
}

.menu-mo .nav-link.menu-open .icon-down {
  transform: rotate(-180deg);
}

.menu-mo .sub-menu.menu-open {
  max-height: 100vh;
}

.menu-mo .language_box li {
  display: flex;
  align-items: center;
}

.menu-mo .language_box li a {
  display: block;
  padding: 1rem;
  font-size: 1.4rem;
}

.menu-mo .language_box li:not(:first-of-type):before {
  content: "";
  display: block;
  width: 2px;
  height: 40%;
  background-color: var(--border);
}

.menu-mo .btn-primary {
  margin: auto auto 0 auto;
}

/* === 작은 PC 헤더 (992px~) === */
@media (min-width: 992px) {
  .menu-mo {
    display: none;
  }

  .header-inner {
    height: 120px;
  }

  .header-logo {
    max-width: 170px;
  }

  /* 네비게이션 */
  .header-nav {
    flex: 1;
    justify-content: center;
  }

  .nav-list {
    width: 100%;
    max-width: 1400px;
    justify-content: space-between;
    gap: 0;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 120px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--titletext);
    text-align: center;
    transition: color 0.2s;
  }

  .nav-item:hover>.nav-link {
    color: var(--primary);
  }

  /* 서브메뉴 */
  .sub-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    top: 120px;
    left: 0;
    padding: 0 0 1.5rem;
  }

  .header.menu-open .sub-menu {
    display: flex;
  }

  .sub-menu li a {
    color: var(--titletext);
    font-size: 1rem;
    transition: color 0.2s;
    text-align: center;
    display: block;
    width:100%;
  }

  .sub-menu li a:hover,
  .sub-menu li a.active {
    color: var(--primary);
    font-weight: 700;
  }

  /* 우측 액션 */
  .header-actions {
    gap: 1.25rem;
  }

  .header-actions>[class*="icon-"]{
    background: var(--primary);
  }
  /* 번역 버튼 */
.language_btn {
    position: relative;
    overflow: visible;
     padding: 0.5em 0; 
}
.icon-trans{
    background: var(--primary);
}

/* 언어 리스트 */
.language_box {
  text-indent: 0;
  width:fit-content;
    position: absolute;
    top: 100%;
    left:50%;
    transform: translate(-50%,0);
    z-index: 1000;
    
    border-radius: var(--radius8);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease; 
}

.language_btn.is-open .language_box {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.language_box .lang_list {background: var(--primary);}
.language_box .lang_list a {
    display: block;
    padding: 0.5em 1em;
    color: var(--gray2);
    white-space: nowrap;
    text-align: center;
    font-weight:600;
}
.language_box .lang_list:hover a {
  color:#fff;
}

.language_box .lang_list.active {
    background-color:#fff;
}

.language_box .lang_list.active a {
    color:var(--primary);
}

  /* 메가메뉴 배경 */
  .header::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
    z-index: -1;
  }

  .header.menu-open::after {
    display: block;
  }
}

/* === 일반 PC 헤더 (1200px~) === */
@media (min-width: 1200px) {
.header-container {padding: 0;}

  .header-logo {
    max-width: 230px;
  }
}

/* === 큰 PC  (1400px~) === */
@media (min-width: 1400px) {
.header-container {padding: 0 3rem;}
  
  .header-logo {
    max-width: 220px;
  }
}

/* ========== 검색 팝업 ========== */
/* 검색 팝업 - 모바일 (기본, 375px~) */
.header-pop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1001;
}

.header-pop.is-active {
  opacity: 1;
  visibility: visible;
}

.header-pop-inner {
  padding: 4rem 1.5rem;
  height: 100%;
}

.header-pop-inner .content-title-md {
  margin-top: 2em;
}

.header-pop .icon-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--gray);
  transition: color 0.2s;
}

.header-pop .icon-close:hover {
  color: var(--titletext);
}

.header-pop .search {
  max-width: 600px;
}

.search-keyword {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.search-keyword li {
  padding: 0.25em 0.5em;
  background: #fff;
  border-radius: var(--radius8);
}

.search-keyword li:before {
  content: "#";
  font-weight: 700;
  color: var(--primary);
  margin-right: 0.3em;
}

/* === PC (992px~) === */
@media (min-width: 992px) {
  .header-pop {
    height: 350px;
    min-height: auto;
  }

  .header-pop-inner {
    padding: 0;
  }

  .header-pop-inner .content-title-md {
    margin-top: 0;
  }
}




/* ============================= sub visual nav ============================= */

/* 연혁 */
#visual-nav.history-nav {
  background: url('/images/sub-visual/sub_visual_nav_연혁2.jpg') no-repeat center/cover;
  background-position-y: 55%;
}

/* 수상내역 */
#visual-nav.awards-nav {
  background: url('/images/sub-visual/sub_visual_nav_수상내역.jpg') no-repeat center/cover;
  background-size: 150%;
}

/* 오시는길 */
#visual-nav.location-nav {
  background: url('/images/sub-visual/sub_visual_nav_오시는길.jpg') no-repeat center/cover;
  background-position-y: 15%;
}

/* 싱가포르 대표사무소 */
#visual-nav.overseas-nav {
  background: url('/images/intro/sub_visual_bg_intro_overseas.jpg') no-repeat center/cover;
}

/* 분야별 */
#visual-nav.area-nav {
  background: url('/images/sub-visual/sub_visual_nav_분야별2.jpg') no-repeat center/cover;
  background-position-y: 40%;
}

/* 산업별 */
#visual-nav.industry-nav {
  background: url('/images/sub-visual/sub_visual_nav_산업별.jpg') no-repeat center/cover;
}

/* 특별팀 센터 */
#visual-nav.center-nav {
  background: url('/images/sub-visual/sub_visual_nav_특별팀센터.jpg') no-repeat center/cover;
}

/* 바른뉴스, 상세페이지-- */
#visual-nav.news, .post-view-barunnews-nav {
  background: url('/images/sub-visual/sub_visual_nav_바른뉴스.jpg') no-repeat center/cover;
  background-position-y: 100%;
}

/* 최근업무사례, 상세페이지-- */
#visual-nav.case, .post-view-case-nav {
  background: url('/images/sub-visual/sub_visual_nav_최근업무사례.jpg') no-repeat center/cover;
}

/* -- 뉴스레터, 상세페이지 -- */
#visual-nav.newsletter, .post-view-newsletter-nav {
  background: url('/images/sub-visual/sub_visual_nav_뉴스레터.jpg') no-repeat center/cover;
}

/* 언론보도, 상세페이지 */
#visual-nav.press, .post-view-press-nav {
  background: url('/images/sub-visual/sub_visual_nav_언론보도.jpg') no-repeat center/cover;
}

/* 저서 및 자료, 상세페이지 */
#visual-nav.barun-data, .post-view-data-nav {
  background: url('/images/sub-visual/sub_visual_nav_저서및자료.jpg') no-repeat center/cover;
  background-size: 160%;
}

/* 연구회, 상세페이지 */
#visual-nav.group, .post-view-group-nav {
  background: url('/images/sub-visual/sub_visual_nav_연구회.jpg') no-repeat center/cover;
  background-position-y: 80%;
}

/* 강좌, 상세페이지 */
#visual-nav.lecture, .post-view-lecture-nav {
  background: url('/images/sub-visual/sub_visual_nav_강좌.jpg') no-repeat center/cover;
  background-position-y: 60%;
  background-size: 120%;
}

/* 연구자료, 상세페이지 */
#visual-nav.data, .post-view-academy-data-nav {
  background: url('/images/sub-visual/sub_visual_nav_연구자료.jpg') no-repeat center/cover;
  background-position-y: 45%;
}

/* 사회공헌소식, 상세페이지 */
#visual-nav.outreach-news-nav, .post-view-outreach-nav {
  background: url('/images/sub-visual/sub_visual_nav_사회공헌소식.jpg') no-repeat center/cover;
}

/* 사회공헌활동 */
#visual-nav.activity-nav {
  background: url('/images/sub-visual/sub_visual_nav_사회공헌활동.jpg') no-repeat center/cover;
}

/* 구성원 */
#visual-nav.member-nav {
  background: url('/images/member/member-bg.jpg') no-repeat center/cover;
}

/* 면책공고 */
#visual-nav.disclaim-nav {
  background: url('/images/guidance/sub_visual_bg_disclaim.jpg') no-repeat center/cover;
}

/* 사이트맵 */
#visual-nav.sitemap-nav {
  background: url('/images/guidance/sub_visual_bg_sitemap.jpg') no-repeat center/cover;
}

/* 문의하기 */
#visual-nav.apply-nav {
  background: url('/images/sub_visual_bg_apply.jpg') no-repeat center/cover;
}

/* 채용안내 */
#visual-nav.recruit-guide-nav {
  background: url('/images/sub-visual/sub_visual_nav_채용안내.jpg') no-repeat center/cover;
}

/* 채용접수 */
#visual-nav.accept-nav {
  background: url('/images/sub-visual/sub_visual_nav_채용접수.jpg') no-repeat center/cover;
}

/* 채용게시판, 상세페이지 */
#visual-nav.recruit-notice-nav, .post-view-recruit-nav {
  background: url('/images/sub-visual/sub_visual_nav_채용게시판.jpg') no-repeat center/cover;
  background-position-y: 55%;
}

/* 검색 */
#visual-nav.search-nav {
  background: url('/images/search/sub_visual_bg_search.jpg') no-repeat center/cover;
}

/* -- 글 상세페이지 post view -- */
/* #visual-nav.post-view-nav {
  background: url('/images/barunnews/post-view-sub-visual-bg.png') no-repeat center/cover;
} */


/* ---------------------------------------------- */
#visual-nav {
  padding: 0 1rem ;
  position: relative;
  height:clamp(380px, 51vw, 710px);
}

#visual-nav:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#visual-nav>* {
  position: relative;
  z-index: 2;
}

#visual-nav .sub-visual-bg .visual-tit,
#visual-nav .sub-visual-bg .bc-item,
#visual-nav .sub-visual-bg .sub-tit a  {
  color: #fff;
}

#visual-nav .sub-visual-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 15%;
}

#visual-nav .breadcrumb-wrap,
#visual-nav .sub-nav {
  display: flex;
}

#visual-nav .breadcrumb-wrap {
  align-items: center;
}
#visual-nav .breadcrumb-wrap .bc-home img {width:1.3rem;}
.breadcrumb-wrap li {
  display: flex;
  gap:0.5rem;
  align-items: center;
}
.breadcrumb-wrap li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 1px;
  background-color: #fff;
  margin: 0 12px;
  vertical-align: middle;
}

#visual-nav .sub-nav {
  gap: 45px;
  align-items: flex-end;
}

#visual-nav .visual-tit {
  margin: 20px 0 60px 0;
}

#visual-nav .sub-nav .sub-tit {
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

#visual-nav .sub-nav .sub-tit.active,
#visual-nav .sub-nav .sub-tit:hover {
  border-bottom: 2px solid #fff;
}

/* -- sub visual 임시 적용 -- */
#visual-nav .sub-nav .sub-tit.hero-desc {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
}

/* #visual-nav .sub-nav .sub-tit {
  position: relative;
  padding-bottom: 4px;
}


#visual-nav .sub-nav .sub-tit::after {
  border-bottom: none;
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.2s;
}

#visual-nav .sub-nav .sub-tit.active::after,
#visual-nav .sub-nav .sub-tit:hover::after {
  opacity: 1;
} */




@media (max-width: 1200px) {

  #visual-nav .visual-tit.hero-title,
  .info-traffic .hero-title {
    font-size: 3rem;
  }

}

@media (max-width: 991px) {
#visual-nav.post-view-nav .list-btn a {font-size: 1.25rem;}
  #visual-nav .visual-tit {
    margin: 20px 0 40px 0;
  }

  #visual-nav .sub-nav .sub-tit.hero-desc {
    font-size: 1.25rem;
  }

}

@media (max-width: 768px) {

  #visual-nav .visual-tit.hero-title,
  .info-traffic .hero-title {
    font-size: 2.75rem;
  }

  #visual-nav .sub-nav {
    gap: normal;
    justify-content: space-between;
  }

}

@media (max-width: 576px) {
  #visual-nav {padding:0;}
  #visual-nav .sub-visual-bg {
    padding-top:0;
    justify-content: flex-end;
  }
  #visual-nav .breadcrumb-wrap,
  #visual-nav .visual-tit {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #visual-nav .visual-tit.hero-title,
  .info-traffic .hero-title {
    font-size: 2.25rem;
  }

  #visual-nav .visual-tit {
    margin: 20px 0 30px 0;
  }

  #visual-nav .sub-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
  }

  #visual-nav .sub-nav .sub-tit {
    padding: 18px 26px 16px 26px;
  }

  #visual-nav .sub-nav .sub-tit.active {
    padding-bottom: 13px;
  }

  #visual-nav .sub-nav::-webkit-scrollbar {
    display: none !important;
  }

  #visual-nav .sub-nav .sub-tit {
    flex-shrink: 0;
  }

  #visual-nav .sub-nav .sub-tit:first-child {
    padding-left: 1rem;
  }

  #visual-nav .sub-nav .sub-tit.active,
  #visual-nav .sub-nav .sub-tit:hover {
    border-bottom: none;
    font-weight: 600;
  }

  #visual-nav .sub-nav .sub-tit.active {
    border-bottom: 3px solid #fff;
  }

}

/* -- 글 상세페이지 visual nav(post view) -- */
#visual-nav.post-view-nav .post-tit {
  margin: 3.75rem 0 1.5rem 0;
}

#visual-nav.post-view-nav .list-btn a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

#visual-nav.post-view-nav .list-btn a::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  background: url('/images/i-back-arrow-btn.svg') no-repeat center / contain;
}

#visual-nav.post-view-nav ul.page-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#visual-nav.post-view-nav .page-info .info-divider {
  background: #fff;
  width: 2px;
  height: 18px;
}

@media (max-width: 991px) {

  #visual-nav.post-view-nav ul.page-info {
    gap: 0.75rem;
  }

  #visual-nav.post-view-nav ul.page-info li {
    font-size: 1.25rem;
  }

  #visual-nav.post-view-nav .page-info .info-divider {
    height: 12px;
  }

}

@media (max-width: 576px) {

  #visual-nav.post-view-nav {
    padding-left: 1rem;
    padding-right: 1rem;
    height: clamp(400px, 51vw, 710px);
  }

  #visual-nav.post-view-nav .sub-visual-bg {
    padding-top: 15%;
    padding-bottom: 8%;
  }

  #visual-nav.post-view-nav .post-tit {
    margin: 8rem 0 1.25rem 0;
  }

  #visual-nav.post-view-nav .post-tit {
    font-size: 2.25rem;
  }

}
/* ========== top button ========== */
#top-btn {position:fixed; bottom:3%; right:1%; text-indent:0; line-height: 0; font-weight:bold;width: 3.25rem !important;
    height: 3.25rem !important;}
#top-btn span {transform: rotate(-90deg);}
#top-btn:after {
  z-index: -1;
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: absolute;
    border-radius: var(--radius);
}
#top-btn:hover:after {
  opacity: 0;
}
/* ========== top button end ========== */


/* ========== FOOTER ========== */

/* === 모바일 (기본, 375px~) === */

.footer {
  background: var(--bg);
  padding: 2.5rem 1rem;
}
.footer-top {display: flex; flex-direction: column;}
.footer-logo {
  max-width: 140px;
  width: auto;
  margin-bottom: 2.5rem;
}

/* 메뉴 - 모바일에서 숨김 */
.footer-nav {
  display: none;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
}

.footer-menu a {
  color: var(--bodytext);
  transition: color 0.2s;
  font-size: 1.13rem;
}

.footer-menu a:hover {
  color: var(--primary);
}

/* SNS */
.footer-sns {
  margin-top:1rem;
  display: flex;
  gap: 1.75rem;
}

.footer-sns .icon-24 {
  background: var(--gray);
}
.footer-sns .icon-blog:hover {
  background: #34b34a;
}
.footer-sns .icon-youtube:hover {
  background: #fc0602;
}
.footer-sns .icon-kakao:hover {
  background: #3b1e1e;
}
.footer-sns .icon-linkedin:hover {
  background: #058ac4;
}

/* Copyright & Links */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-copyright {
  color: var(--gray2);
}

.footer-ads {
  color: var(--gray2);
}

.footer-ads span {
  font-weight: 700;
}


/* === 태블릿 (768px~) === */
@media (min-width: 768px) {
  .footer-logo {
    max-width: 243px;
  }
  .footer-sns {margin-bottom:1rem;}

  .footer-nav {
    display: block;
  }

  .footer-info {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding-right:4rem;
    }

}

@media (min-width: 922px) {
  .footer-top {flex-direction:row;    justify-content: space-between; padding-right:4rem;}

}

/* === 일반 PC 헤더 (1200px~) === */
@media (min-width: 1200px) {
.footer-container {padding: 0;}
}

/* === 큰 PC  (1400px~) === */
@media (min-width: 1400px) {
.footer-container {padding: 0 3rem;}

}