/*
 * 메이커스 강의 카드 + 페이지 폭 — /bootcamp/iot, /bootcamp/ai, /bootcamp/jeju-ai 공통
 * jeju_landing.html 인라인 스타일 뒤에 로드되어 변수·그리드를 보완한다.
 */

/* 전역 컨테이너: 좁은 1120px → 1200~1280px 대역으로 통일 */
.jeju-landing-page {
	--jeju-container: min(1280px, calc(100vw - 40px));
}

/* 히어로: 콘텐츠 가운데 정렬 + 메인 비주얼 높이 (인라인 padding은 jeju_landing 유지) */
.jeju-landing-page .jeju-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* 이전 공통화에서 38vh/420px 상한이 너무 낮아 배너처럼 보임 → 데스크톱 메인 섹션 높이로 복구 */
	min-height: clamp(560px, 76vh, 700px);
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.jeju-landing-page .jeju-hero {
		min-height: clamp(460px, 62vh, 580px);
	}
}

@media (max-width: 640px) {
	.jeju-landing-page .jeju-hero {
		min-height: clamp(420px, 50vh, 520px);
	}
}

.jeju-landing-page .jeju-hero__content {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 880px;
	box-sizing: border-box;
}

/* 강의 카드 밴드: inner 폭 명시 (이중 제한 완화) */
.jeju-landing-page .jeju-section-band--iot-makers .jeju-landing-page__inner {
	width: 100%;
	max-width: var(--jeju-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* --- Course grid: desktop 3 / tablet 2 / mobile 1 --- */
.jeju-landing-page .iot-makers-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 2.6vw, 32px);
	width: 100%;
	align-items: stretch;
}

@media (max-width: 960px) {
	.jeju-landing-page .iot-makers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.jeju-landing-page .iot-makers-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.jeju-landing-page .iot-makers-card {
	min-width: 0;
	height: 100%;
}

.jeju-landing-page .iot-makers-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.09);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jeju-landing-page .iot-makers-card__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.jeju-landing-page .iot-makers-card__thumb {
	aspect-ratio: 16 / 9;
	background: #e2e8f0;
	overflow: hidden;
	flex-shrink: 0;
}

.jeju-landing-page .iot-makers-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jeju-landing-page .iot-makers-card__body {
	padding: 14px 16px 18px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 0;
}

.jeju-landing-page .iot-makers-card__track {
	font-size: 0.75rem;
	font-weight: 700;
	color: #1d4ed8;
}

.jeju-landing-page .iot-makers-card__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	color: #0f172a;
}

.jeju-landing-page .iot-makers-card__desc {
	margin: 0;
	flex: 1 1 auto;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #64748b;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jeju-landing-page .iot-makers-card__cta {
	font-size: 0.82rem;
	font-weight: 700;
	color: #1d4ed8;
	margin-top: auto;
	padding-top: 4px;
}

.jeju-landing-page .iot-makers-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	color: #64748b;
	font-size: 0.9rem;
}

.jeju-landing-page .iot-makers-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 6px;
}

.jeju-landing-page .iot-makers-tab {
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(29, 78, 216, 0.22);
	background: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jeju-landing-page .iot-makers-tab.is-active {
	background: rgba(29, 78, 216, 0.12);
	border-color: rgba(29, 78, 216, 0.45);
	color: #1d4ed8;
}

/* ----- 섹션 밴드 간격 ----- */
.jeju-landing-page .jeju-section-band--iot-makers {
	padding-top: clamp(40px, 5vw, 56px);
	padding-bottom: clamp(20px, 3vw, 32px);
}
.jeju-landing-page .jeju-section-band--iot-makers .iot-makers-head {
	margin-bottom: clamp(16px, 2.2vw, 22px);
}
.jeju-landing-page .jeju-section-band--iot-makers + .jeju-section-band--iot-makers {
	padding-top: clamp(20px, 3vw, 36px);
}
.jeju-landing-page .jeju-section-band--iot-makers + .jeju-section-band--trust {
	padding-top: clamp(24px, 3.5vw, 40px);
}
/* 신뢰 슬라이더 → 전자책 (시작 방식 섹션 제거 후 직연결) */
.jeju-landing-page .jeju-section-band--trust + .jeju-section-band--ebook {
	padding-top: clamp(32px, 4.5vw, 48px);
}
.jeju-landing-page .jeju-section-band--ebook + .jeju-final-promo-section {
	margin-top: clamp(20px, 3vw, 36px);
}

@media (max-width: 960px) {
	.jeju-landing-page .jeju-section-band--iot-makers {
		padding-top: clamp(32px, 4.5vw, 44px);
		padding-bottom: clamp(20px, 3vw, 32px);
	}
	.jeju-landing-page .jeju-section-band--iot-makers + .jeju-section-band--iot-makers {
		padding-top: clamp(16px, 2.5vw, 28px);
	}
}

@media (max-width: 640px) {
	.jeju-landing-page .jeju-section-band--iot-makers {
		padding-top: clamp(28px, 4vw, 40px);
		padding-bottom: clamp(18px, 2.8vw, 28px);
	}
	.jeju-landing-page .jeju-section-band--iot-makers + .jeju-section-band--iot-makers {
		padding-top: clamp(14px, 2.2vw, 24px);
	}
}
