/* v2 템플릿 공통 스타일 (lusas_v2/router.php 가 v2 템플릿을 쓸 때만 불러온다) */
/* 반응형 구간은 Elementor 와 같게: 태블릿 1024px 이하, 모바일 767px 이하 */

:root {
	--v2-container: 1140px;
	--v2-gutter: 16px;
	--v2-text: #7A7A7A;     /* Elementor 전역 색 text */
	--v2-secondary: #54595F; /* Elementor 전역 색 secondary */
	--v2-accent: #23ccfb;   /* Elementor 전역 색 a6c1524 (하늘색 강조) */
	--v2-box-bg: #F6F6F6;
	--v2-font-kr: "Noto Sans KR", sans-serif;
}

.v2-main--boxed {
	max-width: var(--v2-container);
	margin: 0 auto;
	padding: 0 var(--v2-gutter);
}

/* ---------- 약관·방침 (templates/legal.php): 기존 Elementor 화면의 회색 점선 상자 ---------- */
.v2-legal {
	margin: 10px 0 40px;
	background: var(--v2-box-bg);
	border: 1px dotted var(--v2-text);
	border-radius: 10px;
}

.v2-legal__body {
	margin: 30px 50px;
	line-height: 25px;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.v2-legal__body p:last-child {
	margin-bottom: 0;
}

/* 이메일무단수집거부: 짧은 안내문 한 줄을 가운데에 크게 */
.v2-legal--email {
	margin: 130px 0 160px;
}

.v2-legal--email .v2-legal__body {
	margin: 14px 20px;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
}

@media (max-width: 767px) {
	.v2-legal__body {
		margin: 20px;
	}

	.v2-legal--email {
		margin: 60px 0 80px;
	}
}

/* ---------- 배경 이미지 + 제목 + 경로 표시 (templates/feature.php) ---------- */
.v2-hero {
	padding-top: 100px;
	background: #333 center / cover no-repeat;
}

.v2-hero__inner {
	max-width: var(--v2-container);
	margin: 0 auto;
}

.v2-hero__title {
	margin: 0 250px;
	padding: 5px 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.24);
	color: #fff;
	font-family: var(--v2-font-kr);
	font-size: 50px;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
}

.v2-hero__subtitle {
	display: block;
	margin-top: 0.4em;
	font-size: 0.5em;
}

.v2-breadcrumbs {
	padding: 30px 0 10px 30px;
	color: #fff;
	font-family: var(--v2-font-kr);
	font-size: 12px;
	font-weight: bold;
}

.v2-breadcrumbs a {
	color: #fff;
}

.v2-breadcrumbs [aria-current] {
	color: var(--v2-accent);
}

.v2-breadcrumbs__sep {
	margin: 0 0.5em;
}

.v2-feature {
	padding: 30px 0 60px;
}

.v2-feature img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.v2-hero__title {
		margin: 0 50px;
		font-size: 30px;
	}
}

@media (max-width: 767px) {
	.v2-hero__title {
		margin: 0 16px;
		font-size: 20px;
	}

	.v2-breadcrumbs {
		padding-left: 10px;
		font-size: 11px;
	}
}

/* ---------- 연혁 (templates/history.php): 검은 바탕, 가운데 세로선 타임라인 ---------- */
.v2-history {
	background: #000;
	color: #fff;
}

.v2-history__hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 250px var(--v2-gutter) 200px;
}

.v2-history__title {
	margin: 0;
	padding: 15px 0 30px;
	color: var(--v2-accent);
	font-size: 55px;
	font-weight: 500;
	line-height: 1.2;
}

.v2-history__lead {
	font-size: 25px;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 1.5px;
}

.v2-history__desc {
	font-size: 17px;
	line-height: 2.3;
	letter-spacing: 1px;
}

.v2-history__hero-image img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0.85;
}

.v2-history__intro {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 var(--v2-gutter);
	font-size: 20px;
	line-height: 1.8;
	letter-spacing: 1px;
	text-align: center;
}

.v2-timeline {
	position: relative;
	max-width: 1600px;
	margin: 150px auto 200px;
	padding: 0 var(--v2-gutter);
	list-style: none;
}

/* 가운데 세로선 */
.v2-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 5px;
	margin-left: -2.5px;
	background: var(--v2-secondary);
}

.v2-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 80px 1fr;
	align-items: start;
}

.v2-timeline__item + .v2-timeline__item {
	margin-top: 30px;
}

.v2-timeline__card {
	grid-column: 1;
	text-align: right;
}

.v2-timeline__point {
	grid-column: 2;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--v2-secondary);
	color: #fff;
}

.v2-timeline__item:hover .v2-timeline__point {
	background: var(--v2-accent);
}

.v2-timeline__meta {
	grid-column: 3;
	padding-top: 2px;
	font-size: 30px;
	font-weight: 600;
}

/* 짝수 항목은 좌우를 바꾼다 */
.v2-timeline__item:nth-child(even) .v2-timeline__card {
	grid-column: 3;
	grid-row: 1;
	text-align: left;
}

.v2-timeline__item:nth-child(even) .v2-timeline__meta {
	grid-column: 1;
	grid-row: 1;
	text-align: right;
}

.v2-timeline__image img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

.v2-timeline__title {
	margin: 10px 0 5px;
	color: #fff;
	font-family: var(--v2-font-kr);
	font-size: 28px;
	letter-spacing: 3px;
}

.v2-timeline__desc {
	font-size: 17px;
	letter-spacing: 2px;
}

.v2-timeline__desc p {
	margin: 0;
}

.v2-history__cta {
	position: relative;
	padding: 200px var(--v2-gutter) 500px;
	background: #333 center / cover no-repeat;
}

.v2-history__cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
}

.v2-history__cta-inner {
	position: relative;
	max-width: 1800px;
	margin: 0 auto;
	padding: 50px 0;
}

.v2-history__cta-title {
	margin: 0 0 30px;
	color: #fff;
	font-size: 25px;
	font-weight: 600;
}

.v2-button {
	display: inline-block;
	padding: 17px 37px 16px;
	background: rgba(0, 0, 0, 0.41);
	color: #fff;
	transition: background 0.3s, color 0.3s;
}

.v2-button:hover,
.v2-button:focus {
	background: var(--v2-accent);
	color: #333;
}

@media (max-width: 1024px) {
	.v2-history__hero {
		grid-template-columns: 1fr;
		padding: 150px var(--v2-gutter) 100px;
	}

	.v2-history__title {
		font-size: 40px;
	}

	.v2-history__cta {
		padding: 100px var(--v2-gutter) 200px;
	}
}

@media (max-width: 767px) {
	.v2-history__hero {
		padding: 100px var(--v2-gutter) 60px;
	}

	.v2-history__title {
		font-size: 32px;
	}

	.v2-history__lead {
		font-size: 20px;
	}

	.v2-timeline {
		margin: 80px auto 100px;
	}

	/* 모바일: 세로선을 왼쪽에 두고 한 줄로 */
	.v2-timeline::before {
		left: calc(var(--v2-gutter) + 20px);
	}

	.v2-timeline__item,
	.v2-timeline__item:nth-child(even) {
		grid-template-columns: 40px 1fr;
		column-gap: 16px;
	}

	.v2-timeline__point {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.v2-timeline__meta,
	.v2-timeline__item:nth-child(even) .v2-timeline__meta {
		grid-column: 2;
		grid-row: 1;
		text-align: left;
		font-size: 24px;
	}

	.v2-timeline__card,
	.v2-timeline__item:nth-child(even) .v2-timeline__card {
		grid-column: 2;
		grid-row: 2;
		text-align: left;
	}

	.v2-timeline__title {
		font-size: 22px;
		letter-spacing: 1px;
	}

	.v2-timeline__desc {
		font-size: 15px;
		letter-spacing: 0.5px;
	}
}
