.rc-container { max-width: 1200px; margin: 0 auto; padding: 24px 16px; font-family: var(--rc-font-body); color: var(--rc-secondary); }

.rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; font-weight: 600; font-size: 14px; border-radius: var(--rc-radius); border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease; text-decoration: none; }
.rc-btn-primary { background-color: var(--rc-primary); color: #ffffff; }
.rc-btn-primary:hover { background-color: var(--rc-primary-hover); }
.rc-btn-outline { background-color: transparent; border-color: var(--rc-border-hover); color: var(--rc-text-main); }
.rc-btn-outline:hover { background-color: var(--rc-background); border-color: var(--rc-border-hover); }
.rc-btn-lg { padding: 14px 28px; font-size: 16px; }
.rc-btn-sm { padding: 6px 12px; font-size: 13px; }
.rc-btn-full { width: 100%; }

.rc-card { background: var(--rc-surface); border-radius: var(--rc-radius); border: 1px solid var(--rc-border); box-shadow: var(--rc-shadow-sm); padding: 24px; }

.rc-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.rc-badge-type { background-color: #e0f2fe; color: #0369a1; }
.rc-badge-location { background-color: #f1f5f9; color: #475569; }
.rc-badge-occupied { background-color: #fee2e2; color: #991b1b; }

.rc-search-container { margin-bottom: 32px; }
.rc-search-title { font-family: var(--rc-font-heading); font-size: 24px; font-weight: 700; color: var(--rc-secondary); margin: 0 0 6px 0; }
.rc-filter-form { display: flex; flex-direction: column; gap: 16px; }
.rc-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rc-filter-field { display: flex; flex-direction: column; gap: 6px; }
.rc-filter-field label { font-size: 13px; font-weight: 600; color: #334155; }
.rc-input { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: var(--rc-radius); font-size: 14px; box-sizing: border-box; }

.rc-geo-filter-bar { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--rc-radius); padding: 14px; }
.rc-geo-toggle-wrap { display: flex; align-items: center; justify-content: space-between; }
.rc-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }

.rc-listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.rc-listing-card { background: var(--rc-surface); border-radius: var(--rc-radius); border: 1px solid var(--rc-border); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.rc-listing-card:hover { transform: translateY(-4px); box-shadow: var(--rc-shadow-lg); }
.rc-card-media { position: relative; height: 200px; background-color: #f1f5f9; }
.rc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rc-card-badge-price { position: absolute; bottom: 12px; left: 12px; background: rgba(15, 23, 42, 0.85); color: #ffffff; padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 15px; }
.rc-card-dist-badge { position: absolute; top: 12px; right: 12px; background: var(--rc-accent); color: #ffffff; padding: 4px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.rc-card-body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.rc-card-title { font-size: 17px; font-weight: 700; margin: 0 0 6px 0; color: var(--rc-secondary); }
.rc-card-specs { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; color: #334155; padding-top: 12px; border-top: 1px solid #f1f5f9; margin-top: auto; }
.rc-card-footer { padding: 12px 16px; background: #f8fafc; border-top: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }

/* Favorite/save button placement on a listing card's media area (top-right,
   dropping below the type/featured badges which sit top-left). Sizing,
   shape, and colors are duplicated here (not just positioning) rather than
   relying purely on Tenant Account's stylesheet having loaded first — two
   independent plugins' stylesheets have no guaranteed load order relative
   to each other. */
.rc-card-media .rc-favorite-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	line-height: 1;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--rc-border-hover);
	border-radius: 50%;
	color: #64748b;
	cursor: pointer;
	box-shadow: var(--rc-shadow-sm);
}
.rc-card-media .rc-favorite-btn svg {
	width: 20px;
	height: 20px;
	display: block;
}
.rc-card-media .rc-favorite-btn.is-favorited {
	color: #dc2626;
	border-color: #dc2626;
}

/* Favorite/save button placement on the single-listing page's top bar,
   next to the price tag. */
.rc-listing-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.rc-listing-top-bar .rc-favorite-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	line-height: 1;
	margin-left: 8px;
	background-color: #ffffff;
	border: 1px solid var(--rc-border-hover);
	border-radius: 50%;
	color: #64748b;
	cursor: pointer;
}
.rc-listing-top-bar .rc-favorite-btn svg {
	width: 20px;
	height: 20px;
	display: block;
}
.rc-listing-top-bar .rc-favorite-btn.is-favorited {
	color: #dc2626;
	border-color: #dc2626;
}

/* FIX: the button's SVG ships with a hardcoded `fill` presentation
   attribute set at render time (fill="none" or fill="currentColor",
   baked in by search.js based on the listing's initial favorited state).
   The click handler only ever toggles the `.is-favorited` class — it
   never touches that attribute — so without this rule, clicking only
   ever changed `color`/`border-color` (i.e. the stroke/ring), and the
   heart itself never actually filled in. A CSS `fill` property always
   overrides a plain SVG presentation attribute, so this forces the fill
   to follow `.is-favorited` with no JS changes needed. */
.rc-card-media .rc-favorite-btn.is-favorited svg,
.rc-listing-top-bar .rc-favorite-btn.is-favorited svg {
	fill: currentColor;
}

/* Front-End Submission Form Styles */
.rc-submit-container { max-width: 800px; margin: 0 auto 40px; }
.rc-submit-header { margin-bottom: 24px; text-align: center; }
.rc-submit-title { font-family: var(--rc-font-heading); font-size: 26px; font-weight: 700; color: var(--rc-secondary); margin: 0 0 8px; }
.rc-submit-subtitle { color: #64748b; font-size: 15px; margin: 0; }

.rc-auth-notice { text-align: center; padding: 40px 20px; }
.rc-auth-icon { font-size: 40px; margin-bottom: 16px; }
.rc-auth-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; color: var(--rc-secondary); }
.rc-auth-desc { color: #475569; font-size: 15px; max-width: 500px; margin: 0 auto 20px; }
.rc-auth-subtext { color: #94a3b8; font-size: 13px; margin-top: 12px; }

.rc-error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--rc-radius); padding: 16px 20px; margin-bottom: 24px; color: #991b1b; }
.rc-error-title { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.rc-error-list { margin: 0; padding-left: 20px; font-size: 13px; }

.rc-form-section { border: 1px solid #e2e8f0; border-radius: var(--rc-radius); padding: 20px; margin-bottom: 24px; background: #fafafa; }
.rc-section-title { font-size: 16px; font-weight: 700; color: var(--rc-secondary); padding: 0 8px; }
.rc-form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.rc-form-group label { font-size: 13px; font-weight: 600; color: #334155; }
.rc-form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rc-form-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }

.rc-amenities-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.rc-amenity-checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #334155; cursor: pointer; background: #ffffff; padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: var(--rc-radius); }
.rc-amenity-checkbox-item:hover { border-color: #cbd5e1; background: #f8fafc; }

.rc-file-input { background: #ffffff; padding: 8px; }
.rc-hint-text { font-size: 12px; color: #64748b; margin: 4px 0 0; }
.rc-submit-actions { margin-top: 24px; text-align: center; }
.rc-submit-terms-note { font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* My Listings (front-end landlord listing management) */
.rc-my-listings-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rc-my-listing-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: var(--rc-radius); background: #fafafa; flex-wrap: wrap; }
.rc-my-listing-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rc-my-listing-title { font-weight: 700; font-size: 15px; color: var(--rc-secondary); text-decoration: none; }
.rc-my-listing-title:hover { text-decoration: underline; }
.rc-my-listing-meta { font-size: 13px; color: #64748b; }
.rc-my-listing-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rc-status-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 9999px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
/* ============================================================
   Single Listing Page — previously entirely undefined in this
   stylesheet. The template (single-rentconnect_listing.php) has
   referenced these classes since before this plugin was handed off
   for feature work; none of them existed anywhere, so the page was
   rendering as unstyled default browser markup. Added in full here.
   ============================================================ */

.rc-status-vacant { background-color: #dcfce7; color: #166534; }
.rc-status-occupied { background-color: #fee2e2; color: #991b1b; }

.rc-single-listing-wrapper { padding: 24px 0 64px; font-family: var(--rc-font-body); color: var(--rc-secondary); }

.rc-listing-taxonomies { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.rc-listing-price-tag { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.rc-price-amount { font-size: 24px; font-weight: 800; color: var(--rc-primary); }
.rc-price-period { font-size: 14px; color: #64748b; }

.rc-listing-header { margin: 20px 0 16px; }
.rc-listing-title { font-family: var(--rc-font-heading); font-size: 30px; font-weight: 800; color: var(--rc-secondary); margin: 0 0 8px 0; line-height: 1.25; }
.rc-listing-address { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 15px; margin: 0; }

.rc-listing-gallery-section { margin-bottom: 32px; }
.rc-main-photo-stage { border-radius: var(--rc-radius); overflow: hidden; background: #f1f5f9; height: 480px; }
.rc-main-photo-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-gallery-strip { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.rc-gallery-thumb-item { flex-shrink: 0; width: 92px; height: 68px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.7; transition: all 0.15s ease; }
.rc-gallery-thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-gallery-thumb-item:hover { opacity: 1; }
.rc-gallery-thumb-item.active { border-color: var(--rc-primary); opacity: 1; }

.rc-listing-content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.rc-listing-main-col { min-width: 0; }
.rc-listing-sidebar-col { position: sticky; top: 24px; }

.rc-key-specs-card { display: flex; align-items: stretch; padding: 20px 24px; margin-bottom: 28px; }
.rc-spec-item { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rc-spec-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; font-weight: 600; }
.rc-spec-val { font-size: 16px; font-weight: 700; color: var(--rc-secondary); }
.rc-spec-divider { width: 1px; background: #e2e8f0; margin: 0 20px; }

.rc-listing-section { margin-bottom: 32px; }
.rc-section-heading { font-family: var(--rc-font-heading); font-size: 19px; font-weight: 700; color: var(--rc-secondary); margin: 0 0 14px 0; }
.rc-description-content { font-size: 15px; line-height: 1.7; color: #334155; }

.rc-amenities-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.rc-amenity-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--rc-radius); font-size: 14px; color: #334155; }
.rc-amenity-icon { color: #16a34a; font-weight: 700; flex-shrink: 0; }
.rc-amenity-name { font-size: 14px; color: #334155; }

.rc-video-embed-container { position: relative; padding-top: 56.25%; border-radius: var(--rc-radius); overflow: hidden; background: #0f172a; }
.rc-video-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.rc-virtual-tour-container { border-radius: var(--rc-radius); overflow: hidden; }
.rc-virtual-tour-container iframe { display: block; border: 0; border-radius: var(--rc-radius); }

.rc-landlord-contact-card { padding: 24px; }
.rc-landlord-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rc-landlord-avatar img { border-radius: 50%; width: 56px; height: 56px; object-fit: cover; display: block; }
.rc-avatar-fallback { width: 56px; height: 56px; border-radius: 50%; background: #e2e8f0; color: #64748b; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.rc-landlord-info { display: flex; flex-direction: column; gap: 4px; }
.rc-landlord-name { font-size: 16px; font-weight: 700; color: var(--rc-secondary); margin: 0; }
.rc-landlord-name a { color: inherit; text-decoration: none; }
.rc-landlord-name a:hover { text-decoration: underline; }
.rc-verified-badge { display: inline-flex; align-items: center; width: fit-content; background: #ecfdf5; color: #059669; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 9999px; }
.rc-landlord-note { font-size: 14px; color: #64748b; line-height: 1.5; margin: 0 0 20px 0; }
.rc-owner-notice { text-align: center; padding: 12px; background: #f8fafc; border-radius: var(--rc-radius); color: #64748b; font-size: 14px; margin: 0; }

.rc-guest-inquiry-box { margin-top: 16px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.rc-inquiry-title { font-size: 15px; font-weight: 700; color: var(--rc-secondary); margin: 0 0 6px 0; }
.rc-inquiry-desc { font-size: 13px; color: #64748b; margin: 0 0 14px 0; }
.rc-guest-inquiry-form { display: flex; flex-direction: column; gap: 10px; }
.rc-input-sm { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: var(--rc-radius); font-size: 14px; font-family: inherit; box-sizing: border-box; }
.rc-input-sm:focus { outline: none; border-color: var(--rc-primary); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12); }
textarea.rc-input-sm { resize: vertical; }

.rc-disclaimer-sm { font-size: 11px; color: #94a3b8; text-align: center; margin: 16px 0 0 0; }
.rc-error-message { font-size: 13px; color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 8px 12px; }
.rc-success-message { font-size: 13px; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 10px 12px; }

@media (max-width: 900px) {
	.rc-listing-content-grid { grid-template-columns: 1fr; }
	.rc-listing-sidebar-col { position: static; }
	.rc-main-photo-stage { height: 320px; }
	.rc-key-specs-card { flex-wrap: wrap; gap: 16px; }
	.rc-spec-divider { display: none; }
}

/* Compare checkbox on listing cards */
.rc-compare-toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	margin-top: 10px;
	user-select: none;
}
.rc-compare-toggle-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: var(--rc-primary, #2563eb);
}

/* Floating compare bar */
.rc-compare-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	background: #0f172a;
	color: #ffffff;
	box-shadow: var(--rc-shadow-xl);
}
.rc-compare-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.rc-compare-bar-items {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.rc-compare-bar-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 4px 6px 4px 12px;
	font-size: 12px;
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rc-compare-bar-remove {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #ffffff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	cursor: pointer;
	line-height: 1;
	flex-shrink: 0;
}
.rc-compare-bar-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.rc-compare-bar-hint {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}
.rc-compare-bar .rc-btn-outline {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}
.rc-compare-bar .rc-btn-outline:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* Comparison table page */
.rc-compare-header { margin-bottom: 24px; }
.rc-compare-table-wrap { overflow-x: auto; padding-bottom: 80px; }
.rc-compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.rc-compare-table th,
.rc-compare-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
}
.rc-compare-row-label { font-weight: 600; color: #334155; white-space: nowrap; background: #f8fafc; }
.rc-compare-col { min-width: 180px; }
.rc-compare-listing-header { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rc-compare-thumb { width: 100%; max-width: 160px; height: 100px; object-fit: cover; border-radius: 6px; }
.rc-compare-title-link { font-weight: 700; color: var(--rc-secondary); text-decoration: none; }
.rc-compare-title-link:hover { text-decoration: underline; }
.rc-compare-remove-link { font-size: 12px; color: #dc2626; text-decoration: none; }
.rc-compare-remove-link:hover { text-decoration: underline; }
.rc-compare-price { font-weight: 700; color: var(--rc-primary); }
.rc-compare-check { color: #16a34a; font-weight: 700; }
.rc-compare-dash { color: #cbd5e1; }
.rc-compare-amenity-cell { text-align: center; }

/* Homepage Shortcode [rentconnect_homepage] Styles */
.rc-homepage-wrapper { font-family: var(--rc-font-body); color: var(--rc-secondary); }

/* 1. Hero Section */
.rc-home-hero {
	background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.82)), url('https://images.unsplash.com/photo-1762344692227-f6496e80d7bf?fm=jpg&q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
	color: #ffffff;
	padding: 56px 20px 84px;
	position: relative;
}
.rc-home-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.rc-home-hero-content { display: flex; flex-direction: column; }
.rc-home-hero-title { font-family: var(--rc-font-heading); font-size: 38px; font-weight: 800; line-height: 1.2; color: #ffffff; margin: 0 0 16px 0; }
.rc-home-hero-subtitle { font-size: 17px; color: #cbd5e1; line-height: 1.6; margin: 0 0 28px 0; max-width: 540px; }
.rc-home-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
/* Hero buttons: one consistent set of states (normal, visited, hover, pressed, keyboard focus). */
.rc-home-hero-ctas a.rc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; font-size: 16px; line-height: 1.2; border-radius: var(--rc-radius); text-decoration: none !important; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease; }
.rc-home-hero-ctas a.rc-btn:hover, .rc-home-hero-ctas a.rc-btn:focus, .rc-home-hero-ctas a.rc-btn:active, .rc-home-hero-ctas a.rc-btn:visited { text-decoration: none !important; }
.rc-home-hero-ctas a.rc-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.rc-home-hero-ctas a.rc-btn:active { transform: translateY(1px); }

.rc-home-hero-ctas a.rc-btn-hero-primary, .rc-home-hero-ctas a.rc-btn-hero-primary:visited { background-color: var(--rc-accent, #2563eb); color: #ffffff !important; font-weight: 700; border: 1px solid transparent; }
.rc-home-hero-ctas a.rc-btn-hero-primary:hover, .rc-home-hero-ctas a.rc-btn-hero-primary:focus { background-color: var(--rc-accent-hover, #1d4ed8); color: #ffffff !important; }
.rc-home-hero-ctas a.rc-btn-hero-primary:active { background-color: var(--rc-accent-hover, #1d4ed8); filter: brightness(0.92); color: #ffffff !important; }

.rc-home-hero-ctas a.rc-btn-hero-secondary, .rc-home-hero-ctas a.rc-btn-hero-secondary:visited { background-color: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35); color: #ffffff !important; font-weight: 600; }
.rc-home-hero-ctas a.rc-btn-hero-secondary:hover, .rc-home-hero-ctas a.rc-btn-hero-secondary:focus { background-color: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.5); color: #ffffff !important; }
.rc-home-hero-ctas a.rc-btn-hero-secondary:active { background-color: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.6); color: #ffffff !important; }

.rc-home-hero-note { margin: 14px 0 0 0; font-size: 14px; color: #cbd5e1; line-height: 1.5; }
@media (max-width: 480px) { .rc-home-hero-ctas a.rc-btn { width: 100%; } }

.rc-home-floating-card { background: #ffffff; color: var(--rc-secondary); border-radius: var(--rc-radius); padding: 24px; box-shadow: var(--rc-shadow-xl); border: 1px solid rgba(255, 255, 255, 0.2); }
.rc-floating-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; }
.rc-floating-card-icon { font-size: 20px; }
.rc-floating-card-title { font-size: 16px; font-weight: 700; margin: 0; color: var(--rc-secondary); }
.rc-floating-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rc-floating-card-list li { display: flex; gap: 12px; align-items: flex-start; }
.rc-check-icon { background: #ecfdf5; color: #059669; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.rc-floating-card-list strong { display: block; color: var(--rc-secondary); font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.rc-floating-card-list p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.4; }

/* 2. Search Bar Section (Overlapping Hero) */
.rc-home-search-section { margin-top: -48px; position: relative; z-index: 10; padding: 0 16px 24px; }
.rc-home-search-container { max-width: 1200px; margin: 0 auto; }
.rc-home-search-card { padding: 24px; border-radius: var(--rc-radius); box-shadow: var(--rc-shadow-lg); background: #ffffff; border: 1px solid var(--rc-border); }
.rc-home-search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 20px; }
.rc-home-field { display: flex; flex-direction: column; gap: 6px; }
.rc-home-field label { font-size: 12px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.5px; }
.rc-home-search-action { display: flex; justify-content: flex-end; }
.rc-btn-home-search { min-width: 220px; font-weight: 700; font-size: 15px; }

/* 3. Popular Searches */
.rc-home-popular-searches { margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rc-popular-label { font-size: 13px; font-weight: 700; color: #64748b; }
.rc-popular-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rc-popular-chip { background: #f1f5f9; color: #334155; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; border: 1px solid #e2e8f0; }
.rc-popular-chip:hover { background: #e2e8f0; color: var(--rc-primary); border-color: #cbd5e1; }

/* 4. Feature Strip */
.rc-home-feature-strip { background-color: var(--rc-primary); color: #ffffff; padding: 44px 16px; margin: 40px 0; }
.rc-home-feature-strip .rc-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
	box-sizing: border-box;
}
.rc-home-feature-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; width: 100%; box-sizing: border-box; }
.rc-home-feature-item { text-align: center; padding: 8px; box-sizing: border-box; }
.rc-home-feature-icon { font-size: 32px; margin-bottom: 12px; }
/* WordPress core auto-converts emoji characters into <img class="emoji">
   tags sized via `height:1em !important` — this selector is more
   specific than Core's, so it wins despite both using !important
   (specificity is compared before source order). */
.rc-home-feature-strip .rc-home-feature-icon img.emoji {
	width: 32px !important;
	height: 32px !important;
}
.rc-home-feature-title { font-size: 16px; font-weight: 700; color: #ffffff; margin: 0 0 6px 0; }
.rc-home-feature-desc { font-size: 13px; color: #cbd5e1; line-height: 1.5; margin: 0; }

/* 5. Browse by Property Type */
.rc-home-property-types-section { padding: 32px 16px 48px; }
.rc-home-section-header { text-align: center; margin-bottom: 32px; }
.rc-home-section-title { font-family: var(--rc-font-heading); font-size: 28px; font-weight: 700; color: var(--rc-secondary); margin: 0 0 8px 0; }
.rc-home-section-subtitle { font-size: 15px; color: #64748b; margin: 0; }
.rc-flex-between { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; }
.rc-property-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.rc-property-type-card { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; text-decoration: none; transition: all 0.2s ease; border: 1px solid #e2e8f0; }
.rc-property-type-card:hover { transform: translateY(-3px); box-shadow: var(--rc-shadow-md); border-color: var(--rc-border-hover); }
.rc-type-name { font-size: 16px; font-weight: 700; color: var(--rc-secondary); margin: 0 0 4px 0; }
.rc-type-count { font-size: 13px; color: #64748b; font-weight: 500; }
.rc-type-arrow { font-size: 18px; color: #94a3b8; font-weight: 700; }

/* 6. Featured / Recent Listings Section */
.rc-home-listings-section { padding: 36px 16px 64px; background: #fafbfc; border-top: 1px solid #f1f5f9; }
.rc-card-top-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.rc-badge-featured { background: #fef3c7; color: #b45309; }
.rc-home-listings-footer { text-align: center; margin-top: 36px; }
.rc-empty-notice { text-align: center; color: #64748b; font-size: 14px; padding: 24px; }

@media (max-width: 768px) {
  .rc-home-hero { padding: 40px 16px 64px; }
  .rc-home-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .rc-home-hero-title { font-size: 28px; }
  .rc-home-hero-subtitle { font-size: 15px; }
  .rc-home-search-section { margin-top: -32px; }
  .rc-hide-mobile { display: none; }
  .rc-btn-full-mobile { width: 100%; display: block; text-align: center; }
  .rc-flex-between { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* FIX: .rc-listings-grid's minmax(320px, 1fr) has a hard 320px floor per
     column with no mobile override. On any viewport narrower than roughly
     320px + the section's horizontal padding, that floor forces the grid
     wider than the screen — causing the whole page (including the header)
     to scroll horizontally, since nothing was containing the overflow.
     Forcing a true single column here removes the floor entirely rather
     than just shrinking it. Shared by both the homepage and /search/. */
  .rc-listings-grid { grid-template-columns: 1fr; }
}
