@charset "utf-8";

/* ========== 메인 추천 강좌 타이틀 (이미지 스타일) ========== */
.title-recommend-wrap {
	text-align: center;
	font-family: 'Pretendard', sans-serif;
	padding-top: 40px;
	padding-bottom: 30px;
}
.title-recommend-sub {
	font-size: 15px;
	font-weight: 400;
	color: #888888;
	letter-spacing: -0.02em;
	line-height: 1.5;
	margin-bottom: 12px;
}
.main-title-text.title-recommend {
	color: #000000;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.4;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.main-title-text.title-recommend .title-recommend-accent {
	color: #209bb6;
}

/* ========== 메인 추천 강좌 해시태그 (필/칩) ========== */
.title-recommend-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}
.title-recommend-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid #d9dde3;
	background: #fff;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: -0.02em;
	line-height: 1;
	white-space: nowrap;
}
.title-recommend-tag.is-active {
	border-color: #1ea7c6;
	color: #1ea7c6;
}

/* ========== 수강후기 섹션 (가로 배치, 좌우 화살표) ========== */
.review-section {
	background: #f5f5f5;
	padding: 20px 0 50px;
}

.review-section .review-inner {
	max-width: 1200px;
	margin: 0 auto;
	/* padding: 0 20px; */
}
.review-slider-viewport {
	position: relative;
	overflow: hidden;
	padding: 0;
}
.review-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.1);
	background: rgba(255,255,255,0.85);
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	z-index: 10;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.review-arrow:hover:not(:disabled) {
	background: rgba(255,255,255,0.95);
	border-color: rgba(0,0,0,0.15);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.review-arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.review-arrow-prev {
	left: 8px;
}
.review-arrow-next {
	right: 8px;
}
.review-list-wrap {
	display: flex;
	flex-direction: row;
	gap: 14px;
	transition: transform 0.35s ease;
	will-change: transform;
	padding: 0 0 20px;
}
.review-list-item {
	flex: 0 0 auto;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}
.review-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.review-stars {
	color: #f5a623;
	font-size: 16px;
	letter-spacing: 2px;
}
.review-best-text,
.review-badge {
	font-size: 12px;
	font-weight: 600;
}
.review-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ffe5e5;
	color: #d32f2f;
}
/* 배지 색상 버전 */
.review-badge--best {
	background: #ffe5e5;
	color: #d32f2f;
}
.review-badge--pick {
	background: #e3f2fd;
	color: #1565c0;
}
.review-card-title {
	font-size: 16px;
	font-weight: 700;
	color: #222;
	line-height: 1.4;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.review-card-text {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin: 0 0 auto;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.review-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #eee;
	font-size: 13px;
	color: #888;
}
.review-author {
	font-weight: 600;
	color: #47B1CF;
}
.review-date {
	margin-left: 8px;
	display: none;
}
.review-views {
	margin-left: auto;
}
@media (max-width: 767px) {
	.review-section {
		padding: 16px 0 30px;
	}
	.review-section .review-inner {
		padding: 0 10px;
	}
	.review-slider-viewport {
		padding: 0;
	}
	.review-arrow {
		width: 34px;
		height: 34px;
		font-size: 18px;
		background: rgba(255,255,255,0.92);
	}
	.review-arrow-prev {
		left: -2px;
	}
	.review-arrow-next {
		right: -2px;
	}
	.review-list-wrap {
		padding: 0 0 12px;
	}
	.review-list-item {
		min-height: 240px;
		padding: 18px;
	}
}
@media (min-width: 768px) {
	.review-list-item {
		padding: 28px;
	}
	.review-card-title {
		font-size: 17px;
	}
	.review-card-text {
		-webkit-line-clamp: 5;
	}
}

.ptop10{padding-top: 10px !important;}
.mbtm80{
    margin-bottom: 30px !important;
}
.pbtm70{
    padding-bottom: 70px !important;
}


/* ========== 고객센터/문의 박스 (custom_box) ========== */
.custom-box-section {
	padding: 40px 0 50px;
}
.custom_box {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #e0e0e0;
	/* border-radius: 16px; */
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.custom_box .cb-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 36px;
	text-align: center;
	border-right: 1px solid #e8e8e8;
}
.custom_box .cb-item:last-child {
	border-right: none;
}
.custom_box .cb-center {
	background: #4a4f59;
}
.custom_box .cb-inquiry,
.custom_box .cb-video {
	background: #fff;
}
.custom_box .cb-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}
.custom_box .cb-title-dark {
	color: #484d56;
}
.custom_box .cb-phone {
	text-decoration: none;
	margin-bottom: 12px;
}
.custom_box .cb-phone img {
	display: block;
	height: auto;
	max-width: 100%;
	border: 0;
}
/* PC: 이미지만 표시 / 모바일: tel 링크로 전화 */
.custom_box .cb-phone .cb-phone-dial {
	display: none;
	text-decoration: none;
	outline: none;
}
.custom_box .cb-phone .cb-phone-display {
	display: inline-block;
}
@media screen and (max-width: 768px) {
	.custom_box .cb-phone .cb-phone-display {
		display: none;
	}
	.custom_box .cb-phone .cb-phone-dial {
		display: inline-block;
	}
}
.custom_box .cb-desc {
	font-size: 13px;
	color: rgba(255,255,255,0.9);
	line-height: 1.4;
}
.custom_box .cb-desc-dark {
	color: #4a4f59;
	font-weight: 500;
}
.custom_box .cb-kakao-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 24px;
	background: #5125ff;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	margin-bottom: 12px;
}
.custom_box .cb-kakao-btn:hover .cb-arr1 {
	animation: cb-arrow-alt 0.6s ease-in-out infinite;
}
.custom_box .cb-kakao-btn:hover .cb-arr2 {
	animation: cb-arrow-alt 0.6s ease-in-out 0.3s infinite;
}
@keyframes cb-arrow-alt {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.2; }
}
.custom_box .cb-kakao-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.custom_box .cb-kakao-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.custom_box .cb-title-row {
	display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    align-self: stretch;
}
.custom_box .cb-sw-logo {
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
    margin-top: -2px;
}
.custom_box .cb-sw-logo img {
	height: 20px;
	width: auto;
	display: block;
}
@media (max-width: 767px) {
	.custom_box {
		flex-direction: column;
	}
	.custom_box .cb-item {
		border-right: none;
		border-bottom: 1px solid #e8e8e8;
		padding: 24px 20px;
	}
	.custom_box .cb-item:last-child {
		border-bottom: none;
	}
}
