:root {
    --htg-wine: #631b0f;
    --htg-ink: #131313;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    overflow-x: hidden;
}

.hp-preview-body {
    background: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 300;
}

.hp-preview-body main {
    display: block;
}

.htg-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.htg-honeypot {
    display: none !important;
}

.htg-form-status {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.htg-form-status:empty {
    display: none;
}

.htg-form-status[data-status="success"] {
    color: #1d6b37;
}

.htg-form-status[data-status="error"] {
    color: #9c1c1c;
}

.htg-property-hero-source,
.htg-property-archive-source {
    width: 100%;
}

.htg-purpose-tabs .e-n-tab-title {
    text-decoration: none;
}

.htg-purpose-tabs .e-n-tab-title[aria-selected="true"] {
    color: #fff;
}

.htg-property-filters {
    width: 100%;
}

.htg-property-filters .elementor-field-group > label {
    display: block;
}

.htg-property-filters input[name="sector"] {
    cursor: pointer;
    display: inline-block !important;
    flex: 0 0 16px !important;
    margin: -3px 10px 0 0 !important;
    background-color: #fff !important;
    vertical-align: middle;
}

.htg-location-chips .is-active,
.htg-furnishing-chips.is-active .elementor-button {
    background: #631b0f !important;
    color: #fff !important;
}

.htg-location-chips .is-disabled,
.htg-furnishing-chips .is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.htg-sort-form {
    margin: 0;
}

.htg-sort-form .huntington-sort-toggle {
    width: 100%;
    border: 0;
    font-family: inherit;
    font-weight: inherit;
}

.htg-sort-form .huntington-sort-menu {
    z-index: 20;
}

.htg-sort-form.is-open .huntington-sort-menu {
    display: block !important;
}

@media (min-width: 1227px) {
    html:has(body.htg-property-archive),
    body.htg-property-archive {
        overflow-x: clip;
    }

    .elementor-12350 .elementor-element.elementor-element-2f760f7 .elementor-button,
    .elementor-12350 .elementor-element.elementor-element-243aa35 .elementor-button {
        border-style: none;
    }

    .elementor-12350 .elementor-element.elementor-element-51a7d16d.htg-archive-layout__sidebar-boundary {
        position: sticky;
        top: 120px;
        align-self: flex-start;
        /* Elementor's sticky-parent handler includes the archive's 3em padded edge. */
        margin-bottom: -3em;
    }
}

.htg-property-list,
.htg-broker-sidebar .elementor-loop-container {
    min-width: 0;
}

.htg-property-card,
.htg-broker-card,
.htg-property-ad {
    margin: 0;
}

.htg-property-card__detail-link {
    color: inherit;
}

.htg-property-slider__placeholder {
    display: grid;
    min-height: 220px;
    place-items: center;
    border-radius: 20px;
    background: #eee8e2;
    color: #767676;
    text-decoration: none;
}

.htg-property-card__facts .elementor-button-icon img {
    display: block;
    width: 17px;
    height: 14px;
    object-fit: contain;
}

.htg-broker-card__photo-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border-radius: 100px 100px 0 0;
    background: rgb(255 255 255 / 55%);
    color: #631b0f;
    font-size: 36px;
}

.htg-broker-card__portrait,
.htg-broker-card__artwork-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.htg-empty-state,
.htg-broker-sidebar__empty {
    width: 100%;
    padding: 48px 24px;
    border: 1px solid #d9c7bd;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.htg-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.htg-pagination a,
.htg-pagination span {
    display: grid;
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 50px;
    place-items: center;
    color: #131313;
    text-decoration: none;
}

.htg-pagination .is-current {
    background: #631b0f;
    color: #fff;
}

.htg-advisor__form .iti {
    width: 100%;
}

.htg-advisor__form .iti__country-list {
    color: #111;
}

@media (prefers-reduced-motion: reduce) {
    .htg-property-slider__track {
        transition: none !important;
    }
}
