html,
body {
	margin: 0;
	width: 100%;
	min-height: 100%;
	background: #f5b900;
	overflow-x: hidden;
}

body {
	color: #111;
}

.lnb-wrap { 
	background: #f5b900; 
	margin-bottom: 0; 
}

.bg-img {
	position: fixed;
	z-index: 0;
	pointer-events: none;
	opacity: 0.35;
}

.bg-img-1 {
	top: -80px;
	left: -95px;
	width: 230px;
}

.bg-img-2 {
	right: -95px;
	bottom: 82px;
	width: 230px;
}

.study-tip-page {
	position: relative;
	z-index: 1;
	min-height: 100dvh;
	padding: 46px 18px 110px;
	box-sizing: border-box;
	margin: auto;
}

.study-tip-header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 24px;
}

.study-tip-header__back {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #111;
	text-decoration: none;
	font-size: 28px;
}

.study-tip-header h1 {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.study-tip-header p {
	margin: 4px 0 0;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.study-tip-intro {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 18px;
	background: rgba(255, 239, 184, 0.92);
	box-sizing: border-box;
}

.study-tip-intro__icon {
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.55);
	font-size: 25px;
}

.study-tip-intro h2 {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.study-tip-intro p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(0, 0, 0, 0.65);
	letter-spacing: -0.03em;
}

.study-tip-section-title {
	margin: 22px 0 12px;
	padding: 0 4px;
}

.study-tip-section-title h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #111;
}

.study-tip-section-title p {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 500;
	letter-spacing: -0.03em;
	color: rgba(0, 0, 0, 0.62);
}

.study-tip-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.study-tip-card {
	display: flex;
	gap: 14px;
	padding: 12px;
	border-radius: 16px;
	background: rgba(255, 239, 184, 0.95);
	text-decoration: none;
	color: #111;
	box-sizing: border-box;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.study-tip-card__thumb {
	position: relative;
	flex: 0 0 42%;
	aspect-ratio: 16 / 9;
	border-radius: 11px;
	overflow: hidden;
	background: #132c80;
}

.study-tip-card__thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.study-tip-card__play {
	position: absolute;
	left: 10px;
	bottom: 10px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 13px;
}

.study-tip-card__info {
	flex: 1;
	min-width: 0;
	padding: 2px 0;
}

.study-tip-card__info h3 {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -0.04em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.study-tip-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.62);
	letter-spacing: -0.03em;
}

.study-tip-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.lnb-wrap {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding-bottom: env(safe-area-inset-bottom);
	box-sizing: content-box;
}

.lnb-wrap a {
	text-decoration: none;
}

@media (max-width: 430px) {
	.study-tip-page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.study-tip-header h1 {
		font-size: 30px;
	}

	.study-tip-card {
		gap: 12px;
	}

	.study-tip-card__info h3 {
		font-size: 16px;
	}

	.study-tip-card__meta {
		font-size: 12px;
	}
}

/* 상세페이지 css */
/* 상세페이지 배경 이미지 */
.ipat-view-bg {
	position: fixed;
	z-index: 0;
	pointer-events: none;
	opacity: 0.3;
}

.ipat-view-bg--top {
	top: -80px;
	left: -95px;
	width: 230px;
}

.ipat-view-bg--bottom {
	right: -95px;
	bottom: 82px;
	width: 230px;
}

/* 상세페이지 전체 */
.ipat-view-page {
	position: relative;
	z-index: 1;
	min-height: 100dvh;
	padding: 46px 18px 110px;
	box-sizing: border-box;
	margin: auto;
}

/* 상단 */
.ipat-view-header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 24px;
}

.ipat-view-header__back {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #111;
	text-decoration: none;
	font-size: 28px;
}

.ipat-view-header__text h1 {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.ipat-view-header__text p {
	margin: 4px 0 0;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.03em;
}

/* 영상 영역 */
.ipat-view-player {
	width: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: #111;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.ipat-view-player iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #111;
}

/* 영상 정보 카드 */
.ipat-view-info-card {
	margin-top: 18px;
	padding: 22px 20px;
	border-radius: 20px;
	background: rgba(255, 239, 184, 0.95);
	box-sizing: border-box;
}

.ipat-view-info-card h2 {
	margin: 0;
	font-size: 25px;
	line-height: 1.32;
	font-weight: 800;
	letter-spacing: -0.05em;
}

.ipat-view-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.62);
	letter-spacing: -0.03em;
}

.ipat-view-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ipat-view-meta__bar {
	color: rgba(0, 0, 0, 0.28);
}

/* 영상소개 */
.ipat-view-desc-card {
	margin-top: 14px;
	padding: 22px 20px;
	border-radius: 20px;
	background: rgba(255, 239, 184, 0.95);
	box-sizing: border-box;
}

.ipat-view-desc-card h3 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.ipat-view-desc-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.66);
	letter-spacing: -0.03em;
}

/* 다음 영상 */
.ipat-view-next-card {
	margin-top: 14px;
	padding: 22px 20px;
	border-radius: 20px;
	background: rgba(255, 239, 184, 0.95);
	box-sizing: border-box;
	
	/* display: none; */
}

.ipat-view-next-card h3 {
	margin: 0 0 14px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.ipat-view-next-link {
	display: flex;
	align-items: center;
	gap: 13px;
	text-decoration: none;
	color: #111;
}

.ipat-view-next-thumb {
	position: relative;
	flex: 0 0 39%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #132c80;
}

.ipat-view-next-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ipat-view-next-play {
	position: absolute;
	left: 9px;
	bottom: 9px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 12px;
}

.ipat-view-next-info {
	flex: 1;
	min-width: 0;
}

.ipat-view-next-info strong {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.ipat-view-next-info p {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.58);
	letter-spacing: -0.03em;
}

.ipat-view-next-arrow {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.48);
	font-size: 20px;
}

/* 하단 메뉴는 기존 공통 사용 */
.lnb-wrap {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding-bottom: env(safe-area-inset-bottom);
	box-sizing: content-box;
}

.lnb-wrap a {
	text-decoration: none;
}

/* 반응형 */
@media (max-width: 430px) {
	.ipat-view-page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ipat-view-header__text h1 {
		font-size: 30px;
	}

	.ipat-view-info-card h2 {
		font-size: 23px;
	}

	.ipat-view-info-card,
	.ipat-view-desc-card,
	.ipat-view-next-card {
		padding: 20px 18px;
	}

	.ipat-view-next-info strong {
		font-size: 16px;
	}

	.ipat-view-next-arrow {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
}