/* Project presentation. Shared navigation and relationship cards keep their own skin. */
body:is(.single-merade_project,.single-merade_property,.single-merade_area) { --project-gutter: clamp(20px, 4vw, 56px); }
:is(.single-merade_project,.single-merade_property,.single-merade_area) > .site > .merade-breadcrumbs {
 max-width: calc(1328px + 2 * var(--project-gutter)); margin: 0 auto;
 padding: 22px var(--project-gutter) 0; color: var(--merade-muted);
 font: 400 12px/1.5 var(--merade-font-body);
}
:is(.single-merade_project,.single-merade_property,.single-merade_area) .merade-breadcrumbs p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
:is(.single-merade_project,.single-merade_property,.single-merade_area) .merade-breadcrumbs a { color: inherit; text-decoration: none; }
.merade-project-page {
 max-width: calc(1328px + 2 * var(--project-gutter)); margin: 0 auto;
 padding: 22px var(--project-gutter) 48px; font: 400 16px/1.65 var(--merade-font-body);
 -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
.merade-project-page *, .merade-project-page *::before, .merade-project-page *::after { box-sizing: border-box; }
.merade-project-page :is(h1,h2,h3) { color: var(--merade-navy); font-optical-sizing: auto; }
.merade-project-page h1 { margin: 0 0 18px; font: 500 clamp(38px, 4vw, 60px)/1.02 var(--merade-font-heading); letter-spacing: -.03em; }
.merade-project-page h2 { margin: 0 0 22px; font: 500 clamp(32px, 3.1vw, 44px)/1.1 var(--merade-font-heading); letter-spacing: -.025em; }
.merade-project-page h3 { margin: 0 0 12px; font: 500 clamp(27px, 2.5vw, 34px)/1.15 var(--merade-font-heading); letter-spacing: -.02em; }
.merade-project-page p { margin: 0 0 14px; }
.merade-project-page p:last-child { margin-bottom: 0; }
.merade-project-page a { color: inherit; }
.merade-project-page :is(a,button):focus-visible { outline: 2px solid var(--merade-navy); outline-offset: 5px; }
.merade-project-page a { touch-action: manipulation; }
.merade-project-page > section { margin: 40px 0 0; }
.merade-project-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.merade-project-cover { position: relative; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--merade-surface); }
.merade-project-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; }
.merade-project-summary { min-width: 0; padding: 0; align-self: stretch; }
.merade-project-hero:not(:has(.merade-project-cover)) { grid-template-columns: 1fr; }
.merade-project-context { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 24px; }
.merade-project-context a { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; min-height: 44px; text-decoration: none; font-size: 13px; line-height: 1.45; }
.merade-project-context .merade-icon { color: var(--merade-muted); }
.merade-project-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 22px; margin: 0 0 24px; padding: 22px 0; border-block: 1px solid #dcdedb; }
.single-merade_project .merade-project-details { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr); }
.merade-project-details > div:first-child { grid-column: 1 / -1; }
.merade-project-details dt { color: var(--merade-muted); font-size: 12px; margin-bottom: 4px; font-weight: 400; }
.merade-project-details dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.merade-project-details > div:first-child dd { font-size: clamp(22px, 2vw, 27px); letter-spacing: -.035em; }
.merade-project-call { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; width: auto; min-width: 180px; padding: 10px 24px; border: 0; border-radius: 14px; background: var(--merade-button-gradient) border-box no-repeat; box-shadow: none; color: white; font: 600 14px/1.5 var(--merade-font-body); opacity: 1; }
.merade-project-call:disabled { cursor: default; }
.merade-project-page .merade-description-block { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(24px, 4vw, 60px); margin: 0 0 28px; }
.merade-project-page .merade-description-block:last-child { margin-bottom: 0; }
.merade-project-page .merade-description-block img { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; border-radius: 10px; }
.merade-project-page .merade-description-block > div { min-width: 0; color: #505964; }
.merade-project-page .merade-description-block li { margin-bottom: 6px; }
.merade-project-page .merade-description-block ul { padding-left: 20px; margin: 14px 0 0; }
.merade-project-page .merade-image-right img { grid-column: 2; grid-row: 1; }
.merade-project-page .merade-image-right > div { grid-column: 1; grid-row: 1; }
.merade-project-page .merade-image-none, .merade-project-page .merade-description-block:not(:has(> img)) { display: block; }
.merade-project-page .merade-image-none > div { max-width: 85ch; }
.merade-project-page .merade-project-payment { padding: 28px 32px; border-radius: 12px; background: var(--merade-navy); color: white; }
.merade-project-payment h2 { color: var(--merade-ivory); }
.merade-project-payment dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; }
.merade-project-payment dl > div { display: grid; grid-template-rows: auto 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid var(--merade-border-on-dark); }
.merade-project-payment dt { font-size: 14px; font-weight: 400; color: #c7cbd0; }
.merade-project-payment dd { margin: 0; color: var(--merade-gold); font: 500 60px/1 var(--merade-font-heading); letter-spacing: -.03em; }
.merade-project-payment dd span { font-size: 30px; margin-left: 3px; }
.merade-project-nearby dl { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 24px; margin: 0; }
.merade-project-nearby dt, .merade-project-nearby dd { padding: 14px 0; border-bottom: 1px solid #dcdedb; font-size: 15px; font-weight: 400; }
.merade-project-nearby dd { margin: 0; text-align: right; }
@media (hover:hover) and (pointer:fine) {
 :is(.single-merade_project,.single-merade_property,.single-merade_area) .merade-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

@media(max-width:1000px) {
 .merade-project-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
}
@media(max-width:480px) {
 .single-merade_project .merade-project-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .merade-project-page { padding-top: 16px; padding-bottom: 32px; }
 .merade-project-hero { grid-template-columns: 1fr; gap: 20px; }
 .merade-project-cover img { position: static; min-height: 0; max-height: none; aspect-ratio: 1.4; }
 .merade-project-summary { padding: 0; }
 .merade-project-page h1 { font-size: clamp(38px, 7vw, 52px); margin-bottom: 14px; }
 .merade-project-context { margin-bottom: 18px; }
 .merade-project-details { padding: 18px 0; gap: 14px 18px; margin-bottom: 18px; }
 .merade-project-page > section { margin-top: 32px; }
 .merade-project-page h2 { margin-bottom: 18px; }
 .merade-project-page .merade-description-block { grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px; }
 .merade-project-page .merade-image-right img, .merade-project-page .merade-image-right > div { grid-column: auto; grid-row: auto; }
 .merade-project-page .merade-project-payment { padding: 24px 20px; }
 .merade-project-payment dl { gap: 14px; }
 .merade-project-payment dd { font-size: 46px; }
 .merade-project-payment dd span { font-size: 24px; }
 .merade-project-payment dt { font-size: 12px; line-height: 1.5; }
 }
/* Percentages share a baseline even when a stage label wraps. */
.merade-project-payment dt { grid-row: 2; }
.merade-project-payment dd { grid-row: 1; }
.merade-context-label { display: flex; align-items: center; gap: 6px; color: var(--merade-muted); font-size: 12px; }
.merade-context-label .merade-icon { width: 18px; height: 18px; }
.merade-context-value { font-size: 13px; }
.merade-project-characteristics ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px 24px; margin: 0; padding: 0; list-style: none; }
.merade-project-characteristics li, .merade-project-characteristics a { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.merade-project-characteristics a { text-decoration: none; }
.merade-project-characteristics a .merade-characteristic-label { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a7adb5; transition: text-decoration-color 240ms ease; }
.merade-project-characteristics .merade-symbol { width: 28px; height: 28px; font-size: 28px; color: #8d6b33; }
/* The painted background spans the viewport without widening the document. */
.merade-project-galleries { margin: 40px 0 0; padding: 32px 0; color: white; background: var(--merade-navy); box-shadow: 0 0 0 100vmax var(--merade-navy); clip-path: inset(0 -100vmax); }
.merade-project-galleries .merade-project-gallery { margin: 0; }
.merade-project-galleries .merade-project-gallery + .merade-project-gallery { margin-top: 28px; }
.merade-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.merade-gallery-heading h2 { display: flex; gap: 12px; align-items: center; margin: 0; color: var(--merade-ivory); }
.merade-gallery-controls { display: flex; gap: 8px; }
.merade-gallery-controls[hidden] { display: none; }
.merade-gallery-controls button, .merade-photo-viewer button { display: grid; place-items: center; padding: 0; width: 44px; height: 44px; border: 1px solid #647080; border-radius: 50%; background: transparent; color: white; font: 400 24px/1 var(--merade-font-body); cursor: pointer; touch-action: manipulation; transition: background-color 240ms ease, transform 150ms ease; }
.merade-gallery-controls button:disabled { opacity: .35; cursor: default; }
.merade-project-page .merade-project-galleries :is(a,button):focus-visible { outline-color: var(--merade-gold); outline-offset: -3px; }
.merade-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #66707d transparent; padding-bottom: 12px; }
.merade-gallery-track a { position: relative; display: block; min-width: 0; border-radius: 8px; overflow: hidden; scroll-snap-align: start; background: #263345; }
.merade-gallery-track img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; transition: transform 200ms cubic-bezier(.23,1,.32,1); }
.merade-gallery-zoom { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(16 27 44 / 70%); color: white; }
.merade-photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; padding: 72px 80px 24px; border: 0; margin: 0; background: rgb(10 17 28 / 98%); color: white; }
.merade-photo-viewer[open] { display: grid; place-items: center; }
.merade-photo-viewer::backdrop { background: rgb(10 17 28 / 90%); }
.merade-photo-viewer figure { display: flex; flex-direction: column; margin: 0; max-width: 100%; max-height: 100%; min-height: 0; }
.merade-photo-viewer img { display: block; max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; min-height: 0; object-fit: contain; margin: auto; touch-action: pan-y pinch-zoom; }
.merade-photo-viewer figcaption { display: flex; gap: 20px; justify-content: space-between; padding: 14px 0 0; color: #c7cbd0; font: 400 13px/1.5 var(--merade-font-body); }
.merade-viewer-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merade-viewer-count { flex: none; font-variant-numeric: tabular-nums; }
.merade-photo-viewer button { position: absolute; }
.merade-photo-viewer button[hidden] { display: none; }
.merade-viewer-close { top: max(16px,env(safe-area-inset-top)); right: 20px; }
.merade-viewer-prev { left: 20px; top: 50%; }
.merade-viewer-next { right: 20px; top: 50%; }
.merade-photo-viewer button:focus-visible { outline: 2px solid var(--merade-gold); outline-offset: 4px; }
/* Property offers have their own image-led editorial layout. */
.merade-project-properties .merade-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; }
.merade-project-property { display: flex; flex-direction: column; min-width: 0; }
.merade-property-photo { display: block; overflow: hidden; position: relative; border-radius: 10px; background: var(--merade-surface); }
.merade-property-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; transition: transform 200ms cubic-bezier(.23,1,.32,1); }
.merade-property-copy { position: relative; display: flex; flex: 1; flex-direction: column; padding: 18px 0 0; }
.merade-project-property h3 { margin: 0 0 12px; font-size: 28px; }
.merade-project-property h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 44px; text-decoration: none; }
.merade-property-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; color: var(--merade-muted); }
.merade-property-tags p { margin: 0; font-size: 13px; }
.merade-property-figures { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: auto; padding: 14px 0; border-block: 1px solid #d4d5d1; }
.merade-property-figures p { margin: 0; font-size: 13px; }
.merade-property-figures .merade-property-price { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.merade-project-location { display: grid; grid-template-columns: minmax(0,1fr); gap: 36px; margin-top: 40px; }
.merade-project-map { min-width: 0; }
.merade-project-map-details { display: grid; gap: 12px; margin: 0 0 28px; }
.merade-project-map-details > div { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px 8px; }
.merade-project-map-details dt { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.merade-project-map-details dt .merade-symbol { color: var(--merade-muted); }
.merade-project-map-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.merade-project-page .merade-project-map-details a { color: #234464; text-decoration: none; text-underline-offset: 4px; }
.merade-project-map-details a:focus-visible { outline: 2px solid var(--merade-gold); outline-offset: 4px; }
.merade-project-map iframe { display: block; width: 100%; max-width: 100%; height: clamp(320px, 40vw, 440px); border: 0; border-radius: 22px; }
@media (hover: hover) and (pointer: fine) {
 .merade-project-page .merade-project-map-details a:hover { text-decoration: underline; }
}
.merade-project-location.has-nearby { grid-template-columns: repeat(2,minmax(0,1fr)); }
.merade-project-location > section { min-width: 0; margin: 0; }
.merade-project-location .merade-project-area { max-width: calc((100% - 36px) / 2); }
.merade-project-location.has-nearby .merade-project-area { max-width: none; }
.merade-project-location .merade-area-card { width: 100%; }
.merade-project-location .merade-area-card .merade-area-card-link { width: 100%; aspect-ratio: 1.5; min-height: 300px; padding: 20px; }
.merade-project-location .merade-area-card .merade-area-card-link .merade-area-card-title { font-size: 28px; }
.merade-project-location .merade-area-card-arrow { inset-inline-end: 20px; bottom: 20px; }
.merade-project-location > .merade-project-nearby { align-self: center; justify-self: stretch; width: 100%; max-width: none; }
.merade-project-location .merade-project-nearby dl {
 width: 100%; max-width: none; align-items: stretch; grid-template-columns: minmax(0,1fr) fit-content(45%); column-gap: 24px;
 padding: 0; border: 0; background: transparent;
}
.merade-project-location .merade-project-nearby :is(dt,dd) { display: flex; align-items: center; min-width: 0; padding: 10px 0; border-color: #dcdedb; color: var(--merade-muted); line-height: 1.5; }
.merade-project-location .merade-project-nearby dd { justify-content: flex-start; text-align: left; border-bottom: 0; text-decoration: none; font-variant-numeric: tabular-nums; }
.merade-project-location .merade-project-nearby :is(dt,dd):nth-last-child(-n+2) { border-bottom: 0; }
.merade-project-page > .merade-project-map + .merade-project-developer { margin-top: 80px; }
.merade-project-developer-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, 420px); align-items: center; gap: 36px; }
.merade-project-developer .merade-developer-card-link { width: 100%; }
.merade-project-developer-copy { min-width: 0; padding-top: 0; }
.merade-project-parent-link { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; padding: 10px 18px; border: 1px solid #b7bcc1; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; }
.merade-project-parent-link span { font-size: 20px; line-height: 1; }
.merade-developer-description { margin-top: 20px; color: #505964; }
@media(hover:hover) and (pointer:fine) {
 .merade-project-characteristics a:hover .merade-characteristic-label { text-decoration-color: currentColor; }
 .merade-gallery-track a:hover img, .merade-property-photo:hover img { transform: scale(1.025); }
 .merade-gallery-controls button:not(:disabled):hover, .merade-photo-viewer button:hover { background: #334155; }
 .merade-project-parent-link:hover { background: var(--merade-navy); color: white; border-color: var(--merade-navy); }
 .merade-project-property h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
}
.merade-gallery-controls button:not(:disabled):active, .merade-photo-viewer button:active, .merade-project-parent-link:active { transform: scale(.97); }
@media(max-width:1000px) {
 .merade-project-characteristics ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .merade-project-properties .merade-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .merade-gallery-track { grid-auto-columns: calc((100% - 16px) / 2); }
 .merade-project-developer-layout { grid-template-columns: minmax(0,1fr) minmax(0, .85fr); gap: 24px; }
}
@media(max-width:760px) {
 .merade-project-characteristics ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 18px; }
 .merade-project-characteristics li, .merade-project-characteristics a { font-size: 15px; gap: 9px; }
 .merade-project-galleries { margin-top: 32px; padding: 26px 0; }
 .merade-project-page .merade-gallery-heading h2 { margin: 0; }
 .merade-gallery-track { grid-auto-columns: 85%; gap: 12px; }
 .merade-project-location.has-nearby, .merade-project-developer-layout { grid-template-columns: 1fr; }
 .merade-project-location .merade-project-area { max-width: none; }
 .merade-project-location { margin-top: 32px; gap: 28px; }
 .merade-project-location .merade-area-card-copy { padding-inline-end: 48px; }
 .merade-project-developer .merade-developer-card { max-width: 420px; }
 .merade-project-developer-copy { padding: 0; }
 .merade-photo-viewer { padding: 72px 16px 84px; }
 .merade-photo-viewer img { max-height: calc(100dvh - 210px); }
 .merade-photo-viewer .merade-viewer-prev, .merade-photo-viewer .merade-viewer-next { top: auto; bottom: max(20px,env(safe-area-inset-bottom)); }
 .merade-viewer-prev { left: calc(50% - 54px); }
 .merade-viewer-next { right: calc(50% - 54px); }
}
@media(max-width:600px) { .merade-project-properties .merade-directory-grid { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) {
 .merade-gallery-track img, .merade-property-photo img, .merade-gallery-controls button, .merade-photo-viewer button { transition: none; }
 .merade-gallery-track a:hover img, .merade-property-photo:hover img { transform: none; }
}

.merade-project-context .merade-context-value {
 text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
 transition: text-decoration-color 240ms ease;
}
.merade-project-characteristics .merade-symbol { flex: 0 0 28px; overflow: visible; }
.merade-project-parent-link { margin-top: 20px; transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease, transform 120ms ease; }
@media(max-width:760px) {
 .merade-project-page > .merade-project-map + .merade-project-developer { margin-top: 56px; }
}
@media(hover:hover) and (pointer:fine) {
 .merade-project-context a:hover .merade-context-value { text-decoration-color: currentColor; }
}
@media(prefers-reduced-motion:reduce) {
 .merade-project-context .merade-context-value, .merade-project-parent-link { transition: none; }
}

/* Project catalogues: a quiet document list with a clear download action. */
.merade-project-documents > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.merade-project-document { display: flex; align-items: center; min-width: 0; gap: 20px; padding: 22px 24px; border: 1px solid var(--merade-border, #e5e3dc); border-radius: 12px; background: var(--merade-white, #fff); }
.merade-document-badge { display: grid; place-items: center; flex: 0 0 52px; height: 60px; border-radius: 8px; background: var(--merade-ivory, #f5f3ee); color: var(--merade-navy); }
.merade-document-badge .merade-symbol { width: 30px; height: 30px; font-size: 30px; }
.merade-document-copy { flex: 1; min-width: 0; }
.merade-project-page .merade-document-copy h3 { margin: 0 0 4px; font: 600 16px/1.5 var(--merade-font-body); letter-spacing: normal; }
.merade-document-meta { display: block; color: var(--merade-muted); font-size: 12px; }
.merade-project-page .merade-document-download { display: inline-flex; justify-content: center; align-items: center; gap: 9px; flex: none; min-height: 44px; padding: 10px 20px; border: 1px solid #234464; border-radius: 7px; background: #234464; color: #fff; text-decoration: none; font: 600 14px/1.5 var(--merade-font-body); transition: background-color 180ms ease, border-color 180ms ease; }
@media(hover:hover) and (pointer:fine) {
 .merade-project-page .merade-document-download:hover { background: var(--merade-navy); border-color: var(--merade-navy); }
}
@media(max-width:1000px) {
 .merade-project-document { flex-wrap: wrap; gap: 14px; padding: 18px; }
 .merade-document-badge { flex-basis: 44px; height: 52px; }
 .merade-document-copy { flex-basis: calc(100% - 58px); }
 .merade-project-page .merade-document-download { width: 100%; }
}
@media(max-width:760px) {
 .merade-project-documents > ul { grid-template-columns: minmax(0, 1fr); }
}
@media(prefers-reduced-motion:reduce) { .merade-project-page .merade-document-download { transition: none; } }

/* Main editor descriptions follow the hero on area, project and property pages. */
.merade-project-page > .merade-catalog-editor-content { margin: 40px 0 0; color: #505964; }
.merade-catalog-editor-content::after { display: table; clear: both; content: ''; }
.merade-project-page .merade-catalog-editor-content :is(h2,h3,h4,h5,h6) { margin: 28px 0 14px; color: var(--merade-navy); }
.merade-project-page .merade-catalog-editor-content > :first-child { margin-top: 0; }
.merade-project-page .merade-catalog-editor-content > :last-child { margin-bottom: 0; }
.merade-catalog-editor-content :is(ul,ol) { margin: 0 0 18px; padding-inline-start: 24px; }
.merade-catalog-editor-content li { margin-bottom: 6px; }
.merade-catalog-editor-content :is(img,video,iframe) { max-width: 100%; }
.merade-catalog-editor-content :is(img,video) { height: auto; }
.merade-catalog-editor-content :is(.alignwide,.alignfull) { width: 100%; margin-inline: 0; }
.merade-catalog-editor-content .wp-block-table { overflow-x: auto; }
.merade-catalog-editor-content a { text-underline-offset: 4px; }
@media(max-width:760px) {
 .merade-project-page > .merade-catalog-editor-content { margin-top: 32px; }
}

/* Keep status phrases intact; move whole details to the next row if needed. */
.single-merade_project .merade-project-details { display: flex; flex-wrap: wrap; column-gap: 20px; }
.single-merade_project .merade-project-details > div { flex: 0.3 1 auto; }
.single-merade_project .merade-project-details > div:first-child { flex-basis: 100%; }
.single-merade_project .merade-project-status dd { white-space: nowrap; }
