/* MRH Resources — "List your apartment with us" form */
.mrh-lf { max-width: 820px; margin: 18px auto 26px; padding: 22px 24px; background: #fff; border: 2px solid #0349a6; border-radius: 14px; box-sizing: border-box; font-size: 14.5px; color: #1f2937; }
.mrh-lf *, .mrh-lf *::before, .mrh-lf *::after { box-sizing: border-box; }
.mrh-lf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.mrh-lf__f { display: block; margin: 0; border: 0; padding: 0; min-width: 0; }
.mrh-lf__f--wide { grid-column: 1 / -1; }
.mrh-lf__f > span, .mrh-lf__f legend { display: block; margin: 0 0 6px; padding: 0; font-weight: 700; font-size: 13.5px; color: #0b2545; }
.mrh-lf__f b { color: #b91c1c; }
.mrh-lf input[type=text], .mrh-lf input[type=tel], .mrh-lf input[type=email], .mrh-lf input[type=date], .mrh-lf select, .mrh-lf textarea {
	width: 100%; margin: 0; padding: 10px 12px; font: inherit; font-size: 15px; color: #0b2545; background: #fff; border: 1.5px solid #94a3b8; border-radius: 8px; box-shadow: none; min-height: 42px; }
.mrh-lf textarea { min-height: 96px; resize: vertical; }
.mrh-lf input:focus, .mrh-lf select:focus, .mrh-lf textarea:focus { outline: none; border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29, 78, 216, .18); }
.mrh-lf__seg { display: flex; flex-wrap: wrap; gap: 8px; }
.mrh-lf__seg label { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1.5px solid #94a3b8; border-radius: 8px; cursor: pointer; font-weight: 600; }
.mrh-lf__seg label:has(input:checked) { border-color: #1d4ed8; background: #eff6ff; color: #0b2545; }
.mrh-lf__seg input { margin: 0; accent-color: #1d4ed8; }
.mrh-lf__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mrh-lf__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.mrh-lf__btn { padding: 12px 22px; font: inherit; font-size: 15px; font-weight: 700; color: #fff; background: #0349a6; border: 0; border-radius: 10px; cursor: pointer; }
.mrh-lf__btn:hover { background: #0b2545; }
.mrh-lf__btn[disabled] { opacity: .7; cursor: wait; }
.mrh-lf__small { flex: 1 1 260px; margin: 0 !important; font-size: 13px !important; color: #475569; line-height: 1.45; }
.mrh-lf__msg { margin: 12px 0 0 !important; padding: 10px 12px; background: #fff7e0; border-left: 5px solid #b45309; border-radius: 6px; font-weight: 600; color: #7c2d12; }
.mrh-lf__done { text-align: center; padding: 20px 10px; }
.mrh-lf__done p { margin: 0 0 6px !important; font-size: 15px; }
.mrh-lf__done-h { font-size: 20px !important; font-weight: 800; color: #0b2545; }
@media (max-width: 640px) { .mrh-lf { padding: 16px; } .mrh-lf__grid { grid-template-columns: 1fr; } }

/* Standalone /list-your-apartment/ page (outside the Resources layout) */
.mrh-lyp ul.wp-block-list { list-style: disc; padding-left: 1.4em; margin: 0 0 16px; }
.mrh-lyp ul.wp-block-list li { margin: 4px 0; }
.mrh-lyp a { color: #0349a6; text-decoration: underline; font-weight: 600; }
.mrh-lyp h1 { margin: 0 0 12px; }
.mrh-lyp h2 { margin: 28px 0 10px; }

/* 1.5.2 — exits after the thank-you message */
.mrh-lf__exits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.mrh-lf a.mrh-lf__exit, .mrh-lf button.mrh-lf__exit { display: inline-block; padding: 10px 16px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; background: #fff; color: #0349a6; border: 2px solid #0349a6; }
.mrh-lf a.mrh-lf__exit--main { background: #0349a6; color: #fff; }
.mrh-lf a.mrh-lf__exit:hover, .mrh-lf button.mrh-lf__exit:hover { background: #0b2545; border-color: #0b2545; color: #fff; }

/* 1.5.3 — "I am a" + "I want to" side by side; options stack neatly in the half-width columns */
.mrh-lf fieldset.mrh-lf__f:not(.mrh-lf__f--wide) .mrh-lf__seg label { flex: 1 1 140px; }
