/* ============================================================
   메인 학생·학부모 후기 (main.php #section4 .after-wrap) — 2026-12 개편
   예전에는 사진+말풍선을 통째로 그린 이미지(mainSec03_*_after_img2.png)였고, 지금은 글자로 구성한다.
   학생: 왼쪽 원형 사진 + 카드 / 학부모: 오른쪽 따옴표 원 + 카드 (좌우 대칭)
   카드 높이를 같게(min-height) 해서 학생·학부모 줄이 나란히 맞는다 — 문구가 많이 길어지면 min-height 를 같이 늘릴 것.
   학생 사진: /images/review/2026_student_0N.jpg (원본 사진이 오면 파일만 교체)
   신 홈페이지 EiE/www/assets/css/mainReview.css 와 같은 내용 — 고칠 때 같이 고칠 것.
   ============================================================ */
.after-wrap .rv-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.after-wrap .rv-item { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.after-wrap .rv-item:last-child { margin-bottom: 0; }
.after-wrap .after-mom-wrap .rv-item { flex-direction: row-reverse; }
/* 가운데 두 카드 사이 간격 */
.after-wrap .after-student-wrap .rv-list { padding-right: 14px; }
.after-wrap .after-mom-wrap .rv-list { padding-left: 14px; }

/* 원형 사진 — 기존 .after-student-wrap img { width:100% } 규칙보다 우선하도록 선택자를 한 단계 더 둔다 */
.after-wrap .after-student-wrap .rv-photo {
	flex: 0 0 auto; display: block;
	width: 100px; max-width: none; height: 100px;
	border-radius: 50%; object-fit: cover;
	border: 4px solid #fff; box-sizing: border-box;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
	background: #e9e6e0;
}
/* 학부모 — 사진 대신 따옴표 원 */
.after-wrap .rv-mark {
	flex: 0 0 auto; position: relative;
	width: 100px; height: 100px; border-radius: 50%;
	border: 4px solid #fff; box-sizing: border-box;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
	background: #b8102e;
}
.after-wrap .rv-mark::before {
	content: "\201C"; position: absolute; left: 0; right: 0; top: 18px;
	color: #fff; font: 700 72px/1 Georgia, "Times New Roman", serif; text-align: center;
}

/* 카드 */
.after-wrap .rv-card {
	flex: 1 1 auto; min-width: 0; min-height: 168px; box-sizing: border-box;
	display: flex; flex-direction: column;
	padding: 18px 24px 16px;
	background: #f5f3ef; border-radius: 18px;
}
.after-wrap .rv-q { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #b8102e; line-height: 1.4; word-break: keep-all; }
.after-wrap .rv-a { flex: 1 1 auto; margin: 0; font-size: 14px; color: #4a4945; line-height: 1.65; word-break: keep-all; }
.after-wrap .rv-who { margin: 10px 0 0; text-align: right; line-height: 1.3; }
.after-wrap .rv-name { font-size: 16px; font-weight: 700; color: #222; }
.after-wrap .rv-campus { margin-left: 8px; font-size: 13px; color: #777; }

/* 좁은 화면 — 원을 줄이고 카드 높이는 내용대로 */
@media all and (max-width: 800px) {
	.after-wrap .rv-item { gap: 12px; margin-bottom: 12px; }
	.after-wrap .after-student-wrap .rv-list, .after-wrap .after-mom-wrap .rv-list { padding: 0; }
	.after-wrap .after-student-wrap .rv-photo,
	.after-wrap .rv-mark { width: 64px; height: 64px; border-width: 3px; }
	.after-wrap .rv-mark::before { top: 10px; font-size: 48px; }
	.after-wrap .rv-card { min-height: 0; padding: 14px 16px 12px; border-radius: 14px; }
	.after-wrap .rv-q { font-size: 15px; }
}
