/* RV Listings & Requests: light styles that sit inside the Astra theme. */
.rvl-grid, .rvl-details, .rvl-form, .rvl-mine, .rvl-limit, .rvl-ok, .rvl-btn {
	--rvl-navy: #0B2A5B;
	--rvl-blue: #1E78E0;
	--rvl-green: #23873A;
	--rvl-line: #E3E6EA;
	--rvl-soft: #F5F8FC;
}
.rvl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 0 0 24px;
}
.rvl-card {
	border: 1px solid var(--rvl-line);
	border-radius: 10px;
	padding: 16px;
	background: #fff;
}
.rvl-card.rvl-featured { border-color: var(--rvl-green); box-shadow: 0 0 0 1px var(--rvl-green) inset; }
.rvl-card h3 { margin: 4px 0 6px; font-size: 1.05rem; line-height: 1.3; }
.rvl-card h3 a { color: var(--rvl-navy); text-decoration: none; }
.rvl-card h3 a:hover { color: var(--rvl-blue); }
.rvl-kind { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--rvl-green); font-weight: 600; }
.rvl-meta { color: var(--rvl-blue); font-weight: 600; margin: 0 0 6px; }
.rvl-card p { margin: 0; font-size: .95rem; }

.rvl-details { border: 1px solid var(--rvl-line); border-radius: 10px; background: var(--rvl-soft); padding: 16px; margin: 0 0 24px; }
.rvl-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 8px; }
.rvl-details dt { font-weight: 600; color: var(--rvl-navy); }
.rvl-details dd { margin: 0; }

.rvl-btn { display: inline-block; background: var(--rvl-blue); color: #fff !important; padding: 10px 18px; border-radius: 8px; text-decoration: none; border: 0; cursor: pointer; font-weight: 600; }
.rvl-btn:hover { background: var(--rvl-navy); }

.rvl-form { max-width: 640px; }
.rvl-form input[type=text], .rvl-form input[type=email], .rvl-form input[type=url],
.rvl-form input[type=number], .rvl-form input[type=date], .rvl-form select, .rvl-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.rvl-form fieldset { border: 1px solid var(--rvl-line); border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; }
.rvl-form fieldset label { margin-right: 16px; white-space: nowrap; }
.rvl-form .rvl-field-checkbox input, .rvl-form fieldset input { width: auto; }
.rvl-hp { position: absolute; left: -9999px; }
.rvl-ok { background: #E8F5EC; border-left: 4px solid var(--rvl-green); padding: 10px 14px; }
.rvl-limit { background: var(--rvl-soft); border-left: 4px solid var(--rvl-blue); padding: 12px 16px; }
.rvl-empty { color: #5A6272; }

.rvl-mine { width: 100%; border-collapse: collapse; }
.rvl-mine th, .rvl-mine td { text-align: left; padding: 8px; border-bottom: 1px solid var(--rvl-line); }

@media (max-width: 600px) {
	.rvl-details dl { grid-template-columns: 1fr; }
	.rvl-mine thead { display: none; }
	.rvl-mine tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--rvl-line); }
	.rvl-mine td { display: inline-block; border: 0; padding: 2px 8px 2px 0; }
}
