/*
 * 리더스 스텝 페이지(/staff/) — 원래 Elementor 화면과 픽셀 단위로 같게.
 *
 * 값은 전부 Elementor 판(페이지 2772 + 킷)의 계산값을 그대로 옮긴 것이다. 겉모양만 비슷하게 하면
 * 몇 px 씩 어긋나는 부분이 있어 계산 방식까지 맞췄다:
 *  - 칸(.lst-col)은 폭 50% + flex-shrink 1 — 3칸이 들어가며 줄어 각 1/3 이 된다(원래 방식).
 *  - 메뉴 칸은 폭 100% + 칸마다 다른 테두리 — 줄어드는 양이 테두리 폭에 비례해 217.09/216.25px.
 *  - 카드 사진 틀은 인라인 블록 — 본문 글꼴의 기준선 아래 여백이 사진과 이름 사이 간격에 들어간다.
 *    그래서 .lst 에는 글꼴을 지정하지 않는다(본문 글꼴을 그대로 상속해야 같은 간격이 나온다).
 * 브레이크포인트는 Elementor 킷과 같다 — 폰 ≤767, 태블릿 ≤1024.
 * 검증: 로컬 Elementor 판과 같은 조건 캡처 픽셀 비교(PC 1440·폰 390 × 분당·동탄).
 */

.lst {
	position: relative;
}

/* ---- 상단(히어로 + 하위 메뉴) ---- */

.lst-top {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: -70px; /* 투명 헤더 밑으로 */
}

.lst-hero,
.lst-hero__media {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* 배경 — 원래 사진 슬라이더(슬라이드 1장)의 레이어 구조를 그대로 둔다. 슬라이드가 GPU 합성 레이어
   (will-change)이고 그 위가 변형된 래퍼라, 구조가 다르면 배경 확대 결과가 1단계씩 달라진다. */
.lst-hero__swiper {
	height: 500px;
	overflow: hidden;
}

.lst-hero__wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	height: 100%;
	transform: translate(0, 0);
}

.lst-hero__slide {
	position: relative;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	will-change: transform;
}

.lst-hero__img {
	position: relative;
	height: 100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.lst-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	min-height: 500px;
}

.lst-hero__overlay::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.6;
}

.lst-hero__text {
	position: absolute;
	top: 300px;
	left: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.lst-hero__box {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1300px;
}

.lst .lst-hero__title,
.lst .lst-hero__lead {
	margin: 0;
	padding: 0;
	font-family: "NanumSquareNeo", Sans-serif;
	line-height: 1;
	color: #fff;
}

.lst .lst-hero__title {
	font-size: 45px;
	font-weight: 600;
}

.lst .lst-hero__lead {
	font-size: 22px;
	font-weight: 400;
}

.lst-hero__rule {
	display: flex;
	padding: 30px 0 20px;
}

.lst-hero__rule > span {
	display: flex;
	width: 50px;
	border-top: 1px solid #d1d1d1;
}

/* 하위 메뉴 */

.lst-nav {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 50px 0;
}

.lst-nav__row {
	position: relative;
	display: flex;
	flex: 0 1 auto;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 1300px;
}

.lst-nav__item {
	position: relative;
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	width: 100%;
	max-width: 1300px;
	padding: 20px 0;
	border-style: solid;
	border-width: 1px;
	border-color: #dddddddd;
}

.lst-nav__item--current {
	border-color: #a73439;
}

.lst-nav__item--b4,
.lst-nav__item--b {
	border-width: 1px 1px 1px 0;
	border-color: #ddd;
}

.lst-nav__w {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1300px;
	text-align: center;
}

.lst .lst-nav__t {
	display: block;
	margin: 0;
	padding: 0;
	font-family: "NanumSquareNeo", Sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: #949494;
	transition: color 0.25s ease;
}

.lst .lst-nav__item--current .lst-nav__t,
.lst .lst-nav__w:hover .lst-nav__t {
	color: #a73439;
}

.lst .lst-nav__t a,
.lst .lst-nav__t a:hover,
.lst .lst-nav__t a:focus {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
}

/* ---- 본문(지점 탭) ---- */

.lst-body {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.lst-body__inner {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
}

.lst-tabs {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	background-color: #fff;
	text-align: start;
}

.lst-tabs__list {
	display: flex;
	flex: 0 0 auto;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.lst .lst-tabs__list > .lst-tab {
	position: relative;
	display: flex;
	flex: 0 1 content;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0;
	padding: 15px 35px;
	border: 1px solid #a73439;
	border-radius: 40px;
	background: #f3f7f3;
	font-family: "NanumSquareNeo", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #54595f;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}

.lst .lst-tabs__list > .lst-tab:hover,
.lst .lst-tabs__list > .lst-tab:focus {
	/* 원래 화면 그대로: 선택 안 된 탭에 마우스를 올리면 테두리가 테마 기본 버튼 색(#c36)으로 바뀐다
	   (Elementor 의 테두리 색 규칙이 :not(:hover) 에만 걸려 있어서). */
	border-color: #c36;
	background: #f3f7f3;
	color: #a73439;
}

.lst .lst-tabs__list > .lst-tab[aria-selected="true"] {
	border-color: #a73439;
	background: #a73439;
	color: #f3f7f3;
}

.lst-tab__text {
	display: flex;
	align-items: center;
}

.lst-tabs__content {
	display: flex;
	flex-grow: 1;
	min-width: 0;
}

.lst-panel,
.lst-group,
.lst-col,
.lst-nest {
	position: relative;
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	padding: 10px;
}

.lst-panel[hidden] {
	display: none;
}

.lst-group__head {
	position: relative;
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.lst .lst-group__title {
	margin: 0;
	padding: 0;
	font-family: "NanumSquareNeo", Sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: #121212;
}

.lst-row {
	position: relative;
	display: flex;
	flex: 0 1 auto;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	padding: 10px;
	background-color: #fff;
}

.lst-col {
	width: 50%;
}

.lst-nest {
	flex: 0 0 auto;
}

/* 카드 — 원래 이미지 박스 */

.lst-card {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.lst-card__wrap {
	text-align: center;
}

.lst .lst-card__img {
	display: inline-block;
	width: 90%;
	margin: 0 0 25px;
	padding: 0;
}

.lst .lst-card__img img {
	display: block;
	/* 폭은 width 속성(원본 px) + max-width 100% 로 틀 폭에 맞춘다(원래 방식). auto 로 두면 높이 410px 에
	   맞춘 원본 비율 폭이 되어 5:7 사진이 좁아진다. */
	max-width: 100%;
	height: 410px;
	border: none;
	border-radius: 50px;
	box-shadow: none;
	line-height: 0;
	vertical-align: middle;
	object-fit: cover;
	object-position: center center;
	transition-duration: 0.3s;
}

.lst .lst-card--fill .lst-card__img img {
	object-fit: fill;
}

.lst-card__content {
	width: 100%;
}

.lst .lst-card__title {
	margin: 8px 0 16px;
	padding: 0;
	font-family: "NanumSquareNeo", Sans-serif;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.2;
	color: #000;
}

.lst .lst-card--pretendard .lst-card__title {
	font-family: "Pretendard", Sans-serif;
}

.lst .lst-card__desc {
	margin: 0;
	padding: 0;
	font-family: "Roboto", Sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #7a7a7a;
}

/* 줄 등장 — 원래처럼 화면에 들어오면 아래에서 떠오르며 나타난다(Elementor fadeInUp, 1.25초).
   숨김은 JS 가 있을 때만(head 의 lst-js) — JS 가 없으면 처음부터 보인다. */
html.lst-js .ldv-anim {
	visibility: hidden;
}

.lst-animated {
	animation: lst-fadeInUp 1.25s;
}

@keyframes lst-fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 100%, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lst-animated {
		animation: none;
	}
}

/* ---- 태블릿 ---- */

@media (max-width: 1024px) {
	.lst-hero__text {
		left: 22px;
		width: 90%;
	}

	.lst .lst-hero__title {
		font-size: 34px;
	}

	.lst .lst-hero__lead {
		font-size: 20px;
	}

	.lst-nav__item--n2,
	.lst-nav__item--n3,
	.lst-nav__item--n4,
	.lst-nav__item--n5,
	.lst-nav__item--n6 {
		align-items: center;
		justify-content: center;
	}
}

/* ---- 폰 ---- */

@media (max-width: 767px) {
	.lst-top,
	.lst-hero,
	.lst-hero__media,
	.lst-hero__text,
	.lst-hero__box,
	.lst-nav,
	.lst-panel,
	.lst-group,
	.lst-row,
	.lst-col,
	.lst-nest {
		flex-wrap: wrap;
	}

	.lst-hero__swiper {
		height: 350px;
	}

	.lst-hero__overlay {
		min-height: 350px;
	}

	.lst-hero__text {
		top: 220px;
		left: 11px;
		width: 90%;
	}

	.lst .lst-hero__title {
		font-size: 30px;
	}

	.lst-hero__rule {
		padding: 20px 0 10px;
	}

	.lst-hero__rule > span {
		width: 30px;
	}

	.lst .lst-hero__lead {
		font-size: 14px;
		line-height: 1.2em;
	}

	.lst-nav__row {
		flex-wrap: wrap;
		align-items: stretch;
		width: 95%;
	}

	.lst-nav__item {
		width: 50%;
	}

	.lst-nav__item--n1 {
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	.lst-nav__item--n4 {
		border-width: 0 1px 1px 1px;
	}

	.lst-nav__item--n5,
	.lst-nav__item--n6 {
		border-width: 1px;
	}

	.lst .lst-nav__t {
		font-size: 14px;
	}

	.lst-tabs__list {
		gap: 20px;
	}

	.lst-col {
		width: 100%;
	}

	/* 빈 칸은 PC·태블릿에서 카드를 가운데로 미는 자리일 뿐 — 폰(한 칸씩 쌓임)에선 여백만 남긴다. */
	.lst-col:empty {
		display: none;
	}
}
