@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* ==============================================================
   1. 사상체질 페이지(.page-view) 단독 스코프 & 확대된 스케일 변수(--u)
      - 기본 폰트 크기를 18px로 대폭 키우고, 상단 메뉴 가림 방지용 여백 추가
   ============================================================== */
.page-view,
.page-view * {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.page-view {
	--u: 18px; /* 글자 크기와 전체 비율을 시원하게 키움 */
	font-size: var(--u);
	background-color: #FFFFFF;
	color: #1E293B;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif !important;
	word-break: keep-all;
	letter-spacing: -0.025em;
	line-height: 1.75;
	text-align: left !important;
	width: 100%;
	clear: both;
	/* 상단 고정 메뉴에 가리지 않도록 상단 여백 확보 */
	margin-top: 150px; 
}

@media (max-width: 767px) {
	.page-view {
		--u: 16px;
		margin-top: 0px;
	}
}

.page-view img {
	margin-bottom: 0 !important;
	border: 0;
	vertical-align: middle;
}

.page-view ul,
.page-view li {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ==============================================================
   2. 4대 체질 테마 컬러 토큰
   ============================================================== */
.page-view.theme-ty {
	--color-primary: #EE5765;
	--color-primary-dark: #C93B49;
	--color-primary-light: #FDF2F3;
	--color-sub: #E5B85C;
	--color-sub-dark: #C4963A;
	--color-sub-light: #FDF9EE;
	--color-gradient-hero: linear-gradient(135deg, #EE5765 0%, #E96E6A 50%, #E5B85C 100%);
	--accent-border: rgba(238, 87, 101, 0.28);
}

.page-view.theme-te {
	--color-primary: #59B569;
	--color-primary-dark: #3F964E;
	--color-primary-light: #F2FAF4;
	--color-sub: #55B5D6;
	--color-sub-dark: #3795B6;
	--color-sub-light: #F1F9FC;
	--color-gradient-hero: linear-gradient(135deg, #59B569 0%, #54B59E 50%, #55B5D6 100%);
	--accent-border: rgba(89, 181, 105, 0.28);
}

.page-view.theme-sy {
	--color-primary: #9B68CA;
	--color-primary-dark: #7F4CAE;
	--color-primary-light: #F8F4FD;
	--color-sub: #7EA9E8;
	--color-sub-dark: #5888D1;
	--color-sub-light: #F3F7FD;
	--color-gradient-hero: linear-gradient(135deg, #9B68CA 0%, #8C8BE0 50%, #7EA9E8 100%);
	--accent-border: rgba(155, 104, 202, 0.28);
}

.page-view.theme-se {
	--color-primary: #3D86E2;
	--color-primary-dark: #2267C2;
	--color-primary-light: #F0F5FD;
	--color-sub: #48C2B0;
	--color-sub-dark: #2EA593;
	--color-sub-light: #EFFBF9;
	--color-gradient-hero: linear-gradient(135deg, #3D86E2 0%, #43A7C9 50%, #48C2B0 100%);
	--accent-border: rgba(61, 134, 226, 0.28);
}

/* ==============================================================
   3. 메인 래퍼
   ============================================================== */
.page-view .main-wrapper {
	width: 100%;
	max-width: calc(58.125 * var(--u));
	margin: 0 auto;
	padding: calc(4 * var(--u)) calc(1.25 * var(--u)) calc(5.5 * var(--u));
	display: flex;
	flex-direction: column;
	gap: calc(3.5 * var(--u));
}

@media (max-width: 767px) {
	.page-view .main-wrapper {
		padding: calc(2.5 * var(--u)) calc(1.5 * var(--u)) calc(4 * var(--u));
		gap: calc(2.5 * var(--u));
	}
}

/* ==============================================================
   4. 상단 히어로 배너 (그림자 제거)
   ============================================================== */
.page-view .hero-banner-clean {
	border-radius: calc(1.75 * var(--u));
	background: var(--color-gradient-hero);
	color: #FFFFFF;
	padding: calc(3 * var(--u)) calc(2.75 * var(--u));
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: calc(2.25 * var(--u));
	box-shadow: none !important; /* 드롭섀도우 제거 */
	border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
	.page-view .hero-banner-clean {
		/* 👇 여기서부터 7줄이 새로 추가된 부분 */
		margin-top: calc(-2.5 * var(--u));
		margin-left: calc(-1.5 * var(--u));
		margin-right: calc(-1.5 * var(--u));
		border-radius: 0;
		border-left: none;
		border-right: none;
		border-top: none;
		
		/* 👇 아래는 원래 있던 코드 그대로 유지 */
		flex-direction: column;
		align-items: flex-start;
		padding: calc(2 * var(--u)) calc(1.5 * var(--u));
		gap: calc(1.5 * var(--u));
	}
}

.page-view .hero-content {
	position: relative;
	z-index: 10;
	flex: 1;
}

.page-view .hero-tag-clean {
	display: inline-flex;
	align-items: center;
	gap: calc(0.5 * var(--u));
	padding: calc(0.45 * var(--u)) calc(1 * var(--u));
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.22);
	color: #FFFFFF;
	font-size: calc(0.9 * var(--u));
	font-weight: 700;
	margin-bottom: calc(1.25 * var(--u));
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.page-view .hero-title-clean {
	font-size: calc(2.5 * var(--u));
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 calc(1.15 * var(--u)) 0;
	letter-spacing: -0.03em;
	color: #FFFFFF;
}

@media (max-width: 767px) {
	.page-view .hero-title-clean {
		font-size: calc(2 * var(--u));
	}
}

.page-view .hero-title-clean small {
	font-size: calc(1.35 * var(--u));
	font-weight: 600;
	opacity: 0.92;
	margin-left: calc(0.5 * var(--u));
	color: #FFFFFF;
}

.page-view .hero-desc-clean {
	font-size: calc(1.05 * var(--u));
	line-height: 1.8;
	opacity: 0.96;
	margin: 0;
	color: #FFFFFF;
	font-weight: 400;
}

.page-view .hero-badge-clean {
	position: relative;
	z-index: 10;
	background: #FFFFFF;
	border-radius: calc(1.375 * var(--u));
	padding: calc(1.6 * var(--u)) calc(1.75 * var(--u));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: calc(10.25 * var(--u));
	box-shadow: none !important; /* 그림자 제거 */
	border: 1px solid #E2E8F0;
}

.page-view .hero-badge-icon-box {
	width: calc(3.5 * var(--u));
	height: calc(3.5 * var(--u));
	border-radius: calc(1 * var(--u));
	background-color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: calc(0.75 * var(--u));
}

.page-view .hero-badge-icon {
	width: calc(2.1 * var(--u));
	height: calc(2.1 * var(--u));
	color: #FFFFFF;
}

.page-view .hero-badge-clean span {
	font-size: calc(1 * var(--u));
	font-weight: 800;
	color: #0F172A;
}

/* ==============================================================
   5. 카드 및 그리드 요소 (그림자 제거 및 여백 정리)
   ============================================================== */
.page-view .section-block-clean {
	display: flex;
	flex-direction: column;
	gap: calc(1.375 * var(--u));
}


@media (max-width: 767px) {
	/* 서브페이지(sub02~05) 전용 여백 추가 */
	.page-view:not(#view-home) .section-block-clean {
		margin-top: 1.5rem; /* 원하는 여백만큼 수치 조절 */
	}
	
	.page-view:not(#view-home) .features-grid-clean {
		gap: 2.5rem; /* 특성 1, 2 사이의 간격 */
	}
}


.page-view .section-header-group {
	display: flex;
	flex-direction: column;
	gap: calc(0.35 * var(--u));
	margin-bottom: 0.2rem;
}

.page-view .section-kicker {
	font-size: calc(0.825 * var(--u));
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-primary);
}

.page-view .section-kicker-sub {
	color: var(--color-sub-dark);
}

.page-view .section-title-clean {
	display: flex;
	align-items: center;
	gap: calc(0.75 * var(--u));
	font-size: calc(1.65 * var(--u));
	font-weight: 800;
	color: #0F172A;
	margin: 0;
	line-height: 1.3;
}

.page-view .title-num {
	width: calc(2.125 * var(--u));
	height: calc(2.125 * var(--u));
	border-radius: 50%;
	background-color: var(--color-primary);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: calc(1 * var(--u));
	font-weight: 800;
	flex-shrink: 0;
}

.page-view .title-num-sub {
	background-color: var(--color-sub);
}

.page-view .features-grid-clean {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(1.5 * var(--u));
	align-items: stretch;
}

@media (max-width: 767px) {
	.page-view .features-grid-clean {
		grid-template-columns: 1fr;
		gap: calc(1.5 * var(--u));
	}
}

.page-view .card-pure-white {
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: calc(1.5 * var(--u));
	padding: calc(2 * var(--u)) calc(1.875 * var(--u));
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: none !important; /* 그림자 제거 */
}

.page-view .jangbu-badge-clean {
	display: inline-flex;
	align-items: center;
	background-color: var(--color-primary);
	color: #FFFFFF;
	border-radius: 9999px;
	padding: calc(0.45 * var(--u)) calc(1.15 * var(--u));
	font-weight: 700;
	font-size: calc(0.95 * var(--u));
	margin-bottom: calc(1.25 * var(--u));
	width: fit-content;
}

.page-view .detail-list-clean {
	display: flex;
	flex-direction: column;
	gap: calc(0.4 * var(--u));
}

.page-view .detail-list-clean li {
	position: relative;
	padding-left: calc(1.1 * var(--u)); /* 텍스트 시작 위치를 점 쪽으로 당김 */
	font-size: calc(1.03 * var(--u));
	line-height: 1.75;
	color: #334155;
}

/* 메인 컬러 점 (Feature 01 등에 적용) */
.page-view .detail-list-clean li::before {
	content: "";
	position: absolute;
	left: calc(0.35 * var(--u)); /* 비율 계산식으로 정확한 위치 지정 */
	top: calc(0.75 * var(--u));   /* 글자 줄높이에 맞춰 안전하게 중앙 정렬 */
	width: calc(0.32 * var(--u) / 18 * 16);
	height: calc(0.32 * var(--u) / 18 * 16);
	border-radius: 50%;
	background-color: var(--color-primary); /* 메인 컬러 */
}

/* 서브 컬러 점 (Feature 02 및 4번 성격 등에 적용) */
.page-view .detail-list-sub li::before {
	background-color: var(--color-sub) !important; /* 서브 컬러로 확실하게 분리 */
}


/* ==============================================================
   6. 3번 체형 및 외모
   ============================================================== */
.page-view .bodytype-image-box {
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: calc(30 * var(--u));
	border-radius: calc(1.5 * var(--u));
	background-color: #F8FAFC;
	border: 1px solid #E2E8F0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 0.5rem;
}

.page-view .bodytype-image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-view .bodytype-grid-clean {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: calc(0.875 * var(--u));
}

@media (max-width: 640px) {
	.page-view .bodytype-grid-clean {
		grid-template-columns: 1fr;
	}
}

.page-view .bodytype-row-clean {
	display: flex;
	align-items: center;
	gap: calc(0.875 * var(--u));
	padding: calc(1.125 * var(--u)) calc(1.25 * var(--u));
	border-radius: calc(1rem * var(--u) / 18 * 16 + 2px);
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
}

.page-view .bodytype-badge-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.7rem; 
	border-radius: 9999px;
	background-color: var(--color-primary-light);
	border: 1px solid var(--accent-border);
	color: var(--color-primary-dark);
	font-size: 1.4rem;
	font-weight: 700;
	flex-shrink: 0;
	white-space: nowrap;
	line-height: 1.4;
}

.page-view .bodytype-text-clean {
	font-size: calc(0.98 * var(--u));
	line-height: 1.65;
	color: #334155;
}

/* ==============================================================
   7. 5번 미병 상태
   ============================================================== */
.page-view .mibyeong-split-box {
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: calc(1.5 * var(--u));
	overflow: hidden;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	position: relative;
	min-height: calc(26 * var(--u));
}

@media (max-width: 767px) {
	.page-view .mibyeong-split-box {
		flex-direction: column;
		min-height: auto;
	}
}

.page-view .mibyeong-text-col {
	flex: 1;
	max-width: 65%;
	padding: calc(2.25 * var(--u)) calc(2rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 10;
	position: relative;
	background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.96) 65%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 767px) {
	.page-view .mibyeong-text-col {
		max-width: 100%;
		padding: calc(1.5 * var(--u)) calc(1.25 * var(--u));
		background: #FFFFFF;
	}
}

/* 1. 체크리스트 전체 문장 간격을 넉넉하게 늘림 */
.page-view .mibyeong-checklist {
	display: flex;
	flex-direction: column;
	gap: calc(0.9 * var(--u)); /* 기존보다 간격을 더 넓힘 */
}

/* 2. 체크 아이콘과 글자 사이의 가로 간격을 넓힘 */
.page-view .mibyeong-check-row {
	display: flex;
	align-items: flex-start;
	gap: calc(0.6 * var(--u));
	font-size: calc(1.03 * var(--u));
	line-height: 1.4;
	color: #1E293B;
}

.page-view .mibyeong-line-icon {
	width: calc(1.3 * var(--u));
	height: calc(1.3 * var(--u));
	color: var(--color-primary);
	margin-top: 0.18rem;
	flex-shrink: 0;
}

.page-view .mibyeong-photo-col {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 52%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

@media (max-width: 767px) {
	.page-view .mibyeong-photo-col {
		position: relative;
		width: 100%;
		height: calc(16 * var(--u));
	}
}

.page-view .mibyeong-photo-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-view .mibyeong-mask-ty,
.page-view .mibyeong-mask-te,
.page-view .mibyeong-mask-sy,
.page-view .mibyeong-mask-se {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.92) 15%, rgba(255, 255, 255, 0.5) 42%, transparent 80%);
}

@media (max-width: 767px) {
	.page-view .mibyeong-mask-ty,
	.page-view .mibyeong-mask-te,
	.page-view .mibyeong-mask-sy,
	.page-view .mibyeong-mask-se {
		background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 25%, transparent 70%);
	}
}

/* ==============================================================
   8. 6번 건강 관리 원칙
   ============================================================== */
.page-view .rules-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: calc(1.375 * var(--u));
}

@media (max-width: 640px) {
	.page-view .rules-card-grid {
		grid-template-columns: 1fr;
	}
}

.page-view .rule-box-card {
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: calc(1.375 * var(--u));
	padding: calc(1.875 * var(--u)) calc(1.625 * var(--u));
	display: flex;
	flex-direction: column;
	gap: calc(1rem * var(--u));
	box-shadow: none !important;
}

@media (min-width: 641px) {
	.page-view .rule-box-card.sm\:col-span-2 {
		grid-column: span 2 / span 2;
	}
}

.page-view .rule-box-header {
	display: flex;
	align-items: center;
	gap: calc(0.65 * var(--u));
	padding-bottom: calc(0.75 * var(--u));
	border-bottom: 1px solid #F1F5F9;
	margin-bottom: calc(0.8 * var(--u)); /* 선 아래로 리스트와의 공간(여백)을 추가함 */
}

.page-view .rule-line-icon {
	width: calc(1.375 * var(--u));
	height: calc(1.375 * var(--u));
	color: var(--color-sub);
	flex-shrink: 0;
}

.page-view .rule-title-text {
	font-size: calc(1.18 * var(--u));
	font-weight: 800;
	color: #0F172A;
}

.page-view .rule-body-text {
	display: flex;
	flex-direction: column;
	gap: calc(0.65 * var(--u));
	font-size: calc(0.98 * var(--u));
	color: #334155;
	line-height: 1.75;
}

/* ==============================================================
   9. 7번 식이요법
   ============================================================== */
.page-view .diet-desc-clean {
	font-size: calc(1.03 * var(--u));
	color: #475569;
	line-height: 1.8;
	margin: 0 0 0.5rem 0;
}

.page-view .diet-panels-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(1.375 * var(--u));
}

@media (max-width: 767px) {
	.page-view .diet-panels-grid {
		grid-template-columns: 1fr;
	}
}

.page-view .diet-panel {
	background-color: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: calc(1.375 * var(--u));
	padding: calc(2 * var(--u)) calc(1.75 * var(--u));
	display: flex;
	flex-direction: column;
	gap: calc(1.125 * var(--u));
}

.page-view .diet-panel-title {
	font-size: calc(1.18 * var(--u));
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: calc(0.55 * var(--u));
	padding-bottom: calc(0.875 * var(--u));
	border-bottom: 1px solid #E2E8F0;
}

.page-view .diet-panel-title-primary { color: var(--color-primary-dark); }
.page-view .diet-panel-title-sub { color: var(--color-sub-dark); }

.page-view .diet-list-clean {
	display: flex;
	flex-direction: column;
	gap: calc(0.75 * var(--u));
	font-size: calc(0.98 * var(--u));
	line-height: 1.75;
	color: #334155;
}

.page-view .diet-cat-label {
	font-weight: 700;
	color: #0F172A;
}

.page-view .diet-note-clean {
	background-color: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-left: calc(0.28 * var(--u)) solid var(--color-primary);
	border-radius: calc(1.125 * var(--u));
	padding: calc(1.5 * var(--u)) calc(1.75 * var(--u));
	display: flex;
	flex-direction: column;
	gap: calc(0.65 * var(--u));
	font-size: calc(0.98 * var(--u));
	color: #334155;
	line-height: 1.75;
	margin-top: 0.5rem;
}

.page-view .diet-note-header {
	font-size: calc(1.08 * var(--u));
	font-weight: 800;
	color: var(--color-primary-dark);
	display: flex;
	align-items: center;
	gap: calc(0.45 * var(--u));
	margin-bottom: 0.2rem;
}

.page-view .diet-image-box {
	width: 100%;
	margin-bottom: calc(1.375 * var(--u)); /* 아래 박스들과의 간격 */
	border-radius: calc(1.375 * var(--u)); /* 기존 패널들과 똑같은 둥근 모서리 */
	border: 1px solid #E2E8F0; /* 깔끔한 테두리 */
	overflow: hidden; /* 이미지가 둥근 모서리 밖으로 튀어나오지 않게 방지 */
	display: flex;
}

.page-view .diet-image-box img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}


/* ==============================================================
   10. 메인(sub01) 홈 전용 스타일 (그림자 제거)
   ============================================================== */
.page-view .hero-section-artistic {
	position: relative;
	background: radial-gradient(circle at 50% 15%, rgba(197, 181, 165, 0.18) 0%, transparent 65%),
				linear-gradient(150deg, #2E2522 0%, #3D322E 45%, #251E1C 100%);
	padding: calc(4.5 * var(--u)) calc(2rem) calc(4 * var(--u));
	color: #FAF8F5;
	overflow: hidden;
	margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
	.page-view .hero-section-artistic {
		padding: calc(3.25 * var(--u)) calc(1.125 * var(--u)) calc(2.75 * var(--u));
	}
}

.page-view .hero-container {
	position: relative;
	z-index: 10;
	max-width: calc(50 * var(--u));
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: calc(1.375 * var(--u));
}

.page-view .hero-kicker-pill {
	display: inline-flex;
	align-items: center;
	gap: calc(0.45 * var(--u));
	padding: calc(0.45 * var(--u)) calc(1.125 * var(--u));
	border-radius: 9999px;
	border: 1px solid rgba(220, 206, 192, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: #EDE6DC;
	font-size: calc(0.85 * var(--u));
	font-weight: 600;
}

.page-view .hero-main-heading {
	font-size: calc(2.3 * var(--u));
	font-weight: 800;
	color: #FAF8F5;
	line-height: 1.38;
	margin: 0;
	text-align: center;
}

@media (max-width: 767px) {
	.page-view .hero-main-heading {
		font-size: calc(1.7 * var(--u));
	}
}

.page-view .hero-main-desc {
	font-size: calc(1.03 * var(--u));
	color: #DDD4C8;
	line-height: 1.85;
	max-width: calc(41 * var(--u));
	margin: 0;
	text-align: center;
}

.page-view .quick-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	width: 100%;
	margin-top: 0.875rem;
}

@media (max-width: 640px) {
	.page-view .quick-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.page-view .quick-card {
	padding: calc(1.5 * var(--u)) calc(1rem);
	border-radius: calc(1.125 * var(--u));
	background: #F7F2EB;
	border: 1px solid #E2D7CB;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	box-shadow: none !important;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-view .quick-card:hover {
	transform: translateY(calc(-0.2rem));
	background: #EFE8DE;
}

.page-view .quick-icon-box {
	width: calc(3.125 * var(--u));
	height: calc(3.125 * var(--u));
	border-radius: calc(0.875 * var(--u));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	margin-bottom: 0.75rem;
	background: #5C4D46;
}

.page-view .quick-card-ty .quick-icon-box { background: #6E534B; }
.page-view .quick-card-te .quick-icon-box { background: #555048; }
.page-view .quick-card-sy .quick-icon-box { background: #5E4E55; }
.page-view .quick-card-se .quick-icon-box { background: #484E57; }

.page-view .quick-name {
	font-size: calc(1.18 * var(--u));
	font-weight: 800;
	color: #2E2522;
}

.page-view .quick-trait {
	font-size: calc(0.85 * var(--u));
	font-weight: 700;
	margin-top: 0.3rem;
	color: #7A665A;
}

/* 1분 자가진단 퀴즈 박스 (그림자 제거) */
.page-view .test-box-wrapper {
	width: 100%;
	background-color: #FFFFFF;
	border: 1px solid #EAE3D9;
	border-radius: calc(1.375 * var(--u));
	padding: calc(2.25 * var(--u)) calc(2rem);
	margin-top: 1.25rem;
	text-align: left;
	box-shadow: none !important;
}

@media (max-width: 767px) {
	.page-view .test-box-wrapper {
		padding: calc(1.375 * var(--u)) calc(1.125 * var(--u));
	}
}

.page-view .test-header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #F0EAE1;
	padding-bottom: 1.125rem;
	margin-bottom: 1.375rem;
	gap: 0.65rem;
}

.page-view .test-title-group {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.page-view .test-icon-badge {
	width: calc(2.5 * var(--u));
	height: calc(2.5 * var(--u));
	border-radius: calc(0.65 * var(--u));
	background-color: #F4EFEA;
	color: #705D54;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.page-view .test-main-title {
	font-size: calc(1.22 * var(--u));
	font-weight: 800;
	color: #2E2522;
	margin: 0 0 0.2rem 0;
}

.page-view .test-step-indicator {
	font-size: calc(0.85 * var(--u));
	font-weight: 700;
	color: #705D54;
	background-color: #F8F5F0;
	border: 1px solid #EAE3D9;
	padding: calc(0.35 * var(--u)) calc(0.875 * var(--u));
	border-radius: 9999px;
	white-space: nowrap;
}

.page-view .progress-bar-track {
	width: 100%;
	height: calc(0.45 * var(--u));
	background-color: #F2ECE4;
	border-radius: 9999px;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.page-view .progress-bar-fill {
	height: 100%;
	background: linear-gradient(to right, #705D54, #C5B5A5);
	transition: width 0.3s ease;
	width: 20%;
}

.page-view .quiz-question-text {
	font-size: calc(1.18 * var(--u));
	font-weight: 800;
	color: #2E2522;
	margin: 0 0 1.25rem 0;
	line-height: 1.5;
}

.page-view .quiz-options-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.page-view .quiz-option-btn {
	width: 100%;
	text-align: left;
	padding: calc(1.03 * var(--u)) calc(1.25 * var(--u));
	border-radius: calc(0.875 * var(--u));
	border: 1px solid #EAE3D9;
	background-color: #FAF8F5;
	color: #382E2B;
	font-size: calc(0.98 * var(--u));
	font-weight: 600;
	line-height: 1.6;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	font-family: inherit;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-view .quiz-option-btn:hover {
	background-color: #F2ECE4;
	border-color: #C5B5A5;
}

.page-view .quiz-opt-tag {
	width: calc(1.75 * var(--u));
	height: calc(1.75 * var(--u));
	border-radius: calc(0.45 * var(--u));
	background-color: #E8E0D5;
	color: #5C4D46;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: calc(0.85 * var(--u));
	font-weight: 800;
	flex-shrink: 0;
}

.page-view .quiz-result-view {
	display: none;
	text-align: center;
	padding: 1.375rem 0 0.5rem;
}

.page-view .result-badge {
	display: inline-flex;
	align-items: center;
	padding: calc(0.45 * var(--u)) calc(1.125 * var(--u));
	border-radius: 9999px;
	font-size: calc(0.9 * var(--u));
	font-weight: 800;
	margin-bottom: 0.75rem;
	color: #FFFFFF;
	background-color: #5C4D46;
}

.page-view .result-heading {
	font-size: calc(1.625 * var(--u));
	font-weight: 900;
	color: #2E2522;
	margin: 0 0 0.75rem 0;
}

.page-view .result-summary {
	font-size: calc(1.02 * var(--u));
	color: #705D54;
	line-height: 1.75;
	max-width: calc(31 * var(--u));
	margin: 0 auto 1.5rem auto;
}

.page-view .result-action-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.page-view .btn-goto-detail {
	padding: calc(0.875 * var(--u)) calc(1.5 * var(--u));
	border-radius: calc(0.75 * var(--u));
	color: #FFFFFF;
	background-color: #5C4D46;
	font-weight: 800;
	font-size: calc(0.96 * var(--u));
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	cursor: pointer;
	border: none;
	font-family: inherit;
}

.page-view .btn-retry-test {
	padding: calc(0.875 * var(--u)) calc(1.375 * var(--u));
	border-radius: calc(0.75 * var(--u));
	background-color: #F8F5F0;
	color: #5C4D46;
	font-weight: 700;
	font-size: calc(0.96 * var(--u));
	border: 1px solid #EAE3D9;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	font-family: inherit;
}

/* 하단 핵심 비교표 */
.page-view .table-container {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch; /* 모바일에서 스크롤 부드럽게 */
	border-radius: calc(1.25 * var(--u));
	border: 1px solid #EAE3D9;
	background-color: #FFFFFF;
}

.page-view .comp-table {
	width: 100%;
	min-width: 720px; /* 모바일에서 찌그러지지 않고 스크롤이 생기도록 최소 너비 확보 */
	text-align: left;
	font-size: calc(0.96 * var(--u));
	border-collapse: collapse;
}

.page-view .comp-table th {
	padding: calc(1.2 * var(--u)) calc(1 * var(--u)); /* 위아래 패딩을 넉넉하게 주어 시원하게 만듦 */
	color: #FFFFFF;
	font-size: calc(1 * var(--u));
	font-weight: 700;
	text-align: center;
	letter-spacing: -0.01em;
}

.page-view .comp-th-label {
	width: 16%;
	background-color: #362C28;
	color: #EDE6DC;
	border-right: 1px solid #4D3E38;
	font-weight: 800;
}
.page-view .comp-th-ty { background-color: #634C45; width: 21%; }
.page-view .comp-th-te { background-color: #524B43; width: 21%; }
.page-view .comp-th-sy { background-color: #57464E; width: 21%; }
.page-view .comp-th-se { background-color: #434952; width: 21%; }

.page-view .comp-table tbody tr {
	border-top: 1px solid #EFEAE2;
}

.page-view .comp-table td {
	padding: calc(1.25 * var(--u)) calc(1.125 * var(--u)); /* 셀 내부 패딩을 넓혀서 텍스트 숨 쉴 공간 확보 */
	line-height: 1.75;
	color: #4A3E39;
	background-color: #FFFFFF;
	vertical-align: middle;
}

.page-view .comp-td-label {
	text-align: center;
	color: #2E2522;
	font-weight: 700;
	background-color: #FAF8F5;
	border-right: 1px solid #EFEAE2;
}

.page-view .row-striped td { background-color: #FDFCFB; }
.page-view .row-striped .comp-td-label { background-color: #F7F3EE; }
.page-view .cell-ty { color: #6E534B; font-weight: 700; border-right: 1px solid #F5F1EB; }
.page-view .cell-te { color: #555048; font-weight: 700; border-right: 1px solid #F5F1EB; }
.page-view .cell-sy { color: #5E4E55; font-weight: 700; border-right: 1px solid #F5F1EB; }
.page-view .cell-se { color: #484E57; font-weight: 700; }
.page-view .cell-border-r { border-right: 1px solid #F5F1EB; }

/* 안내 사항 */
.page-view .notice-section {
	background-color: #FAF8F5;
	border: 1px solid #EAE3D9;
	border-radius: calc(1.25 * var(--u));
	padding: calc(2 * var(--u)) calc(1.75 * var(--u));
	display: flex;
	flex-direction: column;
	gap: calc(1rem * var(--u));
}

.page-view .notice-section h3{
	padding-bottom:20px;
}

.page-view .notice-section p {
	margin: 0 0 20px;
	color: #5C4D46;
	font-size: calc(0.92 * var(--u));
	line-height: 1.5;
}

.page-view .notice-callout {
	padding: calc(1.125 * var(--u)) calc(1.25 * var(--u));
	border-radius: calc(0.875 * var(--u));
	border: 1px solid #E5DDD2;
	color: #4A3E39;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	line-height: 1.7;
	font-size: 1.3rem; 
	background-color: #FAF8F5; 
	text-align: center;
	margin: 3rem 5rem;
}


@media (max-width: 767px) {
	.page-view .notice-callout {
		--u: 16px;
		padding: calc(1.2 * var(--u)) calc(1.25 * var(--u));
		margin: 1rem 0.3rem;
	}
	/* 하단 안내 사항 박스만 모바일에서 왼쪽 정렬 */
	.page-view .notice-section .notice-callout {
		text-align: left;
	}
}





/* 아이콘 및 보조 유틸리티 */
.page-view .icon-svg {
	display: inline-block;
	vertical-align: middle;
	fill: currentColor;
}
.page-view .w-3\.5 { width: calc(0.85 * var(--u)); height: calc(0.85 * var(--u)); }
.page-view .w-4 { width: calc(0.95 * var(--u)); height: calc(0.95 * var(--u)); }
.page-view .w-5 { width: calc(1.15 * var(--u)); height: calc(1.15 * var(--u)); }
.page-view .w-6 { width: calc(1.35 * var(--u)); height: calc(1.35 * var(--u)); }
.page-view .flex { display: flex; }
.page-view .items-center { align-items: center; }
.page-view .gap-1\.5 { gap: calc(0.35 * var(--u)); }
.page-view .gap-2 { gap: calc(0.45 * var(--u)); }
.page-view .ml-1 { margin-left: calc(0.25 * var(--u)); }
.page-view .mr-1 { margin-right: calc(0.25 * var(--u)); }
.page-view .mt-0\.5 { margin-top: calc(0.15 * var(--u)); }
.page-view .flex-shrink-0 { flex-shrink: 0; }
.page-view .text-xl { font-size: calc(1.15 * var(--u)); }
.page-view .font-bold { font-weight: 700; }
.page-view .text-\[\#D8C7B5\] { color: #D8C7B5; }
.page-view .text-\[\#705D54\] { color: #705D54; }
.page-view .text-\[\#2E2522\] { color: #2E2522; }
.page-view .text-\[\#5C4D46\] { color: #5C4D46; }
.page-view .relative { position: relative; }
.page-view .absolute { position: absolute; }
.page-view .bottom-3 { bottom: calc(0.65 * var(--u)); }
.page-view .right-3 { right: calc(0.65 * var(--u)); }
.page-view .bg-black\/60 { background-color: rgba(0, 0, 0, 0.65); }
.page-view .text-white { color: #FFFFFF; }
.page-view .text-xs { font-size: calc(0.78 * var(--u)); }
.page-view .px-3 { padding-left: calc(0.65 * var(--u)); padding-right: calc(0.65 * var(--u)); }
.page-view .py-1\.5 { padding-top: calc(0.32 * var(--u)); padding-bottom: calc(0.32 * var(--u)); }
.page-view .rounded-full { border-radius: 9999px; }
.page-view .pointer-events-none { pointer-events: none; }