.review-page-wrap {
    font-family: 'Noto Sans KR', sans-serif;
    padding-bottom: 48px;
}

/* ===== 후기 슬라이드 ===== */
.review-slide-section {
    padding: 24px 20px 0;
}

.review-slide-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding: 0 20px;
}
.review-slide-section-title span {
    color: #183A9E;
}

.review-slide-wrap {
    position: relative;
    overflow: hidden;
}
.review-slide-item {
    display: none;
}
.review-slide-item.active {
    display: block;
    animation: slideFadeIn 0.3s ease;
}
@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 카드 */
.review-slide-card {
    border-radius: 16px;
    overflow: visible; /* hidden → visible */
    border: 1px solid #e8e8e8;
    position: relative;
}

/* 상단 파란 영역 */
.review-slide-top {
    background: #183A9E;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    border-radius: 16px 16px 0 0;
}

/* 썸네일 — 경계선에 걸치기 */
.review-slide-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.review-slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 본문 — 썸네일 공간 확보 */
.review-slide-body {
    background: #fff;
    padding: 16px 20px;
    border-radius: 0 0 16px 16px;
    position: relative;
    min-height: 60px;
}

.review-slide-info {
    flex: 1;
    min-width: 0;
}
.review-slide-badge {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.review-slide-writer {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.review-slide-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}
.review-slide-heart {
    color: #e53e3e;
    font-size: 14px;
}
.review-slide-rating-num {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.review-slide-title {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-left: 4px;
}
.review-slide-admin {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    display: block;
}


.review-slide-content {
    font-size: 13px;
    color: #333;
    line-height: 1.7;
    padding-right: 90px;
}

/* 도트 */
.review-slide-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
}
.review-slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}
.review-slide-dot.active {
    background: #183A9E;
    width: 18px;
    border-radius: 3px;
}

/* ===== KLLE REVIEW ===== */
.review-list-section {
    padding: 28px 20px 0;
}
.review-list-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 4px;
    font-family: 'Rozha One', serif;
}
.review-list-sub {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 20px;
}

/* 필터 */
.review-filter-wrap {
    margin-bottom: 16px;
}
.review-filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.review-select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.8125rem;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    background: #fff;
    cursor: pointer;
}
.review-search-form {
    flex: 1;
    display: flex;
    gap: 6px;
    min-width: 160px;
}
.review-search-form input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.8125rem;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
}
.review-search-form button {
    padding: 7px 14px;
    background: #183A9E;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

/* 카테고리 태그 */
.review-cat-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.review-cat-tag {
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 0.8125rem;
    color: #555;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.15s;
}
.review-cat-tag.active {
    background: #183A9E;
    color: #fff;
    border-color: #183A9E;
}

/* 후기 목록 */
.review-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.review-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 0;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
}

.review-item-img {
    width: 5rem;
    height: 5rem;
    border-radius: .5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.review-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.review-item-title {
    font-size: .9375rem;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-item-meta {
    font-size: .8125rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-wrap: wrap;
}

.review-item-meta-divider {
    color: #d1d5db;
}

.review-item-meta-admin {
    color: #203B92;
    font-weight: 500;
}

/* 오른쪽 영역: 날짜 + 평점/댓글 */
.review-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .375rem;
    flex-shrink: 0;
}

.review-item-date {
    font-size: .75rem;
    color: #9ca3af;
    white-space: nowrap;
}

.review-item-counts {
    display: flex;
    align-items: center;
    gap: .375rem;
}

.review-item-rating {
    font-size: .75rem;
    color: #e53e3e;
}

.review-item-comment {
    font-size: .75rem;
    color: #9ca3af;
}
.review-empty {
    text-align: center;
    color: #aaa;
    font-size: 0.875rem;
    padding: 40px 0;
}

/* 더보기 버튼 */
.review-more-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #555;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: background 0.15s;
}
.review-more-btn:hover { background: #f5f5f5; }
.review-more-btn:disabled { opacity: 0.5; }

/* ===== 상세 페이지 공통 너비 ===== */
.review-detail-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 15px 60px;
}

.review-detail-head,
.review-detail-content,
.review-detail-footer,
.review-comment-section {
    max-width: 530px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 댓글 섹션 ===== */
.review-comment-section {
    padding: 1.5rem 1.25rem 2rem;
}

.review-comment-item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: .875rem;
}

.review-comment-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #e8ecf4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 700;
    color: #203B92;
    flex-shrink: 0;
}

.review-comment-body {
    flex: 1;
    background: #f9fafb;
    border-radius: .5rem;
    padding: .625rem .875rem;
}

.review-comment-header {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin-bottom: .25rem;
}

.review-comment-name {
    font-size: .875rem;
    font-weight: 700;
    color: #111827;
}

.review-comment-badge {
    font-size: .6875rem;
    background: #e8ecf4;
    color: #203B92;
    padding: .0625rem .375rem;
    border-radius: .625rem;
}

.review-comment-time {
    font-size: .75rem;
    color: #9ca3af;
    margin-left: auto;
}

.review-comment-content {
    font-size: .875rem;
    color: #374151;
    line-height: 1.6;
    white-space: pre-wrap;
}

.review-comment-empty {
    color: #9ca3af;
    font-size: .875rem;
    text-align: center;
    padding: 1rem 0;
}

.review-comment-form {
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    overflow: hidden;
    margin-top: 1rem;
}

/* ===== 후기 작성 페이지 ===== */
.review-write-page      { display:flex; flex-direction:column; background:#fff; }
.review-write-header    { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.25rem; border-bottom:1px solid #f0f0f0; background:#fff; }
.review-write-body      { flex:1; padding:1.25rem; display:flex; flex-direction:column; gap:1.25rem; padding-bottom:1rem; }
.review-write-field     { display:flex; flex-direction:column; gap:.5rem; }
.review-write-label     { font-size:.9375rem; font-weight:700; color:#111; }
.review-write-select    { width:100%; padding:.75rem 1rem; border:1px solid #e5e7eb; border-radius:.5rem; font-size:.9375rem; font-family:'Noto Sans KR',sans-serif; outline:none; background:#f9fafb; box-sizing:border-box; }
.review-write-textarea  { width:100%; padding:.75rem 1rem; border:1px solid #e5e7eb; border-radius:.5rem; font-size:.9375rem; font-family:'Noto Sans KR',sans-serif; outline:none; background:#f9fafb; box-sizing:border-box; resize:none; }
.review-write-photo-btn { width:100%; padding:.875rem; border:1px dashed #d1d5db; border-radius:.5rem; background:#f9fafb; font-size:.9375rem; color:#6b7280; cursor:pointer; font-family:'Noto Sans KR',sans-serif; }
.review-write-rating-box   { text-align:center; padding:1.25rem; background:#f9fafb; border-radius:.75rem; }
.review-write-rating-title { font-size:1rem; font-weight:700; color:#111; margin-bottom:.25rem; }
.review-write-rating-sub   { font-size:.8125rem; color:#9ca3af; margin-bottom:.875rem; line-height:1.6; }
.review-write-stars        { display:flex; justify-content:center; gap:.5rem; }
.review-write-footer {
    padding: 1rem 1.25rem 2rem;
    background: #fff;
}
.review-write-submit    { width:100%; padding:.875rem; background:#1e3a8a; color:#fff; border:none; border-radius:.5rem; font-size:1rem; font-weight:700; cursor:pointer; font-family:'Noto Sans KR',sans-serif; }

.review-comment-textarea {
    width: 100%;
    padding: .75rem;
    border: none;
    resize: none;
    font-size: .875rem;
    font-family: 'Noto Sans KR', sans-serif;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

.review-comment-form-footer {
    display: flex;
    justify-content: flex-end;
    padding: .5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.review-comment-submit {
    background: #203B92;
    color: #fff;
    border: none;
    border-radius: .375rem;
    padding: .375rem .875rem;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.review-detail-footer {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 1.25rem;
}

.review-detail-list-btn {
    flex: 1;
}

.review-detail-edit-btn,
.review-detail-del-btn {
    flex-shrink: 0;
}

.review-detail-edit-btn {
    padding: .5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    background: #fff;
    font-size: .875rem;
    color: #374151;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.review-detail-del-btn {
    padding: .5rem 1rem;
    border: 1px solid #ef4444;
    border-radius: .375rem;
    background: #fff;
    font-size: .875rem;
    color: #ef4444;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}