.bds-page {
    padding-top: 0 !important;
    padding-bottom: 32px;
    margin-top: -1px;
}

:root {
    --bds-search-sticky-gap: 0px;
}

.bds-landing-hero {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -18px;
}

.bds-page-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 0;
    padding: 10px 2px 0;
}

.bds-page-title-main {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.04;
    letter-spacing: -.03em;
    font-weight: 900;
    margin: 0;
    color: #1e3a8a;
}

.bds-search-wrap {
    position: relative;
    z-index: 12;
    margin-top: 4px;
    padding-top: 0;
    transition: padding-top .2s ease;
}

.bds-search-wrap-spacer {
    height: 0;
    pointer-events: none;
}

.bds-search-wrap.is-sticky-fixed {
    position: fixed;
    top: calc(var(--aha-home-sticky-top, 72px) + var(--bds-search-sticky-gap, 0px));
    left: 0;
    right: 0;
    margin-top: 0;
    z-index: 1040;
    transition: none !important;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bds-search-wrap.is-sticky-fixed .bds-search-bar {
    transition: none !important;
}

.bds-search-shell {
    width: 100%;
    position: relative;
    left: 0;
    transform: none;
    padding: 0 18px;
}

.bds-search-shell-inner {
    width: min(100%, 840px);
    margin: 0 auto;
    padding: 0;
}

.bds-search-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 18px;
    min-height: 56px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(37,99,235,.12);
    box-shadow: 0 16px 30px rgba(37,99,235,.10);
}

.bds-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 1.08rem !important;
    line-height: 1.25 !important;
    padding: 6px 0 !important;
    color: #1e293b !important;
}

.bds-search-input::placeholder {
    color: #6b7280 !important;
}

.bds-search-mode-wrap {
    flex: 0 0 auto;
    min-width: 184px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(37,99,235,.12);
}

.bds-search-mode-prefix {
    font-size: .76rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .02em;
    color: #64748b;
    white-space: nowrap;
}

.bds-search-mode-select {
    min-height: 44px;
    min-width: 140px;
    border-radius: 14px !important;
    border: 1px solid rgba(37,99,235,.14) !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    background-color: #f8fbff !important;
    box-shadow: none !important;
    padding: 10px 40px 10px 14px !important;
}

.bds-search-submit {
    flex: 0 0 auto;
    min-width: 144px;
    min-height: 44px;
    border-radius: 14px !important;
    font-size: .96rem !important;
    padding: 10px 20px !important;
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37,99,235,.18);
}

.bds-search-submit-text {
    display: inline;
}

.bds-search-submit:hover,
.bds-search-submit:focus {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}

.region-overview {
    border-radius: 24px;
    border: 1px solid rgba(37,99,235,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.88));
    box-shadow: 0 18px 34px rgba(37,99,235,.08);
    padding: 18px;
}

.bds-shortcut-strip {
    margin-top: 2px;
    margin-bottom: 4px;
}

.region-overview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.region-overview-kicker {
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #14b8a6;
    margin-bottom: 8px;
}

.region-overview-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #1e3a8a;
}

.region-overview-note {
    color: #64748b;
    font-size: .92rem;
    line-height: 1.4;
    text-align: right;
}

.region-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(37,99,235,.12);
}

.region-type-btn {
    background: #fff;
    border: 1px solid rgba(37,99,235,.12);
    border-bottom: 1px solid rgba(37,99,235,.12);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    transition: all .18s ease;
}

.region-type-btn:hover,
.region-type-btn:focus {
    color: #1e3a8a;
    border-color: rgba(37,99,235,.28);
    background: rgba(255,255,255,.98);
}

.region-type-btn.active {
    color: #fff;
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 10px 22px rgba(37,99,235,.22);
}

.region-grid {
    display: grid;
    grid-template-columns: 2.15fr 1.15fr 1.15fr;
    grid-template-rows: repeat(2, 176px);
    gap: 10px;
}

.region-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    color: #fff;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    box-shadow: inset 0 -80px 110px rgba(15,23,42,.34);
    transition: transform .18s ease, box-shadow .18s ease;
}

.region-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 -90px 120px rgba(15,23,42,.38), 0 18px 28px rgba(15,23,42,.12);
}

.region-card--hero {
    grid-row: 1 / span 2;
    min-height: 362px;
}

.region-card-name {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.02em;
    text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

.region-card:not(.region-card--hero) .region-card-name {
    font-size: 24px;
}

.region-card-count {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    margin-top: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.region-card-count-label {
    font-size: 17px;
    font-weight: 700;
    opacity: .95;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.bds-section-card .card-header {
    background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(255,255,255,0));
    border-bottom-color: rgba(37,99,235,.08);
}

.bds-section-head {
    justify-content: space-between;
    gap: 12px;
}

.bds-section-kicker {
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #14b8a6;
    margin-bottom: 6px;
}

.bds-link-card,
.bds-listing-card,
.bds-project-card {
    height: 100%;
    border: 1px solid rgba(37, 99, 235, .08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    box-shadow: 0 12px 26px rgba(37,99,235,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bds-link-card:hover,
.bds-listing-card:hover,
.bds-project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(37, 99, 235, .12);
    border-color: rgba(37,99,235,.16);
}

.bds-listing-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    background: #edf4f7;
}

.bds-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bds-price {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #2563eb;
}

.bds-price--project {
    font-size: 1.05rem;
}

.bds-meta-line {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.bds-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.06rem;
    line-height: 1.42;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #0f172a;
}

.bds-card-cta {
    border-color: rgba(37,99,235,.18) !important;
    background: #fff !important;
    color: #2563eb !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(37,99,235,.08);
}

.bds-card-cta:hover,
.bds-card-cta:focus {
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
}

.bds-project-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

.bds-linked-summary {
    color: #667085;
    line-height: 1.45;
    display: block;
    overflow: hidden;
    white-space: pre-line;
    min-height: 4.4em;
    max-height: 6.1em;
}

.bds-linked-title {
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bds-linked-price {
    font-size: 1.75rem;
    line-height: 1.05;
    font-weight: 900;
    color: #2563eb;
}

.bds-pager {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.bds-page-btn {
    min-width: 42px;
    height: 42px;
    border-radius: 11px;
    border: 1px solid #d0d8e4;
    background: #f5f8fb;
    color: #344054;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 14px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .03);
    transition: all .16s ease;
}

.bds-page-btn:hover {
    border-color: #93c5aa;
    color: #166534;
    background: #eefaf2;
}

.bds-page-btn.active {
    background: #2f8a3f;
    color: #fff;
    border-color: #2f8a3f;
    box-shadow: 0 8px 20px rgba(47, 138, 63, .24);
}

.bds-page-btn.disabled {
    opacity: .5;
    pointer-events: none;
}

@media (min-width: 1200px) {
    .bds-col-preview {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767.98px) {
    :root {
        --bds-search-sticky-gap: 10px;
    }

    .bds-page-title-main {
        font-size: 1.9rem;
    }

    .bds-landing-hero {
        gap: 8px;
    }

    .bds-search-wrap {
        margin-top: 6px;
    }

    .bds-search-shell {
        padding: 0 10px;
    }

    .bds-search-shell-inner {
        width: min(100%, 100%);
        padding: 0;
    }

    .bds-search-bar {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 8px 8px 8px 14px;
        border-radius: 18px;
        min-height: 50px;
    }

    .bds-search-mode-prefix {
        display: none;
    }

    .bds-search-input {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        font-size: .98rem !important;
    }

    .bds-search-mode-wrap {
        display: none;
    }

    .bds-search-mode-select {
        display: none;
    }

    .bds-search-submit {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0 !important;
        border-radius: 999px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0 !important;
        position: relative;
        box-shadow: 0 8px 18px rgba(37,99,235,.20);
    }

    .bds-search-submit::before {
        content: "";
        width: 18px;
        height: 18px;
        border: 2px solid #fff;
        border-radius: 50%;
        display: block;
        transform: translate(-1px, -1px);
    }

    .bds-search-submit::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 2px;
        background: #fff;
        border-radius: 999px;
        transform: translate(8px, 8px) rotate(45deg);
    }

    .bds-search-submit-text {
        display: none;
    }

    .region-overview {
        padding: 16px;
        border-radius: 20px;
    }

    .region-overview-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .region-overview-note {
        text-align: left;
        font-size: .88rem;
    }

    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 8px;
    }

    .region-card {
        min-height: 118px;
        padding: 14px;
        border-radius: 16px;
    }

    .region-card--hero {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 188px;
    }

    .region-card-name {
        font-size: 24px;
    }

    .region-card:not(.region-card--hero) .region-card-name {
        font-size: 18px;
    }

    .region-card-count {
        font-size: 24px;
        margin-top: 6px;
    }

    .region-card-count-label {
        font-size: 14px;
    }

    .bds-pager {
        justify-content: center;
        gap: 6px;
    }

    .bds-page-btn {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        border-radius: 10px;
    }
}
