/*
 * My Collection (assets/collection.js, inc/collection.php): the hearts on cards, the header's heart, the collection
 * page, the shared page, the request dialog and the printed selection. The theme's own tokens only: navy ink, the warm
 * off-white ground, champagne hairlines, the display face for headings and small capitals for labels.
 */

/* ── The heart on a card ─────────────────────────────────────────────────── */
.mk27-has-heart { position: relative; }
.mk27-tilewrap { position: relative; min-width: 0; }
.mk27-tilewrap > .mk-devtile { display: block; height: 100%; }
.mk27-heart {
	position: absolute; top: 0.6rem; right: 0.6rem; z-index: 3;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; margin: 0;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.9); color: var(--mas-ink, #1D2F3E);
	box-shadow: 0 2px 10px rgba(18, 31, 42, 0.16);
	cursor: pointer;
	transition: background-color var(--mas-quick, 180ms) ease, transform var(--mas-quick, 180ms) ease;
}
.mk27-heart:hover { background: #fff; }
.mk27-heart:active { transform: scale(0.94); }
.mk27-heart:focus-visible, .mk27-savebtn:focus-visible, .mk27-colnav:focus-visible { outline: 2px solid var(--mas-accent, #A88A5C); outline-offset: 2px; }
.mk27-heart-icon { display: block; width: 20px; height: 20px; fill: none; }
.mk27-heart-icon path, .mk27-colnav-icon path { transition: fill var(--mas-quick, 180ms) ease; }
[aria-pressed="true"] > .mk27-heart-icon path { fill: currentColor; }
.mk27-heart[aria-pressed="true"] { color: var(--mas-accent, #A88A5C); }
/* The New developments page and the strips: the photograph's corner. */
.mk-dev-card.mk27-has-heart > .mk27-heart { top: 0.75rem; right: 0.75rem; }

/* ── "Save to my collection" on a home's or a development's own page ─────── */
.mk27-savebtn {
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 44px; padding: 0 1.1rem; margin: 0;
	border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit;
	font: inherit; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: var(--mas-tracking-label, 0.22em); text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--mas-calm, 300ms) ease, color var(--mas-calm, 300ms) ease;
}
.mk27-savebtn .mk27-heart-icon { width: 18px; height: 18px; }
.mk27-savebtn[aria-pressed="true"] .mk27-heart-icon { color: var(--mas-accent, #A88A5C); }
.mk-listing-actions .mk27-savebtn { margin-left: 0.5rem; }
.mk27-saveline { margin: 1rem 0 0; }

/* ── The header's heart ──────────────────────────────────────────────────── */
.mk27-colnav {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin: 0 -0.5rem 0 0; color: inherit; text-decoration: none;
}
.mk27-colnav-icon { width: 20px; height: 20px; }
.mk27-colnav[aria-current="page"] .mk27-colnav-icon path { fill: currentColor; }
.mk27-colnav-count {
	position: absolute; top: 5px; right: 3px;
	min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--mas-accent, #A88A5C); color: #fff;
	font-size: 10px; font-weight: 600; line-height: 17px; letter-spacing: 0; text-align: center;
}
.mk27-colnav-count[hidden] { display: none; }
.mk-header-actions:has(.mk27-colnav) { gap: 1.25rem; }
/* On a phone the header keeps only the heart beside the menu button (the language and Contact are in the menu). */
@media (max-width: 600px) {
	.mk-header-row > .mk-header-actions:has(.mk27-colnav) { display: flex; margin-right: -0.25rem; }
	.mk-header-actions:has(.mk27-colnav) > *:not(.mk27-colnav) { display: none !important; }
	.mk27-colnav { margin: 0; }
}
@media (max-width: 1200px) {
	.mk-header-actions:has(.mk27-colnav) { gap: 0.5rem; }
}

/* ── The small message ───────────────────────────────────────────────────── */
.mk27-toast {
	position: fixed; left: 50%; bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 1000;
	max-width: calc(100vw - 2rem); padding: 0.85rem 1.25rem;
	background: var(--mas-ink, #1D2F3E); color: #fff;
	font-size: 0.875rem; letter-spacing: 0.01em; box-shadow: var(--mas-lift, 0 18px 50px rgba(29, 47, 62, 0.18));
	transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
	transition: transform var(--mas-calm, 300ms) var(--mas-ease, ease), opacity var(--mas-calm, 300ms) ease;
}
.mk27-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.mk27-toast::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.7rem; border-radius: 50%; background: var(--mas-accent, #A88A5C); vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .mk27-toast { transition: opacity 120ms linear; } }

/* ── The collection page ─────────────────────────────────────────────────── */
.mk27-colmain { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--mas-band, 6rem); background: var(--mas-paper-warm, #FAF8F4); }
.mk27-col { color: var(--mas-text, #16232C); }
.mk27-col-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.mk27-col-eyebrow { margin: 0 0 1rem; }
.mk27-col-title { margin: 0; font-family: var(--mas-face-display); font-weight: 400; font-size: var(--mas-type-display-l, clamp(2.3rem, 4.6vw, 3.8rem)); line-height: var(--mas-leading-display, 1.04); letter-spacing: var(--mas-tracking-display, -0.022em); color: var(--mas-ink, #1D2F3E); }
.mk27-col-lede { margin: 1.25rem 0 0; font-size: var(--mas-type-body-l, 1.1rem); line-height: 1.6; color: var(--mas-muted, #6A7783); max-width: 38rem; }
.mk27-col-h2 { margin: 0 0 0.5rem; font-family: var(--mas-face-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--mas-ink, #1D2F3E); }
.mk27-col-loading, .mk27-col-hint, .mk27-cmp-hint { color: var(--mas-muted, #6A7783); font-size: 0.875rem; }
.mk27-col-hint { margin: 0 0 1.5rem; }

/* Buttons: square, small capitals, three weights. */
.mk27-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 48px; padding: 0 1.4rem; margin: 0;
	border: 1px solid var(--mas-ink, #1D2F3E); border-radius: 0;
	background: transparent; color: var(--mas-ink, #1D2F3E);
	font: inherit; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color var(--mas-calm, 300ms) ease, color var(--mas-calm, 300ms) ease, border-color var(--mas-calm, 300ms) ease;
}
.mk27-btn--solid { background: var(--mas-ink, #1D2F3E); color: #fff; }
.mk27-btn--solid:hover { background: #16303f; }
.mk27-btn--line:hover { background: var(--mas-ink, #1D2F3E); color: #fff; }
.mk27-btn--quiet { border-color: transparent; padding-inline: 0.5rem; text-decoration: underline; text-underline-offset: 0.4em; text-decoration-color: var(--mas-accent, #A88A5C); }
.mk27-btn--quiet:hover { color: var(--mas-accent, #A88A5C); }
.mk27-btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.mk27-btn:focus-visible, .mk27-linkbtn:focus-visible, .mk27-iconbtn:focus-visible, .mk27-share-copy:focus-visible, .mk27-share-b:focus-visible { outline: 2px solid var(--mas-accent, #A88A5C); outline-offset: 2px; }
.mk27-col-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }
.mk27-col-bar .mk27-col-actions { margin: 0; }

.mk27-linkbtn {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem; margin: 0;
	border: 0; background: none; color: var(--mas-ink, #1D2F3E); cursor: pointer;
	font: inherit; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
	text-decoration: underline; text-underline-offset: 0.45em; text-decoration-color: var(--mas-accent, #A88A5C);
}
.mk27-linkbtn--light { color: #fff; }
.mk27-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0;
	border: 1px solid var(--mas-rule, #E6E0D6); border-radius: 0; background: #fff; color: var(--mas-ink, #1D2F3E); cursor: pointer;
}
.mk27-iconbtn:hover:not(:disabled) { border-color: var(--mas-ink, #1D2F3E); }
.mk27-iconbtn:disabled { opacity: 0.35; cursor: default; }

.mk27-col-bar { display: grid; gap: 1rem; padding: 0 0 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--mas-rule, #E6E0D6); }
.mk27-col-count { margin: 0; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mas-muted, #6A7783); }
.mk27-col-pdf { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.mk27-col-check { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-size: 0.875rem; color: var(--mas-muted, #6A7783); cursor: pointer; }
.mk27-col-check input { width: 18px; height: 18px; accent-color: var(--mas-ink, #1D2F3E); }

.mk27-col-empty { padding: clamp(2rem, 5vw, 3.5rem); background: #fff; border-top: 1px solid var(--mas-accent, #A88A5C); max-width: 46rem; }
.mk27-col-empty p { color: var(--mas-muted, #6A7783); line-height: 1.6; }
.mk27-col-empty .mk27-btn { margin-top: 0.75rem; }

/* The list. */
.mk27-col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.mk27-sv {
	display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem);
	padding: 1.25rem; background: #fff; border: 1px solid var(--mas-rule, #E6E0D6);
}
.mk27-sv-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mas-sand, #E1D5CC); }
.mk27-sv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mk27-sv-media--none { background: linear-gradient(135deg, #E1D5CC, #F1ECE6); }
.mk27-sv-body { min-width: 0; }
.mk27-sv-meta { margin: 0 0 0.5rem; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mas-muted, #6A7783); }
.mk27-sv-title { margin: 0; font-family: var(--mas-face-display); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; color: var(--mas-ink, #1D2F3E); }
.mk27-sv-title a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; background-image: linear-gradient(var(--mas-accent, #A88A5C), var(--mas-accent, #A88A5C)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--mas-calm, 300ms) ease; }
.mk27-sv-title a:hover, .mk27-sv-title a:focus-visible { background-size: 100% 1px; }
.mk27-sv-price { margin: 0.6rem 0 0; font-size: 1.05rem; font-weight: 500; color: var(--mas-ink, #1D2F3E); }
.mk27-sv-facts { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--mas-muted, #6A7783); line-height: 1.5; }
.mk27-sv-ref { margin: 0.35rem 0 0; font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--mas-muted, #6A7783); }
.mk27-sv-gone { display: inline-block; margin: 0.6rem 0 0; padding: 0.3rem 0.6rem; border: 1px solid var(--mas-accent, #A88A5C); font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mas-ink, #1D2F3E); }
.mk27-sv.is-gone .mk27-sv-title { color: var(--mas-muted, #6A7783); }
.mk27-sv-note { margin-top: 1rem; }
.mk27-sv-note label { display: block; margin-bottom: 0.35rem; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mas-muted, #6A7783); }
.mk27-sv-note textarea {
	display: block; width: 100%; min-height: 3.2rem; padding: 0.6rem 0.75rem; box-sizing: border-box;
	border: 1px solid var(--mas-rule, #E6E0D6); border-radius: 0; background: var(--mas-paper-warm, #FAF8F4);
	font: inherit; font-size: 0.9375rem; line-height: 1.5; color: var(--mas-text, #16232C); resize: vertical;
}
.mk27-sv-note textarea:focus { outline: 2px solid var(--mas-accent, #A88A5C); outline-offset: 0; border-color: transparent; }
.mk27-sv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.85rem; }
.mk27-sv-actions .mk27-linkbtn { margin-left: auto; }
.mk27-sv-cmp { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--mas-accent, #A88A5C); font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.mk27-sv-cmp input { width: 18px; height: 18px; margin: 0; accent-color: var(--mas-ink, #1D2F3E); }
.mk27-col-list--shared .mk27-sv { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
@media (max-width: 640px) {
	.mk27-sv, .mk27-col-list--shared .mk27-sv { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
	.mk27-col-actions .mk27-btn { flex: 1 1 100%; }
}

/* The share card: navy, with the champagne button. */
.mk27-share {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center;
	margin: 0 0 2.5rem; padding: clamp(1.25rem, 3vw, 2.25rem);
	background: var(--mas-ink, #1D2F3E); color: #fff;
}
.mk27-share > * { min-width: 0; }
.mk27-share-thumbs { display: flex; padding-left: 0.25rem; }
.mk27-share-thumbs:empty { display: none; }
.mk27-share-thumbs img { width: 92px; height: 92px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
.mk27-share-thumbs img + img { margin-left: -36px; }
.mk27-share-label { margin: 0; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mas-accent, #A88A5C); }
.mk27-share-title { margin: 0.4rem 0 0.25rem; font-family: var(--mas-face-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; color: #fff; }
.mk27-share-sub { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.9375rem; }
.mk27-share-link { display: flex; align-items: center; gap: 0.5rem; max-width: 36rem; margin-top: 1.1rem; padding: 0.3rem 0.3rem 0.3rem 1rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.mk27-share .mk27-share-url { flex: 1; min-width: 0; min-height: 0; height: auto; padding: 0; margin: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff !important; font: inherit; font-size: 0.875rem; text-overflow: ellipsis; }
.mk27-share-url:focus { outline: none; }
.mk27-share-link:focus-within { border-color: var(--mas-accent, #A88A5C); }
.mk27-share-copy {
	min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 999px;
	background: var(--mas-accent, #A88A5C); color: var(--mas-ink, #1D2F3E);
	font: inherit; font-size: max(0.6875rem, 11px); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.mk27-share-copy:hover { background: #b99b6c; }
.mk27-share-copy:disabled { opacity: 0.6; cursor: progress; }
.mk27-share-copy.is-ok { background: #fff; }
.mk27-share-go { margin: 1.1rem 0 0; }
.mk27-share-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.mk27-share-b {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
	background: transparent; color: #fff; font: inherit; font-size: 0.8125rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.mk27-share-b:hover { border-color: #fff; }
.mk27-share-b--wa { border-color: rgba(255, 255, 255, 0.6); }
.mk27-share-note { margin: 0.9rem 0 0; color: rgba(255, 255, 255, 0.68); font-size: 0.8125rem; }
.mk27-share-manage { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0.4rem 0 0; }
@media (max-width: 640px) {
	.mk27-share { grid-template-columns: minmax(0, 1fr); }
	.mk27-share-thumbs img { width: 68px; height: 68px; }
	.mk27-share-thumbs img + img { margin-left: -26px; }
	.mk27-share-link { padding-left: 0.85rem; }
	.mk27-share-copy { padding: 0 0.85rem; }
}

/* Compare: every home the same width, photographs the same size, names on one line of sight; on a phone the table
   scrolls sideways under a fixed label column. */
.mk27-cmp { margin: 0 0 3rem; padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border-top: 1px solid var(--mas-accent, #A88A5C); }
.mk27-cmp[hidden] { display: none; }
.mk27-cmp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; }
.mk27-cmp-head h2 { margin: 0; }
.mk27-cmp-head h2:focus { outline: none; }
.mk27-cmp-hint { margin: 0.35rem 0 1.25rem; }
.mk27-cmp-swipe { display: none; margin: 0 0 0.75rem; font-size: 0.8125rem; color: var(--mas-muted, #6A7783); }
.mk27-cmp-swipe span { color: var(--mas-accent, #A88A5C); }
.mk27-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--mas-rule, #E6E0D6); }
.mk27-cmp-scroll:focus-visible { outline: 2px solid var(--mas-accent, #A88A5C); outline-offset: 2px; }
.mk27-cmp-table { --label: 168px; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; font-variant-numeric: tabular-nums lining-nums; }
.mk27-cmp-labelcol { width: var(--label); }
.mk27-cmp-table th, .mk27-cmp-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--mas-rule, #E6E0D6); background: #fff; overflow-wrap: anywhere; }
.mk27-cmp-table tbody td + td, .mk27-cmp-table thead th + th { border-left: 1px solid var(--mas-rule, #E6E0D6); }
.mk27-cmp-table thead th { font-weight: 400; padding-top: 1rem; padding-bottom: 1rem; }
.mk27-cmp-media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 0.85rem; overflow: hidden; background: var(--mas-sand, #E1D5CC); }
.mk27-cmp-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.mk27-cmp-kind { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 0.35rem; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; color: var(--mas-accent, #A88A5C); }
.mk27-cmp-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(2 * 1.25em); font-family: var(--mas-face-display); font-size: 1.15rem; line-height: 1.25; color: var(--mas-ink, #1D2F3E); text-decoration: none; }
.mk27-cmp-name:hover { text-decoration: underline; text-decoration-color: var(--mas-accent, #A88A5C); text-underline-offset: 0.25em; }
.mk27-cmp-remove { margin-top: 0.5rem; padding: 0; font-size: max(0.625rem, 10px); letter-spacing: 0.14em; color: var(--mas-muted, #6A7783); }
.mk27-cmp-remove:disabled { visibility: hidden; }
.mk27-cmp-table tbody th, .mk27-cmp-corner { position: sticky; left: 0; z-index: 1; background: var(--mas-paper-warm, #FAF8F4); box-shadow: 1px 0 0 var(--mas-rule, #E6E0D6); }
.mk27-cmp-table tbody th { font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; color: var(--mas-muted, #6A7783); }
.mk27-cmp-corner { vertical-align: bottom !important; overflow-wrap: normal !important; hyphens: auto; }
.mk27-cmp-corner-k { display: block; font-family: var(--mas-face-display); font-size: 1.25rem; color: var(--mas-ink, #1D2F3E); }
.mk27-cmp-corner-n { display: block; margin-top: 0.25rem; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mas-muted, #6A7783); }
.mk27-cmp-table td.is-price { font-weight: 600; color: var(--mas-ink, #1D2F3E); font-size: 1rem; }
.mk27-cmp-table td.is-na { color: var(--mas-muted, #6A7783); font-style: italic; font-weight: 400; }
@media (max-width: 900px) {
	.mk27-cmp-swipe { display: block; }
	.mk27-cmp-table { --label: 112px; width: calc(var(--label) + var(--n, 2) * 240px); font-size: 0.875rem; }
	.mk27-cmp-table th, .mk27-cmp-table td { padding: 0.75rem; }
	.mk27-cmp-table tbody th { letter-spacing: 0.1em; }
	.mk27-cmp-corner-k { font-size: 0.95rem; }
	.mk27-cmp-corner-n { letter-spacing: 0.1em; }
	.mk27-cmp { padding-inline: 1rem; }
}

/* ── The request dialog ──────────────────────────────────────────────────── */
.mk27-col-dialog {
	width: min(40rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-top: 2px solid var(--mas-accent, #A88A5C);
	background: var(--mas-paper-warm, #FAF8F4); color: var(--mas-text, #16232C); box-shadow: var(--mas-lift, 0 18px 50px rgba(29, 47, 62, 0.18));
	overflow: auto; overscroll-behavior: contain;
}
.mk27-col-dialog::backdrop { background: rgba(18, 31, 42, 0.55); backdrop-filter: blur(2px); }
.mk27-col-dialog-inner { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); }
.mk27-col-dialog-close { position: absolute; top: 0.5rem; right: 0.5rem; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--mas-ink, #1D2F3E); cursor: pointer; }
.mk27-col-dialog-close:focus-visible { outline: 2px solid var(--mas-accent, #A88A5C); }
.mk27-col-dialog-title { margin: 0 2.5rem 0.75rem 0; font-family: var(--mas-face-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; color: var(--mas-ink, #1D2F3E); }
.mk27-col-dialog-text { margin: 0 0 1.25rem; color: var(--mas-muted, #6A7783); line-height: 1.6; }
.mk27-col-pref { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 1.25rem; padding: 0; border: 0; }
.mk27-col-pref legend { width: 100%; margin-bottom: 0.35rem; padding: 0; font-size: max(0.6875rem, 11px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mas-muted, #6A7783); }
.mk27-col-pref-opt { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; font-size: 0.9375rem; }
.mk27-col-pref-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--mas-ink, #1D2F3E); }
.mk27-col-dialog-form .meklara-enquiry { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.mk27-col-dialog-form textarea[name="message"] { min-height: 12rem; font-size: 0.875rem; line-height: 1.5; }

/* ── The printed selection ───────────────────────────────────────────────── */
/* A4 pages drawn edge to edge (no page margin, so the browser prints no header or footer); every page is one box of
   exactly one sheet. Photographs and hairlines carry the design, so it holds even where backgrounds are not printed. */
.mk27-print { display: none; }
@media print {
	@page { size: A4 portrait; margin: 0; }
	html, body.mk27-col-page { margin: 0 !important; padding: 0 !important; background: #fff !important; }
	body.mk27-col-page > *:not(.mk27-print) { display: none !important; }
	.mk27-print, .mk27-print * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-sizing: border-box; }
	.mk27-print { display: block; color: #16232C; font-family: var(--wp--preset--font-family--body, "Gotham", Arial, sans-serif); font-size: 11pt; line-height: 1.45; }
	.mk27-print h1, .mk27-print h2 { font-family: var(--wp--preset--font-family--display, "Bw Vivant", Georgia, serif); font-weight: 400; color: #1D2F3E; letter-spacing: -0.01em; margin: 0; }
	.mk27-print p { margin: 0; }
	.mk27-pp { position: relative; width: 210mm; height: 296mm; overflow: hidden; break-after: page; page-break-after: always; break-inside: avoid; page-break-inside: avoid; }
	.mk27-pp:last-child { break-after: auto; page-break-after: auto; }
	.mk27-pp-logo { display: block; width: 22mm; height: 22mm; object-fit: contain; }
	.mk27-pp-brand { font-size: 10pt; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: #1D2F3E; }
	.mk27-pp-rule { display: block; width: 28mm; height: 0; border-top: 0.6pt solid #A88A5C; margin: 8mm 0; }
	.mk27-pp-site { font-size: 9pt; letter-spacing: 0.22em; text-transform: uppercase; color: #5E6973; }
	.mk27-pp-small { position: absolute; left: 18mm; right: 18mm; bottom: 12mm; font-size: 8.5pt; color: #5E6973; }

	/* Cover */
	.mk27-pp-hero { display: grid; gap: 1.5mm; width: 210mm; height: 158mm; }
	.mk27-pp-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.mk27-pp-hero--2 { grid-template-columns: 2fr 1fr; }
	.mk27-pp-hero--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
	.mk27-pp-hero--3 img:first-child { grid-row: 1 / span 2; }
	.mk27-pp-coverbody { padding: 12mm 18mm 0; }
	.mk27-pp-coverbody .mk27-pp-rule { margin: 7mm 0 6mm; }
	.mk27-pp--cover h1 { font-size: 34pt; line-height: 1.06; max-width: 160mm; }
	.mk27-pp-sub { margin-top: 5mm !important; font-size: 13pt; color: #1D2F3E; }
	.mk27-pp-date { margin-top: 2mm !important; font-size: 10.5pt; color: #5E6973; }
	.mk27-pp--cover .mk27-pp-site { position: absolute; left: 18mm; bottom: 12mm; }

	/* One home per page */
	.mk27-pp-photos { display: grid; gap: 1.5mm; width: 210mm; height: 128mm; }
	.mk27-pp-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.mk27-pp-photos--2 { grid-template-columns: 2fr 1fr; }
	.mk27-pp-photos--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
	.mk27-pp-photos--3 img:first-child { grid-row: 1 / span 2; }
	.mk27-pp-itembody { padding: 9mm 18mm 0; }
	.mk27-pp-meta { font-size: 9.5pt; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #5E6973; }
	.mk27-pp--item h2 { margin-top: 3mm; font-size: 26pt; line-height: 1.1; max-height: 2.25em; overflow: hidden; }
	.mk27-pp-price { margin-top: 3.5mm !important; font-size: 17pt; font-weight: 500; color: #1D2F3E; font-variant-numeric: lining-nums; }
	.mk27-pp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.5mm 8mm; margin: 7mm 0 0; padding: 6mm 0 0; border-top: 0.6pt solid #A88A5C; }
	.mk27-pp-facts dt { font-size: 9.5pt; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #5E6973; }
	.mk27-pp-facts dd { margin: 1.2mm 0 0; font-size: 13pt; color: #16232C; font-variant-numeric: lining-nums; }
	.mk27-pp-note { margin-top: 6mm; padding: 3.5mm 0 0 5mm; border-left: 0.8pt solid #A88A5C; font-size: 11pt; max-height: 30mm; overflow: hidden; }
	.mk27-pp-notelabel { margin-bottom: 1.5mm !important; font-size: 9.5pt; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #5E6973; }
	.mk27-pp-url { margin-top: 6mm !important; font-size: 10.5pt; color: #1D2F3E; word-break: break-all; }

	/* Closing page */
	.mk27-pp-closebody { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 270mm; padding: 0 24mm; text-align: center; }
	.mk27-pp-closebody .mk27-pp-logo { width: 28mm; height: 28mm; }
	.mk27-pp--close h2 { font-size: 30pt; line-height: 1.1; }
	.mk27-pp-lead { margin-top: 5mm !important; font-size: 13pt; max-width: 130mm; color: #1D2F3E; }
	.mk27-pp-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14mm; margin: 14mm 0 12mm; font-size: 11.5pt; line-height: 1.7; }
	.mk27-pp--close .mk27-pp-small { text-align: center; }
}
