:root {
	--jnp-ink: #0d1b2a;
	--jnp-muted: #667085;
	--jnp-line: #dfe3e8;
	--jnp-paper: #ffffff;
	--jnp-canvas: #f5f7fa;
	--jnp-accent: #d92332;
	--jnp-navy: #0f2c4c;
}

.jnp-portal,
.jnp-portal * {
	box-sizing: border-box;
}

.jnp-portal {
	width: min(1260px, calc(100% - 40px));
	margin: 0 auto;
	padding: 24px 0 72px;
	color: var(--jnp-ink);
	font-family: "Noto Sans KR", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jnp-topline {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	padding: 10px 18px;
	background: var(--jnp-paper);
	border: 1px solid #e7eaee;
	border-left: 4px solid var(--jnp-accent);
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(15, 44, 76, .04);
	font-size: 14px;
}

.jnp-topline strong {
	color: var(--jnp-accent);
	font-size: 12px;
	letter-spacing: .12em;
}

.jnp-topline span {
	color: #4d5968;
	font-weight: 600;
}

.jnp-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 28px;
	padding: 54px 0 28px;
	border-bottom: 2px solid var(--jnp-ink);
}

.jnp-eyebrow,
.jnp-intro .jnp-eyebrow {
	margin: 0 0 10px;
	color: var(--jnp-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
}

.jnp-intro h1 {
	margin: 0;
	font-size: clamp(38px, 5vw, 62px);
	font-weight: 850;
	letter-spacing: -.055em;
	line-height: 1.06;
}

.jnp-intro > div > p:last-child {
	margin: 16px 0 0;
	color: var(--jnp-muted);
	font-size: 16px;
}

.jnp-category-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	max-width: 520px;
}

.jnp-category-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 13px;
	color: #344054;
	background: var(--jnp-paper);
	border: 1px solid var(--jnp-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.jnp-category-nav a:hover {
	color: #fff;
	background: var(--jnp-navy);
	border-color: var(--jnp-navy);
}

.jnp-category-nav .jnp-submit-link {
	color: #fff;
	background: var(--jnp-accent);
	border-color: var(--jnp-accent);
}

.jnp-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(300px, .95fr);
	gap: 22px;
	padding: 30px 0 0;
}

.jnp-hero-side {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.jnp-hero-card,
.jnp-section-card {
	min-width: 0;
	overflow: hidden;
	background: var(--jnp-paper);
	border: 1px solid #e5e9ee;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(15, 44, 76, .055);
	transition: transform .18s ease, box-shadow .18s ease;
}

.jnp-hero-card:hover,
.jnp-section-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(15, 44, 76, .11);
}

.jnp-card-media {
	display: block;
	overflow: hidden;
	background: #e8edf3;
	text-decoration: none;
}

.jnp-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .28s ease;
}

.jnp-card-media:hover img {
	transform: scale(1.018);
}

.jnp-hero-card.is-large .jnp-card-media {
	aspect-ratio: 16 / 8.4;
}

.jnp-hero-side .jnp-hero-card {
	display: block;
}

.jnp-hero-side .jnp-card-media {
	height: auto;
	min-height: 0;
	aspect-ratio: 1.91 / 1;
}

.jnp-hero-side .jnp-card-body {
	padding: 14px 16px 16px;
}

.jnp-hero-side .jnp-chip {
	margin-bottom: 7px;
}

.jnp-card-body {
	padding: 18px 20px 20px;
}

.jnp-hero-card.is-large .jnp-card-body {
	padding: 24px 28px 28px;
}

.jnp-chip {
	display: inline-flex;
	margin: 0 0 11px;
	color: var(--jnp-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
	text-decoration: none;
}

.jnp-hero-card h2,
.jnp-section-card h3 {
	margin: 0;
	letter-spacing: -.035em;
}

.jnp-hero-card h2 {
	font-size: clamp(20px, 2.2vw, 34px);
	line-height: 1.27;
}

.jnp-hero-side h2 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 19px;
	line-height: 1.35;
}

.jnp-hero-side .jnp-source {
	margin-top: 9px;
}

.jnp-hero-card h2 a,
.jnp-section-card h3 a {
	color: var(--jnp-ink);
	text-decoration: none;
}

.jnp-source {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 13px 0 0;
	color: #7b8492;
	font-size: 12px;
}

.jnp-source span {
	color: #344054;
	font-weight: 700;
}

.jnp-source time::before {
	content: "·";
	margin-right: 9px;
	color: #c2c7cf;
}

.jnp-excerpt {
	margin: 15px 0 0;
	color: #596474;
	font-size: 15px;
	line-height: 1.75;
}

.jnp-placeholder {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	padding: 28px;
	color: #fff;
	background: linear-gradient(135deg, #0f2c4c, #164f7f);
}

.jnp-placeholder strong {
	font-size: 25px;
	letter-spacing: -.04em;
}

.jnp-placeholder small {
	margin-top: 5px;
	opacity: .72;
}

.jnp-trending {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 28px;
	margin: 34px 0 8px;
	padding: 25px 28px;
	background: var(--jnp-navy);
	border-radius: 16px;
	color: #fff;
}

.jnp-trending h2 {
	margin: 0;
	font-size: 21px;
	letter-spacing: -.025em;
}

.jnp-trending h2 span {
	display: block;
	margin-bottom: 5px;
	color: #ff6572;
	font-size: 11px;
	letter-spacing: .15em;
}

.jnp-trending-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px 28px;
}

.jnp-trending-list a {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	color: #fff;
	font-size: 13px;
	line-height: 1.45;
	text-decoration: none;
}

.jnp-trending-list a strong {
	color: #ff6572;
	font-size: 11px;
	letter-spacing: .08em;
}

.jnp-trending-list a span {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.jnp-news-section {
	padding: 48px 0 0;
}

.jnp-news-section > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
	padding-bottom: 13px;
	border-bottom: 2px solid var(--jnp-ink);
}

.jnp-news-section > header > div {
	display: flex;
	align-items: center;
	gap: 11px;
}

.jnp-news-section > header > div > span {
	width: 5px;
	height: 24px;
	background: var(--jnp-accent);
	border-radius: 5px;
}

.jnp-news-section h2 {
	margin: 0;
	font-size: 25px;
	font-weight: 850;
	letter-spacing: -.04em;
}

.jnp-news-section > header > a {
	color: #4c5867;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.jnp-section-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.jnp-section-card .jnp-card-media {
	aspect-ratio: 16 / 9;
}

.jnp-section-card .jnp-card-body {
	padding: 15px 16px 18px;
}

.jnp-section-card .jnp-source {
	margin: 0 0 9px;
}

.jnp-section-card h3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 17px;
	line-height: 1.45;
}

.jnp-article-source {
	margin: 52px 0 20px;
	padding: 25px 28px;
	background: #f6f8fb;
	border: 1px solid #dde3ea;
	border-left: 5px solid var(--jnp-navy);
	border-radius: 12px;
}

.jnp-article-source .jnp-source-label {
	margin: 0 0 5px;
	color: var(--jnp-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
}

.jnp-article-source h2 {
	margin: 0 0 18px;
	font-size: 22px;
}

.jnp-article-source dl,
.jnp-article-source dl div {
	margin: 0;
}

.jnp-article-source dl div {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 12px;
	margin-top: 8px;
}

.jnp-article-source dt {
	color: #667085;
	font-weight: 700;
}

.jnp-article-source dd {
	margin: 0;
}

.jnp-original-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 20px;
	padding: 11px 15px;
	color: #fff !important;
	background: var(--jnp-navy);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.jnp-article-source > p:last-child {
	margin: 16px 0 0;
	color: #667085;
	font-size: 13px;
}

.jnp-submit-wrap,
.jnp-submit-wrap * {
	box-sizing: border-box;
}

.jnp-submit-wrap {
	width: min(920px, calc(100% - 40px));
	margin: 0 auto;
	padding: 64px 0 80px;
	color: var(--jnp-ink);
	font-family: "Noto Sans KR", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jnp-submit-wrap > h1 {
	margin: 0;
	font-size: clamp(36px, 6vw, 58px);
	line-height: 1.08;
	letter-spacing: -.055em;
}

.jnp-submit-lead {
	max-width: 720px;
	margin: 18px 0 32px;
	color: var(--jnp-muted);
	font-size: 16px;
	line-height: 1.75;
}

.jnp-submit-notice {
	margin: 26px 0;
	padding: 22px 24px;
	background: #f1f5f9;
	border: 1px solid #d9e1ea;
	border-left: 5px solid var(--jnp-navy);
	border-radius: 12px;
}

.jnp-submit-notice.is-success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	border-left-color: #15803d;
}

.jnp-submit-notice.is-error {
	background: #fff7ed;
	border-color: #fed7aa;
	border-left-color: #c2410c;
}

.jnp-submit-notice strong {
	display: block;
	font-size: 18px;
}

.jnp-submit-notice p {
	margin: 7px 0 0;
	color: #596474;
	line-height: 1.7;
}

.jnp-submit-form {
	padding: 30px;
	background: #fff;
	border: 1px solid #dfe4ea;
	border-radius: 16px;
	box-shadow: 0 12px 38px rgba(15, 44, 76, .07);
}

.jnp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.jnp-form-grid p {
	margin: 0;
}

.jnp-form-grid .is-wide {
	grid-column: 1 / -1;
}

.jnp-form-grid label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 750;
}

.jnp-form-grid label span {
	color: var(--jnp-accent);
}

.jnp-form-grid input,
.jnp-form-grid select,
.jnp-form-grid textarea {
	width: 100%;
	margin: 0;
	padding: 12px 13px;
	color: var(--jnp-ink);
	background: #fff;
	border: 1px solid #cfd6df;
	border-radius: 9px;
	font: inherit;
	font-size: 15px;
}

.jnp-form-grid textarea {
	min-height: 300px;
	line-height: 1.7;
	resize: vertical;
}

.jnp-form-grid input:focus,
.jnp-form-grid select:focus,
.jnp-form-grid textarea:focus {
	border-color: #4b6f96;
	box-shadow: 0 0 0 3px rgba(20, 64, 107, .12);
	outline: none;
}

.jnp-form-grid small {
	display: block;
	margin-top: 7px;
	color: #7a8492;
	font-size: 12px;
}

.jnp-agreement {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 24px 0 20px;
	color: #4d5968;
	font-size: 13px;
	line-height: 1.65;
}

.jnp-agreement input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex: 0 0 auto;
}

.jnp-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px;
	color: #fff !important;
	background: var(--jnp-navy);
	border: 0;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
}

.jnp-submit-button:hover {
	background: #173e66;
}

.jnp-honeypot {
	position: absolute !important;
	left: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.jnp-my-submissions {
	margin-top: 38px;
}

.jnp-my-submissions h2 {
	margin: 0 0 14px;
	font-size: 22px;
}

.jnp-my-submissions ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--jnp-line);
}

.jnp-my-submissions li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 2px;
	border-bottom: 1px solid var(--jnp-line);
}

.jnp-my-submissions li strong {
	flex: 0 0 auto;
	padding: 5px 9px;
	color: #8a4b08;
	background: #fff7ed;
	border-radius: 999px;
	font-size: 11px;
}

.jnp-my-submissions li strong.is-publish {
	color: #166534;
	background: #f0fdf4;
}

@media (max-width: 1020px) {
	.jnp-intro { grid-template-columns: 1fr; }
	.jnp-category-nav { justify-content: flex-start; max-width: none; }
	.jnp-hero-grid { grid-template-columns: 1fr; }
	.jnp-hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
	.jnp-hero-side .jnp-hero-card { display: block; }
	.jnp-hero-side .jnp-card-media { min-height: 0; aspect-ratio: 1.91 / 1; }
	.jnp-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.jnp-portal { width: min(100% - 24px, 1260px); padding-top: 12px; }
	.jnp-topline { align-items: flex-start; }
	.jnp-intro { padding-top: 38px; }
	.jnp-category-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
	.jnp-category-nav a { flex: 0 0 auto; }
	.jnp-hero-side { grid-template-columns: 1fr; }
	.jnp-hero-card.is-large .jnp-card-body { padding: 20px; }
	.jnp-hero-card h2 { font-size: 24px; }
	.jnp-trending { grid-template-columns: 1fr; padding: 22px; }
	.jnp-trending-list { grid-template-columns: 1fr; }
	.jnp-section-grid { grid-template-columns: 1fr; }
	.jnp-news-section { padding-top: 38px; }
	.jnp-article-source { padding: 22px 20px; }
	.jnp-submit-wrap { width: min(100% - 24px, 920px); padding: 42px 0 60px; }
	.jnp-submit-form { padding: 22px 18px; }
	.jnp-form-grid { grid-template-columns: 1fr; }
	.jnp-form-grid .is-wide { grid-column: auto; }
}
