/**
 * 라우어리셋 목록 페이지 (CPT 허브).
 * `.site-main--lhour-reset-list` + `.site-main--page-hero`
 * Responsive: PC base → 1200 > 1024 > 767
 */

.site-main--lhour-reset-list .page-lhour-reset-list {
	padding: 0 0 100px;
}

.site-main--lhour-reset-list .page-lhour-reset-list > .page-hero {
	margin: 0 0 72px;
}

.page-lhour-reset-list__intro {
	text-align: center;
	margin: 0 auto 56px;
	max-width: 900px;
}

.page-lhour-reset-list__intro-title {
	margin: 0 0 20px;
	font-size: clamp(22px, 3.2vw, 36px);
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-neutral-9, #0a0a0a);
}

.page-lhour-reset-list__intro-body {
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-neutral-5, #737373);
}

.page-lhour-reset-list__intro-body p {
	margin: 0 0 0.75em;
}

.page-lhour-reset-list__intro-body p:last-child {
	margin-bottom: 0;
}

.page-lhour-reset-list__toolbar {
	margin-bottom: 48px;
}

.page-lhour-reset-list__filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: flex-start;
}

.page-lhour-reset-list__filter-item {
	margin: 0;
}

.page-lhour-reset-list__filter-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-neutral-9, #0a0a0a);
	background: var(--color-neutral-1, #fff);
	border: 1px solid var(--color-neutral-3, #ccc);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-lhour-reset-list__filter-link:hover {
	border-color: var(--color-neutral-9, #0a0a0a);
}

.page-lhour-reset-list__filter-item--active .page-lhour-reset-list__filter-link {
	background: var(--color-neutral-9, #0a0a0a);
	color: var(--color-neutral-1, #fff);
	border-color: var(--color-neutral-9, #0a0a0a);
}

.page-lhour-reset-list__grid {
	display: grid;
	gap: 40px 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-lhour-reset-list__cell {
	margin: 0;
}

.page-lhour-reset-list__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.page-lhour-reset-list__card-link:focus-visible {
	outline: 2px solid var(--color-primary, #00b28a);
	outline-offset: 4px;
}

.page-lhour-reset-list__figure {
	margin: 0 0 16px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-neutral-2, #ebebeb);
}

.page-lhour-reset-list__figure--placeholder {
	min-height: 0;
}

.page-lhour-reset-list__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-lhour-reset-list__category {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--color-neutral-4, #999);
	text-transform: none;
	letter-spacing: 0;
}

.page-lhour-reset-list__title {
	margin: 0 0 10px;
	font-size: clamp(17px, 2vw, 20px);
	font-weight: 600;
	line-height: 1.6;
	color: var(--color-neutral-9, #0a0a0a);
}

.page-lhour-reset-list__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-neutral-5, #737373);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.page-lhour-reset-list__empty {
	margin: 48px 0;
	text-align: center;
	font-size: 16px;
	color: var(--color-neutral-5, #737373);
}

.page-lhour-reset-list__more-wrap {
	margin: 48px 0 0;
	text-align: center;
}

.page-lhour-reset-list__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(100%, 400px);
	min-height: 52px;
	padding: 14px 24px;
	font-size: 15px;
	font-weight: 500;
	color: var(--color-neutral-9, #0a0a0a);
	background: var(--color-neutral-1, #fff);
	border: 1px solid var(--color-neutral-3, #ccc);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.page-lhour-reset-list__more:hover {
	border-color: var(--color-neutral-9, #0a0a0a);
}

/* —— 단일 글 (상세) ——
   서버 예전 마크업: .reset-single / .reset-single__* (별칭 선택자 유지) */

.site-main--lhour-reset-single .entry-lhour-reset--single,
.site-main--lhour-reset-single .reset-single {
	padding: 40px 0 100px;
}

.entry-lhour-reset__masthead,
.reset-single__header {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 8px;
}

.entry-lhour-reset__back {
	margin: 0 0 16px;
	text-align: left;
	display: none;
}

.entry-lhour-reset__back-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-neutral-5, #737373);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.entry-lhour-reset__back-link:hover {
	color: var(--color-neutral-9, #0a0a0a);
	border-bottom-color: var(--color-neutral-9, #0a0a0a);
}

.entry-lhour-reset__eyebrow,
.reset-single__eyebrow {
	margin: 0 0 12px;
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-neutral-9, #0a0a0a);
	letter-spacing: 0.02em;
	font-family: var(--font-family-sans);
}

.entry-lhour-reset__headline,
.reset-single__title {
	margin: 0 0 16px;
	font-size: clamp(28px, 4.5vw, 52px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-neutral-9, #0a0a0a);
	text-transform: uppercase;
}

.entry-lhour-reset__meta {
	margin: 0;
}

.entry-lhour-reset__date,
.reset-single__date {
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-neutral-4, #999);
}

.entry-lhour-reset__rule,
.reset-single__rule {
	display: block;
	border: 0;
	height: 1px;
	margin: 28px 0 0;
	background: var(--color-neutral-3, #ccc);
}

.entry-lhour-reset__rule--masthead,
.reset-single__rule {
	max-width: 100%;
}

.entry-lhour-reset__body,
.reset-single__body {
	margin-left: auto;
	margin-right: auto;
}

.entry-lhour-reset__content,
.site-main--lhour-reset-single .reset-single__body.entry-content {
	max-width: 100%;
	font-size: 18px;
	line-height: 1.8;
	color: var(--color-neutral-8, #1e1e1e);
	padding-top: 48px;
}

.entry-lhour-reset__content > *:first-child,
.site-main--lhour-reset-single .reset-single__body.entry-content > *:first-child {
	margin-top: 0;
}

.entry-lhour-reset__content > *:last-child,
.site-main--lhour-reset-single .reset-single__body.entry-content > *:last-child {
	margin-bottom: 0;
}

/* 추천 콘텐츠 */
.entry-lhour-reset__related {
	display: none;
	margin-top: 80px;
	padding: 72px 0 88px;
	background: #f6f6f6;
}

.entry-lhour-reset__related-inner {
	position: relative;
}

.entry-lhour-reset__related-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.entry-lhour-reset__related-title {
	margin: 0;
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-neutral-9, #0a0a0a);
}

.entry-lhour-reset__related-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.entry-lhour-reset__related-prev,
.entry-lhour-reset__related-next {
	position: relative;
	inset: auto;
	margin: 0;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	border: 1px solid var(--color-neutral-3, #ccc);
	background: var(--color-neutral-1, #fff);
	color: var(--color-neutral-9, #0a0a0a);
	transition: border-color 0.2s ease, background 0.2s ease;
}

.entry-lhour-reset__related-prev::after,
.entry-lhour-reset__related-next::after {
	font-size: 14px;
	font-weight: 700;
}

.entry-lhour-reset__related-prev:hover,
.entry-lhour-reset__related-next:hover {
	border-color: var(--color-neutral-9, #0a0a0a);
}

.entry-lhour-reset__related-prev.swiper-button-disabled,
.entry-lhour-reset__related-next.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.entry-lhour-reset__related-rail {
	position: relative;
	margin: 0 -24px;
	padding: 0 24px;
}

.entry-lhour-reset__related-swiper.swiper {
	overflow: visible;
}

.entry-lhour-reset__related-track.swiper-wrapper {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-lhour-reset__related-slide.swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.entry-lhour-reset__related-card {
	height: 100%;
}

.entry-lhour-reset__related-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	background: var(--color-neutral-1, #fff);
	border: 1px solid var(--color-neutral-3, #e0e0e0);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-lhour-reset__related-link:hover {
	border-color: var(--color-neutral-9, #0a0a0a);
	box-shadow: 0 12px 32px rgba(10, 10, 10, 0.06);
}

.entry-lhour-reset__related-link:focus-visible {
	outline: 2px solid var(--color-primary, #00b28a);
	outline-offset: 2px;
}

.entry-lhour-reset__related-figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--color-neutral-2, #ebebeb);
}

.entry-lhour-reset__related-figure--empty {
	min-height: 0;
}

.entry-lhour-reset__related-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-lhour-reset__related-body {
	padding: 20px 22px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.entry-lhour-reset__related-cat {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--color-neutral-4, #999);
}

.entry-lhour-reset__related-card-title {
	margin: 0 0 10px;
	font-size: clamp(16px, 1.6vw, 18px);
	font-weight: 600;
	line-height: 1.6;
	color: var(--color-neutral-9, #0a0a0a);
}

.entry-lhour-reset__related-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-neutral-5, #737373);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.entry-lhour-reset__related-progress.swiper-pagination {
	position: relative;
	margin-top: 28px;
	height: 3px;
	border-radius: 999px;
	background: var(--color-neutral-3, #ddd);
	top: auto !important;
	left: auto !important;
	bottom: auto !important;
	right: auto !important;
	max-width: 100%;
}

.entry-lhour-reset__related-progress.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: var(--color-neutral-9, #0a0a0a);
	border-radius: 999px;
}

/* 이전·다음 글 */
.entry-lhour-reset__post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 48px;
	margin-top: 56px;
	padding-top: 28px;
	margin-left: auto;
	margin-right: auto;
	display: none;
}

.entry-lhour-reset__post-nav-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
	color: inherit;
	min-height: 100%;
	transition: color 0.2s ease;
}

.entry-lhour-reset__post-nav-link:hover {
	color: var(--color-neutral-9, #0a0a0a);
}

.entry-lhour-reset__post-nav-link--next {
	text-align: right;
	align-items: flex-end;
}

.entry-lhour-reset__post-nav-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-neutral-4, #999);
}

.entry-lhour-reset__post-nav-title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--color-neutral-9, #0a0a0a);
}

.entry-lhour-reset__post-nav-link--disabled {
	display: block;
	min-height: 1px;
}

/* --------------------------------------------------------------------------
   Responsive — 1200 > 1024 > 767
   -------------------------------------------------------------------------- */

@media all and (max-width: 1200px) {
	.page-lhour-reset-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}
}

@media all and (max-width: 1023px) {
	.site-main--lhour-reset-list .page-lhour-reset-list {
		padding: 0 0 48px;
	}

	.site-main--lhour-reset-list .page-lhour-reset-list > .page-hero {
		margin: 0 0 48px;
	}

	.page-lhour-reset-list__intro {
		margin-bottom: 40px;
	}

	.page-lhour-reset-list__toolbar {
		margin-bottom: 32px;
	}

	.page-lhour-reset-list__filter-list {
		justify-content: center;
	}

	.site-main--lhour-reset-single .entry-lhour-reset--single,
	.site-main--lhour-reset-single .reset-single {
		padding: 24px 0 64px;
	}

	.entry-lhour-reset__content,
	.site-main--lhour-reset-single .reset-single__body.entry-content {
		padding-top: 32px;
		font-size: 17px;
	}

	.entry-lhour-reset__related {
		margin-top: 56px;
		padding: 56px 0 64px;
	}

	.entry-lhour-reset__related-rail {
		margin: 0 -16px;
		padding: 0 16px;
	}
}

@media all and (max-width: 767px) {
	.page-lhour-reset-list__grid {
		grid-template-columns: 1fr;
	}

	.entry-lhour-reset__post-nav {
		gap: 16px 24px;
		margin-top: 40px;
	}
}
