@charset 'utf-8';

:root {
	--color-bg: #ffffff;
	--color-surface: #ffffff;
	--color-surface-soft: #ffffff;
	--color-primary: #1d4585;
	--color-primary-rgb: 29, 69, 133;
	--color-primary-soft: #1d4ed8;
	--color-accent-red: #dc143c;
	--color-text-main: #1E293B;
	--color-text-sub: #52565e;
	--color-text-sub-dark: #b8b0b0;
	--color-border-subtle: #cacaca;
	--color-text-muted: #b5b5b5;

	--theme-primary: #4a69bd;
	--theme-dark: #2c3e50;
	--theme-gradient: linear-gradient(135deg, #2c3e50 0%, #4a69bd 100%);
	--mobile-bar-height: 70px;
	--radius-sm: 0.5rem;
	--radius-md: 0.75rem;
	--radius-lg: 1rem;
	--radius-xl: 1.5rem;
	--shadow-soft: 0 0 0.2rem rgba(50, 50, 50, 0.25);
	--fz-xxl: 56px;
	--fz-xl: 42px;
	--fz-lg: 24px;
	--fz-md: 20px;
	--fz-sm: 16px;
	--fz-tn: 14px;

	--bs-container-xxxl: 1520px;

	--bs-info: #2e9eff !important;

	
        --law-primary: #0f1f3e; 
        --law-secondary: #f4f6f9; 
        --law-accent: #c6a87c; 
        --law-text: #333333;
        --law-border: #e0e0e0;
}

/* 설정 초기화 */
li {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	text-decoration: none;
	color: inherit;
}

ol,
ul {
	padding: 0;
	margin: 0;
}
button {
	all: unset;
	cursor: pointer;
}
.btn-primary {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
}

.btn-primary:hover {
	background-color: var(--color-primary-soft) !important;
	border-color: var(--color-primary-soft) !important;
}

.search-result-summary {
	margin-bottom: 1.5rem;
	padding: 0.8rem 1.2rem;
	border-radius: var(--radius-sm);
	background-color: var(--color-border-subtle);
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	text-align: center;
}

.search-result-summary strong {
	color: var(--color-primary);
	font-weight: 600;
}

@media screen and (max-width: 576px) {
	:root {
		--fz-xxl: 24px;
		--fz-xl: 20px;
		--fz-lg: 18px;
		--fz-md: 16px;
		--fz-sm: 14px;
		--fz-tn: 12px;
	}
}

/******************** bootstrap override ********************/
.btn-outline-info {
	color: var(--bs-info);
	border-color: var(--bs-info);
}

.btn-outline-info:hover {
	background-color: var(--bs-info);
	border-color: var(--bs-info);
	color: #000;
}

/* 스크린 리더 전용, 화면에서 숨김 */
.sr-only {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mb_brk {
	display: none;
}

/* 모바일 띄어쓰기 */
@media (max-width: 768px) {
	.mb_brk {
		display: block;
	}
}

/******************  container-xxxl **********************/
.container-xxxl {
	width: 100%;
	padding-left: var(--bs-gutter-x, 1rem);
	padding-right: var(--bs-gutter-x, 1rem);
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 576px) {
	.container-xxxl {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container-xxxl {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.container-xxxl {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container-xxxl {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	.container-xxxl {
		max-width: 1320px;
	}
}

@media (min-width: 1800px) {
	.container-xxxl {
		max-width: 1520px;
	}

	.container-xxxl .row {
		--bs-gutter-x: 1.5rem;
	}
}

/* .desktop-floating-wrapper {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-end;
}

.btn-type-online {
	color: #fff;
}

.btn-type-phone {
	color: #fff;
}

.desktop-floating-wrapper .btn-type-phone::after {
	content: '02-523-1911';
	position: absolute;
	top: 50%;
	right: 120%;
	transform: translateY(-50%) translateX(10px);
	opacity: 0;
	background: #00000099;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 1.2rem;
	white-space: nowrap;
	pointer-events: none;

	transition: opacity .25s ease, transform .25s ease;
}

.desktop-floating-wrapper .btn-type-phone:hover::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}


.floating-btn {
	width: auto;
	height: 48px;
	padding: 0 20px;
	border-radius: 24px;
	background: var(--theme-gradient);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none !important;
	position: relative;
	border: 0;
}

.floating-btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	color: white;
}

.floating-text {
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
}

.floating-icon-small {
	font-size: 1.2rem;
} */
/* ===== Desktop Floating CTA (Simple Pill) ===== */
.desktop-floating-wrapper {
	position: fixed;
	right: 24px;
	bottom: calc(60px + 1rem);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.desktop-cta-menu {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	padding: 10px 8px;
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* 공통 버튼 리셋 */
.desktop-floating-wrapper .floating-btn {
	all: unset;
	cursor: pointer;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	padding: 12px 10px;

	color: #222;
	font-size: 13px;
	font-weight: 500;
	text-align: center;

	transition:
		background .2s ease,
		color .2s ease,
		transform .2s ease;
}

.desktop-floating-wrapper .floating-btn i,
.desktop-floating-wrapper .floating-btn svg {
	font-size: 18px;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.desktop-floating-wrapper .floating-text {
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
}

.desktop-floating-wrapper .floating-btn+.floating-btn {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.desktop-floating-wrapper .floating-btn:hover {
	/* background: #f4f6f8; */
	transform: translateY(-1px);
}


.desktop-floating-wrapper .btn-warning {
	color: #3a3a3a;
}

.desktop-floating-wrapper .btn-warning:hover {
	color: #191919;
}

.desktop-floating-wrapper .btn-type-phone {
	color: #2f4f8f;
	position: relative;
}

/* .desktop-floating-wrapper .btn-type-phone:hover .phone-popup{
  display:block;
}
.desktip-floating-wrapper .btn-type-phone .phone-popup{
  display:none;
  position:absolute;
  top:50%;
  right:120%;
  transform: translateY(-50%) translateX(10px);
  background: #00000099;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
  white-space: nowrap;
  pointer-events: none;

  transition: opacity .25s ease, transform .25s ease;
} */
.desktop-floating-wrapper .btn-type-online {
	color: #b11226;
}

.desktop-floating-wrapper .btn-warning,
.desktop-floating-wrapper .btn-type-phone,
.desktop-floating-wrapper .btn-type-online {
	background: transparent !important;
	box-shadow: none !important;
}

/* to top 버튼 */
.floating-btn.floating-btn-top {
	margin-top: 4px;

	background: #2f6fd6;
	color: #fff;

	border-radius: 50%;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	padding: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);

	transition:
		transform .2s ease,
		background .2s ease,
		box-shadow .2s ease;

}

.floating-btn-top i {
	font-size: 18px;
}

.floating-btn-top:hover {
	background: #245bb5;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}


.mobile-btn-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #2c3e50;
	height: 100%;
	transition: background-color 0.2s;
	border: 0;
	background-color: #fff;
}

.mobile-btn-item:active {
	background-color: #f8f9fa;
}

.mobile-icon-circle {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: #2c3e50;
}

.mobile-icon-circle i {
	width: 24px;
	height: 24px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
}

.mobile-btn-text {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: -0.5px;
}



/* 반응형 처리: 모바일(md 이하)에서만 하단바 표시 */
@media (max-width: 768px) {
	.floating-btn-top {
		display: none;
	}

	.desktop-floating-wrapper {
		display: none;
	}

	/* 모바일 우측 하단 플로팅 CTA */
	.mobile-floating-wrapper {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;
		display: flex;
		flex-direction: column;
		gap: 10px;
		align-items: flex-end;
		pointer-events: auto;
	}

	.mobile-cta-stack {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		width: 100%;
	}

	.mobile-cta-group {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
		overflow-x: visible;
		min-width: 0;
		box-sizing: border-box;
	}

	.mobile-main-btn {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		padding: 10px 12px;
		background: #ffffff;
		box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.06);
		color: var(--theme-dark);
		font-weight: 700;
		border: 0;
		cursor: pointer;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	#quickConsultBtn {
		border-top-left-radius: var(--radius-md) !important;
		border-right: 1px solid #eaeaea;

	}

	#applyConsultBtn {
		border-top-right-radius: var(--radius-md);
	}

	.mobile-main-btn .mobile-icon-circle {
		width: 28px;
		height: 28px;
		border-radius: 999px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--theme-dark);
		color: #fff;
		flex: 0 0 auto;
	}

	.mobile-main-label {
		font-size: 0.9rem;
	}

	.mobile-submenu {
		display: flex;
		gap: 8px;
		transform-origin: right bottom;
		transition: all .18s ease;
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px) scale(.98);
		pointer-events: none;
		width: 100%;
		font-size: var(--fz-sm);
		white-space: nowrap;
	}

	#applyConsultMenu {
		justify-content: flex-end;
	}

	.mobile-submenu.show {
		opacity: 1;
		visibility: visible;
		transform: translateY(0) scale(1);
		pointer-events: auto;
	}

	.mobile-submenu.show+.mobile-main-btn {
		color: var(--theme-primary);
	}

	.mobile-submenu.show+.mobile-main-btn .mobile-icon-circle {
		background: var(--theme-primary);
	}

	.mobile-sub-btn {
		text-align: right;
		padding: 8px 12px;
		border-radius: 10px;
		background: var(--theme-primary);
		border: 1px solid rgba(0, 0, 0, 0.06);
		box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
		color: #fff;
		font-weight: 600;
	}

	.mobile-sub-btn:hover,
	.mobile-sub-btn:focus {
		color: #fff;
	}

	body {
		padding-bottom: 0;
		/* 기존 하단바 패딩 제거 */
	}

	/* 모바일 하단바가 컨텐츠를 가리지 않도록 body padding 추가 */
	body {
		padding-bottom: var(--mobile-bar-height);
	}
}

.fz-xxl {
	font-size: var(--fz-xxl);
}

.fz-xl {
	font-size: var(--fz-xl);
}

.fz-lg {
	font-size: var(--fz-lg);
}

.fz-md {
	font-size: var(--fz-md);
}

.fz-sm {
	font-size: var(--fz-sm);
}

.fz-tn {
	font-size: var(--fz-tn);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #f3f5f9;
}

::-webkit-scrollbar-thumb {
	background: #324a70;
	border-radius: 4px;
	border: 2px solid #f3f5f9;
}

::-webkit-scrollbar-thumb:hover {
	background: #2b4160;
}

.aTag {
	cursor: pointer;
	color: #0d6efd;
	border: 1px solid #0d6efd;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	padding: 0 1rem;
	font-weight: 700;
	transition: transform 0.2s ease;
}

.aTag::after {
	content: "→";
	margin-left: 0.25rem;
	font-size: inherit;
	display: inline-block;
}

.aTag:hover {
	transform: translateY(-2px);
	color: #3586ff;
	box-shadow: var(--shadow-soft);
}

body {
	/* font-family: "Noto Sans KR", sans-serif; */
	font-family: "Nanum Gothic", sans-serif;
	color: var(--color-text-main);
	background-color: var(--color-bg);
	min-height: 100vh;
}

main {
	min-height: 100vh;
	background-color: #fbfbfb;
	padding-top: 4rem;
}

@media (max-width: 768px) {
	main {
		padding-top: 4rem;
	}

}

/* header & navigation */
#main_header {
	/* min-height: 5rem; */
	color: var(--color-primary);
	background: white;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
#main_header.header-transparent {
	background: transparent;
	color: #fff;
	box-shadow: none;
}

#main_nav {
	color: inherit;
}

.site_title {
	display: flex;
	align-items: center;
	gap: .75rem;
	height: 100%;
	color: inherit;
}

.logo-group {
	display: flex;
	flex-direction: column;
	line-height: 1;
	align-items: center;
	justify-content: flex-end;
	color: inherit;
}

.logo-sub {
	font-size: .85rem;
	font-weight: 500;
	margin-top: 4px;
	color: inherit;
	letter-spacing: 0.12em;
	text-align: center;
	white-space: nowrap;
}

.logo-paths {
	fill: currentColor;
}

a {
	text-decoration: none;
}

.btn,
.btn * {
	white-space: nowrap;
}

@media (max-width: 576px) {

	.btn,
	.btn * {
		white-space: normal;
	}
}

.text-crimson {
	color: var(--color-accent-red) !important;
}

.footer-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 20px;
}

.footer-grid li a {
	color: #ccc;
	text-decoration: none;
}

.footer-grid li a:hover {
	color: #fff;
}

/* NAVBAR -------------------------------------------------- */
@media (min-width: 1200px) {
	#main_nav .submenu-custom {
		display: block;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		/* transition: opacity .18s ease, transform .18s ease, visibility .18s; */
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		padding-left: 1rem;
	}

	#main_nav .submenu-custom .submenu-li {
		display: block;
		width: max-content;
		padding: .25rem 0;
	}

	#main_nav .submenu-a {
		white-space: nowrap;
	}

	#main_nav:hover .submenu-custom {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	#main_nav:hover {
		height: 200px;
		align-items: flex-start;
	}

	#main_nav .nav-item.has-submenu {
		position: relative;
	}
}
	#main_nav .navbar-toggler {
		border: 2px solid transparent;
		background: rgba(255, 255, 255, .5);
	}

@media (max-width:1200px) {
	#main_header {
		color: var(--color-primary) ;
	}
	#main_header:has(.show) {
		box-shadow: none;
		color: var(--color-primary) !important;
	}
	#main_nav .container-xxxl:has(.show),
	#main_nav .container-xxxl:has(.collapsing) {
		background-color: #fff;
		padding-bottom: 1rem;
		/* transition: background-color 0.2s ease, padding 0.2s ease; */
	}

	header:has(.show) .navbar,
	header:has(.collapsing) .navbar {
		background-color: #fff;
		/* transition: background-color 0.2s ease; */
	}

	header:has(.show) *,
	header:has(.collapsing) * {
		z-index: 2;
	}

	header:has(.show)::before,
	header:has(.collapsing)::before {
		content: "";
		position: fixed;
		inset: 0;
		background: #00000091;
		z-index: 1;
		user-select: none;
		/* transition: opacity 0.2s ease; */
		opacity: 1;
	}

	header:has(.collapse:not(.show):not(.collapsing))::before {
		opacity: 0;
		pointer-events: none;
	}

	#main_nav {
		transition: none !important;
	}

	#main_nav .site_title {

		height: fit-content;
	}

	#main_nav:has(.show) {
		height: 100vh;
		align-items: flex-start !important;
	}
	#main_nav .navbar-toggler {
		/* background: #fff; */
	}
	#main_nav>.container-xxxl:has(.show){
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		height: 100vh;
	}

	#mainNavbar,
	#mainNavbar .navbar-nav {
		width: 100%;

	}

	#mainNavbar {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		overflow-y: auto;
		transition:none !important;
	-ms-overflow-style: none;
	scrollbar-width: none;
	}
	
	#mainNavbar::-webkit-scrollbar {
		display: none;
	}

	#main_nav .submenu-custom {
		padding-left: 1rem;
	}

	#main_nav .nav-item {
		width: 100%;
	}

	#main_nav .container-xxxl {
		position: relative;
	}

	#mainNavbar {
		display: none;
	}

	#mainNavbar.show,
	#mainNavbar.collapsing {
		display: block;
	}

	/* Prevent body scrolling when mobile navbar is open */
	body.navbar-open {
		position: fixed;
		left: 0;
		right: 0;
		overflow: hidden;
		width: 100%;
	}

	#main_nav .navbar-toggler {
		position: absolute;
		right: 1rem;
		top: .5rem;
	}

	#main_nav .navbar-nav .nav-link {
		font-size: var(--fz-lg) !important;
	}

	#main_nav .navbar-nav .has-submenu .nav-link {
		border-bottom: 1px solid var(--color-border-subtle);
	}

	#main_nav .submenu-li {
		padding: .4rem 0;
		;
	}
	
	#consultationButton {
		display:none;
	}
}

#main_nav {
	/* min-height: 5rem; */
	/* transition: all 0.3s ease; */
	align-items: flex-start;
}

/* #main_nav.nav-scrolled {
	background-color: #ffffff !important;
	box-shadow: 0 1px 6px rgba(0,0,0,0.08);
} */
#main_nav>.container-xxxl {
	gap: 1rem;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: inherit;
}

#main_nav .navbar-brand {
	letter-spacing: -0.03em;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

#main_nav .navbar-brand-icon {
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background-color: var(--color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 0.9rem;
}

#main_nav .navbar-nav .nav-link {
	font-weight: 500;
	font-size: var(--fz-md);
	padding-inline: 0.85rem;
}

#main_nav .navbar-nav {
	gap: 1rem;
}

#main_nav .navbar-nav .nav-link:hover,
#main_nav .navbar-nav .nav-link:focus {
	opacity: 0.8;
}

#main_nav .navbar-nav .nav-link.active {
	/* color: #090564; */
	font-weight: 800;
	position: relative;
}

#main_nav .navbar-brand,
#main_nav .nav-link,
#main_nav .navbar-toggler-icon {
	color: inherit;
}

#main_nav .navbar-brand-icon i {
	color: #fff;
}

#main_nav .btn-primary {
	mix-blend-mode: normal;
}

#consultationButton {
	font-size: var(--fz-md);
	background: #1D4585;
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px;
	box-shadow: 0 4px 10px rgba(29, 69, 133, 0.25);
}

#consultationButton:hover {
	background: #163A6B;
}

#main_nav .nav-item .submenu-menu .submenu-item {
	font-size: var(--fz-sm);
}



.submenu-menu {
	border-radius: 0.75rem;
	border: 1px solid rgba(31, 41, 55, 0.9);
	box-shadow: var(--shadow-soft);
	padding: 0.4rem;
	font-size: 0.9rem;
	background-color: #fff;
}



.submenu-item {
	border-radius: 0.5rem;
	color: #111;
	list-style: none;
	;
}

.submenu-item:hover {
	background-color: #111827;
	color: var(--color-primary);
}



/* BUTTONS -------------------------------------------------- */
.btn-primary {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	font-weight: 600;
}

.btn-primary:hover {
	background-color: var(--color-primary-soft);
	border-color: var(--color-primary-soft);
}

.btn-outline-primary {
	border-color: #4b5563;
	color: #111;
	font-weight: 500;
	background-color: transparent;
}

.btn-outline-primary:hover {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: #ffffff;
}

.btn-pill {
	border-radius: 999px;
}

/* SECTION -------------------------------------------------- */
.section-padding {
	padding: 15rem 0 10rem;
}

@media (max-width: 768px) {
	.section-padding {
		padding: 2.5rem 0;
	}

	.container {
		padding-left: 1rem;
		padding-right: 1rem;
		max-width: 100%;
		overflow-x: hidden;
	}
}

.section-title {
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 1.2rem;
	color: #fff;
	font-size: clamp(1.25rem, 4vw, 2rem);
}

@media (max-width: 768px) {
	.section-title {
		font-size: var(--fz-lg);
		/* ~22px mapped to --fz-lg */
	}
}

.section-eyebrow {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-surface-soft);
	margin-bottom: 0.5rem;
}

/* PAGE HEADER -------------------------------------------------- */
.page-header {
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* FOOTER -------------------------------------------------- */
#footer {
	background-color: #f0f0f0;
	color: #9ca3af;
	padding: 3rem 0 2rem;
}

#footer h5 {
	color: #1d4585c9;
	font-size: var(--fz-sm);
	margin-bottom: 1rem;
}

#footer p,
#footer a {
	font-size: var(--fz-tn);
	color: #9ca3af;
}

#footer a:hover {
	color: #111;
}

#footer hr {
	border-color: #1f2937;
}

#footer-bottom {
	font-size: var(--fz-md);
	color: #6b7280;
}

/* filter chip, search -------------------------------------------------- */
.filter-chip {
	border-radius: 999px;
	border: 1px solid var(--color-border-subtle);
	color: var(--color-text);
	font-size: var(--fz-md);
	padding: 0.25rem 0.75rem;
}

.filter-chip.active {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: hsl(0, 0%, 100%);
	font-weight: bold;
}

.form-control::placeholder {
	color: var(--color-text-muted);
	opacity: 1;
	font-size: var(--fz-sm);
}

.search {
	display: flex;
	width: min(500px, 100%);
}

.search button {
	margin-left: .1rem;
	white-space: nowrap;
}

.search-inner {
	position: relative;
	border-radius: 999px;
	background-color: #ffffff;
	border-color: var(--color-border-subtle);
	width: min(500px, 100%);
}

.search-inner i {
	position: absolute;
	top: 50%;
	left: 0.7rem;
	transform: translateY(-50%);
	font-size: var(--fz-md);
	color: #6b7280;
}

.search-inner .form-control {
	padding-left: 3rem;
	color: var(--color-text);
	font-size: var(--fz-md);
}

.search .bi-search {
	margin-left: .5rem;
}




/* ************************모달************************ */
.modal-dialog {
	max-height: calc(100% - 3.5rem);
}

.modal-body {
	overflow-y: auto;
	max-height: calc(100vh - 200px);
}

@media (max-width: 576px) {
	.modal-body {
		max-height: 100svh;
	}
}

/* ************************카테고리 뱃지************************ */
.badge-soft {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	font-size: .85rem;
	line-height: 1;
	padding: .35rem .6rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, .06);
	color: #425466;
	background-color: #f7f9fc !important;
}

.badge-soft .badge-icon {
	font-size: .9em;
	opacity: .7;
}

/* 카테고리: 아주 연한 블루 */
.badge-soft-primary {
	color: #1d4585;
	background-color: rgba(29, 69, 133, .06);
	border-color: rgba(29, 69, 133, .12);
}

/* 서브카테고리: 중성 그레이 */
.badge-soft-secondary {
	color: #495057;
	background-color: rgba(73, 80, 87, .06);
	border-color: rgba(73, 80, 87, .12);
}

/******************************** 폼 form  ********************************/
select option:disabled {
	color: #ddd;
}

/******************************** 리스트 ********************************/
.new_badge {
	color: rgb(255, 78, 78);
	font-weight: 900;
	font-size: var(--fz-tn);
	border: 1px solid rgb(255, 78, 78);
	padding: 0 4px;
	border-radius: 4px;
	margin-left: 6px;
}

/******************************** 반응형 ********************************/

@media (max-width: 1200px) {


	#main_nav .navbar-nav .nav-link.active::after {
		width: 100%;
		bottom: 0;
	}
}



/******************************** 드래그 ********************************/

.drag_scroll_wrapper {
	cursor: grab;
	cursor: -webkit-grab;
	overflow-x: auto;
	user-select: none;
}

.drag_scroll_wrapper.active-drag {
	cursor: grabbing;
	cursor: -webkit-grabbing;
}