/* MAMO PROPERTY IMPECCABLE CSS CONSOLIDATION */

        /* ── Phase 2.1: Navbar Visibility on Homepage ── */
        .home .rh-ultra-header-wrapper,
        .home .rh_header__wrap,
        .home header.rh-header,
        .home .rh-header-wrapper,
        .home #rh-ultra-header,
        body.home .elementor-location-header,
        body.home .elementor-section[data-element_type="header"] {
            background: linear-gradient(180deg, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.5) 100%) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            transition: background 0.3s ease !important;
        }

        /* Ensure sticky/fixed positioning */
        .home .rh-ultra-header-wrapper,
        .home .rh_header__wrap,
        .home header.rh-header,
        .home .rh-header-wrapper,
        .home .elementor-location-header {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 99999 !important;
        }

        /* Add body padding to prevent content from hiding behind fixed header */
        body.home {
            padding-top: 80px;
        }

        /* ── Impeccable Menu Links ── */
        .home .rh-ultra-header-wrapper a,
        .home .rh-ultra-header-wrapper .rh-menu>li>a,
        .home .rh_header__wrap a,
        .home header.rh-header a,
        .home .elementor-location-header .rhea-elementor-nav-menu > li > a,
        .home .elementor-location-header .elementor-nav-menu > li > a {
            color: #e8e8e8 !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            transition: color 0.3s ease !important;
        }

        .home .rh-ultra-header-wrapper .rh-menu>li>a:hover,
        .home .elementor-location-header .rhea-elementor-nav-menu > li > a:hover,
        .home .elementor-location-header .elementor-nav-menu > li > a:hover {
            color: #c9a55c !important;
        }

        /* ── Impeccable CTA Button ── */
        .home .elementor-location-header .rhea-custom-button,
        .home .elementor-location-header .elementor-button {
            background-color: #c9a55c !important;
            color: #1a1a2e !important;
            border-radius: 0px !important;
            padding: 12px 24px !important;
            font-weight: 600 !important;
            letter-spacing: 1px !important;
            text-transform: uppercase !important;
            border: none !important;
            transition: opacity 0.3s ease, transform 0.3s ease !important;
        }

        .home .elementor-location-header .rhea-custom-button:hover,
        .home .elementor-location-header .elementor-button:hover {
            opacity: 0.9 !important;
            transform: translateY(-2px) !important;
        }

        /* ── Phase 2.2: Hero Section Full Width Fix ── */
        .home .mamo-luxury-hero,
        .home .elementor-section.mamo-hero-section,
        .home .rh-slider-section {
            max-width: 100vw !important;
            width: 100vw !important;
            margin-left: calc(-50vw + 50%) !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        /* ── Phase 2.3: Property Card Location Label ── */
        .mamo-property-location {
            display: block;
            margin-top: 6px;
            padding: 4px 0;
            font-size: 13px;
            color: #c9a55c;
            font-weight: 600;
            letter-spacing: 0.3px;
        }

        .mamo-property-location i,
        .mamo-property-location svg {
            margin-right: 4px;
            font-size: 12px;
        }
    

        /* ── 3.1: ROI Hero Trust Badge Strip ── */
        .mamo-hero-trust-strip {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 20px;
            padding: 12px 28px;
            background: rgba(26, 26, 46, 0.7);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 1px solid rgba(201, 165, 92, 0.3);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            color: #c9a55c;
            letter-spacing: 0.5px;
            flex-wrap: wrap;
        }

        .mamo-strip-sep {
            color: rgba(255, 255, 255, 0.3);
            font-size: 18px;
        }

        /* ── 3.3: Trust Bar Below Hero ── */
        .mamo-trust-bar {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            border-bottom: 2px solid #c9a55c;
            padding: 14px 20px;
            text-align: center;
        }

        .mamo-trust-bar-inner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
            max-width: 800px;
            margin: 0 auto;
            font-size: 14px;
            font-weight: 600;
            color: #e8e8e8;
            letter-spacing: 0.5px;
        }

        .mamo-trust-bar .mamo-trust-sep {
            color: #c9a55c;
            font-weight: 300;
        }

        /* ── 3.3: Remove "Designed by AMAM TG" Footer Credit ── */
        .designed-by,
        a[href*="amamtg.com"],
        footer a[href*="amamtg.com"],
        .rh-footer-credits a[href*="amamtg.com"] {
            display: none !important;
        }

        /* Also hide the parent container if it becomes empty */
        .rh-footer-credits {
            visibility: visible;
        }

        /* ── 3.4: Quick Categories Filter Tabs ── */
        .mamo-quick-filter-btn {
            display: inline-block;
            padding: 12px 28px;
            border: 1px solid #c9a55c;
            border-radius: 50px;
            color: #c9a55c;
            text-decoration: none;
            font-size: 14px;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .mamo-quick-filter-btn:hover {
            background: #c9a55c;
            color: #111;
            text-decoration: none !important;
        }
    

        @media (max-width: 768px) {
            .mamo-hero-trust-strip {
                font-size: 12px;
                padding: 10px 16px;
                gap: 8px;
            }

            .mamo-trust-bar-inner {
                font-size: 12px;
                gap: 8px;
            }

            #quick-filters .mamo-quick-filter-btn {
                padding: 10px 0;
                font-size: 12px;
                width: calc(50% - 8px);
                text-align: center;
                box-sizing: border-box;
            }

            body.home {
                padding-top: 60px;
            }
        }
    

      @media(max-width: 480px) {
          .mamo-location-grid { grid-template-columns: 1fr !important; gap: 4px !important; }
          .mamo-location-grid > div:nth-child(even) { margin-bottom: 8px; }
      }
    

            .mamo-how-to-buy-page .entry-content,
            .mamo-how-to-buy-page .rh-content-area,
            .mamo-how-to-buy-page .rh_content {
                max-width: 100% !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            body.mamo-how-to-buy-page {
                background: #0d1b2a;
            }

            .mamo-how-to-buy-page .page-title-wrap,
            .mamo-how-to-buy-page .rh_page_title,
            .mamo-how-to-buy-page .entry-header {
                display: none !important;
            }

            .mamo-htb-header {
                background: linear-gradient(135deg, #0d1b2a 0%, #1b2d4a 100%);
                padding: 80px 24px 60px;
                text-align: center;
            }

            .mamo-htb-header h1 {
                color: #ffffff;
                font-family: 'Playfair Display', Georgia, serif;
                font-size: 42px;
                font-weight: 700;
                margin-bottom: 20px;
                letter-spacing: -0.5px;
            }

            .mamo-htb-subtitle {
                color: #b0bec5;
                font-size: 18px;
                line-height: 1.7;
                max-width: 680px;
                margin: 0 auto;
            }

            .mamo-htb-timeline-section {
                background: #0a1628;
                padding: 60px 24px 80px;
            }

            .mamo-htb-timeline {
                max-width: 720px;
                margin: 0 auto;
                position: relative;
            }

            .mamo-htb-timeline::before {
                content: '';
                position: absolute;
                left: 28px;
                top: 0;
                bottom: 0;
                width: 2px;
                background: linear-gradient(180deg, #c9a84c 0%, rgba(201, 168, 76, 0.15) 100%);
            }

            .mamo-htb-step {
                display: flex;
                gap: 24px;
                margin-bottom: 48px;
                position: relative;
                align-items: flex-start;
            }

            .mamo-htb-step:last-child {
                margin-bottom: 0;
            }

            .mamo-htb-step-marker {
                flex-shrink: 0;
                width: 58px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 6px;
                position: relative;
                z-index: 2;
            }

            .mamo-htb-step-number {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                border-radius: 50%;
                background: linear-gradient(135deg, #c9a84c, #a88832);
                color: #0d1b2a;
                font-size: 16px;
                font-weight: 800;
                box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
            }

            .mamo-htb-step-icon {
                font-size: 22px;
                line-height: 1;
            }

            .mamo-htb-step-content {
                background: rgba(255, 255, 255, 0.03);
                border: 1px solid rgba(201, 168, 76, 0.15);
                border-radius: 12px;
                padding: 28px;
                flex: 1;
                transition: border-color 0.3s ease, transform 0.3s ease;
            }

            .mamo-htb-step-content:hover {
                border-color: rgba(201, 168, 76, 0.4);
                transform: translateX(4px);
            }

            .mamo-htb-step-content h3 {
                color: #ffffff;
                font-size: 20px;
                font-weight: 700;
                margin: 0 0 12px 0;
                font-family: 'Playfair Display', Georgia, serif;
            }

            .mamo-htb-step-content p {
                color: #b0bec5;
                font-size: 15px;
                line-height: 1.8;
                margin: 0;
            }

            .mamo-htb-step-badge {
                display: inline-block;
                background: rgba(201, 168, 76, 0.12);
                color: #c9a84c;
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.5px;
                text-transform: uppercase;
                padding: 4px 12px;
                border-radius: 20px;
                margin-bottom: 12px;
            }

            .mamo-htb-cta-section {
                background: linear-gradient(135deg, #1a1a2e 0%, #0d1b2a 100%);
                border-top: 3px solid #c9a84c;
                border-bottom: 3px solid #c9a84c;
                padding: 60px 24px;
                text-align: center;
            }

            .mamo-htb-cta-section h2 {
                color: #ffffff;
                font-family: 'Playfair Display', Georgia, serif;
                font-size: 30px;
                font-weight: 700;
                margin-bottom: 32px;
            }

            .mamo-htb-cta-buttons {
                display: flex;
                gap: 20px;
                justify-content: center;
                flex-wrap: wrap;
            }

            .mamo-htb-btn {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 16px 36px;
                border-radius: 8px;
                font-size: 16px;
                font-weight: 700;
                letter-spacing: 0.5px;
                text-decoration: none !important;
                transition: all 0.3s ease;
            }

            .mamo-htb-btn-whatsapp {
                background: #c9a84c;
                color: #0d1b2a !important;
            }

            .mamo-htb-btn-whatsapp:hover {
                background: #dbb95e;
                transform: translateY(-2px);
                box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
                color: #0d1b2a !important;
                text-decoration: none !important;
            }

            .mamo-htb-btn-email {
                background: transparent;
                border: 2px solid #c9a84c;
                color: #c9a84c !important;
            }

            .mamo-htb-btn-email:hover {
                background: rgba(201, 168, 76, 0.1);
                transform: translateY(-2px);
                color: #c9a84c !important;
                text-decoration: none !important;
            }

            .mamo-htb-faq-section {
                background: #0d1b2a;
                padding: 60px 24px 80px;
            }

            .mamo-htb-faq-section h2 {
                color: #c9a84c;
                font-family: 'Playfair Display', Georgia, serif;
                font-size: 28px;
                font-weight: 700;
                text-align: center;
                margin-bottom: 40px;
            }

            .mamo-htb-faq-item {
                max-width: 720px;
                margin: 0 auto 16px;
                border: 1px solid rgba(201, 168, 76, 0.2);
                border-radius: 10px;
                overflow: hidden;
                transition: border-color 0.3s ease;
            }

            .mamo-htb-faq-item:hover {
                border-color: rgba(201, 168, 76, 0.4);
            }

            .mamo-htb-faq-question {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;
                padding: 20px 24px;
                background: rgba(255, 255, 255, 0.03);
                border: none;
                color: #ffffff;
                font-size: 16px;
                font-weight: 600;
                text-align: left;
                cursor: pointer;
                transition: background 0.3s ease;
            }

            .mamo-htb-faq-question:hover {
                background: rgba(255, 255, 255, 0.06);
            }

            .mamo-htb-faq-icon {
                color: #c9a84c;
                font-size: 24px;
                font-weight: 300;
                transition: transform 0.3s ease;
                flex-shrink: 0;
                margin-left: 16px;
            }

            .mamo-htb-faq-item.open .mamo-htb-faq-icon {
                transform: rotate(45deg);
            }

            .mamo-htb-faq-answer {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease, padding 0.4s ease;
                padding: 0 24px;
            }

            .mamo-htb-faq-item.open .mamo-htb-faq-answer {
                max-height: 300px;
                padding: 0 24px 24px;
            }

            .mamo-htb-faq-answer p {
                color: #b0bec5;
                font-size: 15px;
                line-height: 1.8;
                margin: 0;
            }

            @media (max-width: 768px) {
                .mamo-htb-header {
                    padding: 60px 20px 40px;
                }

                .mamo-htb-header h1 {
                    font-size: 28px;
                }

                .mamo-htb-subtitle {
                    font-size: 15px;
                }

                .mamo-htb-timeline::before {
                    left: 20px;
                }

                .mamo-htb-step {
                    gap: 16px;
                }

                .mamo-htb-step-marker {
                    width: 42px;
                }

                .mamo-htb-step-number {
                    width: 32px;
                    height: 32px;
                    font-size: 14px;
                }

                .mamo-htb-step-icon {
                    font-size: 18px;
                }

                .mamo-htb-step-content {
                    padding: 20px;
                }

                .mamo-htb-step-content h3 {
                    font-size: 17px;
                }

                .mamo-htb-step-content p {
                    font-size: 14px;
                }

                .mamo-htb-cta-section h2 {
                    font-size: 22px;
                }

                .mamo-htb-cta-buttons {
                    flex-direction: column;
                    align-items: center;
                }

                .mamo-htb-btn {
                    width: 100%;
                    max-width: 300px;
                    justify-content: center;
                }

                .mamo-htb-faq-question {
                    font-size: 14px;
                    padding: 16px 20px;
                }
            }
        

                            .mamo-htb-faq-question {
                                border: 1px solid #C8A97E;
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                width: 100%;
                                padding: 16px 20px;
                                font-weight: bold;
                                cursor: pointer;
                                text-align: left;
                                transition: background 0.3s ease;
                            }

                            .mamo-htb-faq-item.open .mamo-htb-faq-icon {
                                transform: rotate(45deg);
                                display: inline-block;
                                transition: .2s ease;
                            }

                            .mamo-htb-faq-answer {
                                max-height: 0;
                                overflow: hidden;
                                transition: max-height 0.3s ease, padding 0.3s ease;
                            }

                            .mamo-htb-faq-item.open .mamo-htb-faq-answer {
                                max-height: 200px;
                                padding-bottom: 20px;
                            }
                        

        /* 1. Hero Text Colorization */
        .mamo-hero-content h1, .mamo-hero-content .rh_banner__title, .home .rh-slider-section h1 {
            color: #c9a55c !important;
            text-shadow: 0 2px 15px rgba(0,0,0,0.8), 0 4px 30px rgba(0,0,0,0.5) !important;
        }
        .mamo-luxury-hero, .rh-slider-section {
            position: relative;
        }
        .mamo-luxury-hero::before, .rh-slider-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle at center, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.6) 100%);
            z-index: 1;
            pointer-events: none;
        }
        .mamo-hero-content {
            position: relative;
            z-index: 2;
        }

        /* 2. Bolder Property Cards */
        .rh_prop_card, .rh_prop_card__details, .rh-prop-card, .elementor-widget-rhea-properties .rh_prop_card {
            box-shadow: none !important;
            border: 1px solid rgba(201,165,92,0.2) !important;
            border-radius: 0 !important;
            background: #ffffff !important;
            transition: all 0.3s ease !important;
        }
        .rh_prop_card:hover, .rh-prop-card:hover {
            border-color: rgba(201,165,92,0.8) !important;
            transform: translateY(-2px);
        }
        
        /* 3. Typography & Buttons */
        body, p, .rh_prop_card__excerpt {
            font-size: 16px !important;
            line-height: 1.6 !important;
        }
        h1, h2, h3, h4, h5, h6 {
            color: #1a1a2e;
        }
        /* Overriding link blue */
        a, .rh_prop_card__title a, .rh-prop-card__title a {
            color: #1a1a2e !important;
            text-decoration: none !important;
            transition: color 0.3s ease !important;
        }
        a:hover, .rh_prop_card__title a:hover, .rh-prop-card__title a:hover {
            color: #c9a55c !important;
        }
        /* Universal CTAs */
        .rh_btn, .rh_btn--primary, .mamo-hero-cta a, .rhea-btn, input[type="submit"] {
            background: #c9a55c !important;
            color: #1a1a2e !important;
            border: none !important;
            border-radius: 0 !important;
            font-weight: 600 !important;
            text-transform: uppercase !important;
            letter-spacing: 1px !important;
            box-shadow: none !important;
            padding: 12px 24px !important;
            transition: opacity 0.3s ease !important;
        }
        .rh_btn:hover, .mamo-hero-cta a:hover, .rhea-btn:hover, input[type="submit"]:hover {
            background: #c9a55c !important;
            opacity: 0.9 !important;
        }

        /* 4. Polish & Image Fallbacks */
        .rh_prop_card__thumbnail img, .rh-prop-card__thumbnail img {
            border-radius: 0 !important;
            background: #1a1a2e;
        }
        /* If an image is broken, show a dark box */
        img[alt=""]:not([src]), img.broken {
            background-color: #1a1a2e !important;
            position: relative;
        }
        img[alt=""]:not([src])::after, img.broken::after {
            content: 'MAMO PROPERTY';
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #1a1a2e;
            color: #c9a55c;
            font-size: 14px;
            letter-spacing: 2px;
        }
    

        /* 1. Ensure morph name is available but not assigned to everything */
        /* Target single property hero image */
        .rh_page__property .rh_page__gallery img,
        .rh_page__property .slides > li:first-child img,
        .rh_page__property .rh_property__slider img,
        .property-slider-image {
            view-transition-name: mamo-hero-morph;
        }

        /* 2. Setup the transition duration */
        ::view-transition-old(mamo-hero-morph),
        ::view-transition-new(mamo-hero-morph) {
            animation-duration: 0.6s;
            animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
            mix-blend-mode: normal;
        }

        /* 3. Scroll-driven animations for property cards */
        @supports (animation-timeline: view()) {
            .rh_prop_card {
                animation: mamo-fade-slide-up linear both !important;
                animation-timeline: view() !important;
                animation-range: entry 5% cover 25% !important;
            }
            @keyframes mamo-fade-slide-up {
                from {
                    opacity: 0;
                    transform: translateY(40px) scale(0.95);
                }
                to {
                    opacity: 1;
                    transform: translateY(0) scale(1);
                }
            }
        }
    

        /* Phase 10: Editorial Minimalist - Single Property Page */
        body.single-property {
            background-color: #ffffff !important;
        }

        body.single-property .rh-ultra-property-wrapper,
        body.single-property .rh_page__property {
            background-color: #ffffff !important;
        }

        /* Typography - Clean, High Contrast, Minimalist */
        body.single-property h1,
        body.single-property h2,
        body.single-property h3,
        body.single-property h1.property-title,
        body.single-property .rh_page__property_title,
        body.single-property .elementor-heading-title,
        body.single-property .rh-ultra-property-wrapper .rh_property__heading {
            font-size: 3rem !important;
            font-weight: 300 !important; /* Elegant, thin */
            letter-spacing: 2px !important;
            color: #0b132b !important;
            text-transform: uppercase !important;
        }

        /* Price - Magazine style */
        body.single-property .rh-ultra-price,
        body.single-property .price-and-status .price {
            font-weight: 300 !important;
            font-size: 2.5rem !important;
            color: #0b132b !important;
            letter-spacing: 1px !important;
            background: transparent !important;
            padding: 0 !important;
            margin-top: 15px !important;
            display: block !important;
        }

        /* Structural Grids - Thin black/gray lines */
        body.single-property .rh_ultra_prop_card__meta,
        body.single-property .rh_property__meta_wrap {
            background: #ffffff !important;
            border-radius: 0 !important;
            padding: 20px 0 !important;
            border-top: 1px solid #0b132b !important;
            border-bottom: 1px solid #0b132b !important;
            border-left: none !important;
            border-right: none !important;
            box-shadow: none !important;
            display: flex !important;
            justify-content: space-between !important;
        }

        body.single-property .rh-ultra-meta-icon-wrapper {
            border-right: 1px solid #eaeaea !important;
            padding-right: 20px !important;
        }
        body.single-property .rh-ultra-meta-icon-wrapper:last-child {
            border-right: none !important;
        }

        /* Monochrome Icons */
        body.single-property .rh-ultra-meta-icon-wrapper svg {
            fill: #0b132b !important;
            width: 24px !important;
            height: 24px !important;
            opacity: 0.8;
        }

        body.single-property .rh-ultra-meta-icon-wrapper .rh-ultra-meta-label {
            color: #0b132b !important;
            font-weight: 400 !important;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 11px !important;
            opacity: 0.6;
        }

        body.single-property .rh-ultra-meta-icon-wrapper .figure {
            font-weight: 300 !important;
            font-size: 1.8rem !important;
            color: #0b132b !important;
        }

        /* Status Tags - Minimal */
        body.single-property .rh-ultra-overview-box .rh-ultra-featured,
        body.single-property .rh-ultra-status-box span,
        body.single-property .rh-ultra-property-tag,
        body.single-property .rh-ultra-status,
        body.single-property .rh-ultra-type {
            border-radius: 0 !important;
            background: transparent !important;
            color: #0b132b !important;
            font-weight: 400 !important;
            text-transform: uppercase;
            letter-spacing: 2px;
            border: 1px solid #0b132b !important;
            padding: 4px 12px !important;
            font-size: 11px !important;
        }

        /* Sidebar / Contact Agent - Clean Box */
        body.single-property .rh-ultra-property-sidebar .rh-ultra-form,
        body.single-property .rh-property-agent-info-sidebar {
            background: #ffffff !important;
            border-radius: 0 !important;
            padding: 30px 0 !important;
            border: none !important;
            border-top: 1px solid #0b132b !important;
            border-bottom: 1px solid #0b132b !important;
            box-shadow: none !important;
        }

        body.single-property .rh-property-agent-info-sidebar .rh-agent-label,
        body.single-property .rh-property-agent-info-sidebar .rh_property_agent__title a,
        body.single-property .rh-ultra-form .message-container {
            color: #0b132b !important;
        }

        /* Form Fields - Monoline */
        body.single-property .rh-ultra-form-field-wrapper {
            background: transparent !important;
            border-radius: 0 !important;
            border: none !important;
            border-bottom: 1px solid #0b132b !important;
            box-shadow: none !important;
        }

        body.single-property .rh-ultra-form-field-wrapper input,
        body.single-property .rh-ultra-form-field-wrapper textarea {
            color: #0b132b !important;
            background: transparent !important;
            padding-left: 0 !important;
        }

        body.single-property .rh-ultra-form-field-wrapper input::placeholder,
        body.single-property .rh-ultra-form-field-wrapper textarea::placeholder {
            color: #0b132b !important;
            opacity: 0.4;
            text-transform: uppercase;
            font-size: 11px !important;
            letter-spacing: 1px;
        }

        /* Primary CTA - The only Gold element */
        body.single-property .rh-ultra-form button,
        body.single-property .rh-ultra-button,
        body.single-property .rhea-custom-button {
            border-radius: 0 !important;
            background: #c9a55c !important;
            color: #ffffff !important;
            font-weight: 400 !important;
            text-transform: uppercase;
            letter-spacing: 3px;
            border: none !important;
            padding: 18px 30px !important;
            font-size: 13px !important;
            transition: background 0.3s ease !important;
        }

        body.single-property .rh-ultra-form button:hover,
        body.single-property .rh-ultra-button:hover,
        body.single-property .rhea-custom-button:hover {
            background: #0b132b !important;
            color: #ffffff !important;
        }

        /* Sharp Images */
        body.single-property .rh-ultra-property-slider-container,
        body.single-property .rh-ultra-property-slider-container img,
        body.single-property .rh-ultra-property-thumb,
        body.single-property .rh-ultra-property-carousel-thumb,
        body.single-property .rh-ultra-property-carousel-thumb-box {
            border-radius: 0 !important;
        }

        /* Content Typography */
        body.single-property .rh-ultra-property-wrapper .rh_content p,
        body.single-property .rh-ultra-property-wrapper .rh_content li {
            font-size: 1.1rem !important;
            line-height: 1.9 !important;
            color: #444 !important;
            font-weight: 300 !important;
        }
        
        body.single-property h4.rh_property__heading {
            font-size: 2rem !important;
            text-transform: uppercase !important;
            font-weight: 300 !important;
            border-bottom: 1px solid #0b132b !important;
            display: inline-block;
            padding-bottom: 5px;
            margin-bottom: 30px !important;
            letter-spacing: 1px;
        }

        /* Remove Dark Gradients */
        body.single-property .rh-ultra-property-thumb-box::before,
        body.single-property .rh-ultra-property-thumb-box::after,
        body.single-property .rh-ultra-property-slider-container::before {
            background: none !important;
            background-image: none !important;
        }

        body.single-property .rh-ultra-thumb-info-box,
        body.single-property .rh-ultra-thumb-info-box::after,
        body.single-property .rh-ultra-thumb-info-box::before {
            background: none !important;
            background-image: none !important;
        }

        /* Shift Action Icons to the right to avoid title overlap */
        body.single-property .rh-ultra-thumb-action-box,
        body.single-property .rh_property__action {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-left: auto;
        }
        
        body.single-property .rh_property__heading_wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
        


/* Visually hide SEO sections from sighted users but keep for bots */
.mamo-seo-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* -- Phase 12: Impeccable Blog Page -- */
body.blog,
body.blog .rh_wrap,
body.blog .rh_page__blog,
body.blog .rh-main,
body.blog .rh-content-area,
body.blog .rh_content {
    background-color: #1a1a2e !important;
    color: #e8e8e8 !important;
}

/* Hide Sidebar on Blog Archive to allow wide grid */
body.blog .rh-sidebar {
    display: none !important;
}

/* Grid Layout for Blog */
@media (min-width: 768px) {
    body.blog .rh_page__blog {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px !important;
    }
    body.blog .rh-main {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 30px !important;
        width: 100% !important;
    }
    body.blog article.post {
        margin-bottom: 0 !important;
        height: 100%;
    }
}

/* Post Container */
body.blog article.post {
    background-color: #1a1a2e !important;
    border: 1px solid rgba(201, 165, 92, 0.2) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 40px;
    transition: all 0.3s ease !important;
    display: flex;
    flex-direction: column;
}

body.blog article.post:hover {
    border-color: rgba(201, 165, 92, 0.8) !important;
    transform: translateY(-2px);
}

/* Thumbnail */
body.blog .entry-thumbnail-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
}

body.blog .entry-thumbnail-wrapper img {
    border-radius: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

body.blog article.post:hover .entry-thumbnail-wrapper img {
    transform: scale(1.05);
}

/* Summary Area */
body.blog .entry-summary {
    padding: 30px !important;
    background-color: transparent !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Meta Data */
body.blog .entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

body.blog .entry-date {
    display: flex;
    align-items: center;
    color: #c9a55c !important;
    font-weight: 600;
}

body.blog .entry-date svg {
    stroke: #c9a55c !important;
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

body.blog .entry-categories a {
    color: #a8a8a8 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    transition: color 0.3s ease;
}

body.blog .entry-categories a:hover {
    color: #c9a55c !important;
    text-decoration: none !important;
}

/* Title */
body.blog .entry-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

body.blog .entry-title a {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

body.blog .entry-title a:hover {
    color: #c9a55c !important;
}

/* Excerpt */
body.blog .entry-summary p {
    color: #b0bec5 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    flex-grow: 1;
}

/* Remove Author avatar overlaps */
body.blog .post-author {
    display: none !important;
}

/* Header Text / Page Title */
body.blog .rh_page__head {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(201, 165, 92, 0.2) !important;
    padding: 80px 20px 40px !important;
    text-align: center;
    margin-bottom: 20px !important;
}

body.blog .rh_page__title {
    color: #ffffff !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
}


/* Pagination Full Width Fix */
body.blog .rh_pagination {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding: 20px 0 !important;
    width: 100% !important;
}

body.blog .rh_pagination a {
    background-color: transparent !important;
    color: #c9a55c !important;
    border: 1px solid rgba(201, 165, 92, 0.3) !important;
    padding: 10px 18px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

body.blog .rh_pagination a:hover,
body.blog .rh_pagination a.current {
    background-color: #c9a55c !important;
    color: #1a1a2e !important;
    border-color: #c9a55c !important;
}

