/* AOA 사진 후기 — 후기 작성 화면 추가 영역 + 후기 게시판 */

/* ---------------------------------------------------------------- 작성 화면 */
.aoa-rv {
	margin: 18px 0 8px;
	text-align: left;
}
.aoa-rv-title {
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #1f2937;
}
.aoa-rv-title small {
	font-weight: 400;
	color: #64748b;
}
.aoa-rv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 8px;
}
.aoa-rv-grid:empty {
	display: none;
}
.aoa-rv-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	background: #f1f5f9;
}
.aoa-rv-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.aoa-rv-del {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.7);
	color: #fff;
	font-size: 18px;
	line-height: 26px;
	cursor: pointer;
}
.aoa-rv-add {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 8px;
	border: 1.5px dashed #94a3b8;
	border-radius: 10px;
	color: #334155;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
}
.aoa-rv-add.is-busy {
	opacity: 0.55;
	pointer-events: none;
}
.aoa-rv-msg {
	min-height: 1.2em;
	margin: 6px 0 0;
	font-size: 13px;
	color: #475569;
}
.aoa-rv-msg.is-error {
	color: #b91c1c;
}
.aoa-rv-consent {
	word-break: keep-all;
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-top: 12px;
	padding: 12px;
	border-radius: 10px;
	background: #f8fafc;
	font-size: 14px;
	line-height: 1.5;
	color: #1f2937;
	cursor: pointer;
}
.aoa-rv-consent input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
}
.aoa-rv-consent small {
	display: block;
	margin-top: 2px;
	color: #64748b;
}
.aoa-rv-notice {
	max-width: 520px;
	margin: 40px auto;
	padding: 24px 20px;
	border-radius: 12px;
	background: #f8fafc;
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
	color: #1f2937;
}

/* ---------------------------------------------------------------- 게시판 */
.aoa-rvb {
	max-width: 880px;
	margin: 0 auto;
}
.aoa-rvb-summary {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.aoa-rvb-avg {
	font-size: 32px;
	font-weight: 800;
	color: #0f172a;
}
.aoa-rvb-count {
	color: #64748b;
}
.aoa-rvb-stars .on {
	color: #f59e0b;
}
.aoa-rvb-stars .off {
	color: #d1d5db;
}
.aoa-rvb-summary .aoa-rvb-stars {
	font-size: 20px;
}
.aoa-rvb-empty {
	color: #64748b;
}
.aoa-rvb-list {
	display: grid;
	gap: 12px;
}
.aoa-rvb-card {
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
}
.aoa-rvb-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.aoa-rvb-head .aoa-rvb-stars {
	font-size: 17px;
	letter-spacing: 1px;
}
.aoa-rvb-meta {
	color: #64748b;
	font-size: 13px;
}
.aoa-rvb-service {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
}
.aoa-rvb-text {
	margin: 8px 0 0;
	white-space: pre-wrap;
	word-break: keep-all;
	overflow-wrap: anywhere;
	line-height: 1.65;
	color: #1f2937;
}
.aoa-rvb-photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 6px;
	margin-top: 10px;
}
.aoa-rvb-photo {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #f1f5f9;
}
.aoa-rvb-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.aoa-rvb-pager {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 20px;
}
.aoa-rvb-pager a,
.aoa-rvb-pager span {
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	line-height: 34px;
	text-align: center;
	text-decoration: none;
	color: #334155;
	box-sizing: border-box;
}
.aoa-rvb-pager .is-current {
	border-color: #2563eb;
	background: #2563eb;
	color: #fff;
}
.aoa-rvb-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, 0.9);
	box-sizing: border-box;
}
.aoa-rvb-lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 6px;
}
.aoa-rvb-lightbox-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 28px;
	line-height: 44px;
	cursor: pointer;
}

@media (max-width: 480px) {
	.aoa-rvb-card {
		padding: 14px 12px;
	}
	.aoa-rvb-photos {
		grid-template-columns: repeat(3, 1fr);
	}
}
