.hb-twa-search-widget,
.hb-twa-search-widget > .elementor-widget-container {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 1px !important;
    overflow: visible !important;
}

.hb-twa-search {
    --hb-ink: #171716;
    --hb-gold: #c5a46a;
    --hb-gold-soft: #e3cfaa;
    --hb-line: rgba(23, 23, 22, .18);
    display: block;
    box-sizing: border-box;
    width: min(1120px, calc(100% - 40px));
    margin: 34px auto 74px;
    padding: clamp(28px, 4vw, 54px);
    color: var(--hb-ink);
    background: #fff;
    border: 1px solid var(--hb-line);
    box-shadow: 0 26px 70px rgba(20, 18, 14, .09);
    font-family: inherit;
}

.hb-twa-search *, .hb-twa-search *::before, .hb-twa-search *::after { box-sizing: border-box; }

.hb-twa-search__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 15px;
    color: #826b43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hb-twa-search__eyebrow::before, .hb-twa-search__eyebrow::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--hb-gold);
}

.hb-twa-search__title {
    max-width: 780px;
    margin: 0 auto 12px;
    color: var(--hb-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4.7vw, 58px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: 0;
    text-align: center;
}

.hb-twa-search__intro {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #65615a;
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.hb-twa-search__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.hb-twa-search__field { position: relative; min-width: 0; }

.hb-twa-search__icon {
    position: absolute;
    top: 50%;
    left: 21px;
    width: 21px;
    height: 21px;
    transform: translateY(-50%);
    color: #927645;
    pointer-events: none;
}

.hb-twa-search__input {
    width: 100% !important;
    height: 62px !important;
    margin: 0 !important;
    padding: 0 20px 0 56px !important;
    color: var(--hb-ink) !important;
    background: #f7f5f1 !important;
    border: 1px solid rgba(23, 23, 22, .22) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 16px !important;
    line-height: 62px !important;
}

.hb-twa-search__input:focus {
    border-color: var(--hb-gold) !important;
    outline: 2px solid rgba(197, 164, 106, .22) !important;
    outline-offset: 1px;
}

.hb-twa-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 216px;
    height: 62px;
    padding: 0 26px;
    color: #111 !important;
    background: var(--hb-gold-soft) !important;
    border: 1px solid var(--hb-gold) !important;
    border-radius: 0 !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.hb-twa-search__submit:hover, .hb-twa-search__submit:focus-visible {
    color: #fff !important;
    background: var(--hb-ink) !important;
    transform: translateY(-2px);
}

.hb-twa-search__submit svg { width: 18px; height: 18px; transition: transform .25s ease; }
.hb-twa-search__submit:hover svg { transform: translateX(3px); }

.hb-twa-search__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin: 20px 0 0;
    color: #777169;
    font-size: 12px;
    letter-spacing: .03em;
}

.hb-twa-search__meta a {
    color: #6d5733 !important;
    border-bottom: 1px solid rgba(109, 87, 51, .45);
    text-decoration: none !important;
}

.hb-twa-search__dot { width: 3px; height: 3px; background: var(--hb-gold); border-radius: 50%; }
.hb-twa-search.is-ready { animation: hbTwaReveal .58s cubic-bezier(.22, 1, .36, 1) both; }

.hb-twa-feed-panel,
.hb-twa-feed-panel .ihf-container,
.hb-twa-feed-panel .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    min-height: 1px !important;
    overflow: visible !important;
}

.hb-twa-feed {
    --hb-feed-ink: #171716;
    --hb-feed-gold: #c5a46a;
    --hb-feed-muted: #6d6961;
    position: relative;
    width: min(1240px, calc(100% - 40px));
    margin: 34px auto 74px;
    padding: clamp(24px, 3vw, 42px);
    color: var(--hb-feed-ink);
    background: #f8f6f2;
    border: 1px solid rgba(23, 23, 22, .16);
    box-shadow: 0 26px 72px rgba(20, 18, 14, .08);
    box-sizing: border-box;
    font-family: inherit;
}

.hb-twa-feed *, .hb-twa-feed *::before, .hb-twa-feed *::after { box-sizing: border-box; }

.hb-twa-feed__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.hb-twa-feed__eyebrow {
    margin: 0 0 9px;
    color: #806a43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .19em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hb-twa-feed__title {
    margin: 0;
    color: var(--hb-feed-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.06;
}

.hb-twa-feed__count {
    flex: 0 0 auto;
    margin: 0 0 6px;
    color: var(--hb-feed-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hb-twa-feed__status {
    margin: 0 0 18px;
    padding: 12px 15px;
    color: #6c5633;
    background: #f0e6d4;
    border-left: 3px solid var(--hb-feed-gold);
    font-size: 14px;
    line-height: 1.5;
}

.hb-twa-feed__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    transition: opacity .26s ease, transform .26s ease, filter .26s ease;
}

.hb-twa-feed.is-loading .hb-twa-feed__grid {
    opacity: .34;
    filter: grayscale(.4);
    pointer-events: none;
    transform: translateY(5px);
}

.hb-twa-feed.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    margin: -17px;
    border: 2px solid rgba(23, 23, 22, .2);
    border-top-color: var(--hb-feed-gold);
    border-radius: 50%;
    animation: hbTwaSpin .75s linear infinite;
}

.hb-twa-feed.is-updated .hb-twa-property {
    animation: hbTwaCardIn .5s cubic-bezier(.22, 1, .36, 1) both;
}

.hb-twa-feed.is-updated .hb-twa-property:nth-child(2) { animation-delay: .035s; }
.hb-twa-feed.is-updated .hb-twa-property:nth-child(3) { animation-delay: .07s; }
.hb-twa-feed.is-updated .hb-twa-property:nth-child(4) { animation-delay: .105s; }
.hb-twa-feed.is-updated .hb-twa-property:nth-child(n+5) { animation-delay: .14s; }

.hb-twa-property {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(23, 23, 22, .13);
    border-radius: 6px;
    box-shadow: 0 13px 30px rgba(25, 22, 18, .06);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .3s ease;
}

.hb-twa-property:hover {
    border-color: rgba(197, 164, 106, .72);
    box-shadow: 0 19px 42px rgba(25, 22, 18, .12);
    transform: translateY(-5px);
}

.hb-twa-property__link { display: block; height: 100%; color: inherit !important; text-decoration: none !important; }
.hb-twa-property__media { position: relative; aspect-ratio: 400 / 272; overflow: hidden; background: #ddd8cf; }

.hb-twa-property__media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.hb-twa-property:hover .hb-twa-property__media img { transform: scale(1.035); }

.hb-twa-property__type {
    position: absolute;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 7px 9px;
    overflow: hidden;
    color: #fff;
    background: rgba(20, 19, 17, .83);
    backdrop-filter: blur(10px);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.hb-twa-property__body { display: flex; flex-direction: column; min-height: 208px; padding: 18px; }
.hb-twa-property__price { color: var(--hb-feed-ink); font-size: 23px; font-weight: 700; letter-spacing: 0; line-height: 1.1; }

.hb-twa-property__address {
    display: -webkit-box;
    min-height: 48px;
    margin: 9px 0 8px;
    overflow: hidden;
    color: #35322e;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hb-twa-property__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    color: var(--hb-feed-muted);
    font-size: 12px;
    line-height: 1.4;
}

.hb-twa-property__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 17px;
    color: #715a34;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hb-twa-property__action svg, .hb-twa-feed__all svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform .25s ease;
}

.hb-twa-property:hover .hb-twa-property__action svg, .hb-twa-feed__all:hover svg { transform: translateX(3px); }
.hb-twa-feed__empty { grid-column: 1 / -1; margin: 0; padding: 40px; color: var(--hb-feed-muted); text-align: center; }

.hb-twa-feed__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(23, 23, 22, .13);
}

.hb-twa-feed__all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: #111 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.hb-twa-feed__compliance {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    margin: 0;
    color: #827d75;
    font-size: 10px;
    line-height: 1.45;
}

.hb-twa-feed__compliance img { flex: 0 0 auto; width: 40px; height: auto; margin: 0; }

@keyframes hbTwaSpin { to { transform: rotate(360deg); } }
@keyframes hbTwaCardIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hbTwaReveal {
    from { opacity: 0; transform: translateY(18px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
    .hb-twa-search { width: calc(100% - 28px); margin: 20px auto 50px; padding: 30px 18px; }
    .hb-twa-search__form { grid-template-columns: 1fr; }
    .hb-twa-search__submit { width: 100%; min-width: 0; }
    .hb-twa-search__meta { line-height: 1.55; }

    .hb-twa-feed { width: calc(100% - 24px); margin: 18px auto 50px; padding: 24px 0 24px 16px; overflow: hidden; }
    .hb-twa-feed__header { align-items: flex-start; margin: 0 16px 20px 0; }
    .hb-twa-feed__title { font-size: 31px; }
    .hb-twa-feed__count { margin-top: 6px; font-size: 9px; text-align: right; }
    .hb-twa-feed__status { margin-right: 16px; }
    .hb-twa-feed__grid { display: flex; gap: 14px; padding: 0 16px 12px 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-left: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .hb-twa-feed__grid::-webkit-scrollbar { display: none; }
    .hb-twa-property { flex: 0 0 min(78vw, 315px); scroll-snap-align: start; }
    .hb-twa-property__body { min-height: 190px; }
    .hb-twa-feed__footer { align-items: flex-start; flex-direction: column; margin-right: 16px; }
    .hb-twa-feed__compliance { align-items: flex-start; }
}

@media (min-width: 681px) and (max-width: 1080px) {
    .hb-twa-feed__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .hb-twa-search.is-ready { animation: none; }
    .hb-twa-search__submit { transition: none; }
    .hb-twa-feed.is-updated .hb-twa-property, .hb-twa-feed.is-loading::after { animation: none; }
    .hb-twa-feed__grid, .hb-twa-property, .hb-twa-property__media img { transition: none; }
}
