/* 공개 게스트 후기 모음 /reviews — 3열 masonry */

body.index,
.wh-root.index {
  padding-top: 0 !important;
  background: var(--wh-bg, #F5F5F5);
}

.rv-feed-page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 16px 96px;
  box-sizing: border-box;
}

.rv-feed-mbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
}

.rv-feed-mbar-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--wh-link, #0071e3);
  text-decoration: none;
}

.rv-feed-head {
  display: block;
  margin: 0 0 16px;
}

.rv-feed-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wh-tx, #1A1A1A);
}

.rv-feed-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6b6b6b;
  word-break: keep-all;
}

.rv-feed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.rv-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rv-feed-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--wh-bd, rgba(0,0,0,.08));
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.rv-feed-sort {
  color: #666;
}

.rv-feed-sort-ico {
  margin-left: 1px;
  opacity: 0.7;
}

.rv-feed-grid {
  display: block;
  width: 100%;
  column-count: 1;
  column-gap: 16px;
}

.rv-feed-card-link {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px !important;
  text-decoration: none;
  color: inherit;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  cursor: pointer;
}

.rv-feed-card-link:focus {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.rv-feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.rv-ff-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--wh-bd, rgba(0,0,0,.08));
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.rv-ff-cam {
  flex-shrink: 0;
}

.rv-ff-btn:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: #111;
}

.rv-ff-btn:active {
  transform: scale(0.96);
}

.rv-ff-btn.is-on {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.rv-feed-grid.is-loading {
  pointer-events: none;
}

.rv-feed-sk {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-sizing: border-box;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.rv-feed-sk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.rv-feed-sk-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rv-feed-sk-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.rv-feed-sk-line {
  display: block;
  height: 10px;
  border-radius: 6px;
}

.rv-feed-sk-line-s {
  height: 8px;
  width: 30%;
}

.rv-feed-sk-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  margin: 12px 0 0;
}

.rv-feed-sk-room {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.rv-feed-sk-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.rv-feed-sk-shimmer {
  background: linear-gradient(90deg, #ececec 0%, #f7f7f7 45%, #ececec 90%);
  background-size: 220% 100%;
  animation: rvFeedSk 1.15s ease-in-out infinite;
}

@keyframes rvFeedSk {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

html.wh-reduce-motion .rv-feed-sk-shimmer {
  animation: none;
  background: #ececec;
}

#rvFeedCountChip.is-flash {
  background: #111;
  color: #fff;
  border-color: #111;
}

.rv-feed-dd {
  position: relative;
}

.rv-feed-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 156px;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.rv-feed-dd-menu[hidden] {
  display: none !important;
}

.rv-feed-dd-right .rv-feed-dd-menu {
  left: auto;
  right: 0;
}

.rv-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rv-dd-opt {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
}

.rv-dd-opt + .rv-dd-opt {
  margin-top: 1px;
}

.rv-dd-opt:hover {
  background: #f6f6f6;
  color: #222;
}

.rv-dd-opt.is-on {
  background: transparent;
  color: #111;
  font-weight: 700;
}

.rv-dd-opt.is-on::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: #1a1a1a;
  flex-shrink: 0;
}

.rv-dd-opt.is-on:hover {
  background: #f6f6f6;
}

.rv-feed-page .r26-review-card,
.rv-feed-page .rv-feed-card,
html.index-force-desktop-ui .rv-feed-page .r26-review-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 0 20px !important;
  padding: 16px !important;
  height: auto !important;
  min-height: 0;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rv-feed-page .rv-feed-card.has-photo {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rv-feed-page .r26-review-header {
  justify-content: flex-start !important;
  text-align: left;
  margin-bottom: 8px;
}

.rv-feed-page .r26-review-reviewer {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.rv-feed-page .r26-review-date {
  color: #c0c0c0 !important;
  font-size: 11px;
  font-weight: 500;
}

.rv-feed-page .r26-review-score {
  justify-content: flex-start;
  margin: 0 0 8px;
  gap: 4px;
}

.rv-feed-page .r26-review-score-num {
  font-size: 14px;
  font-weight: 700;
}

.rv-feed-page .r26-review-translated {
  color: #9a9a9a !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  margin: 0 0 8px !important;
  text-align: left !important;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto !important;
}

.rv-feed-page .rv-tr-ico {
  flex-shrink: 0;
  opacity: 0.75;
}

.rv-feed-page .r26-review-text,
html.index-force-desktop-ui .rv-feed-page .r26-review-text,
html.index-force-desktop-ui .rv-feed-page .r26-review-card p {
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px !important;
  text-align: left !important;
  flex: 0 1 auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 12;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.rv-feed-hero {
  position: relative;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.rv-feed-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rv-feed-hero-more {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-feed-page .r26-review-room-row,
html.index-force-desktop-ui .rv-feed-page .r26-review-room-row {
  justify-content: flex-start !important;
  text-align: left;
  margin-top: 4px !important;
  padding-top: 12px;
  gap: 10px;
  border-top: 1px solid #eee;
}

.rv-feed-page .r26-review-thumb {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px;
}

.rv-feed-page .r26-review-room {
  font-size: 13px !important;
  font-weight: 650;
  color: #222 !important;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.rv-feed-empty {
  display: block;
  width: 100%;
  margin: 40px 0;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.rv-feed-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0 16px;
  padding-top: 8px;
}

.rv-feed-more {
  appearance: none;
  min-width: 220px;
  border: 1.5px solid #1a1a1a;
  background: #fff;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 32px;
  cursor: pointer;
}

.rv-feed-more[hidden] {
  display: none;
}

.rv-feed-more:disabled {
  opacity: 0.5;
  cursor: default;
}

.rv-feed-sentinel {
  width: 1px;
  height: 1px;
}

@media (min-width: 768px) {
  .rv-feed-page {
    padding: 28px 24px 80px;
  }

  .rv-feed-mbar {
    display: none;
  }

  .rv-feed-title {
    font-size: 28px;
  }

  .rv-feed-head {
    margin: 0 0 18px;
  }

  .rv-feed-toolbar {
    margin: 0 0 24px;
    padding-bottom: 18px;
  }

  .rv-feed-grid {
    column-count: 2;
    column-gap: 16px;
  }
}

/* 고정 GNB + PC 3열 masonry (4열 없음).
   .wh-root 가 모바일 720px 캡이라 피드가 좁아짐 → 이 페이지에서만 해제 */
@media (min-width: 1024px) {
  html.index-force-desktop-ui:has(.rv-feed-page) .wh-root.index {
    max-width: none !important;
    width: 100%;
  }

  html.index-force-desktop-ui .rv-feed-page {
    padding-top: calc(var(--r26-dt-base-header-h, 108px) + 32px);
    max-width: 1120px;
  }

  .rv-feed-grid {
    column-count: 3;
    column-gap: 16px;
  }
}

body.rv-feed-modal-open {
  overflow: hidden;
}

.rv-feed-modal[hidden] {
  display: none !important;
}

.rv-feed-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rv-feed-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.rv-feed-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 20px 28px;
  box-sizing: border-box;
}

.rv-feed-modal-close {
  appearance: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 18px;
  background: #f3f3f3;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-feed-modal-listing {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px 36px 16px 0;
  border-bottom: 1px solid #eee;
  margin: 0 0 16px;
}

.rv-feed-modal-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f2f2f2;
}

.rv-feed-modal-listing-copy {
  min-width: 0;
}

.rv-feed-modal-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #1a1a1a;
  word-break: keep-all;
}

.rv-feed-modal-loc,
.rv-feed-modal-list-meta {
  margin: 0;
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

.rv-feed-modal-reviewer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.rv-feed-modal-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.rv-feed-modal-date {
  font-size: 12px;
  color: #b0b0b0;
}

.rv-feed-modal-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.rv-feed-modal-tr {
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rv-feed-modal-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #2a2a2a;
  white-space: pre-wrap;
  word-break: keep-all;
}

.rv-feed-modal-reply {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f7f7;
}

.rv-feed-modal-reply-k {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  margin: 0 0 6px;
}

.rv-feed-modal-reply-t {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  white-space: pre-wrap;
  word-break: keep-all;
}

.rv-feed-modal-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 8px;
}

.rv-feed-modal-photos[hidden] {
  display: none;
}

.rv-feed-modal-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #f2f2f2;
}

.rv-feed-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 16px;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 768px) {
  .rv-feed-modal {
    align-items: center;
    padding: 24px;
  }

  .rv-feed-modal-dialog {
    border-radius: 16px;
    max-height: 86vh;
  }
}
