/*
 * Rev Property Group - Core Design System & Styling
 * Human-designed architectural luxury real estate styling.
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;500;600;700&display=swap');

/* 1. Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body, input, button, select, textarea, .rpg-nav-link, .rpg-btn, .rpg-spec-val, .rpg-pcard-price, .rpg-single-price, .rpg-pcard-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--rpg-text);
    background-color: var(--rpg-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    width: 100%;
    overflow-x: clip;
    position: relative;
}

h1, h2, h3, h4, h5, h6,
.rpg-hero-title,
.rpg-section-title,
.rpg-single-title,
.rpg-cta-title,
.rpg-type-card-title,
.rpg-service-title {
    font-family: 'Source Serif 4', Georgia, "Times New Roman", serif;
    color: var(--rpg-primary);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

a {
    color: var(--rpg-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover, a:focus {
    color: var(--rpg-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibility Skip Link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #193633;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Container & Grid Foundations */
.rpg-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.rpg-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.rpg-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rpg-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.rpg-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.text-center {
    text-align: center;
}

/* Section Header Typography */
.rpg-subheading {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rpg-gold);
    margin-bottom: 6px;
}

.rpg-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rpg-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.rpg-lead-paragraph {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--rpg-text-muted);
    margin-bottom: 24px;
}

.rpg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.rpg-section-header.text-center {
    display: block;
}

.rpg-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--rpg-primary);
}

.rpg-link-arrow:hover {
    color: var(--rpg-gold);
}

/* 2. Header & Navigation */
.rpg-site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(25, 54, 51, 0.06);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.rpg-site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(25, 54, 51, 0.12);
}

.admin-bar .rpg-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .rpg-site-header {
        top: 46px;
    }
}

.rpg-top-bar {
    display: none !important;
}

.rpg-nav-bar {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(25, 54, 51, 0.08);
    transition: padding 0.2s ease, background 0.2s ease;
}

.rpg-site-header.is-scrolled .rpg-nav-bar,
.rpg-nav-bar.is-sticky {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rpg-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Text Logo */
.rpg-text-logo {
    display: flex;
    flex-direction: column;
}

.rpg-logo-main {
    font-family: var(--rpg-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--rpg-primary);
    line-height: 1.1;
}

.rpg-logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--rpg-gold);
    text-transform: uppercase;
}

.rpg-brand-logo {
    max-height: 48px;
    width: auto;
}

/* Navigation Menu */
.rpg-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.rpg-menu li a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rpg-primary);
    padding: 6px 0;
    position: relative;
}

.rpg-menu li a:hover,
.rpg-menu li.current-menu-item a {
    color: var(--rpg-gold);
}

.rpg-menu li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--rpg-gold);
}

/* Header CTAs */
.rpg-header-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rpg-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--rpg-primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--rpg-radius-sm);
    transition: background 0.2s;
}

.rpg-header-btn:hover {
    background: var(--rpg-primary-light);
    color: #ffffff;
}

/* Mobile Toggle Hamburger */
.rpg-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.rpg-mobile-toggle .rpg-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--rpg-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Drawer */
.rpg-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}

.rpg-mobile-drawer.active {
    right: 0;
}

.rpg-mobile-drawer-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rpg-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rpg-border-light);
}

.rpg-mobile-brand {
    font-family: var(--rpg-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--rpg-primary);
}

.rpg-mobile-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--rpg-primary);
    cursor: pointer;
}

.rpg-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.rpg-mobile-menu-list li {
    margin-bottom: 14px;
}

.rpg-mobile-menu-list li a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rpg-primary);
    display: block;
    padding: 6px 0;
}

.rpg-mobile-drawer-footer {
    padding-top: 16px;
    border-top: 1px solid var(--rpg-border-light);
}

.rpg-mobile-phone-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--rpg-primary);
    color: #ffffff;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* 3. Hero Section (Styled Matching Reference Picture B) */
.rpg-hero-section {
    position: relative;
    min-height: 620px;
    padding: 120px 0 90px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

/* Background 3-Image Slider */
.rpg-hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.rpg-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 1.4s ease-in-out, transform 8s ease-out;
}

.rpg-hero-slide.active {
    opacity: 1;
    transform: scale(1.06);
}

.rpg-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 28, 26, 0.78) 0%, rgba(14, 28, 26, 0.6) 45%, rgba(14, 28, 26, 0.88) 100%);
    z-index: 2;
    pointer-events: none;
}

.rpg-hero-container {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.rpg-hero-content {
    max-width: 820px;
    margin: 0 auto 34px auto;
}

.rpg-hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.rpg-hero-title-accent {
    color: #c19631;
}

.rpg-hero-subtitle {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    line-height: 1.65;
    color: #e2edea;
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* 4. Single Unified Search Capsule (Picture B) */
.rpg-hero-search-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.rpg-hero-search-capsule {
    background: rgba(22, 40, 37, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 6px 6px 6px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rpg-hero-search-capsule:focus-within {
    border-color: #c19631;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(193, 150, 49, 0.25);
}

.rpg-capsule-field {
    display: flex;
    align-items: center;
}

.rpg-capsule-input {
    flex: 2;
    gap: 10px;
}

.rpg-capsule-icon {
    color: #8da6a1;
    flex-shrink: 0;
}

.rpg-capsule-input input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.94rem;
    font-family: var(--font-ui);
    width: 100%;
}

.rpg-capsule-input input::placeholder {
    color: #8fa5a1;
}

.rpg-capsule-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.rpg-capsule-select {
    flex: 1.1;
    position: relative;
}

.rpg-capsule-select select {
    background: transparent;
    border: none;
    outline: none;
    color: #d6e2e0;
    font-size: 0.9rem;
    font-family: var(--font-ui);
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    padding-right: 18px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238da6a1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
}

.rpg-capsule-select select option {
    background: #193633;
    color: #ffffff;
    padding: 8px;
}

.rpg-capsule-btn-wrap {
    flex-shrink: 0;
}

.rpg-capsule-search-btn {
    background: #c19631;
    color: #193633;
    border: none;
    outline: none;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-ui);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.rpg-capsule-search-btn:hover {
    background: #d4a942;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(193, 150, 49, 0.4);
}

/* Trending Searches Bar (Picture B) */
.rpg-hero-trending {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rpg-trending-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #92aba6;
    margin-right: 4px;
}

.rpg-trending-tags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rpg-trending-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbe0dc;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rpg-trending-pill:hover {
    background: #c19631;
    border-color: #c19631;
    color: #193633;
    transform: translateY(-1px);
}

/* Slider Pagination Dots */
.rpg-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    position: relative;
    z-index: 5;
}

.rpg-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.rpg-hero-dot.active {
    width: 26px;
    border-radius: 5px;
    background: #c19631;
}

/* Mobile & Tablet Responsive for Hero */
@media (max-width: 900px) {
    .rpg-hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .rpg-hero-section {
        padding: 90px 0 70px 0;
        min-height: auto;
    }
    .rpg-hero-title {
        font-size: 2.1rem;
    }
    .rpg-hero-search-capsule {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
        border-radius: 12px;
    }
    .rpg-capsule-divider {
        display: none;
    }
    .rpg-capsule-input input,
    .rpg-capsule-select select {
        padding: 10px 8px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }
    .rpg-capsule-search-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
}

/* 4. Property Card Component */
/* ==========================================================================
   Property Card - Architectural Luxury Component
   ========================================================================== */
.rpg-property-card {
    background: #ffffff;
    border: 1px solid rgba(25, 54, 51, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 38, 35, 0.04), 0 1px 3px rgba(18, 38, 35, 0.02);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rpg-property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(18, 38, 35, 0.12), 0 4px 12px rgba(18, 38, 35, 0.06);
    border-color: rgba(197, 160, 89, 0.35);
}

.rpg-pcard-media {
    position: relative;
    width: 100%;
    padding-top: 64%; /* Balanced 16:10 Architectural Aspect Ratio */
    background: #142825;
    overflow: hidden;
}

.rpg-pcard-img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.rpg-pcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rpg-property-card:hover .rpg-pcard-img {
    transform: scale(1.05);
}

.rpg-pcard-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 28, 26, 0.2) 0%, transparent 40%, rgba(14, 28, 26, 0.5) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.rpg-pcard-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: radial-gradient(circle at center, #244b46 0%, #122624 100%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rpg-pcard-badges-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.rpg-pcard-badges-bottom {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 2;
    pointer-events: none;
}

/* Elementor Page Builder Canvas Wrapper */
.rpg-elementor-content-wrap {
    width: 100%;
    min-height: 400px;
    position: relative;
}
.rpg-elementor-content-wrap > .elementor {
    width: 100%;
}

/* ==========================================================================
   Kenya Property Discovery Directory Section (Picture 3 Style)
   ========================================================================== */
.rpg-kenya-discovery-section {
    background: #ffffff;
    padding: 60px 0 80px 0;
    border-top: 1px solid rgba(25, 54, 51, 0.06);
    border-bottom: 1px solid rgba(25, 54, 51, 0.06);
}

.rpg-discovery-head {
    margin-bottom: 24px;
}

.rpg-discovery-title {
    font-family: var(--rpg-font-serif, 'Source Serif 4', Georgia, serif);
    font-size: 2rem;
    font-weight: 600;
    color: #193633;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.rpg-discovery-subtitle {
    font-size: 0.95rem;
    color: #556c68;
    margin: 0;
    line-height: 1.5;
}

.rpg-discovery-subtitle strong {
    color: #193633;
    font-weight: 600;
}

/* Tabs: For Sale / For Rent */
.rpg-discovery-tabs-nav {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #e2ece9;
    margin-bottom: 32px;
}

.rpg-disc-tab-btn {
    background: none;
    border: none;
    padding: 10px 0 14px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #556c68;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.rpg-disc-tab-btn:hover {
    color: #0284c7;
}

.rpg-disc-tab-btn.active {
    color: #0284c7;
}

.rpg-disc-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #0284c7;
    border-radius: 2px 2px 0 0;
}

/* Tab Content */
.rpg-disc-tab-content {
    display: none;
}

.rpg-disc-tab-content.active {
    display: block;
    animation: rpgFadeIn 0.3s ease;
}

/* Multi-Column Grid */
.rpg-disc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 28px;
}

@media (max-width: 1100px) {
    .rpg-disc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rpg-disc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 480px) {
    .rpg-disc-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.rpg-disc-col {
    display: flex;
    flex-direction: column;
}

.rpg-disc-category-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2b4541;
    margin: 0 0 14px 0;
    padding-bottom: 4px;
}

.rpg-disc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rpg-disc-item {
    margin: 0;
}

.rpg-disc-link {
    font-size: 0.88rem;
    color: #556c68;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.rpg-disc-link:hover {
    color: #0284c7;
    transform: translateX(2px);
    text-decoration: underline;
}

/* Thumbnails row drag and scroll smoothness */
#rpg-gallery-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #254d49 transparent;
    padding: 6px 2px;
    cursor: grab;
    user-select: none;
}

#rpg-gallery-thumbs-row.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}


/* Property Card Badges - Natural Matte Display (Clean Simple Words) */
.rpg-pcard-badge {
    display: inline-block;
    padding: 4px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    background: rgba(18, 38, 35, 0.9);
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.rpg-status-for-sale {
    background: rgba(18, 38, 35, 0.9);
    color: #ffffff;
}

.rpg-status-for-rent {
    background: rgba(22, 53, 49, 0.9);
    color: #ffffff;
}

.rpg-status-rented-out {
    background: #b91c1c;
    color: #ffffff;
}

.rpg-status-sold {
    background: #475569;
    color: #ffffff;
}

.rpg-status-under-offer {
    background: #b45309;
    color: #ffffff;
}

.rpg-pcard-featured {
    background: #c5a059;
    color: #122624;
    font-weight: 800;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.rpg-pcard-type-tag {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.94);
    color: #142e2b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Card Body */
.rpg-pcard-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

/* Location / Kicker Row */
.rpg-pcard-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7b9490;
    margin-bottom: 8px;
}

.rpg-pcard-kicker svg {
    color: var(--rpg-gold, #c5a059);
    flex-shrink: 0;
}

.rpg-pcard-loc-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Property Title */
.rpg-pcard-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px 0;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rpg-pcard-title a {
    color: #142e2b;
    transition: color 0.2s ease;
}

.rpg-pcard-title a:hover {
    color: var(--rpg-gold, #c5a059);
}

/* Price & Ref Row */
.rpg-pcard-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(25, 54, 51, 0.07);
}

.rpg-pcard-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #142e2b;
    letter-spacing: -0.02em;
    line-height: 1;
}

.rpg-pcard-price .rpg-price-period {
    font-size: 0.8rem;
    font-weight: 500;
    color: #7b9490;
}

.rpg-pcard-ref {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7b9490;
    background: #f1f6f5;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Specifications Horizontal Strip */
.rpg-pcard-specs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7faf9;
    border: 1px solid rgba(25, 54, 51, 0.05);
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 16px;
    gap: 6px;
}

.rpg-pcard-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #4a5d59;
    white-space: nowrap;
}

.rpg-pcard-spec-item .rpg-spec-icon {
    color: #4b736b;
    flex-shrink: 0;
}

.rpg-pcard-spec-item .rpg-spec-val {
    font-weight: 700;
    font-size: 0.82rem;
    color: #142e2b;
    line-height: 1;
}

.rpg-pcard-spec-item .rpg-spec-lbl {
    font-size: 0.75rem;
    color: #7b9490;
    font-weight: 500;
}

/* Card Actions Footer */
.rpg-pcard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.rpg-pcard-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #142e2b;
    transition: color 0.2s ease;
}

.rpg-pcard-arrow-icon {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--rpg-gold, #c5a059);
}

.rpg-property-card:hover .rpg-pcard-btn-view {
    color: var(--rpg-gold, #c5a059);
}

.rpg-property-card:hover .rpg-pcard-arrow-icon {
    transform: translateX(4px);
}

.rpg-pcard-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #166534;
    transition: all 0.2s ease;
}

.rpg-pcard-btn-wa svg {
    color: #22c55e;
    flex-shrink: 0;
}

.rpg-pcard-btn-wa:hover {
    background: #15803d;
    color: #ffffff;
    border-color: #15803d;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.rpg-pcard-btn-wa:hover svg {
    color: #ffffff;
}

/* 5. Architectural Category Cards */
.rpg-type-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rpg-type-card {
    background: #ffffff;
    border: 1px solid var(--rpg-border);
    border-radius: var(--rpg-radius-md);
    padding: 24px 20px;
    text-decoration: none;
    box-shadow: var(--rpg-shadow-sm);
    transition: all 0.25s ease;
    display: block;
}

.rpg-type-card:hover {
    border-color: var(--rpg-gold);
    transform: translateY(-3px);
    box-shadow: var(--rpg-shadow-md);
}

.rpg-type-name {
    display: block;
    font-family: var(--rpg-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rpg-primary);
    margin-bottom: 4px;
}

.rpg-type-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--rpg-text-muted);
}

/* 6. Most Sought-After Locations Directory */
.rpg-locations-directory-section {
    background: #fbfdfc;
    padding: 72px 0;
    border-top: 1px solid #e7eeec;
    border-bottom: 1px solid #e7eeec;
    width: 100%;
}

.rpg-locations-directory-section .rpg-container {
    max-width: 1240px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Tabs Bar */
.rpg-loc-tabs-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 36px auto;
    border-bottom: 1px solid #e1e9e7;
}

.rpg-loc-tabs-list {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rpg-loc-tabs-list::-webkit-scrollbar {
    display: none;
}

.rpg-loc-tab-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 4px 14px 4px;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: #556865;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1px;
}

.rpg-loc-tab-btn:hover {
    color: #193633;
}

.rpg-loc-tab-btn.active {
    color: #193633;
    font-weight: 700;
    border-bottom-color: #193633;
}

.rpg-loc-tab-count {
    font-size: 0.85rem;
    font-weight: 500;
    color: #829693;
}

.rpg-loc-tab-btn.active .rpg-loc-tab-count {
    color: #c19631;
    font-weight: 700;
}

/* Panels */
.rpg-loc-panels-wrap {
    width: 100%;
    margin: 0 auto;
}

.rpg-loc-panel {
    display: none;
    width: 100%;
    margin: 0 auto;
    animation: rpgLocFade 0.28s ease;
}

.rpg-loc-panel.active {
    display: block;
}

@keyframes rpgLocFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3-Columns Grid (Uniform, perfectly balanced left & right margins) */
.rpg-loc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.rpg-loc-card {
    background: #ffffff;
    border: 1px solid #e3ebe8;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 1px 3px rgba(25, 54, 51, 0.03);
    width: 100%;
    box-sizing: border-box;
}

.rpg-loc-card:hover {
    background: #ffffff;
    border-color: #c19631;
    box-shadow: 0 6px 20px rgba(25, 54, 51, 0.08);
    transform: translateY(-2px);
}

.rpg-loc-card-body {
    flex: 1;
    min-width: 0;
}

.rpg-loc-card-title {
    font-family: var(--font-ui);
    font-size: 0.94rem;
    font-weight: 600;
    color: #193633;
    margin: 0 0 6px 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.rpg-loc-card:hover .rpg-loc-card-title {
    color: #c19631;
}

.rpg-loc-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: #7b918d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rpg-loc-card-location svg {
    color: #c19631;
    flex-shrink: 0;
}

.rpg-loc-card-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f5f3;
    color: #7b918d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.rpg-loc-card:hover .rpg-loc-card-arrow {
    background: #c19631;
    color: #ffffff;
    transform: translateX(2px);
}

/* Panel Footer Button */
.rpg-loc-panel-footer {
    text-align: center;
    margin-top: 36px;
}

.rpg-loc-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: #ffffff;
    border: 1.5px solid #193633;
    color: #193633;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.22s ease;
}

.rpg-loc-view-all-btn:hover {
    background: #193633;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(25, 54, 51, 0.15);
}

/* Responsive Grid */
@media (max-width: 991px) {
    .rpg-loc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .rpg-loc-tabs-list {
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .rpg-loc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .rpg-loc-tab-btn {
        font-size: 0.92rem;
        padding: 10px 4px 12px 4px;
    }
}

/* 7. Services Grid */
.rpg-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.rpg-service-card {
    background: #ffffff;
    border: 1px solid var(--rpg-border);
    border-radius: var(--rpg-radius-md);
    padding: 28px 22px;
    box-shadow: var(--rpg-shadow-sm);
}

.rpg-scard-num {
    font-family: var(--rpg-font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--rpg-gold);
    margin-bottom: 12px;
}

.rpg-scard-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rpg-primary);
    margin-bottom: 8px;
}

.rpg-scard-desc {
    font-size: 0.85rem;
    color: var(--rpg-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 8. CTA Banner */
.rpg-cta-box {
    background: var(--rpg-primary);
    border-radius: var(--rpg-radius-lg);
    padding: 50px 40px;
    color: #ffffff;
    text-align: center;
}

.rpg-cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.rpg-cta-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--rpg-gold);
    color: #193633;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.rpg-cta-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.rpg-cta-desc {
    color: #a4c0bb;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.rpg-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* 9. Single Property Layout */
.rpg-single-header-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--rpg-border);
    padding: 24px 0 20px 0;
}

.rpg-breadcrumbs {
    font-size: 0.8rem;
    color: var(--rpg-text-muted);
    margin-bottom: 12px;
}

.rpg-breadcrumbs a {
    color: var(--rpg-text-muted);
}

.rpg-breadcrumbs a:hover {
    color: var(--rpg-primary);
}

.rpg-sep {
    margin: 0 6px;
    color: #aabeb9;
}

.rpg-crumb-current {
    color: var(--rpg-primary);
    font-weight: 600;
}

.rpg-single-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.rpg-single-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rpg-single-ref {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--rpg-gold);
    margin-left: 6px;
}

.rpg-single-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--rpg-primary);
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.rpg-single-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--rpg-text-muted);
}

.rpg-single-price-col {
    text-align: right;
    flex-shrink: 0;
}

.rpg-single-price-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rpg-text-muted);
    display: block;
    margin-bottom: 2px;
}

.rpg-single-price {
    font-family: var(--rpg-font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--rpg-primary);
    line-height: 1;
}

/* Gallery Slider / Thumbnails */
.rpg-single-gallery-section {
    margin-bottom: 28px;
}

.rpg-gallery-main {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: var(--rpg-radius-md);
    overflow: hidden;
    background: #0d1a18;
    outline: none;
}

.rpg-gallery-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s ease;
}

/* Prev / Next Slider Arrows */
.rpg-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(25, 54, 51, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(193, 150, 49, 0.45);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.rpg-gallery-arrow:hover {
    background: #c19631;
    color: #193633;
    border-color: #c19631;
    transform: translateY(-50%) scale(1.08);
}

.rpg-gallery-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.rpg-gallery-arrow--prev {
    left: 18px;
}

.rpg-gallery-arrow--next {
    right: 18px;
}

/* Photo Counter Badge */
.rpg-gallery-counter-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(25, 54, 51, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(193, 150, 49, 0.4);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Thumbnails Container with Scroll Buttons */
.rpg-gallery-thumbs-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.rpg-thumb-scroll-btn {
    width: 32px;
    height: 64px;
    border-radius: 4px;
    background: #e6eded;
    border: 1px solid #c9d8d5;
    color: #193633;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.rpg-thumb-scroll-btn:hover {
    background: #c19631;
    border-color: #c19631;
    color: #ffffff;
}

.rpg-gallery-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 8px 2px;
    scrollbar-width: thin;
    scrollbar-color: #c19631 #e6eded;
    flex: 1;
}

.rpg-gallery-thumbs-row::-webkit-scrollbar {
    height: 5px;
}

.rpg-gallery-thumbs-row::-webkit-scrollbar-track {
    background: #e6eded;
    border-radius: 3px;
}

.rpg-gallery-thumbs-row::-webkit-scrollbar-thumb {
    background: #c19631;
    border-radius: 3px;
}

.rpg-thumb-item {
    width: 96px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2.5px solid transparent;
    opacity: 0.65;
    transition: all 0.22s ease;
    background: #d4e0dd;
}

.rpg-thumb-item:hover,
.rpg-thumb-item.active {
    opacity: 1;
    border-color: #c19631;
    box-shadow: 0 2px 8px rgba(193, 150, 49, 0.35);
    transform: translateY(-2px);
}

.rpg-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Single Two-Columns Layout */
.rpg-single-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: flex-start;
}

.rpg-single-main-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rpg-single-section {
    background: #ffffff;
    border: 1px solid var(--rpg-border);
    border-radius: var(--rpg-radius-md);
    padding: 24px;
    box-shadow: var(--rpg-shadow-sm);
}

.rpg-single-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rpg-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rpg-border-light);
}

.rpg-features-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rpg-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f8f7;
    border: 1px solid #d8e4e1;
    border-radius: 4px;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rpg-primary);
}

.rpg-feature-pill svg {
    color: #2e7d32;
}

.rpg-sidebar-price {
    font-family: var(--rpg-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--rpg-primary);
    margin: 4px 0;
}

.rpg-sidebar-ref {
    font-size: 0.8rem;
    color: var(--rpg-text-muted);
}

/* 10. Archive / Search Header */
.rpg-archive-header {
    background: var(--rpg-primary);
    color: #ffffff;
    padding: 40px 0 60px 0;
}

.rpg-archive-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 6px 0;
}

.rpg-archive-subtitle {
    color: #a4c0bb;
    font-size: 1rem;
    margin: 0;
}

.rpg-catalog-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rpg-border);
}

.rpg-results-count {
    font-size: 0.95rem;
    color: var(--rpg-primary);
}

.rpg-btn-map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--rpg-border);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rpg-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.rpg-btn-map-toggle:hover {
    border-color: var(--rpg-primary);
    background: #f4f8f7;
}

.rpg-pagination-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.rpg-pagination-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
}

.rpg-pagination-wrap li a,
.rpg-pagination-wrap li span {
    display: block;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid var(--rpg-border);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--rpg-primary);
}

.rpg-pagination-wrap li span.current {
    background: var(--rpg-primary);
    color: #ffffff;
    border-color: var(--rpg-primary);
}

/* Brand Logo in Header */
.rpg-brand-logo {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--rpg-radius-sm);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rpg-logo-link:hover .rpg-brand-logo {
    opacity: 0.95;
    transform: scale(1.02);
}

/* 11. Footer (Styled matching https://vin.list.innovatehub.co.ke/) */
.site-footer,
.rpg-site-footer {
    background: #122422;
    color: #a2a79b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-ui);
}

.footer-main {
    padding: 64px 0 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col--brand {
    padding-right: 20px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--rpg-radius-sm);
    transition: transform 0.2s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.02);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #8fa39e;
    margin-bottom: 22px;
}

/* Contact Info Items */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 24px;
}

.footer-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #d1dedb;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact__item svg {
    color: #c19631;
    flex-shrink: 0;
}

.footer-contact__item:hover {
    color: #c19631;
    transform: translateX(3px);
}

/* Social Icons */
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c7d6d3;
    transition: all 0.22s ease;
    text-decoration: none;
}

.footer-social__link:hover {
    background: #c19631;
    border-color: #c19631;
    color: #193633;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 150, 49, 0.3);
}

/* Column Headings */
.footer-col__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

/* Column Link Lists */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links li a {
    font-size: 0.88rem;
    color: #8fa39e;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #0d1a18;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom__copy {
    margin: 0;
    font-size: 0.83rem;
    color: #6a827d;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.83rem;
    color: #6a827d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #c19631;
}

/* ==========================================================================
   10. Browse Properties Page (Matching Rehome Design System)
   ========================================================================== */
.rpg-listings-page-dark {
    background-color: #121e1b;
    color: #ffffff;
    min-height: 100vh;
    padding: 36px 0 80px 0;
}

.rpg-listings-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.rpg-listings-head {
    margin-bottom: 24px;
}

.rpg-breadcrumbs-dark {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #7f9994;
    margin-bottom: 12px;
}

.rpg-breadcrumbs-dark a {
    color: #7f9994;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-breadcrumbs-dark a:hover {
    color: #c19631;
}

.rpg-listings-page-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* Top Search Capsule Bar */
.rpg-listings-search-bar-wrap {
    margin-bottom: 32px;
}

.rpg-listings-top-search {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease;
}

.rpg-listings-top-search:focus-within {
    border-color: #c19631;
}

.rpg-top-search-input {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #7f9994;
}

.rpg-top-search-input svg {
    flex-shrink: 0;
    color: #7f9994;
}

.rpg-top-search-input input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-ui);
    width: 100%;
}

.rpg-top-search-input input::placeholder {
    color: #6b8681;
}

.rpg-top-search-location {
    flex: 1.2;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 14px;
}

.rpg-top-search-location select {
    background: transparent;
    border: none;
    outline: none;
    color: #d3e2df;
    font-size: 0.9rem;
    font-family: var(--font-ui);
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238da6a1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 22px;
}

.rpg-top-search-location select option {
    background: #182825;
    color: #ffffff;
    padding: 8px;
}

.rpg-top-search-btn {
    background: #c19631;
    color: #193633;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-ui);
    border: none;
    outline: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.rpg-top-search-btn:hover {
    background: #d4a942;
    transform: translateY(-1px);
}

/* 2-Column Listings Layout */
.rpg-listings-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Left Sidebar Filters */
.rpg-listings-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 22px;
    position: sticky;
    top: 90px;
}

.rpg-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.rpg-filter-head-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.rpg-filter-head-title svg {
    color: #c19631;
}

.rpg-filter-clear-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c19631;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-filter-clear-btn:hover {
    color: #d4a942;
    text-decoration: underline;
}

.rpg-filter-group {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rpg-filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.rpg-filter-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
}

.rpg-filter-label-row svg {
    color: #6a8580;
}

.rpg-filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.rpg-filter-options-list::-webkit-scrollbar {
    width: 4px;
}

.rpg-filter-options-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.rpg-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    user-select: none;
    font-size: 0.88rem;
    color: #9bb2ad;
    transition: color 0.15s ease;
}

.rpg-radio-option:hover {
    color: #ffffff;
}

.rpg-radio-option input {
    display: none;
}

.rpg-radio-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #48635d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.rpg-radio-option input:checked + .rpg-radio-circle {
    border-color: #c19631;
    background: #c19631;
    box-shadow: inset 0 0 0 3px #182825;
}

.rpg-radio-option input:checked ~ .rpg-radio-text {
    color: #ffffff;
    font-weight: 600;
}

.rpg-radio-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rpg-radio-count {
    margin-left: auto;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #8fa5a1;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Price Range Inputs */
.rpg-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rpg-price-inputs input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 10px;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
}

.rpg-price-inputs input:focus {
    border-color: #c19631;
}

.rpg-price-dash {
    color: #6a8580;
}

.rpg-btn-apply-price {
    width: 100%;
    background: transparent;
    border: 1px solid #c19631;
    color: #c19631;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rpg-btn-apply-price:hover {
    background: #c19631;
    color: #193633;
}

/* Sidebar Map CTA */
.rpg-sidebar-map-cta {
    margin-top: 18px;
}

.rpg-btn-sidebar-map {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbe0dc;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.rpg-btn-sidebar-map:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #c19631;
}

/* Right Main Area */
.rpg-listings-main {
    flex: 1;
    min-width: 0;
}

/* Top Controls Strip: Count + Sort + View Switcher */
.rpg-listings-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
}

.rpg-listings-count {
    font-size: 0.95rem;
    color: #8ea5a0;
}

.rpg-listings-count strong {
    color: #ffffff;
    font-weight: 700;
}

.rpg-listings-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rpg-sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #8ea5a0;
}

.rpg-sort-dropdown {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-family: var(--font-ui);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.rpg-sort-dropdown:focus {
    border-color: #c19631;
}

.rpg-sort-dropdown option {
    background: #182825;
    color: #ffffff;
}

.rpg-view-switcher {
    display: flex;
    gap: 4px;
}

.rpg-view-btn {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f9994;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rpg-view-btn:hover,
.rpg-view-btn.active {
    color: #c19631;
    border-color: #c19631;
    background: rgba(193, 150, 49, 0.1);
}

/* Listings Grid */
.rpg-rehome-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Rehome Listing Card (Matching Image 1 & 2) */
.rpg-rehome-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rpg-rehome-card:hover {
    transform: translateY(-4px);
    border-color: rgba(193, 150, 49, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.rpg-rhcard-media {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    background: #131f1c;
    overflow: hidden;
}

.rpg-rhcard-img-link {
    position: absolute;
    inset: 0;
}

.rpg-rhcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rpg-rehome-card:hover .rpg-rhcard-img {
    transform: scale(1.04);
}

.rpg-rhcard-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #182825, #243a36);
    color: #8fa39e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Badges Over Image */
.rpg-rhcard-badges-top {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.rpg-rhbadge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.rpg-rhbadge-avail {
    background: rgba(20, 45, 38, 0.88);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.rpg-rhbadge.rpg-status-rented-out,
.rpg-pcard-badge.rpg-status-rented-out,
.rpg-pcard-status.rpg-status-rented-out {
    background: rgba(192, 57, 43, 0.92) !important;
    color: #ffffff !important;
    border: 1px solid rgba(231, 76, 60, 0.6) !important;
    font-weight: 700;
}

.rpg-rhbadge.rpg-status-sold,
.rpg-pcard-badge.rpg-status-sold,
.rpg-pcard-status.rpg-status-sold {
    background: rgba(139, 0, 0, 0.92) !important;
    color: #ffffff !important;
    border: 1px solid rgba(214, 48, 49, 0.6) !important;
    font-weight: 700;
}

.rpg-rhbadge.rpg-status-under-offer,
.rpg-pcard-badge.rpg-status-under-offer,
.rpg-pcard-status.rpg-status-under-offer {
    background: rgba(211, 84, 0, 0.92) !important;
    color: #ffffff !important;
    border: 1px solid rgba(230, 126, 34, 0.6) !important;
    font-weight: 700;
}

.rpg-rhbadge.rpg-status-reserved,
.rpg-pcard-badge.rpg-status-reserved,
.rpg-pcard-status.rpg-status-reserved {
    background: rgba(108, 92, 231, 0.92) !important;
    color: #ffffff !important;
    border: 1px solid rgba(162, 155, 254, 0.6) !important;
    font-weight: 700;
}

.rpg-rhbadge-featured {
    background: rgba(193, 150, 49, 0.88);
    color: #193633;
    font-weight: 800;
}

.rpg-rhbadge-verified {
    background: rgba(25, 40, 36, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Status Alert Notice Banner on Single Property */
.rpg-status-notice-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rpg-status-notice-banner.rpg-notice-rented-out {
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.35);
    color: #ff9f96;
}

.rpg-status-notice-banner.rpg-notice-rented-out svg {
    color: #e74c3c;
}

.rpg-status-notice-banner.rpg-notice-sold {
    background: rgba(139, 0, 0, 0.2);
    border: 1px solid rgba(214, 48, 49, 0.4);
    color: #ffb8b8;
}

.rpg-status-notice-banner.rpg-notice-sold svg {
    color: #ff7675;
}

.rpg-status-notice-banner.rpg-notice-under-offer {
    background: rgba(211, 84, 0, 0.15);
    border: 1px solid rgba(230, 126, 34, 0.35);
    color: #fed3a2;
}

.rpg-status-notice-banner.rpg-notice-under-offer svg {
    color: #e67e22;
}

.rpg-status-notice-banner.rpg-notice-reserved {
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(162, 155, 254, 0.35);
    color: #d1ccff;
}

.rpg-status-notice-banner.rpg-notice-reserved svg {
    color: #a29bfe;
}

/* Bottom Right Overlay Actions */
.rpg-rhcard-actions-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.rpg-rhbtn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(20, 35, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-decoration: none;
}

.rpg-rhbtn-icon:hover {
    background: #c19631;
    color: #193633;
    border-color: #c19631;
}

.rpg-rhbtn-icon.favorited svg {
    fill: #ef4444;
    stroke: #ef4444;
}

/* Card Body */
.rpg-rhcard-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rpg-rhcard-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #c19631;
    margin-bottom: 6px;
}

.rpg-rhcard-title {
    font-family: var(--font-ui);
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.rpg-rhcard-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-rhcard-title a:hover {
    color: #c19631;
}

.rpg-rhcard-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.rpg-rhcard-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: auto;
    font-size: 0.82rem;
    color: #8fa5a1;
}

.rpg-rhcard-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #8fa5a1;
    font-size: 0.82rem;
}

.rpg-rhcard-loc svg {
    color: #c19631;
    flex-shrink: 0;
}

.rpg-rhcard-specs {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 8px 18px;
    color: #c8ded9;
    font-size: 0.82rem;
    font-weight: 500;
}

.rpg-rhspec-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.rpg-rhspec-item svg {
    color: #c19631;
    flex-shrink: 0;
}

.rpg-spec-dot {
    color: #506963;
}

/* List View Variant */
.rpg-rehome-listings-grid.is-list-view {
    grid-template-columns: 1fr;
}

.rpg-rehome-listings-grid.is-list-view .rpg-rehome-card {
    flex-direction: row;
}

.rpg-rehome-listings-grid.is-list-view .rpg-rhcard-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.rpg-rehome-listings-grid.is-list-view .rpg-rhcard-specs {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rpg-rehome-listings-grid.is-list-view .rpg-rhcard-media {
    width: 320px;
    padding-top: 200px;
    flex-shrink: 0;
}

/* Empty State */
.rpg-listings-empty {
    text-align: center;
    padding: 64px 20px;
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.rpg-listings-empty svg {
    margin-bottom: 16px;
}

.rpg-listings-empty h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.rpg-listings-empty p {
    color: #8fa5a1;
    margin-bottom: 20px;
}

.rpg-empty-reset-btn {
    display: inline-block;
    background: #c19631;
    color: #193633;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rpg-empty-reset-btn:hover {
    background: #d4a942;
    transform: translateY(-1px);
}

/* Pagination */
.rpg-listings-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.rpg-listings-pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rpg-listings-pagination li a,
.rpg-listings-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rpg-listings-pagination li span.current {
    background: #c19631;
    color: #193633;
    border-color: #c19631;
    font-weight: 800;
}

.rpg-listings-pagination li a:hover {
    border-color: #c19631;
    color: #c19631;
}

/* Responsive */
@media (max-width: 1200px) {
    .rpg-rehome-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .rpg-listings-layout {
        flex-direction: column;
    }
    .rpg-listings-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 600px) {
    .rpg-rehome-listings-grid {
        grid-template-columns: 1fr;
    }
    .rpg-listings-top-search {
        flex-direction: column;
        align-items: stretch;
    }
    .rpg-top-search-location {
        border-left: none;
        padding-left: 0;
        width: 100%;
    }
    .rpg-top-search-btn {
        width: 100%;
    }
    .rpg-rehome-listings-grid.is-list-view .rpg-rehome-card {
        flex-direction: column;
    }
    .rpg-rehome-listings-grid.is-list-view .rpg-rhcard-media {
        width: 100%;
        padding-top: 66.66%;
    }
}

/* ==========================================================================
   11. Inner Dark Pages (Services, About, Contact, Privacy, Terms)
   Matching background-color: #121e1b as properties page
   ========================================================================== */
.rpg-inner-page-dark {
    background-color: #121e1b;
    color: #ffffff;
    min-height: 100vh;
    padding: 40px 0 90px 0;
}

.rpg-inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.rpg-inner-head {
    max-width: 820px;
    margin-bottom: 48px;
}

.rpg-inner-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c19631;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.rpg-inner-page-title {
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.18;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.rpg-inner-subtitle {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    line-height: 1.65;
    color: #9ab4af;
    margin: 0;
}

/* Services 6-Cards Grid */
.rpg-services-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.rpg-service-dark-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 32px 26px;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.rpg-service-dark-card:hover {
    transform: translateY(-4px);
    border-color: #c19631;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.rpg-scard-dark-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(193, 150, 49, 0.12);
    border: 1px solid rgba(193, 150, 49, 0.3);
    color: #c19631;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rpg-scard-dark-num {
    position: absolute;
    top: 26px;
    right: 26px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.18);
}

.rpg-scard-dark-title {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.35;
}

.rpg-scard-dark-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94aca7;
    margin-bottom: 20px;
}

.rpg-scard-features {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.rpg-scard-features li {
    font-size: 0.82rem;
    color: #b3cac5;
}

/* About Story Grid */
.rpg-about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 50px;
}

.rpg-about-story-card,
.rpg-about-values-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 36px 32px;
}

.rpg-story-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #c19631;
    margin-bottom: 12px;
}

.rpg-about-story-card h2,
.rpg-about-values-card h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px 0;
    line-height: 1.25;
}

.rpg-about-story-card p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #9ab4af;
    margin-bottom: 16px;
}

.rpg-about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rpg-ahighlight-item {
    flex: 1;
}

.rpg-ahighlight-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #c19631;
    line-height: 1;
    margin-bottom: 4px;
}

.rpg-ahighlight-lbl {
    font-size: 0.8rem;
    color: #8da5a0;
    line-height: 1.35;
}

.rpg-pillar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rpg-pillar-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rpg-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(193, 150, 49, 0.12);
    color: #c19631;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rpg-pillar-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.rpg-pillar-text p {
    font-size: 0.86rem;
    line-height: 1.55;
    color: #92aca7;
    margin: 0;
}

.rpg-about-locations-banner {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    margin-bottom: 50px;
}

.rpg-about-locations-banner h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.rpg-about-locations-banner p {
    color: #8fa5a1;
    margin-bottom: 20px;
}

.rpg-locations-tags-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.rpg-loctag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #cde0dc;
}

/* Contact Grid */
.rpg-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    margin-bottom: 50px;
}

.rpg-contact-form-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 36px 32px;
}

.rpg-form-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.rpg-form-subtitle {
    font-size: 0.9rem;
    color: #8fa5a1;
    margin-bottom: 26px;
}

.rpg-dark-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rpg-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rpg-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rpg-form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c7ded9;
}

.rpg-form-field label .req {
    color: #ef4444;
}

.rpg-dark-form input,
.rpg-dark-form select,
.rpg-dark-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: var(--font-ui);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rpg-dark-form input:focus,
.rpg-dark-form select:focus,
.rpg-dark-form textarea:focus {
    border-color: #c19631;
    box-shadow: 0 0 0 2px rgba(193, 150, 49, 0.2);
}

.rpg-dark-form select option {
    background: #182825;
    color: #ffffff;
}

.rpg-dark-form input::placeholder,
.rpg-dark-form textarea::placeholder {
    color: #6a827d;
}

.rpg-form-submit-btn {
    background: #c19631;
    color: #193633;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-ui);
    border: none;
    outline: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.rpg-form-submit-btn:hover {
    background: #d4a942;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(193, 150, 49, 0.35);
}

/* Contact Info Column (Right) */
.rpg-contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rpg-contact-channel-card,
.rpg-contact-social-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px;
}

.rpg-channel-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rpg-channel-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.rpg-channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c19631;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rpg-channel-info {
    display: flex;
    flex-direction: column;
}

.rpg-channel-label {
    font-size: 0.75rem;
    color: #7b948f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rpg-channel-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-channel-val:hover {
    color: #c19631;
}

.rpg-channel-val-static {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.rpg-channel-cta-wa {
    margin-top: 22px;
}

.rpg-btn-cta-wa-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    padding: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rpg-btn-cta-wa-full:hover {
    background: #20ba59;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.rpg-contact-social-card h5 {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.rpg-contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rpg-contact-social-links a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #b7ceca;
    text-decoration: none;
    transition: all 0.18s ease;
}

.rpg-contact-social-links a:hover {
    background: #c19631;
    color: #193633;
    border-color: #c19631;
}

/* Contact Map Section */
.rpg-contact-map-section {
    margin-top: 20px;
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px;
}

.rpg-contact-map-section h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.rpg-contact-map-section p {
    color: #8fa5a1;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.rpg-contact-map-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Card (Privacy Policy & Terms) */
.rpg-legal-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 44px 40px;
    max-width: 960px;
}

.rpg-legal-meta {
    display: flex;
    gap: 10px;
    font-size: 0.82rem;
    color: #7b948f;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rpg-legal-body h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #ffffff;
    margin: 28px 0 12px 0;
    line-height: 1.3;
}

.rpg-legal-body h2:first-of-type {
    margin-top: 0;
}

.rpg-legal-body p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #a4beba;
    margin-bottom: 16px;
}

.rpg-legal-body a {
    color: #c19631;
    text-decoration: underline;
}

.rpg-legal-body ul {
    margin: 0 0 20px 24px;
    color: #a4beba;
    font-size: 0.92rem;
    line-height: 1.65;
}

.rpg-legal-body li {
    margin-bottom: 8px;
}

.rpg-legal-contact-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 18px 22px;
    margin-top: 20px;
}

.rpg-legal-contact-box p {
    margin: 4px 0;
}

/* Consultation Inner CTA Box (Shared) */
.rpg-inner-cta-box {
    background: linear-gradient(135deg, #182825 0%, #203430 100%);
    border: 1px solid rgba(193, 150, 49, 0.35);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.rpg-inner-cta-content {
    flex: 1;
}

.rpg-cta-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #c19631;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.rpg-inner-cta-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.rpg-inner-cta-content p {
    color: #9ab4af;
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

.rpg-inner-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.rpg-btn-cta-gold {
    background: #c19631;
    color: #193633;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rpg-btn-cta-gold:hover {
    background: #d4a942;
    transform: translateY(-1px);
}

.rpg-btn-cta-wa {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.rpg-btn-cta-wa:hover {
    border-color: #25d366;
    color: #25d366;
}

/* Success Alert */
.rpg-alert-success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #4ade80;
}

.rpg-alert-success p {
    color: #cbe8df;
    font-size: 0.9rem;
    margin: 4px 0 0 0;
}

/* Responsive */
@media (max-width: 980px) {
    .rpg-services-dark-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rpg-about-story-grid {
        grid-template-columns: 1fr;
    }
    .rpg-contact-grid {
        grid-template-columns: 1fr;
    }
    .rpg-inner-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .rpg-inner-cta-actions {
        width: 100%;
    }
    .rpg-inner-page-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 640px) {
    .rpg-services-dark-grid {
        grid-template-columns: 1fr;
    }
    .rpg-form-row-2 {
        grid-template-columns: 1fr;
    }
    .rpg-legal-card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   12. Property Advice Section (Matching Photo 2 Design)
   ========================================================================== */
.rpg-advice-section {
    background-color: #ffffff;
    padding: 70px 0 80px 0;
}

.rpg-advice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.rpg-advice-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.01em;
}

.rpg-advice-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.rpg-advice-view-all:hover {
    color: #0369a1;
    transform: translateX(2px);
}

.rpg-advice-arrow {
    font-size: 1.1rem;
    line-height: 1;
}

.rpg-advice-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: start;
}

/* Featured Main Card (Left) */
.rpg-advice-featured-card {
    display: flex;
    flex-direction: column;
}

.rpg-advice-feat-media-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f6;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.rpg-advice-feat-media {
    position: relative;
    width: 100%;
    padding-top: 58%; /* ~16:9 ratio */
    overflow: hidden;
    background: #e2e8f0;
}

.rpg-advice-feat-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rpg-advice-feat-media-link:hover img {
    transform: scale(1.03);
}

.rpg-advice-feat-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 10px 0;
}

.rpg-advice-feat-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-advice-feat-title a:hover {
    color: #c19631;
}

.rpg-advice-feat-excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* Sidebar List (Right) */
.rpg-advice-sidebar-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.rpg-advice-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.rpg-advice-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.rpg-advice-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rpg-advice-item-thumb {
    width: 110px;
    height: 74px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rpg-advice-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rpg-advice-item:hover .rpg-advice-item-thumb img {
    transform: scale(1.06);
}

.rpg-advice-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rpg-advice-item-title {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    margin: 0;
}

.rpg-advice-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-advice-item-title a:hover {
    color: #c19631;
}

.rpg-advice-item-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Google Source Preferred Button */
.rpg-advice-google-banner {
    margin-top: 16px;
}

.rpg-advice-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rpg-advice-google-btn:hover {
    border-color: #ef4444;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
    transform: translateY(-1px);
}

.rpg-google-icon {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .rpg-advice-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 540px) {
    .rpg-advice-item {
        gap: 12px;
    }
    .rpg-advice-item-thumb {
        width: 90px;
        height: 64px;
    }
    .rpg-advice-item-title {
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   13. Property Advice Archive Page (/advice/) & Single Post
   Matching background-color: #121e1b as properties page
   ========================================================================== */
.rpg-advice-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rpg-advice-card-dark {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rpg-advice-card-dark:hover {
    transform: translateY(-4px);
    border-color: #c19631;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.rpg-acard-media-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.rpg-acard-media {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #101c19;
    overflow: hidden;
}

.rpg-acard-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rpg-advice-card-dark:hover .rpg-acard-media img {
    transform: scale(1.05);
}

.rpg-acard-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 30, 27, 0.88);
    backdrop-filter: blur(8px);
    color: #c19631;
    border: 1px solid rgba(193, 150, 49, 0.4);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.rpg-acard-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rpg-acard-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #7b948f;
    margin-bottom: 10px;
}

.rpg-acard-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.rpg-acard-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.rpg-acard-title a:hover {
    color: #c19631;
}

.rpg-acard-excerpt {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #9ab4af;
    margin: 0 0 20px 0;
}

.rpg-acard-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rpg-acard-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c19631;
    text-decoration: none;
    transition: all 0.18s ease;
}

.rpg-acard-read-btn:hover {
    color: #d4a942;
    transform: translateX(3px);
}

/* Single Advice Post */
.rpg-advice-single-article {
    max-width: 860px;
    margin: 0 auto;
}

.rpg-advice-single-head {
    margin-bottom: 28px;
}

.rpg-advice-single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #7b948f;
    margin-top: 12px;
}

.rpg-advice-single-hero {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.rpg-advice-single-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.rpg-advice-entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #c8ded9;
}

.rpg-advice-entry-content p {
    margin-bottom: 24px;
}

.rpg-advice-entry-content h2,
.rpg-advice-entry-content h3 {
    font-family: var(--font-display);
    color: #ffffff;
    margin: 36px 0 16px 0;
}

.rpg-advice-article-cta {
    background: #182825;
    border: 1px solid rgba(193, 150, 49, 0.35);
    border-radius: 10px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 48px 0 32px 0;
}

.rpg-aacta-icon {
    color: #25d366;
    flex-shrink: 0;
}

.rpg-aacta-text {
    flex: 1;
}

.rpg-aacta-text h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 0 4px 0;
}

.rpg-aacta-text p {
    color: #8fa5a1;
    font-size: 0.88rem;
    margin: 0;
}

.rpg-advice-back-wrap {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
    .rpg-advice-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rpg-advice-article-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .rpg-advice-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   14. Single Property Action Buttons Toolbar (Matching Picture 2)
   ========================================================================== */
.rpg-action-buttons-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0 16px 0;
}

.rpg-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 6px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.18s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* WhatsApp Button: Green outline & green text */
.rpg-action-btn--wa {
    border: 1px solid #16a34a;
    color: #028476;
}

.rpg-action-btn--wa:hover {
    background: #f0fdf4;
    border-color: #15803d;
    color: #01665b;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15);
}

.rpg-action-btn--wa svg {
    color: #16a34a;
    flex-shrink: 0;
}

/* Call Button: Red-maroon outline & red text */
.rpg-action-btn--call {
    border: 1px solid #b91c1c;
    color: #b91c1c;
}

.rpg-action-btn--call:hover {
    background: #fef2f2;
    border-color: #991b1b;
    color: #991b1b;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.15);
}

.rpg-action-btn--call svg {
    color: #b91c1c;
    flex-shrink: 0;
}

/* Email Button: Slate outline & dark slate text */
.rpg-action-btn--email {
    border: 1px solid #cbd5e1;
    color: #1e293b;
}

.rpg-action-btn--email:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.1);
}

.rpg-action-btn--email svg {
    color: #334155;
    flex-shrink: 0;
}

/* ==========================================================================
   15. Single Property Luxury Dark Theme (Matching Picture 2 / Rehome System)
   ========================================================================== */
.rpg-single-property-dark {
    background-color: #121e1b;
    color: #ffffff;
    min-height: 100vh;
    padding: 32px 0 80px 0;
}

.rpg-single-header-bar-dark {
    margin-bottom: 24px;
}

.rpg-single-title-dark {
    font-family: var(--font-display, 'Source Serif 4', Georgia, serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 6px 0 10px 0;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.rpg-single-location-dark {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.95rem;
    color: #8fa5a0;
}

.rpg-single-location-dark svg {
    color: #c19631;
    flex-shrink: 0;
}

.rpg-crumb-current-dark {
    color: #c19631;
    font-weight: 500;
}

.rpg-single-tag-type {
    display: inline-block;
    background: rgba(193, 150, 49, 0.15);
    border: 1px solid rgba(193, 150, 49, 0.35);
    color: #e5bf65;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
}

.rpg-single-ref-dark {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7f9994;
    letter-spacing: 0.5px;
}

.rpg-single-price-col-dark {
    text-align: right;
}

.rpg-single-price-lbl-dark {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #8fa5a0;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rpg-single-price-val-dark {
    font-family: var(--font-display, 'Source Serif 4', Georgia, serif);
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* Gallery Section in Dark Theme */
.rpg-single-gallery-section-dark {
    margin-bottom: 32px;
}

.rpg-gallery-grid-dark {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rpg-gallery-main-dark {
    position: relative;
    width: 100%;
    height: 520px;
    background: #0d1816;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.rpg-gallery-hero-img-dark {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rpg-gallery-arrow-dark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 30, 27, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.rpg-gallery-arrow-dark:hover {
    background: #c19631;
    color: #121e1b;
    border-color: #c19631;
    transform: translateY(-50%) scale(1.05);
}

.rpg-gallery-arrow-dark.rpg-gallery-arrow--prev {
    left: 18px;
}

.rpg-gallery-arrow-dark.rpg-gallery-arrow--next {
    right: 18px;
}

.rpg-gallery-counter-badge-dark {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(18, 30, 27, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 10;
}

.rpg-gallery-thumbs-container-dark {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.rpg-thumb-item-dark {
    width: 90px;
    height: 62px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.12);
    opacity: 0.65;
    transition: all 0.2s ease;
}

.rpg-thumb-item-dark:hover {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.4);
}

.rpg-thumb-item-dark.active {
    opacity: 1;
    border-color: #c19631;
    box-shadow: 0 0 0 2px #c19631;
}

.rpg-thumb-item-dark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rpg-thumb-scroll-btn-dark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbe0dc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.rpg-thumb-scroll-btn-dark:hover {
    background: #c19631;
    color: #121e1b;
    border-color: #c19631;
}

/* Dark Content Cards & Panels */
.rpg-dark-card {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
}

.rpg-dark-card-title {
    font-family: var(--font-display, 'Source Serif 4', Georgia, serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rpg-facts-grid-dark {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.rpg-fact-item-dark {
    background: #121e1b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px 14px;
}

.rpg-fact-label-dark {
    display: flex;
    align-items: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #7f9994;
    margin-bottom: 4px;
    font-weight: 600;
}

.rpg-fact-value-dark {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
}

.rpg-dark-prose {
    color: #c5d7d3;
    font-size: 0.96rem;
    line-height: 1.7;
}

.rpg-dark-prose p {
    margin-bottom: 1rem;
}

.rpg-dark-prose p:last-child {
    margin-bottom: 0;
}

.rpg-features-pills-list-dark {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rpg-feature-pill-dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #121e1b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #d3e2df;
}

/* Right Sticky Sidebar Dark Panel */
.rpg-single-sidebar-dark {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
}

.rpg-contact-panel-dark {
    background: #182825;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.rpg-contact-header-dark {
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.rpg-single-sidebar-dark .rpg-action-btn {
    background: #121e1b;
}

.rpg-single-sidebar-dark .rpg-action-btn--wa {
    border: 1px solid rgba(37, 211, 102, 0.5) !important;
    color: #25D366 !important;
    background: rgba(37, 211, 102, 0.12) !important;
    font-weight: 600;
}

.rpg-single-sidebar-dark .rpg-action-btn--wa svg {
    color: #25D366 !important;
    fill: #25D366 !important;
}

.rpg-single-sidebar-dark .rpg-action-btn--wa:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.rpg-single-sidebar-dark .rpg-action-btn--wa:hover svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.rpg-single-sidebar-dark .rpg-action-btn--call {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.09) !important;
    font-weight: 600;
}

.rpg-single-sidebar-dark .rpg-action-btn--call svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
}

.rpg-single-sidebar-dark .rpg-action-btn--call:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0d1f1c !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.rpg-single-sidebar-dark .rpg-action-btn--call:hover svg {
    color: #0d1f1c !important;
    stroke: #0d1f1c !important;
    fill: none !important;
}

.rpg-single-sidebar-dark .rpg-action-btn--email {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d1dedb;
    background: rgba(255, 255, 255, 0.05);
}

.rpg-single-sidebar-dark .rpg-action-btn--email svg {
    color: #c19631;
}

.rpg-single-sidebar-dark .rpg-action-btn--email:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #c19631;
    color: #ffffff;
}

.rpg-contact-badge-dark {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #c19631;
    margin-bottom: 4px;
}

.rpg-sidebar-price-dark {
    font-family: var(--font-display, 'Source Serif 4', Georgia, serif);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0;
    line-height: 1.15;
}

.rpg-sidebar-ref-dark {
    font-size: 0.82rem;
    color: #7f9994;
}

.rpg-sidebar-ref-dark strong {
    color: #d3e2df;
}

.rpg-btn-viewing-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    background: #c19631;
    color: #193633;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-ui);
}

.rpg-btn-viewing-dark:hover {
    background: #d4a942;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(193, 150, 49, 0.35);
}

.rpg-contact-quick-form-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.rpg-quick-form-title-dark {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.rpg-input-wrap-dark {
    margin-bottom: 10px;
}

.rpg-input-wrap-dark input,
.rpg-input-wrap-dark select,
.rpg-input-wrap-dark textarea {
    width: 100%;
    padding: 11px 13px;
    background: #121e1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #ffffff;
    font-family: var(--font-ui);
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.rpg-input-wrap-dark input::placeholder,
.rpg-input-wrap-dark textarea::placeholder {
    color: #6b8681;
}

.rpg-input-wrap-dark input:focus,
.rpg-input-wrap-dark select:focus,
.rpg-input-wrap-dark textarea:focus {
    outline: none;
    border-color: #c19631;
    background: #152420;
    box-shadow: 0 0 0 2px rgba(193, 150, 49, 0.2);
}

.rpg-submit-btn-dark {
    width: 100%;
    padding: 12px;
    background: #121e1b;
    border: 1px solid #c19631;
    color: #c19631;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-ui);
}

.rpg-submit-btn-dark:hover {
    background: #c19631;
    color: #121e1b;
}

/* Responsive tweaks for Single Property Dark */
@media (max-width: 991px) {
    .rpg-single-layout {
        grid-template-columns: 1fr;
    }
    .rpg-single-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .rpg-single-price-col-dark {
        text-align: left;
    }
    .rpg-gallery-main-dark {
        height: 380px;
    }
}

/* ==========================================================================
   Mobile Phone Devices Only: Brand & Contact Column Footer
   ========================================================================== */
@media (max-width: 768px) {
    .site-footer .footer-grid,
    .rpg-site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .site-footer .footer-col:not(.footer-col--brand),
    .rpg-site-footer .footer-col:not(.footer-col--brand) {
        display: none !important;
    }

    .site-footer .footer-col--brand,
    .rpg-site-footer .footer-col--brand {
        display: block !important;
        width: 100% !important;
        padding-right: 0 !important;
        margin: 0 auto !important;
    }

    .site-footer .footer-main,
    .rpg-site-footer .footer-main {
        padding: 44px 0 28px 0 !important;
    }

    .site-footer .footer-legal,
    .rpg-site-footer .footer-legal {
        display: none !important;
    }

    .site-footer .footer-bottom__inner,
    .rpg-site-footer .footer-bottom__inner {
        justify-content: center !important;
        text-align: center !important;
    }

    .site-footer .footer-bottom__copy,
    .rpg-site-footer .footer-bottom__copy {
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        font-size: 0.8rem !important;
    }
}



