/*
 * 죽전소식 — 보도기사 · 진료 케이스 · 논문·학술 (2026-11 병원 확정 시안).
 * 수치는 시안 HTML 의 인라인 스타일을 그대로 옮겼다. 헤더·히어로·푸터는 테마 공용 그대로.
 */

.jn {
	--jn-navy: #16305e;
	--jn-line: #e3e6ee;
	--jn-badge-bg: #dfe3f7;
	--jn-badge-fg: #3f4a78;
	--jn-tab: #5f6a94;
	padding: 54px 40px 110px;
	background: #fff;
	color: #222;
	font-family: 'Noto Sans KR', var(--jk-font-body);
}
.jn h1, .jn h2, .jn h3 { font-family: inherit; }
.jn a { color: inherit; text-decoration: none; }
.jn__inner { max-width: 1160px; margin: 0 auto; }
.jn__inner--wide { max-width: 1200px; }

.jn-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--jn-badge-bg);
	color: var(--jn-badge-fg);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
}

.jn-empty { text-align: center; color: #666; padding: 40px 0; margin: 0; }
.jn-empty[hidden] { display: none; }

/* ---- 탭 ---- */
.jn-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 34px; }
.jn-tab {
	background: none; border: 0; padding: 0; cursor: pointer;
	font: inherit; font-size: 15px; color: var(--jn-tab);
}
.jn-tab[aria-pressed="true"] { font-weight: 700; color: #111; }

/* ---- 보도기사 ---- */
.jn-press { padding-top: 60px; }
.jn-press__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.jn-press__total { margin: 0; font-size: 15px; color: #444; }
.jn-press__total strong { color: var(--jn-navy); }
.jn-search {
	display: flex; align-items: center;
	border: 1px solid #cfd5e3; border-radius: 999px; overflow: hidden; background: #fff;
}
.jn-search input {
	border: 0; outline: none; padding: 10px 18px; width: 220px;
	font: inherit; font-size: 14px; background: transparent; color: #222;
}
.jn-search input::-webkit-search-cancel-button { cursor: pointer; }
.jn-search button {
	border: 0; background: var(--jn-navy); color: #fff; padding: 10px 18px;
	font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}

.jn-press__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 30px; }
.jn-pcard {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--jn-line); border-radius: 14px; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
a.jn-pcard:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, .12); color: inherit; }
.jn-pcard__img { aspect-ratio: 645 / 415; overflow: hidden; background: linear-gradient(160deg, #e9edf8 0%, #ccd5ec 100%); }
.jn-pcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jn-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.jn-pcard__body .jn-badge { align-self: flex-start; margin-bottom: 12px; }
.jn-pcard__title {
	margin: 0 0 20px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.6; color: #222;
	min-height: 3.2em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jn-pcard__foot {
	margin-top: auto; display: flex; align-items: center; justify-content: space-between;
	padding-top: 16px; border-top: 1px solid #eceef4;
}
.jn-pcard__date { font-size: 13.5px; color: #555; }
.jn-pcard__more {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; border: 1px solid var(--jn-navy); border-radius: 999px;
	color: var(--jn-navy); font-size: 13px; font-weight: 700;
}

.jn-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 60px; }
.jn-pager a, .jn-pager span { padding: 8px 12px; font-size: 14px; color: #555; }
.jn-pager .jn-pager__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; padding: 0; border-radius: 50%; color: #444;
}
.jn-pager a:hover { color: var(--jn-navy); }
.jn-pager .jn-pager__num.is-on { background: var(--jn-navy); color: #fff; font-weight: 700; }

/* ---- 진료 케이스 ---- */
.jn-cases__grid { display: grid; grid-template-columns: repeat(auto-fit, 270px); gap: 26px; justify-content: center; }
.jn-ccard {
	display: block; background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .09);
	transition: transform .3s ease, box-shadow .3s ease;
}
.jn-ccard[hidden] { display: none; }
.jn-ccard:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, .14); color: inherit; }
.jn-ccard__img {
	margin: 16px 16px 0; height: 240px; border-radius: 8px; overflow: hidden;
	background: linear-gradient(160deg, #e9edf8 0%, #ccd5ec 100%);
}
.jn-ccard__img img { display: block; width: 100%; height: 240px; object-fit: cover; }
.jn-ccard__body { padding: 18px 20px 24px; }
.jn-ccard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.jn-ccard__date { font-size: 13.5px; color: #555; }
.jn-ccard__title { margin: 0 0 14px; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; color: #222; }
.jn-ccard__author { margin: 0; font-size: 13.5px; color: #666; }

/* ---- 진료 케이스 상세 ---- */
.jn-case__inner { max-width: 860px; }
.jn-case__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
	padding-bottom: 22px; margin-bottom: 34px; border-bottom: 1px solid var(--jn-line);
	font-size: 14px; color: #555;
}
.jn-case__author { color: #888; }
.jn-case__entry { max-width: none; font-size: 16px; line-height: 1.85; color: #333; }
.jn-case__entry img { max-width: 100%; height: auto; }
.jn-case__back { margin: 56px 0 0; text-align: center; }
.jn-case__back a {
	display: inline-block; padding: 12px 34px; border: 1px solid var(--jn-navy); border-radius: 999px;
	color: var(--jn-navy); font-size: 15px; font-weight: 700;
}
.jn-case__back a:hover { background: var(--jn-navy); color: #fff; }

/* ---- 논문·학술 ---- */
.jn-row {
	display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
	padding: 26px 12px; border-bottom: 1px solid var(--jn-line);
}
.jn-row[hidden] { display: none; }
a.jn-row:hover { background: #f6f8fc; color: inherit; }
.jn-row__badge {
	flex: 0 0 auto; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 84px; height: 28px; padding: 0 14px; line-height: 1; text-align: center;
}
.jn-row__main { flex: 999 1 420px; min-width: 0; }
.jn-row__title { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; color: #222; }
.jn-row__sub { margin: 0; font-size: 13.5px; color: #666; line-height: 1.6; }
.jn-row__sub em { font-style: italic; }
.jn-row__date { flex: 0 0 auto; font-size: 13.5px; color: #555; }

@media (max-width: 860px) {
	.jn { padding: 40px 16px 80px; }
	.jn-search { width: 100%; }
	.jn-search input { flex: 1; width: auto; min-width: 0; }
	.jn-cases__grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
