@charset "utf-8";
/* 메인 '온라인 강의' (#section04.oc) — 2026-09-24. 밤하늘 배경·흰 테두리 슬라이더 → 흰 바탕 카드 줄
   머리는 뉴스룸·제품 제안과 같은 형식(제목 32px + 설명, 연두→네이비 2.5px 선). 카드는 가로 스크롤(scroll-snap) + 좌우 버튼.
   글꼴 규칙: kr/en Pretendard · jpn Pretendard JP · chn Sarasa Gothic, 굵기 400/600 만 */
#section04.oc {--oc-abov: #1f5fae; --oc-ink: #1b2330; --oc-mute: #6b7684; --oc-line: #e3e8ee;
	padding: 72px 0 88px; background: #fff !important; background-image: none !important; color: var(--oc-ink); text-align: left; line-height: 1.55;
	font-family: 'Pretendard', 'Pretendard JP', 'Noto Sans KR', sans-serif;}
#section04.oc.hu_lang_jpn {font-family: 'Pretendard JP', 'Pretendard', 'Meiryo', sans-serif;}
#section04.oc.hu_lang_chn {font-family: 'Sarasa Gothic SC HU', 'Microsoft YaHei', 'PingFang SC', sans-serif;}
#section04.oc * {box-sizing: border-box; margin: 0; padding: 0;}
#section04.oc a {color: inherit; text-decoration: none;}
#section04.oc a:focus, #section04.oc button:focus {outline: none;}
#section04.oc a:focus-visible, #section04.oc button:focus-visible {outline: 3px solid #19a7ce; outline-offset: 2px;}
#section04 .oc_wrap {max-width: 1240px; margin: 0 auto; padding: 0 32px;}

/* 머리 */
#section04 .oc_head {position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 20.5px; margin-bottom: 28px;}
#section04 .oc_head::after {content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: linear-gradient(90deg, #8cc63f 0%, #084897 100%);}
#section04 .oc_head h2 {font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--oc-ink);}
#section04 .oc_head h2 small {display: block; margin-top: 6px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--oc-mute);}
#section04 .oc_tools {display: flex; align-items: center; gap: 10px; flex: 0 0 auto;}
#section04 .oc_all {margin-right: 10px; font-size: 15px; font-weight: 600; color: var(--oc-abov); white-space: nowrap;}
#section04 .oc_all:hover {text-decoration: underline; text-underline-offset: 4px;}
#section04 .oc_nav {display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid #cfd8e3; background: #fff; color: var(--oc-ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s;}
#section04 .oc_nav svg {width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}
#section04 .oc_nav:hover:not(:disabled) {border-color: var(--oc-abov); background: var(--oc-abov); color: #fff;}
#section04 .oc_nav:disabled {opacity: .35; cursor: default;}

/* 카드 줄 */
#section04 .oc_list {display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; margin: -4px -2px 0; scrollbar-width: none;}
#section04 .oc_list::-webkit-scrollbar {display: none;}
#section04 .oc_list li {scroll-snap-align: start; min-width: 0;}
#section04 .oc_list a {display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; background: #fff;
	border: 1px solid var(--oc-line); box-shadow: 0 1px 2px rgba(15, 30, 51, .04); transition: transform .2s, box-shadow .2s, border-color .2s;}
#section04 .oc_thumb {position: relative; display: block; aspect-ratio: 16 / 10; background: #eef2f7; overflow: hidden;}
#section04 .oc_thumb img {display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0 !important; transition: transform .35s;}
#section04 .oc_play {position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92);
	box-shadow: 0 4px 12px rgba(15,30,51,.18); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;}
#section04 .oc_play::after {content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--oc-abov);}
#section04 .oc_body {display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px;}
#section04 .oc_tag {font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--oc-abov);}
#section04 .oc_name {font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--oc-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
#section04 .oc_list a:hover {transform: translateY(-4px); border-color: #d6e2f0; box-shadow: 0 14px 30px rgba(15, 44, 94, .12);}
#section04 .oc_list a:hover .oc_thumb img {transform: scale(1.04);}
#section04 .oc_list a:hover .oc_play {opacity: 1; transform: none;}
#section04 .oc_list a:hover .oc_name {color: var(--oc-abov);}

@media (prefers-reduced-motion: reduce) {#section04 * {transition: none !important; scroll-behavior: auto !important;}}
@media screen and (max-width: 1024px) {
	#section04 .oc_list {grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px;}
}
@media screen and (max-width: 640px) {
	#section04.oc {padding: 48px 0 56px;}
	#section04 .oc_wrap {padding: 0 16px;}
	#section04 .oc_head {flex-direction: column; align-items: flex-start;}
	#section04 .oc_head h2 {font-size: 26px;}
	#section04 .oc_nav {display: none;}
	#section04 .oc_list {grid-auto-columns: 72%; gap: 14px;}
}
