/* 치료사례 허브(/review/) — 전후사진/자필후기 두 게시판으로 안내하는 카드 2개.
   최신 글 썸네일을 카드 배경으로 깔아 단순 아이콘 카드보다 콘텐츠감 있게 구성.
   본문 콘텐츠가 없는 완전 하드코딩 페이지라 about-content.css 등 기존 콘텐츠 스타일과는
   무관하게 독립적으로 둔다. */

#review-hub-main {
	padding: 28px 16px 64px;
	background: var(--hyoo-bg-soft);
}

.review-hub {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.review-hub__card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--hyoo-border);
	border-radius: 20px;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(30, 24, 20, 0.05);
	transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.review-hub__card:hover {
	border-color: var(--hyoo-accent-light);
	box-shadow: 0 18px 40px rgba(30, 24, 20, 0.12);
	transform: translateY(-4px);
}

/* ── 상단 비주얼 — 최신 글 썸네일을 배경으로, 없으면 그라데이션+아이콘만 ── */
.review-hub__visual {
	position: relative;
	height: 210px;
	display: flex;
	align-items: flex-end;
	padding: 16px;
	background-color: var(--hyoo-bg-soft);
	background-size: cover;
	background-position: center;
}

.review-hub__visual::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(30, 24, 20, 0) 40%, rgba(30, 24, 20, 0.55) 100%);
}

.review-hub__card--photo .review-hub__visual { background-color: #f3e4de; }
.review-hub__card--method .review-hub__visual { background-color: #eef1e6; }

/* 실제 글 썸네일이 없을 때 대신 보여주는 벡터 일러스트(SVG 이미지 생성 도구가 없어
   코드로 직접 그림) — 전후사진은 로즈톤 사진 프레임 2장, 자필후기는 올리브톤 편지지. */
.review-hub__illust {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}

.review-hub__card--photo .review-hub__illust { color: var(--hyoo-accent-rose); }
.review-hub__card--method .review-hub__illust { color: #4e5c36; }

.review-hub__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: transform 0.25s;
}

.review-hub__card--photo .review-hub__icon { color: var(--hyoo-accent-rose); }
.review-hub__card--method .review-hub__icon { color: #4e5c36; }

.review-hub__card:hover .review-hub__icon {
	transform: scale(1.08);
}

.review-hub__icon svg {
	width: 22px;
	height: 22px;
}

/* ── 하단 텍스트 영역 ── */
.review-hub__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 26px 26px;
}

.review-hub__title {
	font-size: 20px;
	font-weight: 800;
	color: var(--hyoo-text);
	letter-spacing: -0.3px;
	margin-bottom: 8px;
}

.review-hub__desc {
	font-size: 14px;
	color: var(--hyoo-text-muted);
	line-height: 1.6;
	word-break: keep-all;
}

.review-hub__note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--hyoo-bg-soft);
	color: var(--hyoo-text-soft);
	font-size: 12px;
}

.review-hub__note--open {
	background: #eef1e6;
	color: #4e5c36;
}

.review-hub__note svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}

.review-hub__cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 18px;
	font-size: 13px;
	font-weight: 700;
	color: var(--hyoo-accent-dark);
	transition: gap 0.2s;
}

.review-hub__cta svg {
	width: 14px;
	height: 14px;
}

.review-hub__card:hover .review-hub__cta {
	gap: 8px;
}

@media (min-width: 768px) {
	#review-hub-main { padding: 48px 24px 88px; }

	.review-hub {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.review-hub__visual { height: 250px; }
}

@media (min-width: 1024px) {
	#review-hub-main { padding: 56px 40px 96px; }
}

@media (max-width: 360px) {
	#review-hub-main { padding: 20px 12px 48px; }

	.review-hub__visual { height: 170px; }
	.review-hub__body { padding: 20px 18px 22px; }
}
