@charset "utf-8";
/* ===== reset ===== */

/* 박스 모델 초기화 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}


/* 기본 타이포 초기화 */
html, body {
  /* overflow-x: hidden; */
  overflow-x: clip;
  font-family: "SUIT", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--ink);
}
body{
  -webkit-font-smoothing: antialiased; /* macOS/iOS 렌더링 문제 해결 */
  -moz-osx-font-smoothing: grayscale; /* Firefox 렌더링 문제 해결 */
    
    /* 텍스트 렌더링을 속도/모양 대신 가독성 최적화로 설정 */
  text-rendering: optimizeLegibility; 
  background-color: var(--bg-gray);
  position: relative;
}
body.gnb-lock{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* 링크 초기화 */
a {
  color: inherit;
  text-decoration: none;
}

/* 리스트 초기화 */
ul, ol {
  list-style: none;
}

/* 테이블 초기화 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 이미지 초기화 */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 폼 요소 초기화 */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* 버튼 기본 스타일 제거 */
button {
  cursor: pointer;
  background: transparent;
}

/* 키보드 포커스 표시(웹 접근성): 모든 배경에서 보이도록 안쪽 흰색 + 바깥 어두운 선의 이중 링.
   box-shadow 는 둥근 모서리를 그대로 따라가므로 알약(pill) 버튼에서도 모양이 깨지지 않는다. */
:focus-visible {
  outline: 3px solid #0d1723;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* 카드/탭 등 overflow:hidden 컨테이너 안의 포커스 링: 바깥으로 그리면 잘리므로 카드 전체에 링을 그린다 */
.notice-card:has(:focus-visible) {
  outline: 3px solid #0d1723;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
  position: relative;
  z-index: 3;
}
.notice-card :focus-visible {
  outline: none;
  box-shadow: none;
}
/* 잘리는 영역(탭·표·아코디언·아바타 등)은 링을 안쪽으로 그린다 */
.tab-nav a:focus-visible,
.tab-scroll :focus-visible,
.tbl-pager a:focus-visible,
.accordion-item :focus-visible,
.member-avatar:focus-visible,
.orb-card:focus-visible,
.media-card:focus-visible,
.stack-item:focus-visible,
.tab-arrow-btn:focus-visible {
  outline-offset: -3px;
  box-shadow: inset 0 0 0 5px #fff;
}
/* 본문 바로가기: 평소에는 화면 밖, 키보드 포커스가 오면 좌측 상단에 표시 */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 14px 22px;
  border-radius: 8px;
  background: #0d1723;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
#renewMain:focus {
  outline: none;
  box-shadow: none;
}

/* 기본 heading 간격 제거 */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

/* strong, em 초기화 */
strong, em {
  font-weight: normal;
  font-style: normal;
}

.mobile{display: none!important;}
.pc{display: block!important;}

/* ===== font face ===== */

@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-Thin.woff2') format('woff2'),
       url('../font/SUIT-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-Light.woff2') format('woff2'),
       url('../font/SUIT-Light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-ExtraLight.woff2') format('woff2'),
       url('../font/SUIT-ExtraLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-Regular.woff2') format('woff2'),
       url('../font/SUIT-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-Medium.woff2') format('woff2'),
       url('../font/SUIT-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-SemiBold.woff2') format('woff2'),
       url('../font/SUIT-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-Bold.woff2') format('woff2'),
       url('../font/SUIT-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-ExtraBold.woff2') format('woff2'),
       url('../font/SUIT-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'SUIT';
  src: url('../font/SUIT-Heavy.woff2') format('woff2'),
       url('../font/SUIT-Heavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ===== root 변수 ===== */
  :root{
    --btn-blue:#0166fe;
    --blue-900:#0b1e4a;
    --blue-800:#122a63;
    --blue-700:#1a3a82;
    --blue-600:#2451c4;
    --blue-500:#3b6bf0;
    --blue-100:#eaf0ff;
    --ink:#0d1723;
    --gray-700:#4b4f5c;
    --gray-500:#767b8a;
    --gray-300:#d8dbe3;
    --gray-100:#f4f5f8;

    --bg-gray:#eff1f4;
    --card-padding:30px 20px 20px;
    --radius-20:20px;
    --radius-15:15px;
    --radius-10:10px;
    --radius-8:8px;
    --radius-6:6px;

    --fs-90: 90px;
    --fs-48: 48px;
    --fs-40: 40px;
    --fs-30: 30px;
    --fs-24: 24px;
    --fs-20: 20px;
    --fs-18: 18px;
    --fs-16: 16px;
    --fs-14: 14px;
    --fs-12: 12px;
    --fs-11: 11px;
    --fs-10: 10px;

    --ring-base: clamp(160px, 16.6vw, 320px);  /* 가장 안쪽 링 반지름 */
    --ring-step: clamp(90px, 7.3vw, 140px);   /* 링 사이 간격, 이것도 반응형 */

  }

/* ===== top 버튼 ===== */
.top-btn{position: fixed; bottom: 20px; right: 20px; z-index:2;width: 50px; aspect-ratio: 1; border-radius: 50px; background-color: rgba(13, 23, 35, .5); border: 1px solid rgba(255, 255, 255, .3); display: flex; justify-content: center; align-items: center; text-indent: -9999px;}
/* 처음엔 숨김 → 스크롤하면 common.js 가 .is-show 를 붙여 서서히 노출 */
.top-btn{opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s;}
.top-btn.is-show{opacity: 1; visibility: visible; transform: none;}
.top-btn a{display: flex; justify-content: center; align-items: center; width: 100%; height: 100%;}
.top-btn a::before{content:''; width: 12px; height: 15px; background: url('/doc/images/common/arrow_top_icon.webp') no-repeat center / 100% auto;}

/* ===== 페이지네이션 ===== */
.pagination{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
}

.pagination a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-indent: -9999px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: rgba(13, 23, 35, 0.1);
}
.pagination a.active{
    background-color: rgba(13, 23, 35, 1);
}
.pagination a::before{
    content: '';
    width: 8px;
    height: 12px;
}
.pagination a.pagenation-prev::before{
    background: url('/doc/images/common/carousel_arrow_prev_white.webp') no-repeat center / 100% auto;
}

.pagination a.pagenation-next::before{
    background: url('/doc/images/common/carousel_arrow_next_white.webp') no-repeat center / 100% auto;
}
.pagination-current{
    font-size: var(--fs-18);
    font-weight: 400;
}
.pagination-current strong{
    font-weight: 700;
}


@media (max-width: 1280px) {
  :root {
    --fs-90: 60px;
    --fs-48: 36px;
    --fs-40: 32px;
    --fs-30: 24px;
    --fs-24: 20px;
    --fs-20: 18px;
    --fs-18: 16px;
    --fs-16: 15px;
    --fs-14: 14px;
    --fs-12: 11px;
    --fs-11: 10px;
    --fs-10: 9px;
  }
}

@media (max-width: 1180px){
  :root{
    --card-padding:20px 10px 10px;
    --radius-20:12px;
    --radius-15:10px;
    --radius-10:6px;
    --radius-8:5px;
    --radius-6:4px;
  }
}

@media (max-width:1024px){
  .pagination{
    gap: 35px;
  }
  .pagination a{
    width: 40px;
    height: 40px;
    border-radius: 40px;

  }
  .pagination a::before{
    width: 6px;
    height: 10px;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-90: 40px;
    --fs-48: 24px;
    --fs-40: 24px;
    --fs-30: 20px;
    --fs-24: 18px;
    --fs-20: 16px;
    --fs-18: 15px;
    --fs-16: 14px;
    --fs-14: 13px;
    --fs-12: 11px;
    --fs-11: 10px;
    --fs-10: 9px;
  }

  .top-btn{
    width: 40px;
    height: 40px;
    border-radius: 40px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: 10px;
  }
  .top-btn a::before{width: 8px; height: 11px;}

  .mobile{display: block!important;}
  .pc{display: none!important;}

  .pagination{
    gap: 20px;
  }
  .pagination-current{
    font-size: 14px;
  }
}