.tci-hidden { display: none; }
.tci-term-post-content { margin: 2em auto; max-width: 1200px; width: 100%; box-sizing: border-box; font-size: inherit; line-height: inherit; }
body:not(.tci-taxonomy-archive) :is(.tci-jump-wrap, .tlj-wrap) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 30px;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn, .tlj-btn) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    max-width: 100%;
    padding: 12px 22px;
    box-sizing: border-box;
    border: 1px solid #17313a;
    border-radius: 0;
    background: #17313a;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: none;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn--insights, .tlj-btn--insights, .tci-jump-btn--snapshot, .tlj-btn--snapshot) {
    background: transparent;
    color: #17313a;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn, .tlj-btn):visited {
    color: #fff;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn--insights, .tlj-btn--insights, .tci-jump-btn--snapshot, .tlj-btn--snapshot):visited {
    color: #17313a;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn, .tlj-btn):hover {
    background: #294c58;
    border-color: #294c58;
    color: #fff;
    text-decoration: none;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn, .tlj-btn):focus-visible {
    outline: 3px solid #17313a;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}
body:not(.tci-taxonomy-archive) :is(.tci-jump-btn, .tlj-btn) .tci-jump-icon {
    display: none;
}
@media (max-width: 767px) {
    body:not(.tci-taxonomy-archive) :is(.tci-jump-wrap, .tlj-wrap) {
        flex-direction: column;
        align-items: stretch;
    }
    body:not(.tci-taxonomy-archive) :is(.tci-jump-btn, .tlj-btn) {
        width: 100%;
    }
}

/* Homepage-aligned taxonomy components. Existing search controls and query state stay in place. */
body.tci-taxonomy-archive .tci-archive-header {
    padding: 38px 32px 36px;
    margin: 0;
    background: transparent;
    color: #454545;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}
body.tci-taxonomy-headings .tci-archive-eyebrow,
body.tci-taxonomy-archive .tci-archive-eyebrow {
    margin: 0 0 16px;
    color: #52656b;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
/* One primary taxonomy headline style, including blog and agent term archives. */
body.tci-taxonomy-headings h1.entry-title,
body.tci-taxonomy-archive .tci-archive-header > h1.entry-title.title_prop {
    margin: 0 0 24px;
    padding: 0;
    color: #172b32;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.25;
    letter-spacing: -0.4px;
    font-weight: 700;
    text-align: left;
}
body.tci-taxonomy-archive :is(.tci-jump-wrap, .tlj-wrap) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 30px;
}
body.tci-taxonomy-archive :is(.tci-jump-btn, .tlj-btn) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    max-width: 100%;
    padding: 12px 22px;
    box-sizing: border-box;
    border: 1px solid #17313a;
    border-radius: 0;
    background: #17313a;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: none;
}
body.tci-taxonomy-archive :is(.tci-jump-btn--insights, .tlj-btn--insights, .tci-jump-btn--snapshot, .tlj-btn--snapshot) {
    background: transparent;
    color: #17313a;
}
body.tci-taxonomy-archive :is(.tci-jump-btn, .tlj-btn):visited {
    color: #fff;
}
body.tci-taxonomy-archive :is(.tci-jump-btn--insights, .tlj-btn--insights, .tci-jump-btn--snapshot, .tlj-btn--snapshot):visited {
    color: #17313a;
}
body.tci-taxonomy-archive :is(.tci-jump-btn, .tlj-btn):hover {
    background: #294c58;
    border-color: #294c58;
    color: #fff;
    text-decoration: none;
}
body.tci-taxonomy-archive :is(.tci-jump-btn, .tlj-btn):focus-visible {
    outline: 3px solid #17313a;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}
body.tci-taxonomy-archive .tci-archive-header .tci-jump-icon {
    display: none;
}
.tci-jump-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}
body.tci-taxonomy-archive .tci-archive-header .taxonomy-description {
    margin: 0;
    padding: 0;
}
body.tci-taxonomy-archive .tci-archive-editorial--with-areas {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
body.tci-taxonomy-archive .tci-archive-editorial > :only-child {
    grid-column: 1 / -1;
}
body.tci-taxonomy-archive .tci-archive-intro,
body.tci-taxonomy-archive .tci-archive-areas {
    min-width: 0;
}
body.tci-taxonomy-archive .tci-archive-intro,
body.tci-taxonomy-archive .tci-archive-intro :where(p, li) {
    color: #454545;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 300;
}
body.tci-taxonomy-archive .tci-archive-intro p {
    margin: 0 0 20px;
}
body.tci-taxonomy-archive .tci-archive-intro p:last-child {
    margin-bottom: 0;
}
body.tci-taxonomy-archive .tci-archive-intro a {
    color: #17313a;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.tci-taxonomy-archive :is(.tci-top-title, .tci-filter-heading) {
    margin: 0 0 20px;
    color: #172b32;
    font-family: "Merriweather", Georgia, serif;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
}
body.tci-taxonomy-archive .tci-top-breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 0;
    padding: 0;
}
body.tci-taxonomy-archive .tci-area-item {
    display: flex;
    min-width: 0;
}
body.tci-taxonomy-archive .tci-area-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 7px;
    width: 100%;
    min-width: 0;
    min-height: 99px;
    padding: 14px 0;
    box-sizing: border-box;
    border: 0;
    border-top: 1px solid #cbdce1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #17313a;
    text-align: left;
    white-space: normal;
    text-decoration: none;
}
body.tci-taxonomy-archive .tci-area-title,
body.tci-taxonomy-archive .tci-area-name {
    display: block;
    color: #17313a;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
body.tci-taxonomy-archive .tci-area-title .tci-area-count,
body.tci-taxonomy-archive .tci-area-subtitle {
    display: block;
    padding: 0;
    color: #52656b;
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    white-space: normal;
}
body.tci-taxonomy-archive .tci-area-button:hover .tci-area-name {
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.tci-taxonomy-archive .tci-area-button:focus-visible,
body.tci-taxonomy-archive .tci-archive-intro a:focus-visible {
    outline: 2px solid #17313a;
    outline-offset: 3px;
}
body.tci-taxonomy-archive .tci-archive-search {
    padding: 32px;
    background: #fff;
}
body.tci-taxonomy-archive .tci-archive-search .listing_filters_head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
body.tci-taxonomy-archive .tci-archive-search .wpresidence_dropdown {
    flex: 1 1 170px;
    width: auto;
    min-width: 0;
    margin: 0;
}
body.tci-taxonomy-archive .tci-archive-search .filter_menu_trigger {
    width: 100%;
    min-height: 50px;
    padding: 12px 30px 12px 12px;
    border: 1px solid #a6bec6;
    border-radius: 0;
    background: #fff;
    color: #17313a;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: none;
}
body.tci-taxonomy-archive .tci-archive-search .filter_menu_trigger:focus-visible {
    outline: 2px solid #17313a;
    outline-offset: 3px;
}
body.tci-taxonomy-archive .tci-archive-search .filter_menu_trigger span {
    color: inherit;
}
body.tci-taxonomy-archive .tci-archive-search .filter_menu {
    max-width: 100%;
    border-radius: 0;
}
@media (max-width: 991px) {
    body.tci-taxonomy-archive .tci-archive-editorial--with-areas {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    body.tci-taxonomy-archive .tci-archive-header,
    body.tci-taxonomy-archive .tci-archive-search {
        padding: 30px 18px;
    }
    body.tci-taxonomy-archive :is(.tci-jump-wrap, .tlj-wrap) {
        flex-direction: column;
        align-items: stretch;
    }
    body.tci-taxonomy-archive :is(.tci-jump-btn, .tlj-btn) {
        width: 100%;
    }
    body.tci-taxonomy-archive .tci-top-breakdown {
        grid-template-columns: 1fr;
    }
    body.tci-taxonomy-archive .tci-area-button {
        min-height: 85px;
    }
    body.tci-taxonomy-archive .tci-archive-search .wpresidence_dropdown {
        flex-basis: 100%;
    }
    body.tci-taxonomy-archive .tci-archive-search .filter_menu_trigger {
        font-size: 16px;
    }
    .tci-term-post-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (min-width: 992px) {
    body.tci-taxonomy-archive :is(#listing_ajax_container, #expert-insights, #wprs-market-snapshot) {
        scroll-margin-top: 90px;
    }
}

/* Only assigned images in the managed normal-map header activate this layout. */
body.tci-taxonomy-archive .tci-archive-header--image {
    padding-inline: 0;
}
body.tci-taxonomy-archive .tci-image-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}
.tci-image-layout-left, .tci-image-layout-right { min-width: 0; }
body.tci-taxonomy-archive .tci-image-layout .tci-jump-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    margin-bottom: 28px;
}
body.tci-taxonomy-archive .tci-image-layout .tci-jump-wrap > a { width: 100%; }
.tci-image-layout .tci-jump-wrap > a:only-child { grid-column: 1 / -1; }
.tci-image-heading { margin-bottom: 24px; }
body.tci-taxonomy-headings .tci-image-heading > h1.entry-title { margin-bottom: 0; }
.tci-image-layout--city .tci-image-heading > h1 { max-width: 20ch; }
.tci-image-layout .tci-jump-wrap:empty { display: none; }
body.tci-taxonomy-archive .tci-image-layout :is(.tci-archive-intro, .tci-archive-areas) { min-width: 0; }
body.tci-taxonomy-archive .tci-image-layout .tci-area-button { min-height: 84px; padding-block: 12px; gap: 4px; }
body.tci-taxonomy-archive .tci-archive-figure {
    display: block;
    aspect-ratio: 3 / 2;
    margin: 0 0 28px;
    overflow: hidden;
}
body.tci-taxonomy-archive .tci-archive-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.tci-intro-toggle {
    appearance: none;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #17313a;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.tci-intro-toggle:focus-visible { outline: 2px solid #17313a; outline-offset: 3px; }
.tci-image-layout [hidden] { display: none !important; }
@media (min-width: 992px) {
    .tci-image-layout .tci-jump-wrap > a:last-child:nth-child(3) {
        grid-column: 1 / -1;
    }
}
@media (max-width: 1199px) {
    body.tci-taxonomy-archive .tci-archive-header--image { padding-inline: 22px; }
}
@media (max-width: 991px) {
    body.tci-taxonomy-archive .tci-image-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "jumps" "photo" "intro" "areas";
        gap: 24px;
    }
    .tci-image-layout-left, .tci-image-layout-right { display: contents; }
    .tci-image-heading { grid-area: heading; margin: 0; }
    .tci-archive-jumps { grid-area: jumps; min-width: 0; }
    body.tci-taxonomy-archive .tci-image-layout .tci-archive-figure { grid-area: photo; margin: 0; }
    .tci-image-layout .tci-archive-intro { grid-area: intro; }
    .tci-image-layout .tci-archive-areas { grid-area: areas; }
    body.tci-taxonomy-archive .tci-image-layout .tci-jump-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
    }
    body.tci-taxonomy-archive .tci-image-layout .tci-jump-wrap:empty { display: none; }
    .tci-image-layout .tci-jump-wrap > a:first-child { grid-column: 1 / -1; }
    .tci-image-layout .tci-jump-wrap > a:last-child:nth-child(2) { grid-column: 1 / -1; }
    body.tci-taxonomy-archive .tci-image-layout :is(.tci-jump-btn, .tlj-btn) {
        width: 100%;
        min-height: 50px;
        padding: 12px 10px;
    }
    body.tci-taxonomy-archive .tci-image-layout .tci-top-breakdown { grid-template-columns: 1fr; }
    body.tci-taxonomy-archive .tci-image-layout .tci-area-button { min-height: 68px; padding-block: 12px; gap: 3px; }
    body.tci-taxonomy-archive .tci-image-layout .tci-area-title .tci-area-count { display: inline; margin-inline-start: 6px; }
    body.tci-taxonomy-archive .tci-image-layout .tci-area-name { display: inline; }
    body.tci-taxonomy-archive .tci-image-layout .tci-archive-intro,
    body.tci-taxonomy-archive .tci-image-layout .tci-archive-intro :where(p, li) { font-size: 16px; }
}

/* Without Explore navigation, let the heading and shortcuts span both columns. */
@media (min-width: 992px) {
    body.tci-taxonomy-archive .tci-image-layout:not(:has(.tci-archive-areas)) {
        grid-template-areas: "heading heading" "jumps jumps" "intro photo";
        row-gap: 24px;
    }
    .tci-image-layout:not(:has(.tci-archive-areas)) > :is(.tci-image-layout-left, .tci-image-layout-right) { display: contents; }
    .tci-image-layout:not(:has(.tci-archive-areas)) .tci-image-heading { grid-area: heading; margin: 0; }
    .tci-image-layout:not(:has(.tci-archive-areas)) .tci-image-heading > h1 { max-width: none; }
    .tci-image-layout:not(:has(.tci-archive-areas)) .tci-archive-jumps { grid-area: jumps; min-width: 0; }
    .tci-image-layout:not(:has(.tci-archive-areas)) .tci-archive-intro { grid-area: intro; }
    body.tci-taxonomy-archive .tci-image-layout:not(:has(.tci-archive-areas)) .tci-archive-figure { grid-area: photo; margin: 0; }
    body.tci-taxonomy-archive .tci-image-layout:not(:has(.tci-archive-areas)) .tci-jump-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0;
    }
    .tci-image-layout:not(:has(.tci-archive-areas)) .tci-jump-wrap > a:last-child:nth-child(3) { grid-column: auto; }
}
