:root {
	--primary-color: #8C002B;
	/* Korea University Crimson */
	--secondary-color: #232323;
	--text-color: #333333;
	--light-gray: #f5f5f5;
	--white: #ffffff;
	--font-main: 'Noto Sans KR', sans-serif;
	--font-eng: 'Montserrat', sans-serif;
	--eie-mobile-menu-width: 63vw;
}

/* Edit Mode Styles */
body.edit-mode-active .editable-element {
	outline: 2px dashed rgba(140, 0, 43, 0.3);
	cursor: text;
}

body.edit-mode-active .editable-element:hover,
body.edit-mode-active .editable-element:focus {
	outline: 2px solid var(--primary-color);
	background: rgba(140, 0, 43, 0.05);
}

body.edit-mode-active img:not(#crop-image-target) {
	cursor: pointer;
	transition: filter 0.2s;
}

body.edit-mode-active img:not(#crop-image-target):hover {
	filter: brightness(0.8) sepia(0.2) hue-rotate(320deg);
	outline: 4px solid var(--primary-color);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-main);
	color: var(--text-color);
	line-height: 1.6;
	/*overflow-x: hidden;*/
	word-break: keep-all;
	/* Prevent awkward word breaks for Korean */
	overflow-wrap: break-word;
	/* Ensure compatibility */
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	display: block;
}

/* Response Utility */
@media (max-width: 768px) {
	.pc-only {
		display: none !important;
	}
}

@media (min-width: 769px) {
	.mobile-only {
		display: none !important;
	}
}

/* Typography Utility */
.text-primary {
	color: var(--primary-color);
}

.fw-bold {
	font-weight: 700;
}

.text-center {
	text-align: center;
}

/* Layout Utility */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 100px 0;
}

/* Header (커스텀 페이지용) */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	height: 80px;
	display: flex;
	align-items: center;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

/* ✅ (수정) .logo 전역 충돌 방지: .header 안에서만 적용 */
.header .logo img {
	height: 40px;
	/* Adjust based on actual logo */
	width: auto;
}

/* ✅ (수정) .nav 전역 충돌 방지: .header 안에서만 적용 */
.header .nav a {
	margin: 0 20px;
	font-weight: 500;
	font-size: 16px;
	transition: color 0.3s;
}

.header .nav a:hover {
	color: var(--primary-color);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 24px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	transition: all 0.3s;
	border: 1px solid var(--primary-color);
}

.btn:hover {
	background: #6a0020;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(140, 0, 43, 0.3);
}

.btn-lg {
	padding: 16px 40px;
	font-size: 1.2rem;
	margin-top: 10px;
}

/* Hero Section */
.hero {
	position: relative;
	height: 90vh;
	/* Almost full screen */
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-image: url('/images/franchise/korea_photo.jpg');
	background-size: cover;
	background-position: center;
	color: #fff;
	/* margin-top: 80px;*/
	/* Header height */
}

@media (max-width: 768px) {
	.hero {
		min-height: 500px;
		/* Reduced for mobile */
		height: auto;
		padding: 60px 0;
	}

	/* Hero CTA buttons: same full width on mobile */
	.hero-cta .btn {
		display: block;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
	.hero-cta .btn + .btn {
		margin-top: 10px;
	}

	/* Closing CTA buttons: same full width on mobile */
	.closing-cta .btn {
		display: block;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
	.closing-cta .btn + .btn {
		margin-top: 10px;
	}
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 20px;
	opacity: 0;
	animation: fadeUp 1s forwards 0.5s;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1.3;
	margin-bottom: 30px;
	opacity: 0;
	animation: fadeUp 1s forwards 0.8s;
}

.hero-desc {
	font-size: 1.2rem;
	margin-bottom: 40px;
	opacity: 0.9;
	font-weight: 300;
	opacity: 0;
	animation: fadeUp 1s forwards 1.1s;
}

.hero-cta {
	opacity: 0;
	animation: fadeUp 1s forwards 1.4s;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Intro Section */
.intro {
	background: #fff;
}

.intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.intro-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
	font-family: var(--font-eng);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 30px;
	line-height: 1.3;
}

/* ---------------------------------------------
   Responsive line-break helper
   - Use <br class="mobile-br"> where you want a break only on mobile
   - Visible on mobile, hidden on desktop (>= 992px)
---------------------------------------------- */
br.mobile-br {
    display: inline;
}
@media (min-width: 992px) {
    br.mobile-br {
        display: none;
    }
}

.intro-desc p {
	margin-bottom: 20px;
	font-size: 1.1rem;
	color: #555;
}

.intro-desc strong {
	color: #000;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--primary-color);
	text-underline-offset: 4px;
}

/* Features Section */
.bg-light {
	background-color: var(--light-gray);
}

.mb-60 {
	margin-bottom: 60px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 60px;
	margin-bottom: 80px;
}

.feature-item.reverse {
	flex-direction: row-reverse;
}

.feature-item:last-child {
	margin-bottom: 0;
}

.feature-img {
	flex: 1;
}

.feature-img img {
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	width: 100%;
	object-fit: cover;
}

.feature-text {
	flex: 1;
}

.feature-label {
	color: var(--primary-color);
	font-weight: 700;
	font-family: var(--font-eng);
	margin-bottom: 10px;
}

.feature-text h3 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 20px;
	word-break: keep-all;
}

.feature-text p {
	color: #555;
	font-size: 1.1rem;
	word-break: keep-all;
}

/* Support Section */
.support-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.support-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s, box-shadow 0.3s;
	border: 1px solid #eee;
	display: flex;
	flex-direction: column;
}

.support-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(140, 0, 43, 0.15);
	border-color: rgba(140, 0, 43, 0.1);
}

.support-img {
	height: 180px;
	overflow: hidden;
	background: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.support-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.5s;
}

.support-item:hover .support-img img {
	transform: scale(1.1);
}

.support-text {
	padding: 25px 20px;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.support-text h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.support-text p {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.5;
	word-break: keep-all;
}

/* Response for Support Section */
@media (max-width: 1024px) {
	.support-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 640px) {
	.support-grid {
		grid-template-columns: 1fr;
	}

	.support-img {
		height: 200px;
	}
}

/* Strength Section */
.strength {
	background: #232323;
	/* Dark background */
	color: #fff;
}

.strength-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.strength-card {
	background: #333;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s;
}

.strength-card:hover {
	transform: translateY(-10px);
}

.strength-img {
	height: 250px;
	overflow: hidden;
}

.strength-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.strength-card:hover .strength-img img {
	transform: scale(1.05);
}

.strength-content {
	padding: 30px;
}

.strength-content h3 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: var(--white);
}

.strength-content p {
	color: #ccc;
	font-size: 1.0rem;
	line-height: 1.6;
}

/* Process Section */
.process {
	background: #fff;
	position: relative;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
	/* Reduced gap */
	margin-top: 40px;
}

.process-step {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 20px 10px;
	/* Reduced padding */
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.03);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
}

.process-step:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(140, 0, 43, 0.1);
	background: #fff;
	border-color: rgba(140, 0, 43, 0.1);
}

.process-step::after {
	content: '→';
	position: absolute;
	right: -12px;
	/* Adjusted position */
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
	color: #ddd;
	font-weight: 300;
	z-index: 10;
}

/* Hide arrow on the last child */
.process-step:last-child::after {
	display: none;
}

.step-icon {
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 15px;
	font-family: var(--font-eng);
	box-shadow: 0 4px 10px rgba(140, 0, 43, 0.2);
}

.step-content h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #222;
	word-break: keep-all;
}

.step-content p {
	color: #666;
	font-size: 0.85rem;
	line-height: 1.4;
	word-break: keep-all;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
	.process-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.process-step:nth-child(3n)::after {
		display: none;
	}

	.process-step:last-child::after {
		display: none;
	}
}

@media (max-width: 768px) {
	.process-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}

	.process-step {
		margin-bottom: 0 !important;
		padding: 20px 12px !important;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
	}

	.step-icon {
		width: 48px !important;
		height: 48px !important;
		font-size: 1rem !important;
		margin-bottom: 12px !important;
	}

	.step-content h3 {
		font-size: 1rem !important;
		margin-bottom: 6px !important;
		word-break: keep-all;
	}

	.step-content p {
		font-size: 0.85rem !important;
		line-height: 1.4 !important;
		margin: 0 !important;
		word-break: keep-all;
	}

	.process-step::after {
		display: none !important;
	}

	.process-step:last-child {
		margin-bottom: 0;
	}
}

/* History Section */
.history-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 50px;
	flex-wrap: wrap;
}

.tab-btn {
	padding: 12px 24px;
	border: none;
	background: #fff;
	border-radius: 30px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 700;
	color: #555;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s;
	font-family: var(--font-main);
}

.tab-btn.active,
.tab-btn:hover {
	background: var(--primary-color);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(140, 0, 43, 0.2);
}

.tab-content {
	display: none;
	animation: fadeIn 0.5s ease;
}

.tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.timeline {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	padding-left: 30px;
	border-left: 2px solid #eee;
}

.timeline-year {
	position: relative;
	margin-bottom: 50px;
}

.year-badge {
	position: absolute;
	left: -120px;
	top: 0;
	width: 80px;
	text-align: right;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--primary-color);
	font-family: var(--font-eng);
	background: transparent;
	padding: 5px 10px;
}

.history-list li {
	margin-bottom: 15px;
	font-size: 1.05rem;
	color: #444;
	position: relative;
	padding-left: 20px;
}

.history-list li::before {
	content: '';
	position: absolute;
	left: -35px;
	top: 10px;
	width: 10px;
	height: 10px;
	background: #ddd;
	border-radius: 50%;
	border: 2px solid #fff;
}

.history-list li:hover::before {
	background: var(--primary-color);
}

.month {
	font-weight: 700;
	color: #333;
	display: inline-block;
	width: 60px;
	margin-right: 10px;
}

/* Awards Swiper */
.awards-swiper {
	padding: 40px 60px 80px !important;
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
}

.award-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	text-align: center;
	border: 1px solid #eee;
	height: 100%;
	transition: transform 0.3s;
}

.award-card:hover {
	transform: translateY(-5px);
}

.award-card img {
	width: 100%;
	height: 450px;
	object-fit: contain;
	background: #fcfcfc;
	padding: 30px;
}

.award-card p {
	padding: 20px;
	font-size: 1.2rem;
	font-weight: 700;
	color: #333;
	border-top: 1px solid #f0f0f0;
}

.swiper-button-next,
.swiper-button-prev {
	color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
	background: var(--primary-color) !important;
}

.mb-40 {
	margin-bottom: 40px;
}

/* Closing/Consulting */
.closing-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.closing-text h2 {
	font-size: 3rem;
	font-weight: 900;
	margin-bottom: 30px;
	line-height: 1.2;
}

.closing-text p {
	font-size: 1.2rem;
	color: #555;
}

.consulting-form-wrapper {
	background: #fff;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
	border-top: 5px solid var(--primary-color);
}

.consulting-form-wrapper h3 {
	font-size: 1.8rem;
	margin-bottom: 20px;
	text-align: center;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
}

.btn-block {
	display: block;
	width: 100%;
	text-align: center;
	cursor: pointer;
}

/* Footer */
.footer {
	background: #232323;
	color: #777;
	padding: 30px 0;
	font-size: 0.9rem;
	border-top: 1px solid #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2.2rem;
	}

	.intro-grid {
		grid-template-columns: 1fr;
	}

	/* Header Mobile Layout - Collapsible */
	.header {
		height: auto;
		padding: 10px 0;
		transition: all 0.3s ease;
	}

	.header-container {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}

	/* ✅ (수정) 커스텀 헤더용 로고 스코프 */
	.header .logo {
		height: 35px;
		order: 1;
		margin-bottom: 0;
	}

	.header .logo img {
		height: 100%;
		width: auto;
	}

	/* Toggle Button (Order 2) */
	#menu-toggle {
		display: flex;
		order: 2;
		background: none;
		border: none;
		padding: 5px;
		cursor: pointer;
		color: #333;
	}

	#menu-toggle svg {
		width: 30px;
		height: 30px;
	}

	/* Hide Nav and CTA by default */
	.header .nav,
	.header-container>.btn {
		display: none;
		width: 100%;
	}

	/* Expanded State */
	.header.menu-open .nav,
	.header.menu-open .header-container>.btn {
		display: flex;
		animation: slideDown 0.3s ease forwards;
	}

	.header.menu-open .header-container>.btn {
		display: block;
		order: 4;
		margin-top: 15px;
		text-align: center;
		padding: 14px;
		font-size: 1rem;
		border-radius: 8px;
		box-shadow: 0 4px 10px rgba(140, 0, 43, 0.2);
	}

	.header.menu-open .nav {
		order: 3;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		margin-top: 15px;
		border-top: 1px solid #eee;
		padding-top: 15px;
	}

	/* Link Styles */
	.header .nav a {
		background: #f8f9fa;
		color: #333;
		padding: 10px 16px;
		border-radius: 50px;
		border: 1px solid #e9ecef;
		font-weight: 600;
		font-size: 0.9rem;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
		flex: 1 1 auto;
		text-align: center;
		min-width: 100px;
	}

	@keyframes slideDown {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	/* Feature Reordering: Label -> Title -> Image -> Text */
	.feature-item,
	.feature-item.reverse {
		grid-template-columns: 1fr;
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.feature-text {
		display: contents;
	}

	.feature-label {
		order: 1;
		margin-bottom: 0;
	}

	.feature-text h3 {
		order: 2;
		margin-bottom: 10px;
	}

	.feature-img {
		order: 3;
		width: 100%;
		margin-bottom: 15px;
	}

	.feature-text p {
		order: 4;
		margin-bottom: 30px;
	}

	.intro-grid,
	.strength-grid,
	.closing-grid {
		grid-template-columns: 1fr;
		display: flex;
		flex-direction: column;
		gap: 30px;
	}

	.intro-image {
		order: -1;
	}

	.closing-text h2 {
		font-size: 2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.target-box {
		padding: 30px;
	}

	.process-grid {
		grid-template-columns: 1fr;
	}

	.process-step::after {
		display: none;
	}

	.timeline {
		padding-left: 20px;
		border-left: 2px solid #eee;
	}

	.year-badge {
		position: relative;
		left: 0;
		top: 0;
		width: auto;
		text-align: left;
		margin-bottom: 15px;
		display: inline-block;
		background: #fff;
		padding: 5px 0;
	}

	.history-list li {
		font-size: 0.95rem;
	}
}

/* Brochure Section */
.brochure.section-padding {
	padding: 0;
	padding-bottom: 20px;
}

.brochure .section-title {
	margin-bottom: 5px;
}

.brochure .text-center {
	margin-bottom: 0 !important;
}

.brochure p {
	display: block;
	margin-bottom: 0;
	font-size: 0.9rem;
	color: #888;
}

.brochure {
	background: #fdfdfd;
}

.flipbook-viewport {
	overflow: hidden;
	width: 100%;
}

#flipbook {
	margin: 0 auto;
}

#flipbook .page {
	background-color: #fff;
	overflow: hidden;
	display: block;
}

#flipbook .page img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: fill;
	pointer-events: none;
}

.brochure-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #ddd;
	color: var(--primary-color);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brochure-btn:hover {
	background: var(--primary-color);
	color: #fff;
	box-shadow: 0 6px 15px rgba(140, 0, 43, 0.3);
}

.brochure-btn.prev {
	left: 20px;
}

.brochure-btn.next {
	right: 20px;
}

.scroll-animate {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.active {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 768px) {
	.brochure-btn {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.brochure-btn.prev {
		left: 5px;
	}

	.brochure-btn.next {
		right: 5px;
	}
}

/* Thumbnail Navigation */
.thumbnail-strip {
	display: flex;
	overflow-x: auto;
	gap: 10px;
	padding: 20px 0 10px;
	max-width: 1000px;
	margin: 0 auto;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) #eee;
	scroll-behavior: smooth;
	justify-content: flex-start;
	align-items: center;
}

.thumbnail-strip::-webkit-scrollbar {
	height: 8px;
}

.thumbnail-strip::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

.thumbnail-item {
	flex: 0 0 60px;
	height: 85px;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	transition: all 0.2s;
	opacity: 0.7;
}

.thumbnail-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.thumbnail-item:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.thumbnail-item.active {
	border-color: var(--primary-color);
	opacity: 1;
	box-shadow: 0 0 10px rgba(140, 0, 43, 0.3);
	transform: scale(1.05);
}

.thumbnail-number {
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 10px;
	padding: 2px 4px;
	border-top-left-radius: 4px;
}

/* Mobile Optimization: Center Core Competency Titles */
@media (max-width: 768px) {
	.feature-text {
		text-align: center;
	}

	.feature-text h3 {
		text-align: center;
	}

	.feature-label {
		width: 100%;
		display: block;
	}

	.mobile-text-left {
		text-align: left !important;
	}
}

/* PC Optimization: Closing Section Layout */
@media (min-width: 992px) {
	.closing-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-align: left;
		max-width: 1200px;
		margin: 0 auto;
		padding: 40px 0;
	}

	.closing-text-wrapper {
		flex: 1;
		padding-right: 60px;
	}

	.closing-content .section-title {
		font-size: 3.2rem;
		margin-bottom: 24px;
		line-height: 1.3;
	}

	.closing-content .closing-desc {
		font-size: 1.25rem;
		margin-bottom: 0;
	}

	.closing-cta {
		flex-shrink: 0;
	}

	.closing-cta .btn {
		font-size: 1.5rem;
		padding: 24px 48px;
	}

	.mobile-br {
		display: none;
	}
}

/* =========================================================
   ✅ EiE 공통헤더( #headerInnerWrap / #headerInner ) 중앙정렬 고정
   - ✅ 데스크탑은 건드리지 않고, 모바일에서만 적용되도록 이동!
   ========================================================= */

/* ✅ (추가) 모바일에서: 햄버거 왼쪽 / 로고 가운데 / (메뉴 열림 시 X는 오른쪽) */
@media all and (max-width: 1000px){

	/* ✅ (이전에는 데스크탑까지 먹던 #header 강제정렬을 모바일에만 적용) */
	#header{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* 헤더 "내용" 래퍼를 본문(.container) 기준으로 가운데 */
	#header #headerInnerWrap{
		width: 100% !important;
		max-width: 1200px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box !important;
		position: relative !important; /* absolute 자식 기준 */
	}

	/* 내부도 폭 100%로 */
	#header #headerInner,
	#header #headerInnerbot{
		width: 100% !important;
		box-sizing: border-box !important;
		position: relative !important;
	}

	/* 상단 버튼(레벨테스트 등)은 래퍼 기준 오른쪽 유지 */
	#header #headerInner .header_top_buttons{
		right: 0 !important;
		left: auto !important;
	}

	/* 겹침 방지 위해 상단버튼 숨김 */
	#header #headerInner .header_top_buttons{
		display: none !important;
	}

	/* 헤더 1줄 기준점 */
	#header #headerInner{
		min-height: 70px;
		position: relative !important;
	}

	/* 햄버거/닫기 버튼 공통 스타일 */
	#header #headerInner .nav-open-btn{
		position: absolute !important;
		left: 0 !important;
		right: auto !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		z-index: 30 !important;
	}

	/* ✅ 메뉴 "열림 상태"에서는 X 버튼을 "메뉴 패널의 오른쪽 끝"에 붙이기 */
	#header.open #headerInner .nav-open-btn,
	#header.menu-open #headerInner .nav-open-btn,
	#header.on #headerInner .nav-open-btn,
	body.open #header #headerInner .nav-open-btn,
	body.menu-open #header #headerInner .nav-open-btn,
	html.open #header #headerInner .nav-open-btn,
	#header #headerInner .nav-open-btn.active,
	#header #headerInner .nav-open-btn.on{
		position: fixed !important;

		/* ✅ 메뉴 폭이 var(--eie-mobile-menu-width)라면, 메뉴의 오른쪽 끝은 left=해당 값 지점 */
		left: var(--eie-mobile-menu-width) !important;
		right: auto !important;

		/* 헤더 중앙(70px 기준 35px) */
		top: calc(env(safe-area-inset-top, 0px) + 35px) !important;

		/* ✅ 버튼의 "오른쪽 끝"을 left값에 맞춰서 정확히 메뉴 끝에 붙임 */
		transform: translate(-100%, -50%) !important;

		z-index: 9999 !important;
	}

	/* 로고 가운데 */
	#header #headerInner .logo{
		position: absolute !important;
		left: 50% !important;
		right: auto !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
		margin: 0 !important;
		z-index: 10 !important;
	}
}

/* =========================================================
   ✅ DESKTOP ONLY (>=1001px)
   - 로고 중앙 + 메뉴/로고 겹침 방지(2줄 구조)
   - top-tel 가로 정렬 복구
   ========================================================= */
@media all and (min-width: 1001px){

	#header #headerInner{ position: relative !important; }

	/* 1) 이전에 넣었던 absolute 중앙정렬(모바일용)을 데스크탑에서 해제 */
	#header #headerInner .logo{
		position: static !important;
		left: auto !important;
		top: auto !important;
		transform: none !important;
	}

	/* 2) 헤더를 2줄로: 로고는 위, 메뉴/우측영역은 아래 */
	#header #headerInner{
		display: block !important;
		position: relative !important;
	}

	/* 레벨테스트 버튼: "headerInnerWrap(1200px)" 기준 우측 상단 */
	#header #headerInner .header_top_buttons{
		position: absolute !important;
		top: 10px !important;
		right: 0 !important;
		left: auto !important;
		z-index: 30 !important;
	}

	/* 로고: 위쪽 중앙 */
	#header #headerInner .logo{
		float: none !important;
		display: block !important;
		width: fit-content !important;
		margin: 0 auto !important;
		padding: 12px 0 6px !important;
		z-index: 20 !important;
	}

	/* 2줄째(메뉴/우측영역) */
	#header #headerInnerbot{
		clear: both !important;
		display: flex !important;
		align-items: center !important;

		/* ✅ space-between 때문에 top-tel 폭이 찌그러져 세로로 떨어질 수 있어 금지 */
		justify-content: flex-start !important;

		gap: 16px !important;
		padding: 8px 0 12px !important;
	}

	/* 메뉴 */
	#header #gnb{
		flex: 1 1 auto !important;
		min-width: 0 !important;         /* flex에서 shrink 허용 */
		text-align: center !important;
	}
	#header #gnb .gnb-wrapper{
		display: inline-block !important; /* 기존 float 기반이어도 안전 */
	}

	/* ✅ top-tel: util-menu 앞에서 "오른쪽으로 밀착" + 가로 강제 */
	#header #headerInnerbot .top-tel{
		margin-left: auto !important;    /* ✅ gnb 다음부터 오른쪽으로 밀기 */
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;    /* ✅ 줄바꿈 금지 */
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 8px !important;
		white-space: nowrap !important;
		width: auto !important;
	}

	/* ✅ 기존 공통CSS가 a를 block/100%로 만들더라도 가로로 강제 */
	#header #headerInnerbot .top-tel a{
		display: inline-flex !important;
		align-items: center !important;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		float: none !important;
	}

	#header #headerInnerbot .top-tel img{
		display: block !important;
		height: auto !important;
	}

	/* util-menu도 가로 유지 + top-tel 오른쪽 옆에 붙이기 */
	#header #headerInnerbot .util-menu{
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		white-space: nowrap !important;
		flex: 0 0 auto !important;
	}
	/* 혹시 다른 CSS가 fixed/absolute를 섞어도 이 규칙이 이기도록 최대한 구체적으로 */
	#wrap #header #headerInner .header_top_buttons{
		position: fixed !important; /* 헤더가 fixed라서 같이 고정돼도 자연스러움 */
		top: 0px !important;

		/* ✅ 1200px 컨테이너가 가운데일 때, 오른쪽 패딩(20px) 위치에 딱 맞춤 */
		right: max(20px, calc((100vw - 1200px) / 2 - 220px)) !important;

		left: auto !important;
		width: auto !important;
		margin: 0 !important;
		z-index: 9999 !important;
	}

	#wrap #header #headerInner .header_top_buttons ul{
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
	}
	/* 1) 스크롤로 헤더가 줄어드는 상태(보통 #header.on 붙음)에서
	   레벨테스트 버튼이 메뉴를 덮지 않도록 숨김 */
	#header.on #headerInner .header_top_buttons,
	#header.fixed #headerInner .header_top_buttons,
	#header.scroll #headerInner .header_top_buttons{
		display: none !important;
	}

	/* 2) top-tel이 다시 세로로 바뀌는 현상 방지(PC에서 가로 강제) */
	#header #headerInnerbot .top-tel{
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 8px !important;
		white-space: nowrap !important;
	}
	#header #headerInnerbot .top-tel a{
		display: inline-flex !important;
		align-items: center !important;
	}
}
