@charset "utf-8";

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --primary: #1b4965;
  --primary-soft: #dbeafe;
  --primary-deep: #1d4ed8;
  --accent: #059669;
  --accent-soft: #d1fae5;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --container: 1280px;
}

/* 뱃지 스타일 */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.badge-blue {background: var(--primary-soft); color: var(--primary-deep);}
.badge-green {background: var(--accent-soft); color: var(--accent);}
.badge-yellow {background: var(--warning-soft); color: #b45309;}
.badge-red {background: #fee2e2; color: #dc2626;}
.badge-violet {background: #ede9fe; color: #7c3aed;}

/* 버튼 스타일 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 23px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}
.btn-secondary {background: #fff; color: #0f172a; border-color: var(--line);}

/* 기본 카드 스타일 */
.card,
.file-card,
.status-card,
.form-card,
.mini-card,
.type-card, 
.step-card,
.guide-card,
.check-card,
.support-card,
.board-card,
.qa-card,
.edu-card,
.case-card,
.download-card,
.map-card,
.shortcut-card,
.section-group,
.schedule-card,
.stat-card,
.banner-card{    
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.card h3,
.mini-card h3,
.type-card h3,
.step-card h3,
.file-card h3,
.status-card h3,
.form-card h3,
.guide-card h3,
.check-card h3,
.support-card h3,
.board-card h3,
.faq-card h3,
.qa-card h3,
.edu-card h3,
.case-card h3,
.download-card h3,
.schedule-card h3,
.stat-card h3,
.banner-card h3,
.sbi-wrap h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: #0f172a;
  font-weight: 500;
}
.card p,
.mini-card p,
.type-card p,
.bullet-list li,
.stat-desc,
.tag-list span,
.step-card p,
.file-card p,
.status-card p,
.form-card p,
.check-list li,
.table td,
.table th,
.status-meta,
.field-help,
.guide-card p,
.check-card p,
.support-card p,
.board-card p,
.faq-card p,
.qa-card p,
.edu-card p,
.case-card p,
.download-card p,
.faq-item p,
.board-meta,
.download-meta{
  color: #475569;
  font-size: 15px;
}


/* 전체 공통 */
.wrap { min-height: 100vh;}
.topbar-inner,
.header-inner,
.hero-inner,
.section-inner,
.content-inner,
.footer-inner,
.quick-box {
  max-width: var(--container);
  margin: 0 auto;
  /* padding-left: 24px; */
  /* padding-right: 24px; */
}

/* 탑바 */
.topbar {background: #043763; color: #fff; font-size: 13px;}
.topbar-inner {height: 40px; display: flex; align-items: center; /* justify-content: space-between; */ gap: 10px;}
.topbar-inner > div + div{position: relative; padding-left: 11px;}
.topbar-inner > div + div::before{content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 12px; margin-top: -6px; background-color: rgba(255, 255, 255, 0.3);}

/* 헤더 */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  /* border-bottom: 1px solid rgba(229, 231, 235, 0.9); */
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;  
  font-weight: 800;
  font-size: 22px;
  color: #0f172a;
  white-space: nowrap;
  height: 31px;
  padding-left: 116px;
  background: url(../img/top_logo.png) no-repeat 0 0;
}
.brand > span{display: block; position: relative; padding-left: 14px; margin-left: 13px; font-family: 'NanumSquareNeo', sans-serif; font-size: 20px; font-weight: 800; color: #072a49;}
.brand > span::before{content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 20px; margin-top: -10px; background-color: #dddddd;}
.brand > span.logo2{width: 141px; height: 26px; background: url(../img/top_logo2.png) no-repeat left center; background-size: auto 26px;}
.brand > span.logo2::before{left: -14px;}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.sun-icon::before {
  content: "\2600";
  color: #ffffff;
  line-height: 1;
}
.gnb {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gnb a {
  /* padding: 10px 14px; */
  border-radius: 999px;
  color: #334155;
  font-size: 18px;
  font-weight: 500;
  transition: 0.2s ease;
}
.gnb a:hover, .gnb a.active {color: #0c50a5; font-weight: 600;}
.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex: 0 0 auto;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
}
.icon svg,
.quick-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sitemap-button{display: block; width: 32px; height: 32px; background: url(../img/sitemap.png) no-repeat center;}

/* 푸터 */
.footer {background: #f8f8f8;}
.footer-inner {color: var(--muted); font-size: 14px;}
.policy{padding: 12px 0;border-bottom: 1px solid #e9e9e9;}
.policy_list{display: flex; align-items: center; gap: 11px; padding: 0; list-style: none;}
.policy_list > li{font-size: 14px;}
.policy_list > li + li{position: relative; padding-left: 12px;}
.policy_list > li + li::before{content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 12px; margin-top: -6px; background-color: rgba(0, 0, 0, 0.1);}
.policy_list > li > a{color: #9a9a9a;}
.footer_address_wrap{display: flex;/* align-items: center; */flex-direction: column;gap: 8px;padding: 32px 0;}
.bottom_logo{/* height: 31px; */}
.bottom_logo > span{display: block;position: relative;width: 320px;padding-left: 14px;font-family: 'NanumSquareNeo', sans-serif;font-size: 20px;font-weight: 800;color: #a8a8a8;padding-left: 144px;background: url(../img/bottom_logo.png) no-repeat 0 0;}
.bottom_logo > span::before{content: '';position: absolute;top: 50%;left: 132px;width: 1px;height: 20px;margin-top: -10px;background-color: #d8d8d8;}
.bottom_logo > span.logo2{width: 141px;height: 26px;padding-left: 0;margin-left: 0;margin-top: 8px;background: url(../img/bottom_logo2.png) no-repeat left center;background-size: auto 26px;}
.bottom_logo > span.logo2::before{display: none;}
.footer_list{list-style: none; padding: 0;}
.footer_list > li{font-size: 14px;color: #9a9a9a;}
.footer_list > li.address{position: relative; padding-left: 120px;}
.footer_list > li.address > b{position: absolute; top: 0; left: 0; font-weight: 400; color: #636363;}
.address_wrap1, .address_wrap2{display: flex; gap: 10px; align-items: center;}
.bottom_logo2{width: 320px;height: 26px;background: url(../img/bottom_logo2.png) no-repeat left center;background-size: auto 26px;}
.copyright{font-size: 14px;color: #9a9a9a;padding-left: 330px;}

/* 서브페이지 공통 */
/* 서브 히어로 영역 */
.sub-contents > .hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(250, 204, 21, 0.20), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(29, 78, 216, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border-bottom: 1px solid var(--line);
}
.sub-contents > .hero > .hero-inner {display: flex;align-items: center;padding: 56px 0;}
.hero p.sub-hero-desc{position: relative; padding-left: 60px; margin: 0 0 0 20px;font-size: 16px;line-height: 1.5;color: rgba(255,255,255,0.9);font-weight: 300;}
.hero p.sub-hero-desc::before{content: ''; position: absolute; top: 50%; left: 0; width: 40px; height: 1px; margin-top: -0.5px; background-color: #fff;}
.sub-contents > .hero > .hero-inner > .breadcrumb{margin-left: auto;}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 300;
}
.breadcrumb > span.home > a{display: block; width: 16px; height: 16px; background: url(../img/breadcrum-home.png) no-repeat center;}
.breadcrumb > span + span{position: relative; padding-left: 24px;}
.breadcrumb > span + span::before{content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; background: url(../img/breadcrum-arrow.png) no-repeat center;}
.sub-contents .hero h1 {
  margin: 0;
  font-family: 'NanumSquareNeo', sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 16px 0 0;
  max-width: 860px;
  font-size: 18px;
  color: #475569;
}

/* 서브 콘텐츠 영역 */
.content-inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 56px;
}

/* 서브 콘텐츠 영역 - 사이드바 */
.sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-title-wrap{padding: 16px 22px;}
.side-title {    
  font-family: 'NanumSquareNeo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.side-sub-title{font-family: 'NanumSquareNeo', sans-serif; font-size: 12px; line-height: 1;  
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 4px;}
.lnb { padding: 10px; }
.lnb a {
  display: flex;
  align-items: center;
  /* height: 50px; */
  padding: 12px 16px;
  border-radius: 6px;
  color: #334155;
  font-weight: 300;
  transition: 0.2s ease;
}
.lnb a + a{margin-top: 6px;}
.lnb a:hover,
.lnb a.active {
  background: #ebf4f9;
  color: #5fa8d3;
  font-weight: 500;
}

/* 서브 콘텐츠 영역 - 콘텐츠 */
.page {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sub-contents .section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 110px;
}
.section-header {
  padding: 16px 24px 0;
  /* border-bottom: 1px solid #f7f7f7;*/
  /* background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); */
}
.section-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.section-sub-title{font-size: 15px;
  line-height: 1.6;
  margin-top: 16px;
  color: #636f7f;}
.section-desc {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--muted);
}
.section-body {display: flex; flex-direction: column; padding: 24px;}
.sub-contents .section .card, .sub-contents .section .mini-card{border-radius: 10px;}

/*게시글 목록 아래 페이지네이션*/
.pagination_wr{
	margin: 15px 0 0;
	padding-bottom: 20px;
}
.pagination {padding: 0; list-style: none; text-align: center;}
.pagination li {display: inline-block; vertical-align: top;}
.pagination li.page_on a{background-color: #043763;border: 1px solid #272c3a;color:#fff;border-radius: 5px;}
.pagination li a {border: 1px solid #ddd;border-radius: 5px;background-color: #fff;text-decoration: none;color: #747474;width: 30px;height: 30px;display: block;padding: 6px;font-size: 14px;line-height: 1;}
.pagination li a img {vertical-align: top; height: 14px; width: 14px;}
