@charset "utf-8";
/* =========================================================================
 * review.css — 그날의 후기(review) 스킨 (목록 5312:1068 / 뷰 5660:1338 / 쓰기 5660:2286)
 * 필드: ca_name=분야 / wr_1=성함 / wr_2=일자 / wr_content=후기 / wr_3=만족도 / wr_4=키워드 / wr_5=변호사
 * ========================================================================= */
.review { padding: 90px 0 130px; }
.rv_inner { width: 100%; max-width: 1740px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* ===== 분야(카테고리) 탭 — 가운데 pill (5678:4975) ===== */
.rv_cats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px;
    width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 12px 50px; border-radius: 50px; background: rgba(193, 204, 210, .1); }
.rv_cat { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.44px; color: rgba(47, 58, 66, .5); }
.rv_cat_dot { width: 7px; height: 7px; background: rgba(47, 58, 66, .5); flex: 0 0 auto; }
.rv_cat.is-on { color: #2f3a42; }
.rv_cat.is-on .rv_cat_dot { background: #2f3a42; }
.rv_cat:hover { color: #2f3a42; text-decoration: none; }
.rv_cat:hover .rv_cat_dot { background: #2f3a42; }

/* ===== 상단 Total / 검색 (5566:3023) ===== */
.rv_top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.rv_total { display: flex; align-items: center; gap: 11px; }
.rv_total_en { font-family: 'SIMPLECANDY', 'Times New Roman', serif; font-size: 22px; color: #2b2b2b; line-height: 1; }
.rv_total_num { display: inline-flex; align-items: center; justify-content: center; padding: 5px 20px; background: #e6e6e6; font-family: 'UnShinmun', serif; font-size: 16px; color: #2b2b2b; line-height: 1; }
.rv_util { display: flex; align-items: flex-end; gap: 16px; }
.rv_toolbar { display: inline-flex; gap: 6px; padding-bottom: 8px; }
.rv_tbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #e2e7ea; border-radius: 50%; background: #fff; color: #8b959b; font-size: 13px; }
.rv_tbtn:hover { color: #2f3a42; border-color: #c0ccd2; text-decoration: none; }
.rv_search { position: relative; width: 337px; max-width: 40vw; border-bottom: 1px solid #919191; }
.rv_search_input { width: 100%; height: 50px; padding: 0 44px 0 15px; border: 0; background: transparent; font-size: 16px; color: #333; }
.rv_search_input::placeholder { color: #8d8d8d; }
.rv_search_btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: transparent; color: #555; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* ===== 카드 그리드 — 흰 카드 + 로고 워터마크 (5382:1585) ===== */
.rv_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rv_item { position: relative; min-width: 0; }
/* 관리자: 승인 상태 뱃지 + 승인/숨김 버튼 */
.rv_admtag { position: absolute; top: 12px; left: 37px; z-index: 2; padding: 4px 11px; border-radius: 13px; font-size: 12px; font-weight: 600; color: #fff; }
.rv_admtag.wait { background: #da0000; }
.rv_admtag.ok { background: #2f3a42; }
.rv_admbtn { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 13px; border-radius: 14px; background: #fff; border: 1px solid #2f3a42; color: #2f3a42; font-size: 12px; font-weight: 600; }
.rv_admbtn:hover { background: #2f3a42; color: #fff; text-decoration: none; }
.rv_item.is-pending .rv_card { opacity: .72; }
.rv_card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; padding: 40px 36px; border: 1px solid #c0ccd2; background: #fff; overflow: hidden; color: #111; transition: border-color .2s, box-shadow .2s; }
.rv_card:hover { text-decoration: none; border-color: #2f3a42; }
/* 이미지(스캔) 후기 카드 썸네일 — 본문 첫 이미지 미리보기(상단) */
.rv_card_thumb { position: relative; z-index: 1; display: block; width: 98.2%; aspect-ratio: 5 / 3; margin-bottom: 18px; border-radius: 10px; margin:0 auto;
    background-size: cover; background-position: top center; background-repeat: no-repeat; }
.rv_card.has-thumb { min-height: 0; }
.rv_card.has-thumb .rv_card_wm { display: none; }
/* 로고 워터마크: symbol.svg가 흰색이라 마스크로 다크 재색해 흐리게 */
.rv_card_wm { position: absolute; top: 34px; right: -30px; width: 302px; height: 374px; background-color: #2f3a42; opacity: .06; pointer-events: none;
    -webkit-mask: url("../../../img/common/float/symbol.svg") no-repeat center / contain; mask: url("../../../img/common/float/symbol.svg") no-repeat center / contain; }
.rv_card_top { position: relative; z-index: 1; display: block; }
.rv_card_tit { display: block; padding-bottom: 16px; border-bottom: 1px solid #c0ccd2; font-size: 26px; font-weight: 700; letter-spacing: -1px; line-height: 1.2; color: #111; }
.rv_card_tit b { font-weight: 700; }
.rv_card_tit .rv_bar { font-weight: 300; margin: 0 8px; }
.rv_card_ex { display: -webkit-box; margin-top: 20px; font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: -0.8px; color: #111; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom:100px}
.rv_card_bot { position: relative; z-index: 1; display: block; }
.rv_card_tags { display: grid; grid-template-columns: 1fr 1fr; }
.rv_tag { display: flex; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid #c0ccd2; font-size: 18px; font-weight: 500; letter-spacing: -0.72px; color: #2f3a42; min-width: 0; }
.rv_tag span:not(.rv_tag_dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv_tag_dot { width: 7px; height: 7px; background: #2f3a42; flex: 0 0 auto; }
.rv_card_date { display: block; margin-top: 10px; font-size: 18px; font-weight: 300; letter-spacing: -0.72px; color: #2f3a42; }
.rv_empty { padding: 90px 0; text-align: center; color: #8b959b; font-size: 17px; }

/* ===== 상세(view) ===== */
.rv_view { padding: 90px 0 130px; }
.rv_view_wrap { display: flex; align-items: flex-start; gap: 40px; }
.rv_v_main { flex: 1 1 auto; min-width: 0; }
/* 본문 박스 구조 — 시안 5660:1532 (다크 #2f3a42 라인, 라운드/배경색 없음) */
.rv_v_head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px 40px; border-top: 2px solid #2f3a42; border-bottom: 1px solid #2f3a42; }
.rv_v_tit { font-size: 30px; font-weight: 600; letter-spacing: -0.42px; color: #111; }
.rv_v_date { font-size: 17px; color: #666; }
.rv_v_date span { font-weight: 500; color: #666; }
.rv_v_box { display: flex; flex-direction: column; gap: 60px; padding: 50px 40px; border-bottom: 1px solid #2f3a42; }
/* 본문 이미지(첫 이미지=썸네일 제외) — 담당 변호사 위, 위아래 패딩 */
.rv_v_imgs { display: flex; flex-direction: column; gap: 20px; padding: 40px; }
.rv_v_img { width: 747px; max-width: 100%; margin: 0; border: 1px solid #e6e6e6; }
.rv_v_img img { display: block; width: 100%; height: auto; }
.rv_v_lawyer_wrap { padding: 40px; border-bottom: 1px solid #2f3a42; }
.rv_v_sec { padding: 0; }
.rv_v_lb { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 500; letter-spacing: -0.42px; color: #111; margin-bottom: 14px; }
.rv_v_dot { width: 7px; height: 7px; background: #1f2e38; flex: 0 0 auto; }
.rv_v_con { font-size: 20px; font-weight: 400; line-height: 1.5; letter-spacing: -0.8px; color: #111; word-break: keep-all; overflow-wrap: break-word; }
/* 이미지(스캔) 후기: 본문 폭에 맞게 반응형 + 가운데 정렬 */
.rv_v_con img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.rv_v_con p { margin: 0 0 12px; text-align: center; }
.rv_v_con p:last-child { margin-bottom: 0; }

/* 만족도 표 (5660:1755) — 흰 배경, 얇은 #c0ccd2 선, 상단 #2f3a42, 회색 체크아이콘 */
.rv_v_rates_wrap { width: 100%; margin-top: 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rv_v_rates { width: 100%; min-width: 460px; border-collapse: collapse; text-align: center; table-layout: fixed; border-top: 1px solid #2f3a42; }
.rv_v_rates thead th:first-child, .rv_v_rates tbody th { width: 22%; }
.rv_v_rates th, .rv_v_rates td { border-bottom: 1px solid #c0ccd2; border-right: 1px solid #c0ccd2; padding: 12px 6px; font-size: 18px; font-weight: 400; color: #111; }
.rv_v_rates th:last-child, .rv_v_rates td:last-child { border-right: 0; }
.rv_v_rates td { height: 45px; }
.rv_chk_ic { width: 24px; height: 24px; vertical-align: middle; }

/* 만족 키워드 (5660:1906) — 외곽선만, 배경 채움 없음 */
.rv_v_kws { display: flex; flex-wrap: wrap; gap: 12px; }
.rv_v_kw { display: inline-flex; align-items: center; padding: 16px 24px; border: 1px solid #c0ccd2; border-radius: 50px; background: rgba(255, 255, 255, .8); color: #2f3a42; font-size: 17px; font-weight: 500; letter-spacing: -0.68px; line-height: 1; }

/* 담당 변호사 — pill (아바타 + 직함/이름) · 사진 원에 꽉 차게 */
.rv_v_lawyer { display: inline-flex; align-items: center; gap: 12px; width: 235px; max-width: 100%; height: 60px; box-sizing: border-box; padding: 8px 30px 8px 8px; border: 1px solid #c0ccd2; border-radius: 50px; background: rgba(255, 255, 255, .8); }
.rv_v_ava { width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto; background-color: #d9dde1; background-size: cover; background-position: center; background-repeat: no-repeat; }
/* 법무법인 그날 — 법인 로고 아바타(전체 로고 보이게) */
.rv_lawyer_ava--logo, .rv_v_ava--logo { background-color: #fff; background-size: 78%; }
.rv_v_ava.is-empty { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a7b0b6'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); background-size: 60%; }
.rv_v_lawyer_nm { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 18px; color: #111; white-space: nowrap; /*overflow: hidden; text-overflow: ellipsis; */}
.rv_v_lawyer_role { font-weight: 400; }
.rv_v_lawyer_nm b { font-weight: 700; }
.rv_v_btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.rv_v_pending { margin-top: 14px; padding: 12px 16px; background: #fff4f4; border: 1px solid #f3c0c0; border-radius: 8px; color: #b3261e; font-size: 14px; }

/* 게시판 공통 버튼(목록 툴바 · 뷰 버튼 동일) */
.rv_btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 20px; border: 1px solid #d5dade; border-radius: 22px; background: #fff; color: #4c5d6a; font-size: 15px; font-weight: 500; cursor: pointer; }
.rv_btn:hover { border-color: #4c5d6a; color: #2f3a42; text-decoration: none; }
.rv_btn i { font-size: 13px; }
.rv_btn_solid { background: #2f3a42; border-color: #2f3a42; color: #fff; }
.rv_btn_solid:hover { background: #20262b; color: #fff; }

/* ===== 사이드바 (5660:1581) ===== */
.rv_v_side { flex: 0 0 411px; width: 411px; display: flex; flex-direction: column; gap: 40px; position: sticky; top: 110px; align-self: flex-start; }
/* CTA: 배경 이미지 + 딤 + 반투명 pill 3개 */
.rv_cta { position: relative; aspect-ratio: 409 / 480; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.rv_cta::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .33); }
.rv_cta_btns { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; width: 295px; max-width: 80%; }
.rv_cta_btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 55px; border-radius: 50px; background: rgba(193, 204, 210, .1); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); color: #fff; font-size: 20px; letter-spacing: -0.2px; }
.rv_cta_btn:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.rv_cta_btn b { font-weight: 700; }
.rv_cta_ic { width: 22px; height: 22px; object-fit: contain; }
.rv_cta_ic--phone { filter: brightness(0) invert(1); }
/* 이전/다음글 · 목록보기 pill */
.rv_v_nav { display: flex; flex-direction: column; gap: 16px; }
.rv_pn { display: flex; align-items: center; justify-content: center; gap: 40px; height: 60px; border-radius: 50px; background: rgba(193, 204, 210, .1); box-shadow: inset 0 3px 6px rgba(47, 58, 66, .03); font-size: 18px; font-weight: 500; letter-spacing: -0.18px; color: #555; }
.rv_pn a { color: #555; } .rv_pn a:hover { color: #2f3a42; }
.rv_pn .off { color: #bfc7cc; } .rv_pn em { color: #c0ccd2; font-style: normal; }
.rv_list_btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 60px; border-radius: 50px; background: rgba(193, 204, 210, .1); box-shadow: inset 0 3px 6px rgba(47, 58, 66, .03); color: #2f3a42; font-size: 20px; font-weight: 500; letter-spacing: -0.2px; }
.rv_list_btn:hover { background: rgba(193, 204, 210, .22); text-decoration: none; }
.rv_list_ico { display: inline-flex; flex-direction: column; gap: 5px; width: 16px; }
.rv_list_ico i { width: 16px; height: 2px; background: #2f3a42; }

/* ===== 작성(write) — 시안 5660:2286 ===== */
.rv_w { width: 100%; max-width: 1163px; margin: 0 auto; padding: 120px 20px 120px; }
.rv_w_ttl { font-size: 38px; font-weight: 600; letter-spacing: -0.42px; color: #111; text-align: center; margin-bottom: 30px; }
.rv_w_form { border-top: 2px solid #2f3a42; border-bottom: 1px solid #2f3a42; }
.rv_w_sec { padding: 40px; }
.rv_w_sec2 { display: flex; padding: 0; }
.rv_w_sec2 .rv_w_field { flex: 1 1 0; min-width: 0; padding: 40px; }

.rv_w_lb { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 500; letter-spacing: -0.96px; color: #111; margin-bottom: 20px; }
.rv_w_dot { width: 7px; height: 7px; background: #1f2e38; flex: 0 0 auto; }
.rv_w_lb em { color: #da0000; font-style: normal; }
.rv_w_help { font-size: 17px; font-weight: 300; letter-spacing: -0.4px; color: #111; }

/* 밑줄형 입력 */
.rv_w_inp { width: 100%; box-sizing: border-box; height: 60px; padding: 10px 20px; border: 0; border-bottom: 1px solid #78838a; background: #fff; font-size: 18px; color: #111; outline: none; }
.rv_w_inp::placeholder { color: #555; }
.rv_w_inp:focus { border-bottom-color: #2f3a42; }
.rv_w_area { height: 143px; resize: vertical; line-height: 1.6; padding: 14px 20px; }
/* 날짜: 아이콘 숨기고 영역 클릭 시 달력 */
.rv_w_date { cursor: pointer; color: #111; }
.rv_w_date:required:invalid { color: #555; }
.rv_w_date::-webkit-calendar-picker-indicator { opacity: 0; -webkit-appearance: none; display: none; }
.rv_w_date::-webkit-inner-spin-button, .rv_w_date::-webkit-clear-button { display: none; }

/* 정사각 체크 (분야·만족도) */
.rv_opt { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.rv_opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.rv_sq { width: 18px; height: 18px; background: #c1ccd2; flex: 0 0 auto; position: relative; }
.rv_opt input:checked + .rv_sq { background: #2f3a42; }
.rv_opt input:checked + .rv_sq::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rv_opt input:focus-visible + .rv_sq { outline: 2px solid #7894a8; outline-offset: 2px; }
.rv_opt_tx { font-size: 20px; letter-spacing: -0.8px; color: #111; white-space: nowrap; }
.rv_w_cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 1043px; }

/* 만족도 5행 */
.rv_w_rates { display: flex; flex-direction: column; gap: 14px; }
.rv_rate { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.rv_rate_lb { flex: 0 0 194px; font-size: 20px; font-weight: 500; letter-spacing: -0.42px; color: #111; }
.rv_rate_opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; flex: 1 1 auto; max-width: 834px; }

/* 만족 키워드 (그룹별 pill) */
.rv_w_kwgroups { display: flex; flex-direction: column; gap: 16px; }
.rv_kwgroup { display: flex; flex-direction: column; gap: 8px; }
.rv_kwgroup_ttl { font-size: 20px; font-weight: 500; letter-spacing: -0.42px; line-height: 1.8; color: #111; }
.rv_kwgroup_opts { display: flex; flex-wrap: wrap; gap: 12px; }
.rv_kw { display: inline-flex; align-items: center; padding: 16px 24px; border: 1px solid #c0ccd2; border-radius: 50px; background: rgba(255, 255, 255, .8); color: #2f3a42; font-size: 17px; font-weight: 500; letter-spacing: -0.68px; line-height: 1; cursor: pointer; }
.rv_kw input { position: absolute; opacity: 0; width: 0; height: 0; }
.rv_kw.is-on { background: #2f3a42; border-color: #2f3a42; color: #fff; }

/* 담당 변호사 (아바타 pill · 4열) */
.rv_w_lawyers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rv_lawyer { display: flex; align-items: center; gap: 12px; height: 60px; box-sizing: border-box; padding: 8px 24px 8px 8px; border: 1px solid #c0ccd2; border-radius: 50px; background: #fff; color: #111; cursor: pointer; }
.rv_lawyer input { position: absolute; opacity: 0; width: 0; height: 0; }
.rv_lawyer_ava { width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto; background-color: #d9dde1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a7b0b6'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); background-size: cover; background-position: center; background-repeat: no-repeat; }
.rv_lawyer_nm { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 18px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv_lawyer_role { font-weight: 400; }
.rv_lawyer_nm b { font-weight: 700; }
.rv_law_etc_fields { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.rv_law_etc_fields[hidden] { display: none; }
.rv_law_etc_fields .rv_w_inp { flex: 1 1 220px; min-width: 0; width: auto; }
.rv_lawyer.is-on { background: #2f3a42; border-color: #2f3a42; color: #fff; }
.rv_lawyer.is-on .rv_lawyer_nm { color: #fff; }

.rv_w_captcha { display: flex; justify-content: center; }

/* 작성 완료 버튼 (그라데이션 pill + 화살표 원형) — 시안 5660:3335 */
.rv_w_btns { display: flex; justify-content: center; margin-top: 40px; }
.rv_w_submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: 300px; max-width: 100%; height: 55px; padding: 0 12px 0 30px; border: 0; border-radius: 30px; background: linear-gradient(90deg, #20262b 0%, #4c5d6a 50%, #7894a8 100%); color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.4px; cursor: pointer; }
.rv_w_submit:hover { filter: brightness(1.06); }
.rv_w_submit_tx { flex: 1 1 auto; text-align: center; }
.rv_w_arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-family: 'SIMPLECANDY', 'Times New Roman', serif; font-size: 24px; line-height: 1; }

/* ===== 작성완료 레이어 팝업 ===== */
.rv_done { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.rv_done.on { display: flex; }
.rv_done_dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.rv_done_box { position: relative; z-index: 1; width: 400px; max-width: 90vw; padding: 44px 32px 32px; background: #fff; border-radius: 16px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); animation: rvDonePop .28s ease; }
@keyframes rvDonePop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.rv_done_ic { display: inline-flex; margin-bottom: 18px; }
.rv_done_msg { font-size: 22px; font-weight: 700; line-height: 1.45; color: #111; }
.rv_done_sub { margin-top: 10px; font-size: 15px; color: #8b959b; }
.rv_done_btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 54px; margin-top: 26px; border-radius: 27px; background: #2f3a42; color: #fff; font-size: 17px; font-weight: 600; }
.rv_done_btn:hover { background: #20262b; text-decoration: none; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
    .rv_grid { gap: 24px; }
    .rv_card { padding: 34px 30px; }
    .rv_card_tit { font-size: 24px; }
}
@media (max-width: 1200px) {
    .rv_grid { grid-template-columns: repeat(2, 1fr); }
    .rv_view_wrap { flex-direction: column; }
    .rv_v_side { flex: none; width: 100%; max-width: 460px; }
    .rv_cta { aspect-ratio: 409 / 360; }
}
@media (max-width: 1024px) {
    .review { padding: 70px 0 100px; }
    .rv_view { padding: 60px 0 90px; }
    .rv_cats { gap: 22px; padding: 12px 34px; }
    .rv_cat { font-size: 19px; }
    .rv_v_tit { font-size: 24px; }
    .rv_v_lb { font-size: 21px; }
    .rv_v_con { font-size: 18px; }
    .rv_w { padding: 60px 20px 100px; }
    .rv_w_ttl { font-size: 28px; }
    .rv_w_lb { font-size: 20px; }
    .rv_w_sec, .rv_w_sec2 .rv_w_field { padding: 32px; }
    .rv_w_lawyers { grid-template-columns: repeat(2, 1fr); }
    .rv_rate_lb { flex-basis: 150px; font-size: 18px; }
    .rv_opt_tx, .rv_kwgroup_ttl { font-size: 18px; }
}
@media (max-width: 768px) {
    .review { padding: 50px 0 80px; }
    .rv_view { padding: 46px 0 80px; }
    /* 목록 */
    .rv_cats { gap: 16px; padding: 10px 24px; margin-bottom: 26px; }
    .rv_cat { font-size: 17px; }
    .rv_grid { grid-template-columns: 1fr; gap: 18px; }
    .rv_card { min-height:300px; padding: 30px 26px; }
    .rv_card_wm {height:239px; right:-70px}
    .rv_card_tit { font-size: 22px; }
    .rv_card_ex { margin-top: 16px; font-size: 16px; }
    .rv_tag { font-size: 16px; padding: 14px 0; }
    .rv_card_date { font-size: 16px; }
    .rv_top { flex-wrap: wrap; }
    .rv_total_en { font-size: 20px; }
    .rv_util { width: 100%; flex-wrap: wrap; }
    .rv_search { width: 100%; max-width: none; }
    /* 뷰 */
    .rv_v_head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 20px; }
    .rv_v_tit { font-size: 22px; }
    .rv_v_date { font-size: 14px; }
    .rv_v_box { gap: 40px; padding: 30px 20px; }
    .rv_v_lawyer_wrap { padding: 30px 20px; }
    .rv_v_lb { font-size: 19px; margin-bottom: 14px; }
    .rv_v_con { font-size: 16px; }
    .rv_v_rates_wrap { margin-top: 24px; }
    .rv_v_rates { min-width: 0; }
    .rv_v_rates thead th:first-child, .rv_v_rates tbody th { width: 25%; }
    .rv_v_rates th, .rv_v_rates td { font-size: 14px; padding: 8px 2px; }
    .rv_v_rates td { height: 46px; }
    .rv_chk_ic { width: 22px; height: 22px; }
    .rv_v_kw { padding: 12px 18px; font-size: 15px; }
    .rv_v_lawyer { font-size: 16px; }
    .rv_v_side { max-width: none; }
    .rv_cta { aspect-ratio: 409 / 330; }
    /* 쓰기 */
    .rv_w { padding: 44px 16px 90px; }
    .rv_w_ttl { font-size: 22px; margin-bottom: 24px; }
    .rv_w_sec { padding: 26px 4px; }
    .rv_w_sec2 { flex-direction: column; padding: 0; }
    .rv_w_sec2 .rv_w_field { padding: 26px 4px; }
    .rv_w_lb { font-size: 18px; margin-bottom: 16px; }
    .rv_w_help { font-size: 14px; }
    .rv_w_cats { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
    .rv_w_inp { height: 54px; font-size: 16px; }
    .rv_w_area { height: 130px; }
    .rv_rate { flex-wrap: wrap; align-items: flex-start; gap: 0; }
    .rv_rate_lb { flex: 0 0 100%; margin-bottom: 10px; font-size: 17px; }
    .rv_rate_opts { width: 100%; max-width: none; gap: 8px; }
    .rv_w_rates { gap: 18px; }
    .rv_opt_tx { font-size: 16px; }
    .rv_kwgroup_ttl { font-size: 17px; }
    .rv_kw { font-size: 15px; padding: 12px 18px; }
    .rv_w_lawyers { grid-template-columns: 1fr; }
    .rv_lawyer_nm { text-align: left; }
}
@media (max-width: 486px) {
    /* 목록 */
    .rv_cats { gap: 12px; padding: 9px 18px; }
    .rv_cat { font-size: 15px; gap: 7px; }
    .rv_card { padding: 26px 22px; }
    .rv_card_tit { font-size: 20px; }
    .rv_card_ex { font-size: 15px; padding-bottom:50px}
    .rv_tag { font-size: 14px; }
    .rv_card_date { font-size: 15px; }
    .rv_total_en { font-size: 20px; }
    .rv_search_input { height: 44px; font-size: 14px; }
    /* 뷰 */
    .rv_v_tit { font-size: 20px; }
    .rv_v_con { font-size: 15px; }
    .rv_v_lb { font-size: 17px; }
    .rv_v_rates th, .rv_v_rates td { font-size: 12px; padding: 7px 2px; }
    .rv_v_rates td { height: 42px; }
    .rv_chk_ic { width: 20px; height: 20px; }
    .rv_v_kw { font-size: 14px; padding: 11px 15px; }
    /* 쓰기 */
    .rv_w_ttl { font-size: 20px; }
    .rv_w_lb { font-size: 17px; }
    .rv_w_cats { grid-template-columns: repeat(2, 1fr); }
    .rv_w_inp { font-size: 15px; }
    .rv_opt_tx { font-size: 14px; }
    .rv_rate_opts { gap: 4px; }
    .rv_opt { gap: 6px; }
    .rv_sq { width: 16px; height: 16px; }
    .rv_opt input:checked + .rv_sq::after { left: 5px; top: 2px; width: 4px; height: 8px; }
    .rv_kw { font-size: 14px; padding: 11px 16px; }
    .rv_lawyer { padding: 8px 16px 8px 8px; }
    .rv_lawyer_nm { font-size: 16px; }
    .rv_w_submit { width: 100%; }
}

/* 게시판 콘텐츠 좌우 여백: 1760px 이하부터 20px (inner 최대너비 1700 + 여백 확보) */
@media (max-width: 1760px) {
    .inner { padding-left: 20px; padding-right: 20px; }
}
