@font-face {
	font-family: "Spectral";
	src: url("../assets/fonts/spectral-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Spectral";
	src: url("../assets/fonts/spectral-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Roboto";
	src: url("../assets/fonts/roboto-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Roboto";
	src: url("../assets/fonts/roboto-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Noto Sans KR";
	src: url("../assets/fonts/noto-sans-kr-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Noto Sans KR";
	src: url("../assets/fonts/noto-sans-kr-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--jci-ink: #172a2e;
	--jci-paper: #f5f1e9;
	--jci-white: #ffffff;
	--jci-terracotta: #a64b34;
	--jci-gold: #b69a62;
	--jci-text: #263238;
	--jci-content: 1200px;
	--jci-reading: 42rem;
	--jci-space: 1.5rem;
}

body.jci-body {
	background: var(--jci-paper);
	color: var(--jci-text);
	font-family: "Roboto", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.jci-header {
	background: var(--jci-ink) !important;
	color: var(--jci-white);
	min-height: 0 !important;
	padding: 1rem 0 0.5rem;
}

.jci-header a {
	color: var(--jci-white);
}

.jci-wordmark {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	color: var(--jci-white) !important;
	max-width: 100%;
}

.jci-symbol {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
}

.jci-wordmark__text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	min-width: 0;
}

.jci-wordmark__line,
.jci-wordmark__name {
	font-family: "Spectral", "Noto Serif KR", Georgia, serif;
	white-space: normal;
}

.jci-wordmark__line {
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

.jci-wordmark__name {
	font-size: 1.7rem;
}

.jci-header .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.45);
}

.jci-header .hamburger__icon,
.jci-header .hamburger__icon:before,
.jci-header .hamburger__icon:after {
	background: var(--jci-white);
}

.jci-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: var(--jci-space);
	align-items: center;
	max-width: var(--jci-content);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 0.5rem;
	background: var(--jci-paper);
}

.jci-hero__art svg,
.jci-hero__art img {
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
	display: block;
}

.jci-kicker,
.jci-tagline {
	font-family: "Spectral", "Noto Serif KR", Georgia, serif;
	color: var(--jci-ink);
}

.jci-tagline {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.25;
	margin: 0.2rem 0 0.8rem;
}

.jci-summary,
.jci-narrow,
.article-page .abstract,
.jci-insight p {
	max-width: var(--jci-reading);
}

.jci-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1rem 0;
}

.jci-button {
	display: inline-block;
	background: var(--jci-terracotta);
	color: var(--jci-white) !important;
	text-decoration: none;
	padding: 0.65rem 1rem;
	border: 1px solid var(--jci-terracotta);
}

.jci-button--ghost {
	background: transparent;
	color: var(--jci-ink) !important;
	border-color: var(--jci-ink);
}

.jci-status,
.jci-empty,
.jci-insight__note {
	color: var(--jci-ink);
}

.jci-band {
	padding: 2.25rem 0;
	background: var(--jci-white);
}

.jci-band--paper {
	background: var(--jci-paper);
}

.jci-band h2,
.jci-page h1,
.jci-insight h3 {
	font-family: "Spectral", "Noto Serif KR", Georgia, serif;
	color: var(--jci-ink);
}

.jci-areas {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.jci-areas article,
.jci-cards li,
.jci-insight {
	background: var(--jci-white);
	border-top: 3px solid var(--jci-gold);
	padding: 1rem;
}

.jci-cards {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.jci-meta {
	color: var(--jci-ink);
	font-size: 0.92rem;
}

.jci-insight {
	margin: 1.5rem 0;
}

.jci-insight__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0;
	list-style: none;
}

.jci-insight__areas li {
	border: 1px solid var(--jci-gold);
	padding: 0.15rem 0.45rem;
	font-size: 0.9rem;
}

.jci-footer {
	background: var(--jci-ink);
	color: var(--jci-white);
	padding: 2rem 0;
}

.jci-footer a {
	color: var(--jci-white);
}

.jci-footer__links {
	list-style: none;
	padding: 0;
}

.jci-footer__links li {
	display: inline-block;
	margin-right: 0.9rem;
}

.jci-page {
	padding: 2rem 0 3rem;
}

.jci-area-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1rem 0 1.5rem;
}

.jci-area-nav a {
	color: var(--jci-ink);
	border-bottom: 1px solid var(--jci-gold);
	text-decoration: none;
}

.jci-results {
	list-style: none;
	padding: 0;
}

.jci-results li {
	padding: 0.8rem 0;
	border-bottom: 1px solid rgba(23, 42, 46, 0.15);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--jci-terracotta);
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.jci-areas {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.jci-hero,
	.jci-areas,
	.jci-cards {
		grid-template-columns: 1fr;
	}
	.jci-hero__art {
		order: 2;
	}
	.jci-wordmark__name {
		font-size: 1.35rem;
	}
}
