.ch-market {
    margin: 0 0 clamp(28px, 5vw, 60px);
}

.ch-market h2,
.ch-contact-form h2 {
    margin: 0 0 22px;
    font: 400 clamp(32px, 4vw, 52px)/1.08 Georgia, serif;
    letter-spacing: -.035em;
}

.ch-market .ch-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 350px));
    gap: clamp(12px, 2vw, 24px);
}

.ch-market .ch-actions img {
    object-position: center 58%;
}

.ch-market .ch-actions a:focus-visible {
    outline: 2px solid #1e302c;
    outline-offset: 4px;
}

.ch-market-pages {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.ch-property {
    max-width: 1260px;
    padding: clamp(28px, 5vw, 72px) clamp(16px, 5vw, 74px);
    margin: auto;
}

.ch-property > h1 {
    font: 400 clamp(36px, 6vw, 78px)/1.02 Georgia, serif;
    letter-spacing: -.045em;
    margin: 0 0 14px;
}

.ch-property-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.ch-property-meta span {
    padding: 5px 10px;
    background: #24443a;
    color: white;
    font-size: .84rem;
}

.ch-property-meta strong {
    font-size: 1rem;
}

.ch-property-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 24px 0;
    padding-block: 14px;
    border-block: 1px solid #cdd7d0;
}

.ch-property-facts dt {
    font-size: .83rem;
    color: #4c645b;
}

.ch-property-facts dd {
    margin: 3px 0 0;
    font-weight: 650;
}

.ch-property-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: clamp(18px, 3vw, 38px);
    align-items: start;
}

.ch-property-layout > * {
    margin-block-start: 0;
}

.ch-property-gallery {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 5px;
    height: clamp(350px, 43vw, 600px);
    margin-bottom: 32px;
}

.ch-property-gallery figure {
    margin: 0;
    min-height: 0;
}

.ch-property-gallery figure:first-child {
    grid-row: span 3;
}

.ch-property-gallery a,
.ch-property-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.ch-property-gallery img {
    object-fit: cover;
    object-position: center 57%;
}

.ch-property-gallery a:focus-visible {
    position: relative;
    outline: 3px solid white;
    outline-offset: -5px;
}

.ch-property-layout .entry-content h2,
.ch-property-contact h2 {
    font: 400 clamp(26px, 3vw, 39px)/1.12 Georgia, serif;
    margin: 22px 0 10px;
}

.ch-property-layout .entry-content > p,
.ch-property-layout .entry-content > ul {
    line-height: 1.65;
}

.ch-property-contact {
    position: sticky;
    top: 48px;
    padding: clamp(16px, 2.5vw, 30px);
    background: #e9ede5;
}

.ch-property-contact h2 {
    margin-top: 0;
    font-size: clamp(25px, 2.7vw, 36px);
}

.ch-property-back {
    display: block;
    font-size: .9rem;
    margin-top: 14px;
}

.ch-contact-button {
    display: inline-block;
    padding: 12px 18px;
    border: 0;
    background: #24443a;
    color: white;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.ch-contact-button:hover {
    background: #143229;
    color: white;
}

.ch-contact-form {
    scroll-margin-top: 24px;
    max-width: 780px;
    margin-top: 22px;
    padding: clamp(18px, 4vw, 44px);
    background: #e9ede5;
}

.ch-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ch-contact-form label {
    display: block;
    font-weight: 650;
    margin-bottom: 12px;
}

.ch-contact-form input:not([type=hidden]),
.ch-contact-form textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #7e9288;
    box-sizing: border-box;
    background: white;
    color: #1e302c;
    font: inherit;
    font-weight: 400;
    margin-top: 4px;
}

.ch-contact-form textarea {
    resize: vertical;
}

.ch-contact-notice {
    padding: 10px 12px;
    border-left: 3px solid #24443a;
    background: white;
}

.ch-contact-privacy {
    font-size: .88rem;
}

.ch-contact-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.ch-photo-viewer {
    width: min(100% - 24px, 1050px);
    max-width: none;
    border: 0;
    padding: 14px;
    background: #11211d;
    color: white;
}

.ch-photo-viewer::backdrop {
    background: #081210d9;
}

.ch-photo-viewer img {
    display: block;
    width: 100%;
    height: min(70vh, 850px);
    object-fit: contain;
}

.ch-photo-viewer header,
.ch-photo-viewer footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ch-photo-viewer button {
    padding: 8px 12px;
    min-height: 44px;
    background: transparent;
    border: 1px solid #a2b9b2;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 760px) {
    .ch-property-layout { grid-template-columns: minmax(0, 1fr); }
    .ch-property-contact { position: static; }
    .ch-property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .ch-property-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: minmax(0, 3fr) minmax(0, 1fr);
        height: clamp(320px, 110vw, 480px);
    }

    .ch-property-gallery figure:first-child { grid-column: span 3; grid-row: auto; }
    .ch-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

.ch-home-properties {
    padding: clamp(44px, 7vw, 100px) clamp(16px, 6vw, 96px);
    background: #fff;
    color: #171717;
}

.ch-home-properties-inner {
    max-width: 1200px;
    margin: auto;
}

.ch-home-properties-heading {
    text-align: center;
    margin: 0 auto clamp(26px, 4vw, 50px);
    max-width: 700px;
}

.ch-home-properties-heading h2 {
    max-width: 17ch;
    margin: 0 auto 16px;
    font: 400 clamp(39px, 6.3vw, 80px)/.99 Georgia, serif;
    letter-spacing: -.045em;
    color: inherit;
}

.ch-home-properties-heading p {
    max-width: 45ch;
    margin: auto;
    color: #555;
    line-height: 1.55;
}

.ch-property-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 355px));
    gap: clamp(14px, 2vw, 24px);
}

.ch-property-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #737373 #eee;
    padding-bottom: 10px;
}

.ch-property-track-single {
    grid-auto-columns: min(100%, 530px);
    justify-content: center;
}

.ch-property-track .ch-property-card {
    scroll-snap-align: start;
}

.ch-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 12px;
}

.ch-carousel-controls[hidden] {
    display: none;
}

.ch-carousel-controls button {
    inline-size: 44px;
    block-size: 44px;
    border: 1px solid #b2b2b2;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font: 400 22px/1 system-ui, sans-serif;
    cursor: pointer;
}

.ch-carousel-controls button:disabled {
    opacity: .35;
    cursor: default;
}

.ch-carousel-controls button:not(:disabled):hover {
    color: #fff;
    background: #111;
}

.ch-home-properties-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 20px 0 0;
}

.ch-home-properties-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 4px;
    background: #090909;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.ch-home-properties-links a:hover {
    background: #303030;
    color: #fff;
}

.ch-home-properties-links a:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.ch-property-card {
    min-width: 0;
    background: #fff;
    color: #1e302c;
    border: 1px solid #d7dfd9;
    border-radius: 6px;
    overflow: hidden;
}

.ch-property-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.ch-property-card > a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

.ch-property-card-photo {
    position: relative;
    isolation: isolate;
    aspect-ratio: 4 / 3;
    background: #28332f;
}

.ch-property-card-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.ch-property-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    background: #fff;
    color: #181818;
    border-radius: 3px;
    font: 650 .72rem/1.2 system-ui, sans-serif;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.ch-property-card-counts {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 4px;
    padding: 6px 10px;
    background: #111e;
    color: white;
}

.ch-property-card-counts > span,
.ch-property-facts dt {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ch-property-icon {
    display: inline-block;
    vertical-align: middle;
    flex: 0 0 24px;
}

.ch-property-card-body {
    padding: 17px clamp(14px, 2vw, 24px) 20px;
}

.ch-property-card-body h3 {
    color: inherit;
    font: 400 clamp(24px, 3vw, 36px)/1.08 Georgia, serif;
    letter-spacing: -.025em;
    margin: 0 0 10px;
}

.ch-property-card a:hover h3 {
    text-decoration: underline;
    text-underline-offset: .18em;
}

.ch-property-card-body p {
    color: inherit;
    margin: 0;
    line-height: 1.45;
}

.ch-property-card-body .ch-property-card-price {
    font-weight: 650;
}

.ch-property-card-body .ch-property-card-description {
    margin-top: 8px;
    font-size: .92rem;
    opacity: .83;
}

.ch-property-facts dt {
    gap: 8px;
}

.ch-property-layout .entry-content li:has(> .ch-property-icon) {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.ch-property-layout .entry-content ul:has(> li > .ch-property-icon) {
    padding-left: 0;
}

@media (max-width: 850px) {
    .ch-property-track { grid-auto-columns: calc((100% - 20px) / 2); }
    .ch-property-track-single { grid-auto-columns: min(100%, 530px); }
}

@media (max-width: 580px) {
    .ch-property-track { grid-auto-columns: min(86%, 390px); }
    .ch-property-track-single { grid-auto-columns: 100%; }
}

.ch-toggle .ch-toggle-text {
    display: inline;
    width: auto;
    height: auto;
    border: 0;
    font: inherit;
}

.ch-toggle .ch-toggle-text::after {
    content: none;
}

@media (max-width: 900px) {
    .ch-interactive .ch-head {
        min-height: 62px;
        padding: 8px clamp(16px, 5vw, 38px);
    }

    .ch-interactive .ch-head .ch-toggle {
        min-height: 44px;
        padding-inline: 13px;
        border-color: #ffffff70;
        font: 600 15px/1.2 system-ui, sans-serif;
    }

    .ch-toggle[aria-expanded="true"] .ch-toggle-icon {
        border-color: transparent;
    }

    .ch-toggle[aria-expanded="true"] .ch-toggle-icon::before,
    .ch-toggle[aria-expanded="true"] .ch-toggle-icon::after {
        content: '';
        position: absolute;
        inset: 50% 0 auto;
        border-top: 1px solid;
        transform: rotate(45deg);
    }

    .ch-toggle[aria-expanded="true"] .ch-toggle-icon::after {
        transform: rotate(-45deg);
    }

    .ch-interactive .ch-head .ch-nav {
        inset: 100% 0 auto;
        box-sizing: border-box;
        width: 100%;
        max-height: calc(100vh - 62px);
        max-height: calc(100dvh - 62px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 8px clamp(20px, 6vw, 52px) 24px;
        background: #000;
        color: #fff;
        box-shadow: 0 16px 25px #0005;
    }

    .ch-interactive .ch-head .ch-toggle[aria-expanded="false"] + .ch-nav {
        display: none;
    }

    .ch-interactive .ch-nav > details,
    .ch-interactive .ch-nav > a {
        border-bottom: 1px solid #353535;
    }

    .ch-interactive .ch-nav > a,
    .ch-interactive .ch-nav > details > summary {
        justify-content: space-between;
        min-height: 58px;
        font: 400 clamp(23px, 4.5vw, 32px)/1.15 Georgia, serif;
        color: #fff;
    }

    .ch-interactive .ch-nav details > div {
        margin: 0 0 12px 4px;
        padding: 0 0 0 12px;
        background: transparent;
        color: #e2e2e2;
        border-color: #666;
    }

    .ch-interactive .ch-nav details > div a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-block: 0;
        color: inherit;
        font: 500 16px/1.4 system-ui, sans-serif;
    }
}

.ch-home-guidance {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 56px) clamp(16px, 5vw, 40px);
}

.ch-home-guidance h2 {
    font: 400 clamp(27px, 4vw, 43px)/1.15 Georgia, serif;
}

.ch-finder.ch-section-finder {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    width: 100%;
    margin-bottom: clamp(24px, 4vw, 44px);
    border: 1px solid #d7dfd9;
}

.ch-finder.ch-section-finder button {
    min-height: 45px;
}

@media (max-width: 700px) {
    .ch-finder.ch-section-finder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-finder.ch-section-finder button {
        grid-column: auto;
    }
}
