/* 메인 허브 */
.home-hub {
	padding: 10px 0 48px;
	background: linear-gradient(180deg, #eef2f7 0%, #e8ecf4 40%, #f1f3f8 100%);
}

/* 모바일: 다른 페이지(.containerWrapper 10px)와 맞춤 */
@media screen and (max-width: 768px) {
	.home-hub .lay-fixed {
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}
}

/* 히어로 — 카드형 + 악센트 */
.home-hub-hero {
	margin-bottom: 32px;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.home-hub-hero-inner {
	position: relative;
	padding: 28px 24px 26px 28px;
	background: linear-gradient(165deg, #ffffff 0%, #fafbfd 42%, #f4f6fa 100%);
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.05),
		0 20px 40px -16px rgba(15, 23, 42, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(15, 23, 42, 0.06);
	overflow: hidden;
	text-align: center;
}

.home-hub-hero-inner::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: linear-gradient(180deg, #2563eb 0%, #7c3aed 45%, #db2777 100%);
}

@media (min-width: 640px) {
	.home-hub-hero-inner {
		padding: 32px 40px 30px 36px;
	}
}

.home-hub-eyebrow {
	margin: 0 0 10px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #64748b;
}

.home-hub-title {
	margin: 0 0 14px;
	font-size: clamp(1.45rem, 3.5vw, 1.95rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #0f172a;
	line-height: 1.25;
}

.home-hub-desc {
	margin: 0 auto;
	max-width: 38em;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #475569;
}

.home-hub-desc strong {
	color: #1e293b;
	font-weight: 700;
}

.home-hub-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.home-hub-chips li {
	padding: 8px 16px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #334155;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
	border: 1px solid rgba(100, 116, 139, 0.18);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* 세로 스택: 쇼핑 → 링크 → (유머|연예) → 증시 */
.home-hub-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}

.home-card--full {
	width: 100%;
}

.home-boards-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

@media (max-width: 900px) {
	.home-boards-pair {
		grid-template-columns: 1fr;
	}
}

.home-card {
	background: #fff;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(15, 23, 42, 0.06);
	overflow: hidden;
	min-height: 0;
}

.home-card-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: linear-gradient(90deg, #fafbfe 0%, #fff 100%);
	border-bottom: 1px solid #eceff5;
}

.home-card-tit {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #222;
	letter-spacing: -0.02em;
}

.home-card-more {
	font-size: 0.82rem;
	font-weight: 600;
	color: #3b5bdb;
	text-decoration: none;
	white-space: nowrap;
}

.home-card-more:hover {
	text-decoration: underline;
}

.home-card-bd {
	padding: 12px 14px 16px;
}

.home-empty {
	margin: 8px 0;
	padding: 12px;
	text-align: center;
	color: #8892a6;
	font-size: 0.9rem;
	list-style: none;
}

.home-empty--block {
	grid-column: 1 / -1;
	width: 100%;
}

/* 쇼핑 — 전체 너비 그리드 */
.home-shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.home-shop-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	border: 1px solid #eef2f7;
	background: #fcfcfd;
}

.home-shop-row:hover {
	border-color: #dbeafe;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.home-shop-row + .home-shop-row {
	border-top: none;
}

.home-shop-thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	background: #eee;
}

.home-shop-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-shop-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.home-shop-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1e2433;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-shop-sub {
	font-size: 0.75rem;
	color: #7a8499;
}

.home-shop-price {
	font-size: 0.88rem;
	font-weight: 700;
	color: #e03131;
	margin-top: 2px;
}

/* 링크 — 박스 그리드 */
.home-link-boxes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.home-link-box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 14px 14px 16px;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
	border: 1px solid #e8ecf1;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.home-link-box:hover {
	border-color: #c7d2fe;
	box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
	transform: translateY(-2px);
}

.home-link-box-cate {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6366f1;
	padding: 3px 8px;
	background: rgba(99, 102, 241, 0.1);
}

.home-link-box-tit {
	font-size: 0.86rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 게시판 */
.home-brd-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-brd-list li {
	border-bottom: 1px solid #f0f2f7;
}

.home-brd-list li:last-child {
	border-bottom: 0;
}

.home-brd-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 4px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.home-brd-row:hover {
	background: #f4f6fb;
}

.home-brd-thumb {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	overflow: hidden;
	background: #e8eaef;
}

.home-brd-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-brd-tit {
	flex: 1;
	min-width: 0;
	font-size: 0.88rem;
	font-weight: 500;
	color: #222;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-brd-date {
	flex: 0 0 auto;
	font-size: 0.72rem;
	color: #8b93a7;
}

@media (max-width: 480px) {
	.home-brd-date {
		display: none;
	}
}

/* 증시 — 다열 + 8건 */
.home-stock-list {
	list-style: none;
	margin: 0;
	padding: 4px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}

.home-stock-list li {
	border: 1px solid #eef2f7;
	overflow: hidden;
	background: #fcfcfd;
}

.home-stock-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 10px;
	text-decoration: none;
	color: inherit;
	min-height: 52px;
	transition: background 0.15s ease;
}

.home-stock-row:hover {
	background: #f4f6fb;
}

.home-stock-thumb {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	overflow: hidden;
	background: #e8eaef;
}

.home-stock-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-stock-tit {
	flex: 1;
	min-width: 0;
	font-size: 0.86rem;
	font-weight: 500;
	color: #1e2433;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-stock-date {
	flex: 0 0 auto;
	font-size: 0.72rem;
	color: #8b93a7;
}
