/* Meridian Core block styles. Uses theme presets when present, sensible fallbacks otherwise. */
.mc-search{display:grid;gap:1px;margin:0;background:var(--wp--preset--color--line,#d9d6cf);border:1px solid var(--wp--preset--color--line,#d9d6cf);box-shadow:0 24px 60px -30px rgba(22,25,27,.45)}
@media (min-width:782px){.mc-search{grid-template-columns:repeat(3,1fr) auto}}
.mc-search__field{display:flex;flex-direction:column;gap:.15rem;margin:0;padding:.85rem 1.25rem;background:#fff;color:var(--wp--preset--color--ink,#16191b);min-width:0}
.mc-search__field label{font-size:.8125rem;font-weight:500;color:var(--wp--preset--color--muted,#5c6166)}
.mc-search select{box-sizing:border-box;width:100%;font:inherit;font-size:1.0625rem;font-weight:600;padding:.35rem 0;border:0;border-bottom:1px solid transparent;background:transparent;color:inherit;appearance:auto}
.mc-search select:focus-visible{outline:2px solid var(--wp--preset--color--accent,#b08d57);outline-offset:2px}
.mc-search__submit{margin:0;display:flex}
.mc-search__submit .wp-element-button{width:100%;border:0;cursor:pointer;min-height:4rem;padding-inline:2.5rem;background:var(--wp--preset--color--accent,#1f4e5a)}
.mc-search__submit .wp-element-button:hover{background:var(--wp--preset--color--ink,#16191b)}

.mc-listings__count{font-size:.875rem;color:var(--wp--preset--color--muted,#6b665f);margin:0 0 1.5rem}
.mc-grid{display:grid;gap:var(--wp--preset--spacing--50,2.5rem) var(--wp--preset--spacing--40,1.5rem);grid-template-columns:1fr;margin:0;padding:0;list-style:none}
@media (min-width:700px){.mc-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.mc-grid{grid-template-columns:repeat(3,1fr)}}
.mc-card{position:relative}
.mc-card__media{position:relative;margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--wp--preset--color--surface,#efeae3)}
.mc-card .mc-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.mc-card:hover .mc-card__media img,.mc-card:focus-within .mc-card__media img{transform:scale(1.05)}
.mc-card__badge{position:absolute;left:1rem;top:1rem;padding:.35rem .7rem;font-size:.8125rem;font-weight:600;background:var(--wp--preset--color--ink,#16191b);color:#fff}
.mc-card__badge.is-rent{background:var(--wp--preset--color--base,#faf8f5);color:var(--wp--preset--color--ink,#0e0e0e)}
.mc-card__body{padding-top:1.1rem}
.mc-card__price{margin:0;font-size:1.375rem;font-weight:700;font-stretch:115%;letter-spacing:-.01em}
.mc-card__title{margin:.25rem 0 0;font-family:inherit;font-size:1.0625rem;font-weight:600;letter-spacing:0}
.mc-card__title a{color:inherit;text-decoration:none}
.mc-card__title a::after{content:"";position:absolute;inset:0}
.mc-card__title a:focus-visible{outline:none}
.mc-card:focus-within{outline:2px solid var(--wp--preset--color--accent,#1f4e5a);outline-offset:6px}
.mc-card__location{margin:.2rem 0 0;font-size:.875rem;color:var(--wp--preset--color--muted,#6b665f)}
.mc-specs{display:flex;flex-wrap:wrap;gap:0;margin:.9rem 0 0;padding:.8rem 0 0;list-style:none;border-top:1px solid var(--wp--preset--color--line,#d9d6cf);font-size:.875rem}
.mc-specs li+li::before{content:"";display:inline-block;width:1px;height:.8em;margin:0 .8rem;background:currentColor;opacity:.3}

.mc-facts{margin:0;border-top:1px solid var(--wp--preset--color--line,#e4ded5)}
.mc-facts__row{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--wp--preset--color--line,#e4ded5)}
.mc-facts dt{font-size:.9375rem;color:var(--wp--preset--color--muted,#5c6166)}
.mc-facts dd{margin:0;font-weight:600;text-align:right}

.mc-gallery{display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr);margin:0;padding:0;list-style:none}
@media (min-width:782px){.mc-gallery{grid-template-columns:2fr 1fr}.mc-gallery li:first-child{grid-row:span 3}.mc-gallery li:first-child img{aspect-ratio:auto}}
.mc-gallery a{display:block;height:100%;overflow:hidden}
.mc-gallery img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;transition:opacity .3s ease}
.mc-gallery a:hover img{opacity:.85}

.mc-form__grid{display:grid;gap:1.25rem}
@media (min-width:600px){.mc-form__grid{grid-template-columns:1fr 1fr}.mc-form__field--wide,.mc-form__actions{grid-column:1/-1}}
.mc-form__field{display:flex;flex-direction:column;gap:.4rem;margin:0;min-width:0}
.mc-form__field label{font-size:.9375rem;font-weight:600}
.mc-form__req{color:var(--wp--preset--color--accent,#80653b)}
.mc-form input,.mc-form select,.mc-form textarea{box-sizing:border-box;font:inherit;width:100%;padding:.8rem 0;border:0;border-bottom:1px solid var(--wp--preset--color--ink,#0e0e0e);border-radius:0;background:transparent;color:inherit}
.mc-form input:focus-visible,.mc-form select:focus-visible,.mc-form textarea:focus-visible{outline:2px solid var(--wp--preset--color--accent,#b08d57);outline-offset:2px}
.mc-form__actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:.5rem 0 0}
.mc-form__submit{cursor:pointer;border:0}
.mc-form__hint{font-size:.8125rem;color:var(--wp--preset--color--muted,#6b665f)}
.mc-form__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.mc-form__notice{padding:1rem 1.25rem;margin:0 0 1.5rem;border-left:2px solid var(--wp--preset--color--accent,#b08d57);background:var(--wp--preset--color--surface,#efeae3)}
.mc-form__notice--error{border-color:#9b2c2c}
.mc-editor-empty{padding:1rem;border:1px dashed currentColor;opacity:.7}
