:root { --rv-header-offset: 104px; }

/* Page */
.rv-page-content { margin-top: var(--rv-header-offset); padding: 0 !important; background: #f8f9fa; }
.rv-original-index[hidden] { display: none !important; }
#rv-index { background: #f8f9fa; color: #312d21; font-family: 'Lora', serif; }
#rv-index *,
#rv-index *::before,
#rv-index *::after { box-sizing: border-box; }
#rv-index .rv-stage { display: grid; grid-template-columns: minmax(420px, 520px) 1fr; gap: 56px; width: 100%; max-width: 100rem; height: calc(100vh - var(--rv-header-offset)); min-height: 560px; margin: 0 auto; padding: 0 1.875rem; align-items: stretch; }
#rv-index .rv-listcol { display: flex; min-width: 0; min-height: 0; padding: 36px 0 20px; flex-direction: column; }
#rv-index .rv-listcol > .alert { flex: none; margin-bottom: 14px; }

/* Heading */
#rv-index .rv-topline { display: flex; flex: none; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 14px; }
#rv-index .rv-topline h1 { margin: 0; color: #312d21; font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: 0.03em; text-transform: uppercase; }
#rv-index .rv-legend { display: flex; gap: 16px; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; }
#rv-index .rv-legend .lg { display: flex; align-items: center; gap: 6px; color: rgba(49, 45, 33, 0.7); white-space: nowrap; }
#rv-index .rv-legend .dotb,
#rv-index .rv-legend .dote { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; }
#rv-index .rv-legend .dotb { background: #4a69d9; }
#rv-index .rv-legend .dote { background: #312d21; }

/* Search */
#rv-searchwrap { position: relative; flex: none; margin: 0 0 14px; }
#rv-search { width: 100%; padding: 13px 40px 13px 44px; border: 0.75px solid rgba(49, 45, 33, 0.28); border-radius: 5px; outline: none; background: #fff; color: #312d21; font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.4; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
#rv-search::-webkit-search-cancel-button { display: none; }
#rv-search::placeholder { color: rgba(49, 45, 33, 0.45); opacity: 1; }
#rv-search:focus { border-color: #4a69d9; box-shadow: 0 0 0 3px rgba(74, 105, 217, 0.12); }
#rv-searchwrap .rv-si { position: absolute; top: 50%; left: 16px; z-index: 1; width: 16px; height: 16px; transform: translateY(-50%); color: rgba(49, 45, 33, 0.4); pointer-events: none; }
#rv-searchwrap .rv-clear { position: absolute; top: 50%; right: 10px; z-index: 1; width: 30px; height: 30px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; color: rgba(49, 45, 33, 0.5); font-family: Arial, sans-serif; font-size: 22px; line-height: 30px; text-align: center; transition: color 0.2s, background-color 0.2s; }
#rv-searchwrap .rv-clear:hover { background: rgba(74, 105, 217, 0.08); color: #4a69d9; }
#rv-searchwrap .rv-clear:focus-visible { outline: 2px solid #4a69d9; outline-offset: 1px; }

/* Property List */
#rv-index .rv-scroll { min-height: 0; overflow-x: hidden; overflow-y: auto; flex: 1; border-top: 1px solid rgba(49, 45, 33, 0.14); scrollbar-color: rgba(49, 45, 33, 0.3) transparent; scrollbar-width: thin; overscroll-behavior: contain; }
#rv-index .rv-scroll::-webkit-scrollbar { width: 6px; }
#rv-index .rv-scroll::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(49, 45, 33, 0.25); }
#rv-index .rv-row { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 10px; border-bottom: 1px solid rgba(49, 45, 33, 0.12); color: #312d21; text-decoration: none; cursor: pointer; transition: padding 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.28s, color 0.2s; }
#rv-index .rv-row:hover,
#rv-index .rv-row:focus-visible { padding-left: 24px; outline: none; background: rgba(74, 105, 217, 0.05); color: #312d21; text-decoration: none; }
#rv-index .rv-row:focus-visible { box-shadow: inset 3px 0 0 #4a69d9; }
#rv-index .rv-num { width: 26px; flex: none; color: rgba(49, 45, 33, 0.45); font-family: 'Montserrat', sans-serif; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
#rv-index .rv-rowmid { min-width: 0; flex: 1; }
#rv-index .rv-name { display: block; font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.2; transition: color 0.2s; }
#rv-index .rv-row:hover .rv-name,
#rv-index .rv-row:focus-visible .rv-name { color: #4a69d9; }
#rv-index .rv-meta { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
#rv-index .rv-loc { flex: none; padding: 3px 9px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; }
#rv-index .rv-loc.vail { background: rgba(49, 45, 33, 0.1); color: #312d21; }
#rv-index .rv-loc.bc { background: rgba(74, 105, 217, 0.14); color: #4a69d9; }
#rv-index .rv-stats { display: flex; gap: 14px; color: rgba(49, 45, 33, 0.72); font-family: 'Lora', serif; font-size: 14px; font-weight: 500; line-height: 1.35; }
#rv-index .rv-stats b { color: #312d21; font-weight: 700; }
#rv-index .rv-arrow { flex: none; color: rgba(49, 45, 33, 0.35); font-size: 17px; line-height: 1; transition: color 0.25s, transform 0.25s; }
#rv-index .rv-row:hover .rv-arrow,
#rv-index .rv-row:focus-visible .rv-arrow { transform: translate(3px, -3px); color: #4a69d9; }
#rv-noresults { padding: 24px 10px; color: rgba(49, 45, 33, 0.55); font-family: 'Lora', serif; font-size: 16px; font-style: italic; }

/* Property Image */
#rv-index .rv-imgcol { display: flex; height: 100%; min-width: 0; align-items: center; justify-content: center; }
#rv-index .rv-imgframe { position: relative; width: min(100%, calc(100vh - 150px)); max-width: 900px; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; border-radius: 26px; background: rgba(49, 45, 33, 0.04); box-shadow: 0 28px 80px rgba(49, 45, 33, 0.2); }
#rv-index .rv-preview { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 26px; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.5s ease, transform 6s ease; }
#rv-index .rv-preview.on { opacity: 1; transform: scale(1.06); }
#rv-index .rv-prompt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 30px; color: rgba(49, 45, 33, 0.4); font-family: 'Lora', serif; font-size: 19px; font-style: italic; text-align: center; transition: opacity 0.25s; }
#rv-index .rv-prompt.off { opacity: 0; pointer-events: none; }
#rv-index .rv-imgcap { position: absolute; right: 0; bottom: 0; left: 0; display: block; padding: 58px 28px 26px; border-radius: 0 0 26px 26px; background: linear-gradient(to top, rgba(49, 45, 33, 0.92), rgba(49, 45, 33, 0)); color: #fff; opacity: 0; transition: opacity 0.4s; }
#rv-index .rv-imgcap.on { opacity: 1; }
#rv-index .rv-imgcap .cn { display: block; font-family: 'Montserrat', sans-serif; font-size: 23px; font-weight: 500; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; }
#rv-index .rv-imgcap .cs { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-family: 'Lora', serif; font-size: 13px; line-height: 1.4; letter-spacing: 0.05em; opacity: 0.92; }
#rv-index .rv-imgcap .cloc { flex: none; padding: 2px 8px; border-radius: 999px; background: #4a69d9; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
#rv-index .rv-imgcap .cloc.vail { background: rgba(255, 255, 255, 0.22); }

@media (max-width: 1200px) and (min-width: 901px) {
  #rv-index .rv-stage { grid-template-columns: minmax(390px, 460px) 1fr; gap: 32px; padding: 0 30px; }
  #rv-index .rv-name { font-size: 18px; }
  #rv-index .rv-stats { gap: 9px; font-size: 13px; }
}

@media (max-width: 900px) {
  .rv-page-content { margin-top: var(--rv-header-offset); }
  #rv-index .rv-stage { display: block; height: auto; min-height: 0; padding: 0 24px; }
  #rv-index .rv-listcol { padding: 28px 0 36px; }
  #rv-index .rv-scroll { overflow: visible; }
  #rv-index .rv-imgcol { display: none; }
}

@media (max-width: 560px) {
  #rv-index .rv-stage { padding: 0 18px; }
  #rv-index .rv-topline { align-items: flex-start; flex-direction: column; gap: 10px; }
  #rv-index .rv-legend { gap: 12px; font-size: 10px; }
  #rv-index .rv-row { align-items: flex-start; gap: 10px; padding: 15px 4px; }
  #rv-index .rv-row:hover,
  #rv-index .rv-row:focus-visible { padding-left: 10px; }
  #rv-index .rv-num { width: 23px; padding-top: 3px; }
  #rv-index .rv-name { font-size: 17px; }
  #rv-index .rv-meta,
  #rv-index .rv-stats { align-items: flex-start; flex-wrap: wrap; }
  #rv-index .rv-meta { gap: 8px 10px; }
  #rv-index .rv-stats { gap: 4px 10px; font-size: 13px; }
  #rv-index .rv-arrow { padding-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  #rv-index .rv-row,
  #rv-index .rv-name,
  #rv-index .rv-arrow,
  #rv-index .rv-preview,
  #rv-index .rv-imgcap,
  #rv-index .rv-prompt { transition: none; }
}
