/*==================================================
    Base
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	position: relative;
	margin: 0;
	overflow-x: hidden;
	background: #ffffff;
	color: #111111;
	font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

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

button,
input,
select,
textarea {
	font-family: inherit;
}

/*==================================================
    Footer
==================================================*/
#footer {
	padding-bottom: 30px;
	border-top: 1px solid #cfcfcf;
	background: #ffffff;
	color: #a1a1a1;
}

#footer .wrapper {
	max-width: 1280px;
	margin: 0 auto;
}

#footer .footer-in {
	position: relative;
	padding: 10px 0 0 208px;
}

#footer .footer-logo {
	position: absolute;
	left: 40px;
	top: 36px;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1px;
	opacity: .92;
}

#footer a {
	color: rgba(255,255,255,.82);
}

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

.footer-info li {
	display: inline-block;
	margin-right: 10px;
	font-size: .88rem;
}

.footer-info li:first-child {
	font-weight: 500;
}

.copyright {
	margin-top: 10px;
	padding-left: 40px;
	font-size: .83rem;
	color: rgba(255,255,255,.58);
}

/*==================================================
    Header
==================================================*/
.site-header {
	height: 60px;
	border-bottom: 1px solid #cfcfcf;
	background: #ffffff;
}

.site-header-inner {
	width: 100%;
	max-width: 1280px;
	height: 60px;
	margin: 0 auto;
	padding: 0 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo-link {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-weight: 900;
	letter-spacing: -1px;
}

.logo-main,
.logo-sub {
	font-size: 30px;
	line-height: 1;
}

.logo-main {
	color: #2563eb;
}

.logo-sub {
	color: #111111;
}

.site-logo-link em {
	position: absolute;
	left: 35px;
	top: 37px;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	color: #555555;
	letter-spacing: -.2px;
}

.site-nav-list {
	display: flex;
	align-items: center;
	gap: 44px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav-list a {
	position: relative;
	font-size: 17px;
	font-weight: 600;
	color: #111111;
	letter-spacing: -.25px;
}

.site-nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -7px;
	height: 1px;
	background: #111111;
	transition: right .2s ease;
}

.site-nav-list a:hover::after {
	right: 0;
}

/*==================================================
    Program Page
==================================================*/
.program-page {
	position: relative;
	overflow: hidden;
	background: #ffffff;
}

.program-page::before {
	display: none;
}

.program-page > * {
	position: relative;
	z-index: 1;
}

.program-demo {
	padding: 28px 0 20px;
}

.program-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 42px;
}

/*==================================================
    Title
==================================================*/
.demo-title-area {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-bottom: 16px;
	padding: 12px 0 14px;
}

.demo-title-area h2 {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 34px;
	color: #111111;
}

.demo-title-sub {
	display: inline-block;
	font-size: 20px;
	line-height: 25px;
	font-weight: 700;
	color: #111111;
	white-space: nowrap;
	letter-spacing: -.5px;
}

.demo-title-sub strong {
	margin-left: 4px;
	/*font-size: 19px;*/
	font-weight: 700;
	color: #ff1818;
}

.program-heading strong,
.section-kicker {
	color: #111111;
}
.demo-title-area {
	font-family: "Noto Sans KR", sans-serif;
}

.demo-title-area .demo-title-sub {
	font-family: "Noto Sans KR", sans-serif;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.demo-title-area h2 {
	font-family: "Noto Sans KR", sans-serif;

}
/*==================================================
    Shell
==================================================*/
.demo-shell {
	padding: 0 0 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

/*==================================================
    Primary Menu
==================================================*/
.primary-menu-grid {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 10px;
	margin-bottom: 15px;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.primary-menu-card {
	position: relative;
	min-height: 40px;
	padding: 0 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	background: #4d8bc6;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	transition: all .18s ease;
}

.primary-menu-card:hover {
	background: #427fb8;
}

.primary-menu-card.active {
	background: #f7cade;
	border: 0;
	box-shadow: none;
}

.primary-menu-card.active::after {
	display: none;
}

.primary-menu-icon {
	display: none;
}

.primary-menu-name,
.primary-menu-card .primary-menu-name {
	font-size: 15px;
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	letter-spacing: -.45px;
	transition: color .18s ease;
}

.primary-menu-card.active .primary-menu-name {
	color: #222222;
}

/* Theme classes are intentionally neutralized because menu icons are hidden. */
.theme-blue,
.theme-cyan,
.theme-indigo,
.theme-emerald,
.theme-teal,
.theme-violet,
.theme-purple,
.theme-amber,
.theme-rose,
.theme-sky {
	color: inherit;
}

/*==================================================
    Secondary Menu
==================================================*/
.secondary-menu-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 15px;
	padding: 3px 22px;
	background: #76828f;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
}

.secondary-menu-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 35px;
	padding: 0 18px;
	background: transparent;
	border: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	/*letter-spacing: -.3px;*/
	color: #ffffff;
	cursor: pointer;
	transition: color .18s ease;
}

.secondary-menu-item + .secondary-menu-item {
	position: relative;
}

.secondary-menu-item + .secondary-menu-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 14px;
	background: rgba(255,255,255,.28);
	transform: translateY(-50%);
}

.secondary-menu-item:hover,
.secondary-menu-item.active {
	color: #ffffff;
}

.secondary-menu-icon {
	display: none;
	font-size: 13px;
}

.secondary-menu-item.active {
	position: relative;
	font-weight: 700;
}

.secondary-menu-item.active::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: #ffffff;
}

/*==================================================
    Board
==================================================*/
.demo-board {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 36px;
	padding: 30px 32px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	box-shadow: none;
}

/*==================================================
    Left Info
==================================================*/
.demo-info-panel {
	padding-right: 30px;
	border-right: 1px solid #cfcfcf;
}

.demo-info-panel h2 {
	margin: 0;
	font-size: 25px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -1.2px;
	color: #111111;
}

.demo-info-panel p {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.75;
	letter-spacing: -.5px;
	color: #333333;
}

.demo-feature-list {
	margin: 58px 0 0;
	padding: 0;
	list-style: none;
}

.demo-feature-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 500;
	color: #222222;
}

.demo-feature-list li i {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: #4d8bc6;
	color: #ffffff;
	font-size: 11px;
}

/*==================================================
    Right Screen
==================================================*/
.demo-screen-panel {
	min-width: 0;
	background: #ffffff;
}

.preview-header {
	margin-bottom: 14px;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.4px;
	color: #111111;
}

.preview-thumb-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	margin-bottom: 20px;
}

.preview-thumb-card {
	padding: 0;
	overflow: hidden;
	border: 1px solid #d6d6d6;
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	cursor: pointer;
}

.preview-thumb-card:hover,
.preview-thumb-card.active {
	border-color: #111111;
	box-shadow: none;
}

.preview-thumb-card.image-missing img {
	display: none;
}

.preview-thumb-card.image-missing::before {
	content: "이미지 준비중";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80px;
	background: #f5f5f5;
	color: #666666;
	font-size: 13px;
	font-weight: 800;
}

.preview-thumb-card img {
	display: block;
	width: 100%;
	height: 70px;
	object-fit: contain;
	object-position: center;
	background: #ffffff;
}

.preview-thumb-card span {
	display: block;
	height: 26px;
	padding: 0 8px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	font-size: 13px;
	line-height: 26px;
	font-weight: 400;
	letter-spacing: -.5px;
	color: #333333;
}

.main-image-frame {
	overflow: hidden;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	background: #ffffff;
}

.main-image-frame.image-missing {
	position: relative;
	min-height: 390px;
}

.main-image-frame.image-missing::before {
	content: attr(data-label) " 이미지 준비중";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: #666666;
	font-size: 18px;
	font-weight: 800;
}

.main-image-frame.image-missing img {
	display: none;
}

.main-image-frame img {
	display: block;
	width: 100%;
	height: 440px;
	object-fit: contain;
	object-position: top;
	background: #ffffff;
}

.demo-board a:hover,
.demo-screen-panel a:hover,
.program-page a:hover {
	color: #111111;
}

/*==================================================
    Responsive
==================================================*/
@media (max-width: 1280px) {
	.program-container {
		padding: 0 30px;
	}

	.primary-menu-grid {
		grid-template-columns: repeat(5, 1fr);
	}

	.demo-board {
		grid-template-columns: 330px minmax(0, 1fr);
		gap: 26px;
	}

	.secondary-menu-item {
		padding: 0 16px;
	}
}

@media (max-width: 960px) {
	.site-header {
		height: auto;
	}

	.site-header-inner {
		height: auto;
		min-height: 60px;
		padding-top: 16px;
		padding-bottom: 16px;
		flex-wrap: wrap;
		gap: 14px;
	}

	.site-nav {
		width: 100%;
	}

	.site-nav-list {
		justify-content: center;
		gap: 24px;
	}

	.demo-title-area {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 22px;
		text-align: center;
	}

	.demo-title-sub {
		/*height: 34px;*/
		padding: 0 14px;
		font-size: 13px;
	}

	.demo-title-sub strong {
		font-size: 15px;
	}

	.primary-menu-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.secondary-menu-bar {
		gap: 8px;
		padding: 12px;
		margin-bottom: 18px;
	}

	.secondary-menu-item {
		width: auto;
		height: 36px;
		padding: 0 14px;
		background: transparent;
		border: 1px solid rgba(255,255,255,.28);
		border-radius: 0;
		font-size: 14px;
		color: rgba(255,255,255,.72);
		box-shadow: none;
	}

	.secondary-menu-item + .secondary-menu-item::before {
		display: none;
	}

	.secondary-menu-item:hover,
	.secondary-menu-item.active {
		color: #ffffff;
		border-color: #ffffff;
	}

	.secondary-menu-item.active::after {
		left: 12px;
		right: 12px;
		bottom: 4px;
	}

	.demo-board {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 24px;
	}

	.demo-info-panel {
		padding-right: 0;
		padding-bottom: 22px;
		border-right: 0;
		border-bottom: 1px solid #d8d8d8;
	}

	.demo-feature-list {
		margin-top: 28px;
	}

	.preview-thumb-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.main-image-frame img {
		height: 320px;
	}
}

@media (max-width: 837px) {
	#footer .footer-in {
		padding: 20px 0 0;
	}

	#footer .footer-logo {
		display: none;
	}

	.footer-info li:first-child {
		display: block;
	}
}

@media (max-width: 560px) {
	.program-demo {
		padding-top: 18px;
		padding-bottom: 34px;
	}

	.program-container {
		padding: 0 16px;
	}

	.site-header-inner {
		padding-left: 18px;
		padding-right: 18px;
	}

	.logo-main,
	.logo-sub {
		font-size: 26px;
	}

	.site-nav-list {
		gap: 18px;
		overflow-x: auto;
		white-space: nowrap;
		justify-content: flex-start;
		padding-bottom: 4px;
	}

	.site-nav-list a {
		font-size: 15px;
	}

	.demo-title-area h2 {
		font-size: 28px;
		letter-spacing: -.6px;
	}

	.primary-menu-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.secondary-menu-bar {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 10px;
	}

	.secondary-menu-item {
		flex: 0 0 auto;
		width: auto;
		font-size: 13px;
	}

	.demo-board {
		padding: 18px;
		border-radius: 0;
	}

	.demo-info-panel h2 {
		font-size: 30px;
	}

	.demo-info-panel p {
		margin-top: 14px;
		font-size: 15px;
		line-height: 1.65;
	}

	.demo-feature-list li {
		margin-bottom: 14px;
		font-size: 15px;
	}

	.demo-screen-panel {
		padding: 0;
	}

	.preview-thumb-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.preview-thumb-card img {
		height: 58px;
	}

	.preview-thumb-card span {
		font-size: 12px;
	}

	.main-image-frame img {
		height: 240px;
	}
}


/* =========================================================
   CSS CHECK PATTERN
   이미지 없이 만드는 체크 패턴
   ========================================================= */

/* 1. 타이틀 영역 - 연한 회색 마름모 패턴 */
.demo-title-area {
	background-color: #f8f8f8;
	background-image:
			repeating-linear-gradient(
					45deg,
					rgba(0, 0, 0, .018) 0,
					rgba(0, 0, 0, .018) 8px,
					transparent 8px,
					transparent 16px
			),
			repeating-linear-gradient(
					-45deg,
					rgba(0, 0, 0, .018) 0,
					rgba(0, 0, 0, .018) 8px,
					transparent 8px,
					transparent 16px
			);
}


/* 2. 설명 영역 - 연한 하늘색 마름모 패턴 */
.demo-board {
	background-color: #FAFCFE;
	background-image:
			repeating-linear-gradient(
					45deg,
					rgba(77, 139, 198, .018) 0,
					rgba(77, 139, 198, .018) 8px,
					transparent 8px,
					transparent 16px
			),
			repeating-linear-gradient(
					-45deg,
					rgba(77, 139, 198, .018) 0,
					rgba(77, 139, 198, .018) 8px,
					transparent 8px,
					transparent 16px
			);
}
.demo-screen-panel {
	background: transparent;
}