/**
 * GUA Opencampus - open 카탈로그 전용 스타일
 * HTML 디자인 기준
 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

body:has(#content .xngua-open-catalog) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden !important;
}
body:has(#content .xngua-open-catalog) #content {
  flex: 1;
}

#content .xngua-open-catalog {
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}
#content .xngua-open-catalog *,
#content .xngua-open-catalog *::before,
#content .xngua-open-catalog *::after {
  box-sizing: border-box;
}
#content .xngua-open-catalog .container {
  width: 100% !important;
}
#content .xngua-open-catalog .xngua-open-search-input,
.xngua-open-search-form .xngua-open-search-input {
  min-width: 0 !important;
}
#content .xngua-open-catalog .xncwi-title,
#content .xngua-open-catalog .xncwi-info-container,
#content .xngua-open-catalog .xngua-open-f-address,
#content .xngua-open-catalog .xngua-open-copyright,
#content .xngua-open-catalog .xngua-open-f-links a {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}
#content .xngua-open-catalog img {
  height: auto;
}

:root {
  --primary-blue: #286bfc;
  --dark-blue: #01387b;
  --yellow: #efbb17;
  --mint: #00aacb;
  --bg-gray: #f2f5f9;
  --max-width: 1410px;
}

.xngua-open-top-bar {
  background: var(--dark-blue);
  padding: 8px 0;
  font-size: 13px;
  color: #fff;
}

.xngua-open-top-bar-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.xngua-open-top-bar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.xngua-open-top-bar a:hover {
  color: #fff;
  opacity: 1;
}

.xngua-open-top-bar .xn-translate_language-container {
  color: #fff;
}

.xngua-open-top-bar .xn-translate_language-select_box,
.xngua-open-top-bar .xn-translate_language-narrow-screen {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.xngua-open-top-bar .xn-translate_language-select_box:hover,
.xngua-open-top-bar .xn-translate_language-narrow-screen:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
}

/* ===== 언어 선택 영역 오버라이드 (모두 !important) ===== */
/* 1. 좁은 화면용 아이콘 버튼: 표시 + 스타일 */
.xngua-open-top-bar .xn-translate_language-narrow-screen {
  display: inline-block !important;
  visibility: visible !important;
  color: #fff !important;
  border: none !important;
  background: transparent !important;
}

/* 2. 좁은 화면용 아이콘: 이미지 흰색 (filter) */
.xngua-open-top-bar
  .xn-translate_language-narrow-screen.xn-translate_language-icon.site,
.xngua-open-top-bar
  .xn-translate_language-narrow-screen.xn-translate_language-icon,
.xngua-open-top-bar
  .xn-translate_language-narrow-screen
  .xn-translate_language-icon {
  filter: brightness(0) invert(1) !important;
}

/* 3. 넓은 화면용 텍스트 버튼: 보더·패딩·배경 제거, width/height auto */
.xngua-open-top-bar .xn-translate_language-select_box {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}

/* 4. .xn-translate_language-select_box 이미지 흰색 */
.xngua-open-top-bar
  .xn-translate_language-select_box
  .xn-translate_language-image {
  filter: brightness(0) invert(1) !important;
}

/* 5. .xn-translate_language-select_box > i 숨김 */
.xngua-open-top-bar .xn-translate_language-select_box > i {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.xn-translate_language-select_dropdown {
  top: 26px !important;
  right: 0 !important;
  left: unset !important;
  transform: unset !important;
  margin-top: 0 !important;
}

.xngua-open-session-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
}

.xngua-open-top-bar .xn-header-member-btn-group .btn,
.xngua-open-top-bar .btn-dropdown-user-menu {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.xngua-open-top-bar .btn-dropdown-user-menu {
  background: transparent !important;
  /* 오버라이드: 마진·패딩·보더·높이 제거 */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  height: auto !important;
  min-height: 0 !important;
}

.xngua-open-top-bar .btn-dropdown-user-menu .xn-chevron-icon {
  color: #fff;
}

/* 계정 드롭다운: 버튼 기준 오른쪽 하단 위치 */
.xngua-open-top-bar .xn-header-member-btn-group {
  position: relative !important;
}
.xngua-open-top-bar
  .xn-header-member-btn-group
  .xn-v2-user-dropdown.dropdown-menu,
.xngua-open-top-bar .xn-v2-user-dropdown.dropdown-menu.dropdown-menu-right {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  margin-top: 4px !important;
  transform: none !important;
}

/* ===== Header (width 100%, sticky, 흰배경 opacity) ===== */
.xngua-open-header-sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: none;
}

.xngua-open-top-bar,
#header.xngua-open {
  width: 100%;
  max-width: none;
  height: auto;
}
#header.xngua-open {
  background-color: unset !important;
}

#header .container {
  width: 100% !important;
  max-width: 100% !important;
}

.xngua-open-header {
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.xngua-open-header .xngua-open-nav {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px);
  padding: 16px 48px;
}

.xngua-open-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

/* PC: 한 줄 유지 (줄바꿈 없음) */
.xngua-open-nav-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}
.xngua-open-nav-row .xn-main-menu-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
.xngua-open-nav-row .desktop {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  margin-left: auto;
}
.xngua-open-nav-row .xn-header-menu-wrapper {
  flex: 0 0 auto;
}

/* #header .xn-header-menu 플렉스 */
#header .xn-header-menu {
  display: flex !important;
  gap: 20px;
  padding-right: 80px;
}

/* #header .xn-header-menu li 오버라이드 */
#header .xn-header-menu li {
  float: unset !important;
  width: 100% !important;
  height: unset !important;
  line-height: unset !important;
  display: flex;
  gap: 20px;
}
#header .xn-header-menu li:hover {
  background: none !important;
  background-color: transparent !important;
}

#header .xn-header-menu li:not(:last-of-type)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b0b0b0;
  flex-shrink: 0;
}
#header .xn-header-menu li a {
  float: unset !important;
  width: 100% !important;
  height: unset !important;
  line-height: unset !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  transition: color 0.2s ease;
}

/* 1뎁스 메뉴 호버 */
#header .xn-header-menu > li > a:hover {
  color: var(--primary-blue) !important;
  text-decoration: none !important;
}
/* 헤더 로고: index.css 오버라이드 적용 보장 */
#header.xngua-open-header .xn-main-catalog-header-logo-wrap,
#header.xngua-open-header .xn-main-catalog-header-logo {
  display: inline-block !important;
  line-height: 0 !important;
  vertical-align: middle !important;
  max-width: none !important;
}
#header.xngua-open-header .xn-main-catalog-header-logo-image {
  height: 30px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  object-fit: contain !important;
}

/* 메뉴: 메뉴 사이 회색 점 구분, PC 한 줄 유지 */
.xngua-open-nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.xngua-open-nav-menu .menu-item {
  display: flex;
  align-items: center;
}

.xngua-open-nav-menu .menu-item:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b0b0b0;
  margin-left: 24px;
  margin-right: 24px;
  flex-shrink: 0;
}

.xngua-open-nav-menu a {
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.xngua-open-nav-menu a:hover {
  color: var(--primary-blue);
}

/* 검색 아이콘 / 사이트맵 아이콘 */
.xngua-open-header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.xngua-open-header-search-btn,
.xngua-open-header-sitemap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.xngua-open-header-search-btn:hover,
.xngua-open-header-sitemap-btn:hover {
  color: var(--primary-blue);
  background: rgba(40, 107, 252, 0.08);
}

/* 서브메뉴 드롭다운: 1뎁스에 연결된 하위메뉴만 세로 표기, 서브 없으면 드롭다운 없음 */
.xngua-open-header .xn-main-menu-wrap {
  position: relative;
}

#header .xn-header-menu li.xngua-open-has-dropdown {
  position: relative;
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
}

/* PC: 1뎁스 호버 시 해당 항목 하위만 세로 드롭다운, 너비·정렬 정리 */
.xngua-open-submenu-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 6px;
  padding: 8px 0;
  width: max-content;
  min-width: 180px;
  max-width: 260px;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 200;
  display: none;
}

#header
  .xn-header-menu
  li.xngua-open-has-dropdown:hover
  .xngua-open-submenu-dropdown {
  display: block;
}

.xngua-open-submenu-dropdown li {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  float: none;
  width: 100%;
  height: auto;
  font-size: inherit;
}

.xngua-open-submenu-dropdown li::after {
  display: none !important;
}

.xngua-open-submenu-dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 18px !important;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    background 0.2s,
    color 0.2s;
  text-align: left;
}

/* 서브 메뉴만 18px 유지 (#header .xn-header-menu li a 22px가 적용되지 않도록) */
#header .xn-header-menu .xngua-open-submenu-dropdown li a {
  font-size: 18px !important;
}

.xngua-open-submenu-dropdown li a:hover {
  background: rgba(12, 42, 127, 0.08);
  color: var(--primary-blue);
}

/* 모바일: 2뎁스만 세로 리스트 */
.xngua-open-mobile-submenu {
  list-style: none;
  padding: 8px 0 8px 16px;
  margin: 4px 0 0;
  border-left: 3px solid rgba(12, 42, 127, 0.2);
}

.xngua-open-mobile-submenu li {
  margin: 0;
  padding: 4px 0;
}

.xngua-open-mobile-submenu .xn-2depth-menu {
  font-size: 18px !important;
  color: #555;
}

.xngua-open-mobile-submenu .xn-2depth-menu:hover {
  color: var(--primary-blue);
}

/* ===== Hero (슬라이드 위젯 래퍼) ===== */
.xngua-open-hero {
  width: 100%;
  min-height: 540px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  padding: 80px 0;
}

.xngua-open-hero-blob {
  position: absolute;
  filter: blur(70px);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}

.xngua-open-hero-blob-1 {
  width: 300px;
  height: 300px;
  border-radius: 300px;
  opacity: 0.3;
  background: linear-gradient(180deg, #00aacb 0%, #efbb17 100%);
  filter: blur(10px);
  top: -48px;
  right: 80px;
}

.xngua-open-hero-blob-2 {
  width: 240px;
  height: 240px;
  border-radius: 200px;
  opacity: 0.5;
  background: linear-gradient(180deg, #00aacb 0%, #01387b 100%);
  filter: blur(10px);
  left: -40px;
  bottom: -40px;
}

.xngua-open-hero-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 48px solid transparent;
  border-right: 48px solid transparent;
  border-bottom: 84px solid #ffc107;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%) rotate(85deg);
  z-index: 10;
  pointer-events: none;
}

/* 슬라이드 위젯 마운트 영역: 크기 확보로 위젯이 보이도록 */
.xngua-open-hero .xngua-open-widget-slider {
  width: 100%;
  max-width: 1410px;
  min-height: 540px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 슬라이드: border-radius 40 80 40 40, 캡션좌/이미지우, 하단 오버레이 */
.xngua-open-hero .xn-widget-slider-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 540px;
  min-height: 540px;
}

/* 슬라이드: 왼쪽 텍스트·오른쪽 이미지 레이아웃 (absolute 제거) */
.xngua-open-hero .xn-widget-slider-container .carousel-inner {
  border-radius: 40px 120px 40px 40px !important;
  overflow: hidden;
}
.xngua-open-hero .xn-widget-slider-container .carousel-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  height: 540px !important;
  border-radius: 40px 120px 40px 40px !important;
}
.xngua-open-hero .xn-widget-slider-container .carousel-item .xnws-img {
  order: 2 !important;
  flex: 1 1 50% !important;
  min-width: 0 !important;
  height: 100% !important;
  border-radius: 40px 120px 40px 40px !important;
}
.xngua-open-hero .xn-widget-slider-container .carousel-item img {
  border-radius: 40px 120px 40px 40px !important;
}

/* 캡션: absolute 제거, 왼쪽 배치 */
.xngua-open-hero .xnws-caption.carousel-caption {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  order: 1 !important;
  flex: 0 1 50% !important;
  min-width: 0 !important;
  max-width: none !important;
  text-align: left !important;
  padding: 48px 40px 60px 48px !important;
}

/* 히어로 슬라이더: 컨트롤·인디케이터 위치 및 버튼 스타일 (슬라이드 이미지 기준 좌하/우하) */
.xngua-open-hero .xn-widget-slider-container .carousel-control-prev,
.xngua-open-hero .xn-widget-slider-container .carousel-control-next,
.xngua-open-hero .xn-widget-slider-container .carousel-indicators {
  position: absolute;
  top: auto !important;
  bottom: 0;
  z-index: 4;
}
.xngua-open-hero .xn-widget-slider-container .carousel-control-prev {
  left: calc(50% + 12px);
  right: auto;
}
.xngua-open-hero .xn-widget-slider-container .carousel-control-next {
  right: 12px;
  left: auto;
}
.xngua-open-hero .xn-widget-slider-container .carousel-indicators {
  left: 50%;
}
.xngua-open-hero .xn-widget-slider-container .carousel-control-prev,
.xngua-open-hero .xn-widget-slider-container .carousel-control-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent !important;
  opacity: 1;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.xngua-open-hero .xn-widget-slider-container .carousel-control-prev:hover,
.xngua-open-hero .xn-widget-slider-container .carousel-control-next:hover {
  background: transparent !important;
  transform: scale(1.08);
  opacity: 0.9;
}

/* Bootstrap .carousel-indicators 오버라이드 (선택자 구체화로 우선 적용) */
.xngua-open-hero .xn-widget-slider-container .carousel-indicators li,
#content .xngua-open-catalog .carousel-indicators li {
  width: 12px !important;
  height: 12px !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  margin: 0 3px !important;
  opacity: 1 !important;
  border: 0 !important;
  background-clip: unset !important;
}
.xngua-open-hero .xn-widget-slider-container .carousel-indicators li.active,
#content .xngua-open-catalog .carousel-indicators li.active {
  background-color: #ffc107 !important;
}

/* 히어로 슬라이드 캡션(타이틀·로고·버튼) 스타일 오버라이드 */
.xngua-open-hero .xnws-caption .slide-container {
  display: flex !important;
  flex-direction: column !important;
  font-family: "Pretendard", "Malgun Gothic", sans-serif !important;
  line-height: 1.25 !important;
  color: #333333 !important;
  letter-spacing: -0.04em !important;
  min-width: 0 !important;
}
.xngua-open-hero .xnws-caption .title-text {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.xngua-open-hero .xnws-caption .title-group {
  margin-bottom: 40px !important;
}
.xngua-open-hero .xnws-caption .title-text {
  font-size: 58px !important;
  /* font-weight: 800 !important; */
  margin: 0 !important;
  font-weight: 500;
}
.xngua-open-hero .xnws-caption .title-text strong {
  font-weight: 800 !important;
}
.xngua-open-hero .xnws-caption .logo-container {
  display: flex !important;
  align-items: baseline !important;
  gap: 15px !important;
  margin-bottom: 45px !important;
}
.xngua-open-hero .xnws-caption .logo-gua {
  font-size: 4.5rem !important;
  font-weight: 900 !important;
  color: #003371 !important;
  letter-spacing: -0.05em !important;
}
.xngua-open-hero .xnws-caption .logo-open {
  font-size: 4.25rem !important;
  font-weight: 600 !important;
  color: #b0b0b0 !important;
  letter-spacing: -0.02em !important;
}
.xngua-open-hero .xnws-caption .btn-detail {
  display: inline-flex !important;
  align-items: center !important;
  background-color: #00abc9 !important;
  color: #ffffff !important;
  padding: 16px 32px !important;
  border-radius: 50px !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  width: fit-content !important;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.xngua-open-hero .xnws-caption .btn-detail:hover {
  background-color: #0095b3 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 171, 201, 0.35);
}
.xngua-open-hero .xnws-caption .btn-detail::after {
  content: "→" !important;
  margin-left: 12px !important;
  font-size: 24px !important;
  font-weight: 300 !important;
}

/* ===== Search ===== */
.xngua-open-hero .xngua-open-search {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
  width: 100%;
  max-width: 830px;
}

/* 검색 영역이 단독 섹션일 때 (링크형) */
.xngua-open-section.xngua-open-search {
  padding: 40px 0;
}
.xngua-open-search-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
  text-align: center;
}
.xngua-open-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: var(--dark-blue);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.xngua-open-search-link:hover {
  background: #0a1d53;
  color: #fff !important;
  text-decoration: none;
}

.xngua-open-search-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100px;
  padding: 24px;
  border-radius: 60px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #00aacb 0%, #01387b 100%) border-box;
}

.xngua-open-search-form label,
.xngua-open-search-label {
  font-size: 24px;
  font-weight: 700;
  margin-right: 25px;
  margin-left: 25px;
  color: #333;
  flex-shrink: 0;
}

.xngua-open-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 20px;
  color: #666;
}

.xngua-open-search-input::placeholder {
  color: #999;
}

.xngua-open-search-btn {
  background: var(--dark-blue) !important;
  color: #fff !important;
  border: none;
  padding: 14px 40px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.xngua-open-search-btn:hover {
  background: #081d5c !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12, 42, 127, 0.4);
}

/* ===== Section Common ===== */
.xngua-open-section {
  width: 100%;
  padding: 90px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.xngua-open-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  text-align: center;
}

.xngua-open-container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
}

.xngua-open-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
  position: relative;
}

.xngua-open-sec-title span {
  color: #ffae00;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
}

.xngua-open-sec-title h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 8px;
  color: #111;
}

.xngua-open-sec-title h2 strong {
  font-weight: 800;
}

.xngua-open-btn-more-blue {
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(40, 107, 252, 0.3);
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.xngua-open-btn-more-blue:hover {
  background: var(--dark-blue);
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(40, 107, 252, 0.4);
}

/* ===== 추천강좌 ===== */
.xngua-open-recom-courses {
  background-color: #013879;
  background-image: url("/customs/main/oc-bg01.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  padding-bottom: 120px;
  background-size: contain;
}

.xngua-open-recom-courses .xngua-open-sec-title h2 {
  color: #fff !important;
}

/* 추천강좌 위젯 제목·더보기 (이미지 디자인 반영) */
/* 위젯 관련 스타일은 모두 !important로 오버라이드 */
.xncw-top-container {
  width: 100% !important;
  max-width: 1410px !important;
}

.xncw-top-container .xncw-title-wrap {
  text-align: left !important;
}

/* 강좌 위젯 타이틀·서브타이틀 왼쪽 정렬 오버라이드 */
.xngua-open-recom-courses .xncw-title-wrap,
.xngua-open-recom-courses .xnbw-top-container,
.xngua-open-hot-courses .xncw-title-wrap,
.xngua-open-hot-courses .xnbw-top-container {
  text-align: left !important;
}
.xngua-open-recom-courses .xncw-title-wrap .xncw-title,
.xngua-open-recom-courses .xncw-title-wrap .xncw-sub-title,
.xngua-open-recom-courses .xnbw-top-container .xnbw-title,
.xngua-open-hot-courses .xncw-title-wrap .xncw-title,
.xngua-open-hot-courses .xncw-title-wrap .xncw-sub-title,
.xngua-open-hot-courses .xnbw-top-container .xnbw-title {
  text-align: left !important;
}

.xncw-top-container .xncw-title-wrap .xncw-sub-title {
  font-size: 32px !important;
}

/* 추천강좌 타이틀 영역: 이미지와 동일 스타일 (폰트·색상·간격) */
.xngua-open-recom-courses .xncw-top-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  padding: 0 !important;
  margin-bottom: 45px !important;
}

.xngua-open-recom-courses .xncw-title-wrap .xncw-title {
  color: #f7c732 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.xngua-open-recom-courses .xncw-title-wrap .xncw-sub-title {
  color: #fff !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.xngua-open-recom-courses .xncw-more,
.xngua-open-recom-courses .xnbw-more-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  flex-shrink: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.xngua-open-recom-courses .xncw-more:hover,
.xngua-open-recom-courses .xnbw-more-tab:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* 추천강좌 더보기: 공지사항과 동일 아이콘 (진한 파란 원 + 흰색 화살표) */
.xngua-open-recom-courses .xncw-more > *:last-child,
.xngua-open-recom-courses .xnbw-more-tab > *:last-child {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  color: transparent !important;
  background-color: #1a55b9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px !important;
  border-radius: 50% !important;
}
.xngua-open-recom-courses .xncw-more > *:last-child svg,
.xngua-open-recom-courses .xnbw-more-tab > *:last-child svg {
  display: none !important;
}
.xngua-open-recom-courses .xncw-more > svg,
.xngua-open-recom-courses .xnbw-more-tab > svg {
  width: 26px !important;
  height: 26px !important;
  color: transparent !important;
  background-color: #1a55b9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px !important;
  border-radius: 50% !important;
  fill: transparent !important;
}

.xngua-open-recom-courses .xngua-open-btn-more-blue {
  background: #fff !important;
  color: var(--primary-blue) !important;
}

/* 위젯 컨테이너(course, popular_course) 배경 제거 - 선택자 구체화 */
.xngua-open-catalog
  .xngua-open-section.xngua-open-recom-courses
  .xngua-open-container
  .widget.xngua-open-widget-course
  .xn-widget-container.course,
.xngua-open-catalog
  .xngua-open-section.xngua-open-hot-courses
  .xngua-open-container
  .widget.xngua-open-widget-hot-course
  .xn-widget-container.popular_course {
  background: none !important;
  background-color: transparent !important;
}

/* xngua-open-widget-course 썸네일 이미지 숨김 */
.xngua-open-widget-course .xncwi-background,
.xngua-open-widget-course .xncwi2-thumbnail {
  display: none !important;
}

/* 추천강좌: 위젯 아이템 컨테이너 가로 배치, 한 줄에 4개 */
/* 위젯 이전/다음 버튼 숨김 */
.xngua-open-recom-courses .xnbw-items-btn-wrap,
.xngua-open-hot-courses .xnbw-items-btn-wrap {
  display: none !important;
}

.xngua-open-recom-courses .xnbw-items-container {
  display: flex !important;
  align-items: stretch !important;
  gap: 20px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.xngua-open-recom-courses .xnbw-item-container-wrap.course-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.xngua-open-recom-courses
  .xnbw-item-container-wrap.course-wrap
  .xnbw-item-container {
  flex: 0 0 calc((100% - 60px) / 4) !important;
  max-width: calc((100% - 60px) / 4) !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 인기강좌: 카드 왼쪽부터 채움, 빈 공간 없음, 가로 4개 */
.xngua-open-hot-courses .xnbw-items-container {
  display: flex !important;
  align-items: stretch !important;
  gap: 20px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.xngua-open-hot-courses .xnbw-item-container-wrap.course-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  overflow: visible !important;
  justify-content: flex-start !important;
}

.xngua-open-hot-courses
  .xnbw-item-container-wrap.course-wrap
  .xnbw-item-container {
  flex: 0 0 calc((100% - 60px) / 4) !important;
  max-width: calc((100% - 60px) / 4) !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 인기강좌 위젯 컨테이너는 그리드 제거(제목+아이템 세로 배치 유지) */
.xngua-open-hot-courses .xn-widget-container,
.xngua-open-hot-courses .xngua-open-container > .widget > div {
  display: block !important;
  width: 100% !important;
}

/* 강좌 위젯: 썸네일·카드·라벨 등 모두 !important 오버라이드 */
.xngua-open-recom-courses .xncwi-container .xncwi-info-container .xncwi-title,
.xngua-open-hot-courses .xncwi-container .xncwi-info-container .xncwi-title {
  height: 52px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.xngua-open-recom-courses .xncwi-container,
.xngua-open-hot-courses .xncwi-container {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: box-shadow 0.2s ease !important;
  min-width: 0 !important;
}
.xngua-open-recom-courses .xnbw-item-container-wrap .xnbw-item-container,
.xngua-open-hot-courses .xnbw-item-container-wrap .xnbw-item-container {
  min-width: 0 !important;
}
.xngua-open-recom-courses .xncwi-container:hover,
.xngua-open-hot-courses .xncwi-container:hover {
  box-shadow: 0 4px 20px rgba(12, 42, 127, 0.15) !important;
}

/* 강좌 위젯 썸네일 비율 16:9 (기본 스타일 - 모든 해상도 공통) */
.xngua-open-recom-courses .xncwi2-thumbnail,
.xngua-open-hot-courses .xncwi2-thumbnail {
  aspect-ratio: 16/9 !important;
  overflow: hidden !important;
  width: 100% !important;
}
.xngua-open-recom-courses .xncwi2-thumbnail img,
.xngua-open-hot-courses .xncwi2-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.xngua-open-recom-courses .xncwi-background,
.xngua-open-hot-courses .xncwi-background {
  border-radius: 16px 16px 0 0 !important;
}

.xncwi-container .xncwi-status-label {
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
}

.xngua-open-recom-courses .xncwi-status-label {
  border-radius: 21px !important;
  background-color: var(--mint) !important;
}

.xngua-open-hot-courses .xncwi-status-label {
  border-radius: 21px !important;
  background-color: #8b8b8b !important;
}

.xngua-open-recom-courses .xncwi-catalog-info-container,
.xngua-open-hot-courses .xncwi-catalog-info-container {
  background: #fff !important;
  background-color: #fff !important;
  display: flex !important;
  justify-content: space-between !important;
}

.xngua-open-recom-courses
  .xncwi-container
  .xncwi-catalog-info-container
  .xncwi-catalog-wrap,
.xngua-open-hot-courses
  .xncwi-container
  .xncwi-catalog-info-container
  .xncwi-catalog-wrap {
  color: var(--dark-blue) !important;
  font-weight: 700 !important;
}

.xncwi-container .xncwi-catalog-info-container.manual_completion,
.xncwi-container .xncwi-catalog-info-container.mooc,
.xncwi-container .xncwi-catalog-info-container.series {
  height: unset !important;
  padding: 64px 15px 0px !important;
}

.xngua-open-hot-courses .xncwi-container .xncwi-catalog-info-container.mooc {
  padding-top: 15px !important;
}

.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;
}

.xncwi-container .xncwi-certificate-wrap {
  width: auto !important;
}

/* certificate-title: status-label와 동일 스타일, right 15 / 배경 파랑 / 글자 흰색 */
.xncwi-container .xncwi-certificate-wrap .xncwi-certificate-title {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  padding: 5px 10px !important;
  border-radius: 21px !important;
  background-color: var(--primary-blue) !important;
  color: #fff !important;
  white-space: nowrap !important;
}

.xngua-open-hot-courses
  .xncwi-container
  .xncwi-certificate-wrap
  .xncwi-certificate-title {
  top: 10px !important;
}

.xncwi-container .xncwi-info-footer {
  display: none !important;
}

.xncwi-container .xncwi-info-container {
  height: 200px !important;
}

.xncwi-container .xncwi-info-container .xncwi-author {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.xncwi-container .xncwi-info-container .xncwi-studydate-wrap {
  position: absolute !important;
  bottom: 15px !important;
  width: calc(100% - 30px) !important;
  padding: 8px !important;
  border-radius: 8px !important;
  color: #242424 !important;
  background-color: #fafafa !important;
}

.xngua-open-recom-courses
  .xncwi-container
  .xncwi-info-container
  .xncwi-recruitment-wrap,
.xngua-open-hot-courses
  .xncwi-container
  .xncwi-info-container
  .xncwi-recruitment-wrap {
  color: #595959 !important;
  font-size: 14px !important;
}

.xngua-open-recom-courses
  .xncwi-container
  .xncwi-info-container
  .xncwi-recruitment-wrap
  .xncwi-recruitment,
.xngua-open-hot-courses
  .xncwi-container
  .xncwi-info-container
  .xncwi-recruitment-wrap
  .xncwi-recruitment {
  font-size: 14px !important;
  width: auto !important;
}

/* 추천강좌: 썸네일 이미지 숨김 */
.xngua-open-recom-courses .xncwi-background {
  opacity: 0 !important;
  visibility: hidden !important;
}

.xngua-open-recom-courses .xncwi-container .xncwi-label-wrapper {
  background: var(--dark-blue) !important;
}

.xngua-open-recom-courses .xncwi-label-wrapper {
  min-height: unset !important;
  height: auto !important;
}

/* ===== Premium Section ===== */
.xngua-open-premium {
  background: linear-gradient(90deg, #f3e7e9 0%, #e3efff 100%);
  position: relative;
  overflow: hidden;
}

.xngua-open-premium-watermark {
  position: absolute;
  bottom: -40px;
  right: 0;
  /* transform: translateX(-50%); */
  font-size: 110px;
  font-weight: 900;
  color: rgba(40, 107, 252, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* 명품강좌: 헤더 왼쪽 정렬, 글자 크기·색상·간격 (이미지 디자인) */
.xngua-open-premium .xngua-open-sec-header {
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 90px;
}

.xngua-open-premium .xngua-open-sec-title span {
  display: block;
  font-size: 17px;
  font-weight: 400;
  color: #002d62;
  margin-bottom: 12px;
}

.xngua-open-premium .xngua-open-sec-title h2 {
  font-size: 38px;
  font-weight: 600;
  color: #0b1938;
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 0;
}

.xngua-open-premium .xngua-open-sec-title h2 strong {
  font-weight: 600;
}

.xngua-open-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.xngua-open-p-item {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.xngua-open-p-icon {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ecf0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.xngua-open-p-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.xngua-open-p-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.4;
  color: #0b1938;
}

.xngua-open-p-item p {
  font-size: 15px;
  color: #545f77;
  line-height: 1.55;
  word-break: keep-all;
  margin-bottom: 22px;
  flex: 1;
}

.xngua-open-p-more {
  font-size: 14px;
  color: #5171f0;
  font-weight: 400;
}

/* ===== 인기강좌 ===== */
.xngua-open-hot-courses {
  background: #fff !important;
  position: relative;
}

/* 인기강좌: 회색 배경 제거 - 섹션·컨테이너·위젯 전체 */
.xngua-open-hot-courses,
.xngua-open-hot-courses .xngua-open-container,
.xngua-open-hot-courses .widget,
.xngua-open-hot-courses .xn-widget-container,
.xngua-open-hot-courses .xnbw-items-container,
.xngua-open-hot-courses .xnbw-item-container-wrap {
  background: #fff !important;
  background-color: #fff !important;
}

/* 인기강좌 타이틀 영역: 이미지와 동일 스타일 (폰트·색상·간격·두께) */
.xngua-open-hot-courses .xncw-top-container,
.xngua-open-hot-courses .xnbw-top-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-bottom: 45px !important;
  padding: 0 !important;
}

/* 인기강좌 라벨 "인기강좌" */
.xngua-open-hot-courses .xncw-title-wrap .xncw-title,
.xngua-open-hot-courses .xnbw-top-container .xnbw-title {
  color: #2d72d6 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
  display: block !important;
}

/* 인기강좌 메인 제목 "요즘 핫한 강의!" (일부 틸 강조는 strong 또는 .xngua-highlight) */
.xngua-open-hot-courses .xncw-title-wrap .xncw-sub-title,
.xngua-open-hot-courses .xnbw-top-container .xnbw-sub-title {
  color: #333333 !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}
.xngua-open-hot-courses .xncw-sub-title strong,
.xngua-open-hot-courses .xnbw-sub-title strong,
.xngua-open-hot-courses .xncw-sub-title .xngua-highlight,
.xngua-open-hot-courses .xnbw-sub-title .xngua-highlight {
  color: #12b2e6 !important;
}

/* 인기강좌 더보기: 16px #333, 연한 원형 아이콘 */
.xngua-open-hot-courses .xncw-more,
.xngua-open-hot-courses .xnbw-more-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #333333 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  flex-shrink: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.xngua-open-hot-courses .xncw-more:hover,
.xngua-open-hot-courses .xnbw-more-tab:hover {
  color: var(--primary-blue) !important;
}

/* 인기강좌 더보기: 공지사항과 동일 아이콘 (진한 파란 원 + 흰색 화살표) */
.xngua-open-hot-courses .xncw-more > *:last-child,
.xngua-open-hot-courses .xnbw-more-tab > *:last-child {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  color: transparent !important;
  background-color: #1a55b9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px !important;
  border-radius: 50% !important;
}
.xngua-open-hot-courses .xncw-more > *:last-child svg,
.xngua-open-hot-courses .xnbw-more-tab > *:last-child svg {
  display: none !important;
}
.xngua-open-hot-courses .xncw-more > svg,
.xngua-open-hot-courses .xnbw-more-tab > svg {
  width: 26px !important;
  height: 26px !important;
  background-color: #1a55b9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px !important;
  border-radius: 50% !important;
  fill: transparent !important;
}

/* ===== Boards (게시판 위젯 - 이미지 시안 동일 스타일) ===== */
.xngua-open-boards {
  background: #f6f9fe;
}

.xngua-open-board-grid,
.xngua-open-boards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.xngua-open-board-item {
  position: relative;
}

.xngua-open-board-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.xngua-open-board-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
}

.xngua-open-board-more:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

.xngua-open-board-item .widget {
  min-height: 50px !important;
}

/* 게시판 위젯(board_v2): 배경 제거(섹션 배경 노출), 패딩, 헤더·리스트 시안 스타일 (위젯 오버라이드용 모두 !important) */
.xngua-open-boards .xn-widget-container.board_v2 {
  background: transparent !important;
  background-color: transparent !important;
  padding: 32px 28px 36px !important;
  border-radius: 0 !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-top-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 24px !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-title-wrap {
  gap: 0 !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin: 0 !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-sub-title {
  display: none !important;
}

/* 카테고리 탭 숨김, 더보기만 노출 */
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-category-tab-wrap {
  display: none !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-category-wrap {
  margin: 0 !important;
  position: static !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-more-tab {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #666666 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-more-tab:hover {
  color: #333333 !important;
}

/* 더보기 아이콘: 진한 파란 원 + 흰 화살표 */
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-more-tab-plus-icon {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  background-color: #1a55b9 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px !important;
  border-radius: 50% !important;
}

/* 리스트 컨테이너 */
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-items-container {
  gap: 0 !important;
  border: none !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-item-container {
  height: auto !important;
  margin: 0 !important;
  border-bottom: 2px solid #e0e0e0 !important;
}

.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-item-container:first-child,
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-item-container:hover,
.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-item-container:has(.xnbw-board-post-list:hover) {
  border-bottom: 2px solid #000000 !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-board-post-list {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  color: inherit !important;
  min-height: auto !important;
}

.xngua-open-boards .xn-widget-container.board_v2 .xnbw-board-post-list:hover {
  background: transparent !important;
}

/* 카테고리 필(일반, 교수자 등): 기본 회색 / 호버·첫행 검정 */
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-category {
  flex-shrink: 0 !important;
  max-width: 120px !important;
  height: auto !important;
  padding: 4px 10px !important;
  margin: 0 8px 0 0 !important;
  border: 1px solid #b0b0b0 !important;
  border-radius: 9999px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #888888 !important;
  background-color: #ffffff !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-item-container:first-child
  .xnbw-post-list-category,
.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-board-post-list:hover
  .xnbw-post-list-category {
  color: #000000 !important;
  border-color: #000000 !important;
}

/* 게시글 제목: 기본 회색 / 호버·첫행 검정, 폰트 크기 확대 */
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-title {
  flex: 1 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #888888 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-item-container:first-child
  .xnbw-post-list-title,
.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-board-post-list:hover
  .xnbw-post-list-title {
  color: #000000 !important;
}

/* 게시글 날짜: 기본 회색 / 호버·첫행 검정, 폰트 크기 확대 */
.xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-created {
  flex-shrink: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #888888 !important;
  white-space: nowrap !important;
  width: auto !important;
}

.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-item-container:first-child
  .xnbw-post-list-created,
.xngua-open-boards
  .xn-widget-container.board_v2
  .xnbw-board-post-list:hover
  .xnbw-post-list-created {
  color: #000000 !important;
}

/* ===== Footer (첨부 시안 구조: 상단 로고·주소|SNS, 구분선, 하단 저작권|링크, 탑버튼 푸터 우상단) ===== */
#footer.xngua-open-footer,
.xngua-open-footer {
  background: #2f3235 !important;
  color: #999;
  padding: 50px 0 40px;
  position: relative !important;
  z-index: 100 !important;
  overflow: visible;
}

.xngua-open-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.xngua-open-footer-upper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
}

.xngua-open-footer-left {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.xngua-open-f-logo {
  flex-shrink: 0;
  margin-bottom: 16px;
}

.xngua-open-f-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.xngua-open-f-address {
  font-size: 14px;
  line-height: 1.8;
  color: #b0b0b0;
  text-align: left;
  margin: 0;
}

/* 구분선 */
.xngua-open-footer-line {
  height: 1px;
  background: #4a4d51;
  width: 100%;
  margin: 0 0 24px;
}

.xngua-open-footer-lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  overflow: visible;
}

.xngua-open-copyright {
  font-size: 13px;
  color: #b0b0b0;
  margin: 0;
}

.xngua-open-f-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.xngua-open-f-links a {
  color: #b0b0b0;
  text-decoration: none;
}

.xngua-open-f-links a.xngua-open-f-link-primary {
  color: #00acc1;
  font-weight: 600;
}

.xngua-open-f-plus {
  font-size: 12px;
  margin-left: 2px;
}

.xngua-open-f-links a:hover {
  color: #fff;
}

.xngua-open-fs {
  position: relative;
  display: inline-block;
  overflow: visible;
}
.xngua-open-fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: none;
  color: #b0b0b0;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}
.xngua-open-fs-btn:hover {
  color: #fff;
}
.xngua-open-fs-btn-icon {
  font-size: 12px;
  margin-left: 2px;
}
.xngua-open-fs-list[hidden] {
  display: none !important;
}
.xngua-open-fs-list:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  padding: 8px 0;
  background: #2f3235;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 140px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 100;
}
.xngua-open-fs-list a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-decoration: none;
}
.xngua-open-fs-list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #00acc1;
}

.xngua-open-sns-icons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.xngua-open-sns-icons a {
  width: 38px;
  height: 38px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.xngua-open-sns-icons a:hover {
  background: #333;
}

.xngua-open-sns-icons a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

#footer.xngua-open-footer .xngua-open-footer-top-btn,
.xngua-open-footer-top-btn {
  position: absolute !important;
  top: 0 !important;
  right: 20px !important;
  transform: translateY(-50%) !important;
  width: 52px !important;
  height: 52px !important;
  background: #00acc1 !important;
  border-radius: 50% !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  z-index: 101 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.xngua-open-footer-top-btn-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: inherit;
  line-height: 0;
  font-size: 0;
}

#footer.xngua-open-footer .xngua-open-footer-top-btn:hover,
.xngua-open-footer-top-btn:hover {
  background: #0097a7 !important;
  color: #fff !important;
  transform: translateY(-50%) scale(1.06) !important;
  box-shadow: 0 6px 24px rgba(0, 172, 193, 0.45) !important;
}

/* 푸터에 기본 카탈로그 마크업이 섞였을 때(open 테마 유지) */
.xngua-open-footer .xn-main-catalog-footer-upper,
.xngua-open-footer .xn-main-catalog-footer-info {
  color: #999;
}
.xngua-open-footer .footer_link a,
.xngua-open-footer .xn-change_language-title,
.xngua-open-footer .xn-change_language-select_box span {
  color: #999;
}
.xngua-open-footer .footer_link a:hover {
  color: #fff;
}
.xngua-open-footer .xn-main-catalog-footer-border {
  border-color: #333;
}
.xngua-open-footer .xn-main-footer-copyright {
  color: #888;
}

/* ===== 사이트맵 모달 ===== */
.xngua-open-sitemap-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.xngua-open-sitemap-modal[aria-hidden="false"] {
  display: flex;
}

.xngua-open-sitemap-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 42, 127, 0.25);
  backdrop-filter: blur(4px);
}

.xngua-open-sitemap-modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.xngua-open-sitemap-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #f0f0f0;
}

.xngua-open-sitemap-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.xngua-open-sitemap-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  color: #555;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.xngua-open-sitemap-modal-close:hover {
  background: #eee;
  color: #333;
}

.xngua-open-sitemap-modal-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
}

.xngua-open-sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xngua-open-sitemap-list > li {
  margin-bottom: 4px;
}

.xngua-open-sitemap-list > li:last-child {
  margin-bottom: 0;
}

.xngua-open-sitemap-1depth {
  border-radius: 10px;
}
.xngua-open-sitemap-1depth > a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  transition:
    background 0.2s,
    color 0.2s;
}

.xngua-open-sitemap-1depth > a:hover {
  background: #f0f4ff;
  color: var(--primary-blue);
}

.xngua-open-sitemap-2depth {
  list-style: none;
  padding: 4px 0 8px 18px;
  margin: 0;
  border-left: 2px solid #e8ecf4;
  margin-left: 14px;
}

.xngua-open-sitemap-2depth li {
  margin-bottom: 2px;
}

.xngua-open-sitemap-2depth a {
  display: block;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}

.xngua-open-sitemap-2depth a:hover {
  background: #f5f7fa;
  color: var(--primary-blue);
}

.xngua-open-sitemap-3depth {
  list-style: none;
  padding: 4px 0 0 14px;
  margin: 6px 0 0 0;
  border-left: 2px solid #e8ecf4;
}

.xngua-open-sitemap-3depth li {
  margin-bottom: 2px;
}

.xngua-open-sitemap-3depth a {
  display: block;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}

.xngua-open-sitemap-3depth a:hover {
  background: #f5f7fa;
  color: var(--primary-blue);
}

/* ===== Responsive ===== */
@media (max-width: 1440px) {
  .xngua-open-nav-menu .menu-item:not(:last-child)::after {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 1280px) {
  /* 인기강좌·추천강좌: 신청 기간이 진행기간에 가려지지 않도록 */
  .xngua-open-recom-courses .xncwi-container .xncwi-info-container,
  .xngua-open-hot-courses .xncwi-container .xncwi-info-container {
    min-height: 220px !important;
    height: auto !important;
    padding-bottom: 60px !important;
  }
  .xngua-open-recom-courses
    .xncwi-container
    .xncwi-info-container
    .xncwi-studydate-wrap,
  .xngua-open-hot-courses
    .xncwi-container
    .xncwi-info-container
    .xncwi-studydate-wrap {
    bottom: 15px !important;
  }
  /* 푸터 탑 버튼이 콘텐츠에 가려지지 않도록 (헤더 1000 아래, 콘텐츠 위) */
  #footer.xngua-open-footer,
  .xngua-open-footer {
    position: relative !important;
    z-index: 500 !important;
    isolation: isolate;
  }
  #footer.xngua-open-footer .xngua-open-footer-top-btn,
  .xngua-open-footer-top-btn {
    z-index: 501 !important;
  }
}

@media (max-width: 1024px) {
  .xngua-open-header-inner {
    padding: 0 16px;
  }

  .xngua-open-section {
    padding: 60px 0;
  }

  .xngua-open-container {
    padding: 0 16px;
  }

  .xngua-open-hero .xngua-open-widget-slider {
    min-height: 420px;
    padding: 0 16px;
  }

  .xngua-open-hero .xn-widget-slider-container,
  .xngua-open-hero .xn-widget-slider-container .carousel-item {
    height: 420px !important;
    min-height: 420px !important;
  }

  .xngua-open-hero .xnws-caption.carousel-caption {
    padding: 32px 24px 40px 32px !important;
  }

  .xngua-open-hero .xnws-caption .title-text {
    font-size: 28px !important;
  }

  .xngua-open-hero .xnws-caption .btn-detail {
    font-size: 14px;
    padding: 10px 24px;
  }

  .xngua-open-search-form {
    height: 80px;
    padding: 16px 20px;
    border-radius: 48px;
  }

  .xngua-open-search-form label,
  .xngua-open-search-label {
    font-size: 20px;
    margin-right: 16px;
    margin-left: 16px;
  }

  .xngua-open-search-input {
    font-size: 16px;
  }

  .xngua-open-search-btn {
    padding: 10px 28px;
    font-size: 14px;
  }

  .xngua-open-premium .xngua-open-sec-title h2 {
    font-size: 32px;
  }

  .xngua-open-premium .xngua-open-sec-header {
    margin-bottom: 50px;
  }

  .xngua-open-p-item h4 {
    font-size: 20px;
  }

  .xngua-open-p-item p {
    font-size: 14px;
  }

  .xngua-open-recom-courses .xncw-title-wrap .xncw-sub-title,
  .xngua-open-hot-courses .xncw-title-wrap .xncw-sub-title,
  .xngua-open-hot-courses .xnbw-top-container .xnbw-sub-title {
    font-size: 28px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 {
    padding: 24px 20px 28px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-title {
    font-size: 22px !important;
  }

  .xngua-open-recom-courses
    .xnbw-item-container-wrap.course-wrap
    .xnbw-item-container {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
  }

  .xngua-open-hot-courses
    .xnbw-item-container-wrap.course-wrap
    .xnbw-item-container {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
  }

  .xngua-open-premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .xngua-open-board-grid,
  .xngua-open-boards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .xngua-open-nav-menu {
    display: none;
  }

  #footer.xngua-open-footer,
  .xngua-open-footer {
    padding: 40px 0 32px !important;
    position: relative !important;
    z-index: 500 !important;
  }

  .xngua-open-footer-upper {
    flex-direction: column;
    padding-bottom: 24px;
  }

  .xngua-open-footer-lower {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  #footer.xngua-open-footer .xngua-open-footer-top-btn,
  .xngua-open-footer-top-btn {
    right: 50% !important;
    transform: translate(50%, -50%) !important;
    z-index: 501 !important;
  }

  #header .xn-header-menu {
    padding-right: 20px;
  }

  #header .xn-header-menu li a {
    font-size: 20px !important;
  }
}

@media (max-width: 768px) {
  .xngua-open-header-inner {
    padding: 0 12px;
  }

  .xngua-open-header .xngua-open-nav {
    padding: 16px;
  }

  #header.xngua-open-header .xn-main-catalog-header-logo-image {
    height: 26px !important;
  }

  #header .xn-header-menu li a {
    font-size: 18px !important;
  }

  .xngua-open-section {
    padding: 48px 0;
  }

  .xngua-open-container {
    padding: 0 12px;
  }

  .xngua-open-hero .xngua-open-widget-slider {
    min-height: 360px;
    padding: 0 12px;
  }

  .xngua-open-hero .xn-widget-slider-container,
  .xngua-open-hero .xn-widget-slider-container .carousel-item {
    height: 360px !important;
    min-height: 360px !important;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-inner,
  .xngua-open-hero .xn-widget-slider-container .carousel-item,
  .xngua-open-hero .xn-widget-slider-container .carousel-item .xnws-img,
  .xngua-open-hero .xn-widget-slider-container .carousel-item img {
    border-radius: 24px 60px 24px 24px !important;
  }

  .xngua-open-hero .xnws-caption.carousel-caption {
    padding: 24px 20px 32px 24px !important;
  }

  .xngua-open-hero .xnws-caption .title-group {
    margin-bottom: 24px !important;
  }

  .xngua-open-hero .xnws-caption .title-text {
    font-size: 22px !important;
  }

  .xngua-open-hero .xnws-caption .title-text strong {
    font-size: inherit;
  }

  .xngua-open-hero .xnws-caption .btn-detail {
    font-size: 13px;
    padding: 8px 20px;
  }

  .xngua-open-search-inner {
    padding: 32px 0;
  }

  .xngua-open-search-form {
    height: auto;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 40px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .xngua-open-search-form label,
  .xngua-open-search-label {
    font-size: 18px;
    margin: 0 0 4px 0;
    width: auto !important;
  }

  .xngua-open-search-input {
    font-size: 15px;
    min-width: 0;
  }

  .xngua-open-search-btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .xngua-open-sec-header {
    margin-bottom: 32px;
  }

  .xngua-open-sec-title h2 {
    font-size: 24px;
  }

  .xngua-open-premium .xngua-open-sec-title span {
    font-size: 15px;
  }

  .xngua-open-premium .xngua-open-sec-title h2 {
    font-size: 28px;
  }

  .xngua-open-premium .xngua-open-sec-header {
    margin-bottom: 36px;
  }

  .xngua-open-premium-grid {
    gap: 20px;
  }

  .xngua-open-p-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
  }

  .xngua-open-p-icon img {
    width: 32px;
    height: 32px;
  }

  .xngua-open-p-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .xngua-open-p-item p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .xngua-open-recom-courses .xncw-top-container,
  .xngua-open-hot-courses .xncw-top-container,
  .xngua-open-hot-courses .xnbw-top-container {
    margin-bottom: 32px !important;
  }

  .xngua-open-recom-courses .xncw-title-wrap .xncw-sub-title,
  .xngua-open-hot-courses .xncw-title-wrap .xncw-sub-title,
  .xngua-open-hot-courses .xnbw-top-container .xnbw-sub-title {
    font-size: 24px !important;
  }

  .xngua-open-hot-courses .xncw-title-wrap .xncw-title,
  .xngua-open-hot-courses .xnbw-top-container .xnbw-title {
    font-size: 16px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 {
    padding: 20px 16px 24px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-title {
    font-size: 20px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-board-post-list {
    padding: 10px 0 !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-title {
    font-size: 16px !important;
  }

  .xngua-open-board-grid,
  .xngua-open-boards-grid {
    gap: 32px;
  }

  #footer.xngua-open-footer,
  .xngua-open-footer {
    padding: 32px 0 24px !important;
    position: relative !important;
    z-index: 100 !important;
  }

  #footer.xngua-open-footer .xngua-open-footer-top-btn,
  .xngua-open-footer-top-btn {
    z-index: 101 !important;
  }

  .xngua-open-footer-inner {
    padding: 0 12px;
  }

  .xngua-open-f-address {
    font-size: 13px;
  }

  .xngua-open-sitemap-modal-content {
    max-width: 90%;
    margin: 16px;
  }

  .xngua-open-sitemap-modal-title {
    font-size: 18px;
  }
}

@media (max-width: 578px) {
  /* 슬라이드 콘텐츠 잘림 방지 */
  .xngua-open-hero .xngua-open-widget-slider {
    overflow: visible !important;
  }
  .xngua-open-hero .xn-widget-slider-container {
    overflow: visible !important;
    min-height: 0 !important;
  }
  .xngua-open-hero .xn-widget-slider-container .carousel-inner {
    overflow: visible !important;
  }
  .xngua-open-hero .xn-widget-slider-container .carousel-item {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  /* 슬라이드 이미지 비율 685/540 */
  .xngua-open-hero .xn-widget-slider-container .carousel-item .xnws-img {
    aspect-ratio: 685/540 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .xngua-open-hero .xn-widget-slider-container .carousel-item .xnws-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .xngua-open-hero .xnws-caption .logo-gua,
  .xngua-open-hero .xnws-caption .logo-open {
    font-size: 32px !important;
  }
  .xngua-open-hero .xnws-caption .logo-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }
}

@media (max-width: 576px) {
  .xngua-open-hero-triangle {
    display: none !important;
  }

  .xngua-open-header-inner {
    padding: 0 10px;
  }

  #header.xngua-open-header .xn-main-catalog-header-logo-image {
    height: 24px !important;
  }

  #header .xn-header-menu {
    gap: 12px;
    padding-right: 12px;
  }

  #header .xn-header-menu li a {
    font-size: 16px !important;
  }

  .xngua-open-section {
    padding: 40px 0;
  }

  .xngua-open-container {
    padding: 0 10px;
  }

  .xngua-open-hero .xngua-open-widget-slider {
    min-height: 0;
    padding: 0 10px;
    overflow: visible !important;
  }

  .xngua-open-hero .xn-widget-slider-container,
  .xngua-open-hero .xn-widget-slider-container .carousel-item {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-inner {
    overflow: visible !important;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-item {
    flex-direction: column !important;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-item .xnws-img {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    aspect-ratio: 685/540 !important;
    min-height: 0 !important;
  }
  .xngua-open-hero .xn-widget-slider-container .carousel-item .xnws-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .xngua-open-hero .xnws-caption.carousel-caption {
    order: 2 !important;
    flex: 1 1 auto !important;
    padding: 20px 16px 28px !important;
    text-align: center !important;
  }

  .xngua-open-hero .xnws-caption .slide-container {
    align-items: center !important;
  }

  .xngua-open-hero .xnws-caption .title-group {
    margin-bottom: 16px !important;
  }

  .xngua-open-hero .xnws-caption .title-text {
    font-size: 18px !important;
  }

  .xngua-open-hero .xnws-caption .btn-detail {
    font-size: 12px;
    padding: 8px 18px;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-control-prev,
  .xngua-open-hero .xn-widget-slider-container .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-control-prev {
    left: 6px;
  }

  .xngua-open-hero .xn-widget-slider-container .carousel-control-next {
    right: 6px;
  }

  .xngua-open-search-form {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    min-height: auto;
  }

  .xngua-open-search-form label,
  .xngua-open-search-label {
    width: 100%;
    margin: 0 0 8px 0;
    font-size: 16px;
  }

  .xngua-open-search-input {
    font-size: 14px;
  }

  .xngua-open-search-btn {
    width: 100%;
    padding: 12px;
  }

  .xngua-open-recom-courses
    .xnbw-item-container-wrap.course-wrap
    .xnbw-item-container,
  .xngua-open-hot-courses
    .xnbw-item-container-wrap.course-wrap
    .xnbw-item-container {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .xngua-open-recom-courses .xnbw-items-container,
  .xngua-open-hot-courses .xnbw-items-container {
    gap: 16px !important;
  }

  .xngua-open-premium-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .xngua-open-premium .xngua-open-sec-title h2 {
    font-size: 24px;
  }

  .xngua-open-premium .xngua-open-sec-header {
    margin-bottom: 28px;
  }

  .xngua-open-recom-courses .xncw-title-wrap .xncw-sub-title,
  .xngua-open-hot-courses .xncw-title-wrap .xncw-sub-title,
  .xngua-open-hot-courses .xnbw-top-container .xnbw-sub-title {
    font-size: 20px !important;
  }

  .xngua-open-recom-courses .xncw-title-wrap .xncw-title,
  .xngua-open-hot-courses .xncw-title-wrap .xncw-title,
  .xngua-open-hot-courses .xnbw-top-container .xnbw-title {
    font-size: 14px !important;
  }

  .xngua-open-recom-courses .xncw-more,
  .xngua-open-hot-courses .xncw-more,
  .xngua-open-hot-courses .xnbw-more-tab {
    font-size: 14px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 {
    padding: 16px 12px 20px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-title {
    font-size: 18px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-more-tab {
    font-size: 14px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-category {
    font-size: 13px !important;
    padding: 3px 8px !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-title {
    font-size: 15px !important;
    white-space: normal !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .xngua-open-boards .xn-widget-container.board_v2 .xnbw-post-list-created {
    font-size: 13px !important;
  }

  .xngua-open-board-grid,
  .xngua-open-boards-grid {
    gap: 24px;
  }

  .xngua-open-footer-upper {
    gap: 20px;
  }

  .xngua-open-footer-left,
  .xngua-open-f-address {
    text-align: left;
  }

  .xngua-open-f-logo img {
    max-height: 28px;
  }

  .xngua-open-copyright {
    font-size: 12px;
  }

  .xngua-open-f-links {
    font-size: 13px;
  }

  #footer.xngua-open-footer,
  .xngua-open-footer {
    position: relative !important;
    z-index: 100 !important;
  }

  #footer.xngua-open-footer .xngua-open-footer-top-btn,
  .xngua-open-footer-top-btn {
    width: 44px !important;
    height: 44px !important;
    right: 10px !important;
    transform: none !important;
    z-index: 101 !important;
  }
  #footer.xngua-open-footer .xngua-open-footer-top-btn:hover,
  .xngua-open-footer-top-btn:hover {
  }

  .xngua-open-sitemap-modal-content {
    max-width: 100%;
    max-height: 90vh;
    margin: 10px;
  }

  .xngua-open-sitemap-modal-title {
    font-size: 16px;
  }

  .xngua-open-sitemap-2depth a,
  .xngua-open-sitemap-3depth a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  #header.xngua-open-header .xn-main-catalog-header-logo-image {
    height: 16px !important;
  }
  #footer.xngua-open-footer,
  .xngua-open-footer {
    position: relative !important;
    z-index: 100 !important;
  }
  #footer.xngua-open-footer .xngua-open-footer-top-btn,
  .xngua-open-footer-top-btn {
    z-index: 101 !important;
  }
}

@media (max-width: 360px) {
  #content
    .xngua-open-catalog
    .xngua-open-boards
    .xn-widget-container.board_v2
    .xnbw-board-post-list {
    align-items: flex-start !important;
  }
  #footer.xngua-open-footer,
  .xngua-open-footer {
    position: relative !important;
    z-index: 100 !important;
  }
  #footer.xngua-open-footer .xngua-open-footer-top-btn,
  .xngua-open-footer-top-btn {
    z-index: 101 !important;
  }
}
