/* ================================================
   서브페이지 공통 스타일
   ================================================ */

/* ── 서브 헤더 ── */
/*
  --r : 외곽 모서리 반경 (border-radius와 연동)
  --s : 노치 오목 호의 반경
  --x : 노치 가로 확장 (전체 가로 = s + 2r + x)
  --y : 노치 세로 확장 (전체 세로 = s + 2r + y)
  현재 설정: 노치 280px × 65px (드롭다운 크기에 맞춤)
*/
.sub-header {
	--r: 40px;
	--s: 40px;
	--x: 220px;
	--y: 0px;
	position: relative;
	width: calc(100% - 80px);
	height: 465px;
	max-width: 1680px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	margin: 30px auto;
	isolation: isolate;
}

/* 배경 이미지 레이어 — 마스크는 여기에만 적용, 자식 요소는 영향 없음 */
.sub-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: var(--r);
	--_m: /calc(2 * var(--r)) calc(2 * var(--r)) radial-gradient(#000 70%, #0000 72%);
	--_g: conic-gradient(from 90deg at calc(100% - var(--r)) calc(100% - var(--r)), #0000 25%, #000 0);
	--_d: (var(--s) + var(--r));
	-webkit-mask:
		calc(100% - var(--_d) - var(--x)) 100% var(--_m),
		100% calc(100% - var(--_d) - var(--y)) var(--_m),
		radial-gradient(var(--s) at 100% 100%, #0000 99%, #000 calc(100% + 1px)) calc(-1 * var(--r) - var(--x)) calc(-1 * var(--r) - var(--y)),
		var(--_g) calc(-1 * var(--_d) - var(--x)) 0,
		var(--_g) 0 calc(-1 * var(--_d) - var(--y));
	-webkit-mask-repeat: no-repeat;
	mask:
		calc(100% - var(--_d) - var(--x)) 100% var(--_m),
		100% calc(100% - var(--_d) - var(--y)) var(--_m),
		radial-gradient(var(--s) at 100% 100%, #0000 99%, #000 calc(100% + 1px)) calc(-1 * var(--r) - var(--x)) calc(-1 * var(--r) - var(--y)),
		var(--_g) calc(-1 * var(--_d) - var(--x)) 0,
		var(--_g) 0 calc(-1 * var(--_d) - var(--y));
	mask-repeat: no-repeat;
	animation: hero-zoom 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes hero-zoom {
	from { transform: scale(1.04); }
	to   { transform: scale(1); }
}

/* --bg 커스텀 프로퍼티로 배경 이미지 전달 */
.sub-header--ir {
	--bg: url('../img/sub/sub_ir_f.jpg');
}
.sub-header--press {
	--bg: url('../img/sub/sub_press_f.png');
}
.sub-header--jobs {
	--bg: url('../img/sub/sub_job_f.png');
}
.sub-header--rnd {
	--bg: url('../img/sub/sub_rnd_f.png');
}
.sub-header--brand {
	--bg: url('../img/sub/sub_brand_f.png');
}
.sub-header--cert {
	--bg: url('../img/sub/sub_cert_f.png');
}

.sub-header-inner {
	width: 100%;
	max-width: 1680px;
	margin: 0 auto;
	height: 100%;
	max-height: 465px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* padding: 0 40px; */
	z-index: 1;
}

.sub-header-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.sub-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 75px;
	height: 32px;
	border-radius: 600px;
	background: #d60057;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.64px;
	margin-bottom: 20px;
}

.sub-title {
	color: #fff;
	text-align: center;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 55px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -2.2px;
	margin-bottom: 38px;
}

.sub-desc {
	color: #cfcfcf;
	text-align: center;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.88px;
}

.sub-location {
	position: absolute;
	bottom: 0;
	right: 0;
}

/* Sub-page nav card (커스텀 셀렉트박스) */
.sub-nav {
	position: relative;
	background: #fff;
	border-radius: 600px;
	border: 1px solid #dedede;
	min-width: 280px;
}

.sub-nav-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #121212;
	letter-spacing: -0.48px;
	cursor: pointer;
	border-radius: 16px;
}

.sub-nav-head svg {
	flex-shrink: 0;
	transition: transform 0.22s ease;
}

.sub-nav:hover .sub-nav-head svg {
	transform: rotate(180deg);
}

/* 드롭다운 리스트: 헤더 아래로 내려감 */
.sub-nav-links {
	list-style: none;
	margin: 5px;
	padding: 0;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 35px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
	z-index: 50;
}

.sub-nav:hover .sub-nav-links {
	max-height: 300px;
}

.sub-nav-links li a {
	display: block;
	padding: 10px 22px 12px;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #555;
	white-space: nowrap;
	transition: color 0.15s;
}

.sub-nav-links li:first-child a {
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}

.sub-nav-links li a:hover {
	color: #d60057;
}

/* ── 본문 공통 ── */
.sub-content {
	padding-top: 120px;
	/* padding-bottom: 120px; */
}

.sub-container {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 40px;
}

/* 상단 카운트 + 검색 바 */
.content-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.content-count {
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	color: #555;
}

.content-count strong {
	color: #d60057;
	font-weight: 700;
}

.search-bar {
	display: flex;
	gap: 8px;
	align-items: center;
}

.search-bar input {
	width: 342px;
	height: 45px;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	background: #fff;
	padding: 0 16px;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	outline: none;
}

.search-bar button {
	width: 62px;
	height: 45px;
	border-radius: 3px;
	background: #eee;
	color: #121212;
	border: none;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: -0.64px;
	cursor: pointer;
}

/* ── IR 공시정보 ── */
.ir-post-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ir-post-item {
	display: grid;
	grid-template-rows: 90px 0fr;
	row-gap: 0;
	border-radius: 25px;
	background: #f8f8f8;
	overflow: hidden;
	cursor: pointer;
	transition:
		grid-template-rows 0.4s ease,
		background 0.35s ease,
		padding 0.35s ease,
		row-gap 0.35s ease;
}

.ir-post-item.open {
	grid-template-rows: 90px 1fr;
	background: #272727;
	padding: 20px 20px 40px;
	row-gap: 32px;
}

.ir-post-row {
	display: flex;
	align-items: center;
	height: 90px;
	padding: 0 40px;
	gap: 24px;
	transition:
		border-radius 0.35s ease,
		background 0.35s ease;
}

.ir-post-item.open .ir-post-row {
	border-radius: 600px;
	background: #fff;
}

.ir-num {
	width: 46px;
	text-align: center;
	color: #121212;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: -0.64px;
	flex-shrink: 0;
}

.ir-pin-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 30px;
	border-radius: 8px;
	background: #ffdbea;
	color: #d60057;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: -0.64px;
	flex-shrink: 0;
}

.ir-title {
	flex: 1;
	color: #121212;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ir-date {
	color: #767676;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: -0.64px;
	flex-shrink: 0;
}

.ir-post-body {
	overflow: hidden;
	color: #fff;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: -0.72px;
	padding: 0 20px;
}

.ir-post-body img {
	max-width: 100%;
	height: auto;
}

.ir-attach-list {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
}

.ir-attach-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.07);
	border-radius: 6px;
	color: #cfcfcf;
	font-size: 13px;
	text-decoration: none;
	transition: background 0.2s;
	align-self: flex-start;
}

.ir-attach-link:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* ── 보도자료 ── */
.press-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #c0c0c0;
	margin-bottom: 0;
}

.press-tabs {
	display: flex;
	align-items: center;
}

.press-tab {
	color: #c5c5c5;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 100px;
	letter-spacing: -0.96px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 0 16px;
	cursor: pointer;
	transition: border-color 0.2s;
}

.press-tab:first-child {
	padding-left: 0;
}

.press-tab.active {
	color: #121212;
	border-bottom-color: #d60057;
}

.press-list {
	display: flex;
	flex-direction: column;
}

@keyframes press-arrow-bounce {
	0%,
	100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(10px);
	}
}

.press-card {
	display: flex;
	align-items: center;
	gap: 60px;
	height: 360px;
	border-bottom: 1px solid #c0c0c0;
	text-decoration: none;
	color: inherit;
	position: relative;
	/* overflow: hidden; */
}

.press-thumb {
	width: 458px;
	height: 267px;
	border-radius: 20px;
	border: 1px solid #ccc;
	overflow: hidden;
	flex-shrink: 0;
	background: #f0f0f0;
}

.press-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.press-card:hover .press-thumb img {
	transform: scale(1.04);
}

.press-thumb-empty {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
	font-size: 40px;
}

.press-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 25px;
}

.press-cat {
	color: #d60057;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.72px;
}

.press-title {
	color: #121212;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.96px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.press-excerpt {
	color: #4b4b4b;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: -0.64px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.press-date {
	color: #929292;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: -0.56px;
	text-align: center;
}

.press-arrow-img {
	width: 40px;
	height: auto;
	flex-shrink: 0;
	opacity: 0;
	transform: translateX(-12px);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.press-card:hover .press-arrow-img {
	opacity: 1;
	animation: press-arrow-bounce 0.7s ease infinite;
}

/* ── 채용공고 ── */
.jobs-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
}

.content-count {
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #121212;
}

.content-count strong {
	font-weight: 700;
}

.jobs-filter {
	display: flex;
	align-items: center;
	gap: 12px;
}

.jobs-tab {
	color: #636363;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: -0.72px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0 8px;
}

.jobs-tab.active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	background: #d60057;
	border-radius: 600px;
	width: 73px;
	height: 40px;
	padding: 0;
}

.job-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.job-card {
	display: grid;
	grid-template-rows: 163px 0fr;
	border-radius: 20px;
	background: #f8f8f8;
	overflow: hidden;
	cursor: pointer;
	transition: grid-template-rows 0.4s ease;
}

.job-card.open {
	grid-template-rows: 163px 1fr;
}

.job-card-row {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 0 40px;
	height: 163px;
	box-sizing: border-box;
	position: relative;
	cursor: pointer;
}

.job-card.open .job-card-row::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50px;
	right: 50px;
	height: 1px;
	background: #c8c8c8;
}

.job-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 65px;
	height: 35px;
	border-radius: 600px;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.72px;
	flex-shrink: 0;
	background: transparent;
}

.job-status.active {
	border: 1px solid #d60057;
	color: #d60057;
}

.job-status.closed {
	border: 1px solid #595959;
	color: #373737;
}

.job-main-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.job-title {
	font-family: 'Pretendard Variable', sans-serif;
	color: #121212;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.96px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.job-row2 {
	display: flex;
	align-items: center;
	gap: 12px;
}

.job-dates {
	font-family: 'Pretendard Variable', sans-serif;
	color: #7b7b7b;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.8px;
	white-space: nowrap;
}

.job-dday {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 65px;
	height: 35px;
	border-radius: 600px;
	border: 1px solid #d60057;
	color: #d60057;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.64px;
	flex-shrink: 0;
}

.job-sub {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}

.job-sub span {
	font-family: 'Pretendard Variable', sans-serif;
	color: #121212;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.8px;
	white-space: nowrap;
}

.job-dot {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.job-apply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 169px;
	height: 65px;
	border-radius: 50px;
	background: #373737;
	color: #fff;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.96px;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity 0.2s;
}

.job-apply-btn:hover {
	opacity: 0.85;
}

.job-apply-btn.closed {
	background: #9f9f9f;
	color: #d0d0d0;
	cursor: default;
}

.job-apply-btn.closed:hover {
	opacity: 1;
}

.job-apply-mobile {
	display: none;
}

.job-card-body {
	overflow: hidden;
}

.job-card-body-inner {
	padding: 40px 40px 50px;
	color: #313131;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: -0.64px;
}

.job-card-body-inner img {
	max-width: 100%;
	height: auto;
}

.job-attach-list {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.job-attach-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid #dedede;
	border-radius: 6px;
	color: #555;
	font-size: 14px;
	text-decoration: none;
	transition: border-color 0.2s;
}

.job-attach-link:hover {
	border-color: #d60057;
	color: #d60057;
}

/* ── Future R&D 그리드 ── */
.rd-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.rd-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	cursor: pointer;
}

.rd-card-img-wrap {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 546 / 345;
	background: #efefef;
	border: 1px solid #e9e9e9;
}

.rd-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.rd-card:hover .rd-card-img {
	transform: scale(1.06);
}

.rd-card-img-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
	font-size: 40px;
	width: 100%;
	height: 100%;
}

.rd-dev-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	padding: 4px 14px;
	border-radius: 600px;
	background: #d60057;
	color: #fff;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.52px;
	white-space: nowrap;
}

.rd-card-footer {
	height: 70px;
	border-radius: 15px;
	background: #f8f8f8;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0 50px;
	z-index: -1;
	transition: background 0.3s;
}

.rd-card:hover .rd-card-footer {
	background: #d60057;
}

.rd-card-title {
	font-family: 'Pretendard Variable', sans-serif;
	color: #121212;
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.72px;
	text-align: center;
	transition: color 0.3s;
	word-break: keep-all;
}

.rd-card:hover .rd-card-title {
	color: #fff;
}

.rd-card-arrow {
	opacity: 0;
	position: absolute;
	right: 20px;
	z-index: -1;
	bottom: 0;
}
.rd-card:hover .rd-card-arrow {
	opacity: 1;
}
/* ── 페이지네이션 ── */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 56px;
}

.pg-btn {
	background: none;
	border: none;
	color: #888;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 100px;
	letter-spacing: 36.6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 0 36.6px;
	height: 100px;
	transition: color 0.15s;
}

.pg-btn:first-child,
.pg-btn:last-child {
	letter-spacing: 0;
	padding: 0;
	width: 12px;
	height: 24px;
	align-self: center;
}

.pg-btn.active {
	color: var(--MainColor, #d60057);
	font-weight: 600;
}

.pg-btn:hover:not(:disabled) {
	color: #121212;
}

.pg-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.pg-btn svg {
	flex-shrink: 0;
	width: 12px;
	height: 24px;
}

/* ── 로딩 / 빈 상태 ── */
.loading-msg,
.empty-msg {
	text-align: center;
	padding: 80px 20px;
	color: #999;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 16px;
}
@media (max-width: 1280px) {
	.rd-card-title{
		font-size: 16px;
		line-height: 20px;
	}

}
@media (max-width: 1024px) {
	.rd-grid{
		grid-template-columns: repeat(2, 1fr);
		gap:12px;
	}
}
/* ── 모바일 ── */
@media (max-width: 768px) {
	/* 모바일 노치: 260px × 70px
	   s + 2r + x = 260, s + 2r + y = 70
	   r=12, s=12 → x=224, y=46 */
	.sub-header {
		--r: 25px;
		--s: 25px;
		--x: 210px;
		--y: 14px;
		height: 409px;
		width: 100%;
		max-width: 100%;
		margin: 16px auto;
	}
	.sub-header::before {
		inset: 0 20px;
		animation: none;
		background-size: cover;
	}

	.sub-location {
		right: 20px;
	}
	.sub-header--ir {
		--bg: url('../img/sub/sub_ir_mo_f.png');
	}
	.sub-header--press {
		--bg: url('../img/sub/sub_press.png');
	}
	.sub-header--jobs {
		--bg: url('../img/sub/sub_job_mo_f.png');
	}
	.sub-header--rnd {
		--bg: url('../img/sub/sub_rnd_mo_f.png');
	}
	.sub-header--brand {
		--bg: url('../img/sub/sub_brand_mo_f.png');
	}
	.sub-header--cert {
		--bg: url('../img/sub/sub_cert_mo_f.png');
	}

	.sub-badge {
		width: 61px;
		height: 32px;
		font-size: 13px;
	}

	.sub-title {
		font-size: 7vw;
		line-height: 48px;
		letter-spacing: 0;
		margin-bottom: 16px;
	}

	.sub-desc {
		font-size: 14px;
		line-height: 22px;
		letter-spacing: -0.56px;
	}

	.sub-nav {
		min-width: 220px;
	}
	.sub-nav-head {
		font-size: 14px;
		padding: 14px 18px;
	}
	.sub-nav-links li a {
		font-size: 13px;
		padding: 9px 18px;
	}

	.sub-content {
		padding-top: 60px;
		padding-bottom: 80px;
	}
	.sub-container {
		padding: 0 20px;
	}

	.content-topbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.search-bar {
		width: 100%;
	}
	.search-bar input {
		flex: 1;
		width: auto;
	}
	.search-bar button {
		width: 62px;
		flex-shrink: 0;
	}

	.ir-post-list {
		gap: 10px;
	}

	.ir-post-item {
		border-radius: 10px;
		grid-template-rows: 50px 0fr;
	}

	.ir-post-item.open {
		border-radius: 10px;
		grid-template-rows: 50px 1fr;
		padding: 14px 14px 28px;
		row-gap: 24px;
	}

	.ir-post-row {
		height: 50px;
		padding: 0 20px;
		gap: 12px;
	}

	.ir-post-item.open .ir-post-row {
		width: 100%;
		height: 47px;
		margin: 0 auto;
		padding: 0 20px;
	}

	.ir-title {
		font-size: 16px;
		font-weight: 500;
		line-height: 32px;
		letter-spacing: -0.64px;
	}

	.ir-num {
		font-size: 14px;
		width: 32px;
	}

	.ir-pin-badge {
		font-size: 14px;
		width: 40px;
		height: 26px;
	}

	.ir-date {
		font-size: 12px;
		line-height: 20px;
		letter-spacing: -0.48px;
	}

	.ir-post-body {
		font-size: 14px;
		padding: 0 8px;
	}

	.pagination {
		gap: 12px;
	}

	.pg-btn {
		height: 48px;
		line-height: 48px;
	}

	.press-topbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.press-tab:first-child {
		padding-left: 28px;
	}
	.press-tab {
		font-size: 16px;
		line-height: 40px;
		padding: 0 28px;
		text-align: center;
	}

	.press-card {
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		padding: 24px 0;
		gap: 16px;
	}

	.press-thumb {
		width: 100%;
		height: 200px;
		border-radius: 12px;
	}

	.press-body {
		align-items: flex-start;
		text-align: left;
		gap: 6px;
		width: 100%;
	}

	.press-title {
		font-size: 18px;
		line-height: 26px;
		letter-spacing: -0.72px;
	}

	.press-cat {
		font-size: 14px;
		line-height: 24px;
	}

	.press-excerpt {
		font-size: 14px;
	}

	.press-arrow-img {
		display: none;
	}

	.jobs-tab {
		font-size: 14px;
		line-height: 28px;
		letter-spacing: -0.56px;
		padding: 0 6px;
	}

	.jobs-tab.active {
		width: 55px;
		height: 23px;
		font-size: 14px;
	}

	.job-list {
		gap: 10px;
	}

	.job-card {
		grid-template-rows: auto 0fr;
	}

	.job-card.open {
		grid-template-rows: auto 1fr;
	}

	.job-card-row {
		height: auto;
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 20px;
		gap: 8px;
	}

	.job-card.open .job-card-row::after {
		left: 0;
		right: 0;
	}

	.job-status {
		width: auto;
		height: auto;
		padding: 3px 10px;
		font-size: 12px;
		font-weight: 400;
		line-height: 18px;
		letter-spacing: -0.48px;
	}

	.job-main-col {
		width: 100%;
		gap: 4px;
	}

	.job-title {
		font-size: 16px;
		font-weight: 500;
		line-height: 20px;
		letter-spacing: -0.64px;
		white-space: normal;
	}

	.job-row2 {
		gap: 8px;
	}

	.job-dates {
		font-size: 12px;
		line-height: 20px;
		letter-spacing: -0.48px;
	}

	.job-dday {
		width: auto;
		height: auto;
		padding: 3px 8px;
		font-size: 12px;
		letter-spacing: -0.48px;
	}

	.job-sub {
		width: 100%;
		flex-wrap: wrap;
		gap: 8px;
	}

	.job-sub span {
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		letter-spacing: -0.56px;
	}

	.job-apply-desktop {
		display: none !important;
	}

	.job-apply-mobile {
		display: flex;
		width: 100%;
		max-width: 344px;
		height: 50px;
		margin: 24px auto 0;
		font-size: 18px;
		font-weight: 600;
		letter-spacing: -0.72px;
		border-radius: 50px;
	}

	.job-card-body-inner {
		padding: 20px;
		font-size: 14px;
		line-height: 18px;
		letter-spacing: -0.56px;
		color: #5d5d5d;
	}

	.rd-card-footer {
		justify-content: flex-start;
		padding: 0 44px 0 16px;
	}

	.rd-card-arrow {
		height: 75%;
	}

	.rd-card-title {
		font-size: 16px;
		text-align: left;
		line-height: 20px;
	}
}
@media (max-width: 500px){
	.rd-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.rd-card-img-wrap{
		aspect-ratio: 335 / 180;
	}

}

/* ── 상세 페이지 ── */
.detail-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 14px;
	color: #555;
	text-decoration: none;
	margin-bottom: 48px;
	transition: color 0.2s;
}
.detail-back:hover {
	color: #d60057;
}
.detail-back i {
	font-size: 12px;
}

.detail-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.detail-cat {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 4px;
	background: rgba(214, 0, 87, 0.08);
	color: #d60057;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 13px;
	font-weight: 600;
}

.detail-date {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 14px;
	color: #999;
}

.detail-title {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #121212;
	line-height: 1.35;
	letter-spacing: -1px;
	margin-bottom: 40px;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 36px;
}

.detail-cover {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 48px;
	display: block;
}

.detail-video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 48px;
}

.detail-video iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.detail-body {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 16px;
	line-height: 1.85;
	color: #333;
}

.detail-body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.detail-body h1,
.detail-body h2,
.detail-body h3 {
	color: #121212;
	margin: 32px 0 16px;
}
.detail-body p {
	margin: 0 0 16px;
}
.detail-body a {
	color: #d60057;
}
.detail-body ul,
.detail-body ol {
	padding-left: 24px;
	margin-bottom: 16px;
}

.detail-attach-wrap {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}

.detail-attach-title {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #121212;
	margin-bottom: 16px;
}

.detail-attach-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.detail-attach-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: 1px solid #dedede;
	border-radius: 8px;
	color: #555;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 14px;
	text-decoration: none;
	align-self: flex-start;
	transition:
		border-color 0.2s,
		color 0.2s;
}

.detail-attach-link:hover {
	border-color: #d60057;
	color: #d60057;
}

.detail-bottom-nav {
	display: flex;
	justify-content: center;
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid #e5e5e5;
}

.detail-list-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 36px;
	background: #121212;
	color: #fff;
	border-radius: 8px;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s;
}

.detail-list-btn:hover {
	opacity: 0.8;
}

@media (max-width: 768px) {
	.detail-title {
		font-size: 24px;
		margin-bottom: 28px;
		padding-bottom: 24px;
	}
	.detail-back {
		margin-bottom: 28px;
	}
	.detail-body {
		font-size: 15px;
	}
}
