/* =========================================
   RESET
========================================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	font-family:
		"Pretendard",
		"Noto Sans KR",
		sans-serif;
	background: #f8fafc;
	color: #0f172a;
}

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

ul {
	list-style: none;
}

/* =========================================
   LAYOUT
========================================= */

.front-site-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.front-main {
	flex: 1;
	width: 100%;
}

/* =========================================
   NAVIGATOR
========================================= */

.front-navbar {
	width: 100%;
	height: 72px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.front-navbar-container {
	max-width: 1400px;
	height: 100%;
	margin: 0 auto;
	padding: 0 30px;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

.front-navbar-left {
	display: flex;
	align-items: center;
}

.front-navbar-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.front-navbar-brand-mark {
	width: 42px;
	height: 42px;

	border-radius: 12px;

	background: #2563eb;
	color: #fff;

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

	font-weight: 700;
}

.front-navbar-logo {
	height: 42px;
}

.front-navbar-brand-name {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
}

.front-navbar-center {
	flex: 1;

	display: flex;
	justify-content: center;
}

/* =========================================
   TOP MENU
========================================= */

.front-top-menu {
	display: flex;
	align-items: center;
	gap: 40px;
}

.front-top-menu-link {
	font-size: 15px;
	font-weight: 600;
	color: #475569;
	transition: .2s;
}

.front-top-menu-link:hover {
	color: #2563eb;
}

/* =========================================
   LOGIN
========================================= */

.front-navbar-right {
	display: flex;
	align-items: center;
}

.front-navbar-login {
	background: #2563eb;
	color: #fff;

	padding: 12px 22px;

	border-radius: 10px;

	font-size: 14px;
	font-weight: 700;

	transition: .2s;
}

.front-navbar-login:hover {
	background: #1d4ed8;
}

/* =========================================
   CONTENT
========================================= */

.front-main {
	width: 100%;
}

.front-page-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 60px 30px;
}

/* =========================================
   FOOTER
========================================= */

.front-footer {
	background: #061432;
	color: #fff;
	margin-top: 80px;
}

.front-footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 70px 30px 40px;
}

.front-footer-grid {
	display: grid;
	grid-template-columns:
		2fr 1fr 1fr 1fr;

	gap: 60px;
}

.front-footer-brand {
	display: flex;
	align-items: center;
	gap: 14px;

	margin-bottom: 25px;
}

.front-footer-brand-mark {
	width: 42px;
	height: 42px;

	border-radius: 50%;

	background: #4f6df5;

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

	color: #fff;
	font-weight: 700;
}

.front-footer-brand-name {
	font-size: 24px;
	font-weight: 700;
}

.front-footer-description {
	color: #94a3b8;
	line-height: 1.9;
	margin-bottom: 20px;
}

.front-footer-domain {
	color: #64748b;
}

.front-footer-heading {
	margin-bottom: 25px;
	font-size: 20px;
	font-weight: 700;
}

.front-footer-links {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.front-footer-links a {
	color: #94a3b8;
}

.front-footer-links a:hover {
	color: #ffffff;
}

.front-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.front-footer-contact li {
	display: flex;
	gap: 10px;
	color: #94a3b8;
}

.front-footer-status {
	margin-top: 25px;

	display: inline-block;

	padding: 8px 16px;

	border-radius: 8px;

	background: #10b981;

	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.front-footer-bottom {
	margin-top: 50px;
	padding-top: 25px;

	border-top: 1px solid rgba(255, 255, 255, .1);

	display: flex;
	justify-content: space-between;
	align-items: center;
}

.front-footer-policy {
	display: flex;
	gap: 20px;
}

.front-footer-policy a {
	color: #94a3b8;
}

/* =========================================
   MOBILE NAVIGATION
========================================= */

.front-navbar-mobile-menu {
	display: none;
}

@media (max-width:1100px) {

	.front-navbar {
		height: 64px;
	}

	.front-navbar-container {
		height: 64px;
		padding: 0 15px;

		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.front-navbar-left {
		flex: 1;
	}

	.front-navbar-center {
		display: none;
	}

	.front-navbar-right {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.front-navbar-brand-name {
		font-size: 24px;
	}

	.front-navbar-login {
		padding: 10px 14px;
		font-size: 13px;
	}

	.front-navbar-mobile-menu {
		display: flex;
		align-items: center;
		justify-content: center;

		width: 42px;
		height: 42px;

		border: none;
		background: none;

		font-size: 24px;
		cursor: pointer;
	}

	.front-footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.front-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	/* =========================================
   CMS PAGE
========================================= */

	.front-page-container {
		width: min(calc(100% - 48px),
				1296px);
		margin: 0 auto;
		padding: 80px 0 110px;
	}

	.front-content-header {
		margin-bottom: 44px;
	}

	.front-content-eyebrow {
		margin: 0 0 10px;
		color: #2563eb;
		font-size: 14px;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.front-content-title {
		margin: 0;
		color: #0f172a;
		font-size: clamp(34px,
				5vw,
				56px);
		font-weight: 800;
		line-height: 1.2;
		letter-spacing: -0.05em;
	}

	.front-page-list {
		display: flex;
		flex-direction: column;
		gap: 34px;
	}

	.front-page-article {
		padding: 42px;
		border: 1px solid #e2e8f0;
		border-radius: 18px;
		background: #ffffff;
		box-shadow:
			0 18px 45px rgba(15, 23, 42, 0.06);
	}

	.front-page-article-title {
		margin: 0 0 26px;
		color: #0f172a;
		font-size: 28px;
		font-weight: 800;
		letter-spacing: -0.035em;
	}

	.front-page-thumbnail {
		margin: 0 0 30px;
		overflow: hidden;
		border-radius: 14px;
	}

	.front-page-thumbnail img {
		display: block;
		width: 100%;
		height: auto;
	}

	.front-page-content {
		color: #334155;
		font-size: 16px;
		line-height: 1.85;
	}

	.front-page-content> :first-child {
		margin-top: 0;
	}

	.front-page-content> :last-child {
		margin-bottom: 0;
	}

	.front-page-content img {
		max-width: 100%;
		height: auto;
	}

	.front-page-content table {
		display: block;
		width: 100%;
		overflow-x: auto;
		border-collapse: collapse;
	}

	.front-page-content th,
	.front-page-content td {
		padding: 12px 14px;
		border: 1px solid #e2e8f0;
	}

	@media (max-width: 720px) {
		.front-page-container {
			width: calc(100% - 32px);
			padding: 54px 0 76px;
		}

		.front-content-header {
			margin-bottom: 30px;
		}

		.front-page-article {
			padding: 26px 20px;
			border-radius: 14px;
		}

		.front-page-article-title {
			margin-bottom: 20px;
			font-size: 23px;
		}
	}
}