@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;600;700;800&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

@font-face {
  font-family: "SCDream";
  src: url("fonts/SCDream1.woff") format('woff');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "SCDream";
  src: url("fonts/SCDream3.woff") format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "SCDream";
  src: url("fonts/SCDream6.woff") format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "SCDream";
  src: url("fonts/SCDream7.woff") format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "SCDream";
  src: url("fonts/SCDream8.woff") format('woff');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("fonts/SourceSansPro-Light.woff") format('woff');
  font-weight:300;
  font-style: normal;
}

:root {
  --gs-accent: #01c893;
  --gs-accent-rgb: 1, 200, 152;
  /* 사용 예
  .some-class {
  background-color: rgba(var(--gs-accent-rgb), 0.2); */
  --gs-hover: #ffc000;
  --gs-hover-rgb: 255, 192, 0; 
  /* 
  --gs-hover: #ffae6f;
  --gs-hover-rgb: 173, 18, 246;   opacity 쓸 때 유용 (예: #ad12f670) */
  --gs-body-bg: #222222;          /* 다크 테마 기본 배경색 (theme-dark.scss $body-bg와 동일) */
  --gs-body-bg-rgb: 255, 255, 255;   /* opacity 쓸 때 유용 */
  --gs-navbar-bg: #2b2b2b;        /* 메뉴/패널 배경색 (theme-dark.scss $navbar-bg와 동일) */
  --gs-accent-logo: var(--gs-accent);   /* 로고 SVG accent */
  --gs-accent-svg: var(--gs-accent);    /* 솔루션 다이어그램 SVG accent */
  --gs-white: #efefef;

  /* Bootstrap $link-color 오버라이드 — SCSS 컴파일 값 무시, --gs-accent로 통일 */
  --bs-link-color: var(--gs-accent);
  --bs-link-hover-color: var(--gs-hover);
  --bs-link-color-rgb: var(--gs-accent-rgb);

  /* ── Font-Size 팔레트 (9종) ── */
  --fs-h1: 2rem;        /* 32px — h1, 히어로 제목 */
  --fs-h2: 1.3rem;      /* 20.8px — h2 */
  --fs-h3: 1.15rem;     /* 18.4px — h3 */
  --fs-h4: 1.05rem;     /* 16.8px — h4 */
  --fs-h5: 0.95rem;     /* 15.2px — h5 */
  --fs-base: 1rem;      /* 16px — 기본 (lead, 설명, 아이콘) */
  --fs-body: 0.875rem;  /* 14px — 본문, h6, 네비 링크 */
  --fs-caption: 0.85rem;/* 13.6px — 캡션, 코드, 사이드바 */
  --fs-aux: 0.825rem;   /* 13.2px — 브레드크럼, 드롭다운, 카드, 메타 */
  --fs-small: 0.75rem;  /* 12.xpx - footer

  /* ── Text Color 팔레트 (5종) ── */
  --clr-title: #ffffff;   /* 15.5:1 — h1, 버튼 텍스트 */
  --clr-heading: #dedede; /* 12.0:1 — h2~h5, 카드 제목 */
  --clr-sub: #b0b0b0;     /* 6.3:1  — 부제목, .lead */
  --clr-body: #c0c0c0;    /* 8.0:1  — 본문(p, li), 표, 카드 내용 */
  --clr-desc: #959595;    /* 4.5:1  — description, 캡션, 보조 텍스트 */
  --clr-deep: #5a5a5a;    /* 2.6:1  — 영문 보조설명, 장식 텍스트 */

  /* ── Background Color ── */
  --bg-code: #282828;     /* 코드 블록 배경 */
}


html {
  font-family: 'Noto Sans KR', sans-serif;
}

body {
  font-family: 'Noto Sans KR', var(--bs-body-font-family), sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--clr-body);
  line-height: 1.6;
}

h1 {
  font-family: 'Montserrat', 'SCDream', var(--bs-body-font-family), sans-serif;
  font-weight: 700;    
}

h1 {
  color: var(--clr-title);
}

h2 {
  font-family: 'Montserrat', 'SCDream', var(--bs-body-font-family), sans-serif;
} 

h3, h4, h5 {
  font-family: 'Source Sans Pro', 'SCDream', var(--bs-body-font-family), sans-serif;
  color: var(--clr-heading);
}

h6 {
  font-family: 'Source Sans Pro', 'SCDream', var(--bs-body-font-family), sans-serif;
  font-weight: 400;
  color: var(--clr-heading);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

h5 {
  font-size: var(--fs-h5);
}

h6 {
  font-size: var(--fs-body);
}

a {
  font-weight: 400;
  text-decoration: none;
}
a.link-underline,
.link-underline a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

b, strong {
  font-weight: 700;
}

.lead{
  font-family: 'Source Sans Pro', 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-base);
  color: var(--clr-sub);
}

.lead-small{
  font-family: 'Source Sans Pro', 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-caption);
  color: var(--clr-sub);
}
/* unvisited / visited link */
a:link, a:visited {
  color: var(--gs-accent);
}

.txt-white {
  color: #fff;
}
a.txt-white {
  color: #fff;
}

.txt-accent {
  color: var(--gs-accent);
}
a.txt-accent {
  color: var(--gs-accent);
}
/* mouse over link */
a:hover {
  color: var(--gs-hover);
  text-decoration: none;
}

/* selected link */
a:active {
  color: var(--gs-accent);
  text-decoration: none;
}
/* table border color */

tbody, tr, th {
  border-bottom: 0px solid #b1b1b1;
  border-top: 0px solid #5a5a5a;
}
tr.odd, tr.even {
  border-bottom: 1px solid #5a5a5a;
  border-top: 0px solid #5a5a5a;
}
.table>:not(:first-child) {
  border-top: 0px solid #b1b1b1;
}
.table>:not(caption)>*:not(:last-child)>* {
  border-bottom-color: #5a5a5a;
}

pre {
  border: 1px solid #3b3b3b;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 30px;
}

pre code{
  color: var(--clr-body);
}

div.sourceCode {
  background-color: var(--bg-code) !important;
}

code {
  font-size: var(--fs-caption) !important;
}

p code:not(.sourceCode), li code:not(.sourceCode), td code:not(.sourceCode) {
  /* background-color: rgba(var(--gs-accent-rgb), 0.3); */
  background-color: rgba(var(--gs-body-bg-rgb), 0.15);
  padding: 2px 8px;
  color: var(--gs-hover);
  /* font-style: italic; */
  font-family:'Courier New', Courier, monospace;
}

img.border, img.img-fluid {
  border: 2px solid #3b3b3b !important;
  padding: 0px;
  border-radius: 8px;
}

figcaption {
  font-family: 'SCDream', 'Noto Sans KR', sans-serif;
  font-weight: 300;
  font-size: var(--fs-aux);
  color: var(--clr-desc);
  text-align: center !important;
  margin-top: 0px;
}

table caption {
  font-family: 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-aux);
  color: var(--clr-desc);
  text-align: left;
}

.callout img.img-fluid {
  border: 0px solid #3b3b3b !important;
  margin-right: 10px;
}

.leaflet-container .leaflet-control-attribution {
  background-color: #242424 !important;
  color: var(--clr-sub) !important;
}
.quarto-title-banner {
  color: var(--clr-heading);
}

.quarto-title-block .quarto-title-banner {
  background: var(--gs-navbar-bg);
}

.quarto-title-banner .quarto-title.column-page {
  grid-column: body-content-start / body-content-end;
}

.level1 {
  font-family: 'Montserrat', 'SCDream', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: var(--fs-h1);
  color: var(--clr-title);
  margin-bottom: 0.5rem;
}

.headline {
  font-family: 'Source Sans Pro', 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--clr-heading);
}
.headline h1 {
  color: var(--clr-title);
}

.headline p {
  margin: 0;
  padding-bottom: 0.2rem;
}

.headline a {
  text-decoration: none;
} 

.headline ul li {
  margin-bottom: 0.3em;
}


#title-block-header.quarto-title-block.default .description,
#title-block-header.quarto-title-block.default .description > p {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--clr-heading);
}

/* 솔루션/케이스스터디 페이지 상단 중앙정렬 (.champ-lead가 있는 페이지만) */
main:has(.champ-lead) #title-block-header {
  text-align: center;
}

main:has(.champ-lead) #title-block-header .quarto-categories {
  justify-content: center;
}

main:has(.champ-lead) #title-block-header .description {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.champ-title-logo {
  display: block;
  max-width: 225px;
  max-height: 63px;
  height: auto;
  margin: 0 auto 20px;
  padding-bottom: 20px;
  border: none !important;
  border-bottom: 1px solid #3e3e3e !important;
  width: 400px;
}

.nav-link{
  padding: 0.5rem 0rem;
}

.navbar-nav .nav-link {
  font-size: var(--fs-body);
  color: var(--clr-sub);
}

[data-bs-theme="dark"] .navbar-nav .nav-link:hover,
[data-bs-theme="dark"] .navbar-nav .nav-link:focus {
  color: var(--gs-hover);
}

[data-bs-theme="dark"] .navbar-nav .show>.nav-link,
[data-bs-theme="dark"] .navbar-nav .active>.nav-link,
[data-bs-theme="dark"] .navbar-nav .nav-link.active,
[data-bs-theme="dark"] .navbar-nav .nav-link.show,
[data-bs-theme="dark"] .nav-item .nav-link.active {
  color: var(--gs-accent) !important;
  font-weight: 700 !important;
}

/* dropdown link accent — SCSS $link-color는 var() 불가, CSS override로 처리 */
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: color-mix(in srgb, var(--gs-accent) 40%, transparent);
  color: #fff;
}
.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--gs-accent);
  color: #fff;
}
.dropdown-item .dropdown-text{
  color: var(--clr-body);
}
.navbar-nav .dropdown-menu {
  min-width: 220px;
  font-size: var(--fs-aux);
}
.dropdown-menu {
  padding: 0.3rem 0;
  margin: 0;
}

.logo-subtitle {
  display: flex;           /* 한 줄 정렬 */
  align-items: center;     /* 이미지와 텍스트 세로 중앙 정렬 */
  gap: 1rem;             /* 둘 사이 간격 */
  margin-bottom: 0px;        /* 위/아래 기본 마진 제거해서 간격 미세 조정 */
  flex-wrap: nowrap;
}

.logo-subtitle img {
  flex: 0 0 auto;         /* 크기 고정 */
  margin-top: -22px;         /* 여기서 위/아래 이동 (조절 포인트) */
  margin-bottom: 0px;
}


.logo-subtitle p {
  flex: 1 1 auto;         /* 나머지 공간을 텍스트가 가져감 */
  min-width: 0;           /* 내용 때문에 줄 강제분리되는 것 방지 */
  white-space: nowrap;       /* 줄바꿈 금지 */
  overflow: hidden;
  text-overflow: ellipsis;   /* 잘리면 ... 처리 */
  margin: 0;
}

.quarto-title-breadcrumbs .breadcrumb {
  padding: 10px 0 20px 5px;
  background-color: transparent !important;
  font-family: 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-aux);
}
.quarto-title-breadcrumbs .breadcrumb::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -2px;
  background-color: var(--gs-accent-logo, #00ccac);
  -webkit-mask: url('images/goodstream/goodstream_symbol_filled.svg') no-repeat center/contain;
  mask: url('images/goodstream/goodstream_symbol_filled.svg') no-repeat center/contain;
  opacity: 0.6;
}

.quarto-title-breadcrumbs .breadcrumb li:last-of-type::before {
  color: var(--clr-desc);
}
.quarto-title-breadcrumbs .breadcrumb li:last-of-type a {
  color: var(--clr-desc);
}

/* --- 모바일/태블릿 secondary-nav breadcrumb (<992px에서 표시) --- */
.quarto-secondary-nav {
  border-bottom: none !important;
  padding-left: 0 !important;
}
.quarto-secondary-nav .container-fluid {
  padding-left: 0 !important;
}
.quarto-secondary-nav .quarto-btn-toggle {
  width: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
  padding-right: 0;
}
.quarto-secondary-nav .quarto-page-breadcrumbs {
  margin-left: 0 !important;
}
.quarto-secondary-nav .quarto-page-breadcrumbs .breadcrumb {
  background-color: transparent !important;
  align-items: center;
  padding-left: 0;
  font-family: 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-aux);
}
.quarto-secondary-nav .quarto-page-breadcrumbs .breadcrumb::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-right: 6px;
  vertical-align: middle;
  background-color: var(--gs-accent-logo, #00ccac);
  -webkit-mask: url('images/goodstream/goodstream_symbol_filled.svg') no-repeat center/contain;
  mask: url('images/goodstream/goodstream_symbol_filled.svg') no-repeat center/contain;
  opacity: 0.6;
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item a {
  color: var(--gs-accent, #00ccac);
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item a:hover {
  color: var(--gs-hover, #ffae6f);
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item:last-of-type a {
  color: var(--clr-desc);
}

/* --- 태블릿: TOC 숨김 + 본문 전폭 확장 + 사이드바 폰트 --- */
@media (max-width: 991.98px) {
  .margin-sidebar {
    display: none !important;
  }
  main.content {
    grid-column: body-content-start / page-end !important;
    padding-right: 21px;
  }
  #quarto-sidebar .sidebar-item a,
  #quarto-sidebar .sidebar-item .sidebar-item-text {
    font-size: var(--fs-caption);
  }
}

@media (prefers-color-scheme: dark) {
  .callout-note {
    background-color: #2d2d2d;
    color: var(--clr-body);
    border-left: 5px solid inherit;
  }
  .callout.callout-style-default .callout-body, .callout.callout-style-simple .callout-body {
    font-size: var(--fs-caption);
    font-weight: 300;
  }
  .callout.callout-style-simple>div.callout-header {
    color: var(--clr-title);
    opacity: 100%;
    font-weight: 600;
  }
}
/* page-layout: custom + body-classes: navbar-width 페이지에서 navbar 폭에 자동 맞춤 */
.navbar-width #quarto-content {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 14px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .navbar-width #quarto-content {
    max-width: none;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 899px) {
  .navbar-width #quarto-content {
    max-width: none;
    margin-left: 8px;
    margin-right: 8px;
  }
}

/* 헤더를 body 콘텐츠와 동일한 width와 정렬로 맞추기 */
@media (min-width: 1200px) {
  .navbar-container.container-fluid {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .navbar-container.container-fluid {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* 모바일: 네비바 소셜 아이콘·검색 숨김 (햄버거 + 로고만 표시) */
@media (max-width: 991.98px) {
  .quarto-navbar-tools.tools-wide {
    display: none !important;
  }
  .navbar #quarto-search {
    display: none !important;
  }
  /* 로고를 햄버거 옆 좌측 정렬 */
  .navbar-container.container-fluid {
    justify-content: flex-start !important;
  }
  .navbar-brand-container {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (max-width: 899px) {
  .navbar-container.container-fluid {
    margin-left: 8px;
    margin-right: 8px;
  }
  
  /* 헤더 높이 조절 */
  #quarto-header {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  
  /* 로고 크기 조절 */
  .navbar-brand > img,
  .navbar-brand > svg {
    max-height: 28px;  /* 모바일에서 더 작게 */
    margin-left: 5px;
    margin-right: 15px;
  }
  
  /* 메뉴 텍스트 크기 조절 */
  .navbar-nav .nav-link {
    font-size: var(--fs-caption);
    padding: 0.4rem 0.5rem;
  }
  
}

@media (min-width: 1020px) {
  .navbar-brand-container {
    margin-right: 1em;
  }
}

@media (max-width: 1060px) and (min-width: 991.98px) {
  
  #navbarCollapse ul:last-of-type a.nav-link {
    padding-left: .25em;
    padding-right: .25em;
  }
  
  .navbar #quarto-search {
    margin-left: .1em;
  }
  
  .navbar .bi-twitter,
  .navbar .bi-github,
  .navbar .bi-rss {
    font-size: var(--fs-aux);
  }
}

@media (min-width: 991.98px) {
  #quarto-header {
    border-bottom: 1px solid #222222;
  }
  .sidebar-navigation .sidebar-item {
    font-size: var(--fs-caption);
    color : var(--clr-sub);
  }
  
  .sidebar-navigation a {
    color: inherit;
  }
  
  .sidebar-navigation a:hover {
    color: var(--gs-hover);
  }
  .nav-page .nav-page-text, .sidebar-navigation .sidebar-section .sidebar-item {
    font-size: var(--fs-caption);
  }
}

div.sidebar-item-container .active, div.sidebar-item-container .show>.nav-link, div.sidebar-item-container .sidebar-link>code {
  color: var(--gs-accent);
  font-weight: 700;
}

.quarto-sidebar-toggle {
  border-color: #4e4e4e;
}
.navbar-brand > img,
.navbar-brand > svg {
  max-height: 30px;
  margin-left: 10px;
  margin-right: 30px;
  margin-top: 5px;
}
/* input style */
::placeholder {
  color: #5a5a5a !important;
}
.input-group-text, .form-control {
  border: 1px solid #4e4e4e;
  color: #e7e7e7;
}
.input-group-text:focus, .form-control:focus {
  border: 1px solid #b1b1b1;
  color: #e7e7e7;
}
.input-group-text i {
  color: #b1b1b1;
}

.platform-table td {
  vertical-align: middle;
}

.platform-table td > div.sourceCode {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}


.document-example {
  opacity: 0.9;
  padding: 6px; 
  font-weight: 500;
  margin-bottom: 1rem;
}

.document-example div {
  padding: 5px;
}


.document-example .citation {
  color: blue;
}

.trademark {
  font-size: 0.6rem;
  display: inline-block;
  margin-left: -3px;
}

.search-attribution {
  margin-top: 20px;
  padding-bottom: 20px;
  height: 40px;
}

.download-button {
  margin-top: 1em;
}

.download-table {
  margin-bottom: 2em;  
}

.download-table p {
  margin-bottom: 0;
}

.download-table .checksum {
  color: var(--bs-primary);
  font-size: var(--fs-aux);
  cursor: pointer;
  padding-top: 4px;
}

.download-button {
  display:flex;
  padding-bottom: 10px;
  padding-top: 10px;
}

.download-button .secondary {
  font-size: var(--fs-aux);
  margin-bottom: 0;
}

.download-button .container {
  display: flex;
  padding-left: 10px;
  padding-right: 40px;
}

.download-button .icon-container {
  fill: white;
  width: 30px;
  margin-right: 15px;
}

iframe.reveal-demo {
  width: 100%;
  height: 350px;
  outline: none;
}


.slide-deck {
  border: 3px solid #dee2e6;
  width: 100%;
  height: 475px;
}

@media only screen and (max-width: 600px) {
  .slide-deck {
    height: 400px;
  }
}


.link-cards {
  columns: 1;
  column-gap: 1.2rem;
}

.link-cards > .card {
  break-inside: avoid;
  margin-bottom: 1.2rem;
}

@media (min-width: 768px) {
  .link-cards {
    columns: 2;
  }
}

.card {
  font-size: var(--fs-aux);
}
.card-header:first-child {
  border-radius: 6px 6px 0px 0px;
}
.card-img, .card-img-top {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.link-cards .card-title h4 {
  color: var(--clr-title);
}

.link-cards .card h6 {
  color: var(--clr-desc);
}

.link-cards .card {
  border: none;
  padding: 0;
}

.link-cards .card-title h4 {
  margin-top: 0;
}

.link-status-dot {
  float: right;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
}

.link-cards p {
  padding: 0;
  margin: 0;
}

.link-cards .card-title p {
  margin-bottom: 0;
}

.link-cards .card-subtitle {
  margin-bottom: 0.7rem;
}

.link-cards .card-body {
  padding: 0.5rem;
  padding-left: 0.8rem;
}

.link-cards .card-body ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

.link-cards .card-body ul li {
  padding-bottom: 0;
}

.link-cards .link-block {
  display: block;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  margin: 10px 5px 6px 0px;
  border-radius: 6px;
  transition: background-color 0.2s;
  background-color: #363636;
}

.link-cards .link-block:hover {
  /* background-color: rgba(255, 255, 255, 0.05); */
  background-color: rgba(var(--gs-accent-rgb), 0.4);
}

.link-cards .link-block .link-title {
  font-weight: 500;
  color: var(--clr-heading);
  font-size: var(--fs-base);
}

.link-cards .link-block .link-desc {
  color: var(--clr-desc);
  font-size: var(--fs-aux);
  margin-top: 0.15rem;
  line-height: 1.4;
}

.link-cards .link-block:hover .link-desc {
  color: var(--clr-body);
}

.card .source-code {
  margin-top: 3px;
}

.gallery-category {
  column-gap: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.text-muted {
  color: var(--clr-heading) !important;
}

.btn {
  font-size: var(--fs-caption);
}

.btn-action-primary {
  color: white !important;
  background-color: var(--gs-accent) !important;
  border-radius: 32px;
}

.btn-action {
  color: white !important;
  background-color: var(--gs-accent) !important;
  border-color: var(--gs-accent) !important;
  /* border: none; */
  border-radius: 32px;
}

.btn-action-primary:hover {
  background-color: color-mix(in srgb, var(--gs-accent) 70%, transparent) !important;
  color: #fff !important;
}

/* btn-action 클래스도 함께 있을 때는 다른 색상 */
a.btn-action-primary.btn-action:hover {
  background-color: color-mix(in srgb, var(--gs-accent) 70%, transparent) !important;
  color: #fff !important;
}

/* visited 상태 명시 */
a.btn-action:visited,
a.btn-action-primary:visited,
a.btn-action-primary.btn-action:visited {
  color: #FFF !important;
}


.btn-lg {
  padding: 6px 32px 9px 32px;
  font-size: var(--fs-base);
}

.icon-category {
  font-family: "Source Sans Pro", "Noto Sans Kr", sans-serif;
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--clr-desc);
}
.panel-tabset[data-group="tools-tabset"] .choose-your-tool {
  max-width: 90px;
  margin-right: 25px;
  margin-top: 30px;
  font-weight: 300;
  font-size: var(--fs-h2);
  text-align: left;
  vertical-align: center;
}

.panel-tabset[data-group="tools-tabset"] .tab-content {
  border: none;
  padding-left: 5px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs {
  border-bottom: none;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
  text-align: center;
  margin-right: 10px;
  margin-top: 10px;
  color: inherit;
  width: 102px;
  font-size: 0.8em;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
  border: 1px solid  rgb(222, 226, 230);
  border-radius: 8px;
}
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link:hover {
  border-color: var(--gs-hover);
  border-width: 1px;
} 

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
  border-color: #ababab;
  border-width: 2px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
  width: 65px;
  height: 65px;
  display: block;
  margin-bottom: 2px;
}

/* ── Search Overlay — Algolia Autocomplete dark theme ── */

/* 1. Overlay backdrop */
.aa-DetachedOverlay {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

/* 2. Container (modal panel) */
.aa-DetachedContainer {
  background-color: #1e1e1e !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
  max-width: 780px !important;
}

/* 3. Search Form (input + icons) */
.aa-DetachedFormContainer .aa-Form {
  background-color: #2a2a2a;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  padding: 10px 14px;
  color: #e7e7e7;
}
.aa-DetachedFormContainer {
  border-bottom: 1px solid #2a2a2a !important;
}
.aa-DetachedFormContainer .aa-Form:focus-within {
  border-color: var(--gs-accent) !important;
  box-shadow: 0 0 0 2px rgba(var(--gs-accent-rgb), 0.2) !important;
}
.aa-DetachedFormContainer .aa-Form .aa-InputWrapper .aa-Input {
  color: var(--clr-title);
  font-size: var(--fs-base);
}
.aa-DetachedFormContainer .aa-Form .aa-InputWrapperPrefix .aa-Label svg,
.aa-DetachedFormContainer .aa-Form .aa-InputWrapperPrefix .aa-LoadingIndicator svg {
  color: var(--clr-desc);
}
.aa-DetachedFormContainer .aa-SubmitButton {
  color: var(--clr-desc);
}
/* Clear (circle-x) 버튼 — 강제 표시 + 작게 */
.aa-DetachedFormContainer .aa-InputWrapperSuffix {
  width: auto !important;
}
.aa-DetachedFormContainer .aa-ClearButton {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #888 !important;
  width: 20px;
  height: 20px;
  padding: 0;
  opacity: 0.6;
}
.aa-DetachedFormContainer .aa-ClearButton svg {
  width: 14px !important;
  height: 14px !important;
}
.aa-DetachedFormContainer .aa-ClearButton:hover {
  color: #aaa !important;
  opacity: 1;
}
/* 텍스트 입력 시 clear 버튼 accent 색상 */
.aa-Form:has(.aa-Input:not(:placeholder-shown)) .aa-ClearButton {
  color: var(--gs-accent) !important;
  opacity: 0.8;
}
.aa-Form:has(.aa-Input:not(:placeholder-shown)) .aa-ClearButton:hover {
  color: var(--gs-accent) !important;
  opacity: 1;
}
/* FormContainer: form과 닫기 버튼 수직 정렬 */
.aa-DetachedFormContainer {
  align-items: center !important;
}
/* Cancel → X 아이콘 버튼 — form과 높이 일치 */
.aa-DetachedCancelButton {
  font-size: 0 !important;
  color: #666 !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: none !important;
  background: transparent !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  padding: 0 !important;
  margin-left: 8px !important;
  flex-shrink: 0;
}
.aa-DetachedCancelButton:hover,
.aa-DetachedCancelButton:focus {
  color: #ddd !important;
  background-color: #333 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 4. Result header ("N matching documents") */
.search-result-header {
  background-color: transparent !important;
  font-size: 0 !important;          /* 원본 텍스트 숨김 — pseudo-element로 표시 */
  color: transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px 8px !important;
  border-bottom: 1px solid #333;
  line-height: 1.4;
}
.search-result-header::before {
  content: attr(data-count);
  color: var(--gs-accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
}
.search-result-header::after {
  content: " MATCHING DOCUMENTS";
  color: var(--clr-desc);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* 5. Result cards */
.aa-List > li:first-child .search-result-doc {
  margin-top: 16px !important;
}
.search-result-doc {
  background: #2a2a2a !important;
  border: 1px solid #333 !important;
  border-radius: 8px !important;
  margin: 6px 16px !important;
  padding: 14px 18px !important;
  transition: all 0.2s ease;
  user-select: none;
}
/* 라이브러리 기본 selected/non-selected 배경색 전체 제거 —
   카드 레벨(.search-result-doc, .search-result-doc-section)에서만 배경 관리 */
li.aa-Item .search-item,
li.aa-Item .search-item .search-result-section,
li.aa-Item .search-item .search-result-text,
li.aa-Item .search-item .search-result-title-container,
li.aa-Item .search-item .search-result-text-container,
li.aa-Item .search-item.search-result-more {
  background-color: transparent !important;
  cursor: pointer;
}
.search-result-doc:hover {
  background: #303030 !important;
  border-color: #4a4a4a !important;
}
.aa-Item[aria-selected="true"] .search-result-doc {
  border-left: 3px solid var(--gs-accent) !important;
  background: rgba(var(--gs-accent-rgb), 0.08) !important;
  border-color: rgba(var(--gs-accent-rgb), 0.2) !important;
  border-left-color: var(--gs-accent) !important;
}

/* Result title */
.search-result-title {
  color: var(--clr-heading);
  font-weight: 600;
  font-size: var(--fs-h5);
}

/* Result body text */
.search-result-text {
  color: var(--clr-desc) !important;
  font-size: var(--fs-aux) !important;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Result icon */
.search-result-icon {
  color: var(--gs-accent) !important;
  font-size: var(--fs-h3);
  opacity: 0.7;
}

/* Sub-section results */
.search-result-doc-section {
  background: transparent !important;
  padding-left: 56px !important;
  border-left: 2px solid #444 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  margin: 2px 16px 2px 62px !important;
}
.search-result-doc-section:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}
.aa-Item[aria-selected="true"] .search-result-doc-section {
  border-left: 2px solid var(--gs-accent) !important;
  background: rgba(var(--gs-accent-rgb), 0.06) !important;
}

/* Section title */
.search-result-section {
  color: var(--clr-body);
  font-size: var(--fs-aux);
}

/* "More matches" link — child 영역에 포함 */
.search-result-more {
  font-size: var(--fs-aux) !important;
  color: var(--gs-accent) !important;
  background: transparent !important;
  opacity: 0.7;
  padding: 6px 16px 6px 56px !important;
  margin: 0 16px 0 62px !important;
  border-left: 2px solid #444 !important;
  cursor: pointer;
}
.search-result-more:hover {
  opacity: 1;
}
.aa-Item[aria-selected="true"] .search-result-more {
  opacity: 1;
  border-left-color: var(--gs-accent) !important;
}

/* 6. Search match highlight */
mark.search-match {
  background-color: rgba(var(--gs-accent-rgb), 0.25) !important;
  color: var(--gs-accent) !important;
  border-radius: 2px;
  padding: 1px 2px;
}

/* 7. Scrollbar + misc */
.aa-Panel--scrollable {
  scrollbar-width: thin;
  scrollbar-color: #444 #1e1e1e;
}
.aa-Panel--scrollable::-webkit-scrollbar {
  width: 6px;
}
.aa-Panel--scrollable::-webkit-scrollbar-track {
  background: #1e1e1e;
}
.aa-Panel--scrollable::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}
.aa-Panel--scrollable::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.aa-GradientBottom::after {
  background: linear-gradient(transparent, #1e1e1e) !important;
  height: 24px !important;
}
.aa-DetachedContainer .aa-SourceFooter {
  display: none;
}
/* ── End Search Overlay ── */

.nav-item .nav-link {
  color: var(--clr-sub);
  font-weight: normal;
}
.nav-item .nav-link.active {
  color: var(--gs-accent) !important;
  font-weight: 700 !important;
}
.nav-item button.nav-link {
  color: var(--clr-sub);
}
.nav-item .nav-link:hover {
  color: var(--gs-hover);
}

.toc-active .nav-link {
  font-size: var(--fs-aux) !important;
}

.toc-active {
  font-family: "Source Sans Pro", 'SCDream', 'Noto Sans KR', var(--bs-body-font-family), sans-serif;
}

#TOC.toc-active .nav-link.active {
  color: var(--gs-accent) !important;
  font-weight: 700 !important;
}
#TOC.toc-active .nav-link:hover {
  color: var(--gs-hover) !important;
}

.toc-actions a:hover {
  color: var(--gs-hover);
}

.sidebar nav[role=doc-toc] ul {
  font-size: var(--fs-caption);
}
.sidebar nav[role=doc-toc] ul>li>a.active, .sidebar nav[role=doc-toc] ul>li>ul>li>a.active {
  border-left: 1px solid var(--gs-accent);
}

/*
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
text-align: center;
margin-right: 10px;
margin-top: 10px;
color: inherit;
width: 102px;
font-size: 0.8em;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
width: 45px;
height: 45px;
margin-left: 10px;
display: block;
margin-bottom: 2px;
}
*/

.download-text {
  font-size: var(--fs-base);
  font-weight: 500;  
}

.preview-image-grid {
  gap: .75em;
}

.preview-image-grid p {
  margin-bottom: 0;
}

.preview-image-label {
  text-align: center;
  font-size: var(--fs-aux);
  font-weight: 600;
}

.illustration {
  border: 1px solid #dee2e6;
}

/* Page Tags */
.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.page-tag {
  font-family: 'Source Sans Pro', 'SCDream', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-aux);
  font-weight: 400;
  color: var(--gs-accent);
  background-color: rgba(0, 204, 172, 0.1);
  border: 1px solid rgba(0, 204, 172, 0.3);
  border-radius: 3px;
  padding: 0.15rem 0.6rem;
}

/* Solution Listing — index-chooser tabs
   ---------------------------------------- */
#index-chooser.nav-tabs {
  margin-top: 0.5rem;
  border-bottom: none;
}
#index-chooser .nav-link {
  text-align: left;
  margin-right: 12px;
  padding-left: 10px;
  width: 170px;
  font-weight: 300;
  line-height: 1.3rem;
}
#index-chooser .nav-link,
#index-chooser .nav-item.show .nav-link {
  border: 1px solid #787878;
  border-radius: 10px;
  color: var(--clr-sub);
}
#index-chooser .nav-link.active {
  border: 2px solid var(--gs-accent);
  border-radius: 10px;
  color: var(--gs-accent);
}
#index-chooser .nav-link:hover,
#index-chooser .nav-link.active:hover {
  border-color: var(--gs-hover);
  color: var(--gs-hover);
}
#index-chooser .nav-link i {
  font-size: var(--fs-h2);
  margin-right: 10px;
  vertical-align: middle;
  color: var(--gs-accent);
}
#index-chooser .nav-link:hover i {
  color: var(--gs-hover);
}

.quarto-listing {
  margin-top: 2em;
}
.quarto-listing .listing-name,
.quarto-listing .listing-author {
  white-space: nowrap;
}
.quarto-listing .listing-actions-group h3 {
  margin-top: 0;
}

/* Style of Blog */
div.quarto-post {
  border-bottom: 1px solid #4e4e4e;
}

div.quarto-post a {
  color: var(--clr-body);
}

.quarto-listing-category .category {
  font-family: 'Source Sans Pro', 'SCDream', 'Noto Sans KR', sans-serif;
  font-weight: 300;
  font-size: var(--fs-caption);
}

.quarto-listing-category .category.active {
  font-weight: 600;
  color: var(--gs-accent);
}

.quarto-listing-sort{
  display: none;
}
.quarto-listing-sort .input-group-text {
  font-size: var(--fs-body);
}

.quarto-listing-sort select.form-select {
  font-size: var(--fs-aux);
}
.form-select {
  border: 1px solid #4e4e4e;
  color: #e7e7e7;
}
.form-select:focus {
  border: 1px solid #b1b1b1;
  color: #e7e7e7;
}

table.quarto-listing-table th a:after {
  filter: invert(1) grayscale(100);
}
.quarto-dark .code-with-filename .code-with-filename-file pre {
  border: 0px solid #3b3b3b;
  border-radius: 0px;
  padding: 0px;
}

#quarto-back-to-top:hover {
  color: var(--gs-hover);
}

/* ── Mermaid 다이어그램 — 다크 테마 커스텀 변수 (전역) ── */
/* _quarto.yml에서 mermaid theme을 지정하지 않아야 CSS 변수 기반 테마가 활성화됨 */
/* 개별 다이어그램에서 %%{init}%%로 오버라이드 가능, classDef로 노드별 강조 가능 */
:root {
  --mermaid-bg-color: #2b2b2b;
  --mermaid-node-bg-color: #333333;
  --mermaid-node-fg-color: #555555;
  --mermaid-edge-color: #555555;
  --mermaid-label-bg-color: #2b2b2b;
  --mermaid-label-fg-color: #c3c3c3;
  --mermaid-fg-color: #e0e0e0;
  --mermaid-fg-color--lighter: #aaa;
  --mermaid-fg-color--lightest: #888;
  --mermaid-font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --mermaid-font-weight: 300;
}

/* Mermaid Flowchart — subgraph 기본 스타일
   전역 기본값. 개별 다이어그램에서 classDef + class로 오버라이드 가능.
   (classDef는 inline !important → 전역 !important보다 우선) */
.cluster rect {
  fill: #2b2b2b !important;
  stroke: #555 !important;
  stroke-width: 1.5px !important;
}

/* Mermaid Gantt — 섹션 타이틀 흰색 Bold */
div.mermaid-js .sectionTitle {
  fill: #fff !important;
  font-weight: 700 !important;
}
/* fallback: Quarto가 래퍼 클래스를 바꿀 경우 */
.cell-output-display .sectionTitle {
  fill: #fff !important;
  font-weight: 700 !important;
}

/* Style of TOC */

.page-link {
  background-color: transparent;
  border: 1px solid var(--gs-accent);
}

.page-link:hover {
  background-color: rgba(var(--gs-hover-rgb), 0.44);
  border: 1px solid var(--gs-accent);
}

.footer .img-fluid {
  border: 0px solid #3b3b3b !important;
}
.footer .nav-footer-right .bi{
  font-size: var(--fs-body);
  color: var(--clr-desc);
}
.footer .nav-footer-right .bi:hover{
  color: var(--gs-hover);
}

.footer-items .nav-link,
.nav-footer .toc-action {
  color: var(--clr-desc);
}

#TOC .toc-action {
  color: var(--clr-desc);
  font-size: var(--fs-body);
}

.quarto-color-scheme-toggle {
  display: none !important;
}

.quarto-navigation-tool {
  font-size: var(--fs-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 100px repeat(4, minmax(120px, 1fr)) 300px;
  gap: 50px;
  padding: 24px 0 32px 0;
  align-items: start;
  justify-items: start;
  text-align: left;
}

.footer,
.nav-footer,
.nav-footer-center,
.footer-grid {
  font-family: 'SCDream','Noto Sans KR', sans-serif;
  font-size: var(--fs-small);
  font-weight: 300;;
}

.footer,
.nav-footer {
  background-color: #1b1b1b !important;
}

.nav-footer-center {
  text-align: left;
  justify-content: flex-start;
}

.footer-section h4 {
  margin: 0 0 8px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: var(--fs-aux);
  font-weight: 400;
  color: var(--clr-sub) !important;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-section a {
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.footer-section .bi {
  margin-right: 6px;
  font-size: 1.05em;
  color: var(--gs-accent);
  vertical-align: -0.05em;
}

.footer-logo img {
  display: block;
  width: 40px;
  height: auto;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--gs-hover);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* 모바일: 푸터에서 goodstream 블럭만 표시 */
@media (max-width: 576px) {
  .footer-grid .footer-section:not(:last-child) {
    display: none;
  }
}


/* ============================================================
   Case Study / Solution — 콘텐츠 페이지 공통 스타일
   .champ-* 클래스: casestudy, solution 등에서 공유
   ============================================================ */

/* --- Top box (솔루션 요약 + 아이콘 2-column) --- */
.champ-top {
  display: block;
  background-color: #2a2a2a;
  border: 1px solid #3e3e3e;
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 2rem;
}

.champ-top-desc p {
  font-size: var(--fs-caption);
  font-weight: 300;
  color: var(--clr-heading);
  line-height: 1.75;
  margin: 0;
}

.champ-top-icon {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: -18px;
  margin-right: -10px;
}

.champ-top-icon img,
.champ-top-icon svg {
  height: 20px;
  width: auto;
  border: none !important;
  opacity: 0.5;
}

/* --- Lead text (거버닝 메시지 — h1 폰트 스타일) --- */
.champ-lead {
  font-family: 'Montserrat', 'SCDream', var(--bs-body-font-family), sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(var(--gs-accent-rgb), 0.7);
  line-height: 1.5;
  max-width: 760px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  letter-spacing: -0.02em;
  position: relative;
}

.champ-lead::before,
.champ-lead::after {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.7;
  background-color: var(--gs-accent, #00ccac);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.5 3.5 11 7'%3E%3Cpath d='M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z' fill='white' fill-opacity='0.57' stroke='white' stroke-width='0.3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.5 3.5 11 7'%3E%3Cpath d='M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z' fill='white' fill-opacity='0.57' stroke='white' stroke-width='0.3'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.champ-lead::before {
  margin-bottom: 15px;
  transform: rotate(180deg);
}

.champ-lead::after {
  margin-top: -8px;
}

/* --- Section divider (섹션 간 구분선) --- */
.champ-divider {
  border: none;
  border-top: 1px solid #6b6b6b;
  margin: 2rem 0;
}

/* --- Full-bleed image inside layout columns --- */
.champ-img-full img,
.champ-img-full svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 8px auto;
  border-radius: 6px;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent;
}

.champ-img-full .quarto-figure {
  margin: 0;
}
.champ-img-full figure {
  margin: 0;
}
.champ-img-full figcaption:empty {
  display: none;
}

/* --- Feature row: 2-column text + image --- */
.champ-feature-block {
  margin-bottom: 2.5rem;
}

.champ-feature-block h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--clr-title);
  margin-bottom: 0.8rem;
  padding-left: 12px;
  border-left: 3px solid var(--gs-accent, #00CCAC);
}

.champ-feature-block .quarto-layout-row {
  align-items: center;
}

.champ-feature-block .quarto-layout-cell {
  margin-right: 0;
}

.champ-feature-block ul {
  padding-left: 0;
  margin-bottom: 0;
  font-weight: 300;
  list-style: none;
}

.champ-feature-block li {
  margin-bottom: 0.35rem;
  color: var(--clr-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.champ-feature-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gs-accent, #00ccac);
  border-radius: 50%;
}

.champ-feature-text > p {
  color: var(--clr-desc);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.champ-feature-block .champ-img-full figcaption:empty,
.champ-feature-block figure figcaption:empty {
  display: none;
}

/* --- Strength cards grid --- */
.champ-strengths {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
  counter-reset: strength-counter;
}

.champ-strength-card {
  background-color: #2f2f2f;
  border: 1px solid #3e3e3e;
  border-radius: 10px;
  padding: 24px 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  counter-increment: strength-counter;
}

.champ-strength-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gs-accent, #00ccac), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.champ-strength-card::after {
  content: counter(strength-counter, decimal-leading-zero);
  position: absolute;
  top: 16px; right: 18px;
  font-size: 32px;
  font-weight: 900;
  color: #3a3a3a;
  letter-spacing: -1px;
  line-height: 1;
  pointer-events: none;
}

.champ-strength-card:hover {
  border-color: #555;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.champ-strength-card:hover::before { opacity: 1; }

.champ-strength-card h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--gs-accent, #00CCAC);
  margin-bottom: 0.15rem;
  margin-top: 0;
}

.champ-strength-card .champ-card-sub {
  font-size: var(--fs-aux);
  font-weight: 300;
  color: var(--clr-desc);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}

.champ-strength-card ul {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.champ-strength-card li {
  font-size: var(--fs-caption);
  font-weight: 300;
  color: var(--clr-body);
  margin-bottom: 0.25rem;
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}

.champ-strength-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--gs-accent, #00ccac);
  border-radius: 50%;
}

.champ-card-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--gs-accent, #00CCAC);
  font-size: var(--fs-caption);
  font-weight: 400;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  transition: color 0.2s ease;
}
.champ-card-link:hover {
  color: var(--gs-hover, #ad12f6);
  text-decoration: none;
}

/* --- Implementation level table --- */
.champ-level-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
}

.champ-level-table thead tr:first-child th {
  border-top: none;
}

.champ-level-table thead tr:first-child th:first-child {
  border-radius: 8px 0 0 0;
}

.champ-level-table thead tr:first-child th:last-child {
  border-radius: 0 8px 0 0;
}

.champ-level-table th {
  background-color: #2a2a2a;
  color: var(--clr-desc);
  font-weight: 600;
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-top: none;
  border-bottom: 1px solid var(--gs-accent, #00CCAC);
}

.champ-level-table td {
  padding: 10px 14px;
  font-weight: 300;
  font-size: var(--fs-caption);
  border-bottom: 1px solid #333;
  vertical-align: top;
}

.champ-level-table tr:hover td {
  background-color: #2a2a2a;
}

/* --- Blockquote accent --- */
.champ-quote {
  border: 1px dashed var(--gs-accent, #00CCAC);
  padding: 1rem 1.2rem 0rem 1.2rem;
  margin: 1.6rem 0;
  background-color: rgba(var(--gs-accent-rgb), 0.06) ;
  border-radius: 6px;
  font-size: var(--fs-caption);
  font-weight: 300;
  color: var(--gs-accent, #00CCAC);
  line-height: 1.7;
}

/* --- Bright emphasis (B: section wrapper, C: inline span) --- */
.bright-bold strong { color: #efefef; }
.bright { color: #efefef; }

/* --- Section heading style --- */
/* Pandoc section-divs: ## Title {.cls} → <section class="cls"><h2 class="cls">
   section wrapper에는 레이아웃만, 타이포는 h2/h3에만 적용 */
section.champ-section-title {
  margin-top: 3rem;
}
h2.champ-section-title,
h3.champ-section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--clr-title);
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.champ-section-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-caption);
  font-weight: 300;
  font-family: 'SCDream', var(--bs-body-font-family), sans-serif;
  color: var(--clr-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.champ-section-sub::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gs-accent, #00ccac);
  flex-shrink: 0;
}

/* --- Related cases pill tags --- */
.champ-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.champ-case-tag {
  display: inline-flex;
  align-items: center;
  background-color: #2f2f2f;
  border: 1px solid #3e3e3e;
  border-radius: 16px;
  padding: 5px 16px;
  margin: 5px;
  font-size: var(--fs-aux);
  font-weight: 300;
  color: #c0c0c0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.champ-case-tag:hover {
  border-color: var(--gs-hover, #ad12f6);
  color: var(--gs-hover, #ad12f6);
  background-color: color-mix(in srgb, var(--gs-accent) 5%, transparent);
}

.champ-case-tag .champ-tag-category {
  font-size: 0.65rem;
  color: #555;
  margin-left: 5px;
}

/* ============================================================
   prettier-title — 이중언어 헤딩: 한글  |  English
   Usage: ## 제목 {.prettier-title data-en="English Title"}
   Scope: casestudy, gallery, blog 페이지

   커스텀 프로퍼티 (페이지/섹션 단위로 오버라이드 가능):
     --pt-font       : 한글 제목 폰트
     --pt-color      : 한글 제목 색상
     --pt-weight     : 한글 제목 굵기
     --pt-en-font    : 영문 부제 폰트
     --pt-en-color   : 영문 부제 색상
     --pt-en-weight  : 영문 부제 굵기
     --pt-sep-color  : separator(|) 색상
   ============================================================ */

/* --- 커스텀 프로퍼티 기본값 --- */
:root {
  --pt-font: 'Noto Sans KR', 'SCDream', var(--bs-body-font-family), sans-serif;
  --pt-color: var(--clr-title);
  --pt-weight: 400;
  --pt-en-font: 'Noto Sans KR', 'SCDream', var(--bs-body-font-family), sans-serif;
  --pt-en-color: var(--clr-deep);
  --pt-en-weight: 200;
  --pt-sep-color: #555;
  --pt-sep-gap: -0.55rem;
}

/* --- 공통 스타일 (h2–h6) --- */
h2.prettier-title,
h3.prettier-title,
h4.prettier-title,
h5.prettier-title,
h6.prettier-title {
  font-family: var(--pt-font);
  font-weight: var(--pt-weight);
  color: var(--pt-color);
  letter-spacing: -0.02em;
}

/* --- ::after 공통 (separator + English) --- */
h2.prettier-title::after,
h3.prettier-title::after,
h4.prettier-title::after,
h5.prettier-title::after,
h6.prettier-title::after {
  content: "|\a0\a0" attr(data-en);
  margin-left: var(--pt-sep-gap);
  font-family: var(--pt-en-font);
  font-weight: var(--pt-en-weight);
  color: var(--pt-en-color);
  letter-spacing: 0.02em;
}

/* data-en 없으면 ::after 숨김 */
:is(h2,h3,h4,h5,h6).prettier-title:not([data-en])::after {
  content: none;
}

/* --- 레벨별 사이즈 --- */
h2.prettier-title { font-size: var(--fs-h2); margin-top: 3.5rem; margin-bottom: 1.5rem; }
h2.prettier-title::after { font-size: 1.2rem; }

h3.prettier-title { font-size: var(--fs-h3); margin-top: 2.0rem; margin-bottom: 1.2rem; }
h3.prettier-title::after { font-size: var(--fs-base); }

h4.prettier-title { font-size: var(--fs-h4); margin-top: 2rem; margin-bottom: 1rem; }
h4.prettier-title::after { font-size: 0.9rem; }

h5.prettier-title { font-size: var(--fs-h5); margin-top: 1.5rem; margin-bottom: 0.8rem; }
h5.prettier-title::after { font-size: var(--fs-aux); }

h6.prettier-title { font-size: var(--fs-caption); font-weight: 600; margin-top: 1.2rem; margin-bottom: 0.7rem; }
h6.prettier-title::after { font-size: 0.75rem; }

/* --- 레벨별 색상 분화 (h3–h6) --- */
h3.prettier-title { color: var(--pt-h3-color, var(--pt-color)); }
h4.prettier-title { color: var(--pt-h4-color, var(--pt-color)); }
h5.prettier-title { color: var(--pt-h5-color, var(--pt-color)); }
h6.prettier-title { color: var(--pt-h6-color, var(--pt-color)); }

h3.prettier-title::after { color: var(--pt-h3-en-color, var(--pt-en-color)); }
h4.prettier-title::after { color: var(--pt-h4-en-color, var(--pt-en-color)); }
h5.prettier-title::after { color: var(--pt-h5-en-color, var(--pt-en-color)); }
h6.prettier-title::after { color: var(--pt-h6-en-color, var(--pt-en-color)); }

/* ── 404 Not Found 페이지 ─────────────────────────────── */
main:has(.not-found-container) #title-block-header { display: none; }

.not-found-container {
  text-align: center;
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.not-found-container p {
  font-size: var(--fs-body);
  color: var(--clr-desc);
}

.not-found-container .image-plain {
  border: none !important;
  display: inline-block;
}

/* Section 하위 페이지 — 상위 복귀 링크 (gallery, casestudy, blog) */
.section-back {
  color: var(--gs-accent, #00ccac);
  font-size: var(--fs-h1);
  text-decoration: none;
  margin-right: 0.6rem;
  vertical-align: top;
  transition: opacity 0.2s;
}
.section-back:hover {
  opacity: 0.7;
  color: var(--gs-accent, #00ccac);
}

/* ── Mini Stats Cards (.cs-mini-stats) ──────────────────────────
   CSS 변수로 카드 스타일 전체를 제어할 수 있다.
   QMD에서 wrapper div의 style 속성으로 오버라이드 가능.
   ────────────────────────────────────────────────────────────── */
.cs-mini-stats {
  --cs-card-bg: #2a2a2a;
  --cs-card-border: 1px solid #3e3e3e;
  --cs-card-radius: 8px;
  --cs-card-gap: 8px;
  --cs-card-bar-height: 2px;
  --cs-card-bar-color: var(--gs-accent, #00ccac);
  --cs-card-padding: 14px 16px;
  --cs-card-min-width: 140px;

  display: flex;
  flex-wrap: wrap;
  gap: var(--cs-card-gap);
  margin-bottom: 1.2rem;
}

.cs-mini-stat {
  flex: 1 1 var(--cs-card-min-width);
  background: var(--cs-card-bg);
  border: var(--cs-card-border);
  border-top: var(--cs-card-bar-height) solid var(--cs-card-bar-color);
  border-right: var(--cs-card-border-right, none);
  border-bottom: var(--cs-card-border-bottom, none);
  border-left: var(--cs-card-border-left, none);
  border-radius: var(--cs-card-radius);
  padding: var(--cs-card-padding);
  text-align: left;
}

.cs-mini-stat-label {
  display: block;
  font-size: var(--fs-aux);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  margin-bottom: 6px;
}

.cs-mini-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-align: right;
  margin-right: 8px;
}

.cs-mini-stat-unit {
  font-size: var(--fs-h5);
  font-weight: 300;
  opacity: 0.4;
  margin-left: 0.6rem;
}

/* 바 스타일 — 각 카드에서 --cs-card-radius를 개별 지정하여 제어 */

@media (max-width: 767px) {
  .cs-mini-stats {
    gap: 6px;
  }
  .cs-mini-stat {
    flex: 1 1 45%;
  }
  .cs-mini-stat-value {
    font-size: 1.1rem;
  }
}

/* ── Mini Content Cards (.cs-mini-cards) ─────────────────────────
   범용 콘텐츠 미니카드. 제목+본문 형태.
   .cs-mini-stats와 동일한 --cs-card-* 변수 체계를 공유한다.
   수정자: .has-dot → 제목 앞 컬러 dot 표시
   ────────────────────────────────────────────────────────────── */
.cs-mini-cards {
  --cs-card-bg: #2a2a2a;
  --cs-card-border: 1px solid #3e3e3e;
  --cs-card-radius: 10px;
  --cs-card-gap: 16px;
  --cs-card-bar-height: 2px;
  --cs-card-bar-color: var(--gs-accent, #00ccac);
  --cs-card-padding: 20px 22px;
  --cs-card-min-width: 220px;
  --cs-card-title-color: #fff;
  --cs-card-badge-bg: #c87533;
  --cs-card-badge-color: #fff;
  --cs-card-dot-size: 10px;

  display: flex;
  flex-wrap: wrap;
  gap: var(--cs-card-gap);
  margin-bottom: 1.2rem;
}

.cs-mini-card {
  flex: 1 1 var(--cs-card-min-width);
  background: var(--cs-card-bg);
  border: var(--cs-card-border);
  border-radius: var(--cs-card-radius);
  padding: var(--cs-card-padding);
  box-shadow: inset 0 var(--cs-card-bar-height) 0 0 var(--cs-card-bar-color);
}

.cs-mini-card h4,
.cs-mini-card h5 {
  color: var(--cs-card-title-color);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.6rem;
  border-bottom: none;
  padding-bottom: 0;
}

.cs-mini-card p {
  color: var(--clr-body);
  font-size: var(--fs-caption);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.cs-mini-card ul {
  color: var(--clr-body);
  font-size: var(--fs-caption);
  font-weight: 300;
  line-height: 1.7;
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
}

.cs-mini-card ul li {
  margin-bottom: 0.25rem;
}

/* dot 수정자 — .has-dot 클래스가 wrapper에 있을 때 제목 앞에 dot */
.cs-mini-cards.has-dot .cs-mini-card h4::before,
.cs-mini-cards.has-dot .cs-mini-card h5::before {
  content: "";
  display: inline-block;
  width: var(--cs-card-dot-size);
  height: var(--cs-card-dot-size);
  border-radius: 50%;
  background: var(--cs-card-bar-color);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* 뱃지 pill */
.cs-mini-card-badge {
  display: inline-block;
  background: var(--cs-card-badge-bg);
  color: var(--cs-card-badge-color);
  font-size: var(--fs-aux);
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* badge-inline 수정자 — 뱃지와 제목을 같은 줄에 표시 */
/* Pandoc 렌더링: <p><span.badge>1</span></p> <section.level4><h4>제목</h4>...</section> */
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) {
  display: inline;
  margin: 0;
}
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) .cs-mini-card-badge {
  margin-bottom: 0;
  margin-right: 8px;
  vertical-align: middle;
}
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) + .level4,
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) + .level5 {
  display: inline;
}
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) + .level4 > h4,
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) + .level5 > h5 {
  display: inline;
  vertical-align: middle;
}
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) + .level4 > h4 + p,
.cs-mini-cards.badge-inline .cs-mini-card > p:has(.cs-mini-card-badge) + .level5 > h5 + p {
  margin-top: 0.6rem;
}

@media (max-width: 767px) {
  .cs-mini-cards {
    gap: 10px;
  }
  .cs-mini-card {
    flex: 1 1 100%;
  }
}

/* ── Casestudy Tab Navigation ── */
.cs-tab-nav {
  margin-bottom: 1.5rem;
}
.cs-tab-nav > p {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cs-tab-gap, 0);
  background: var(--cs-tab-bg, #2a2a2a);
  border: var(--cs-tab-border, 1px solid #3e3e3e);
  border-radius: var(--cs-tab-radius, 8px);
  overflow: hidden;
  margin: 0;
}
.cs-tab-nav a {
  flex: 1 1 0;
  padding: var(--cs-tab-padding, 12px 18px);
  text-decoration: none;
  color: var(--cs-tab-color, var(--clr-body));
  font-size: var(--cs-tab-font-size, var(--fs-caption));
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.cs-tab-nav a:not(:last-child) {
  border-right: var(--cs-tab-divider, 1px solid #3e3e3e);
}
.cs-tab-nav a:hover {
  color: var(--cs-tab-hover-color, var(--clr-title));
  background: var(--cs-tab-hover-bg, #333);
  border-bottom-color: var(--cs-tab-hover-border, var(--gs-accent));
}
@media (max-width: 767px) {
  .cs-tab-nav a {
    flex: 1 1 33%;
    border-bottom: var(--cs-tab-divider, 1px solid #3e3e3e);
    padding: 10px 8px;
    font-size: var(--fs-aux);
  }
  .cs-tab-nav a:nth-child(3n) {
    border-right: none;
  }
}

/* ── Casestudy Timeline ── */
.cs-timeline {
  position: relative;
  padding-left: 40px;
  margin: 36px 0;
}
.cs-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #3e3e3e;
}
.cs-timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.cs-timeline-item:last-child {
  margin-bottom: 0;
}
.cs-timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: rgba(var(--gs-accent-rgb), 0.4);
  border-radius: 50%;
  border: 2px solid var(--gs-accent);
}
.cs-timeline-date {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--gs-accent);
  margin-bottom: 6px;
}
.cs-timeline-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--clr-title);
  margin-left: 20px;
  margin-bottom: 6px;
}
.cs-timeline-desc {
  font-size: var(--fs-body);
  color: var(--clr-body);
  line-height: 1.7;
}
@media (max-width: 767px) {
  .cs-timeline {
    padding-left: 30px;
  }
  .cs-timeline-item::before {
    left: -22px;
    width: 10px;
    height: 10px;
  }
}

/* ── Casestudy Process Flow (원형 단계 번호 + 가로선) ── */
.cs-process-flow {
  display: flex;
  align-items: flex-start;
  margin: 40px 0;
}
.cs-process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.cs-process-step > p {
  margin: 0;
}
.cs-process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #3e3e3e;
  z-index: 0;
}
.cs-process-step:last-child::after {
  display: none;
}
.cs-step-number {
  display: flex;
  width: 56px;
  height: 56px;
  background: #2a2a2a;
  border: 2px solid var(--gs-accent);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--gs-accent);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.cs-step-title {
  display: block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--clr-title);
  margin-bottom: 6px;
}
.cs-step-desc {
  display: block;
  font-size: var(--fs-caption);
  color: var(--clr-body);
  line-height: 1.6;
}
@media (max-width: 767px) {
  .cs-process-flow {
    flex-direction: column;
    gap: 24px;
  }
  .cs-process-step::after {
    display: none;
  }
}

/* Casestudy Custom Banner — START
   ============================================================
   활성화: QMD frontmatter using-custom-title-block-banner: true
   원복: 이 START ~ END 블록 삭제 + js.html 스크립트 삭제 + QMD .cs-banner-meta div 삭제
   ============================================================ */

/* --- Banner background --- */
.cs-banner-active .quarto-title-banner {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 420px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --- Flex layout for ordered elements --- */
.cs-banner-active .quarto-title-banner .quarto-title {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  min-height: 420px;
  padding-top: 28px;
  padding-bottom: 20px;
}

/* --- Element ordering --- */
.cs-banner-active .subtitle.lead         { order: 1; }
.cs-banner-active .cs-using-solution-line { order: 2; }
.cs-banner-active h1.title               { order: 3; }
.cs-banner-active .quarto-title > div:has(> .description) { order: 4; }
.cs-banner-active .quarto-categories      { order: 5; }
.cs-banner-active .cs-banner-copyright    { order: 6; }

/* --- Subtitle as badge --- */
.cs-banner-active .subtitle.lead {
  display: inline-block !important;
  background: var(--cs-badge-color, #e67e22);
  color: #fff;
  font-family: "Noto Sans KR", sans-serif;
  font-size: var(--fs-aux);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* --- Using-solution line --- */
.cs-banner-active .cs-using-solution-line {
  font-size: var(--fs-body);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* --- Title --- */
.cs-banner-active h1.title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 2rem !important;
  text-align: left;
}

/* --- Description --- */
.cs-banner-active .description,
#title-block-header.quarto-title-block.default.cs-banner-active .description > p {
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 14px;
}

/* --- Category pills --- */
.cs-banner-active .quarto-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  justify-content: flex-start;
}

.cs-banner-active .quarto-title .quarto-categories .quarto-category {
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 2px 12px !important;
  font-size: var(--fs-aux) !important;
  line-height: 1.35 !important;
  font-weight: 300;
  text-transform: none;
  opacity: 1 !important;
}

.cs-banner-active .quarto-title .quarto-categories .quarto-category a {
  font-weight: 300;
  color: inherit !important;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/* --- Copyright (bottom-right) --- */
.cs-banner-active .cs-banner-copyright {
  align-self: flex-end;
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* --- Hide abstract & empty meta when banner active --- */
.cs-banner-active .abstract {
  display: none !important;
}

.cs-banner-active .quarto-title-meta {
  display: none !important;
}

/* --- Hide appendix (copyright already shown in banner) --- */
#quarto-appendix.cs-appendix-hidden {
  display: none !important;
}

/* --- Mobile responsive --- */
@media (max-width: 767px) {
  .cs-banner-active .quarto-title-banner {
    min-height: 320px;
    background-size: cover !important;
  }
  .cs-banner-active .quarto-title-banner .quarto-title {
    min-height: 280px;
    padding-top: 20px;
  }
  .cs-banner-active h1.title {
    font-size: 1.5rem;
  }
  .cs-banner-active .description {
    font-size: 0.78rem;
  }
}

/* Casestudy Custom Banner — END */