/**
 * 순천향대 오픈캠퍼스 커스텀 스타일
 * 기존 스타일과 충돌 시 오버라이드.
 */

/* sch-oc 디자인 반영 (구조: sch-oc-*·위젯 클래스 유지) */
:root {
  --sch-oc-main: #182987;
  --sch-oc-point: #1653ea;
  --sch-oc-accent: #aced47;
  --sch-oc-accent-rgb: 146, 200, 62;
  --sch-oc-cyan: #2aaec6;
  --sch-oc-cyan-rgb: 42, 174, 198;
  --sch-oc-card-blue: #263369;
  --sch-oc-card-hover: #3e7fe9;
  --sch-oc-footer-bg: #181627;
  --sch-oc-scroll-btn: #215dd3;
  --sch-oc-search-border: #2d51d6;
  --sch-oc-categories-bg: #f5f7fa;
  --sch-oc-categories-inner-x: 24px;
  --sch-oc-search-bg: #fff;
  --sch-oc-section-bg: #f2f2f2;
  --sch-oc-section-alt-bg: #e8e8e8;
  --sch-oc-info-inner-x: 24px;
}

/* 기존 #visual 영역 숨김 (메인 커스텀 사용 시) */
#content #visual {
  display: none !important;
}

.sch-oc-main-wrap {
  margin-top: -103px;
}

/* ========== 헤더 (기본: 투명+블러+흰글씨, header_on 시 흰배경+어두운글씨, sticky) ========== */
#header.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 103px;
  background: rgba(23, 33, 69, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 35px 40px;
  gap: 342px;
  z-index: 100;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

#header.header.header_on {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* 블레이드용: header-inner 사용 시 레이아웃 (모바일 시 컬럼으로 하단 메뉴) */
#header.header:has(.header-inner) {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
  display: flex;
}

.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 35px 40px;
  gap: 0;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

#header.header .header-inner {
  flex: 0 0 auto;
}

/* 로고 */
.header-brand {
  display: flex;
  align-items: center;
}

.header-logo-img {
  width: auto;
  height: 32px;
  max-height: 32px;
  object-fit: contain;
}

.header-logo-dark {
  display: none;
}

#header.header.header_on .header-logo-light {
  display: none;
}

#header.header.header_on .header-logo-dark {
  display: block;
}

/* 네비 */
#header.header .header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-item {
  position: relative;
}

/* nav 1뎁스 메뉴 */
.header-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #fff !important;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.header-nav-link:hover {
  opacity: 0.9;
}

#header.header.header_on .header-nav-link {
  color: #262626 !important;
}

#header.header.header_on .header-nav-link:hover {
  opacity: 1;
  color: #0037ba !important;
}

.header-nav-item:has(.header-nav-dropdown) .header-nav-link::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-left: 4px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='white' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* nav 2뎁스 메뉴 워랩 */
.header-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  min-width: 180px;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  display: none;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}

.header-nav-item:hover .header-nav-dropdown {
  display: flex;
}

.header-nav-dropdown li {
  margin: 0;
  padding: 0;
}

.header-nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header-nav-dropdown a:hover {
  background: #f0f4fa;
  color: #0037ba;
}

#header.header.header_on .header-nav-dropdown {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 우측 유틸 */
#header.header .header-util {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

#header.header .header-util .xn-translate_language-container {
  margin: 0;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-decoration: none;
}

.header-search:hover {
  opacity: 0.9;
}

#header.header.header_on .header-search {
  color: #262626;
}

#header.header.header_on .header-search:hover {
  color: #0037ba;
}

.header-util-icon .icon-dark {
  display: none;
}

#header.header.header_on .header-util-icon .icon-light {
  display: none;
}

#header.header.header_on .header-util-icon .icon-dark {
  display: block;
}

.header-util-icon img {
  width: 20px;
  height: 20px;
}

.header-util span:not(.header-util-icon) {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

#header.header.header_on .header-util span:not(.header-util-icon) {
  color: #262626;
}

#header.header.header_on .header-util span:not(.header-util-icon):hover {
  color: #0037ba;
}

/* 로그인, 회원가입 버튼: 기본 흰색 글씨, on일 때만 어두운 글씨 */
.header-util-link {
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.header-util-link:hover {
  opacity: 0.9;
  color: #fff !important;
}

#header.header.header_on .header-util-link {
  color: #262626 !important;
}

#header.header.header_on .header-util-link:hover {
  color: #0037ba !important;
}

/* 회원 버튼(로그인 시) */
.header-user-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  gap: 4px;
}

.header-user-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

#header.header.header_on .header-user-btn {
  color: #262626;
  border-color: rgba(0, 0, 0, 0.2);
}

#header.header.header_on .header-user-btn:hover {
  color: #0037ba;
  background: rgba(0, 0, 0, 0.06);
}

.header-user-btn.icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
  background-image: url("icon_user_white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

#header.header.header_on .header-user-btn.icon-only {
  filter: brightness(0);
}

@media (max-width: 600px) {
  .header-user-btn.text {
    display: none !important;
  }
  .header-user-btn.icon-only {
    display: inline-flex !important;
  }
}

@media (min-width: 601px) {
  .header-user-btn.icon-only {
    display: none !important;
  }
  .header-user-btn.text {
    display: inline-flex !important;
  }
}

/* 모바일 토글 & 메뉴 */
.header-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  background: transparent;
  color: inherit;
}

.header-toggler .navbar-toggler-icon {
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
    center/contain no-repeat;
}

#header.header.header_on .header-toggler {
  border-color: rgba(0, 0, 0, 0.3);
}

.header-mobile {
  width: 100%;
  padding: 16px 24px 24px;
  background: rgba(23, 33, 69, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#header.header.header_on .header-mobile {
  background: #f5f5f5;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.header-mobile .navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header-mobile .nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#header.header.header_on .header-mobile .nav-item {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-mobile .nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

#header.header.header_on .header-mobile .nav-link {
  color: #262626;
}

.header-mobile-sub {
  padding: 0 0 8px 16px;
  margin: 0 0 8px 0;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
}

#header.header.header_on .header-mobile-sub {
  border-left-color: rgba(0, 0, 0, 0.2);
}

.header-mobile-sub li {
  margin: 0;
}

.header-mobile-sub a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

#header.header.header_on .header-mobile-sub a {
  color: #555;
}

@media (max-width: 767px) {
  #header.header .desktop {
    display: none !important;
  }
  .header-toggler {
    display: flex;
  }
  #header.header .header-util {
    width: auto;
  }
  /* 헤더 반응형: 작은 화면에서 padding·gap 축소 */
  #header.header {
    height: auto;
    min-height: 72px;
    padding: 16px 20px;
    gap: 0;
  }
  .header-inner {
    min-height: 72px;
    padding: 16px 20px;
    gap: 12px;
  }
  .header-nav-link {
    font-size: 16px;
    line-height: 20px;
  }
}

@media (min-width: 768px) {
  .header-mobile {
    display: none !important;
  }
}

/* ========== (레거시) sch-oc-header 클래스 ========== */
#header.sch-oc-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(23, 33, 69, 0.3);
  backdrop-filter: blur(3px);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

#header.sch-oc-header.header_on {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.sch-oc-navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.sch-oc-header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.sch-oc-header-logo-link {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.sch-oc-header-logo {
  height: 36px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
}

.sch-oc-header-logo-dark {
  display: none;
}

.sch-oc-header.header_on .sch-oc-header-logo-light {
  display: none;
}

.sch-oc-header.header_on .sch-oc-header-logo-dark {
  display: block;
}

.sch-oc-menu-wrap.desktop {
  display: flex;
  align-items: center;
}

.sch-oc-header-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.sch-oc-header-menu .menu-item a {
  color: #fff !important;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 15px;
}

.sch-oc-header-menu .menu-item a:hover {
  opacity: 0.9;
}

.sch-oc-header.header_on .sch-oc-header-menu .menu-item a {
  color: #262626 !important;
}

.sch-oc-header.header_on .sch-oc-header-menu .menu-item a:hover {
  opacity: 1;
  color: #0037ba !important;
}

.sch-oc-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sch-oc-header-right .xn-translate_language-container {
  margin: 0;
}

.sch-oc-header-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.sch-oc-header-search-link .icon-light {
  display: inline-block;
}

.sch-oc-header-search-link .icon-dark {
  display: none;
}

.sch-oc-header-search-link img {
  width: 22px;
  height: 22px;
}

.sch-oc-header.header_on .sch-oc-header-search-link .icon-light {
  display: none;
}

.sch-oc-header.header_on .sch-oc-header-search-link .icon-dark {
  display: inline-block;
}

.sch-oc-login-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sch-oc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.sch-oc-btn-lms {
  background-color: #fff !important;
  color: var(--sch-oc-main) !important;
}

.sch-oc-btn-lms:hover {
  background-color: #f0f0f0 !important;
  color: var(--sch-oc-main) !important;
}

.sch-oc-btn-login {
  background-color: var(--sch-oc-point) !important;
  color: #fff !important;
}

/* 계정메뉴 v2: 좁은 화면 아이콘 버튼 (기본 흰색, header_on 시 어두운색) */
.sch-oc-header .btn-dropdown-user-icon-menu.sch-oc-user-menu-icon,
.sch-oc-header .xn-user-menu-narrow-screen.sch-oc-user-menu-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  background-color: transparent;
  background-image: url("icon_user_white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.sch-oc-header .sch-oc-user-menu-icon:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.sch-oc-header.header_on .sch-oc-user-menu-icon {
  border-color: rgba(0, 0, 0, 0.2);
  background-image: url("icon_user_white.svg");
  filter: brightness(0);
}

.sch-oc-header.header_on .sch-oc-user-menu-icon:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.sch-oc-user-menu-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sch-oc-header.header_on .sch-oc-user-menu-btn {
  border-color: rgba(0, 0, 0, 0.2);
  color: #262626;
}

.sch-oc-header.header_on .sch-oc-user-menu-btn:hover {
  color: #0037ba;
}

/* header_on 시 언어 선택 등 우측 텍스트/링크 색 */
.sch-oc-header.header_on .sch-oc-header-right .xn-translate_language-container,
.sch-oc-header.header_on
  .sch-oc-header-right
  span:not(.xn-session-ttl-timer):not(.xn-info-icon) {
  color: #262626 !important;
}

/* 계정메뉴 v2: 반응형 표시 (좁은 화면=아이콘만, 넓은 화면=텍스트만) */
@media (max-width: 600px) {
  .sch-oc-header .xn-user-menu-wide-screen {
    display: none !important;
  }
  .sch-oc-header .xn-user-menu-narrow-screen {
    display: inline-block !important;
  }
}

@media (min-width: 601px) {
  .sch-oc-header .xn-user-menu-narrow-screen {
    display: none !important;
  }
  .sch-oc-header .xn-user-menu-wide-screen {
    display: inline-flex !important;
  }
}

.sch-oc-user-dropdown .dropdown-item {
  font-size: 14px;
}

.sch-oc-logout-form {
  padding: 0;
  margin: 0;
  border: none;
}

.sch-oc-logout-form .btn-link {
  color: #333;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}

/* 모바일: header_on 시 햄버거 아이콘 어두운색 */
.sch-oc-header.header_on .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.3);
}
.sch-oc-header.header_on .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(38, 38, 38, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 모바일 메뉴 */
.sch-oc-mobile-menu .navbar-nav .nav-link {
  color: var(--sch-oc-main) !important;
  padding: 10px 16px;
}

.sch-oc-mobile-menu.navbar-hidden {
  display: none;
}

@media (max-width: 767.98px) {
  .sch-oc-menu-wrap.desktop {
    display: none;
  }
}

@media (min-width: 768px) {
  .sch-oc-mobile-menu {
    display: none !important;
  }
}

/* ========== 히어로(슬라이더) + 로그인 오버레이 (높이 680px) ========== */
.sch-oc-hero {
  position: relative;
  height: 680px;
  min-height: 680px;
  background: linear-gradient(
    135deg,
    var(--sch-oc-main) 0%,
    var(--sch-oc-point) 100%
  );
  overflow: hidden;
}

.sch-oc-slider-wrap {
  width: 100%;
  height: 680px;
  min-height: 680px;
}

.sch-oc-slider-wrap .xn-widget-slider-container,
.sch-oc-slider-wrap .carousel,
.sch-oc-slider-wrap .carousel-inner,
.sch-oc-slider-wrap .carousel-item {
  height: 680px;
  min-height: 680px;
}

.sch-oc-slider-wrap .xnws-img {
  height: 680px;
  min-height: 680px;
  background-size: cover;
  background-position: center;
}

.sch-oc-hero-login-overlay {
  position: absolute;
  top: 50%;
  right: 180px;
  transform: translateY(-50%);
  z-index: 10;
}

/* 로그인 시 LMS 버튼 (기존 스타일 유지) */
.sch-oc-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background-color: #fff;
  color: var(--sch-oc-main) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sch-oc-hero-btn:hover {
  background-color: #f5f5f5;
  color: var(--sch-oc-main) !important;
}

.sch-oc-hero-btn-login {
  margin-right: 8px;
}

/* hero-btns / hero-btn (sch-oc.html 89-98과 동일 스타일) */
.sch-oc-hero .sch-oc-hero-login-overlay .hero-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 400px;
  background: #1d9ad6;
  padding: 0;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 86px;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
  padding: 28px 100px;
  border: none;
  box-sizing: border-box;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn img {
  width: 30px;
  height: 30px;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn-general {
  background: #ffffff;
  color: #24549c !important;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn-general:hover {
  background: #f0f4fc;
  color: #1a3d7a !important;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn-unified {
  background: transparent;
  color: #ffffff !important;
}

.sch-oc-hero .sch-oc-hero-login-overlay .hero-btn-unified:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

/* 히어로 슬라이더 캡션 (렌더링 클래스 기준) */
.sch-oc-hero .carousel-caption,
.sch-oc-hero .xnws-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  padding-left: 5%;
  padding-right: 40%;
  text-align: left;
}

.sch-oc-hero .hero-content {
  position: absolute;
  left: 180px;
  top: 234px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  z-index: 5;
  max-width: 520px;
}

.sch-oc-hero .hero-title {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.sch-oc-hero .hero-title-highlight {
  color: var(--sch-oc-accent);
}

.sch-oc-hero .hero-desc {
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 1.875rem);
  line-height: 1.3;
  color: #fff;
  font-weight: 500;
}

/* Scroll Down (히어로 우측 하단) */
.sch-oc-hero .scroll-down {
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 0;
  z-index: 6;
  pointer-events: none;
}

.sch-oc-hero .scroll-down-text {
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  transform: rotate(-90deg);
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 48px;
}

.sch-oc-hero .scroll-down-circle {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: relative;
}

@keyframes scroll-dot-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.sch-oc-hero .scroll-down-circle::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 12px;
  top: 9px;
  background: #ffffff;
  border-radius: 50%;
  animation: scroll-dot-bounce 1.2s ease-in-out infinite;
}

/* ========== 카테고리 (sch-oc 디자인) ========== */
.sch-oc-categories {
  /* background-color: var(--sch-oc-categories-bg); */
  padding: 60px 0;
}

.sch-oc-categories-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sch-oc-categories-inner-x);
}

.sch-oc-categories-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 60px;
  justify-content: center;
}

.sch-oc-category-item {
  margin: 0;
}

.sch-oc-category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000 !important;
  padding: 0;
  gap: 30px;
  min-width: 100px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.sch-oc-category-link:hover {
  color: var(--sch-oc-card-blue) !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

.sch-oc-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: 0;
  background: #f0f0f0;
  border-radius: 70px;
  transition: background 0.2s ease;
}

.sch-oc-category-link:hover .sch-oc-category-icon {
  background: #d8e4f5;
}

.sch-oc-category-icon img {
  width: 58px;
  height: 56px;
  object-fit: contain;
}

.sch-oc-category-label {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.37;
  color: inherit;
}

/* ========== 검색 (sch-oc 디자인) ========== */
.sch-oc-search {
  background-color: var(--sch-oc-search-bg);
  padding: 48px 0;
}

.sch-oc-search-inner {
  max-width: 694px;
  margin: 0 auto;
  padding: 0 24px;
}

.sch-oc-search-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  min-height: 76px;
  background: #fff;
  border: 3px solid var(--sch-oc-search-border);
  border-radius: 51px;
}

.sch-oc-search-label {
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
  color: #010101;
  flex-shrink: 0;
  margin-bottom: 0;
}

.sch-oc-search-field-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  align-items: center;
}

.sch-oc-search-input {
  flex: 1;
  border: none;
  padding: 14px 12px 14px 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 23px;
  color: #4b4b4b;
  outline: none;
  background: transparent;
}

.sch-oc-search-input::placeholder {
  color: #4b4b4b;
}

.sch-oc-search-form:focus-within {
  border-color: var(--sch-oc-point);
  box-shadow: 0 0 0 1px var(--sch-oc-search-border);
}

.sch-oc-search-btn {
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sch-oc-search-btn img {
  width: 34px;
  height: 34px;
  filter: none;
}

/* ========== 섹션 (인기/최신 강좌, sch-oc 디자인) ========== */
.sch-oc-section {
  padding: 80px 0;
}

.sch-oc-section-alt {
  padding: 80px 0;
}

.sch-oc-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sch-oc-lecture-widget .xn-widget-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.xn-widget .xn-widget-container.course,
.xn-widget .xn-widget-container.popular_course {
  background-color: transparent !important;
  background: none !important;
}

/* 섹션 헤더: 타이틀 + 더보기 (위젯 오버라이드) */
.sch-oc-lecture-widget .xncw-top-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.sch-oc-lecture-widget .xncw-title-wrap {
  position: relative;
  margin: 0;
}

.sch-oc-lecture-widget .xncw-title {
  font-weight: 800 !important;
  font-size: 45px !important;
  line-height: 54px !important;
  color: #000 !important;
}

.sch-oc-lecture-widget .xncw-title-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 262px;
  height: 17px;
  background: rgba(var(--sch-oc-accent-rgb), 0.3);
}

.sch-oc-section-alt .sch-oc-lecture-widget .xncw-title-wrap::after {
  width: 166px;
  background: rgba(var(--sch-oc-cyan-rgb), 0.3);
}

.sch-oc-lecture-widget .xncw-more {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 24px !important;
  color: #616161 !important;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.sch-oc-lecture-widget .xncw-more:hover {
  color: var(--sch-oc-main) !important;
}

.sch-oc-lecture-widget .xncw-more .xncw-more-text {
  display: inline;
}

/* 강좌 카드 위젯 오버라이드 (xncwi = course card item) */
.sch-oc-lecture-widget .xnbw-items-container {
  position: relative;
  max-width: 100%;
}

.sch-oc-lecture-widget .xnbw-item-container-wrap.course-wrap {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.sch-oc-lecture-widget .xnbw-item-container {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
}

.sch-oc-lecture-widget .xncwi-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.sch-oc-lecture-widget .xncwi-container {
  padding: 20px !important;
  border: 0 !important;
  border-radius: 0;
  background: none !important;
  background-color: transparent !important;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.sch-oc-lecture-widget .xncwi-container .xncwi-label-wrapper {
  height: auto !important;
  aspect-ratio: 16 / 9;
  width: 100%;
}

/* 강좌 카드 썸네일 = card-thumb (16:9, 배경 #e8e8e8) */
.xncwi-container .xncwi-background {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #e8e8e8;
}

.xncwi-container .xncwi-info-container {
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
}

/* 신청기간, 주차 숨김 */
.xncwi-container .xncwi-recruitment-wrap,
.xncwi-container .xncwi-info-footer {
  display: none !important;
}

/* ========== 강좌 카드: sch-oc course-card (흰 배경, 그림자는 호버 시만) ========== */
.sch-oc-lecture-widget .xncwi-container {
  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.sch-oc-lecture-widget .xncwi-container:hover {
  background: #3e7fe9 !important;
  box-shadow: 0 4px 25.4px rgba(0, 0, 0, 0.25);
  transform: translateY(-10px);
}

.sch-oc-lecture-widget .xncwi-container:hover .xncwi-catalog-title,
.sch-oc-lecture-widget .xncwi-container:hover .xncwi-title,
.sch-oc-lecture-widget
  .xncwi-container:hover
  .xncwi-studydate-wrap
  .xncwi-date {
  color: #ffffff !important;
}

.sch-oc-lecture-widget .xncwi-container:hover .xncwi-status {
  border-color: #ffffff !important;
  color: rgba(255, 255, 255, 0.8) !important;
  background: transparent !important;
}

/* 상단 라벨: 좌측 상태(상시모집/D-90) = card-badge-blue #263369 */
.xncwi-container .xncwi-status-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: #263369 !important;
  color: #fff !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  padding: 8px 10px;
  border-radius: 0;
  border: none;
}

.xncwi-container .xncwi-status-label.ongoing,
.xncwi-container .xncwi-status-label.upcoming {
  background: #263369 !important;
}

.xncwi-container .xncwi-status-label.closed {
  background: #434343 !important;
}

/* 상단 우측 이수증 = card-badge-cyan #2aaec6 (카탈로그 바를 청록 배지로) */
.sch-oc-lecture-widget .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.manual_completion,
.xncwi-container .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.series {
  background: unset !important;
  height: unset !important;
  color: #263369 !important;
  padding: 8px 15px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  border-radius: 0;
}

.sch-oc-lecture-widget .xncwi-catalog-info-container .xncwi-catalog-title {
  color: #263369 !important;
  font-weight: 400;
  font-size: 16px !important;
  line-height: 19px !important;
}

/* 카탈로그 바를 카테고리 라인처럼 표시 (card-category 20px #263369) */
.sch-oc-lecture-widget .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.manual_completion,
.xncwi-container .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.series {
  margin-bottom: 0;
}

.sch-oc-lecture-widget .xncwi-info-container .xncwi-catagory-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #263369 !important;
  margin: 0 0 6px;
}

/* 제목 = card-title (26px 800 #262626) */
.sch-oc-lecture-widget .xncwi-info-container .xncwi-title {
  font-weight: 800 !important;
  font-size: 26px !important;
  line-height: 31px !important;
  color: #262626 !important;
  width: 100%;
  min-height: 60px;
  margin: 0 0 6px !important;
  display: block;
  transition: color 0.25s ease;
}

/* 진행중 = card-status (테두리, 15px) */
.sch-oc-lecture-widget .xncwi-info-container .xncwi-status {
  box-sizing: border-box;
  width: auto !important;
  height: auto !important;
  padding: 5px 10px;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid #262626;
  background: transparent !important;
  border-radius: 0;
  display: inline-block;
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}

/* 날짜 = card-date-text */
.sch-oc-lecture-widget .xncwi-info-container .xncwi-date,
.sch-oc-lecture-widget .xncwi-info-container .xncwi-studydate-wrap .xncwi-date {
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.8) !important;
  margin: 0 0 0 10px;
  transition: color 0.25s ease;
}

.sch-oc-lecture-widget .xncwi-info-container .xncwi-studydate-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 15px 0 0;
  gap: 10px;
  width: 100%;
}

.sch-oc-lecture-widget .xncwi-info-container {
  padding: 0 !important;
  gap: 6px;
}

/* 카테고리 = card-category (20px #263369) */
.sch-oc-lecture-widget .xncwi-info-container .xncwi-catagory-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #263369 !important;
  margin: 0;
}

.sch-oc-lecture-widget .xncwi-container:hover .xncwi-catagory-title {
  color: #ffffff !important;
}

/* 캐러셀 버튼 = carousel-arrow (흰 원, 회색 테두리·그림자) */
.sch-oc-lecture-widget .xnbw-items-btn-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.sch-oc-lecture-widget .xnbw-items-btn-wrap:first-of-type {
  left: -50px;
}

.sch-oc-lecture-widget .xnbw-items-btn-wrap:last-of-type {
  right: -50px;
}

.sch-oc-lecture-widget .xnbw-items-prev-btn,
.sch-oc-lecture-widget .xnbw-items-next-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.sch-oc-lecture-widget .xnbw-items-prev-btn:hover,
.sch-oc-lecture-widget .xnbw-items-next-btn:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.2);
}

.sch-oc-lecture-widget .xnbw-items-prev-btn i,
.sch-oc-lecture-widget .xnbw-items-next-btn i {
  width: 35px;
  height: 35px;
  display: block;
}

/* ========== 공지사항 / 이용안내 (sch-oc 디자인) ========== */
.sch-oc-info {
  background: #f6f9fc;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* 게시판 위젯 배경 원 (장식) */
.sch-oc-info .notice-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    55.09% 55.09% at 36.57% 27.55%,
    #f6f9fc 28.37%,
    #d4e4f5 100%
  );
  z-index: 0;
  pointer-events: none;
}

.sch-oc-info .notice-bg-circle--1 {
  width: 262px;
  height: 262px;
  left: 65px;
  top: -48px;
}

.sch-oc-info .notice-bg-circle--2 {
  width: 400px;
  height: 400px;
  right: -77px;
  bottom: -162px;
}

.sch-oc-info-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sch-oc-info-inner-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .sch-oc-info-inner {
    grid-template-columns: 1fr;
  }
  .sch-oc-info {
    padding: 60px 0;
  }
}

.sch-oc-info-panel {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(2px);
  border: none !important;
  border-radius: 10px;
  overflow: hidden;
}

.sch-oc-board-widget .xn-widget-container.board_v2 {
  padding: 40px !important;
  max-width: 100%;
}

.xn-widget-container.board_v2 .xnbw-category-wrap {
  display: none !important;
}

.sch-oc-board-widget .xnbw-top-container {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #000;
}

.sch-oc-board-widget .xnbw-title {
  font-weight: 800 !important;
  font-size: 40px !important;
  line-height: 48px !important;
  color: #000 !important;
}

.sch-oc-board-widget .xnbw-more-tab {
  font-weight: 500;
  font-size: 16px;
  color: #333;
}

.sch-oc-board-widget .xnbw-items-container {
  display: flex !important;
  flex-direction: column;
  gap: 0;
}

.sch-oc-board-widget .xnbw-item-container {
  margin: 0 !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #ddd;
}

.sch-oc-board-widget .xnbw-item-container:hover {
  background: #f5f8fc;
}

.sch-oc-board-widget .xnbw-board-post-list {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.sch-oc-board-widget .xnbw-post-list-title {
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 24px !important;
}

.sch-oc-board-widget .xnbw-post-list-created {
  font-size: 16px !important;
  color: #757575 !important;
}

/* ========== 푸터 (sch-oc 디자인) ========== */
#footer.footer.sch-oc-footer {
  display: block !important;
  visibility: visible !important;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background: var(--sch-oc-footer-bg) !important;
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-links > a:first-child {
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
  color: var(--sch-oc-cyan) !important;
}

.footer-links > a {
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
  color: #fff !important;
  text-decoration: none;
}

.footer-links > a:hover {
  opacity: 0.85;
}

.footer-family-wrap {
  position: relative;
  display: inline-block;
}

.footer-family {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
  color: #fff;
  cursor: pointer;
}

.footer-family:hover {
  opacity: 0.85;
}

.footer-family img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-family-wrap.show .footer-family img {
  transform: rotate(180deg);
}

.footer-family-dropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin: 0 0 8px 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 100;
}

.footer-family-dropdown.show,
.footer-family-wrap.show .footer-family-dropdown {
  display: block;
}

.footer-family-dropdown li {
  margin: 0;
}

.footer-family-dropdown a {
  display: block;
  padding: 10px 16px;
  color: #333 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.footer-family-dropdown a:hover {
  background: #f0f4fa;
  color: #0037ba !important;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: 30px;
}

.footer-logo-link {
  display: inline-block;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 171px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.footer-copy span {
  display: block;
}

/* ========== 맨 위로 버튼 (sch-oc 디자인) ========== */
.scroll-top.sch-oc-scroll-top,
.sch-oc-scroll-top {
  position: absolute;
  width: 70px;
  height: 70px;
  right: 48px;
  bottom: 100%;
  transform: translateY(50%);
  background: #215dd3;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 10;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.sch-oc-scroll-top:hover {
  background-color: #1a4aad;
}

.sch-oc-scroll-top img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .sch-oc-scroll-top {
    right: 20px;
    width: 56px;
    height: 56px;
  }
  .sch-oc-scroll-top img {
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
  }
}

/* certificate icon display none override */
.xncwi-container
  .xncwi-catalog-info-container.manual_completion
  .xncwi-certificate-icon,
.xncwi-container .xncwi-catalog-info-container.mooc .xncwi-certificate-icon,
.xncwi-container .xncwi-catalog-info-container.series .xncwi-certificate-icon {
  display: none !important;
}

/* catalog info container background none override */
.xncwi-container .xncwi-catalog-info-container.manual_completion,
.xncwi-container .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.series {
  background: none !important;
}

/* lecture widget mooc padding left/right 0 override */
.sch-oc-lecture-widget .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.manual_completion,
.xncwi-container .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.series {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 20px !important;
}

/* certificate wrap */
.xncwi-container .xncwi-certificate-wrap {
  padding: 8px 16px;
  background-color: #2aaec6;
  color: #fff;
  width: unset !important;
  top: -35px !important;
}

.xncwi-container .xncwi-certificate-wrap:empty {
  padding: 0;
}

.xncwi-container .xncwi-certificate-wrap:empty::before {
  content: none;
  display: none;
}

.xncwi-container .xncwi-certificate-wrap .xncwi-certificate-title {
  display: none !important;
}

.xncwi-container .xncwi-certificate-wrap::before {
  content: "이수증";
}

/* status label padding override */
.xncwi-container .xncwi-status-label {
  padding: 8px 10px !important;
}

/* catalog wrap width override */
.xncwi-container .xncwi-catalog-info-container .xncwi-catalog-wrap {
  width: 100% !important;
}
