/* Site-wide fixes for WordPress block markup inside Oxygen-rendered page content. */
.nr-prose h2[style], .nr-prose h3[style] { text-align: left !important; }
.nr-prose .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 20px; }
.nr-prose .wp-block-gallery.has-nested-images figure.wp-block-image { display: block; width: 100% !important; margin: 0 !important; flex-grow: 0; }
.nr-prose .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; }
.nr-prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; max-height: none; padding: 10px 0 0; background: none; color: rgba(23,22,26,.7); text-align: left; font-size: 14px; line-height: 1.4; text-shadow: none; overflow: visible; }
.nr-prose .wp-block-gallery.has-nested-images figure.wp-block-image::before, .nr-prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none; }
.nr-prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption strong { color: #17161a; }
.nr-prose .wp-block-media-text { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important; }
.nr-prose .wp-block-media-text .wp-block-media-text__content { padding: 0; }
@media (max-width: 767px) {
	.nr-prose .wp-block-media-text { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Ninja Forms inside the inquiry card */
.nr-inquiry .nf-form-fields-required { display: none; }
.nr-inquiry .nf-field-label { margin-bottom: 5px; }
.nr-inquiry .nf-field-label label, .nr-inquiry .nf-field-label .nf-label-span { font: 500 9.5px/1 var(--nr-font-mono, 'IBM Plex Mono'), monospace; letter-spacing: .11em; text-transform: uppercase; color: rgba(23,22,26,.55); }
.nr-inquiry .field-wrap[class*=submit] .nf-field-label { display: none; }
.nr-inquiry .nf-field-container { margin-bottom: 9px; }
.nr-inquiry .nf-form-content { padding: 0; max-width: none; }
.nr-inquiry .nf-form-content input:not([type=button]):not([type=submit]), .nr-inquiry .nf-form-content textarea { width: 100%; height: auto; border: 1px solid rgba(23,22,26,.2); border-radius: 2px; padding: 13px 14px; font: 400 14.5px/1.4 var(--nr-font-sans, 'Work Sans'), sans-serif; background: #fafaf9; color: var(--nr-ink, #17161a); }
.nr-inquiry .nf-form-content textarea { min-height: 96px; resize: vertical; }
.nr-inquiry .nf-form-content input:focus, .nr-inquiry .nf-form-content textarea:focus { outline: 2px solid var(--nr-red, #e2352c); outline-offset: 0; background: #fff; }
.nr-inquiry .nf-form-content input[type=button], .nr-inquiry .nf-form-content input[type=submit] { width: 100%; height: auto; background: var(--nr-ink, #17161a); color: #fff; border: 0; padding: 15px; border-radius: 2px; font: 600 14.5px/1 var(--nr-font-sans, 'Work Sans'), sans-serif; cursor: pointer; transition: background .15s ease; }
.nr-inquiry .nf-form-content input[type=button]:hover, .nr-inquiry .nf-form-content input[type=submit]:hover { background: var(--nr-red, #e2352c); color: #fff; }
.nr-inquiry .nf-error-msg, .nr-inquiry .nf-response-msg { font: 400 13px/1.4 var(--nr-font-sans, 'Work Sans'), sans-serif; }
.nr-inquiry .nf-row { margin: 0 -6px; }
.nr-inquiry .nf-cell { padding: 0 6px; }
.nr-inquiry .nf-form-content select { width: 100%; height: auto; border: 1px solid rgba(23,22,26,.2) !important; appearance: auto; border-radius: 2px; padding: 13px 14px; font: 400 14.5px/1.4 var(--nr-font-sans, 'Work Sans'), sans-serif; background: #fafaf9; color: var(--nr-ink, #17161a); }
.nr-inquiry .nf-form-content .list-select-wrap > div::after { display: none; }
.nr-inquiry .nf-form-content .nf-field-element > div { background: none; border: 0; }
.nr-inquiry .nf-error .ninja-forms-field { border-color: var(--nr-red, #e2352c) !important; }
.nr-inquiry .nf-error-msg { color: var(--nr-red, #e2352c); margin-top: 4px; }
.nr-inquiry .nf-response-msg { padding: 16px 18px; border: 1px solid #1f7a4d; background: #f1f8f4; color: #17161a; border-radius: 2px; font-size: 15px; }
.nr-inquiry .nf-after-form-content .nf-error-msg { margin-top: 8px; }
.nr-inquiry .ninja-forms-req-symbol { color: var(--nr-red, #e2352c); }

/* The inquiry form as a full-width section inside the main column of a community / listing page */
.nr-single__main .nr-inquiry { margin-top: 52px; padding: 30px 28px 26px; background: #fafaf9; scroll-margin-top: 150px; }
.nr-single__main .nr-inquiry__title { margin-bottom: 20px; font: 600 28px/1.1 var(--nr-font-sans, 'Work Sans'), sans-serif; letter-spacing: -.02em; }
.nr-single__main .nr-inquiry .nf-form-content input:not([type=button]):not([type=submit]), .nr-single__main .nr-inquiry .nf-form-content textarea, .nr-single__main .nr-inquiry .nf-form-content select { background: #fff; }
.nr-single__main .nr-inquiry .nf-form-content input[type=button], .nr-single__main .nr-inquiry .nf-form-content input[type=submit] { width: auto; min-width: 220px; padding: 16px 28px; }
@media (max-width: 767px) {
	.nr-inquiry .nf-row { display: block; margin: 0; }
	.nr-inquiry .nf-multi-cell .nf-cell { float: none; width: 100% !important; padding: 0; }
	.nr-single__main .nr-inquiry { margin-top: 40px; padding: 24px 18px 20px; }
	.nr-single__main .nr-inquiry .nf-form-content input[type=button], .nr-single__main .nr-inquiry .nf-form-content input[type=submit] { width: 100%; }
}

/* Header burger + mobile menu (open state toggled by nr-site.js) */
.nr-header .nr-burger { align-items: center; flex-direction: row; gap: 10px; }
@media (max-width: 1119px) {
	.nr-header .nr-burger { display: inline-flex; }
	.nr-header .nr-nav { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; }
	.nr-header .nr-nav .nr-nav__link { display: block; padding: 16px 2px; border-bottom: 1px solid rgba(23,22,26,.12); white-space: normal; }
	.nr-header .nr-nav .nr-nav__link:last-child { border-bottom: 0; }
	.nr-header.is-open .nr-nav { display: flex; }
	.nr-header.is-open .nr-burger::before { box-shadow: none; transform: rotate(45deg); }
	.nr-header.is-open .nr-burger { position: relative; }
	.nr-header.is-open .nr-burger::after { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: currentColor; transform: rotate(-45deg); }
}

/* Header strip city links */
.nr-topbar__specials { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nr-topbar__city { color: #fff; text-decoration: none; opacity: .85; border-bottom: 1px solid rgba(255,255,255,.25); transition: opacity .15s ease, border-color .15s ease; }
.nr-topbar__city:hover { color: #fff; opacity: 1; border-bottom-color: #fff; }
.nr-topbar__dot { opacity: .45; }

/* Shortcode blocks inside page content must not inherit the prose link styling */
.nr-prose .nr-comm a, .nr-prose .nr-listings a { text-decoration: none; }
.nr-prose .nr-comm__item, .nr-prose .nr-comm__item:hover, .nr-prose .nr-lcard, .nr-prose .nr-lcard:hover { color: #17161a; }
.nr-prose .nr-comm, .nr-prose .nr-listings { font-weight: 400; font-size: 16px; color: #17161a; }
