/* revolv® Rental Listings — v2.0.0 Editorial redesign (2026-04-21) */

/* Hide the theme's default banner on the rentals page */
body.page-rentals .revolv-page-banner,
body.page-id-104 .revolv-page-banner { display: none !important; }

/* ---- Editorial hero (full-bleed) ---- */
.revolv-rv-hero {
	position: relative;
	background:
		radial-gradient(ellipse at 85% 15%, rgba(232, 124, 42, 0.28) 0%, rgba(232, 124, 42, 0) 55%),
		radial-gradient(ellipse at 15% 85%, rgba(232, 124, 42, 0.12) 0%, rgba(232, 124, 42, 0) 50%),
		linear-gradient(135deg, #0f1419 0%, #1a1f2e 60%, #23293a 100%);
	color: #fff;
	padding: clamp(56px, 8vw, 100px) 24px clamp(44px, 6vw, 72px);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	box-sizing: border-box;
	border-bottom: 3px solid #e87c2a;
	margin-bottom: 40px;
	overflow: hidden;
}
.revolv-rv-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
}
.revolv-rv-eyebrow {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.2em;
	color: #e87c2a;
	margin: 0 0 22px;
	text-transform: uppercase;
}
.revolv-rv-title {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-weight: 700;
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	line-height: 1;
	letter-spacing: -0.005em;
	margin: 0 0 24px;
	color: #fff;
	text-transform: uppercase;
}
.revolv-rv-title-accent {
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.revolv-rv-lede {
	font-size: clamp(1.02rem, 1.4vw, 1.2rem);
	font-weight: 700;
	line-height: 1.5;
	color: #e2e8f0;
	max-width: 680px;
	margin: 0 0 30px;
}
.revolv-rv-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
}
.revolv-rv-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-size: 0.88rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #cbd5e0;
}
.revolv-rv-meta-dot {
	width: 8px; height: 8px;
	background: #e87c2a;
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(232, 124, 42, 0.7);
}

/* ---- App container ---- */
#revolv-rentals-app {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #2d3748;
}

/* ---- Search filter card ---- */
.rv-search-card {
	position: relative;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 36px 32px 28px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
	margin-bottom: 32px;
	overflow: hidden;
}
.rv-search-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.rv-search-kicker {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #e87c2a;
	margin: 0 0 8px;
}
.rv-search-title {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-weight: 700;
	font-size: 1.6rem;
	color: #1a202c;
	margin: 0 0 20px;
	text-transform: none;
}

.rv-filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.rv-filters select {
	flex: 1 1 180px;
	padding: 12px 16px;
	font-size: .95rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #2d3748;
	min-width: 160px;
	cursor: pointer;
	outline: none;
	transition: border-color .2s;
}
.rv-filters select:focus { border-color: #e87c2a; }
.rv-filters button {
	padding: 12px 32px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	letter-spacing: 0.02em;
}
.rv-filters button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(232, 124, 42, 0.35);
}

/* ---- Loading ---- */
#rv-loading { text-align: center; padding: 60px 20px; }
.rv-spinner {
	width: 44px; height: 44px;
	border: 4px solid #e2e8f0; border-top-color: #e87c2a;
	border-radius: 50%; margin: 0 auto 16px;
	animation: rv-spin .8s linear infinite;
}
@keyframes rv-spin { to { transform: rotate(360deg); } }
#rv-loading p { color: #718096; }

/* ---- Results count ---- */
.rv-count {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #4a5568;
	margin: 0 0 18px;
}

/* ---- Grid ---- */
.rv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.rv-card {
	position: relative;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 26px 24px 22px;
	overflow: hidden;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rv-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
	opacity: 0;
	transition: opacity .2s;
}
.rv-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	border-color: #e87c2a;
}
.rv-card:hover::before { opacity: 1; }

.rv-card-price {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0 0 6px;
	line-height: 1;
}
.rv-card-price span {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: .8rem;
	font-weight: 500;
	color: #a0aec0;
	background: none;
	-webkit-text-fill-color: #a0aec0;
	margin-left: 4px;
}
.rv-card-address {
	font-weight: 600;
	font-size: .98rem;
	color: #1a202c;
	margin: 0 0 14px;
	line-height: 1.35;
}
.rv-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.rv-tag {
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: .8rem;
	color: #4a5568;
	font-weight: 500;
}
.rv-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: .78rem;
	color: #a0aec0;
	padding-top: 10px;
	border-top: 1px solid #edf2f7;
}
.rv-type-badge {
	background: rgba(232, 124, 42, 0.1);
	color: #e87c2a;
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 4px;
}

/* ---- Empty ---- */
.rv-empty-card {
	position: relative;
	text-align: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	padding: 60px 32px;
	overflow: hidden;
}
.rv-empty-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.rv-empty-card h3 {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-size: 1.5rem;
	color: #1a202c;
	margin: 0 0 12px;
}
.rv-empty-card p { color: #6b7280; margin: 0; }

/* ---- CTA ---- */
.rv-cta {
	position: relative;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 36px 32px 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
	margin-top: 16px;
	overflow: hidden;
}
.rv-cta::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.rv-cta-kicker {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #e87c2a;
	margin: 0 0 8px;
}
.rv-cta h3 {
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-weight: 700;
	font-size: 1.6rem;
	margin: 0 0 10px;
	color: #1a202c;
	text-transform: none;
}
.rv-cta p {
	color: #4a5568;
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.55;
	max-width: 680px;
}

.rv-contact-form {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: start;
}
.rv-contact-form input[type="text"],
.rv-contact-form input[type="email"],
.rv-contact-form input[type="tel"] {
	padding: 12px 14px;
	font-size: .95rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	outline: none;
	transition: border-color .2s;
	width: 100%;
	box-sizing: border-box;
}
.rv-contact-form input:focus { border-color: #e87c2a; }
.rv-contact-form .rcrm-sms-consent {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #475569;
	line-height: 1.4;
	margin-top: 4px;
	text-align: left;
}
.rv-contact-form .rcrm-sms-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: auto;
}
.rv-contact-form .rcrm-sms-consent a { color: #e87c2a; text-decoration: underline; }
.rv-contact-form button[type="submit"] {
	grid-column: 1 / -1;
	padding: 14px 28px;
	font-family: "Oswald","Arial Narrow",sans-serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	margin-top: 6px;
	justify-self: start;
}
.rv-contact-form button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(232, 124, 42, 0.35);
}

/* ---- Toast ---- */
.rv-toast {
	position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
	background: #276749; color: #fff; padding: 14px 28px; border-radius: 8px;
	font-weight: 600; font-size: .95rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	z-index: 99999; animation: rv-fade .3s;
}
@keyframes rv-fade { from { opacity:0; transform: translateX(-50%) translateY(20px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* ---- Tablet ---- */
@media (max-width: 900px) {
	.rv-contact-form { grid-template-columns: repeat(2, 1fr); }
	.rv-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
	.revolv-rv-meta { gap: 14px 22px; }
	.revolv-rv-meta-item { font-size: 0.78rem; }
	#revolv-rentals-app { padding: 0 16px 40px; }
	.rv-search-card { padding: 28px 22px 22px; }
	.rv-search-title { font-size: 1.35rem; }
	.rv-filters { flex-direction: column; align-items: stretch; }
	.rv-filters select { min-width: auto; width: 100%; }
	.rv-filters button { width: 100%; min-height: 48px; }
	.rv-grid { grid-template-columns: 1fr; }
	.rv-contact-form { grid-template-columns: 1fr; }
	.rv-cta { padding: 28px 22px 24px; }
	.rv-cta h3 { font-size: 1.35rem; }
}
