.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block:0}
.tm-page-builder>*{margin-block:0}
.tm-page-builder .tm-home-content>*{margin-block:0}
.tm-layout-stack{display:flex!important;flex-direction:column;gap:24px}
.tm-layout-row{display:flex!important;flex-wrap:wrap;gap:24px;align-items:center}
.tm-layout-two,.tm-layout-three,.tm-layout-four{display:grid!important;grid-template-columns:minmax(0,1fr);gap:24px}
@media(min-width:640px){.tm-layout-two,.tm-layout-three,.tm-layout-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:992px){.tm-layout-three{grid-template-columns:repeat(3,minmax(0,1fr))}.tm-layout-four{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tm-builder-query-list{list-style:none;padding:0;margin:0;display:grid;gap:24px}
.tm-builder-query-list>li{min-width:0}
.tm-builder-post-title{margin-top:0}
.tm-builder-profile .tm-profile-header .wp-block-post-title{margin:0 0 12px;font-size:var(--tm-fs-h1);line-height:1.25}
.tm-builder-profile .tm-profile-terms{gap:8px}
.tm-builder-single .wp-block-post-featured-image{margin:0 0 24px}
.tm-builder-single .wp-block-post-content{line-height:1.8}
.tm-builder-placeholder{padding:24px;border:1px dashed var(--tm-teal);background:var(--tm-bg-alt);color:var(--tm-navy)}

/* Search: compact directory cards, fluid two-column grid and an 8px spacing rhythm. */
.tm-search-results{--tm-search-gap:24px;--tm-search-avatar:88px;padding-top:32px}
html body main.tm-search-results .tm-page-title{margin:0 0 24px;font-size:clamp(24px,2.4vw,32px)!important;line-height:1.25}
.tm-search-results .tm-builder-post-grid{grid-template-columns:minmax(0,1fr);gap:var(--tm-search-gap)}
.tm-search-results .tm-builder-post-grid>li{margin:0;display:flex;min-width:0}
.tm-search-card{display:flex;flex-direction:column;gap:20px;width:100%;min-width:0;padding:24px;border:1px solid var(--tm-line);border-radius:12px;background:var(--tm-white);transition:border-color .18s ease}
.tm-search-card:hover,.tm-search-card:focus-within{border-color:var(--tm-teal)}
.tm-search-card-head{display:grid;grid-template-columns:var(--tm-search-avatar) minmax(0,1fr);align-items:start;gap:16px}
.tm-search-portrait{width:var(--tm-search-avatar);height:104px;overflow:hidden;border-radius:10px;background:var(--tm-mint-soft)}
.tm-search-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.tm-search-portrait .tm-listing-avatar{min-height:0;gap:4px;padding:6px}.tm-search-portrait .tm-listing-owl{width:44%}
.tm-search-card-copy{min-width:0}
html body main.tm-search-results .tm-search-card h2{font-size:18px!important;line-height:1.4;margin:0;font-weight:700;overflow-wrap:anywhere}
.tm-search-card h2 a{color:var(--tm-navy);text-decoration:none}
.tm-search-card h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.tm-search-card .tm-search-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--tm-muted);overflow-wrap:anywhere}
.tm-search-facts{display:grid;gap:10px;margin:0;font-size:14px;line-height:1.5}
.tm-search-facts>div{display:flex;align-items:flex-start;gap:10px;min-width:0}
.tm-search-facts dt{flex:none;color:var(--tm-mint-text);line-height:0;margin:0}
.tm-search-facts dd{min-width:0;margin:0;color:var(--tm-text);overflow-wrap:anywhere}
.tm-search-facts .tm-search-mode{margin-left:30px;color:var(--tm-mint-text)}
.tm-search-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:auto;padding-top:16px;border-top:1px solid var(--tm-line)}
.tm-search-card .tm-search-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin:0;color:var(--tm-muted);font-size:13px;line-height:1.4}
.tm-search-price strong{font-size:20px;letter-spacing:-.4px;color:var(--tm-navy);font-variant-numeric:tabular-nums}
.tm-search-card-actions{display:flex;align-items:center;gap:8px;max-width:100%}
.tm-search-card-actions .tme-form{margin:0;padding:0;border:0;background:none;width:auto}
html body .tm-search-card-actions .tm-search-save{width:44px;min-width:44px;padding:0!important;flex:none}
.tm-search-save[aria-pressed=true] svg{fill:var(--tm-navy)}
.tm-search-save[aria-pressed=true]:hover svg{fill:currentColor}
.tm-search-card-actions svg{flex:none}
.tm-search-tools{position:relative;display:block;padding:16px;border:1px solid var(--tm-line);border-radius:12px;background:var(--tm-white);margin-bottom:24px}
.tm-search-keyword{display:flex;align-items:stretch;gap:8px;min-width:0;margin-right:166px}
.tm-search-keyword>label{position:relative;flex:1;min-width:0;display:flex;align-items:center}
.tm-search-keyword label>svg{position:absolute;left:14px;pointer-events:none;color:var(--tm-muted)}
html body .tm-search-keyword input{width:100%;min-width:0;height:48px;margin:0;padding:10px 12px 10px 44px;border:1px solid var(--tm-line);border-radius:8px;background:var(--tm-bg-alt);font:inherit;font-size:16px;color:var(--tm-navy);box-shadow:none}
.tm-search-type-panel{margin:0;min-width:0}
.tm-search-type-panel summary{position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 14px;cursor:pointer;border:1px solid var(--tm-line);border-radius:8px;font-size:14px;font-weight:700;line-height:1.4;list-style:none}
.tm-search-type-panel summary::-webkit-details-marker{display:none}
.tm-search-type-panel summary::after{content:'';width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-left:4px;margin-top:-3px}
.tm-search-type-panel[open]{grid-column:1/-1}
.tm-search-type-panel[open] summary{width:fit-content}
.tm-search-type-panel[open] summary::after{transform:rotate(225deg);margin-top:3px}
.tm-search-type-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:5px;background:var(--tm-mint-soft);color:var(--tm-mint-text);font-size:12px}
.tm-search-tools .tm-search-selected{margin:12px 0 0;color:var(--tm-muted);font-size:13px;line-height:1.5}
.tm-search-tools fieldset{min-width:0;margin:16px 0 0;padding:16px 0 0;border:0;border-top:1px solid var(--tm-line)}
.tm-search-tools legend{padding:0;margin-bottom:12px;font-size:14px;font-weight:700}
.tm-search-types{display:grid;gap:4px 20px;grid-template-columns:minmax(0,1fr)}
.tm-search-types label{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:14px;line-height:1.5}
.tm-search-types input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--tm-navy)}
.tm-search-tools #tm-search-hint{margin:12px 0 0;font-size:13px;line-height:1.6;color:var(--tm-muted)}
.tm-search-result-bar{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.tm-search-result-bar .tm-search-count{margin:0;font-weight:700;font-size:16px;color:var(--tm-navy)}
.tm-search-range{margin:0;font-size:13px;color:var(--tm-muted)}
.tm-search-results :is(nav,div).wp-block-query-pagination,.wp-block-query-pagination{display:flex!important;align-items:center;justify-content:center;gap:8px 10px;margin-top:32px;flex-wrap:wrap}
.tm-search-results .wp-block-query-pagination-numbers,.wp-block-query-pagination-numbers{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
@media(min-width:640px){.tm-search-types{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:992px){.tm-search-results .tm-builder-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-search-types{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:639px){.tm-search-results{--tm-search-gap:16px;--tm-search-avatar:72px;padding-top:24px}.tm-search-card{padding:16px;gap:16px}.tm-search-portrait{height:88px}.tm-search-card-head{gap:12px}.tm-search-tools{padding:12px}.tm-search-keyword{margin-right:0}.tm-search-type-panel{margin-top:12px}.tm-search-type-panel summary{position:static;width:fit-content}.tm-search-card-footer{gap:12px}.tm-search-card-actions{width:100%}.tm-search-card-actions>.tm-btn-dark{flex:1}.tm-search-tools .tm-search-selected{font-size:12px}.tm-search-results :is(nav,div).wp-block-query-pagination{margin-top:24px;gap:8px}}
@media(max-width:420px){.tm-search-keyword{flex-direction:column}.tm-search-keyword>label{width:100%}.tm-search-keyword .tm-btn-dark{width:100%}}
@media(prefers-reduced-motion:reduce){.tm-search-card{transition:none}}
