/* ── RR Listings Front-End Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Jost:wght@300;400;500&display=swap');

:root {
  --rr-gold:      #b8922e;
  --rr-dark:      #1a1a1a;
  --rr-mid:       #4a4a4a;
  --rr-muted:     #888;
  --rr-border:    #e0d8cc;
  --rr-off-white: #faf8f5;
}

.rr-listings-wrap {
  font-family: 'Jost', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

/* Filter buttons */
.rr-listings-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.rr-filter-btn {
  background: #fff;
  color: var(--rr-dark);
  border: 1px solid var(--rr-border);
  padding: 10px 22px;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rr-filter-btn:hover,
.rr-filter-btn.active {
  background: var(--rr-gold);
  color: #fff;
  border-color: var(--rr-gold);
}

/* Region section */
.rr-region-section { margin-bottom: 56px; }

.rr-region-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rr-border);
}

.rr-region-icon { font-size: 1.6rem; }

.rr-region-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.9rem;
  color: var(--rr-dark);
  margin: 0;
  flex: 1;
}

.rr-region-count {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rr-muted);
  background: var(--rr-off-white);
  border: 1px solid var(--rr-border);
  padding: 4px 12px;
}

/* Card grid */
.rr-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Card */
.rr-card {
  background: #fff;
  border: 1px solid var(--rr-border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.rr-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* Card image */
.rr-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--rr-off-white);
}

.rr-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rr-card:hover .rr-card-image img { transform: scale(1.04); }

.rr-card-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--rr-off-white);
}

.rr-card-region-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26,26,26,0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
}

/* Card body */
.rr-card-body { padding: 22px; }

.rr-card-city {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rr-gold);
  margin: 0 0 6px;
}

.rr-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--rr-dark);
  margin: 0 0 10px;
  line-height: 1.3;
}

.rr-card-desc {
  font-size: 0.875rem;
  color: var(--rr-mid);
  line-height: 1.65;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rr-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--rr-border);
}

.rr-meta-item {
  font-size: 0.8rem;
  color: var(--rr-mid);
  font-weight: 400;
}

/* No listings */
.rr-no-listings {
  text-align: center;
  color: var(--rr-muted);
  font-size: 1rem;
  padding: 60px 20px;
  border: 1px dashed var(--rr-border);
  background: var(--rr-off-white);
}

/* Responsive */
@media (max-width: 600px) {
  .rr-cards-grid { grid-template-columns: 1fr; }
  .rr-region-header h2 { font-size: 1.5rem; }
}
