@charset "utf-8";

/* 공통 게시글 목록: column, sunkyung_news, press, news_review */

/* Featured Column */
.column-featured-card {
	flex: 1;
	border-radius: var(--radius-xl);
	background-color: var(--color-surface);
	border: 1px solid var(--color-border-subtle);
	padding: 1.4rem 1.4rem 1.2rem;
	box-shadow: var(--shadow-soft);
}

.column-featured-label {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	margin-bottom: 0.3rem;
}

.column-featured-title {
	font-size: var(--fz-lg);
	margin-bottom: 0.4rem;
}


.column-featured-title a:hover {
	color: var(--color-primary);
}

.column-featured-meta {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
}

.column-featured-excerpt {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	margin-bottom: 0.6rem;
}

.column-featured-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

/* LIST SECTION */
.column-list-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 1000px;
	padding: 5rem 0;

}

.column-list-section .container {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Toolbar */
.column-toolbar {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
	.column-toolbar {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.column-toolbar-left {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}


.column-toolbar-right {
	display: flex;
	justify-content: flex-start;
}

@media (min-width: 768px) {
	.column-toolbar-right {
		justify-content: flex-end;
	}
}

/* Column cards */
.column-card-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (max-width:768px) {
	.column-card-list {
		padding-bottom: 3rem;
	}
}


/* ===== 카드 전체 ===== */
.column-card {
	display: block;
	text-decoration: none;
	border-radius: 16px;
	padding: 1.5rem 1.6rem;
	background: var(--color-surface);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: all .2s ease;
	border: 1px solid var(--color-border-subtle);
}

.column-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

/* ===== topic pill 라벨 ===== */
.column-card-topic-pill {
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--color-primary-subtle);
	color: var(--color-primary);
	font-size: var(--fz-sm);
	font-weight: 600;
	margin-right: .5rem;
	white-space: nowrap;
}

/* ===== 제목 ===== */
.column-card-title {
	font-size: var(--fz-lg);
	font-weight: 700;
	color: var(--color-text-main);
	line-height: 1.45;
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.9rem;
	flex-direction: column;
	gap: .8rem;
	display: inline-block;
	align-items: center;;
}



/* ===== 메타 정보 ===== */
.column-card-meta {
	font-size: var(--fz-sm);
	color: var(--color-text-sub);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 0.8rem;
	opacity: .9;
}

/* ===== 요약 텍스트 ===== */
.column-card-excerpt {
	font-size: var(--fz-sm);
	line-height: 1.65;
	color: var(--color-text-main);
	margin-bottom: 1.2rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	/* 기존 2줄에서 여유롭게 */
	-webkit-box-orient: vertical;
}

/* ===== 태그 영역 ===== */
.column-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 1.5rem;
}

.column-tag {
	/* padding: 0.16rem 0.55rem;
	border-radius: 999px;
	border: 1px solid var(--color-text-sub); */
	/* background: var(--color-surface); */
	font-size: var(--fz-tn);
	/* color: var(--color-primary); */
	color: var(--color-text-sub);
	font-weight: 500;
}



/* pagination */
.column-pagination {
	display: flex;
	justify-content: center;
	margin-top: auto;
	gap: 0.4rem;
}

.column-pagination .page-link {
	background-color: #020617;
	border-color: #374151;
	color: #e5e7eb;
}

.column-pagination .page-item.active .page-link {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

/* READ HERO */
.column-read-hero {
	background-color: #020617;
	border-bottom: 1px solid var(--color-border-subtle);
	padding-bottom: 2rem;
}

.column-breadcrumb {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	margin-bottom: 0.8rem;
}

.column-breadcrumb ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.column-breadcrumb li::after {
	content: ">";
	margin-left: 0.35rem;
	color: #4b5563;
}

.column-breadcrumb li:last-child::after {
	content: "";
}

.column-breadcrumb a {
	color: var(--color-text-sub);
}

.column-breadcrumb a:hover {
	color: var(--color-primary);
}

.column-read-header {
	max-width: 880px;
}

.column-read-topic {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	margin-bottom: 0.25rem;
}

.column-read-title {
	font-size: var(--fz-xl);
	letter-spacing: -0.04em;
	margin-bottom: 0.6rem;
}

.column-read-meta {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: var(--fz-md);
	color: var(--color-text-sub);
}

@media (min-width: 768px) {
	.column-card-title {
		flex-direction: row;
		align-items: center;
	}

	.column-read-meta {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.column-read-meta .author .name {
	color: #f9fafb;
	font-weight: 500;
}

/* READ LAYOUT */
.column-read-section {
	background-color: #020617;
	padding-top: 2.5rem;
}

.column-read-layout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 992px) {
	.column-read-layout {
		flex-direction: row;
		align-items: flex-start;
	}
}

/* article */
.column-article {
	flex: 2;
	border-radius: var(--radius-lg);
	background-color: var(--color-surface);
	border: 1px solid var(--color-border-subtle);
	padding: 1.8rem 1.7rem;
	box-shadow: var(--shadow-soft);
}

.column-article-block+.column-article-block {
	margin-top: 1.3rem;
}

.column-article-subtitle {
	font-size: var(--fz-md);
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: #f9fafb;
}

.column-article-subsubtitle {
	font-size: var(--fz-md);
	font-weight: 600;
	margin-bottom: 0.25rem;
	color: #e5e7eb;
}

.column-article-text {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	margin-bottom: 0.75rem;
	line-height: 1.8;
}

.column-article-list {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
	padding-left: 1rem;
}

.column-article-list li {
	margin-bottom: 0.35rem;
}

/* SIDE */
.column-side {
	flex: 1.2;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (max-width: 991.98px) {
	.column-side {
		order: -1;
	}
}

.column-side-title {
	font-size: var(--fz-md);
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #f9fafb;
}

.column-author-card,
.column-meta-card,
.column-reco-card {
	border-radius: var(--radius-lg);
	background-color: var(--color-surface);
	border: 1px solid var(--color-border-subtle);
	padding: 1.3rem 1.3rem;
	box-shadow: var(--shadow-soft);
	font-size: var(--fz-md);
	color: var(--color-text-sub);
}

.column-author-name {
	font-weight: 600;
	color: #f9fafb;
	margin-bottom: 0.25rem;
}

.column-author-role {
	margin-bottom: 0.4rem;
}

/* meta */
.column-meta-list {
	list-style: none;
	padding: 0;
	margin: 0 0 0.6rem 0;
}

.column-meta-list li {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.3rem;
}

.column-meta-list .label {
	font-size: var(--fz-md);
	color: #9ca3af;
}

.column-meta-list .value {
	color: #e5e7eb;
}

/* reco */
.column-reco-list {
	list-style: disc;
	padding-left: 1.1rem;
	margin-bottom: 0.6rem;
}

.column-reco-list li {
	margin-bottom: 0.25rem;
}

.column-side-link {
	font-size: var(--fz-md);
	color: var(--color-primary);
}

/* footer nav */
.column-read-footer {
	max-width: 880px;
	margin: 1.8rem auto 0;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

@media (min-width: 768px) {
	.column-read-footer {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.column-read-prevnext {
	font-size: var(--fz-md);
	color: var(--color-text-sub);
}

.column-read-prevnext .label {
	display: inline-block;
	min-width: 70px;
	color: #6b7280;
}

.column-read-prevnext a {
	color: #e5e7eb;
}

.column-read-prevnext a:hover {
	color: var(--color-primary);
}

.column-read-actions {
	text-align: left;
}



/* 리스트 빈 상태 */
.list-empty {
	width: 100%;
	margin-top: 10px;
}

.list-empty-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 44px 18px;
	border-radius: 16px;
	border: 1px solid var(--color-border-subtle);
}

.list-empty-icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;

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

	font-size: 20px;
	background: rgba(59, 130, 246, 0.10);
	border: 1px solid rgba(59, 130, 246, 0.18);
	margin-bottom: 12px;
}

.list-empty-title {
	margin: 0 0 8px;
	font-size: var(--fz-lg);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-text-main);
}

.list-empty-desc {
	margin: 0;
	font-size: var(--fz-sm);
	line-height: 1.7;
	color: var(--color-text-sub);
}

.list-empty-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

.list-empty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 14px;
	border-radius: 10px;

	font-size: 13px;
	font-weight: 800;
	text-decoration: none;

	color: var(--color-text-primary-btn);
	background: var(--color-primary);
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.list-empty-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 18px rgba(17, 24, 39, 0.10);
	color: #fff;
}

.list-empty-btn.is-ghost {
	color: rgba(17, 24, 39, 0.88);
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.14);
}

/* main_sunkyung column list */
@font-face {
	font-family: "ChosunNm";
	src: url("/assets/fonts/ChosunNm.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.column-insight-page {
	--green: #006134;
	--pale: #e6ece9;
	--soft: #f6f8f7;
	--ink: #07110c;
	color: var(--ink);
	background: #fff;
}

:where(body:not(.theme-sunkyung)) .column-insight-page .page-head {
	padding: 82px 20px 82px;
	border-bottom: 1px solid var(--pale);
	/* background: linear-gradient(180deg, #f3f7f5 0%, #fff 100%); */
	text-align: center;
}

.column-insight-page .breadcrumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 auto;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--green);
	color: #fff;
	font-size: 13px;
}

.column-insight-page .breadcrumb span:last-child {
	color: #fff;
}

:where(body:not(.theme-sunkyung)) .column-insight-page .page-head h1 {
	margin: 25px 0 0;
	font-family: "ChosunNm", "Noto Sans KR", "Malgun Gothic", sans-serif;
	font-size: clamp(45px, 5vw, 72px);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -.045em;
}

:where(body:not(.theme-sunkyung)) .column-insight-page .page-head-copy {
	max-width: 720px;
	margin: 22px auto 0;
	color: #53635b;
	font-size: 17px;
	line-height: 30px;
	word-break: keep-all;
}

.column-insight-page .insight-shell {
	width: min(100% - 40px, 1180px);
	margin: 0 auto;
	padding: 74px 0 120px;
}

.column-insight-page .insight-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 32px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--ink);
}

.column-insight-page .search-form {
	position: relative;
	flex: 0 0 292px;
}

.column-insight-page .search-input {
	width: 100%;
	height: 44px;
	padding: 0 82px 0 15px;
	border: 0;
	border-bottom: 1px solid #9aa8a0;
	outline: 0;
	background: #fff;
	color: var(--ink);
	font-size: 14px;
}

.column-insight-page .search-input:focus {
	border-color: var(--green);
}

.column-insight-page .search-input::placeholder {
	color: #8b9790;
}

.column-insight-page .search-button,
.column-insight-page .insight-search-reset {
	position: absolute;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--green);
	font-size: 18px;
}

.column-insight-page .search-button {
	right: 0;
}

.column-insight-page .insight-search-reset {
	right: 38px;
}

.column-insight-page .search-result-summary {
	margin-top: 28px;
}

.column-insight-page .list-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 28px 16px 0;
	color: #76837c;
	font-size: 13px;
}

.column-insight-page .list-summary strong {
	color: var(--green);
	font-weight: 600;
}

.column-insight-page .insight-list {
	margin-top: 10px;
	border-top: 1px solid var(--pale);
}

.column-insight-page .insight-card {
	border-bottom: 1px solid var(--pale);
}

.column-insight-page .insight-card-link {
	display: grid;
	grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
	gap: 46px;
	align-items: center;
	padding: 34px 0;
	color: inherit;
	text-decoration: none;
}

.column-insight-page .insight-thumbnail {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--soft);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.column-insight-page .insight-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.column-insight-page .insight-card-link:hover .insight-thumbnail img {
	transform: scale(1.035);
}

.column-insight-page .insight-content {
	min-width: 0;
}

.column-insight-page .insight-category {
	margin: 0;
	color: var(--green);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
}

.article-list-page--column .insight-category--pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	letter-spacing: normal;
}

.article-list-page--column .insight-category__pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 12px;
	border: 1px solid rgba(var(--color-primary-rgb), .16);
	border-radius: 999px;
	background: rgba(var(--color-primary-rgb), .08);
	color: var(--color-primary);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.article-list-page--column .insight-category__pill--sub {
	background: var(--color-surface);
}

.column-insight-page .insight-title {
	margin: 13px 0 0;
	font-family: "ChosunNm", "Noto Sans KR", "Malgun Gothic", sans-serif;
	font-size: clamp(24px, 2.35vw, 34px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: -.035em;
	word-break: keep-all;
	transition: color .2s ease;
}

.column-insight-page .insight-title .new_badge {
	display: inline-flex;
	vertical-align: .2em;
	margin-left: 6px;
}

.column-insight-page .insight-card-link:hover .insight-title {
	color: var(--green);
}

.column-insight-page .insight-hashtags {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	margin: 22px 0 0;
	color: #77857d;
	font-size: 13px;
	line-height: 22px;
}

.column-insight-page .insight-hashtags span::before {
	content: "#";
	margin-right: 2px;
	color: #9baba2;
}

.column-insight-page .insight-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 28px 0 0;
	color: #89948e;
	font-size: 12px;
}

.column-insight-page .insight-meta strong {
	color: #52625a;
	font-weight: 500;
}

.column-insight-page .insight-meta i {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #abb5af;
}

.column-insight-page .list-empty {
	border-bottom: 1px solid var(--pale);
}

.column-insight-page .list-empty-inner {
	border: 0;
	border-radius: 0;
}

@media (max-width: 800px) {
	:where(body:not(.theme-sunkyung)) .column-insight-page .page-head {
		padding: 140px 20px 58px;
	}

	:where(body:not(.theme-sunkyung)) .column-insight-page .page-head-copy {
		font-size: 15px;
		line-height: 26px;
	}

	.column-insight-page .insight-shell {
		padding-top: 50px;
		padding-bottom: 82px;
	}

	.column-insight-page .insight-tools {
		align-items: stretch;
		flex-direction: column;
		gap: 22px;
	}

	.column-insight-page .search-form {
		flex-basis: auto;
		width: 100%;
	}

	.column-insight-page .insight-card-link {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 30px 0 34px;
	}

	.column-insight-page .insight-title {
		font-size: 26px;
	}

	.column-insight-page .insight-hashtags {
		margin-top: 16px;
	}

	.column-insight-page .insight-meta {
		margin-top: 19px;
	}
}

/* 선경 v2 목록: 넓은 행, 큰 제목, 절제된 색과 구분선. */
body.theme-sunkyung .column-insight-page {
	--green: var(--sk-color-brand);
	--pale: var(--sk-color-border);
	--soft: var(--sk-color-surface);
	--ink: var(--sk-color-ink);
}

.theme-sunkyung .column-insight-page .insight-shell {
	width: calc(100% - var(--sk-gutter) * 2);
	max-width: var(--sk-width-content);
	padding: var(--sk-space-block) 0 var(--sk-space-section);
}

.theme-sunkyung .column-insight-page .insight-tools {
	padding-bottom: 24px;
	border-color: var(--sk-color-border);
}

.theme-sunkyung .column-insight-page .search-form {
	flex-basis: 360px;
	max-width: 100%;
}

.theme-sunkyung .column-insight-page .search-input {
	height: 56px;
	border: 1px solid var(--sk-color-border);
	border-radius: var(--sk-radius-control);
	background: var(--sk-color-surface);
	font-size: var(--sk-font-small);
}

.theme-sunkyung .column-insight-page .search-input:focus {
	outline: 2px solid var(--sk-color-brand);
	outline-offset: 3px;
}

.theme-sunkyung .column-insight-page :is(.search-button, .insight-search-reset) {
	height: 56px;
}

.theme-sunkyung .column-insight-page .list-summary {
	margin: 28px 0 16px;
	color: var(--sk-color-muted);
	font-size: var(--sk-font-body);
	padding: 8px 16px;
	border-color: var(--sk-color-border);
}

.theme-sunkyung .column-insight-page .insight-card-link {
	grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
	gap: var(--sk-space-block);
	padding-block: var(--sk-space-card);
}

.theme-sunkyung .column-insight-page .insight-thumbnail {
	border-radius: var(--sk-radius-card);
}

.theme-sunkyung .column-insight-page .insight-title {
	margin-top: 18px;
	font-family: var(--sk-font-family);
	font-size: var(--sk-font-subheading);
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.theme-sunkyung .column-insight-page :is(.insight-hashtags, .insight-meta) {
	color: var(--sk-color-muted);
	font-size: var(--sk-font-small);
}

.theme-sunkyung .column-insight-page .insight-pagination {
	margin-top: var(--sk-space-block);
}

.theme-sunkyung .column-insight-page .insight-card-link:focus-visible {
	outline: 2px solid var(--sk-color-brand);
	outline-offset: 4px;
}

@media (max-width: 800px) {
	.theme-sunkyung .column-insight-page .search-form {
		flex-basis: auto;
	}
	.theme-sunkyung .column-insight-page .insight-card-link {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}
