/* Current shared header/footer; original Available Lands content is isolated. */
body.morven-homepage.morven-available-legacy{min-width:0}
#morven-lands-content{display:flow-root;isolation:isolate;min-width:0;font-size:16px}
#morven-lands-content button{min-height:0}
/* Keep installed content sizes while the shared desktop shell stays at 90%. */
@media(min-width:1025px){#morven-lands-content,body.morven-available-legacy #morven-live-chat{zoom:1.1111111111}}
body.morven-available-legacy #morven-live-chat{--ac-border:rgba(212,175,55,.18);--ac-bg:#fff;--ac-shadow:0 16px 52px #00000021,0 0 0 1px #0000000a,0 0 18px #d4a0170d}
#morven-lands-content .lands-sr-only, #morven-lands-content .lands-honeypot {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0;}
#morven-lands-content .lands-skip-link {position: fixed; top: -90px; left: 16px; z-index: 2147483001; background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--gold-border); border-radius: 8px; padding: 12px 16px;}
#morven-lands-content .lands-skip-link:focus {top: 12px;}
#morven-lands-content .legacy-lands-page {min-width: 0;}
#morven-lands-content .legacy-filter-form>input[type=hidden] {display: none !important;}
#morven-lands-content .me-view-btn {display: inline-flex; align-items: center; justify-content: center; text-decoration: none;}
#morven-lands-content .legacy-land-card {position: relative; min-width: 0;}
#morven-lands-content .legacy-land-visual {position: absolute; inset: 0; background: linear-gradient(150deg,#a0b3a4 0%,#637f78 48%,#344f51 100%);}
#morven-lands-content .legacy-land-visual:before {content: ""; position: absolute; inset: 0; opacity: .18; background: linear-gradient(90deg,transparent 49%,#dce9e0 49% 50%,transparent 50%),linear-gradient(0deg,transparent 49%,#dce9e0 49% 50%,transparent 50%); background-size: 56px 56px;}
#morven-lands-content .legacy-land-more {min-width: 0;}
#morven-lands-content .legacy-land-more>summary {cursor: pointer; list-style: none; min-height: 32px;}
#morven-lands-content .legacy-land-more>summary::-webkit-details-marker, #morven-lands-content .legacy-preferences>summary::-webkit-details-marker {display: none;}
#morven-lands-content .legacy-land-more .lands-detail-content {position: absolute; left: 12px; right: 12px; bottom: 54px; z-index: 5; background: var(--bg-card); border: 1px solid var(--gold-border); border-radius: 10px; padding: 14px; box-shadow: 0 12px 30px #0003; color: var(--text-primary); font-size: .8rem; line-height: 1.6; max-height: 250px; overflow: auto; overflow-wrap: anywhere;}
#morven-lands-content .lands-detail-content p+p {margin-top: 10px;}
#morven-lands-content .legacy-land-unavailable {display: flex; align-items: center; justify-content: center; font-size: .65rem; color: var(--text-secondary); text-align: center; overflow-wrap: anywhere;}
#morven-lands-content .legacy-lands-empty {grid-column: 1/-1;}
#morven-lands-content .legacy-lands-empty>i:first-child {display: block; font-size: 3rem; margin-bottom: 20px; color: var(--gold); opacity: .35;}
#morven-lands-content .request-error[hidden], #morven-lands-content .rl-summary[hidden] {display: none !important;}
#morven-lands-content .request-error {margin-top: 14px; margin-bottom: 0;}
#morven-lands-content .lands-request-form [aria-invalid=true] {border-color: #ef4444 !important;}
#morven-lands-content .legacy-preferences[open]>.rl-pref-toggle .fa-chevron-down {transform: rotate(180deg);}
#morven-lands-content .legacy-preferences fieldset {min-width: 0; border: 0; padding: 0; margin: 0;}
#morven-lands-content .legacy-preferences legend {width: 100%; padding: 0;}
#morven-lands-content .request-chip {position: relative; max-width: 100%; white-space: normal; overflow-wrap: anywhere;}
#morven-lands-content .request-chip:focus-within {outline: 2px solid var(--gold); outline-offset: 3px;}
#morven-lands-content .request-chip:has(input:checked) {background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 55%,var(--gold) 100%); color: color-mix(in srgb,var(--bg-primary) 14%,#000); border-color: color-mix(in srgb,var(--gold-light) 68%,transparent); box-shadow: 0 0 14px var(--gold-glow),inset 0 1px 0 #ffffff2e; font-weight: 700;}
#morven-lands-content .lands-request-form textarea.rl-input {height: 38px; min-height: 38px; max-height: 200px; resize: none; display: block; line-height: inherit;}
#morven-lands-content .request-form-submit button:disabled {opacity: .65; cursor: wait;}
#morven-lands-content .legacy-request-symbol>i {color: var(--gold); font-size: 1.1rem;}
#morven-lands-content .me-footer {padding-bottom: 40px;}
#morven-lands-content .theme-panel {visibility: hidden;}
#morven-lands-content .theme-menu.open .theme-panel {visibility: visible;}
body.morven-available-legacy #morven-live-chat {right: 24px; bottom: 24px; gap: 16px; font-family: 'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;}
body.morven-available-legacy #morvenChatOpen {height: 52px; min-height: 52px; min-width: 148px; padding: 0 18px; border: 1px solid #ffe29ab8; border-radius: 16px; color: #191103; background: linear-gradient(135deg,#f5d07a,#d4a93a); box-shadow: 0 10px 28px #0000004d,0 0 10px #d4a93a59,0 0 20px #d4a93a2e; gap: 8px; font-family: inherit; font-size: .92rem; font-weight: 700; letter-spacing: .1px; position: relative; overflow: hidden; animation: assistantSoftPulse 2.5s ease-in-out infinite; transition: transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease;}
body.morven-available-legacy #morvenChatOpen:before {content: ""; position: absolute; inset: 1px; border-radius: 14px; background: linear-gradient(145deg,#ffffff47,transparent 42%,#4f33071f); pointer-events: none;}
body.morven-available-legacy #morvenChatOpen>span {position: relative; z-index: 1;}
body.morven-available-legacy #morvenChatOpen .chat-launcher-icon {width: auto; height: auto; flex-basis: auto;}
body.morven-available-legacy #morvenChatOpen .chat-launcher-icon>svg {display: none;}
body.morven-available-legacy #morvenChatOpen .chat-launcher-icon:before {content: '\f590'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .92rem; color: #201604;}
body.morven-available-legacy #morvenChatOpen:hover, body.morven-available-legacy #morvenChatOpen:focus-visible {transform: translateY(-3px) scale(1.04); border-color: #ffeeb8eb; background: linear-gradient(135deg,#ffe39d,#ddb348); box-shadow: 0 16px 36px #00000057,0 0 14px #d4a93a80,0 0 28px #d4a93a47;}
body.morven-available-legacy #morvenChatFrame {width: min(400px,calc(100vw - 48px)); height: min(600px,calc(100dvh - 120px)); border-radius: 18px; border-color: var(--ac-border); background: var(--ac-bg); box-shadow: var(--ac-shadow);}
@media (max-width:992px) {body.morven-available-legacy > .navbar:not(.menu-open) .menu {visibility: hidden;}body.morven-available-legacy > .navbar.menu-open .menu {visibility: visible;}}
@media (max-width:480px) {body.morven-available-legacy #morven-live-chat {right: 12px; bottom: 12px; gap: 12px;}body.morven-available-legacy #morvenChatFrame {width: calc(100vw - 24px); height: min(600px,calc(100dvh - 100px));}}
@media (max-height:440px) {body.morven-available-legacy #morvenChatFrame {height: calc(100dvh - 100px);}}
@media (prefers-reduced-motion:reduce) {#morven-lands-content {scroll-behavior: auto;}#morven-lands-content *, body.morven-available-legacy #morven-live-chat * {animation: none !important; transition: none !important;}}
#morven-lands-content .me-results-count>i {color: var(--gold);}
#morven-lands-content .lands-request-form input[type=number] {appearance: textfield; -moz-appearance: textfield;}
#morven-lands-content .lands-request-form input[type=number]::-webkit-inner-spin-button, #morven-lands-content .lands-request-form input[type=number]::-webkit-outer-spin-button {-webkit-appearance: none; margin: 0;}
#morven-lands-content .rl-pref-toggle-left {min-width: 0;}
#morven-lands-content .rl-pref-toggle-right {min-width: 0; max-width: 55%; flex-shrink: 1;}
#morven-lands-content .rl-pref-toggle-right .rl-summary {min-width: 0; max-width: 100%;}

/* Actual property covers retain the existing card dimensions. */
#morven-lands-content .land-image-wrap{position:relative;overflow:hidden}
#morven-lands-content .legacy-land-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
#morven-lands-content .legacy-land-photo[hidden]{display:none}
#morven-lands-content .land-image-wrap .tag-base,#morven-lands-content .land-sqm-badge,#morven-lands-content .land-cp-badge{z-index:2}
#morven-lands-content .legacy-land-photo-caption{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:.8rem;text-shadow:0 1px 4px #000}
#morven-lands-content .land-feature-badges{display:flex;flex-wrap:wrap;gap:5px}
#morven-lands-content .land-feature-badges .lf-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#morven-lands-content .lands-filter-notice{margin:12px 0 0;color:var(--text-secondary);font-size:.8rem}
#morven-lands-content .lands-filter-field{min-width:0}
#morven-lands-content .lands-filter-field .me-select{width:100%;max-width:100%}
#morven-lands-content .land-map-label{position:absolute;right:10px;bottom:10px;z-index:2;padding:4px 8px;border-radius:7px;background:rgba(15,35,46,.82);color:#fff;font-size:10px;line-height:1.3}

/* Keep the complete native region tile visible in both listing layouts. */
#morven-lands-content .land-image-wrap{height:auto;min-height:0;max-height:none;aspect-ratio:1 / 1}
#morven-lands-content .land-grid.list-mode .land-card{display:grid;grid-template-columns:256px minmax(0,1fr)}
#morven-lands-content .land-grid.list-mode .land-image-wrap{width:256px;height:256px;min-height:0;max-height:none;aspect-ratio:1 / 1;align-self:flex-start}
@media(max-width:640px){#morven-lands-content .land-grid.list-mode .land-card{display:flex;flex-direction:column}#morven-lands-content .land-grid.list-mode .land-image-wrap{width:100%;height:auto;align-self:stretch}}
#morven-lands-content .land-card .land-image-wrap img.legacy-land-photo{object-fit:contain}
#morven-lands-content .land-card:hover .land-image-wrap img.legacy-land-photo{transform:none}
