
.page_header.category-custom-banner {
	height: 240px;
	background-color: #1D1D1F;
	background-image: url('/assets/frontend/default_new/images/review_top_banner.png?ver=1');
	background-position: 50% 50%;
	background-size: cover;
}

/*수강생 성공사례관 기본페이지 디자인*/
.page_header.review-default-header .desc{
	margin-top: 0;
	margin-bottom: 15px;
	font-weight: 500;
	line-height: 1.6;
}
.page_header.review-default-header .title{
	font-size: 32px;
	line-height: 1.6;
}

/* 수강생 성공사례관 상세페이지 디자인*/
.page_header.category-custom-banner.review_detail_header {
	height: 600px;
	align-items: flex-end;
	padding-bottom: 6.4rem;
	text-align: left;
}
.review_detail_header .header-badge {
	font-size: 14px;
	padding: 2px 12px 3px;
	background-color: #fff;
	color: #333236;
	border-radius: 40px;
	margin-bottom: 20px;
	display: inline-block;
	font-weight: 700;
	line-height: 1.8;
}
.notice_box .notice_content {
	border: none;
}
.notice_col .pagination {
	margin-top: 48px;
}

/* 리뷰 랜딩페이지 상단 텍스트 */
.section-title-content .title {
	font-size: 24px;
	font-weight: 700;
}
.section-title-content .sub-title {
	font-size: 48px;
	font-weight: 700;
	margin-top: 38px;
	line-height: 1.6;
}

/* 유튜브 영상 그리드 스타일 */
.section-review-vod {
	margin: 48px 0;
}
.section-review-vod ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.section-review-vod li {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 비율 */
	height: 0;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.section-review-vod iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 8px;
}

/* 수강생 후기 랜딩페이지 - 코멘트 목록 */
.review_container {
	margin-top: 68px;
}
.review_container .comment_list > li {
	margin-bottom: 20px;
	padding: 28px;
	border-radius: 8px;
	background-color: #fff9f4;
}
.review_container .comment_list .write_info {
	font-size: 0;
}
.review_container .comment_list .write_info .nickname {
	font-size: 14px;
	font-weight: bold;
	color: #000;
}
.review_container .comment_list .write_info .nickname span {
	color: #376dd5;
}
.review_container .comment_list .write_info .date {
	margin-left: 12px;
	font-size: 14px;
	color: #9c9c9c;
	vertical-align: bottom;
}
.review_container .comment_list .write_info .edit_count {
	float: right;
	font-size: 14px;
	color: #9c9c9c;
	vertical-align: bottom;
}
.review_container .comment_list .write_info .btn_reply {
	float: right;
	font-size: 14px;
	color: #9c9c9c;
	vertical-align: bottom;
	background-color: transparent;
	border: 0;
}
.review_container .comment_list .user_rating {
	margin: 4px 0 0 -4px;
	width: 120px;
	height: 24px;
	background: url("/assets/frontend/default_new/images/ico_rating_star-off.svg");
}
.review_container .comment_list .user_rating .star {
	height: 100%;
	background: url("/assets/frontend/default_new/images/ico_rating_star.svg");
}
.review_container .comment_list .comment {
	margin-top: 8px;
	line-height: 1.6;
	color: #000;
}
.review_container .comment_list_wrap .btn_more {
	background-color: #f0f4fc;
	color: #376dd5;
}
.review_container .comment_list_wrap .btn_more img {
	margin-left: 4px;
	vertical-align: text-bottom;
}
.review_container .comment_list_wrap .pagination { /*(220313) 구매 상세 페이지 페이징에 위 마진 삭제*/
	margin-top: 0;
}

/* 썸네일 디자인 */
.course_badge {
	display: block;
	cursor: pointer;
	padding: 5px 11px 7px;
	border-radius: 8px;
	border: 0 none;
	background: darkslateblue;
	color: white;
	font-size: 14px;
	margin-bottom: 10px;
}
.thumb_badge {
	position: absolute;
	top: 10px;
	right: 16px;
	padding: 5px 8px;
	font-size: 11px;
	background: #5379F3;
	color: #fff;
	border-radius: 12px;
}

/* 후기 랜딩페이지 - 영상아래 배너 */
.middle_banner {
	background-image: url("/assets/frontend/default_new/images/review_middle_banner.png?ver=1");
	background-size: cover;
	background-position: 50% 35%;
	background-repeat: no-repeat;
	height: 240px;
	position: relative;
}

.middle_banner > a {
	display: block;
	padding: 64px 180px 0;
}

.middle_banner > a > .title {
	font-size: 28px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	position: relative;
	z-index: 1;
}

.middle_banner > a > .desc {
	display: inline-block;
	margin-top: 28px;
	padding-right: 24px;
	font-size: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 80px;
	color: #fff;
	padding: 15px 50px;
}

/* 수강생 이야기 - 텍스트 박스 */
.blue-banner {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -20px;
	background-color: #5379F3;  /* 파란색 배경 */
	color: #fff;               /* 흰색 텍스트 */
	padding: 15px;
	text-align: left;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	margin-top: 10px;
}

/* 수강생 이야기  - 오른쪽 원형 화살표 */
.blue-banner::after {
	content: "➔";  /* 화살표 */
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;  /* 배경 없음 */
	color: #fff;              /* 화살표 색상 흰색 */
	border: 1px solid #fff;   /* 흰색 원 테두리 */
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.blue-banner .banner-title {
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 6px 0;
	display: -webkit-box;          /* WebKit 기반 */
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;         /* 표시할 줄 수 */
	overflow: hidden;
}

.blue-banner .banner-sub {
	font-size: 12px;
	margin: 0;
	opacity: 0.9;
	display: -webkit-box;          /* WebKit 기반 */
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;         /* 표시할 줄 수 */
	overflow: hidden;
}

/* 수강생 이야기 - 더보기 버튼 */
.btn_more {
	display: block;
	width: 250px;
	background-color: #5379F3;
	color: #fff;
	font-weight: 700;
	border: 1px solid #5379F3;
	padding: 12px 24px 16px 44px;
	border-radius: 80px;
	font-size: 16px !important;
	line-height: 16px !important;
	margin: 0 auto;
}
.btn_more:after {
	content: "";
	display: inline-block;
	height: 24px;
	width: 24px;
	margin-left: 12px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	vertical-align: sub;
	background-image: url("/assets/frontend/default_new/images/ico_plus_sm_white.svg");
	background-position-y: 2px;
}

.title {
	font-weight: bold; color: #1b2a46; font-size: 24px;line-height: 1;
}


.margin-t-md {
	margin-top: 48px;
}

.margin-t-xl {
	margin-top: 88px;
}

.notice_box {
	margin-top: 28px;
}


/* 평점 분포박스 */
.rating-summary {
	max-width: 800px;
	margin: 24px auto;
	padding: 20px 40px;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: clamp(16px, 4vw, 40px);
	align-items: start;
}
/* 왼쪽: 총점 */
.score {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}
.score-number {
	font-size: 78px;
	font-weight: 800;
	line-height: 0.9;
	color: #3a3a3a;
}
.score-stars .user_rating {
	margin: 6px 0 0 -3px;
	background: url("/assets/frontend/default_new/images/ico_rating_star-off.svg");
	width: 120px;
	height: 24px;
}
.score-stars .user_rating .star {
	height: 100%;
	background: url("/assets/frontend/default_new/images/ico_rating_star.svg");
}

.reviews {
	margin: 4px 0 0;
	font-size: clamp(14px, 2.2vw, 22px);
	color: #9a9a9a;
}

/* 오른쪽: 막대 분포 */
.dist {
	display: flex;
	flex-direction: column;
	gap: clamp(10px, 2.5vw, 18px);
}
.rating-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: center;
}
.rt {
	font-size: 24px;
	font-weight: 700;
	color: #34323f;
	position: relative;
}
.rt::after {
	content: "☆";
	color: #ffc400;
	font-size: 22px;
	position: absolute;
	left: -25px;
	top: 0.05em;
}

.bar {
	position: relative;
	height: clamp(14px, 2.2vw, 22px);
	background: #f6efe8;
	border-radius: 8px;
}
.fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--val) * 1%);
	background: linear-gradient(180deg, #ffc400, #f6b600);
	border-radius: 8px;
}
.badge {
	position: absolute;
	right: -15px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 800;
	font-size: clamp(10px, 2.2vw, 18px);
	background: #5379F3;
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 1;
}

.badge::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 8px solid #5379F3;
}
.pct {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 700;
	font-size: clamp(12px, 2.2vw, 18px);
	color: #9a9a9a;
}

.bar:focus-within,
.rating-row:focus-within {
	outline: 2px solid #cfc7ff;
	outline-offset: 2px;
}

/* 수강중인 강의 */
.course_list {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	background: #F9FAFB;
	margin-top: 48px;
	padding: 10px 30px 0;
}
.course_list .product_list .btn_favorite {
	top: -8px;
	right: -10px;
	width: 28px;
	height: 28px;
}
.btn_course_play {
	position: absolute;
	right: 50px;
	bottom: 64px;
	width: 40px;
	height: 40px;
	border: none;
	background: none;
}

@media (max-width:767px){
	.page_header.category-custom-banner {
		height: 130px;
		background-position: 50% 50%;
	}
	/* 수강생 성공사례관 기본 디자인 */
	.page_header.review-default-header .desc {
		margin-bottom: 10px;
	}
	.page_header.review-default-header .title {
		font-size: 16px;
		line-height: 1.4;
	}
	/* 수강생 성공사례관 상세페이지 디자인 */
	.page_header.category-custom-banner.review_detail_header {
		height: 400px;
		background-position: 35%;
		padding-bottom: 2.4rem;
	}

	.section-title-content .title {
		font-size: 14px;
	}
	.section-title-content .sub-title {
		font-size: 24px;
		margin-top: 28px;
	}

	/* 후기 랜딩페이지 - 영상아래 배너 */
	.middle_banner > a {
		padding: 74px 64px 0;
	}
	.middle_banner > a > .title {
		font-size: 18px;
	}
	.middle_banner > a > .desc {
		padding: 12px 38px;
		font-size: 12px;
		margin-top: 24px;
	}
	.sub_wrap .product_list {
		margin-bottom: 28px;
	}

	/* 후기 랜딩페이지 - 코멘트 목록 */
	.review_container .rating-summary {
		padding: 20px 20px 20px 30px;
		grid-template-columns: 1fr;
	}
	.review_container .rating-summary .score-number{
		font-size: 38px;
	}
	.review_container .rt::after {
		font-size: 18px;
		left: -22px;
	}
	.review_container .comment_list .comment {
		margin-top: 5px;
		font-size: 14px;
		line-height: 1.6;
	}

	/* 유튜브 영상 목록 */
	.section-review-vod ul {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.section-review-vod {
		margin: 40px 0;
	}

	.course_list {
		padding: 10px 18px 0;
	}
	.btn_course_play {
		right: 18px;
		bottom: 38px;
	}
	.content_list_top .list_title {
		font-size: 16px;
	}
	.product_list.typeC .content .title {
		min-height: 44px;
	}
	.product_list .content .category {
		margin-top: 15px;
	}
	.product_list.typeC .content .utils {
		margin-top: 15px;
	}
}
@media (max-width:461px){
	.page_header.category-custom-banner {
		height: 120px;
	}
}

/* 3x3 그리드 스타일 */
.review-grid-container {
	margin-top: 48px;
}
.review-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}
.review-grid-item {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}
.review-grid-item:hover {
	transform: translateY(-2px);
}
.review-thumbnail {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 60.9375%; /* 64:39 비율 (39/64 * 100) */
	overflow: hidden;
	border-radius: 9px;
}
.review-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	border-radius: 9px;
}
.review-label {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #fff;
	color: #888888;
	border-radius: 12px;
	padding: 4px 8px;
	font-size: 10px;
	font-weight: 600;
	z-index: 2;
}
.review-grid-item:hover .review-thumbnail img {
	transform: scale(1.05);
}
.review-info {
	padding: 12px 0;
}
.review-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
	color: #000000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.review-course-title {
	font-size: 12px;
	font-weight: 700;
	color: #888888;
	margin: 0 0 9px 0;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.btn-load-more {
	background: #6496FA;
	border: none;
	color: white;
	padding: 12px 40px;
	border-radius: 25px;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.btn-load-more:hover {
	background: #5282e8;
	transform: translateY(-2px);
	color: white;
}
.btn-load-more:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
}
.btn-load-more .recycle-icon {
	font-size: 16px;
	font-weight: bold;
	display: inline-block;
}
.btn-load-more.loading .recycle-icon {
	animation: rotate 2s linear infinite;
}
.btn-load-more:disabled .recycle-icon {
	animation: none;
}
.btn-load-more .spinner-icon {
	font-size: 16px;
	animation: rotate 1s linear infinite;
	display: inline-block;
}
@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* 반응형 디자인 */
@media (max-width: 768px) {
	.review-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	.review-grid.last-item-drop .review-grid-item:nth-child(n+3) {
		display: none;
	}
	.review-title {
		font-size: 14px;
	}
}
@media (max-width: 480px) {
	.review-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/* 빈 상태 디자인 */
.review-empty-state {
	grid-column: 1 / -1; /* 전체 그리드 너비 차지 */
	text-align: center;
	padding: 80px 20px;
	background: #f8f9fa;
	border-radius: 16px;
	border: 2px dashed #e0e0e0;
	margin: 20px 0;
}
.empty-icon {
	font-size: 64px;
	margin-bottom: 24px;
	opacity: 0.6;
}
.empty-title {
	font-size: 24px;
	font-weight: 700;
	color: #666666;
	margin: 0 0 16px 0;
	line-height: 1.3;
}
.empty-description {
	font-size: 16px;
	color: #999999;
	line-height: 1.6;
	margin: 0;
	max-width: 400px;
	margin: 0 auto;
}

/* 반응형 빈 상태 */
@media (max-width: 768px) {
	.review-empty-state {
		padding: 60px 20px;
	}
	.empty-icon {
		font-size: 48px;
		margin-bottom: 20px;
	}
	.empty-title {
		font-size: 20px;
		margin-bottom: 12px;
	}
	.empty-description {
		font-size: 14px;
	}
}
@media (max-width: 480px) {
	.review-empty-state {
		padding: 40px 16px;
		margin: 16px 0;
	}
	.empty-icon {
		font-size: 40px;
		margin-bottom: 16px;
	}
	.empty-title {
		font-size: 18px;
		margin-bottom: 10px;
	}
	.empty-description {
		font-size: 13px;
	}
}
