:root {
	--blue: #2b3af7;
	--blue-deep: #1f2bd0;
	--blue-rgb: 43, 58, 247;
	--ink: #16181d;
	--muted: #596070;
	--paper: #ffffff;
	--soft: #f2f4f7;
	--line: #dfe3ea;
	--focus: #ffd23f;
	--wrap: 1200px;
	--gutter: 20px;
	--bar: 64px;
	--font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.st-head-main :focus-visible,
.st-hero :focus-visible,
.st-foot :focus-visible { outline-color: var(--focus); }

.st-skip {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 100;
	padding: 8px 14px;
	background: #fff;
	color: var(--ink);
	border-radius: 4px;
}
.st-skip:focus { top: 8px; }

.st-wrap {
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* 헤더 */
.st-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.st-head-main { background: var(--blue); border-bottom-color: transparent; color: #fff; }

.st-bar {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--bar);
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.st-logo { margin: 0; flex: none; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.st-logo a { display: flex; align-items: center; height: var(--bar); }
.st-logo img { display: block; max-height: 32px; width: auto; }

.st-gnb { flex: 1; align-self: stretch; }
.st-gnb > ul { display: flex; height: 100%; }
.st-gnb > ul > li { position: relative; }
.st-gnb > ul > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 14px;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	opacity: 0.78;
}
.st-gnb > ul > li:hover > a,
.st-gnb > ul > li:focus-within > a,
.st-gnb > ul > li.active > a { opacity: 1; }
.st-gnb > ul > li.active > a { box-shadow: inset 0 -3px 0 currentColor; }

.st-sub {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 200px;
	padding: 8px 0;
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(22, 24, 29, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.st-gnb li:hover > .st-sub,
.st-gnb li:focus-within > .st-sub { opacity: 1; visibility: visible; transform: none; }
.st-sub a { display: block; padding: 8px 20px; font-size: 0.93rem; }
.st-sub a:hover, .st-sub li.active a { background: var(--soft); font-weight: 600; }

.st-tools { display: flex; align-items: center; gap: 14px; flex: none; }

.st-mini-search input {
	width: 170px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--soft);
	color: var(--ink);
	font: inherit;
	font-size: 0.9rem;
	transition: width 0.2s;
}
.st-mini-search input:focus { width: 240px; background: #fff; }

.st-account { display: flex; gap: 12px; font-size: 0.86rem; white-space: nowrap; opacity: 0.85; }
.st-account a:hover { opacity: 0.72; }

.st-burger {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	position: relative;
}
.st-burger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.st-burger::before, .st-burger::after {
	content: "";
	position: absolute;
	left: 9px;
	right: 9px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 7px 0 currentColor;
	top: 13px;
}
.st-burger::after { box-shadow: none; top: 27px; }

/* 로고 */
.st-logo a { gap: 10px; }
.st-mark { display: block; flex: none; width: 40px; height: auto; }
.st-wordmark { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.03em; }

/* 메인 첫 화면 */
.st-hero { position: relative; overflow: hidden; }
.st-hero-grid { position: relative; z-index: 1; }

.st-hero h1 {
	max-width: 11em;
	margin: 0;
	font-size: clamp(2.4rem, 6.4vw, 5.2rem);
	font-weight: 850;
	line-height: 1.08;
	letter-spacing: -0.05em;
}

.st-ask { margin-top: 36px; max-width: 760px; }

.st-ask-field { display: flex; background: #fff; border-radius: 14px; padding: 6px; }
.st-ask-field input {
	flex: 1;
	min-width: 0;
	height: 58px;
	padding: 0 18px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 1.15rem;
	font-weight: 500;
}
.st-ask-field input::placeholder { color: #6b7284; font-weight: 400; }
.st-ask-field input:focus-visible { outline: 0; }
.st-ask-field:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.st-ask-field button {
	flex: none;
	padding: 0 28px;
	border: 0;
	border-radius: 9px;
	background: var(--blue);
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
}
.st-ask-field button:hover { background: var(--blue-deep); }

.st-progs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; padding: 0; border: 0; }
.st-progs legend { float: left; margin-right: 8px; padding: 0; font-size: 0.92rem; opacity: 0.88; line-height: 36px; }
.st-progs label { display: block; position: relative; }
.st-progs input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-progs span { display: block; padding: 6px 16px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 0.93rem; font-weight: 600; opacity: 0.85; }
.st-progs input:hover + span { opacity: 1; }
.st-progs input:checked + span { opacity: 1; background: #fff; border-color: #fff; color: var(--ink); }
.st-progs input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.st-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 0; max-width: 940px; font-size: 0.93rem; }
.st-hot span { margin-right: 4px; opacity: 0.85; }
.st-hot a {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	transition: background 0.15s, border-color 0.15s;
}
.st-hot a:hover { background: rgba(255, 255, 255, 0.26); border-color: rgba(255, 255, 255, 0.62); }

.st-wall { margin: 0; padding: 0; list-style: none; }
.st-wall li { overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.st-wall img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 첫 화면 A: 영상 월 */
.st-head-main.st-head-wall { background: var(--blue); }
.st-hero--wall { background: var(--blue); color: #fff; padding: 64px 0 96px; }
.st-hero--wall .st-wall {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: 1fr;
}
.st-hero--wall::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(var(--blue-rgb), 0.96) 0%, rgba(var(--blue-rgb), 0.9) 48%, rgba(var(--blue-rgb), 0.66) 100%);
}
.st-hero--wall .st-hero-grid { z-index: 2; }
.st-hero--wall .st-ask-field { box-shadow: 0 14px 36px rgba(10, 16, 120, 0.4); }
.st-hero--wall .st-wall li { animation: st-fade 0.7s ease-out both; animation-delay: calc(var(--i) * 40ms); }
@keyframes st-fade { from { opacity: 0; } to { opacity: 1; } }

/* 첫 화면 B: 분할 */
.st-head-main.st-head-split { background: var(--soft); color: var(--ink); }
.st-hero--split { background: var(--soft); color: var(--ink); padding: 40px 0 96px; }
.st-hero--split .st-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.st-hero--split h1 { color: var(--ink); }
.st-hero--split .st-ask-field { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.st-hero--split .st-progs span { border-color: #b9bfcc; opacity: 1; color: var(--ink); }
.st-hero--split .st-progs input:hover + span { border-color: var(--ink); }
.st-hero--split .st-progs input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-hero--split .st-hot a { color: var(--blue); background: #fff; border-color: var(--line); }
.st-hero--split .st-hot a:hover { border-color: var(--blue); background: #fff; }
.st-hero--split .st-hot span { color: var(--muted); opacity: 1; }
.st-hero--split .st-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 28px; }
.st-hero--split .st-wall li { aspect-ratio: 16 / 9; border-radius: 10px; box-shadow: 0 10px 24px rgba(22, 24, 29, 0.14); }
.st-hero--split .st-wall li:nth-child(even) { transform: translateY(28px); }
.st-hero--split .st-wall li:nth-child(n + 7) { display: none; }

/* 메인: 프로그램 타일 (최신 강좌 썸네일) */
.st-main { padding-bottom: 80px; }

.st-progtiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: -56px;
	position: relative;
	z-index: 3;
}
.st-progtiles a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(22, 24, 29, 0.22); }
.st-progtiles img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.st-progtiles a:hover img { transform: scale(1.05); }
.st-pt-text { position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; background: linear-gradient(to top, rgba(10, 12, 20, 0.82), rgba(10, 12, 20, 0)); }
.st-pt-text strong { display: block; font-size: 1.1rem; letter-spacing: -0.02em; }
.st-pt-text span { font-size: 0.86rem; opacity: 0.88; font-variant-numeric: tabular-nums; }

/* 메인: 두 열 목록 */
.st-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 64px; }
.st-cols-1 { grid-template-columns: minmax(0, 1fr); }
.st-list h2, .st-showcase h2 { margin: 0 0 8px; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.035em; }

.st-list li + li { border-top: 1px solid var(--line); }
.st-list a { display: flex; gap: 14px; padding: 14px 12px; margin: 0 -12px; align-items: center; border-radius: 10px; transition: background 0.15s; }
.st-list a:hover { background: var(--soft); }
.st-list li + li { border-top-color: var(--line); }
.st-list .st-thumb { flex: none; width: 112px; border-radius: 6px; }
.st-li-body { min-width: 0; }
.st-li-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 650;
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.st-list a:hover .st-li-title { color: var(--blue); }
.st-li-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: 4px; color: var(--muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }

.st-thumb { display: block; aspect-ratio: 16 / 9; background: var(--line); overflow: hidden; }
.st-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 메인: 템플릿 쇼케이스 */
.st-showcase { margin-top: 72px; padding: 56px 0 64px; background: var(--soft); }
.st-showcase header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.st-showcase header a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid #cdd2dc; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.9rem; font-weight: 600; transition: border-color 0.15s; }
.st-showcase header a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: -2px; }
.st-showcase header a:hover { border-color: var(--ink); }

.st-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.st-bento li:first-child { grid-column: span 2; grid-row: span 2; }
.st-bento a { position: relative; display: block; height: 100%; border-radius: 10px; overflow: hidden; background: #000; }
.st-bento .st-thumb { aspect-ratio: auto; height: 100%; min-height: 150px; }
.st-bento li:first-child .st-thumb { min-height: 320px; }
.st-bento .st-thumb img { transition: transform 0.4s; }
.st-bento a:hover .st-thumb img { transform: scale(1.04); }
.st-bento-cap {
	position: absolute;
	inset: auto 0 0 0;
	padding: 40px 14px 12px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
	color: #fff;
}
.st-bento-cap .st-li-title { font-size: 0.92rem; -webkit-line-clamp: 2; }
.st-bento li:first-child .st-li-title { font-size: 1.15rem; }
.st-bento-cap .st-li-meta { color: rgba(255, 255, 255, 0.82); }

/* 서브 */
.st-subnav { background: var(--paper); border-bottom: 1px solid var(--line); }
.st-subnav .st-wrap { overflow-x: auto; }
.st-subnav ul { display: flex; gap: 6px; padding: 10px 0; }
.st-subnav a { display: block; padding: 6px 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.st-subnav a:hover { background: var(--soft); color: var(--ink); }
.st-subnav li.active a { background: var(--ink); color: #fff; }

.st-page { padding: 36px 0 88px; min-height: 60vh; }
.st-content { font-size: 0.97rem; }
.st-content img { height: auto; }
.st-content iframe { max-width: 100%; }
.st-content :where(h1, h2, h3) { letter-spacing: -0.03em; line-height: 1.3; }

/* 풋터 */
.st-foot { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 44px 0 34px; font-size: 0.9rem; }
.st-foot nav { display: flex; flex-wrap: wrap; gap: 28px 44px; }
.st-foot dt { margin-bottom: 6px; font-weight: 700; color: #fff; }
.st-foot dd a { display: inline-block; padding: 2px 0; }
.st-foot a:hover { color: #fff; }
.st-copy { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 1020px) {
	.st-mini-search input { width: 120px; }
	.st-progtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-cols { gap: 32px; }
	.st-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-bento li:first-child { grid-column: span 3; grid-row: span 1; }
	.st-bento li:first-child .st-thumb { min-height: 260px; }
}

@media (max-width: 860px) {
	:root { --gutter: 16px; }

	.st-bar { gap: 8px; }
	.st-logo { flex: 1; }
	.st-burger { display: block; }
	.st-account, .st-mini-search { display: none; }

	.st-gnb {
		position: absolute;
		left: 0;
		right: 0;
		top: var(--bar);
		display: none;
		max-height: calc(100vh - var(--bar));
		overflow-y: auto;
		background: var(--paper);
		color: var(--ink);
		border-bottom: 1px solid var(--line);
	}
	.st-head.open .st-gnb { display: block; }
	.st-gnb > ul { display: block; padding: 8px var(--gutter) 20px; }
	.st-gnb > ul > li > a { height: auto; padding: 12px 0; font-size: 1.02rem; opacity: 1; }
	.st-gnb > ul > li.active > a { box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
	.st-sub {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0 0 6px 12px;
		border: 0;
		box-shadow: none;
		color: var(--muted);
	}
	.st-sub a { padding: 7px 0; }
	.st-sub a:hover, .st-sub li.active a { background: transparent; color: var(--ink); }

	.st-hero { padding: 36px 0 64px; }
	.st-ask { margin-top: 26px; }
	.st-ask-field input { height: 52px; font-size: 1.02rem; padding: 0 12px; }
	.st-ask-field button { padding: 0 20px; }
	.st-progs legend { float: none; width: 100%; line-height: 1.4; margin: 0; }
	/* 모바일: 칩은 한 줄로 두고 옆으로 밀어 본다(세로로 길게 쌓이지 않게) */
	.st-hot { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.st-hot::-webkit-scrollbar { display: none; }
	.st-hot span { flex: none; }
	.st-hot a { flex: none; max-width: none; }

	.st-progtiles { margin-top: -28px; gap: 10px; }
	.st-progtiles a { padding: 14px 14px; }
	.st-cols { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
	.st-list .st-thumb { width: 96px; }
	.st-showcase { margin-top: 56px; padding: 40px 0 48px; }
	.st-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.st-bento li:first-child { grid-column: span 2; }
	.st-bento li:first-child .st-thumb { min-height: 200px; }
	.st-page { padding-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.st-sub, .st-mini-search input, .st-bento .st-thumb img { transition: none; }
	.st-bento a:hover .st-thumb img { transform: none; }
}

@media (max-width: 1020px) {
	.st-hero--split .st-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.st-hero--split .st-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-hero--split .st-wall li:nth-child(even) { transform: none; }
	.st-hero--split .st-wall li:nth-child(n + 7) { display: block; }
	.st-hero--wall .st-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.st-hero--wall { padding: 36px 0 72px; }
	.st-hero--split { padding: 28px 0 64px; }
	.st-hero--wall .st-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-hero--split .st-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 0; }
	.st-hero--split .st-wall li:nth-child(n + 5) { display: none; }
	.st-progtiles { margin-top: -40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-pt-text { padding: 26px 12px 10px; }
	.st-pt-text strong { font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) {
	.st-hero--wall .st-wall li { animation: none; }
	.st-progtiles img { transition: none; }
	.st-progtiles a:hover img { transform: none; }
}

/* 첫 화면 겹침 순서: 벽(0) < 파란 막(1) < 제목과 검색(2) */
.st-hero-grid { position: static; z-index: auto; }
.st-hero--wall .st-hero-grid { position: static; z-index: auto; }
.st-hero-body { position: relative; z-index: 2; }
.st-hero--split .st-hero-grid { position: relative; }
.st-hero--wall .st-wall { z-index: 0; }

/* 프로그램 타일: 썸네일 속 글자와 겹치지 않게 사진을 어둡게 누른다 */
.st-progtiles img { filter: brightness(0.62) saturate(1.05); }
.st-progtiles a:hover img { filter: brightness(0.78) saturate(1.1); }
.st-pt-text { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }

@media (max-width: 860px) {
	.st-hero--wall::before { background: rgba(var(--blue-rgb), 0.92); }
}

/* 서브 페이지 헤더: A안은 브랜드 파랑, B안은 밝은 헤더 */
.st-head-sub-wall { background: var(--blue); color: #fff; border-bottom: 0; }
.st-head-sub-wall .st-mini-search input { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.st-head-sub-wall .st-mini-search input::placeholder { color: rgba(255, 255, 255, 0.8); }
.st-head-sub-wall .st-mini-search input:focus { background: #fff; color: var(--ink); }
.st-head-sub-wall :focus-visible { outline-color: var(--focus); }
.st-head-sub-split { background: var(--soft); border-bottom: 0; }
@media (max-width: 860px) {
	.st-head-sub-wall .st-gnb, .st-head-sub-split .st-gnb { color: var(--ink); }
}

/* 디테일 다듬기 ------------------------------------------------- */

/* 영상 월: 타일 크기를 섞고 밝기에 변화를 줘 깊이를 만든다 */
.st-hero--wall .st-wall {
	--cols: 6;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	grid-auto-rows: calc(100vw / var(--cols) * 0.5625);
	grid-auto-flow: dense;
	gap: 4px;
}
.st-hero--wall .st-wall li { --o: 1; background: rgba(255, 255, 255, 0.1); }
.st-hero--wall .st-wall li:nth-child(odd) { --o: 0.78; }
.st-hero--wall .st-wall li:nth-child(3n) { --o: 0.55; }
.st-hero--wall .st-wall li:nth-child(6n + 2) { grid-column: span 2; grid-row: span 2; --o: 1; }
.st-hero--wall .st-wall li { animation-name: st-fade-o; }
@keyframes st-fade-o { from { opacity: 0; } to { opacity: var(--o, 1); } }
@media (max-width: 1020px) { .st-hero--wall .st-wall { --cols: 4; } }
@media (max-width: 860px) { .st-hero--wall .st-wall { --cols: 3; } }
@media (prefers-reduced-motion: reduce) { .st-hero--wall .st-wall li { animation: none; opacity: var(--o, 1); } }

/* 한 줄 소개 */
.st-lede { max-width: 32em; margin: 20px 0 0; font-size: 1.12rem; line-height: 1.6; letter-spacing: -0.01em; }
.st-hero--wall .st-lede { opacity: 0.94; }
.st-hero--split .st-lede { color: var(--muted); }

/* 프로그램 타일: 사진은 그대로 보이고 이름은 아래 띠에 둔다 */
.st-progtiles a { display: flex; flex-direction: column; aspect-ratio: auto; background: var(--ink); }
.st-progtiles .st-pt-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.st-progtiles .st-pt-img img { position: static; display: block; width: 100%; height: 100%; object-fit: cover; filter: none; }
.st-progtiles a:hover .st-pt-img img { filter: none; transform: scale(1.05); }
.st-progtiles .st-pt-text { position: static; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 16px; background: var(--ink); text-shadow: none; }
.st-progtiles .st-pt-text strong { font-size: 1rem; }
.st-progtiles .st-pt-text span { opacity: 0.8; white-space: nowrap; }
@media (max-width: 860px) {
	.st-progtiles .st-pt-text { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 12px; }
}

/* 통합 검색 결과 (integration_search 기본 스킨 위에 덮어쓴다) */
.st-content #spot { margin: 8px 0 28px; }
.st-content #spot .search { display: flex; gap: 8px; max-width: 640px; }
.st-content #spot input[type="text"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink); }
.st-content #spot input[type="text"]:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.st-content #spot input[type="submit"] { height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.st-content #spot input[type="submit"]:hover { background: var(--blue-deep); }
.st-content .localNavigation, .st-content .subNavigation { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; border: 0; }
.st-content .localNavigation li, .st-content .subNavigation li { float: none; margin: 0; padding: 0; border: 0; background: none; }
.st-content .localNavigation a, .st-content .subNavigation a { display: block; padding: 6px 16px; border: 0; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.st-content .localNavigation li.on a, .st-content .subNavigation li.on a { background: var(--ink); color: #fff; }
.st-content .subTitle { margin: 32px 0 12px; padding: 0; border: 0; background: none; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; }
.st-content .subTitle span { color: var(--muted); font-weight: 500; font-size: 1rem; }
.st-content .searchResult { margin: 0; padding: 0; list-style: none; }
.st-content .searchResult > li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.st-content .searchResult .thumb { width: 120px; height: 68px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.st-content .searchResult dt { font-size: 1.05rem; font-weight: 700; }
.st-content .searchResult dt a { text-decoration: none; color: var(--ink); }
.st-content .searchResult dt a:hover { color: var(--blue); }
.st-content .searchResult dd { margin: 4px 0 0; color: var(--muted); }
.st-content .searchResult address { margin-top: 6px; font-style: normal; font-size: 0.85rem; color: var(--muted); }
.st-content .isMore { margin: 12px 0 8px; text-align: right; }
.st-content .isMore a { color: var(--blue); font-weight: 600; }
.st-content .noResult { display: block; padding: 28px 0; color: var(--muted); }
@media (max-width: 860px) {
	.st-content .searchResult .thumb { width: 88px; height: 50px; }
}
.st-content #spot { height: auto; padding: 0; background: none; border: 0; }
.st-content #spot .search { height: auto; padding: 0; margin: 0; background: none; border: 0; }
.st-content #spot input[type="text"] { height: 48px !important; width: auto; line-height: 44px; padding: 0 16px !important; margin: 0; box-shadow: none; }
.st-content #spot input[type="submit"] { height: 48px !important; width: auto; margin: 0; }
.st-content .localNavigation, .st-content .subNavigation { height: auto; overflow: visible; border: 0; background: none; }
.st-content .localNavigation li, .st-content .subNavigation li { height: auto; line-height: 1.4; overflow: visible; }
.st-content .localNavigation a, .st-content .subNavigation a { height: auto; line-height: 1.4; }
.st-content .searchResult > li > a { flex: none; }
.st-content .searchResult dl { flex: 1; min-width: 0; margin: 0; }
.st-content .searchResult address { float: none !important; display: block; margin-top: 6px; }
.st-content .localNavigation li.on, .st-content .subNavigation li.on { height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.st-content .localNavigation li.on a, .st-content .subNavigation li.on a { height: auto !important; line-height: 1.4 !important; padding: 6px 16px !important; margin: 0 !important; background: var(--ink) !important; color: #fff !important; }
.st-content .searchResult dl { display: block !important; }
.st-content .searchResult dl > * { float: none !important; position: static !important; width: auto !important; margin-left: 0; margin-right: 0; }
.st-content .searchResult dt { margin: 0; }
.st-content .searchResult > li { flex-wrap: wrap; }
.st-content .searchResult dl { flex: 1 1 0; }
.st-content .searchResult > li > address { order: 3; flex: 0 0 100%; margin: 2px 0 0; padding: 0; }

/* ---- 메인 UX 개선 (2026-11-12) ---- */
/* 프로그램 색 점: 타일·목록에서 같은 색으로 프로그램을 구분한다 */
.st-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--c, var(--blue)); vertical-align: 1px; }
.st-prog { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.st-prog::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--blue)); }
.st-bento-cap .st-prog { color: #fff; }
/* 많이 본 해결법: 순위 */
.st-rank { flex: none; width: 1.5em; color: #646c7d; font-size: 1.05rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.st-list li:nth-child(-n + 3) .st-rank { color: var(--blue); }
.st-progtiles a { transition: transform 0.2s, box-shadow 0.2s; }
.st-progtiles a:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(22, 24, 29, 0.28); }
@media (prefers-reduced-motion: reduce) { .st-progtiles a, .st-list a, .st-hot a { transition: none; } .st-progtiles a:hover { transform: none; } }

/* ---- 점검 반영 (2026-11-12) ---- */
/* 헤더의 로그인·회원가입: 눈에 보이는 크기는 그대로 두고 누를 수 있는 영역만 키운다 */
.st-account a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; }

/* 로그인: 회원 스킨(member.css)의 선택자보다 앞서도록 .xm 까지 맞춰 쓴다 */
.st-content .xm .signin { width: auto; max-width: 420px; margin: 24px auto 0; padding: 36px 32px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: none; }
.st-content .xm .signin > .login-header { margin: 0 0 22px; padding: 0; border: 0; background: none; }
.st-content .xm .signin > .login-header > h1 { margin: 0; padding: 0; color: var(--ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.st-content .xm .signin > .login-header > h1 > i { display: none; }
.st-content .xm .signin > .login-body { max-height: none; padding: 0; border: 0; background: none; }
.st-content .xm .signin .control-group { padding: 0; }
.st-content .xm .signin fieldset { margin: 0; padding: 0; border: 0; }
.st-content .xm .signin input[type="text"], .st-content .xm .signin input[type="password"] { display: block; box-sizing: border-box; width: 100%; height: 50px; margin: 0 0 10px; padding: 0 16px; border: 1px solid #cdd2dc; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.st-content .xm .signin input[type="text"]:focus-visible, .st-content .xm .signin input[type="password"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.st-content .xm .signin label { display: flex; align-items: center; gap: 8px; margin: 6px 0 18px; color: var(--muted); font-size: 0.93rem; }
.st-content .xm .signin label input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.st-content .xm .signin #warning { margin: 0; }
.st-content .xm .signin #warning > p { margin: 0 0 14px; color: var(--muted); font-size: 0.85rem; line-height: 1.65; }
.st-content .xm .signin .login-body input.submit.btn { position: static; display: block; box-sizing: border-box; width: 100%; height: 52px !important; margin: 0; padding: 0; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-size: 1.02rem; font-weight: 700; line-height: 52px !important; text-shadow: none; box-shadow: none; cursor: pointer; }
.st-content .xm .signin .login-body input.submit.btn:hover { background: var(--blue-deep); }
.st-content .xm .signin > .login-footer { display: flex; justify-content: center; gap: 6px 20px; margin: 22px 0 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font-size: 0; }
.st-content .xm .signin > .login-footer::before, .st-content .xm .signin > .login-footer::after { display: none; }
.st-content .xm .signin > .login-footer > a { padding: 8px 4px; color: var(--ink); font-size: 0.93rem; font-weight: 600; }
.st-content .xm .signin > .login-footer > a:hover { color: var(--blue); text-decoration: none; }
@media (max-width: 480px) { .st-content .xm .signin { margin: 8px 0 0; padding: 28px 20px 22px; border-radius: 14px; } }

/* 내용이 짧은 페이지에서도 푸터가 화면 맨 아래에 붙도록 */
body { display: flex; flex-direction: column; min-height: 100vh; }
.st-foot { margin-top: auto; }
