/* 매거진 홈 템플릿 전용 스타일 */

#reboot-magazine-home {
	--reboot-ink: #0a0a0a;
	--reboot-sub: #44474c;
	--reboot-muted: #6d6d6d;
	--reboot-border: #e6e6e6;
	--reboot-bg-soft: #f7f7f5;
	color: var(--reboot-ink);
}

#reboot-magazine-home .reboot-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

#reboot-magazine-home section {
	padding: 72px 0;
}

#reboot-magazine-home .reboot-eyebrow {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--reboot-muted);
	margin: 0 0 8px;
}

#reboot-magazine-home .reboot-section-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 32px;
}

#reboot-magazine-home .reboot-btn {
	display: inline-block;
	padding: 14px 28px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
}

#reboot-magazine-home .reboot-btn--dark {
	background: var(--reboot-ink);
	color: #fff;
	border: none;
	cursor: pointer;
}
#reboot-magazine-home .reboot-btn--dark:hover {
	background: #262626;
	color: #fff;
}

/* 1. 히어로 */
#reboot-magazine-home .reboot-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

#reboot-magazine-home .reboot-hero__title {
	font-size: 40px;
	line-height: 1.25;
	font-weight: 800;
	margin: 0 0 20px;
}

#reboot-magazine-home .reboot-hero__desc {
	color: var(--reboot-sub);
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 32px;
}

#reboot-magazine-home .reboot-hero__media img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

/* 히어로 Vapour Text 효과 */
#reboot-magazine-home .reboot-vapor {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #0a0a0a;
	border-radius: 6px;
	overflow: hidden;
}

#reboot-magazine-home .reboot-vapor__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

#reboot-magazine-home .reboot-vapor__sr-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 2. 카테고리 쇼케이스 */
#reboot-magazine-home .reboot-categories__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

#reboot-magazine-home .reboot-category-card {
	display: block;
	border: 1px solid var(--reboot-border);
	border-radius: 6px;
	padding: 24px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
#reboot-magazine-home .reboot-category-card:hover {
	border-color: var(--reboot-ink);
	transform: translateY(-2px);
}

#reboot-magazine-home .reboot-category-card__tag {
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	color: var(--reboot-muted);
	margin-bottom: 12px;
}

#reboot-magazine-home .reboot-category-card__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

#reboot-magazine-home .reboot-category-card__desc {
	font-size: 14px;
	color: var(--reboot-sub);
	margin: 0 0 16px;
}

#reboot-magazine-home .reboot-category-card__arrow {
	font-weight: 700;
}

/* 3. 최신 글 */
#reboot-magazine-home .reboot-latest__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

#reboot-magazine-home .reboot-post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 16px;
	background: var(--reboot-bg-soft);
}
#reboot-magazine-home .reboot-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
#reboot-magazine-home .reboot-post-card__media-placeholder {
	width: 100%;
	height: 100%;
}

#reboot-magazine-home .reboot-post-card__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
}
#reboot-magazine-home .reboot-post-card__title a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#reboot-magazine-home .reboot-post-card__excerpt {
	font-size: 14px;
	color: var(--reboot-sub);
	line-height: 1.7;
	margin: 0;
}

/* 4. 자주 읽은 글 / 카테고리 */
#reboot-magazine-home .reboot-lists {
	background: var(--reboot-bg-soft);
}

#reboot-magazine-home .reboot-lists__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
}

#reboot-magazine-home .reboot-list-block__title {
	font-size: 14px;
	font-weight: 700;
	padding-bottom: 12px;
	margin: 0 0 4px;
	border-bottom: 2px solid var(--reboot-ink);
}

#reboot-magazine-home .reboot-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

#reboot-magazine-home .reboot-list__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--reboot-border);
	font-size: 14px;
}

#reboot-magazine-home .reboot-list__index {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color: var(--reboot-muted);
	width: 20px;
	flex: none;
}

#reboot-magazine-home .reboot-list__label {
	flex: 1;
	color: inherit;
	text-decoration: none;
}
#reboot-magazine-home .reboot-list__label:hover {
	text-decoration: underline;
}

#reboot-magazine-home .reboot-list__count {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color: var(--reboot-muted);
}

/* 5. 뉴스레터 */
#reboot-magazine-home .reboot-newsletter {
	background: #f2f2f0;
}

#reboot-magazine-home .reboot-newsletter__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 48px;
}

#reboot-magazine-home .reboot-newsletter__mark {
	font-size: 96px;
	color: #d8d8d4;
	text-align: center;
}

#reboot-magazine-home .reboot-newsletter__title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 12px;
}

#reboot-magazine-home .reboot-newsletter__desc {
	color: var(--reboot-sub);
	font-style: italic;
	margin: 0 0 24px;
}

#reboot-magazine-home .reboot-newsletter-form {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

#reboot-magazine-home .reboot-newsletter-form input[type="email"] {
	flex: 1;
	padding: 14px 16px;
	border: 1px solid var(--reboot-border);
	border-radius: 4px;
	font-size: 14px;
}

#reboot-magazine-home .reboot-newsletter-status {
	min-height: 20px;
	font-size: 13px;
	color: var(--reboot-muted);
	margin: 0 0 16px;
}

#reboot-magazine-home .reboot-newsletter__meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--reboot-muted);
}
#reboot-magazine-home .reboot-newsletter__meta a {
	color: var(--reboot-ink);
	text-decoration: none;
	font-weight: 600;
}

/* 반응형 */
@media (max-width: 900px) {
	#reboot-magazine-home .reboot-hero__grid,
	#reboot-magazine-home .reboot-categories__grid,
	#reboot-magazine-home .reboot-latest__grid,
	#reboot-magazine-home .reboot-lists__grid,
	#reboot-magazine-home .reboot-newsletter__grid {
		grid-template-columns: 1fr;
	}

	#reboot-magazine-home .reboot-hero__media {
		order: -1;
	}

	#reboot-magazine-home .reboot-newsletter__mark {
		display: none;
	}
}
