/* Cartophoria responsive layouts: update v10 / 20261119-layout-10.
   Catalog results and home features share compact rows at every width. */
#page.rc-catalog-page,
#page.rc-home-page {
    --rc-item-thumb-size: clamp(72px, 22vw, 132px);
    --rc-item-gap: 12px;
    --rc-item-padding: 12px;
}

/* At phone widths, the shared Menu toggle reveals category links and
   the For sale / Sold choices together. */
@media (max-width: 800px) {
    #header.rc-header #menu .rc-availability { justify-content: space-between; }
    #header.rc-header #menu .rc-availability-options { display: flex; flex: 1 1 auto; }
    #header.rc-header #menu .rc-status-option { flex: 1 1 0; }
    #header.rc-header .rc-search-input { height: auto; min-height: 46px; }
    #footer.rc-footer .rc-footer-contact a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        max-width: 100%;
    }
}

/* v10: one compact catalog list at every screen width. */
#page.rc-catalog-page,
#page.rc-catalog-page *,
#page.rc-catalog-page *::before,
#page.rc-catalog-page *::after { box-sizing: border-box; }

#page.rc-catalog-page {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: calc(100% - 48px);
    max-width: 1120px;
    min-width: 0;
    margin: 24px auto;
    padding: 0;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}
#page.rc-catalog-page > #D_1.rc-catalog-results,
#page.rc-catalog-page > #sidebar.rc-catalog-sidebar {
    float: none;
    clear: none;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}
#page.rc-catalog-page > #D_1.rc-catalog-results {
    display: block;
    flex: 1 1 0;
    width: auto;
}
#page.rc-catalog-page > #sidebar.rc-catalog-sidebar {
    flex: 0 0 240px;
    width: 240px;
    border: 1px solid #d9ddd9;
    border-radius: 6px;
    background: #fbfaf7;
    color: #193244;
}
/* The original float-clearing spacer is unnecessary in either layout. */
#page.rc-catalog-page > div[style*="clear: both"] { display: none; }
#page.rc-catalog-page > #D_1.rc-catalog-results > br { display: none; }
#page.rc-catalog-page .rc-browse-sections > summary { display: none; }
#page.rc-catalog-page .rc-browse-content {
    max-width: 100%;
    max-height: none;
    padding: 14px;
    overflow: visible;
}
#page.rc-catalog-page .rc-browse-content table {
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
    border: 0 !important;
    border-collapse: collapse;
    background: transparent !important;
    color: #193244 !important;
    font-family: inherit;
    font-size: 16px !important;
}
#page.rc-catalog-page .rc-browse-content th,
#page.rc-catalog-page .rc-browse-content td {
    width: auto !important;
    height: auto !important;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: #193244 !important;
    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
}
#page.rc-catalog-page .rc-browse-content tr {
    border: 0 !important;
    background: transparent !important;
    color: #193244 !important;
}
#page.rc-catalog-page .rc-browse-content th {
    padding: 10px 8px;
    font-weight: 600;
}
#page.rc-catalog-page .rc-browse-content a,
#page.rc-catalog-page .rc-browse-content a:visited {
    display: flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: 8px;
    color: #193244 !important;
    font: inherit;
    white-space: normal;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
#page.rc-catalog-page .rc-browse-content a:hover { background: #eeeae0; }
#page.rc-catalog-page .rc-browse-sections > summary:focus-visible,
#page.rc-catalog-page .rc-browse-content a:focus-visible {
    outline: 3px solid #397da5;
    outline-offset: 2px;
}
#page.rc-catalog-page #securessl img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px !important;
}
#page.rc-catalog-page .rc-catalog-heading {
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left !important;
    overflow-wrap: anywhere;
}
#page.rc-catalog-page .rc-catalog-description {
    margin: 0 0 14px;
    padding: 0;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}
#page.rc-catalog-page .rc-catalog-description:empty { display: none; }
#page.rc-catalog-page .rc-results-navigation { margin: 12px 0; font-size: 16px; }
#page.rc-catalog-page .rc-results-summary { overflow-wrap: anywhere; }
#page.rc-catalog-page .rc-results-pager { gap: 6px; }

#page.rc-catalog-page table.rc-catalog-grid {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fbfaf7 !important;
    color: #193244 !important;
    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.45;
}
#page.rc-catalog-page .rc-catalog-grid > tbody { display: block; width: 100%; }
#page.rc-catalog-page .rc-catalog-grid > tbody > tr { display: block; width: 100%; }
#page.rc-catalog-page .rc-catalog-grid .rc-catalog-head {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
#page.rc-catalog-page .rc-catalog-grid .rc-item-row {
    display: grid;
    grid-template-columns: var(--rc-item-thumb-size) minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    grid-template-areas: "image info info" "image price details";
    align-items: start;
    column-gap: var(--rc-item-gap);
    row-gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    margin: 0;
    padding: var(--rc-item-padding);
    border: 0;
    border-bottom: 1px solid #d9ddd9;
    border-radius: 0;
    background: #fbfaf7;
    box-shadow: none;
    color: #193244;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}
#page.rc-catalog-page .rc-item-row > .rc-item-image,
#page.rc-catalog-page .rc-item-row > .rc-item-details,
#page.rc-catalog-page .rc-item-row > .rc-item-info,
#page.rc-catalog-page .rc-item-row > .rc-item-price {
    display: block;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    margin: 0;
    padding: 0;
    border: 0 !important;
    color: inherit;
    background: transparent;
    font: inherit;
    white-space: normal;
    text-align: left;
    overflow-wrap: anywhere;
}
#page.rc-catalog-page .rc-item-row > .rc-item-image {
    grid-area: image;
    align-self: start;
}
#page.rc-catalog-page .rc-item-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: var(--rc-item-thumb-size);
    margin: 0;
    border: 0;
    object-fit: contain;
    color: #52616b;
    font-size: 14px;
    line-height: 1.45;
}
#page.rc-catalog-page .rc-item-row > .rc-item-info { grid-area: info; }
#page.rc-catalog-page .rc-item-title {
    margin: 0 0 4px;
    color: #193244;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}
#page.rc-catalog-page .rc-item-author,
#page.rc-catalog-page .rc-item-date,
#page.rc-catalog-page .rc-item-location { margin: 0; }
#page.rc-catalog-page .rc-item-location { color: #356137; }
#page.rc-catalog-page .rc-item-row > .rc-item-price {
    grid-area: price;
    align-self: start;
    padding-top: 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}
#page.rc-catalog-page .rc-item-price::before {
    content: "Price ";
    color: #52616b;
    font-size: 14px;
    font-weight: 400;
}
#page.rc-catalog-page .rc-item-row > .rc-item-details {
    grid-area: details;
    align-self: start;
    justify-self: end;
}
#page.rc-catalog-page .rc-item-details a,
#page.rc-catalog-page .rc-item-details a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    max-width: 100%;
    margin: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #193244 !important;
    font: inherit;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: underline;
    text-underline-offset: 3px;
}
#page.rc-catalog-page .rc-item-details a:hover { color: #2c6385 !important; }
#page.rc-catalog-page .rc-item-details a:focus-visible {
    outline: 3px solid #397da5;
    outline-offset: 3px;
}
#page.rc-catalog-page .rc-catalog-grid td.hiddencolumn,
#page.rc-catalog-page .rc-catalog-grid th.hiddencolumn { display: none !important; }
/* Keep the server-rendered no-results message readable. */
#page.rc-catalog-page .rc-catalog-grid td[colspan] {
    display: block;
    padding: 16px;
    border: 0;
    border-bottom: 1px solid #d9ddd9;
    background: #fbfaf7;
    color: #193244;
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* This layout cutoff matches the existing Browse disclosure JavaScript. */
@media (max-width: 1024px) {
    #page.rc-catalog-page {
        display: flow-root;
        width: calc(100% - 32px);
        max-width: 960px;
        margin: 16px auto 24px;
    }
    #page.rc-catalog-page > #D_1.rc-catalog-results,
    #page.rc-catalog-page > #sidebar.rc-catalog-sidebar {
        clear: both;
        width: 100%;
    }
    #page.rc-catalog-page > #sidebar.rc-catalog-sidebar { margin-bottom: 16px; }
    #page.rc-catalog-page .rc-browse-sections > summary {
        display: list-item;
        min-height: 48px;
        padding: 12px 14px;
        color: #193244;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        cursor: pointer;
        overflow-wrap: anywhere;
    }
    #page.rc-catalog-page .rc-browse-sections[open] > summary {
        border-bottom: 1px solid #d9ddd9;
    }
    #page.rc-catalog-page .rc-browse-content {
        max-height: 60vh;
        padding: 12px 14px 16px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}
@media (max-width: 360px) {
    #page.rc-catalog-page { width: calc(100% - 24px); }
}


/* Home page: keep both columns inside the page, with fluid small-screen layout. */
#page.rc-home-page { display: flow-root; background: transparent; }
#page.rc-home-page > #sidebar.rc-home-sidebar { float: left; }
#page.rc-home-page .rc-home-sidebar h2 { margin-bottom: 0; }
#page.rc-home-page .rc-home-browse > summary { display: none; }

@media (max-width: 1024px) {
    #page.rc-home-page,
    #page.rc-home-page *,
    #page.rc-home-page *::before,
    #page.rc-home-page *::after { box-sizing: border-box; }

    #page.rc-home-page {
        width: calc(100% - 32px);
        max-width: 960px;
        min-width: 0;
        margin: 16px auto 24px;
        padding: 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.5;
    }
    #page.rc-home-page > #C_1.rc-home-content,
    #page.rc-home-page > #sidebar.rc-home-sidebar {
        float: none;
        clear: both;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        margin: 0;
        padding: 0;
    }
    #page.rc-home-page > #sidebar.rc-home-sidebar {
        margin-bottom: 18px;
        border: 1px solid #b9aa8d;
        border-radius: 6px;
        background: #fbfaf7;
        color: #193244;
    }
    #page.rc-home-page .rc-home-browse > summary {
        display: list-item;
        min-height: 48px;
        padding: 12px 14px;
        color: #193244;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        cursor: pointer;
        overflow-wrap: anywhere;
    }
    #page.rc-home-page .rc-home-browse[open] > summary {
        border-bottom: 1px solid #d9ddd9;
    }
    #page.rc-home-page .rc-home-browse > summary:focus-visible,
    #page.rc-home-page .rc-home-browse-content a:focus-visible {
        outline: 3px solid #397da5;
        outline-offset: 2px;
    }
    #page.rc-home-page .rc-home-browse-content {
        max-height: 60vh;
        padding: 12px 14px 16px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    #page.rc-home-page .rc-home-browse-content table {
        width: 100% !important;
        max-width: 100%;
        table-layout: fixed;
        border: 0 !important;
        border-collapse: collapse;
        background: transparent !important;
        color: #193244 !important;
        font-size: 16px !important;
    }
    #page.rc-home-page .rc-home-browse-content th,
    #page.rc-home-page .rc-home-browse-content td {
        width: auto !important;
        height: auto !important;
        padding: 0;
        border: 0 !important;
        background: transparent !important;
        color: #193244 !important;
        font-size: 16px !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        text-align: left;
    }
    #page.rc-home-page .rc-home-browse-content th { padding: 10px 8px; }
    #page.rc-home-page .rc-home-browse-content a {
        display: flex;
        align-items: center;
        min-height: 44px;
        max-width: 100%;
        padding: 8px;
        color: #193244 !important;
        font-size: 16px;
        line-height: 1.5;
        white-space: normal;
        text-underline-offset: 3px;
        overflow-wrap: anywhere;
    }
    #page.rc-home-page .rc-home-browse-content a:hover { background: #eeeae0; }
    #page.rc-home-page .rc-home-browse-content ul {
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: left;
    }
    #page.rc-home-page .rc-home-browse-content li {
        margin: 0 0 16px;
        padding: 12px 0 0;
        border-top: 1px solid #d9ddd9;
        color: #193244;
        font-size: 16px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    #page.rc-home-page .rc-home-browse-content h2,
    #page.rc-home-page .rc-home-browse-content h3,
    #page.rc-home-page .rc-home-browse-content h3 span {
        margin: 0 0 8px;
        padding: 0;
        background: transparent !important;
        color: #193244 !important;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        text-align: left !important;
        letter-spacing: normal;
        overflow-wrap: anywhere;
    }
    #page.rc-home-page .rc-home-browse-content img {
        max-width: 100%;
        height: auto !important;
    }
    #page.rc-home-page .rc-home-heading {
        margin: 0 0 18px;
        padding: 0;
        color: #ffffff;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.3;
        letter-spacing: normal;
        text-align: left;
        overflow-wrap: anywhere;
    }
    #page.rc-home-page .rc-home-heading > span { font-size: inherit !important; }
    #page.rc-home-page .rc-home-heading > br,
    #page.rc-home-page .rc-home-content > br,
    #page.rc-home-page .newandnotable > br { display: none; }
    #page.rc-home-page .newandnotable {
        width: 100%;
        min-width: 0;
        margin: 0 0 18px;
        padding: 16px;
        border: 1px solid #d9ddd9;
        border-radius: 6px;
        background: #fbfaf7;
        color: #193244;
        font-size: 16px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    #page.rc-home-page .rc-home-feature-title {
        display: block;
        margin: 0 0 12px;
        font-size: 20px !important;
        font-weight: 600;
        line-height: 1.3;
    }
    #page.rc-home-page .rc-home-feature-title:empty { display: none; }
    #page.rc-home-page .newandnotable > a {
        display: block;
        max-width: 100%;
        margin: 0 0 12px;
        border-radius: 4px;
    }
    #page.rc-home-page .newandnotable > a:focus-visible {
        outline: 3px solid #397da5;
        outline-offset: 3px;
    }
    #page.rc-home-page img.rc-home-feature-image {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto !important;
        max-height: 360px;
        margin: 0 auto;
        border: 1px solid #d9ddd9 !important;
        object-fit: contain;
        color: #52616b;
        font-size: 14px;
        line-height: 1.4;
    }
    #page.rc-home-page .rc-home-feature-caption {
        display: block;
        font-size: 16px;
        line-height: 1.5;
    }
    #page.rc-home-page .rc-home-feature-caption span { font-size: inherit !important; }
}
@media (max-width: 360px) {
    #page.rc-home-page { width: calc(100% - 24px); }
    #page.rc-home-page .newandnotable { padding: 12px; }
}

/* Home page mobile order: main heading, browse disclosure, featured items.
   display:contents exposes the heading/cards to the page flex order only on small screens. */
@media (max-width: 1024px) {
    #page.rc-home-page {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    #page.rc-home-page > #C_1.rc-home-content {
        display: contents;
    }
    #page.rc-home-page > #C_1.rc-home-content > .rc-home-heading {
        order: -2;
        margin: 0 0 12px;
    }
    #page.rc-home-page > #sidebar.rc-home-sidebar {
        order: -1;
        width: 100%;
        margin: 0 0 16px;
        border: 0;
        background: transparent;
    }
    #page.rc-home-page .rc-home-browse > summary {
        display: list-item;
        box-sizing: border-box;
        width: fit-content;
        max-width: 100%;
        min-height: 44px;
        padding: 9px 13px;
        border: 1px solid #b9aa8d;
        border-radius: 6px;
        background: #e9e4d9;
        color: #294b61;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        cursor: pointer;
    }
    #page.rc-home-page .rc-home-browse-content {
        margin-top: 10px;
        border: 1px solid #d9ddd9;
        border-radius: 6px;
        background: #fbfaf7;
    }
    #page.rc-home-page .rc-home-content > .newandnotable { width: 100%; }
}


/* v10: home featured items use the same compact rows as catalog results.
   Keep all rules inside the existing home content column. */
#page.rc-home-page #C_1.rc-home-content > .newandnotable {
    display: grid;
    grid-template-columns: var(--rc-item-thumb-size) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "image title" "image caption";
    align-items: start;
    column-gap: var(--rc-item-gap);
    row-gap: 4px;
    box-sizing: border-box;
    float: none;
    clear: both;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: var(--rc-item-padding);
    border: 0;
    border-bottom: 1px solid #d9ddd9;
    border-radius: 0;
    background: #fbfaf7;
    box-shadow: none;
    color: #193244;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: anywhere;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > br {
    display: none;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > a {
    grid-area: image;
    display: block;
    align-self: start;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable img.rc-home-feature-image {
    display: block;
    box-sizing: border-box;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: var(--rc-item-thumb-size) !important;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    color: #52616b;
    font-size: 14px;
    line-height: 1.45;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > .rc-home-feature-title {
    grid-area: title;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #193244;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > .rc-home-feature-title:empty {
    display: none;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > .rc-home-feature-caption {
    grid-area: caption;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: anywhere;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > .rc-home-feature-caption span {
    font-size: inherit !important;
}
#page.rc-home-page #C_1.rc-home-content > .newandnotable > .rc-home-feature-title:empty ~ .rc-home-feature-caption {
    grid-row: 1 / span 2;
    align-self: start;
}

/* Tighten spacing on very small screens while keeping the image on the left. */
@media (max-width: 360px) {
    #page.rc-catalog-page,
    #page.rc-home-page {
        --rc-item-gap: 10px;
        --rc-item-padding: 10px;
    }
}
