/* ===== 커리큘럼 — 로드맵 카드 ===== */
.section-bg.section-bg-curriculum {
    background-image: url('/image/bg_main3.png');
}
.rdm-section {     
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.rdm-subtitle {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin: 6px 0 50px;
    letter-spacing: -0.3px;
}

/* 스텝 연결 트랙 — 카드와 동일한 4컬럼 그리드 */
.rdm-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    margin-bottom: 40px;
    margin-top: 10px;
}
/* 기본 가이드 라인 */
.rdm-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% / 8);
    right: calc(100% / 8);
    height: 1px;
    background: #ddd;
    transform: translateY(-50%);
    z-index: 0;
}

/* 도트 래퍼 */
.rdm-dot-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* 세그먼트 — 절대 위치로 각 컬럼 사이 배치 */
.rdm-seg {
    position: absolute;
    top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 1;
}
.rdm-seg:nth-child(5) { left: calc(100%/8);         width: calc(100%/4); }
.rdm-seg:nth-child(6) { left: calc(100%/8 + 100%/4); width: calc(100%/4); }
.rdm-seg:nth-child(7) { left: calc(100%/8 + 100%/2); width: calc(100%/4); }
.rdm-seg::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #dde8dd;
}
.rdm-seg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #40823a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.rdm-seg.active::after {
    transform: scaleX(1);
}

/* 도트 */
.rdm-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s ease, transform 0.3s ease;
}
.rdm-dot.active {
    background: #40823a;
    transform: scale(1.3);
}

/* 카드 그리드 */
.rdm-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.rdm-card {
    background: #fff;
    border: 1.5px solid #e8ede8;
    border-radius: 10px;
    padding: 24px 22px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rdm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    /* background: #d0e8d0; */
    background: #d0e8d0;
    transition: background 0.3s ease;
}
.rdm-card:hover,
.rdm-card.auto-active {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 28px rgba(64,130,58,0.16);
    border-color: #40823a;
    z-index: 2;
}
.rdm-card:hover::before,
.rdm-card.auto-active::before { background: #40823a; }

/* 배경 고스트 아이콘 (SVG 라인)
   ▼ 선 굵기: SVG의 stroke-width 값을 바꾸세요
      main.html 각 <svg stroke-width="0.8"> → 숫자만 변경
      0.5 = 매우 가늘게 / 1.0 = 보통 / 1.5 = 굵게 */
.rdm-ghost-icon {
    position: absolute;
    top: 27px;
    right: 14px;
    width: 40px;
    height: 40px;
    /* color: #b8d8b8; */
    color: #d3d3d3;
    pointer-events: none;
    user-select: none;
    transition: color 0.3s, transform 0.3s;
}
.rdm-card:hover .rdm-ghost-icon,
.rdm-card.auto-active .rdm-ghost-icon {
    color: #8aba8a;
    transform: scale(1.12) rotate(-6deg);
}

/* STEP 태그 */
.rdm-step-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: #b9b9b9;
    /* background: #e8f5e8; */
    /* border-radius: 20px; */
    padding: 3px 0;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
}
/* 카드 제목 */
.rdm-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

/* 카드 리스트 */
.rdm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rdm-list li {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    padding: 7px 0 7px 22px;
    border-bottom: 1px dashed #eee;
    position: relative;
    letter-spacing: -0.2px;
}
.rdm-list li:last-child { border-bottom: none; }

/* ▼ 리스트 아이콘 설정 — 아래 값만 바꾸면 됩니다
     아이콘 문자: ✓ ✔ ● ▶ → ★ 등 교체 가능 */
.rdm-list li::before {
    content: '✓';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #bbb;
    color: #fff;
    font-size: 10.2pt;
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.3s ease;
}
.rdm-card:hover .rdm-list li::before,
.rdm-card.auto-active .rdm-list li::before {
    background: #40823a;
}

/* 리스트 영역이 버튼 위 공간을 채우도록 */
.rdm-list { flex: 1; }

/* 바로가기 버튼 */
.rdm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px 0;
    border: 1.5px solid #bbb;
    border-radius: 8px;
    color: #bbb !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.3s ease;
}
.rdm-btn span {
    transition: transform 0.25s ease;
}
.rdm-card:hover .rdm-btn,
.rdm-card.auto-active .rdm-btn {
    border-color: #40823a;
    color: #40823a !important;
}
.rdm-card:hover .rdm-btn:hover,
.rdm-card.auto-active .rdm-btn:hover {
    background: #40823a;
    color: #fff !important;
}
.rdm-card:hover .rdm-btn:hover span,
.rdm-card.auto-active .rdm-btn:hover span {
    transform: translateX(4px);
}

/* 반응형 */
@media (max-width: 900px) {
    .rdm-cards { grid-template-columns: repeat(2, 1fr); }
    .rdm-track { display: none; }
    .rdm-ghost-icon {
        top: 14px;
    }
}
@media (max-width: 768px) {
    .rdm-section {
        padding: 0 18px;
        box-sizing: border-box;
    }
}
@media (max-width: 520px) {
    .rdm-cards { grid-template-columns: 1fr; }
}
/* ===================================== */

/* ===== 교재 라인업 (book_1) ===== */

/* 교재 라인업 — 제목은 박스 바깥(위) */
.book-section.rdm-section {
    background: none;
    border: none;
    padding: 0;
}
.book-section-head .main-title-text {
    padding-bottom: 40px !important;
}

/* 1100px 슬라이더 박스 — 회색 테두리, 상하 여백 동일 */
.book-section-box {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-sizing: border-box;
    padding: 24px 0;
}

/* 섹션 래퍼 — book-section-box 안에서 슬라이더·버튼 정렬 */
.book-section .book_1Wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

/* 양끝 그라데이션 페이드 오버레이 */
.book-section .book_1Wrap::before,
.book-section .book_1Wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 5;
    pointer-events: none;
}
.book-section .book_1Wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(243, 245, 248, 0.9) 10%, transparent 100%);
}
.book-section .book_1Wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(243, 245, 248, 0.9) 10%, transparent 100%);
}

/* 교재 전용 커스텀 화살표 — 1100px 박스 양끝 기준 */
.book-section .book_1Wrap .bx-wrapper {
    position: static;
    overflow: visible !important;
}
.book-section .book_1Wrap .bx-viewport {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding: 20px 0;
    box-sizing: content-box;
}
.book-section .book_1Wrap .bx-viewport .book_1 {
    overflow: visible;
}
.book-section .book_1Wrap .bx-controls-direction {
    position: static;
}
.book-section .book_1Wrap .bx-controls-direction a {
    position: absolute;
    top: calc(8px + 171px);  /* li padding(8px) + 이미지높이 절반(171px) */
    transform: translateY(-50%);
    width: 38px;
    height: 58px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(3px);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    text-indent: 0;
    font-size: 0;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    z-index: 10;
    cursor: pointer;
    margin: 0;
}
.book-section .book_1Wrap .bx-controls-direction a:hover {
    background: #fff;
    border-color: #40823a;
    box-shadow: 0 4px 14px rgba(64,130,58,0.18);
}
.book-section .book_1Wrap .bx-prev {
    left: 0 !important;
    right: auto !important;
}
.book-section .book_1Wrap .bx-next {
    right: 0 !important;
    left: auto !important;
}
.book-section .book_1Wrap .bx-prev::after,
.book-section .book_1Wrap .bx-next::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid #444;
    border-right: 1.5px solid #444;
    transition: border-color 0.2s;
}
.book-section .book_1Wrap .bx-prev::after {
    transform: rotate(-135deg) translateX(2px);
}
.book-section .book_1Wrap .bx-next::after {
    transform: rotate(45deg) translateX(-2px);
}
.book-section .book_1Wrap .bx-controls-direction a:hover::after {
    border-color: #40823a;
}

/* ===== 강의 바로가기 (courseWrap) 슬라이더 화살표 — 카드 전체 세로 중앙 ===== */
.courseWrap {
    position: relative;
}
.courseWrap .bx-wrapper {
    position: static;
    overflow: visible !important;
}
.courseWrap .bx-viewport {
    overflow: hidden !important;
}
.courseWrap .bx-controls-direction {
    position: static;
}
.courseWrap .bx-controls-direction a.course-slider-prev,
.courseWrap .bx-controls-direction a.course-slider-next {
    position: absolute;
    transform: translateY(-50%);
    margin-top: 0;
    width: 38px;
    height: 58px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.72;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(3px);
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-indent: -9999px;
    font-size: 0;
    transition: opacity 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
    z-index: 20;
    cursor: pointer;
}
.courseWrap .bx-controls-direction a.course-slider-prev:hover,
.courseWrap .bx-controls-direction a.course-slider-next:hover,
.courseWrap .bx-controls-direction a.course-slider-prev:focus-visible,
.courseWrap .bx-controls-direction a.course-slider-next:focus-visible {
    opacity: 1;
    background: #fff !important;
    border-color: #40823a;
    box-shadow: 0 4px 14px rgba(64, 130, 58, 0.18);
}
.courseWrap .course-slider-prev::after,
.courseWrap .course-slider-next::after {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border-top: 2.5px solid #2a3328;
    border-right: 2.5px solid #2a3328;
    transition: border-color 0.2s;
    text-indent: 0;
    flex-shrink: 0;
}
.courseWrap .course-slider-prev::after {
    transform: rotate(-135deg);
    margin-left: 8px;
}
.courseWrap .course-slider-next::after {
    transform: rotate(45deg);
    margin-right: 4px;
}
.courseWrap .course-slider-prev:hover::after,
.courseWrap .course-slider-next:hover::after {
    border-color: #2f6a2a;
}

/* 슬라이더 아이템 간격 */
.book_1 li {
    box-sizing: border-box;
    padding: 8px 8px 16px !important;
}

/* 카드 */
.book_1 li a {
    display: block;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    position: relative;
    border-radius: 12px;
}
.book_1 li a:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

/* 교재 라인업 — 그림자는 li에 두어 viewport 잘림 방지 */
.book-section .book_1 li {
    overflow: visible !important;
    padding: 10px 8px 18px !important;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}
.book-section .book_1 li:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}
.book-section .book_1 li a {
    box-shadow: none !important;
    transform: none !important;
}
.book-section .book_1 li a:hover {
    box-shadow: none !important;
    transform: none !important;
}

.book_1 .nb-img-in {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    /* object-fit: contain; */
    transition: transform 0.4s ease;
}
.book_1 li a:hover .nb-img-in {
    transform: scale(1.05);
}

/* 제목 — 최대 2줄 말줄임 */
.book_1 .book_tit {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    padding: 14px 2px 8px !important;
    line-height: 1.55;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: clip !important;
    word-break: keep-all;
    height: 44px;
    display: none !important;
}

/* 정가 — 취소선 (할인 있는 경우만 출력) */
.book_1 .sale-price {
    font-size: 12px !important;
    color: #ababab;
    text-decoration: line-through;
    padding: 0 0 2px !important;
    display: block;
    letter-spacing: -0.2px;
    font-weight: 400;
    display: none !important;
}

/* 판매가 */
.book_1 .book_price {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #e03535 !important;
    padding: 0 14px 18px !important;
    display: block;
    letter-spacing: -0.5px;
    display: none !important;
}

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

/* ===== 퀵 메뉴 ===== */
.section-new-subject {
    margin-top: 15px;
}
.qmenu-section {
    padding: 70px 0 75px !important;
}


/* 래퍼 */
.qmenu-wrap {
    display: flex;
    max-width: 1060px;
    margin: 0 auto;
    gap: 12px;
}

/* 아이템 — 개별 카드 */
.qmenu-item {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 16px 36px;
    text-decoration: none;
    gap: 8px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dfdfdf;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(0);
    transition: border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
}
.qmenu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #176d40, #40823a, #6bb164);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.38s ease;
    z-index: 2;
}
.qmenu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(64, 130, 58, 0.1) 0%, transparent 62%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.qmenu-item:hover,
.qmenu-item:focus-visible {
    transform: translateY(-6px);
    border-color: #40823a;
    box-shadow: 0 14px 30px rgba(23, 109, 64, 0.16);
    outline: none;
}
.qmenu-item:hover::before,
.qmenu-item:focus-visible::before {
    transform: scaleX(1);
}
.qmenu-item:hover::after,
.qmenu-item:focus-visible::after {
    opacity: 1;
}
.qmenu-item:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(23, 109, 64, 0.12);
}

/* 아이콘 — 둥근 사각형, 항상 초록 틴트 */
.qmenu-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f4f8f4;
    transition: background 0.32s ease, transform 0.32s ease, box-shadow 0.32s ease;
}
.qmenu-item:hover .qmenu-icon,
.qmenu-item:focus-visible .qmenu-icon {
    background: linear-gradient(145deg, #edf5ed 0%, #d9ead9 100%);
    transform: scale(1.06);
    box-shadow: 0 6px 14px rgba(64, 130, 58, 0.14);
}
.qmenu-icon svg {
    display: block;
    transition: transform 0.32s ease;
}
.qmenu-item:hover .qmenu-icon svg,
.qmenu-item:focus-visible .qmenu-icon svg {
    animation: qmenuIconPop 0.5s ease;
}
@keyframes qmenuIconPop {
    0% { transform: scale(1) translateY(0); }
    45% { transform: scale(1.12) translateY(-4px); }
    100% { transform: scale(1.08) translateY(-2px); }
}
.qmenu-icon svg path {
    transition: fill 0.3s ease;
}
.qmenu-item:hover .qmenu-icon svg path[fill="#999"],
.qmenu-item:focus-visible .qmenu-icon svg path[fill="#999"] {
    fill: #707070;
}
.qmenu-item:hover .qmenu-icon svg path[fill="#40823a"],
.qmenu-item:focus-visible .qmenu-icon svg path[fill="#40823a"] {
    fill: #2d6e32;
}

/* ── 아이콘 개별 사이즈 (여기서 조정) ── */
.qicon-1 { width: 60px; height: 60px; } /* 수강신청   */
.qicon-2 { width: 60px; height: 60px; } /* 교재구매   */
.qicon-3 { width: 60px; height: 60px; } /* 나의 강의실 */
.qicon-4 { width: 60px; height: 60px; } /* 열린 Class */
.qicon-5 { width: 60px; height: 58px; } /* 고객센터   */
.qmenu-icon .material-symbols-outlined {
    font-size: 65px;
    /* color: #3a7a34; */
    color: #7f7f7f;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

/* 텍스트 */
.qmenu-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qmenu-text strong {
    font-size: 18px;
    font-weight: 700;
    color: #434343;
    letter-spacing: -0.4px;
    padding: 5px 0 7px 0;
    position: relative;
    display: inline-block;
    margin-bottom: 2px;
}
.qmenu-text strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #40823a;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.qmenu-item:hover .qmenu-text strong::after,
.qmenu-item:focus-visible .qmenu-text strong::after {
    width: 100%;
}
.qmenu-item:hover .qmenu-text strong,
.qmenu-item:focus-visible .qmenu-text strong {
    color: #176d40;
}
.qmenu-text span {
    font-size: 13px;
    color: #858585;
    line-height: 1.3;
    letter-spacing: -0.1px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}
.qmenu-item:hover .qmenu-text span,
.qmenu-item:focus-visible .qmenu-text span {
    color: #5f5f5f;
    transform: translateY(1px);
}

.qmenu-arrow { display: none; }

@media (prefers-reduced-motion: reduce) {
    .qmenu-item,
    .qmenu-item::before,
    .qmenu-item::after,
    .qmenu-icon,
    .qmenu-icon svg,
    .qmenu-text span {
        transition: none;
        animation: none;
    }
    .qmenu-item:hover,
    .qmenu-item:focus-visible {
        transform: none;
    }
}

/* 강의 바로가기 — 카드·썸네일 상단 radius 통일 */
.class-section-inner .ns-ss-all {
    position: relative;
    min-height: 300px;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #c7ced9;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.class-section-inner .ns-ss-all .bs-ss-box,
.class-section-inner .ns-ss-all .bs-ss-box img {
    border-radius: 12px 12px 0 0;
}

/* 강의 바로가기 — 이미지·텍스트 영역 구분선 + 진한 녹색 빛 이동 */
.class-section-inner .ns-ss-all .bs-ss-box {
    border-bottom: none;
}
.class-section-inner .ns-ss-all .bs-ss-box::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #d8e5da;
    z-index: 2;
    pointer-events: none;
}
.class-section-inner .ns-ss-all .bs-ss-box::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(23, 109, 64, 0.12) 18%,
        rgba(30, 107, 58, 0.5) 38%,
        rgba(23, 109, 64, 0.85) 47%,
        #176d40 50%,
        rgba(23, 109, 64, 0.85) 53%,
        rgba(30, 107, 58, 0.5) 62%,
        rgba(23, 109, 64, 0.12) 82%,
        transparent 100%
    );
    transform: translateX(-100%);
    opacity: 0;
    animation: none;
    z-index: 3;
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 0.25s ease;
}
.class-section-inner .ns-ss-all:hover .bs-ss-box::after {
    opacity: 1;
    animation: classCardDividerGlow 3.6s linear infinite;
}
@keyframes classCardDividerGlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(282%);
    }
}
.class-section-inner .ns-ss-all .bs-ss-text {
    margin-top: 0;
    padding-top: 14px;
}
.class-section-inner .ns-ss-all:hover,
.class-section-inner .ns-ss-all:focus-within {
    border-color: #40823a;
    box-shadow: 0 4px 14px rgba(64, 130, 58, 0.14);
}
.class-section-inner .ns-ss-all .bs-ss-text2 {
    margin-bottom: 4px;
}

/* 강의 바로가기 — 화살표 바깥 테두리 잘림 방지 */
.section-inner.class-section-inner {
    overflow: visible;
}

/* 강의 바로가기 섹션 모바일 overflow 수정 */
@media (max-width: 768px) {
    .class-section-inner {
        overflow: visible;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .qmenu-item.qmenu-cs {
        display: none;
    }

    .qmenu-wrap {
        flex-wrap: wrap;
        gap: 10px;
        border-radius: 0;
        margin: 0 16px;
        justify-content: center;
    }
    /* 5개 → 2열 배치 (2-2-1), 마지막 1개는 가운데 정렬 */
    .qmenu-item {
        flex: 1 1 calc(50% - 5px);
        max-width: calc(50% - 5px);
        padding: 22px 12px 18px;
        gap: 6px;
    }
    .qmenu-icon { width: 60px; height: 60px; border-radius: 13px; }
    .qmenu-icon svg { width: 60px; height: 60px; }
    .qmenu-text strong { font-size: 15px; }
    .qmenu-text span { font-size: 12px; }
}
/* ==================================== */

/* ===== 이용정보 3단 게시판 ===== */
.info-board {
    display: flex;
    gap: 0;
    width: 100%;
}

/* 칼럼 */
.info-col {
    flex: 1;
    min-width: 0;
    padding: 0 50px;
    border-right: 1px solid #e8e8e8;
}
.info-col:first-child { padding-left: 0; }
.info-col:last-child  { padding-right: 0; border-right: none; }

/* 칼럼 헤더 */
.info-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 2px solid #222;
    margin-bottom: 2px;
}
.info-col-tit {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}
.info-col-more {
    font-size: 25px;
    font-weight: 400;
    color: #aaa;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s;
}
.info-col-more:hover { color: #40823a; }

/* 리스트 아이템 */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 10px 9px 20px;
    border-bottom: 1px solid #ddd;
    background: url(/files/images/main_notice_icon.jpg) no-repeat 4px 21px;
    height: 46px;
    line-height: 45px;
    padding-left: 17px;
}
.info-list li:last-child { border-bottom: 1px solid #ddd; }


.last-bottom-line {
    border-bottom: 1px solid #ddd !important;
}
.info-list li a {
    flex: 1;
    font-size: 16px;
    color: #737373;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    transition: color 0.2s;
    font-weight: 500;
    height: 26px;
    line-height: 26px;
}
.info-list li a:hover { color: #111; }

.info-date {
    font-size: 11px;
    color: #bbb;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

/* 반응형 */
@media (max-width: 768px) {
    .info-board  { flex-direction: column; gap: 32px; }
    .info-col    { padding: 0 !important; border-right: none !important; border-bottom: 1px solid #e8e8e8; padding-bottom: 28px !important; }
    .info-col:last-child { border-bottom: none; padding-bottom: 0 !important; }
}
/* ==================================== */
