/* Real Patriotic child theme - recreates the original WP Residence + Elementor Pro look
   (colors, fonts and spacing taken from the archived Elementor kit/page CSS). */
:root {
	--rp-navy: #001A4B;
	--rp-blue: #2063E2;
	--rp-red: #B41F25;
	--rp-ice: #EBF2FF;
	--rp-bg: #F8F8F8;
	--rp-text: #696969;
	--rp-serif: "DM Serif Display", Georgia, serif;
	--rp-cond: "Roboto Condensed", "Roboto", Arial, sans-serif;
	--rp-wrap: 1140px;
}
html { scroll-behavior: smooth; }
body { font-family: "Roboto", Arial, sans-serif; color: #5c727d; background: var(--rp-bg); margin: 0; line-height: 1.6; font-size: 15px; }
h1, h2, h3, h4, h5, h6 { color: var(--rp-navy); line-height: 1.3; }
a { color: var(--rp-blue); }
a:hover, a:focus { color: var(--rp-red); }
img { max-width: 100%; height: auto; }
.rp-wrap { max-width: var(--rp-wrap); margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100000; background: #fff; padding: 8px 12px; top: 8px; left: 8px; }

/* ---------- Header (Elementor header #68) ---------- */
.rp-header { background: var(--rp-navy); position: relative; z-index: 999; }
.home .rp-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.admin-bar.home .rp-header { top: 32px; }
.rp-header__desk { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; max-width: 1170px; }
.rp-logo { flex: 0 0 auto; }
.rp-logo img { display: block; width: 135px; height: auto; }
.rp-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.rp-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; }
.rp-menu > li { position: relative; }
.rp-menu > li > a { display: block; color: #fff; text-decoration: none; font-family: var(--rp-cond); font-weight: 600; font-size: 16px; padding: 34px 7px; white-space: nowrap; }
.rp-menu > li > a:hover, .rp-menu > li.current-menu-item > a, .rp-menu > li.current-menu-ancestor > a, .rp-menu > li.current_page_item > a { color: var(--rp-blue); }
.rp-menu .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--rp-navy); box-shadow: 0 10px 25px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: opacity .15s; }
.rp-menu li:hover > .sub-menu, .rp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.rp-menu .sub-menu a { display: block; padding: 12px 20px; color: #fff; text-decoration: none; font-family: var(--rp-cond); font-weight: 600; font-size: 15px; }
.rp-menu .sub-menu a:hover { background: var(--rp-blue); color: #fff; }
.rp-header__cta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.rp-phone { color: #fff !important; text-decoration: none; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.rp-phone svg { width: 18px; height: 18px; fill: var(--rp-red); }
.rp-btn-start { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--rp-red); color: #fff !important; text-decoration: none; font-family: var(--rp-cond); font-weight: 600; font-size: 16px; padding: 10px 26px; border-radius: 0; white-space: nowrap; transition: background .2s; }
.rp-btn-start:hover { background: #8f161b; }
.rp-btn-start svg { width: 15px; height: 15px; fill: #fff; }
.rp-header__mob { display: none; }

@media (max-width: 1100px) {
	.rp-menu > li > a { font-size: 14px; padding-left: 5px; padding-right: 5px; }
	.rp-logo img { width: 115px; }
}
@media (max-width: 1024px) {
	.home .rp-header { position: relative; background: var(--rp-navy); }
	.admin-bar.home .rp-header { top: 0; }
	.rp-header { display: flex; flex-direction: column; }
	.rp-header__mob { display: flex; order: 1; align-items: center; justify-content: space-between; background: #3f4a5a; background: linear-gradient(180deg, #2b3546, #1b2335); min-height: 44px; padding: 0 12px; }
	.rp-header__desk { order: 2; display: block; min-height: 0; padding: 0; max-width: none; }
	.rp-logo, .rp-header__cta { display: none; }
	.rp-nav { display: none; background: var(--rp-navy); }
	.rp-nav.is-open { display: block; }
	.rp-menu { flex-direction: column; }
	.rp-menu > li > a { padding: 20px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
	.rp-menu .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; display: none; background: #00133a; }
	.rp-menu li.is-open > .sub-menu { display: block; }
	.rp-menu .sub-menu a { padding: 16px 20px 16px 36px; }
	.rp-burger { background: none; border: 0; padding: 8px; cursor: pointer; }
	.rp-burger span:not(.screen-reader-text) { display: block; width: 22px; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }
	.rp-mob-connect { color: #fff !important; text-decoration: none; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
	.rp-mob-phone svg { width: 20px; height: 20px; fill: #fff; display: block; }
	.home .rp-content { margin-top: 0; }
}

/* ---------- Inner pages: plain content wrapper ---------- */
.page-header { max-width: var(--rp-wrap); margin: 0 auto; padding: 50px 15px 10px; }
.page-header .entry-title { font-family: var(--rp-serif); font-weight: 700; font-size: 3em; text-align: center; color: var(--rp-navy); margin: 0; }
.site-main { max-width: none; }
body.rp-plain-content:not(.home) .site-main .page-content { max-width: var(--rp-wrap); margin: 0 auto; padding: 20px 15px 80px; box-sizing: border-box; }
body.rp-plain-content.page-template-elementor_header_footer:not(.home) .rp-content { max-width: var(--rp-wrap); margin: 0 auto; padding: 60px 15px 80px; box-sizing: border-box; }
body.rp-plain-content:not(.home) .rp-content h2 { font-family: var(--rp-serif); font-weight: 700; font-size: 3em; text-transform: capitalize; color: var(--rp-navy); margin: 30px 0 15px; }
body.rp-plain-content:not(.home) .rp-content h3 { font-family: "Montserrat", sans-serif; font-size: 22px; font-weight: 700; color: var(--rp-navy); }
body.rp-plain-content:not(.home) .rp-content p { font-family: "Nunito Sans", sans-serif; font-size: 17px; line-height: 1.7; color: var(--rp-text); }
body.rp-plain-content:not(.home) .rp-content img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
body.rp-plain-content:not(.home) .rp-content ul { list-style: none; padding-left: 0; }
body.rp-plain-content:not(.home) .rp-content ul li { font-family: "Nunito Sans", sans-serif; font-size: 17px; color: var(--rp-text); margin: 0 0 10px; }
body.rp-plain-content:not(.home) .rp-content ul li svg { width: 16px; height: 16px; fill: var(--rp-blue); margin-right: 10px; vertical-align: -2px; }

/* ---------- Elementor (free) widgets on rescued pages ---------- */
.elementor-widget-heading h1.elementor-heading-title, .elementor-widget-heading h2.elementor-heading-title { font-family: var(--rp-serif); }
/* Tabs (Buyers / Sellers) styled like the WP Residence tabs */
.elementor-widget-tabs .elementor-tabs { background: #fff; }
.elementor-widget-tabs .elementor-tabs-wrapper { border-bottom: 1px solid #e7e7e7; display: flex; }
.elementor-widget-tabs .elementor-tab-desktop-title { flex: 1 1 0; font-family: "Roboto", sans-serif; font-size: 14px !important; font-weight: 400; color: var(--rp-blue) !important; padding: 22px 25px !important; border: 0 !important; border-bottom: 3px solid transparent !important; text-align: left; line-height: 1.6; }
.elementor-widget-tabs .elementor-tab-desktop-title.elementor-active { border-bottom-color: var(--rp-blue) !important; color: var(--rp-navy) !important; }
.elementor-widget-tabs .elementor-tab-desktop-title::before, .elementor-widget-tabs .elementor-tab-desktop-title::after { display: none !important; }
.elementor-widget-tabs .elementor-tab-content { border: 0 !important; padding: 30px 25px 40px !important; font-size: 14px; color: #5c727d; line-height: 1.7; }
.elementor-widget-tabs .elementor-tab-content h3 { font-family: "Roboto", sans-serif; font-weight: 500; font-size: 22px; color: #222; margin: 30px 0 14px; }
.elementor-widget-tabs .elementor-tab-mobile-title { font-family: "Roboto", sans-serif; color: var(--rp-blue); border-color: #e7e7e7 !important; }
.elementor-widget-tabs .elementor-tab-mobile-title.elementor-active { color: var(--rp-navy); background: var(--rp-ice); }
/* Accordion fallback */
.elementor-accordion .elementor-tab-title { background: var(--rp-ice); font-family: "Montserrat", sans-serif; font-weight: 700; }
.elementor-accordion .elementor-tab-title a, .elementor-accordion .elementor-tab-title .elementor-accordion-icon { color: var(--rp-navy); }

/* ---------- Home (page 44) ---------- */
.rp-hero { position: relative; min-height: 800px; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(5,7,16,.80) 0%, rgba(5,7,16,.35) 30%, rgba(242,41,91,0) 60%), #f4f4f6; overflow: hidden; }
.rp-hero__grid { width: 100%; display: flex; align-items: flex-end; gap: 0; }
.rp-hero__photo { flex: 0 0 50%; display: flex; justify-content: center; align-items: flex-end; }
.rp-hero__photo img { display: block; width: 80%; max-width: 560px; margin-bottom: -15px; }
.rp-hero__copy { flex: 0 0 50%; padding: 120px 10px 30px; box-sizing: border-box; align-self: flex-start; }
.rp-hero h1 { font-family: var(--rp-serif); font-weight: 700; font-size: 62px; line-height: 1.3; text-transform: capitalize; color: var(--rp-navy); margin: 0; }
.rp-hero__eyebrow { font-family: "Poppins", sans-serif; font-weight: 900; font-size: 22px; letter-spacing: 3px; text-transform: uppercase; color: var(--rp-navy); margin: 14px 0 0; }
.rp-stars { display: flex; gap: 10px; margin: 6px 0 0; }
.rp-stars svg { width: 20px; height: 20px; fill: #F0B917; }
.rp-form-card { background: rgba(255,255,255,.96); box-shadow: 0 10px 31px rgba(7,152,255,.09); padding: 30px 30px 35px; margin: 30px 0; max-width: 445px; }
.rp-form-card h2 { font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; line-height: 1.3; color: #222; margin: 0 0 22px; }
.rp-form-card .wpcf7 { padding: 0 5px; }
.rp-form-card .wpcf7 label { font-family: "Roboto", sans-serif; font-weight: 400; color: #222; font-size: 14px; }
.rp-form-card .wpcf7 input[type=submit] { width: 100%; background: var(--rp-red); font: 500 18px "Roboto", sans-serif; letter-spacing: 0; text-transform: none; border-radius: 0; padding: 13px; }
.rp-form-card .wpcf7 input[type=submit]:hover { background: var(--rp-navy); }
.rp-hero-mobile { display: none; }

.rp-motto { background: #fff; padding: 140px 0 110px; text-align: center; }
.rp-motto h2 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 50px; color: var(--rp-navy); margin: 0; line-height: 1.2; }
.rp-motto p { display: inline-block; background: var(--rp-navy); color: #fff; font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 30px; padding: 20px; margin: 1em 0 0; line-height: 1.2; }

.rp-search { position: relative; background: #8c99b0 url("/wp-content/uploads/2024/05/bg-02-1-1.jpg") center/cover no-repeat; padding: 120px 0; margin-bottom: 64px; text-align: center; }
.rp-search::before { content: ""; position: absolute; inset: 0; background: rgba(0,26,75,.37); }
.rp-search .rp-wrap { position: relative; }
.rp-search h2 { color: #fff; font-family: "Nunito Sans", sans-serif; font-weight: 700; font-size: 31px; line-height: 1.3; margin: 0 auto 30px; max-width: 640px; }
.rp-search__box { background: rgba(255,255,255,.85); padding: 11px 10px 0 9px; min-height: 58px; text-align: left; max-width: 1110px; margin: 0 auto; }

.rp-latest { background: #fff; padding: 0 0 60px; }
.rp-h2 { font-family: "Nunito Sans", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.3; letter-spacing: -1px; color: var(--rp-navy); text-align: center; margin: 0; padding: 0 15px; }
.rp-sub { font-family: "Nunito Sans", sans-serif; font-size: 17px; line-height: 1.6; color: var(--rp-text); text-align: center; margin: 0 0 30px; padding: 0 15px; }
.rp-h2--left, .rp-sub--left { text-align: left; }

.rp-areas { background: #fff; padding: 0 0 60px; }
.rp-areas__grid { display: flex; min-height: 500px; }
.rp-area { position: relative; flex: 1 1 0; display: flex; align-items: flex-end; justify-content: center; background-color: #000; background-size: cover; background-position: center; text-decoration: none; overflow: hidden; }
.rp-area::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .25s; }
.rp-area:hover::before { background: rgba(0,26,75,.45); }
.rp-area span { position: relative; color: #fff; font-family: "Nunito Sans", sans-serif; font-weight: 700; font-size: 22px; margin: 0 10px 50px; text-align: center; }

.rp-services { background: #fff; padding: 90px 0; }
.rp-services .rp-h2 { margin-bottom: 0; }
.rp-slides { display: flex; gap: 0; margin-top: 30px; box-shadow: 0 10px 31px rgba(7,152,255,.09); }
.rp-slide { display: flex; flex: 1 1 0; min-height: 270px; transition: flex .35s ease; background: #fff; overflow: hidden; }
.rp-slide__img { flex: 0 0 100%; background-size: cover; background-position: center; background-color: var(--rp-navy); transition: flex-basis .35s ease; }
.rp-slide__body { flex: 0 0 0; padding: 0; overflow: hidden; opacity: 0; transition: opacity .25s; }
.rp-slide.is-active, .rp-slides:hover .rp-slide:hover { flex: 2.1 1 0; }
.rp-slides:hover .rp-slide.is-active:not(:hover) { flex: 1 1 0; }
.rp-slide.is-active .rp-slide__img, .rp-slides:hover .rp-slide:hover .rp-slide__img { flex-basis: 50%; }
.rp-slides:hover .rp-slide.is-active:not(:hover) .rp-slide__img { flex-basis: 100%; }
.rp-slide.is-active .rp-slide__body, .rp-slides:hover .rp-slide:hover .rp-slide__body { flex: 0 0 50%; opacity: 1; padding: 30px; box-sizing: border-box; }
.rp-slides:hover .rp-slide.is-active:not(:hover) .rp-slide__body { flex: 0 0 0; opacity: 0; padding: 0; }
.rp-slide + .rp-slide { margin-left: 3px; }
.rp-slide__body h3 { font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 800; color: var(--rp-navy); margin: 0 0 10px; }
.rp-slide__body p { font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--rp-navy); margin: 0 0 20px; }
.rp-slide__body a { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--rp-blue); text-decoration: none; }

@media (max-width: 1024px) {
	.rp-hero { min-height: 0; }
	.rp-hero h1 { font-size: 46px; }
	.rp-motto h2 { font-size: 2.2em; }
	.rp-motto p { font-size: 22px; }
}
@media (max-width: 767px) {
	.rp-hero { display: none; }
	.rp-hero-mobile { display: block; background: #fff; }
	.rp-hero-mobile img { display: block; width: 100%; height: auto; }
	.rp-motto { display: none; }
	.rp-search { padding: 50px 0; margin-bottom: 40px; }
	.rp-search h2 { font-size: 28px; padding: 0 15px; }
	.rp-latest { padding-top: 20px; }
	.rp-h2--left, .rp-sub--left { text-align: center; }
	.rp-areas__grid { min-height: 500px; }
	.rp-area span { font-size: 22px; margin-bottom: 40px; }
	.rp-services { padding: 60px 0 30px; }
	.rp-services .rp-h2 { text-align: left; }
	.rp-slides { flex-direction: column; gap: 20px; box-shadow: none; }
	.rp-slide, .rp-slide.is-active, .rp-slides:hover .rp-slide:hover, .rp-slides:hover .rp-slide.is-active:not(:hover) { flex: none; flex-direction: column; margin: 0 !important; box-shadow: 0 10px 31px rgba(7,152,255,.09); }
	.rp-slide .rp-slide__img, .rp-slide.is-active .rp-slide__img, .rp-slides:hover .rp-slide .rp-slide__img { flex: none !important; height: 260px; }
	.rp-slide .rp-slide__body, .rp-slides:hover .rp-slide .rp-slide__body { flex: none !important; opacity: 1 !important; padding: 20px !important; }
}

/* ---------- Forms (Contact Form 7) ---------- */
.rp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rp-form-grid p { margin: 0 0 10px; }
.rp-form-grid .rp-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .rp-form-grid { grid-template-columns: 1fr; } }
.wpcf7 label { display: block; font-weight: 600; color: var(--rp-navy); font-size: 14px; margin-bottom: 5px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea { width: 100%; box-sizing: border-box; border: 1px solid #e7e7e7; border-radius: 0; padding: 12px 16px; font: 14px "Roboto", sans-serif; color: #000; background: #fff; }
.wpcf7 textarea { height: 104px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--rp-blue); }
.wpcf7 input[type=submit] { background: var(--rp-navy); color: #fff; border: 0; border-radius: 3px; padding: 13px 28px; text-transform: uppercase; letter-spacing: 3px; font: 300 14px "Poppins", sans-serif; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--rp-blue); }
.elementor-157 .wpcf7 label { color: var(--rp-navy); font-family: "Poppins", sans-serif; font-weight: 600; }
.elementor-157 .wpcf7 input[type=text], .elementor-157 .wpcf7 input[type=email], .elementor-157 .wpcf7 input[type=tel], .elementor-157 .wpcf7 textarea { border: 2px solid var(--rp-ice); border-radius: 5px; font-family: "Poppins", sans-serif; }

/* ---------- Footer (Elementor footer #160) ---------- */
.rp-footer { margin-top: 4em; background: linear-gradient(180deg, var(--rp-bg) 0, var(--rp-bg) 70px, var(--rp-navy) 70px); color: #fff; font-family: "Poppins", sans-serif; }
.home .rp-footer { margin-top: 0; background: linear-gradient(180deg, #fff 0, #fff 70px, var(--rp-navy) 70px); }
.rp-footer a { color: #fff; text-decoration: none; }
.rp-footer__team { display: flex; align-items: flex-end; max-width: 1400px; margin: 0 auto; }
.rp-footer__agent { flex: 0 0 25%; display: flex; justify-content: center; align-items: flex-end; }
.rp-footer__agent img { display: block; width: auto; max-width: 100%; height: 330px; object-fit: contain; object-position: bottom; }
.rp-footer__mid { flex: 0 0 50%; padding: 110px 0 24px; }
.rp-footer__links3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rp-footer__links3 a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; font-size: 15px; line-height: 1.35; font-weight: 500; }
.rp-footer__links3 svg { width: 38px; height: 38px; fill: #fff; transition: fill .2s; }
.rp-footer__links3 a:hover { color: #8fb4ff; }
.rp-footer__links3 a:hover svg { fill: #8fb4ff; }
.rp-social { list-style: none; display: flex; justify-content: center; gap: 20px; padding: 0; margin: 40px 0 0; }
.rp-social svg { width: 18px; height: 18px; fill: #fff; display: block; }
.rp-social a:hover svg { fill: #8fb4ff; }
.rp-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 2px solid var(--rp-blue); padding: 2em 4em; }
.rp-footer__kw { height: 30px; width: auto; }
.rp-footer__realtor { height: 32px; width: auto; }
.rp-footer__inquiry { display: flex; align-items: center; gap: 16px; font-size: 18px; }
.rp-footer__inquiry svg { width: 18px; height: 18px; fill: #fff; }
.rp-footer__inquiry a { font-weight: 700; font-size: 18px; }
.rp-footer__legal { background: #00113a; color: #9fb0d3; font-size: 12px; text-align: center; padding: 12px 15px; }
@media (max-width: 1024px) {
	.rp-footer__agent img { height: 240px; }
	.rp-footer__mid { padding-top: 70px; }
}
@media (max-width: 767px) {
	.rp-footer, .home .rp-footer { background: var(--rp-navy); margin-top: 2em; }
	.rp-footer__team { flex-wrap: wrap; padding-top: 30px; }
	.rp-footer__mid { order: 1; flex: 0 0 100%; padding: 10px 15px 30px; }
	.rp-footer__agent { order: 2; flex: 0 0 50%; }
	.rp-footer__agent img { height: 220px; }
	.rp-footer__links3 a { font-size: 13px; }
	.rp-footer__bar { flex-direction: column; padding: 1.5em 1em; text-align: center; }
	.rp-footer__inquiry { font-size: 16px; }
}
body.home { background: #fff; }
/* Mobile hero brand block (original: flag corner + logo + motto above the team photo) */
.rp-hero-mobile__brand { background: url("/wp-content/uploads/2024/05/bg-01-1-1.png") -17px -50px / 656px auto no-repeat; padding: 6em 15px 0; text-align: center; }
.rp-hero-mobile__brand img { width: 55%; max-width: 230px; display: block; margin: 0 auto; }
.rp-hero-mobile__brand p { font-family: "Montserrat", sans-serif; font-weight: 800; color: #C4C4C4; margin: 0; line-height: 1.2; }
.rp-hero-mobile__brand .rp-m1 { font-size: 16px; margin-top: 10px; }
.rp-hero-mobile__brand .rp-m2 { font-size: 25px; margin: 5px 0 9px; }
.elementor-157 .wpcf7 input[type=submit] { width: 100%; border-radius: 3px; }
.elementor-157 .wpcf7 label { font-size: 13px; }
.rp-footer { background: linear-gradient(180deg, var(--rp-bg) 0, var(--rp-bg) 100px, var(--rp-navy) 100px); }
.rp-footer__mid { padding-top: 140px; }
@media (max-width: 767px) { .rp-footer { background: var(--rp-navy); } .rp-footer__mid { padding-top: 10px; } }
.home .rp-footer { background: linear-gradient(180deg, #fff 0, #fff 100px, var(--rp-navy) 100px); } @media (max-width: 767px) { .home .rp-footer { background: var(--rp-navy); } }
/* Community pages: small feature icons + their headings sit side by side (as in the original icon rows) */
body.rp-plain-content:not(.home) .rp-content img[width="100"] { width: 74px; height: 74px; max-height: none; object-fit: contain; border-radius: 50%; }
body.rp-plain-content:not(.home) .rp-content p:has(> img[width="100"]) { display: inline-flex; vertical-align: middle; margin: 18px 18px 0 0; }
body.rp-plain-content:not(.home) .rp-content p:has(> img[width="100"]) + h2 { display: inline-block; vertical-align: middle; max-width: calc(100% - 100px); margin: 18px 0 0; font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 700; text-transform: none; line-height: 1.35; }
body.rp-plain-content:not(.home) .rp-content p:has(> img[width="100"]) + h2 + ul { margin-top: 12px; }
body.rp-plain-content:not(.home) .rp-content h2 { font-size: 2.4em; }
body.rp-plain-content:not(.home) .rp-content p:has(> img[width="100"]) + h2 { width: calc(100% - 100px); max-width: none; }
body.rp-plain-content:not(.home) .rp-content h2 { text-transform: none; }
body.rp-plain-content:not(.home) .rp-content ul li { display: flex; align-items: flex-start; gap: 10px; }
body.rp-plain-content:not(.home) .rp-content ul li > br, body.rp-plain-content:not(.home) .rp-content ul li > p:empty { display: none; }
body.rp-plain-content:not(.home) .rp-content ul li svg { flex: 0 0 16px; margin: 5px 0 0; }
body.rp-plain-content:not(.home) .rp-content p > img[width="1000"], body.rp-plain-content:not(.home) .rp-content p > img[width="1024"] { margin-top: 20px; }
/* Testimonials/News hero: original bg-04.jpg was not recovered (not in Wayback either) - use solid brand navy under the overlay */
.elementor-124 > .elementor-section:first-child, .elementor-127 > .elementor-section:first-child, .elementor-128 > .elementor-section:first-child { background-color: #001A4B !important; }

/* ---------- Hero v3 (owner feedback 2026-11-09) ----------
   Background: /wp-content/uploads/2024/02/bg-01-2.jpg (original file unrecoverable; replaced 2026-11-09).
   Replacement photo: "An American Road Trip - The Star Spangled Banner" by Jp Valery,
   https://commons.wikimedia.org/wiki/File:An_American_Road_Trip_-_The_Star_Spangled_Banner_(Unsplash).jpg
   (originally https://unsplash.com/photos/-ph1Fqhx5Ko), license CC0 1.0 (public domain dedication),
   http://creativecommons.org/publicdomain/zero/1.0/ . Cropped to 1920x1080, JPEG q62 (~195 KB).
   Overlay = the original Elementor overlay: linear-gradient(180deg, #050710 0%, transparent 60%) at 0.88 opacity. */
.rp-hero { min-height: 0; align-items: stretch; background: #c9ced8 url("/wp-content/uploads/2024/02/bg-01-2.jpg") center center / cover no-repeat; }
.rp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #050710 0%, rgba(5,7,16,0) 60%); opacity: .88; pointer-events: none; }
.rp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 100%); pointer-events: none; }
.rp-hero__grid { position: relative; z-index: 1; align-items: stretch; }
.rp-hero__photo { position: relative; align-self: stretch; min-height: 600px; }
.rp-hero__photo img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: calc(100% - 96px); width: auto; max-width: none; margin: 0; }
.rp-hero__copy { padding: 125px 10px 40px; align-self: auto; }
.rp-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.rp-hero__eyebrow { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.rp-form-card { margin: 26px 0 0; }
@media (max-width: 1024px) and (min-width: 768px) {
	.rp-hero__photo img { height: calc(100% - 20px); }
	.rp-hero__copy { padding-top: 40px; }
}
/* Footer: busts sit at the far left/right edges at every desktop width (no centered max-width) */
.rp-footer__team { max-width: none; }
.rp-footer__agent img { height: 340px; }
@media (min-width: 1600px) { .rp-footer__agent img { height: 380px; } }
.rp-hero__photo img { left: 0; right: 0; transform: none; width: 100%; height: calc(100% - 96px); object-fit: contain; object-position: center bottom; }
.rp-hero__copy { position: relative; z-index: 2; }
.rp-form-card .wpcf7-response-output:empty, .rp-form-card .wpcf7 form.init .wpcf7-response-output { display: none; }
.rp-form-card .rp-form-grid p:last-child { margin-bottom: 0; }
.rp-form-card .wpcf7-spinner { position: absolute; margin: 14px 0 0 10px; }
.rp-form-card { padding-bottom: 30px; }
.rp-hero__copy { padding-bottom: 50px; }
@media (min-width: 1025px) { .rp-hero__photo img { left: -12%; width: 124%; } }
@media (min-width: 1025px) { .rp-hero__photo img { object-position: 35% bottom; } }
