@charset "utf-8";
/* ============================================================
   custom_design.css
   new_html/public_html 디자인 커스터마이징 전용 파일
   - 모든 신규 디자인 변경은 인라인이 아닌 이 파일에 작성
   - setting.php 에서 마지막에 로드되어 기존 CSS 위에 적용(override)
   ============================================================ */

/* index 헤더 DB 로고 (Mentor 템플릿) */
.header .logo .db-logo { max-height:100px; width:auto; }
.header .logo { margin-left:0; }

/* 메뉴(우측 그룹) 화면 오른쪽 끝 정렬 */
.header .btn-getstarted { margin-right:0; font-size:17px; padding-top:9px; padding-bottom:9px; }

/* DB 배너(hero) 회전 - 원본 fri_banner 동기화 */
#hero { padding:0 !important; min-height:0 !important; }
#hero:before { display:none !important; }
#hero .db-banner { position:relative; z-index:3; width:100%; height:680px; overflow:hidden; }
#hero .db-banner .db-banner-item { position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; transition:opacity 1s ease; display:block; }
#hero .db-banner .db-banner-item.on { opacity:1; }
#hero .db-banner .db-banner-item img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:992px){ #hero .db-banner { height:440px; } }
@media (max-width:576px){ #hero .db-banner { height:280px; } }

/* nav 메뉴 글씨 크기 확대 */
.header .navmenu a, .header .navmenu a:focus { font-size:19px; font-weight:700; color:#3a3a3a; }

/* 배너 문구(mainbanner) - 원본 main.css 이식, #hero 스코프 */
#hero .db-banner-item { position:absolute; top:0; left:0; width:100%; height:100%; }
#hero .mainbanner { position:absolute; z-index:6; top:50%; left:50%; transform:translate(-32%,-50%); width:1300px; max-width:90%; text-align:right; }
#hero .mainbanner.mainbanner-left { text-align:left; transform:translate(-68%,-50%); }
#hero .mainbanner.mainbanner-center { text-align:center; transform:translate(-50%,-50%); }
#hero .mainbanner.mainbanner-center .bannerarea1, #hero .mainbanner.mainbanner-center .bannerarea { display:block !important; float:none !important; margin-left:auto; margin-right:auto; text-align:center; }
#hero .mainbanner.mainbanner-center .bannerarea { width:600px; max-width:100%; margin-top:18px; }
#hero .mainbanner.mainbanner-center .banner01,
#hero .mainbanner.mainbanner-center .banner02,
#hero .mainbanner.mainbanner-center .banner03 { float:none !important; display:inline-block; vertical-align:top; }
#hero .mainbanner .bannerarea { width:600px; max-width:100%; float:right; text-align:center; }
#hero .mainbanner.mainbanner-left .bannerarea { float:left; }
#hero .mainbanner .bannerarea ul li { display:inline-block; float:right; width:100%; }
#hero .banner01 { background:#4482e8; text-align:left; width:48%; margin-left:3%; border-radius:25px; float:right; padding:20px 30px; box-sizing:border-box; }
#hero .banner02 { background:#4482e8; text-align:left; width:48%; border-radius:25px; float:right; padding:20px 30px; box-sizing:border-box; }
#hero .banner03 { background:#fff; text-align:center; width:50%; border-radius:25px; float:right; padding:10px; box-sizing:border-box; }
#hero .bannertt { font-weight:600; color:#fff; font-size:22px; }
#hero .bannertt1 { font-size:15px; font-weight:300; color:#fff; margin-top:5px; }
#hero .bannertt2 { font-weight:600; color:#000; font-size:22px; margin:25px 0; }
#hero .bannertt3 { font-weight:200; color:#000; font-size:42px; margin:25px 0; }
#hero .bannertt3 span { font-weight:700; color:#0066cc; }
#hero .bannertt4 { font-weight:200; color:#000; font-size:25px; margin:7px 0; }
#hero .bannertt4 span { font-weight:700; }
#hero .bannertt5 { font-weight:200; color:#000; font-size:25px; margin:7px 0; }
#hero .bannertt5 span { font-weight:700; color:#0066cc; }
@media (max-width:992px){ #hero .bannertt3 { font-size:28px; } #hero .bannertt4, #hero .bannertt5 { font-size:18px; } #hero .mainbanner .bannerarea { width:100%; } }

/* 배너 슬라이더 컨트롤 (화살표/점) */
#hero .db-banner-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:7; width:50px; height:50px; padding:0; border:0; border-radius:50%; background:rgba(0,0,0,0.32); color:#fff; font-size:24px; line-height:1; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s; }
#hero .db-banner-arrow:hover { background:rgba(0,0,0,0.6); }
#hero .db-banner-arrow.prev { left:24px; }
#hero .db-banner-arrow.next { right:24px; }
#hero .db-banner-dots { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:7; display:flex; gap:10px; }
#hero .db-banner-dots .db-dot { width:12px; height:12px; border-radius:50%; background:rgba(255,255,255,0.55); cursor:pointer; transition:all .25s; }
#hero .db-banner-dots .db-dot.on { background:#fff; width:32px; border-radius:6px; }
@media (max-width:576px){ #hero .db-banner-arrow { width:40px; height:40px; font-size:20px; } #hero .db-banner-arrow.prev{left:10px;} #hero .db-banner-arrow.next{right:10px;} }

/* 배너 문구 박스(banner01/02/03) 아이콘 크기 제한 */
#hero .mainbanner .banner01 img,
#hero .mainbanner .banner02 img,
#hero .mainbanner .banner03 img { max-width:50px; height:auto; margin-top:6px; }

/* 배너 캡션 AOS 무력화 (위치 흔들림 방지) */
#hero .mainbanner [data-aos] { opacity:1 !important; transform:none !important; transition:none !important; }

/* 메뉴 hover pill 배경 (Get Started 버튼 스타일) */
.header .navmenu>ul>li>a { transition:all .25s; }
.header .navmenu>ul>li>a:hover,
.header .navmenu>ul>li.active>a {
  background: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  border-radius: 50px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* 드롭다운 간격/중앙 정렬 (1단계 서브메뉴) */
.header .navmenu>ul>li.dropdown>ul { left:50% !important; transform:translateX(-50%); margin-top:14px; }
.header .navmenu>ul>li.dropdown:hover>ul { top:100% !important; }
.header .navmenu>ul>li.dropdown>ul::before { content:""; position:absolute; left:0; right:0; top:-14px; height:14px; }

/* 서브메뉴 박스 라운드/글씨 크기 */
.header .navmenu .dropdown ul { border-radius:12px !important; overflow:hidden; }
.header .navmenu .dropdown ul a { font-size:19px !important; }

/* 사이트 글꼴(Pretendard) 통일 - Mentor 폰트 변수 덮어쓰기 */
:root {
  --default-font: 'Pretendard','Noto Sans KR','Noto Sans Korean',sans-serif;
  --heading-font: 'Pretendard','Noto Sans KR','Noto Sans Korean',sans-serif;
  --nav-font: 'Pretendard','Noto Sans KR','Noto Sans Korean',sans-serif;
}

/* 주메뉴 헤더 높이 살짝 증가 */
.header { padding-top:3px !important; padding-bottom:3px !important; }

/* 헤더 컨테이너 전체폭 (로고 좌측 끝 / 메뉴 우측 끝, 스크롤바 영향 없음) */
.header .container-xl { max-width:100% !important; padding-left:24px; padding-right:24px; }

/* 드롭다운 화살표 그린(accent) + 진하게 */
.header .navmenu .toggle-dropdown { color: var(--accent-color) !important; -webkit-text-stroke:0.7px var(--accent-color); font-weight:900; }
.header .navmenu>ul>li>a:hover .toggle-dropdown,
.header .navmenu>ul>li.active>a .toggle-dropdown { color: var(--contrast-color) !important; -webkit-text-stroke:0.7px var(--contrast-color); }

/* 메뉴 글씨 세로 늘림 */
.header .navmenu>ul>li>a { transform:scaleY(1.0); font-weight:700; }

/* 메뉴 글씨 살짝 흐리게 (hover 시 또렷) */
.header .navmenu>ul>li>a { opacity:0.62; }
.header .navmenu>ul>li>a:hover, .header .navmenu>ul>li.active>a { opacity:1; }

/* 서브메뉴 보통 굵기 */
.header .navmenu .dropdown ul a { font-weight:400 !important; }

/* About DB 이미지 롤링 */
#about .about-db-imgs { position:relative; width:100%; }
#about .about-db-imgs .about-db-item { position:absolute; top:0; left:0; width:100%; opacity:0; transition:opacity 1s ease; }
#about .about-db-imgs .about-db-item.on { position:relative; opacity:1; }
#about .about-db-imgs .about-db-item img { width:100%; height:auto; display:block; border-radius:12px; }

/* About 텍스트 제목/부제 */
#about .about-db-text .sec01tt { font-size:40px; font-weight:800; line-height:1.2; margin-bottom:14px; color:#222; }
#about .about-db-text .sec01tt span { color: var(--accent-color); }
#about .about-db-text .sec01tt1 { font-size:24px; font-weight:500; color:#555; line-height:1.7; }

/* 카테고리 버튼(features) 활성 스타일 */
#cat-buttons .cat-btn { cursor:pointer; transition:all .25s; }
#cat-buttons .cat-btn.active { background: var(--accent-color); }
#cat-buttons .cat-btn.active i, #cat-buttons .cat-btn.active h3 { color: var(--contrast-color); }
#cat-buttons .cat-btn.active h3 a { color: var(--contrast-color); }

/* 메인 게시판 박스 (Why Us 대체) */
.why-us .board-box { background:#fff; border:1px solid #e8e8e8; border-radius:16px; padding:28px 22px; height:100%; box-shadow:0 8px 22px rgba(0,0,0,0.05); }
.why-us .board-box h3 { font-size:24px; font-weight:400; margin-bottom:16px; }
.why-us .board-list { list-style:none; padding:0; margin:0 0 18px; text-align:left; min-height:150px; }
.why-us .board-list li { border-bottom:1px solid rgba(0,0,0,0.08); }
.why-us .board-list li a { display:flex; justify-content:space-between; gap:10px; align-items:center; padding:10px 2px; color:inherit; font-size:14px; }
.why-us .board-list .bl-subj { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.why-us .board-list .bl-date { flex-shrink:0; opacity:0.6; font-size:12px; }
.why-us .board-list .bl-empty { padding:24px 0; opacity:0.6; border-bottom:0; }
/* 1번 박스(녹색) 내부 텍스트/구분선 밝게 */
.why-us .board-box.why-box h3 { color:#fff; }
.why-us .board-box.why-box .board-list li { border-color:rgba(255,255,255,0.25); }
.why-us .board-box.why-box .board-list li a { color:#fff; }
.why-us .board-box.why-box .board-list .bl-empty { color:rgba(255,255,255,0.8); }

/* more 버튼 보이게 */
.why-us .board-box .more-btn { display:inline-flex; align-items:center; gap:4px; margin-top:6px; color:var(--accent-color); font-weight:600; opacity:1; }
.why-us .board-box.why-box .more-btn { color:#fff; }

/* 1번 게시판 박스 녹색 배경 + 흰 글씨 (board-box 흰배경 덮어쓰기) */
.why-us .board-box.why-box { background: var(--accent-color) !important; border-color: var(--accent-color) !important; color:#fff; }
.why-us .board-box.why-box h3, .why-us .board-box.why-box a, .why-us .board-box.why-box .bl-date { color:#fff !important; }

/* 배너 문구 Tailwind 클래스 대응 (gwnrise 호환, #hero .mainbanner 스코프 전용 / 페이지 나머지 영향 없음) */
#hero .mainbanner .inline-block{display:inline-block;}
#hero .mainbanner .block{display:block;}
#hero .mainbanner .bg-rise-green{background:#10b981;}
#hero .mainbanner .bg-rise-navy{background:#172554;}
#hero .mainbanner .bg-rise-blue{background:#1e3a8a;}
#hero .mainbanner .bg-rise-gold{background:#f59e0b;}
#hero .mainbanner .text-rise-green{color:#10b981;}
#hero .mainbanner .text-white{color:#fff;}
#hero .mainbanner .text-yellow-400{color:#facc15;}
#hero .mainbanner .text-green-300{color:#86efac;}
#hero .mainbanner .text-black-200{color:#111 !important;}
#hero .mainbanner .text-gray-200{color:#e5e7eb;}
#hero .mainbanner .px-3{padding-left:.75rem;padding-right:.75rem;}
#hero .mainbanner .py-1{padding-top:.25rem;padding-bottom:.25rem;}
#hero .mainbanner .px-4{padding-left:1rem;padding-right:1rem;}
#hero .mainbanner .py-2{padding-top:.5rem;padding-bottom:.5rem;}
#hero .mainbanner .rounded-full{border-radius:9999px;}
#hero .mainbanner .rounded-lg{border-radius:.5rem;}
#hero .mainbanner .text-sm{font-size:.875rem;line-height:1.25rem;}
#hero .mainbanner .text-base{font-size:1rem;line-height:1.5rem;}
#hero .mainbanner .text-lg{font-size:1.125rem;line-height:1.75rem;}
#hero .mainbanner .text-xl{font-size:1.25rem;line-height:1.75rem;}
#hero .mainbanner .text-2xl{font-size:1.5rem;line-height:2rem;}
#hero .mainbanner .text-3xl{font-size:1.875rem;line-height:2.25rem;}
#hero .mainbanner .font-bold{font-weight:700;}
#hero .mainbanner .font-black{font-weight:900;}
#hero .mainbanner .leading-tight{line-height:1.25;}
#hero .mainbanner .mb-4{margin-bottom:1rem;}
#hero .mainbanner .mb-8{margin-bottom:2rem;}
#hero .mainbanner .mt-3{margin-top:.75rem;}
#hero .mainbanner .text-shadow{text-shadow:0 2px 8px rgba(0,0,0,.45);}
@media (min-width:768px){
  #hero .mainbanner .md\:text-3xl{font-size:1.875rem;line-height:2.25rem;}
  #hero .mainbanner .md\:text-5xl{font-size:3rem;line-height:1;}
  #hero .mainbanner .md\:text-xl{font-size:1.25rem;line-height:1.75rem;}
}
@media (min-width:1024px){
  #hero .mainbanner .lg\:text-6xl{font-size:3.75rem;line-height:1;}
}

/* 푸터 검색 입력/버튼 (입력 크게, 버튼 우측 끝) */
.footer .footer-search-form .newsletter-form input[type=text] { border:0; padding:5px 14px; width:100%; flex:1 1 auto; min-width:0; background-color:var(--surface-color); color:var(--default-color); font-size:15px; }
.footer .footer-search-form .newsletter-form input[type=text]:focus-visible { outline:none; }
.footer .footer-search-form .newsletter-form input[type=submit] { border:0; font-size:16px; padding:0 26px; margin:-7px -8px -7px 0; background:var(--accent-color); color:var(--contrast-color); border-radius:50px; flex-shrink:0; white-space:nowrap; cursor:pointer; }
.footer .footer-search-form .newsletter-form input[type=submit]:hover { background: color-mix(in srgb, var(--accent-color), transparent 20%); }

/* 배너 최초 로딩 등장 효과 (1회) */
#hero .db-banner-item.on .mainbanner { animation: heroCapIntro 1.1s ease .45s both; }
@keyframes heroCapIntro { from { opacity:0; } to { opacity:1; } }

/* 배너 격자(타일) 리빌 효과 */
#hero .db-banner .hero-grid { position:absolute; left:0; top:0; width:100%; height:100%; z-index:9; display:grid; pointer-events:none; }
#hero .db-banner .hero-grid .tile { background:#ffffff; transform-origin:center; animation:tileReveal .55s ease forwards; }
@keyframes tileReveal { from { opacity:1; transform:scale(1); } to { opacity:0; transform:scale(.35); } }

/* 게시판 박스 hover 확대 */
.why-us .board-box { transition: transform .25s ease, box-shadow .25s ease; }
.why-us .board-box:hover { transform: translateY(-8px) scale(1.07); box-shadow: 0 18px 40px rgba(0,0,0,0.16); z-index:2; position:relative; }

/* 푸터 진회색 배경 + 흰 글씨 */
#footer.footer { background:#454545 !important; }
#footer.footer, #footer.footer p, #footer.footer h4, #footer.footer a, #footer.footer span, #footer.footer strong, #footer.footer .copyright, #footer.footer .credits { color:#fff !important; }
#footer.footer .social-links a { color:#fff !important; border-color:rgba(255,255,255,0.3) !important; }
#footer.footer .footer-search-form input[type=text] { background:#fff !important; color:#333 !important; }
#footer.footer .footer-search-form .newsletter-form { background:#fff; }

/* ============================================================
   메인(index) 상단 헤더 — 최상단에서는 가운데 배너를 헤더 영역까지
   확장하여 보여주고(투명), 아래로 스크롤하면 기존 흰 배경으로 복귀
   (2026-06-22)
   ============================================================ */
/* 헤더를 흐름에서 빼서 hero 배너가 헤더 영역까지 위로 확장되게 함 */
body.index-page .header { position:fixed; top:0; left:0; right:0; width:100%; }

/* 최상단(스크롤 전): 배경 투명 + 그림자 제거 → 배너가 그대로 노출 */
body.index-page:not(.scrolled) .header { background-color:transparent !important; box-shadow:none !important; }

/* 최상단에서 메뉴 글씨를 배너 위에서도 읽히도록 밝게 (데스크톱) */
@media (min-width:1200px){
  body.index-page:not(.scrolled) .header .navmenu>ul>li>a { color:#fff !important; opacity:0.98; text-shadow:none !important; }
  body.index-page:not(.scrolled) .header .navmenu>ul>li>a:hover,
  body.index-page:not(.scrolled) .header .navmenu>ul>li.active>a { color:var(--contrast-color) !important; opacity:1; }
  body.index-page:not(.scrolled) .header .navmenu .toggle-dropdown { color:#fff !important; -webkit-text-stroke:0.7px #fff; }
}

/* 최상단에서 메뉴 화살표 그림자 (배너 위 가독성) */
body.index-page:not(.scrolled) .header .navmenu .toggle-dropdown { text-shadow:none !important; }

/* 아래로 스크롤 후: 기존 흰 배경 + 부드러운 그림자 (현재 모습 유지) */
body.index-page.scrolled .header { background-color:var(--background-color) !important; box-shadow:0 2px 18px rgba(0,0,0,0.10) !important; }


/* ============================================================
   로그아웃 확인 모달 (메인 헤더 이름 버튼 클릭 시) - 2026-06-22
   ============================================================ */
.logout-modal{ position:fixed; left:0; top:0; right:0; bottom:0; z-index:2000; display:none; }
.logout-modal.on{ display:block; }
.logout-modal__dim{ position:absolute; left:0; top:0; right:0; bottom:0; background:rgba(0,0,0,0.45); }
.logout-modal__box{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:340px; max-width:90%; background:#fff; border-radius:14px; padding:32px 24px 22px; box-shadow:0 18px 50px rgba(0,0,0,0.28); text-align:center; animation:logoutPop .22s ease; }
@keyframes logoutPop{ from{ opacity:0; transform:translate(-50%,-46%); } to{ opacity:1; transform:translate(-50%,-50%); } }
.logout-modal__msg{ font-size:18px; font-weight:700; color:#222; margin:0 0 24px; line-height:1.5; }
.logout-modal__btns{ display:flex; gap:10px; }
.logout-modal__btn{ flex:1; height:46px; display:flex; align-items:center; justify-content:center; border:0; border-radius:8px; font-size:16px; font-weight:700; cursor:pointer; text-decoration:none; transition:background .2s; }
.logout-modal__btn--no{ background:#ededed; color:#444; }
.logout-modal__btn--no:hover{ background:#e0e0e0; }
.logout-modal__btn--yes{ background:var(--accent-color); color:var(--contrast-color); }
.logout-modal__btn--yes:hover{ background:color-mix(in srgb, var(--accent-color), transparent 15%); }


/* 메인 배너 문구 모바일 숨김 (작은 화면에서 텍스트 오버플로 방지) */
@media (max-width:768px){ #hero .mainbanner{ display:none !important; } }


/* 모바일: 투명헤더 미적용 — 처음부터 흰 배경 유지 (배너를 메뉴 배경으로 쓰지 않음) */
@media (max-width:768px){
  body.index-page:not(.scrolled) .header{ background-color:var(--background-color) !important; box-shadow:0 2px 18px rgba(0,0,0,0.10) !important; }
  body.index-page .header{ position:relative !important; }
}


/* === 헤더 로고: 스크롤 전 메인로고 / 스크롤 시(흰 바탕) 로고 === */
#header .logo img.logo-scrolled { display: none !important; }
body.scrolled #header .logo img.logo-main { display: none !important; }
body.scrolled #header .logo img.logo-scrolled { display: inline-block !important; }


/* === 서브페이지(배너 있는): 헤더 투명 + 배너 헤더 뒤로 확장 + 스크롤 시 흰색 (메인 방식) === */
body:has(.page-title, .sub-banner) #site-header.header {
  position: fixed !important;
  top: 0; left: 0; width: 100%;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(.page-title, .sub-banner).scrolled #site-header.header {
  background: #ffffff !important;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1) !important;
}
/* 배너를 헤더 뒤까지: heading 상단 여백 확보 */
body:has(.page-title, .sub-banner) .page-title .heading {
  padding-top: 160px !important;
  padding-bottom: 82px !important;
}
@media (max-width: 991px){
  body:has(.page-title, .sub-banner) .page-title .heading {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}
/* 투명 헤더 위 상단 메뉴 글씨만 흰색, 스크롤 시 기본색 */
body:has(.page-title, .sub-banner) #site-header .navmenu > ul > li > a,
body:has(.page-title, .sub-banner) #site-header .navmenu > ul > li > a:focus {
  color: #ffffff;
}
body:has(.page-title, .sub-banner).scrolled #site-header .navmenu > ul > li > a,
body:has(.page-title, .sub-banner).scrolled #site-header .navmenu > ul > li > a:focus {
  color: var(--default-color);
}
/* 드롭다운(롤오버) 서브메뉴는 흰 배경 -> 어두운 글씨 유지 */
body:has(.page-title, .sub-banner) #site-header .navmenu li ul a,
body:has(.page-title, .sub-banner) #site-header .navmenu .dropdown ul a {
  color: var(--default-color) !important;
}
/* === 서브 헤더 로고 스크롤 교체 === */
#site-header .logo img.logo-scrolled { display: none !important; }
body.scrolled #site-header .logo img.logo-main { display: none !important; }
body.scrolled #site-header .logo img.logo-scrolled { display: inline-block !important; }


/* === 서브페이지 배너(.page-title) 배경 이미지 === */
body:has(.page-title, .sub-banner) .page-title {
  background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("/assets/img/office.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body:has(.page-title, .sub-banner) .page-title nav {
  background: rgba(0, 0, 0, .25) !important;
}
/* 안쪽 메뉴(myedu-snb) 중복 배경 제거 - 바깥 breadcrumbs 배경만 유지 */
body:has(.page-title, .sub-banner) .page-title .myedu-snb { background: transparent !important; }


/* === 상단 메뉴 hover/active: 녹색 pill 배경 + 흰 글씨 (메인과 동일) === */
body:has(.page-title, .sub-banner) #site-header .navmenu > ul > li > a:hover,
body:has(.page-title, .sub-banner) #site-header .navmenu .active,
body:has(.page-title, .sub-banner) #site-header .navmenu .active:focus,
body:has(.page-title, .sub-banner).scrolled #site-header .navmenu > ul > li > a:hover {
  background: var(--accent-color) !important;
  background-color: var(--accent-color) !important;
  border-radius: 50px !important;
  color: #ffffff !important;
}
body:has(.page-title, .sub-banner) #site-header .navmenu > ul > li > a:hover span,
body:has(.page-title, .sub-banner) #site-header .navmenu .active span {
  color: #ffffff !important;
}
/* === 드롭다운 서브메뉴 hover: 흰 배경 위 녹색 글씨 === */
body:has(.page-title, .sub-banner) #site-header .navmenu li ul a:hover,
body:has(.page-title, .sub-banner) #site-header .navmenu .dropdown ul a:hover {
  color: #5fcf80 !important;
}


/* === 배너 SNB(myedu-snb) 스타일 — 마크업 클래스 일치 (파란 hover 제거) === */
.page-title .myedu-snb { display:flex; gap:18px; flex-wrap:wrap; justify-content:center; }
.myedu-snb__item { position:relative; font-size:19px; font-weight:400; color:rgba(255,255,255,0.9) !important; background:transparent !important; padding:6px 2px; transition:color .15s; text-decoration:none; }
.myedu-snb__item:hover { color:#5fcf80 !important; background:transparent !important; }
.myedu-snb__item.active { color:#ffe93b !important; font-weight:400; }
.myedu-snb__group { position:relative; display:inline-flex; align-items:center; }
.myedu-snb__group .myedu-snb__caret { font-size:11px; margin-left:4px; }
.myedu-snb__sub { position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(8px); min-width:160px; background:#fff; border-radius:8px; box-shadow:0 10px 28px rgba(0,0,0,0.22); padding:8px 0; opacity:0; visibility:hidden; transition:opacity .2s ease, transform .2s ease, visibility .2s; z-index:100; }
.myedu-snb__sub::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; }
.myedu-snb__group:hover .myedu-snb__sub { opacity:1; visibility:visible; transform:translateX(-50%) translateY(2px); }
.myedu-snb__subitem { display:block; padding:6px 20px; font-size:18px; color:#444 !important; background:transparent !important; white-space:nowrap; transition:all .15s; text-decoration:none; }
.myedu-snb__subitem:hover { background:#f4f4f4 !important; color:#5fcf80 !important; }
.myedu-snb__subitem.active { color:#5fcf80 !important; font-weight:700; }


/* === 배너 SNB/탭 hover 파란배경 제거 + 글씨 보이게 (강제) === */
.page-title .myedu-snb__item:hover,
.page-title .myedu-snb__item:focus,
.page-title .myedu-snb__item:active,
.page-title .myedu-snb__item.active:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: #5fcf80 !important;
}
.page-title .myedu-snb__subitem:hover,
.page-title .myedu-snb__subitem:focus {
  background: #f4f4f4 !important;
  color: #5fcf80 !important;
}
.page-title .myedu-tabs a:hover,
.page-title .myedu-tabs a:focus {
  background: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
}
.page-title .myedu-tabs a.active {
  background: #ffffff !important;
  color: var(--accent-color) !important;
}


/* === my_edu_view 등 .sub-banner 페이지: 배너 이미지 + 헤더 높이 여백 === */
body:has(.sub-banner) .sub-banner {
  background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("/assets/img/office.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body:has(.sub-banner) .sub-banner__head { padding-top: 160px !important; padding-bottom: 82px !important; }
@media (max-width: 991px){
  body:has(.sub-banner) .sub-banner__head { padding-top: 60px !important; padding-bottom: 60px !important; }
}
body:has(.sub-banner) .sub-banner__nav { background: rgba(0,0,0,.25) !important; }


/* === 로딩 시 배너 슬라이딩 효과 (.page-title / .sub-banner) === */
@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
body:has(.page-title, .sub-banner) .page-title .heading,
body:has(.page-title, .sub-banner) .sub-banner__head {
  animation: bannerSlideIn 0.9s cubic-bezier(.2,.7,.2,1) both;
}
body:has(.page-title, .sub-banner) .page-title nav,
body:has(.page-title, .sub-banner) .sub-banner__nav {
  animation: bannerSlideIn 0.9s cubic-bezier(.2,.7,.2,1) 0.12s both;
}





/* === my_edu_view(mypage-sub) 본문 흰 카드 === */
body.mypage-sub #pageCont {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 10px 0 60px !important;
}
/* 제목/차시 각각 별도 흰 카드 */
body.mypage-sub .myedu-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07) !important;
  padding: 36px 32px !important;
  margin-bottom: 24px !important;
  display: flow-root !important;
}
@media (max-width: 768px) {
  body.mypage-sub #pageCont { padding: 18px !important; border-radius: 12px !important; }
}


/* === my_edu_view(mypage-sub) 본문 카드 가운데 정렬 === */
body.mypage-sub #sCont {
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}
body.mypage-sub #pageCont {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}


/* === 제목(상세) 카드 내부 테두리 제거 === */
body.mypage-sub .myedu-card--detail div,
body.mypage-sub .myedu-card--detail table,
body.mypage-sub .myedu-card--detail td,
body.mypage-sub .myedu-card--detail th,
body.mypage-sub .myedu-card--detail dl,
body.mypage-sub .myedu-card--detail dt,
body.mypage-sub .myedu-card--detail dd,
body.mypage-sub .myedu-card--detail ul,
body.mypage-sub .myedu-card--detail li,
body.mypage-sub .myedu-card--detail .mywrap {
  border: none !important;
  box-shadow: none !important;
}


/* === 제목(상세) 카드 내부 글꼴 확대 === */
body.mypage-sub .myedu-card--detail { font-size: 19px !important; line-height: 1.7 !important; }
body.mypage-sub .myedu-card--detail td,
body.mypage-sub .myedu-card--detail li,
body.mypage-sub .myedu-card--detail p,
body.mypage-sub .myedu-card--detail dd { font-size: 19px !important; }
body.mypage-sub .myedu-card--detail .edutt_v,
body.mypage-sub .myedu-card--detail h1,
body.mypage-sub .myedu-card--detail h2,
body.mypage-sub .myedu-card--detail h3 { font-size: 28px !important; }


/* === 강좌 정보 카드: 진도율 링 + 아이콘 정보칩 === */
body.mypage-sub .myedu-card--detail .mytt1 { display: none !important; }
body.mypage-sub .edu-stat { display:flex; gap:34px; align-items:center; flex-wrap:wrap; margin:22px 0 6px; }
body.mypage-sub .edu-stat__ring { width:134px; height:134px; border-radius:50%; background:conic-gradient(#5fcf80 calc(var(--p)*1%), #e9ecef 0); display:grid; place-items:center; flex:none; }
body.mypage-sub .edu-stat__ring-inner { width:100px; height:100px; border-radius:50%; background:#fff; display:grid; place-items:center; font-size:28px; font-weight:800; color:#3a3b45; line-height:1.05; text-align:center; }
body.mypage-sub .edu-stat__ring-inner span { display:block; font-size:13px; font-weight:600; color:#9aa0a6; margin-top:2px; }
body.mypage-sub .edu-stat__chips { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; flex:1 1 340px; }
body.mypage-sub .edu-stat__chip { display:flex; align-items:center; gap:12px; background:#f5f7f9; border-radius:12px; padding:13px 16px; }
body.mypage-sub .edu-stat__chip i { font-size:22px; color:#5fcf80; flex:none; }
body.mypage-sub .edu-stat__chip .lbl { font-size:14px; color:#8a9098; min-width:62px; }
body.mypage-sub .edu-stat__chip .val { font-size:15px; font-weight:700; color:#333; word-break:keep-all; }
@media (max-width:768px){ body.mypage-sub .edu-stat__chips { grid-template-columns:1fr; } }


/* === 차시 학습 목록: 번호 배지 + 행 카드 (hover) === */
body.mypage-sub .myedu-card--course .mylect {
  border: 1px solid #eef0f3 !important;
  border-radius: 14px !important;
  padding: 16px 22px !important;
  margin-bottom: 12px !important;
  background: #fff !important;
  transition: box-shadow .18s, transform .18s, border-color .18s !important;
}
body.mypage-sub .myedu-card--course .mylect:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.08) !important;
  transform: translateY(-2px);
  border-color: #cdeedd !important;
}
body.mypage-sub .myedu-card--course .mylect > ul {
  display: flex !important; align-items: center !important; gap: 18px !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important; flex-wrap: wrap !important;
}
body.mypage-sub .myedu-card--course .mylect > ul > li { list-style: none !important; }
body.mypage-sub .myedu-card--course .mylect > ul > li:first-child { flex: 1 1 320px !important; min-width: 0 !important; }
body.mypage-sub .myedu-card--course .myleftspan1,
body.mypage-sub .myedu-card--course .myleftspan1_1 {
  display: inline-block !important; background: #5fcf80 !important; color: #fff !important;
  font-weight: 700 !important; font-size: 14px !important; padding: 5px 14px !important;
  border-radius: 50px !important; margin: 0 0 8px !important;
}
body.mypage-sub .myedu-card--course .mytt2 { font-size: 17px !important; font-weight: 700 !important; color: #2a2d31 !important; margin: 0 0 4px !important; line-height: 1.45 !important; }
body.mypage-sub .myedu-card--course .mytt2 span { font-size: 13px !important; font-weight: 400 !important; color: #9aa0a6 !important; }
body.mypage-sub .myedu-card--course .mytt1 { font-size: 13px !important; color: #9aa0a6 !important; margin: 0 !important; }
@media (max-width: 768px){ body.mypage-sub .myedu-card--course .mylect > ul > li:first-child { flex: 1 1 100% !important; } }



/* === 카테고리(features) 섹션 배경 = 공지(counts) 와 동일 그레이 === */
#features.section,
section#features,
#features.features.section {
  background-color: #f9f9f9 !important;
  padding-top: 55px !important;
  padding-bottom: 60px !important;
}


/* === [재설계 1단계] my_edu_view 카드 디자인 제거 + 배경 흰색 === */
body.mypage-sub #content { background: #ffffff !important; }
body.mypage-sub #pageCont { background: transparent !important; }
body.mypage-sub .myedu-card {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
}
/* 차시 행 카드 평면화 (구분선만 유지) */
body.mypage-sub .myedu-card--course .mylect,
body.mypage-sub .myedu-card--course .mylect:hover {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}


/* === 강좌정보 가로 전체폭 그레이 밴드 (메인과 동일 #f9f9f9) === */
body.mypage-sub .myedu-band--info {
  background: #f9f9f9 !important;
  box-shadow: 0 0 0 100vw #f9f9f9;
  clip-path: inset(0 -100vw);
  padding: 44px 0 40px !important;
  margin: 0 0 30px !important;
}
body.mypage-sub .myedu-band--info .myedu-card { margin-bottom: 0 !important; }


/* === 차시 중 중간평가/최종평가 항목도 가로 전체폭 그레이 밴드 === */
body.mypage-sub .myedu-card--course .mylect:has(.myleftspan1_1) {
  background: #f9f9f9 !important;
  box-shadow: none !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 24px calc(50vw - 50%) !important;
  box-sizing: border-box !important;
}
/* 평가 라벨 배지 색상 구분(중간/최종) */
body.mypage-sub .myedu-card--course .myleftspan1_1 {
  display: inline-block !important;
  background: #4e73df !important;
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  padding: 12px 26px !important;
  min-width: 150px !important;
  text-align: center !important;
  border: none !important;
  border-radius: 5px !important;
  margin: 0 0 10px !important;
}


/* === MY CLASS 섹션 제목: 메인 .section-title 원본 스타일 강제 동일 === */
body.mypage-sub .myedu-section-title { padding-bottom: 30px !important; position: relative !important; }
body.mypage-sub .myedu-section-title h2 {
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 0 !important;
  line-height: 1px !important;
  margin: 0 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: color-mix(in srgb, var(--default-color), transparent 50%) !important;
  position: relative !important;
}
body.mypage-sub .myedu-section-title h2::after {
  content: "" !important;
  width: 120px !important;
  height: 1px !important;
  display: inline-block !important;
  background: var(--accent-color) !important;
  margin: 4px 10px !important;
}
body.mypage-sub .myedu-section-title p {
  color: var(--heading-color) !important;
  margin: 0 !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  font-family: var(--nav-font) !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}


/* === 차시 번호/제목을 메인 Courses 카드(.category/h3)와 동일하게 === */
body.mypage-sub .myedu-card--course .myleftspan1 {
  display: inline-block !important;
  background: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 12px 26px !important;
  min-width: 150px !important;
  text-align: center !important;
  margin: 0 0 10px !important;
  border: none !important;
  border-radius: 5px !important;
}
body.mypage-sub .myedu-card--course .mytt2 {
  font-size: 24px !important;
  font-weight: 400 !important;
  color: var(--heading-color) !important;
}
body.mypage-sub .myedu-card--course .mytt2 span { font-size: 13px !important; font-weight: 400 !important; color: color-mix(in srgb, var(--default-color), transparent 35%) !important; }


/* === 차시 부가정보(총강의시간/수강시간/최근수강시간) 폰트 = 메인 .bl-empty(기본 본문) 폰트 동일 === */
body.mypage-sub .myedu-card--course .mytt2 span,
body.mypage-sub .myedu-card--course .mytt1 {
  font-family: var(--default-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: color-mix(in srgb, var(--default-color), transparent 40%) !important;
}


/* === 강좌정보 정보칩(수강기간/첨삭강사/강의진도/진행상태) 폰트 = 기본 본문 폰트 동일 === */
body.mypage-sub .edu-stat__chip,
body.mypage-sub .edu-stat__chip .lbl,
body.mypage-sub .edu-stat__chip .val,
body.mypage-sub .edu-stat__ring-inner {
  font-family: var(--default-font) !important;
}


/* === 강좌정보/차시 정보 텍스트를 차시 제목과 동일 폰트로 통일 === */
body.mypage-sub .myedu-card--course .mytt2,
body.mypage-sub .edu-stat__ring-inner { font-family: var(--default-font) !important; }
body.mypage-sub .edu-stat__chip .lbl,
body.mypage-sub .edu-stat__chip .val,
body.mypage-sub .myedu-card--course .mytt2 span,
body.mypage-sub .myedu-card--course .mytt1 {
  font-family: var(--default-font) !important;
  font-size: 16px !important;
}


/* === 강좌명: 메인 about 제목(.sec01tt) 폰트/크기, 회차+과정=블랙 / 강좌이름=그린 === */
body.mypage-sub .myttul1 .myttul1-name {
  font-family: var(--default-font) !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}
body.mypage-sub .myttul1 .lec-no,
body.mypage-sub .myttul1 .lec-type { color: #222 !important; font-weight: 800 !important; margin-right: 6px; }
body.mypage-sub .myttul1 .lec-name { color: color-mix(in srgb, var(--accent-color), black 22%) !important; font-weight: 800 !important; }
@media (max-width: 768px){ body.mypage-sub .myttul1 .myttul1-name { font-size: 28px !important; } }


/* === 강좌명 li 좁은폭(7%)/회색박스(#999) 해제 — 메인처럼 full-width 제목 === */
body.mypage-sub .myttul1 ul li.myttul1-name {
  width: 100% !important;
  float: none !important;
  display: block !important;
}
body.mypage-sub .myttul1 ul li.myttul1-name span {
  background: transparent !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.25 !important;
  font-size: 44px !important;
}
body.mypage-sub .myttul1 ul li.myttul1-name .lec-no,
body.mypage-sub .myttul1 ul li.myttul1-name .lec-type { color: #222 !important; }
body.mypage-sub .myttul1 ul li.myttul1-name .lec-name { color: color-mix(in srgb, var(--accent-color), black 22%) !important; font-weight: 800 !important; }
@media (max-width: 768px){ body.mypage-sub .myttul1 ul li.myttul1-name span { font-size: 28px !important; } }


/* === 3회차(lec-no) 글씨 약간 작게 === */
body.mypage-sub .myttul1 ul li.myttul1-name .lec-no { font-size: 26px !important; vertical-align: baseline; }


/* === [일반과정] (lec-type) 그레이 === */
body.mypage-sub .myttul1 ul li.myttul1-name .lec-type { color: #666 !important; font-size: 44px !important; }


/* === 원형 진도율 링 제거 + 정보칩 강좌명 아래 나열 === */
body.mypage-sub .edu-stat__ring { display: none !important; }
body.mypage-sub .edu-stat { display: block !important; margin: 18px 0 6px !important; }
body.mypage-sub .edu-stat__chips {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 18px !important;
  flex: none !important;
  width: 100% !important;
}
@media (max-width: 768px){ body.mypage-sub .edu-stat__chips { grid-template-columns: 1fr !important; } }


/* === 정보칩 -> 박스 제거 + 1열 텍스트 나열 (메인 about 본문 .sec01tt1 스타일) === */
body.mypage-sub .edu-stat__chips { display: block !important; width: 100% !important; }
body.mypage-sub .edu-stat__chip {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 3px 0 !important;
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #555 !important;
  line-height: 1.7 !important;
}
body.mypage-sub .edu-stat__chip i { display: none !important; }
body.mypage-sub .edu-stat__chip .lbl {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #555 !important;
  min-width: auto !important;
}
body.mypage-sub .edu-stat__chip .lbl::after { content: " : "; }
body.mypage-sub .edu-stat__chip .val {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #333 !important;
}


/* === 강좌정보 버튼들을 핵심가치(about) 아이콘 카드 형식으로 === */
body.mypage-sub .btnarea2 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  margin-top: 22px !important;
}
body.mypage-sub .btnarea2 .button_edu {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 140px !important;
  min-height: auto !important;
  padding: 14px 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  gap: 18px !important;
  box-shadow: none !important;
  color: #333 !important;
  transition: transform .18s !important;
}
body.mypage-sub .btnarea2 .button_edu:hover {
  box-shadow: none !important;
  transform: translateY(-4px) !important;
}
body.mypage-sub .btnarea2 .button_edu .eb-ico {
  width: 96px; height: 96px; border-radius: 50%;
  background: #ededed;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #777;
}
body.mypage-sub .btnarea2 .button_edu:hover .eb-ico {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}
body.mypage-sub .btnarea2 .button_edu .eb-txt {
  font-size: 16px; font-weight: 400; color: #333; line-height: 1.3;
}
body.mypage-sub .btnarea2 br { display: none !important; }


/* === 강좌정보: 버튼 카드를 제목 오른쪽에 배치 === */
body.mypage-sub .myleft1 { position: relative !important; }
body.mypage-sub .btnarea2 {
  position: absolute !important;
  top: 30px !important;
  right: 0 !important;
  width: 52% !important;
  max-width: 620px !important;
  margin: 0 !important;
  justify-content: flex-end !important;
  align-content: flex-start !important;
}
body.mypage-sub .myttul1,
body.mypage-sub .edu-stat { padding-right: 54% !important; }
@media (max-width: 992px){
  body.mypage-sub .btnarea2 {
    position: static !important; width: 100% !important; max-width: none !important;
    justify-content: flex-start !important; margin-top: 18px !important;
  }
  body.mypage-sub .myttul1, body.mypage-sub .edu-stat { padding-right: 0 !important; }
}


/* === 강좌정보 콘텐츠를 섹션 제목과 동일 좌측라인에서 시작 (좌측 들여쓰기 제거) === */
body.mypage-sub .myedu-card--detail .mywrap { margin-top: 0 !important; }
body.mypage-sub .myedu-card--detail .myleft1 { padding-left: 0 !important; }


/* === 아이콘 배경색 버튼별 변화 === */
body.mypage-sub .btnarea2 .button_edu:has(.bi-robot) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-robot):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-controller) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-controller):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-shield-check) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-shield-check):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-card-list) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-card-list):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-info-circle) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-info-circle):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-camera-video) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-camera-video):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-download) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-download):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-journal-text) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-journal-text):hover .eb-ico { background: #e2e2e2 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-x-circle) .eb-ico { background: #ededed !important; color: #777 !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-x-circle):hover .eb-ico { background: #e2e2e2 !important; }


/* === 강좌정보: 제목(MY CLASS)과 강좌명 간격 좁힘 === */
body.mypage-sub .myedu-band--info .myedu-section-title { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body.mypage-sub .myedu-band--info .myedu-card--detail { margin-top: -6px !important; }


/* === 학습차시: 목록 상단 굵은 검정선 흐리게 === */
body.mypage-sub .myedu-card--course .mylectlist { border-top: 1px solid #eee !important; }


/* === 학습차시 제목 아래 공간 축소 === */
body.mypage-sub .myedu-card--course .mylectlist { margin-top: 6px !important; }
body.mypage-sub .myedu-card--course + *, body.mypage-sub .myedu-section-title:has(+ .myedu-card--course) { padding-bottom: 8px !important; }

body.mypage-sub .myedu-section-title { padding-bottom: 10px !important; }


/* === 1차시 항목을 학습차시 제목과 같은 좌측라인으로 (좌우 패딩 제거 -> 평가밴드와 우측끝 일치) === */
body.mypage-sub .myedu-card--course .mylect { padding-left: 0 !important; padding-right: 0 !important; }


/* === 최근수강시간 앞 빨간점 -> 회색점, 위 빈줄 제거 === */
body.mypage-sub .myedu-card--course .mytt1 {
  background-image: none !important;
  padding-left: 0 !important;
  margin-top: 0 !important;
  line-height: 1.5 !important;
}


/* === 수강시간(차시제목) 아래 빈줄 제거 === */
body.mypage-sub .myedu-card--course .mytt2 { margin: 0 !important; padding: 0 !important; line-height: 1.15 !important; }
body.mypage-sub .myedu-card--course .mytt2 span { display: inline-block !important; line-height: 1.1 !important; margin: 0 !important; padding: 0 !important; }
body.mypage-sub .myedu-card--course .mytt2 br { line-height: 0 !important; }
body.mypage-sub .myedu-card--course .mytt1 { margin: -2px 0 0 !important; line-height: 1.2 !important; padding: 0 !important; }


/* === 오른쪽 버튼 카드 라인 정렬 (그리드 4열 + 라벨높이 통일) === */
body.mypage-sub .btnarea2 {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  gap: 18px 6px !important;
}
/* 마지막 카드 아이콘을 우측 끝에 정확히 맞춤(카드-아이콘 여백 상쇄) */
body.mypage-sub .btnarea2 .button_edu:last-child { margin-right: -6px !important; }
body.mypage-sub .btnarea2 .button_edu { width: 112px !important; }
body.mypage-sub .btnarea2 .button_edu .eb-txt {
  min-height: 2.5em !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}


/* === 차시 행 오른쪽 상태버튼: 전부 한 줄(가로) 정렬 === */
body.mypage-sub .myedu-card--course .mylect > ul { align-items: center !important; flex-wrap: nowrap !important; }
body.mypage-sub .myedu-card--course .mylect > ul > li:first-child { flex: 1 1 auto !important; }
/* 좌측 li 안의 줄바꿈 제거 -> 좌측버튼+아래버튼 가로 배치 */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) br { display: none !important; }
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2),
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}
/* 버튼 폭 통일 */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > a,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > p {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 100px !important;
  margin: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}


/* === 차시 상태버튼: 동일크기 동그라미 + 4색(빨강/블랙/그레이/파랑) 흐리게 === */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > a,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > p {
  width: 128px !important;
  height: 128px !important;
  min-width: 128px !important;
  border-radius: 50% !important;
  padding: 12px !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border: 0 !important;
}
/* 동그라미 버튼 내부 <font> 태그도 동일 크기 */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a font,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p font,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > a font,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > p font {
  font-size: 24px !important;
}
/* 기본(빨강) 먼저 -> 이후 btncolorXX 가 덮음 */
body.mypage-sub .myedu-card--course .mylect .button_edu,
body.mypage-sub .myedu-card--course .mylect .myleft_ok {
  background: color-mix(in srgb, #e8112d, transparent 85%) !important; color: #d11 !important;
}
body.mypage-sub .myedu-card--course .mylect .btncolor07 {
  background: color-mix(in srgb, #e8112d, transparent 88%) !important; color: #d11 !important;
}
/* 그레이 */
body.mypage-sub .myedu-card--course .mylect .btncolor01,
body.mypage-sub .myedu-card--course .mylect .btncolor06 {
  background: color-mix(in srgb, #888, transparent 74%) !important; color: #5f5f5f !important;
}
/* 파랑 */
body.mypage-sub .myedu-card--course .mylect .btncolor02,
body.mypage-sub .myedu-card--course .mylect .btncolor03,
body.mypage-sub .myedu-card--course .mylect .btncolor05,
body.mypage-sub .myedu-card--course .mylect .btncolor08 {
  background: color-mix(in srgb, #1b4fd0, transparent 85%) !important; color: #1b4fd0 !important;
}
/* 블랙 */
body.mypage-sub .myedu-card--course .mylect .btncolor04,
body.mypage-sub .myedu-card--course .mylect .btncolor09 {
  background: color-mix(in srgb, #333, transparent 84%) !important; color: #333 !important;
}


/* === 좌측 상태(100%완료/학습대기): 배경 제거, 차시제목 크기 텍스트, 원색 유지 === */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a:first-child,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p:first-child {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > .myleft_ok:first-child,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > .btncolor07:first-child {
  color: #e8112d !important;
}
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > .btncolor01:first-child,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > .btncolor06:first-child {
  display: none !important;
}


/* === 100% 완료 등 좌측상태 내부 <font> 크기도 차시제목과 동일(24px) === */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a:first-child font,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p:first-child font,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a:first-child,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p:first-child {
  font-size: 24px !important;
}


/* === 차시 우측 원형 버튼 롤오버 팝 효과 === */
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a:not(:first-child),
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p:not(:first-child),
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > a,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > p {
  transition: transform .18s ease !important;
  cursor: pointer !important;
}
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > a:not(:first-child):hover,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2) > p:not(:first-child):hover,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > a:hover,
body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) > p:hover {
  transform: scale(1.1) !important;
}


/* === 푸터: 진한 제목/로고 제외 나머지 텍스트 = 배너 부제 크기(16px) === */
#site-footer.footer,
#site-footer .footer-about p,
#site-footer .footer-links ul li,
#site-footer .footer-links ul a,
#site-footer .footer-contact p,
#site-footer .footer-contact p a,
#site-footer .copyright,
#site-footer .copyright p,
#site-footer .credits,
#site-footer .credits a { font-size: 16px !important; }


/* === 푸터 열 제목(바로가기/고객센터/통합검색) 크게 + 굵기 해제 === */
#site-footer.footer h4 { font-size: 22px !important; font-weight: 400 !important; }


/* === 푸터 맨아래 저작권/회사명 크게 + 굵기 해제 === */
#site-footer .copyright p,
#site-footer .copyright .sitename { font-size: 18px !important; }
#site-footer .copyright .sitename { font-weight: 400 !important; }


/* === 통합검색 입력창 글씨/placeholder = 대표번호 크기(16px) === */
#site-footer .footer-newsletter .newsletter-form input[type=email],
#site-footer .footer-newsletter .newsletter-form input[type=text] { font-size: 16px !important; }
#site-footer .footer-newsletter .newsletter-form input::placeholder { font-size: 16px !important; }


/* === lecture 본문 텍스트 전체 16px 기준(푸터 예금주 크기) === */
body.courses-page .main .lec-search,
body.courses-page .main .lec-search input,
body.courses-page .main .lec-search input::placeholder,
body.courses-page .main .lec-search select,
body.courses-page .main .lec-search__btn,
body.courses-page .main .lec-search__all,
body.courses-page .main .myedu-empty,
body.courses-page .main .pagination,
body.courses-page .main .pagination a,
body.courses-page .main .pagination span,
body.courses-page .main .pagination li,
body.courses-page .main .list-foot { font-size: 16px !important; }


/* === 푸터 고객센터 컬럼 폭 확대(예금주 줄바꿈 방지) + 통합검색 우측 유지 === */
#site-footer .footer-row > .footer-col:nth-child(3) { flex: 0 1 260px !important; }
#site-footer .footer-row > .footer-col:nth-child(3) ul li { white-space: nowrap !important; }
#site-footer .footer-row > .footer-col--search { flex: 0 1 350px !important; margin-left: auto !important; }
@media (max-width: 991px){
  #site-footer .footer-row > .footer-col:nth-child(3),
  #site-footer .footer-row > .footer-col--search { flex: 1 1 100% !important; margin-left: 0 !important; }
  #site-footer .footer-row > .footer-col:nth-child(3) ul li { white-space: normal !important; }
}


/* === 통합검색 안내문구 = 예금주와 동일 크기(16px) === */
#site-footer .footer-col--search > p,
#site-footer .footer-newsletter > p { font-size: 16px !important; }
#site-footer .footer-col--search > p,
#site-footer .footer-newsletter > p { white-space: nowrap !important; }



/* === index 푸터 이식: site_chrome 푸터 레이아웃/다크/검색폼 (index는 site_chrome 미로드) === */
.footer .container{ width:100%; max-width:1320px; margin:0 auto; padding:0 20px; }
.footer .footer-row{ display:flex; flex-wrap:wrap; gap:30px; }
.footer .footer-col{ min-width:0; }
.footer .footer-col--about{ flex:1 1 320px; }
.footer .footer-col--links{ flex:0 1 180px; }
.footer .footer-col--search{ flex:1 1 280px; margin-left:auto; }
.footer .copyright{ text-align:center; }
@media (max-width:768px){
  .footer .footer-row{ gap:24px; }
  .footer .footer-col--about,.footer .footer-col--links,.footer .footer-col--search{ flex:1 1 100%; margin-left:0; }
}

/* ----- 푸터 다크 테마 + 검색폼 (custom_design #footer.footer 를 .footer 로 이식) ----- */
.footer{ background:#454545 !important; }
.footer, .footer p, .footer h4, .footer a, .footer span, .footer strong, .footer .copyright, .footer .credits{ color:#fff !important; }
.footer .footer-about .logo span.sitename{ color:#fff !important; }
.footer .social-links a{ color:#fff !important; border-color:rgba(255,255,255,0.3) !important; }
.footer .footer-search-form .newsletter-form{ display:flex; background:#fff; border-radius:50px; padding:6px 8px; margin-top:14px; }
.footer .footer-search-form .newsletter-form input[type=text]{ border:0; padding:5px 14px; width:100%; flex:1 1 auto; min-width:0; background:#fff !important; color:#333 !important; font-size:15px; }
.footer .footer-search-form .newsletter-form input[type=text]:focus-visible{ outline:none; }
.footer .footer-search-form .newsletter-form input[type=submit]{ border:0; font-size:16px; padding:0 26px; margin:-7px -8px -7px 0; background:var(--accent-color); color:var(--contrast-color); border-radius:50px; flex-shrink:0; white-space:nowrap; cursor:pointer; }
.footer .footer-search-form .newsletter-form input[type=submit]:hover{ background:color-mix(in srgb, var(--accent-color), transparent 20%); }
.footer .footer-newsletter h4{ color:#fff !important; }
.footer .footer-contact span{ color:#fff !important; }

/* 푸터 로고(텍스트형) */
.footer .footer-about .logo{ display:inline-flex; align-items:center; }
.footer .footer-about .logo .sitename{ font-size:24px; font-weight:700; letter-spacing:1px; }


/* ============================================================


/* === 푸터 상단 여백 복구(.container padding:0 이 footer-top 상단패딩을 덮는 문제) === */
#site-footer .footer-top { padding-top: 60px !important; }


/* === 헤더 드롭다운(부메뉴) 항목 간격 축소 === */
.header .navmenu .dropdown ul a,
#site-header .navmenu .dropdown ul a { padding-top: 6px !important; padding-bottom: 6px !important; }


/* === 메인 about DB 콘텐츠(래핑 안된 본문 텍스트) 살짝 키움 === */
#about .about-db-text, .about-db-text { font-size: 18px !important; line-height: 1.75 !important; }
/* 제목/서브는 기존 크기 유지 */
#about .about-db-text .sec01tt, .about-db-text .sec01tt { font-size: 40px !important; }
#about .about-db-text .sec01tt1, .about-db-text .sec01tt1 { font-size: 24px !important; }


/* === 메인 카테고리 버튼 제목(사업주환급교육 등) 크게 + 굵기 해제 === */
#features .cat-btn h3,
#features .features-item h3,
.features-item.cat-btn h3 { font-size: 20px !important; font-weight: 400 !important; }


/* === 메인 카운트(게시판 숫자) 라벨 살짝 키움 === */
#counts .stats-item p, .counts .stats-item p { font-size: 18px !important; font-weight: 400 !important; }


/* === Popular Courses 카드 이미지 크기 고정(동일 높이 + cover(꽉채움·모서리라운드)) === */
#courses .course-item > a { display: block; }
#courses .course-item > a img,
#courses .course-item img.img-fluid {
  width: 100% !important;
  height: 290px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 14px 14px 0 0 !important;
}


/* === Popular Courses 강좌 제목: 굵기 해제 + 살짝 키움 === */
#courses .course-item .course-content h3,
#courses .course-item .course-content h3 a { font-size: 22px !important; font-weight: 400 !important; }


/* === Popular Courses 카테고리 태그 살짝 키움 === */
#courses .course-item .course-content .category { font-size: 16px !important; }


/* === Popular Courses 카드 롤오버 팝(떠오름+그림자+이미지 확대) === */
#courses .course-item { transition: transform .2s ease, box-shadow .2s ease !important; }
#courses .course-item > a { overflow: hidden !important; display: block !important; }
#courses .course-item > a img { transition: transform .35s ease !important; }
#courses .course-item:hover { transform: scale(1.04) !important; box-shadow: 0 14px 30px rgba(0,0,0,.14) !important; }


/* === Popular Courses 카드 둥근 테두리 === */
#courses .course-item { border-radius: 14px !important; overflow: hidden !important; }
#courses .course-item > a { border-radius: 0 !important; }


/* === 메인 헤더 드롭다운(카테고리) 그림자 제거 === */
.header .navmenu .dropdown ul,
#site-header .navmenu .dropdown ul { box-shadow: none !important; }


/* === 서브 배너(.page-title) 타이틀 크게 === */
body:has(.page-title, .sub-banner) .page-title .heading h1 { font-size: 56px !important; }


/* === 서브배너(.sub-banner) 타이틀도 lecture와 동일 크게(56px) === */
body:has(.sub-banner) .sub-banner__title { font-size: 56px !important; }


/* === 강좌정보 우측 아이콘 원에 진한 테두리(각 버튼 색상) === */
body.mypage-sub .btnarea2 .button_edu .eb-ico {
  border: 0 !important;
}


/* === 나의 강의실(my_edu) 카드 수강기간(.description) 살짝 키움 === */
body.courses-page .course-item .course-content .description { font-size: 16px !important; }


/* === 나의 강의실 카드 진도(%) 진하게 해제 === */
body.courses-page .course-item .course-content .price { font-weight: 400 !important; }


/* === 나의 강의실 탭(진행중/대기중/종료) 글씨 살짝 키움 + 굵기 해제 === */
.myedu-tabs a { font-size: 17px !important; font-weight: 400 !important; }


/* === lecture 검색 버튼 글씨 진하게 해제 === */
.lec-search__btn, .lec-search__all { font-weight: 400 !important; }


/* === 강좌정보 좌측 강좌 썸네일 === */
body.mypage-sub .edu-thumb { float: left; width: 220px; margin: 4px 30px 14px 0; }
body.mypage-sub .edu-thumb img {
  width: 100%; height: 145px; object-fit: cover;
  border-radius: 14px; display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
body.mypage-sub .myttul1, body.mypage-sub .edu-stat { clear: none !important; }
@media (max-width: 768px){
  body.mypage-sub .edu-thumb { float: none; width: 100%; margin: 0 0 16px; }
  body.mypage-sub .edu-thumb img { height: 190px; }
}


/* === [재배치] 강좌 이미지 우측 크게 + 4버튼 좌측 진행상태 아래로 === */
body.mypage-sub .edu-thumb { float: right !important; width: 360px !important; margin: 10px 0 18px 34px !important; }
body.mypage-sub .edu-thumb img { width: 100% !important; height: 360px !important; }
/* 제목/정보 우측 여백 제거 (이미지는 우측 float라 자동 회피) */
body.mypage-sub .myttul1, body.mypage-sub .edu-stat { padding-right: 0 !important; }
/* 버튼 묶음: 절대배치 해제 -> 좌측 하단(진행상태 아래) */
body.mypage-sub .btnarea2 {
  position: static !important;
  top: auto !important; right: auto !important;
  width: auto !important; max-width: none !important;
  justify-content: flex-start !important;
  clear: left !important;
  margin-top: 22px !important;
}
body.mypage-sub .btnarea2 .button_edu:last-child { margin-right: 0 !important; }


/* === [수정] 강좌 이미지를 제목 오른쪽 편에 (절대배치) === */
body.mypage-sub .myleft1 { position: relative !important; }
body.mypage-sub .edu-thumb {
  position: absolute !important;
  top: 60px !important; right: 0 !important;
  float: none !important;
  width: 580px !important;
  margin: 0 !important;
}
body.mypage-sub .myttul1,
body.mypage-sub .edu-stat,
body.mypage-sub .btnarea2 { padding-right: 612px !important; }
@media (max-width: 768px){
  body.mypage-sub .edu-thumb { position: static !important; width: 100% !important; margin: 0 0 16px !important; }
  body.mypage-sub .myttul1, body.mypage-sub .edu-stat, body.mypage-sub .btnarea2 { padding-right: 0 !important; }
}


/* === 교육내용 상세보기 펼침 제목(.eduviewtt) 크게 + 굵기 해제 === */
body.mypage-sub .myedu-card--detail p.eduviewtt { font-size: 22px !important; font-weight: 400 !important; background-position: left center !important; }


/* === 상세보기 표 제목(th) 진하게 해제 + 크게 === */
body.mypage-sub .myedu-card--detail th { font-weight: 400 !important; font-size: 20px !important; }


/* === 상세보기 표 줄간격(셀 상하여백) 넓게 === */
body.mypage-sub .myedu-card--detail table td,
body.mypage-sub .myedu-card--detail table th { padding-top: 20px !important; padding-bottom: 20px !important; line-height: 1.7 !important; }


/* === 상세보기 표 내부 글씨 약간 흐리게 === */
body.mypage-sub .myedu-card--detail table td,
body.mypage-sub .myedu-card--detail table th { color: #777 !important; }


/* === 상세보기 표 왼쪽 제목칸 등 모든 셀 진하게 해제 === */
body.mypage-sub .myedu-card--detail table td,
body.mypage-sub .myedu-card--detail table th,
body.mypage-sub .myedu-card--detail table td *,
body.mypage-sub .myedu-card--detail table th * { font-weight: 400 !important; }


/* === 강좌정보 수강정보(수강기간/첨삭강사 등) 글꼴 크게 === */
body.mypage-sub .edu-stat__chip,
body.mypage-sub .edu-stat__chip .lbl,
body.mypage-sub .edu-stat__chip .val { font-size: 20px !important; }


/* === my_edu_view 배너도 lecture처럼 wipe + 슬라이딩 등장 === */
@keyframes subBannerWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
body:has(.sub-banner) .sub-banner { animation: subBannerWipe 0.9s cubic-bezier(0.22,0.61,0.36,1) backwards !important; }
body:has(.sub-banner) .sub-banner__head { animation: bannerSlideIn 0.9s cubic-bezier(.2,.7,.2,1) both !important; }
body:has(.sub-banner) .sub-banner__nav { animation: bannerSlideIn 0.9s cubic-bezier(.2,.7,.2,1) 0.12s both !important; }


/* === my_edu.php(탭 배너) 높이를 my_edu_view와 일치: 탭 간격/하단패딩 축소 === */
body .page-title .myedu-tabs { margin-top: 52px !important; }
body:has(.page-title) .page-title:has(.myedu-tabs) .heading { padding-bottom: 48px !important; }


/* === Open AI(bi-robot) 버튼만 그린 배경 === */
body.mypage-sub .btnarea2 .button_edu:has(.bi-robot) .eb-ico { background: var(--accent-color) !important; color: #fff !important; }
body.mypage-sub .btnarea2 .button_edu:has(.bi-robot):hover .eb-ico { background: color-mix(in srgb, var(--accent-color), black 12%) !important; }


/* === 수강정보 항목 줄간격 축소 === */
body.mypage-sub .edu-stat__chip { padding: 1px 0 !important; line-height: 1.4 !important; }


/* === 모바일에서 푸터 바로가기/고객센터/통합검색 숨김 === */
@media (max-width: 768px){
  #site-footer .footer-col--links,
  #site-footer .footer-col--search,
  #site-footer .copyright { display: none !important; }
}


/* === 모바일: 스크롤 전에도 scrolled 상태 로고로 즉시 교체 === */
@media (max-width:768px){
  body.index-page:not(.scrolled) #header .logo img.logo-main { display: none !important; }
  body.index-page:not(.scrolled) #header .logo img.logo-scrolled { display: inline-block !important; }
  body.index-page:not(.scrolled) .header .navmenu>ul>li>a { color: var(--default-color) !important; text-shadow: none !important; }
}


/* === 모바일: 서브페이지 헤더도 즉시 scrolled 상태(흰 배경+옆 로고+어두운 메뉴) === */
@media (max-width:768px){
  body:has(.page-title, .sub-banner):not(.scrolled) #site-header.header {
    background: #ffffff !important;
    box-shadow: 0 0 18px rgba(0,0,0,0.1) !important;
  }
  body:has(.page-title, .sub-banner):not(.scrolled) #site-header .navmenu > ul > li > a,
  body:has(.page-title, .sub-banner):not(.scrolled) #site-header .navmenu > ul > li > a:focus {
    color: var(--default-color) !important;
  }
  body:has(.page-title, .sub-banner):not(.scrolled) #site-header .logo img.logo-main { display: none !important; }
  body:has(.page-title, .sub-banner):not(.scrolled) #site-header .logo img.logo-scrolled { display: inline-block !important; }
}


/* === 모바일: 배너 제목/부제 숨김 === */
@media (max-width:768px){
  body:has(.page-title, .sub-banner) .page-title .heading h1,
  body:has(.page-title, .sub-banner) .page-title .heading p,
  body:has(.sub-banner) .sub-banner__title,
  body:has(.sub-banner) .sub-banner__sub { display: none !important; }
}




/* === 모바일/좁은 화면에서만 과정 카드 가운데 정렬 === */
@media (max-width: 991px){
  body.index-page #courses .row.cat-group,
  body.courses-page #courses .row.gy-4 { justify-content: center !important; }
}


/* === 모바일: 로고 왼쪽 여백 축소 === */
@media (max-width: 991px){
  #header, #site-header { padding-left: 0 !important; }
  #header > div, #site-header .header-inner,
  #header .container, #header .container-fluid, #header .container-xl { padding-left: 0 !important; margin-left: 0 !important; }
  .header .logo, #header .logo, #site-header .logo, .header .logo a { margin-left: 0 !important; padding-left: 0 !important; }
  .header .logo img, #header .logo img, #site-header .logo img { margin-left: -10px !important; max-height: 84px !important; width: auto !important; }
}


/* === 모바일: 헤더 우측(로그인/햄버거) 여백 축소 === */
@media (max-width: 991px){
  #header > div, #site-header .header-inner { padding-right: 6px !important; }
  #header .btn-getstarted, #site-header .btn-getstarted { margin-right: 0 !important; padding-left: 12px !important; padding-right: 12px !important; }
  .header .mobile-nav-toggle, #header .mobile-nav-toggle { margin-right: 0 !important; padding-right: 0 !important; margin-left: 6px !important; }
}


/* === 모바일: 차시 행 오른쪽 버튼 줄바꿈(다음 줄로) === */
@media (max-width: 768px){
  body.mypage-sub .myedu-card--course .mylect > ul { flex-wrap: wrap !important; justify-content: center !important; }
  body.mypage-sub .myedu-card--course .mylect > ul > li:first-child { flex: 1 1 100% !important; }
  body.mypage-sub .myedu-card--course .mylect > ul > li:first-child { text-align: center !important; }
  body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(2),
  body.mypage-sub .myedu-card--course .mylect > ul > li:nth-child(3) { justify-content: center !important; margin-top: 6px !important; }
}


/* === 모바일: 강좌명 [일반과정](lec-type)도 함께 폰트 축소 === */
@media (max-width: 768px){
  body.mypage-sub .myttul1 ul li.myttul1-name .lec-type { font-size: 28px !important; }
}


/* === 과정토론 모달 === */
.debate-modal{ position:fixed; inset:0; z-index:3000; display:none; }
.debate-modal.on{ display:block; }
.debate-modal__dim{ position:absolute; inset:0; background:rgba(0,0,0,.5); }
.debate-modal__box{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:820px; max-width:94%; height:720px; max-height:90vh; background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.35); }
.debate-modal__close{ position:absolute; top:8px; right:10px; z-index:2; width:34px; height:34px; border:0; border-radius:8px; background:rgba(0,0,0,.5); color:#fff; font-size:22px; line-height:1; cursor:pointer; }
#debate-modal-frame{ width:100%; height:100%; border:0; display:block; }
@media (max-width:768px){ .debate-modal__box{ width:96%; height:86vh; } }


/* === lecture 과정보기/수강신청 버튼: 글씨 키움+굵기해제, 수강신청 블루 === */
#courses .course-item .lec-btn { font-size: 16px !important; font-weight: 400 !important; }
#courses .course-item .lec-btn--reg { background: var(--accent-color) !important; color: #fff !important; }
#courses .course-item .lec-btn--reg:hover { background: color-mix(in srgb, var(--accent-color), transparent 15%) !important; }


/* === lecture 카드: 카테고리 배경 제거+녹색 글씨, 우측 차시(price) 숨김 === */
#courses .course-item:has(.lec-btns) .course-content .category { display: none !important; }
#courses .course-item:has(.lec-btns) .course-content .price { display: none !important; }


/* === 메인 카테고리 버튼 행 왼쪽 정렬(Popular Courses 방식) === */
body.index-page #cat-buttons { justify-content: flex-start !important; }


/* === 모바일: 강좌정보 4개 아이콘 버튼 축소해 한 줄 === */
@media (max-width: 768px){
  body.mypage-sub .btnarea2 { flex-wrap: nowrap !important; gap: 6px !important; justify-content: center !important; }
  body.mypage-sub .btnarea2 .button_edu { width: auto !important; flex: 1 1 0 !important; min-width: 0 !important; padding: 8px 2px !important; gap: 8px !important; }
  body.mypage-sub .btnarea2 .button_edu .eb-ico { width: 52px !important; height: 52px !important; font-size: 22px !important; }
  body.mypage-sub .btnarea2 .button_edu .eb-txt { font-size: 12px !important; min-height: auto !important; }
}


/* === 모바일: 수강정보 글씨 축소 === */
@media (max-width: 768px){
  body.mypage-sub .edu-stat__chip,
  body.mypage-sub .edu-stat__chip .lbl,
  body.mypage-sub .edu-stat__chip .val { font-size: 15px !important; }
}


/* === 검색결과 페이지 글씨 확대 === */
body.search-page #pageCont { font-size: 16px !important; }
body.search-page .searchtotal { font-size: 24px !important; }
body.search-page .searchtotal span { font-size: 24px !important; }
body.search-page .searchcon .searchsubt { font-size: 24px !important; font-weight: 400 !important; }
body.search-page .searchcon .searchsubj,
body.search-page .searchcon .searchsubj a { font-size: 18px !important; }
body.search-page #pageCont li,
body.search-page #pageCont p,
body.search-page #pageCont a { font-size: 16px; }



/* === 검색 페이지 배너 영역 크게 === */
body.search-page .sub-banner__head { padding-top: 200px !important; padding-bottom: 110px !important; }





/* === 나의 강의실 하단 퀵링크(교육원소개/학습지원센터) - 그린 바 헤더메뉴 형식 === */
.mypage-quicklinks { background: var(--accent-color); }
.mypage-quicklinks__inner { width: 100%; max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: flex-start; gap: 6px 30px; padding: 16px 20px !important; flex-wrap: wrap; box-sizing: border-box; min-height: 58px; }
.mypage-quicklink { color: #fff !important; font-size: 18px !important; font-weight: 500 !important; line-height: 1.6 !important; text-decoration: none !important; padding: 6px 4px !important; transition: color .15s, opacity .15s; }
.mypage-quicklink:hover { color: #fff; opacity: 0.82; }


/* === 하단 퀵링크 서브메뉴(위로 열림) === */
.mypage-quicklinks__inner .mypage-ql { position: relative; }
.mypage-ql-sub {
  position: absolute; left: 0; bottom: 100%;
  min-width: 210px; margin: 0 0 18px; padding: 8px 0; list-style: none;
  background: #fff; border-radius: 10px; box-shadow: 0 -8px 26px rgba(0,0,0,0.16);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 40;
}
.mypage-ql:hover .mypage-ql-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.mypage-ql-sub li { list-style: none; }
.mypage-ql-sub li a { display: block; padding: 6px 22px; color: #444; font-size: 17px; font-weight: 400; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.mypage-ql-sub li a:hover { background: #f3f7f4; color: var(--accent-color); }


/* === 푸터 소셜 아이콘 4개 숨김 === */
#site-footer .social-links { display: none !important; }
#site-footer .credits { display: none !important; }


/* === 카피라이트 아래 공백 축소 === */
#site-footer.footer { padding-bottom: 22px !important; }
#site-footer .copyright { margin-top: 14px !important; margin-bottom: 0 !important; }


/* === 메인 상단 바(운영시간/기술문의/이메일) - 스크롤 시 사라짐 === */
.site-topbar { background: #f5f6f8; border-bottom: 1px solid #eaecef; overflow: hidden; height: 46px; max-height: 46px; transition: max-height .3s ease, opacity .3s ease, height .3s ease; position: relative; z-index: 990; }
.site-topbar__inner { height: 46px; display: flex; gap: 26px; flex-wrap: nowrap; justify-content: flex-start; align-items: center; }
.site-topbar .container-xl { max-width: 100% !important; padding-left: 44px !important; padding-right: 24px !important; }
.site-topbar__item { color: #6b7178; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; line-height: 1.4; }
.site-topbar__item i { color: var(--accent-color); font-size: 15px; }
a.site-topbar__item:hover { color: var(--accent-color); }
body.index-page.scrolled .site-topbar { height: 0; max-height: 0; opacity: 0; border-bottom-color: transparent; }
@media (max-width: 991px){ .site-topbar { display: none; } }


/* === 메인 헤더를 툴바 아래로(데스크톱, 스크롤 전) === */
@media (min-width: 992px){
  body.index-page:not(.scrolled) .header { top: 46px !important; }
  body.index-page.scrolled .header { top: 0 !important; }
}

.site-topbar__dot { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--accent-color); vertical-align:middle; }


/* === 푸터 통합검색 컬럼 숨김 === */
#site-footer .footer-col--search { display: none !important; }


/* === 푸터 바로가기 컬럼 숨김 (nth-child(2)) === */
#site-footer .footer-row > .footer-col--links:nth-child(2) { display: none !important; }


/* === 푸터 고객센터: 제목·대표번호 숨김 === */
#site-footer .footer-row > .footer-col:nth-child(3) h4 { visibility: hidden !important; }
#site-footer .footer-row > .footer-col:nth-child(3) ul li:first-child { display: none !important; }


/* === 푸터 고객센터 각 줄 앞 녹색 점 === */
#site-footer .footer-row > .footer-col:nth-child(3) ul li { position: relative; padding-left: 16px; }
#site-footer .footer-row > .footer-col:nth-child(3) ul li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--accent-color); }


/* === 푸터 고객센터 줄간격 좁힘 === */
#site-footer .footer-row > .footer-col:nth-child(3) ul li { padding: 2px 0 2px 16px !important; margin: 0 0 4px !important; line-height: 1.6 !important; }


/* === 나의 강의실: 과정명 [카테고리] 녹색 박스(제목 위) === */
.course-item .myedu-cat-box { display: inline-block; background: var(--accent-color); color: #fff; font-size: 13px; font-weight: 500; padding: 3px 11px; border-radius: 6px; margin-bottom: 8px; line-height: 1.5; letter-spacing: -0.2px; }



/* === '이미 신청하신 강의입니다' 모달: 연한 그린 + 흰색, X아이콘 제거, 글씨 확대 === */
.swal-apply-green.swal2-popup { background: #57bd82 !important; padding-top: 44px !important; padding-bottom: 44px !important; }
.swal-apply-green .swal2-icon { display: none !important; }
.swal-apply-green .swal2-close { display: none !important; }
.swal-apply-green .swal2-title { color: #ffffff !important; font-size: 26px !important; font-weight: 600 !important; }
.swal-apply-green .swal2-html-container { color: #ffffff !important; font-size: 18px !important; }
.swal-apply-green .swal2-confirm.swal2-styled { background: #ffffff !important; color: #3a9c62 !important; box-shadow: none !important; font-size: 17px !important; }
/* 흰 배경 + 초록 글씨 (지금은 교육 기간이 아닙니다 등) */
.swal-apply-greentext.swal2-popup { background: #ffffff !important; padding-top: 44px !important; padding-bottom: 44px !important; border:1px solid #cfe8da !important; }
.swal-apply-greentext .swal2-icon { display: none !important; }
.swal-apply-greentext .swal2-close { display: none !important; }
.swal-apply-greentext .swal2-title { color: #3a9c62 !important; font-size: 26px !important; font-weight: 600 !important; }
.swal-apply-greentext .swal2-html-container { color: #3a9c62 !important; font-size: 18px !important; }
.swal-apply-greentext .swal2-confirm.swal2-styled { background: #ffffff !important; color: #3a9c62 !important; border:1px solid #3a9c62 !important; box-shadow: none !important; font-size: 17px !important; }


/* === 본사 문의 모달(.applitt): 그린 밴드 좌우 끝까지 + 흰 글씨 === */
.applitt {
  background: #57bd82 !important;
  color: #ffffff !important;
  width: calc(100% + 11.2%) !important;
  margin-left: -5.6% !important;
  margin-right: -5.6% !important;
  box-sizing: border-box !important;
  border: 0 !important;
}


/* === 수강신청/본사문의 팝업 확대 + 오른쪽 텍스트 확대 === */
#popup_wrap { width: 960px !important; left: 50% !important; top: 50% !important; margin: 0 !important; transform: translate(-50%, -50%) !important; border-radius: 18px !important; overflow: hidden !important; }
#popup_wrap .appli ul li:first-child { width: 56% !important; }
#popup_wrap .appli ul li:last-child { width: 44% !important; }
#popup_wrap .appli .edutt1 { font-size: 19px !important; text-align: left !important; }
#popup_wrap .appli .edutt3 { font-size: 27px !important; line-height: 35px !important; font-weight: 400 !important; text-align: left !important; }
#popup_wrap .appli .edutt4 { font-size: 17px !important; text-align: left !important; }


/* === 본사문의 모달: 취소 버튼 영역까지 그린 박스(좌우 끝까지) === */
.applitt-box {
  background: #57bd82 !important;
  width: calc(100% + 11.2%);
  margin-left: -5.6%;
  margin-right: -5.6%;
  box-sizing: border-box;
  padding: 44px 20px 48px;
  text-align: center;
  float: left;
}
.applitt-box .applitt {
  background: transparent !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 26px !important;
}
.applitt-box .button_edu2, .applitt-box .button_edu3 {
  background: #ffffff !important;
  color: #3a9c62 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 11px 34px !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  display: inline-block !important;
  margin: 0 6px !important;
}


/* === 수강신청 팝업 내부 컨테이너 폭 확대(그림 좌측 여백 축소) === */
#popup_wrap .popup-cont01 { width: 95% !important; }


/* === 수강신청 확인 다이얼로그(#applitt~#applitt4): 본사문의와 동일 그린 박스 === */
#applitt, #applitt2, #applitt3, #applitt4 {
  background: #57bd82 !important;
  width: calc(100% + 11.2%) !important;
  margin-left: -5.6% !important;
  margin-right: -5.6% !important;
  box-sizing: border-box !important;
  padding: 44px 20px 48px !important;
  text-align: center !important;
  float: left !important;
}
#applitt .applitt, #applitt2 .applitt, #applitt3 .applitt, #applitt4 .applitt {
  background: transparent !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 26px !important;
}
#applitt .button_edu2, #applitt .button_edu3,
#applitt2 .button_edu2, #applitt2 .button_edu3,
#applitt3 .button_edu2, #applitt3 .button_edu3,
#applitt4 .button_edu2, #applitt4 .button_edu3 {
  background: #ffffff !important;
  color: #3a9c62 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 11px 34px !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  display: inline-block !important;
  margin: 0 6px !important;
}


/* === 수강신청 팝업: 수강일 등 셀렉트 인라인(라벨 오른쪽) === */
#popup_wrap .edutt4 select.form-control, #popup_wrap .edutt4 .input-control { display: inline-block !important; width: 220px !important; min-width: 220px !important; max-width: 220px !important; vertical-align: middle; box-sizing: border-box; }
/* 수강일 셀렉트만 넓게 */
#popup_wrap .edutt4 select#p_edu_study_st_dt.form-control { width: 300px !important; min-width: 300px !important; max-width: 300px !important; }

/* === 최종 할인가: 좌측 정렬 + 글씨 확대 === */
.price-final { display: block !important; text-align: left !important; font-size: 18px !important; line-height: 1.7 !important; margin: 6px 0 !important; }
.price-final #fprice { font-size: 21px !important; font-weight: 700 !important; }


/* === 최종 할인가(#reg_study_edu_lecture_subinfo3 = .edutt2): 좌측정렬 + 확대 === */
#popup_wrap .appli .edutt2, #popup_wrap #reg_study_edu_lecture_subinfo3 { text-align: left !important; font-size: 20px !important; height: auto !important; font-weight: 400 !important; color: #3a9c62 !important; }


/* === 수강신청 팝업 금액(#fprice) 붉은 글씨 -> 녹색 === */
#popup_wrap #fprice { color: #3a9c62 !important; }


/* === 동의서 문구 확대 + 동의함/동의안함 라디오 정렬 수정 === */
#popup_wrap .policy-guide p { font-size: 17px !important; line-height: 1.6 !important; }
#popup_wrap .policy-guide .form-check { padding-left: 0 !important; display: block !important; }
#popup_wrap .policy-guide .form-check-input { position: static !important; float: none !important; margin: 0 6px 0 0 !important; vertical-align: middle !important; }
#popup_wrap .policy-guide .form-check-label { display: inline-block !important; margin: 0 26px 0 0 !important; vertical-align: middle !important; font-size: 20px !important; line-height: 1.4 !important; }


/* === 동의서 텍스트박스(스크롤) 내용 글씨 = 상기내용(17px)과 동일 === */
#popup_wrap .payment-box [style*="overflow:scroll"] { font-size: 17px !important; }
#popup_wrap .payment-box [style*="overflow:scroll"] * { font-size: 17px !important; line-height: 1.6 !important; }




/* === 학습요점 탭 아코디언(파란 제목 클릭 토글) === */
#edu_right_tab1 .lect_con .subj2 { cursor: default; }
#edu_right_tab1 .lect_con .subj2.has-content { cursor: pointer; }


/* === 학습요점 아코디언 +/- (내용 있는 제목 오른쪽) === */
#edu_right_tab1 .lect_con .subj2 .subj2-arrow { float: right; font-size: 20px; line-height: 1.2; font-weight: bold; margin-right: 4px; }
#edu_right_tab1 .lect_con .subj2 .subj2-arrow::before { content: "+"; }
#edu_right_tab1 .lect_con .subj2.open .subj2-arrow::before { content: "-"; }


/* === 아이디/비번찾기 ID SEARCH·PW SEARCH 박스: 녹색 배경 + 흰 글씨 === */
.title_area { background: var(--accent-color) !important; color: #ffffff !important; font-size: 30px !important; }


/* === 아이디/비번찾기 외부 박스(login_frm) 녹색 배경 + 라벨 흰색 === */
body.search-page .member_login_new .login_frm { background: var(--accent-color) !important; border-color: var(--accent-color) !important; }
body.search-page .member_login_new .login_frm dt,
body.search-page .member_login_new .login_frm dd,
body.search-page .member_login_new .login_frm label,
body.search-page .member_login_new .login_frm p { color: #ffffff !important; }


/* === 아이디/비번찾기 버튼: 흰 배경 + 그린 글씨 === */
body.search-page .member_login_new .login_btn input[type=submit],
body.search-page .member_login_new .login_btn input[type=button] { background-color: #ffffff !important; color: var(--accent-color) !important; font-weight: 700 !important; }


/* === 아이디/비번찾기 선택된 탭: 그린 배경 + 흰 글씨 === */
body.search-page #m_board .tabs .active a { background: #adb5bd !important; color: #ffffff !important; font-weight: 700 !important; border: 0 !important; }


/* === 아이디/비번찾기 박스 라운드 === */
body.search-page .member_login_new .login_frm { border-radius: 16px !important; }
body.search-page .title_area { border-radius: 10px !important; }





/* === 비번찾기 인증버튼: 휴대폰(okButton) 흰/그린, 아이핀(okButton_1) 그레이/흰 === */
body.mypage-sub:not(.search-page) .okButton { background: var(--accent-color) !important; color: #ffffff !important; border: 0 !important; }
body.search-page .okButton { background: #ffffff !important; color: var(--accent-color) !important; border: 1px solid var(--accent-color) !important; }
body.mypage-sub:not(.search-page) .okButton i { color: #ffffff !important; }
body.search-page .okButton i { color: var(--accent-color) !important; }
body.mypage-sub .okButton_1 { background: #adb5bd !important; color: #ffffff !important; border: 0 !important; }
body.mypage-sub .okButton_1 i { color: #ffffff !important; }


/* === 아이디/비번찾기 바탕 배경 살짝 그레이 === */
body.search-page #content, body.search-page #sCont, body.search-page #pageCont { background: #f2f3f5 !important; }


/* === 회원가입 스텝 선택(약관동의): 붉은테두리 제거 + 그린 배경 + 흰 글씨 === */
body.mypage-sub .join-step-wrap li.on { border: 0 !important; background: var(--accent-color) !important; color: #ffffff !important; }


/* === 회원가입 이용약관 제목(memtt) 그린 === */
body.mypage-sub .memtt, body.mypage-sub .memtt span { color: var(--accent-color) !important; }




/* === 결제하기(btnst02 그린)/수강취소(btnst03 그레이) 버튼 전역 크게 === */
.btnst02 { background: var(--accent-color) !important; padding: 11px 26px !important; font-size: 16px !important; border-radius: 4px !important; }
.btnst03.mobileshow { background: #6c757d !important; padding: 11px 26px !important; font-size: 16px !important; border-radius: 4px !important; }


/* === 그린 알럿 넓은 창(긴 내용용) === */
.swal-apply-wide.swal2-popup { width: 46em !important; max-width: 92% !important; }

/* === 서브배너와 본문 사이 간격 === */
body:has(.sub-banner) .sub-banner { margin-bottom: 40px !important; }

/* === lecture_list 과정명: 한 줄 초과 시 ...로 한 줄 말줄임 === */
body.courses-page #courses .course-item .course-content h3,
body.index-page #courses .course-item .course-content h3 {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.courses-page #courses .course-item .course-content h3 a,
body.index-page #courses .course-item .course-content h3 a {
  display: inline !important;
}
