/* 메인 합격수기 슬라이더 (mukoom 스타일) */

.section_pass_bg .main-title-text {
	text-align: center;
	font-size: 35px;
	font-weight: 800;
	color: #333333;
	line-height: 1.5;
	padding-top: 40px !important;
	padding-bottom: 30px !important;
}
.section_pass_bg .main-subtitle-text {
	text-align: center;
	font-size: 16px;
	color: #6a7481;
	margin-top: -24px;
	margin-bottom: 36px;
}

.pass-more-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}
.review-swiper-nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.review-swiper-nav__btn {
	width: 34px;
	height: 28px;
	border: 1px solid #d5dbe6;
	border-radius: 10px;
	background: #fff;
	color: #475569;
	font-size: 16px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.review-swiper-nav__icon { display: inline-block; }
.review-swiper-nav__btn:hover { border-color: #94a3b8; color: #1e293b; }
.review-swiper-nav__btn.swiper-button-disabled { opacity: .35; cursor: default; }
.section_pass_bg--fx .review-swiper-nav__btn--prev:hover:not(.swiper-button-disabled) .review-swiper-nav__icon {
	animation: reviewNavPokeLeft .5s ease-in-out infinite;
}
.section_pass_bg--fx .review-swiper-nav__btn--next:hover:not(.swiper-button-disabled) .review-swiper-nav__icon {
	animation: reviewNavPokeRight .5s ease-in-out infinite;
}
@keyframes reviewNavPokeLeft {
	0% { transform: translateX(0); }
	50% { transform: translateX(-3px); }
	100% { transform: translateX(0); }
}
@keyframes reviewNavPokeRight {
	0% { transform: translateX(0); }
	50% { transform: translateX(3px); }
	100% { transform: translateX(0); }
}
.section_pass_bg--fx .review-slider-wrap { position: relative; margin-bottom: 0; }
.section_pass_bg--fx .swiper-review-pass { padding-bottom: 0; }
.section_pass_bg--fx .review-swiper-nav {
	position: static;
	display: flex;
	justify-content: center;
	width: fit-content;
	margin: 10px auto 0;
	transform: none;
	z-index: 30;
}
.section_pass_bg--fx .review-swiper-pagination { display: none !important; }

.section_bg.section_pass_bg {
	background: #fff url('/files/images/main/bg_main3.png') no-repeat center -312px;
	background-size: cover;
	overflow: visible;
}
.section_bg.section_pass_bg.section_pass_bg--fx {
	margin-bottom: 0;
	padding-bottom: 40px;
}
.section_pass_bg .pass-title-row {
    position: relative;
}
.section_pass_bg .section-best-subject {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-bottom: 80px;
}
.section_pass_bg .pass-more-row {
    max-width: 1100px;
    padding: 0;
    box-sizing: border-box;
    text-align: right;
    margin: -6px auto 10px;
}
.section_pass_bg .pass-more-link {
    display: inline-block;
    font-size: 14px;
    color: #6a7481;
    text-decoration: none;
    font-weight: 600;
    /* padding: 6px 0; */
    position: absolute;
    top: -23px;
    right: 0;
}
.section_pass_bg .pass-more-link:hover {
    color: #333;
}

/* 메인 합격수기 섹션 배경 */
.section_pass_bg {
    /* background: url('/files/images/main/section_bg.jpg') no-repeat center -471px;  */
    background-size: cover;
    box-sizing: border-box;
    overflow-x: clip;
}
@media (max-width: 1024px) {
    .section_pass_bg {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 768px) {
    .section_pass_bg .pass-more-row {
        padding: 0 14px;
    }
    .section_pass_bg .pass-more-link {
        font-size: 13px;
        margin-right: 20px;
    }
    .section_pass_bg {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: -60px;
    }
    .section_pass_bg--fx .section-best-subject {
        margin-bottom: -110px;
    }
    .section_pass_bg .review-slider-wrap {
        padding: 0 12px;
    }
    .section_pass_bg .review-slider-wrap .bx-wrapper .bx-prev {
        left: 4px !important;
    }
    .section_pass_bg .review-slider-wrap .bx-wrapper .bx-next {
        right: 4px !important;
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .section_pass_bg .pass-more-row {
        padding: 0 78px 0 24px;
    }
    .section_pass_bg .review-slider-wrap .bx-wrapper .bx-prev {
        left: 6px !important;
    }
    .section_pass_bg .review-slider-wrap .bx-wrapper .bx-next {
        right: 6px !important;
    }
}
.review-slider-wrap {
    max-width: 1100px;
    margin: 0 auto 70px;
}

.review-slider li {
    list-style: none;
    padding-top: 10px;
}

.review-card {
    border: 1px solid #e3e6ea;
    /* border-top: 3px solid #efd9cb; */
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    padding: 24px 28px 15px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 1px 3px 4px 0px rgba(0, 0, 0, 0.1);

}
.review-card-link,
.classDetailTopReview .review-card {
    cursor: pointer;
}
.review-card-link:hover .review-card,
.classDetailTopReview .review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 14px rgb(0 0 0 / 0.06);
}

.review-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
    position: relative;
}
.review-card-head::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -18px;
    width: 64px;
    height: 32px;
    background: url('/files/images/main/medal.png') no-repeat right 0;
    background-size: contain;
    z-index: 3;
    pointer-events: none;
}
.review-best {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffecef;
    color: #ef5350;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.review-card h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #1c1c1c;
    margin-bottom: 12px;
    height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.review-card p {
    font-size: 16px;
    line-height: 1.4;
    color: #5a5a5a;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-bottom: 22px;
    height: auto;
    max-height: calc(1.4em * 4);
    word-break: break-word;
    white-space: normal;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-top: none;
    padding: 14px 0 5px 0;
}
.review-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(227, 230, 234, 0) 0%,
        #e3e6ea 18%,
        #173481 50%,
        #e3e6ea 82%,
        rgba(227, 230, 234, 0) 100%
    );
}

/* 메인 후기 카드(modern) */
.review-card-link:has(.review-card--modern) {
    display: flex;
    height: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}
.review-card--modern {
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 22px 22px 10px;
    border: 1px solid #e8ebf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transform: none;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.review-card--modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #173481 0%, #4f63d8 28%, #9b4bb7 62%, #f59e42 100%);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
    z-index: 2;
}
.review-card--modern::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 78px;
    background: linear-gradient(
        180deg,
        rgba(23, 52, 129, 0.1) 0%,
        rgba(79, 99, 216, 0.06) 42%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 0;
}
.review-card--modern > * {
    position: relative;
    z-index: 1;
}
.review-card-link:hover .review-card--modern,
.classDetailTopReview .review-card--modern:hover {
    transform: none;
    border-color: #d5deef;
    box-shadow: 0 4px 16px rgba(23, 52, 129, 0.1);
}
.review-card-link:hover .review-card--modern::before,
.classDetailTopReview .review-card--modern:hover::before {
    opacity: 1;
    transform: scaleX(1);
}
.review-card-link:hover .review-card--modern::after,
.classDetailTopReview .review-card--modern:hover::after {
    opacity: 1;
}
.review-card--modern .review-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    min-height: 28px;
}
.review-card--modern .review-card-head::after {
    display: none;
}
.review-card--modern .review-card-head__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.review-card--modern .review-card-badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f3f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.review-card--modern .medal-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fffcf7;
    border: 1px solid #f3ebda;
    box-sizing: border-box;
}
.review-card--modern .medal-badge__icon {
    display: block;
    width: 19px;
    height: 19px;
}
.review-card--modern h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #586073;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    box-sizing: border-box;
}
.review-card--modern p {
    flex: 0 1 auto;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #64748b;
    min-height: calc(1.4em * 4);
    max-height: calc(1.4em * 4);
}
.review-card--modern .review-footer {
    margin-top: 18px;
    padding: 14px 0 0;
}
.review-card--modern .review-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    margin-right: 8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 48%),
        radial-gradient(circle at 72% 78%, #0f2558 0%, transparent 58%),
        linear-gradient(145deg, #5b8dff 0%, #2f5fc8 42%, #173481 72%, #102456 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
.review-card--modern .review-card-date {
    font-size: 12px;
    color: #9ca3af;
}

.review-user {
    display: flex;
    align-items: center;
}

.review-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.review-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
}

.review-rating {
    display: flex;
    align-items: center;
}

.star-rating {
    position: relative;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 1px;
}

.star-rating div {
    white-space: nowrap;
}

.star-bg {
    color: #ffc107;
}

.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #f9b500;
}

.review-slider-wrap .bx-wrapper {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    position: relative;
    padding: 0;
}

/* 합격수기(pass)는 가로 폭을 넓게 사용 */
.section_pass_bg .review-slider-wrap {
    max-width: 1100px;
    padding: 0;
    box-sizing: border-box;
}
.section_pass_bg--fx .review-slider-wrap {
    margin-bottom: 0;
}
.section_pass_bg--fx .section-best-subject {
    padding-bottom: 80px;
}

.section_pass_bg .review-slider-wrap .bx-wrapper {
    width: 100% !important;
    max-width: 1100px !important;
}

/* 메인 합격수기: 슬라이드 한 칸(뷰포트) 높이 — bxSlider 인라인 height 덮어씀 */
.section_pass_bg .review-slider-wrap .bx-viewport {
    height: 300px !important;
}

.review-slider-wrap .bx-wrapper .bx-prev {
    left: 0;
    z-index: 10;
}

.review-slider-wrap .bx-wrapper .bx-next {
    right: 0;
    z-index: 10;
}

/* 합격수기 화살표: 원형 배경 + 얇은 꺾쇠 */
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-controls-direction a {
    width: 46px;
    height: 46px;
    position: absolute !important;
    top: 50% !important;
    margin-top: -23px !important;
    border-radius: 50%;
    background: #d9d9d969 !important;
    opacity: 0.95;
    text-indent: -9999px;
    white-space: nowrap;
    font-size: 0;
    overflow: hidden;
    z-index: 20;
    transition: background-color 0.2s ease;
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-controls-direction a:hover {
    background: #d9d9d996 !important;
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-controls-direction a:hover::after {
    border-top-color: #555;
    border-right-color: #555;
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-prev {
    left: -22px !important;
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-next {
    right: -22px !important;
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-controls-direction a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #939393;
    border-right: 2px solid #939393;
}

.section_pass_bg .review-slider-wrap .bx-controls {
    display: block !important;
}

.section_pass_bg .review-slider-wrap .bx-pager {
    display: none !important;
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-prev::after {
    transform: translate(-35%, -50%) rotate(-135deg);
}
.section_pass_bg .review-slider-wrap .bx-wrapper .bx-next::after {
    transform: translate(-65%, -50%) rotate(45deg);
}

/* 반응형 */
@media (max-width: 991px) {
    .review-card h3 {
        font-size: 18px;
        height: 26px;
    }
    .review-card--modern h3 {
        font-size: 16px;
        height: auto;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .review-card p {
        font-size: 16px;
        line-height: 1.5;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4;
        height: auto !important;
        max-height: calc(1.5em * 4);
    }
    .section_pass_bg .review-card p {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4;
        line-height: 1.5 !important;
        height: auto !important;
        max-height: calc(1.5em * 4);
        word-break: break-word;
        white-space: normal;
    }
    .section_pass_bg .review-card--modern p {
        line-height: 1.4 !important;
        min-height: calc(1.4em * 4);
        max-height: calc(1.4em * 4);
    }
}

/* 합격수기: 슬라이드 폭 + 하단 bullet pagination */
.swiper-review-pass .swiper-slide {
	width: min(88vw, 320px);
	box-sizing: border-box;
	height: auto;
}
.review-slider-wrap .swiper-review-pass {
	padding-bottom: 4px;
}
.section_pass_bg--fx .review-slider-wrap .swiper-review-pass {
	overflow: hidden;
	padding-bottom: 0;
}
.section_pass_bg--fx .swiper-review-pass .swiper-slide {
	opacity: 1;
	transform: none;
	height: auto;
	display: flex;
	align-items: flex-start;
	min-width: 0;
}
.section_pass_bg--fx .swiper-review-pass .swiper-slide > .review-card-link {
	min-width: 0;
	width: 100%;
}
.section_pass_bg--fx .swiper-review-pass .swiper-wrapper {
	align-items: stretch;
}
.swiper-review-pass .review-swiper-pagination {
	position: static !important;
	left: auto !important;
	bottom: auto !important;
	width: 100%;
	margin-top: 18px;
	margin-bottom: 6px;
	text-align: center;
	transform: none !important;
	line-height: 1;
}
.swiper-review-pass .review-swiper-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 5px !important;
	opacity: 1;
	background: #4a4d55;
	vertical-align: middle;
	transition: transform .25s ease, opacity .25s ease, background-color .25s ease;
}
.swiper-review-pass .review-swiper-pagination .swiper-pagination-bullet-active {
	background: #0a84ff;
	transform: scale(1.05);
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination .swiper-pagination-bullet {
	width: 16px;
	height: 16px;
	margin: 0 6px !important;
	opacity: 0.45;
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	background: rgba(74, 77, 85, 0.45);
	--dot-fill: 0%;
	--dot-fill-num: 0;
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination .swiper-pagination-bullet::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--dot-fill, 0%);
	background: linear-gradient(180deg, #63c2ff 0%, #0a84ff 100%);
	transition: height 80ms linear;
	z-index: 0;
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination .swiper-pagination-bullet.is-gauge-active::after {
	content: "";
	position: absolute;
	left: -35%;
	width: 170%;
	height: 5px;
	bottom: calc(var(--dot-fill, 0%) - 2px);
	background: radial-gradient(8px 4px at 20% 50%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
		radial-gradient(8px 4px at 60% 45%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
		radial-gradient(8px 4px at 100% 55%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
	opacity: var(--dot-fill-num, 0);
	animation: reviewDotWave 1.2s linear infinite;
	pointer-events: none;
	z-index: 1;
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale(1.08);
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination.swiper-pagination-bullets-dynamic {
	position: static !important;
	left: 0 !important;
	width: 100% !important;
	transform: none !important;
	display: flex;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
	opacity: 0.82;
	transform: scale(0.95);
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev,
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
	opacity: 0.6;
	transform: scale(0.86);
}
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev,
.section_pass_bg--fx .swiper-review-pass .review-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
	opacity: 0.35;
	transform: scale(0.74);
}
@keyframes reviewDotWave {
	0% { transform: translateX(0); }
	100% { transform: translateX(18px); }
}
