:root{--trece:#7eab00;--trece-dark:#243215;--trece-ink:#182012;--trece-soft:#f4f8ea;--trece-radius:22px}
html{scroll-behavior:smooth;overflow-x:hidden}
body.trece-ux-v2{overflow-x:hidden;color:var(--trece-ink);text-rendering:optimizeLegibility}
body.trece-ux-v2 *,body.trece-ux-v2 *:before,body.trece-ux-v2 *:after{box-sizing:border-box}
body.trece-ux-v2 img{max-width:100%;height:auto}
body.trece-ux-v2 iframe,body.trece-ux-v2 video{max-width:100%}
body.trece-ux-v2 h1,body.trece-ux-v2 h2,body.trece-ux-v2 h3{line-height:1.08;text-wrap:balance}
body.trece-ux-v2 p{line-height:1.65}
body.trece-ux-v2 a,body.trece-ux-v2 button,body.trece-ux-v2 input,body.trece-ux-v2 select{touch-action:manipulation}

#trece-preloader{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;background:#fff;transition:opacity .35s ease,visibility .35s ease}
#trece-preloader img{width:88px;height:88px;object-fit:contain;animation:trece-spin 1.05s cubic-bezier(.55,.1,.45,.9) infinite}
#trece-preloader.trece-loaded{opacity:0;visibility:hidden;pointer-events:none}
@keyframes trece-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#trece-preloader img{animation:none}}

body.trece-ux-v2 .trece-hero-active{position:relative!important;isolation:isolate;background-image:linear-gradient(90deg,rgba(10,25,12,.76),rgba(10,25,12,.18)),var(--trece-hero)!important;background-size:cover!important;background-position:center 54%!important;min-height:min(78vh,780px)!important;display:flex;align-items:center}
body.trece-ux-v2 .trece-hero-active:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.18));pointer-events:none}
body.trece-ux-v2 .trece-hero-active h1,body.trece-ux-v2 .trece-hero-active h2{font-size:clamp(2.2rem,5vw,5.2rem)!important;max-width:12ch;color:#fff!important;text-shadow:0 2px 22px rgba(0,0,0,.35)}
body.trece-ux-v2 .trece-hero-active p{color:#fff!important;max-width:620px;font-size:clamp(1rem,1.6vw,1.25rem)}

.trece-projects{padding:clamp(64px,8vw,110px) 20px;background:linear-gradient(180deg,#fff,var(--trece-soft))}
.trece-projects__inner{width:min(1180px,100%);margin:auto}
.trece-eyebrow{margin:0 0 10px!important;color:var(--trece)!important;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem}
.trece-projects h2{margin:0;font-size:clamp(2rem,4vw,3.6rem);color:var(--trece-dark)}
.trece-projects__intro{max-width:680px;margin:18px 0 34px;color:#526047;font-size:1.06rem}
.trece-projects__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.trece-project-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid rgba(126,171,0,.18);border-radius:var(--trece-radius);background:#fff;color:inherit!important;text-decoration:none!important;box-shadow:0 12px 38px rgba(40,55,25,.09);transition:transform .25s ease,box-shadow .25s ease}
.trece-project-card:hover{transform:translateY(-6px);box-shadow:0 18px 46px rgba(40,55,25,.16)}
.trece-project-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#edf3df}
.trece-project-card__media img{width:100%;height:100%!important;object-fit:cover;transition:transform .4s ease}
.trece-project-card:first-child .trece-project-card__media img{object-fit:contain;padding:24px;background:#fff}
.trece-project-card:hover img{transform:scale(1.035)}
.trece-project-card__body{display:flex;flex:1;flex-direction:column;padding:23px}
.trece-project-card__body strong{font-size:1.45rem;color:var(--trece-dark)}
.trece-project-card__body small{margin:8px 0 22px;font-size:.98rem;color:#5e6955}
.trece-project-card__body b{margin-top:auto;color:var(--trece);font-size:.92rem}

body.trece-ux-v2 .property_listing,body.trece-ux-v2 .listing_wrapper,body.trece-ux-v2 .agent_unit,body.trece-ux-v2 .blog_unit{border-radius:18px!important;overflow:hidden;box-shadow:0 10px 30px rgba(30,40,20,.08)!important}
body.trece-ux-v2 .property_listing img,body.trece-ux-v2 .listing_wrapper img{width:100%;object-fit:cover}
body.trece-ux-v2 .adv-search-1,body.trece-ux-v2 .advanced_search_shortcode,body.trece-ux-v2 .search_wrapper{border-radius:18px!important;box-shadow:0 12px 36px rgba(0,0,0,.12)!important}
body.trece-ux-v2 .wpresidence_button,body.trece-ux-v2 .theme_button,body.trece-ux-v2 input[type=submit],body.trece-ux-v2 button[type=submit]{min-height:46px;border-radius:12px!important;background:var(--trece)!important;border-color:var(--trece)!important;color:#fff!important;font-weight:750!important}

@media(max-width:1024px){
  .trece-projects__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.trece-ux-v2 .header_wrapper,body.trece-ux-v2 .header_wrapper_inside{padding-inline:18px!important}
}
@media(max-width:767px){
  body.trece-ux-v2{font-size:16px}
  body.trece-ux-v2 .container,body.trece-ux-v2 .content_wrapper,body.trece-ux-v2 .elementor-container{max-width:100%!important}
  body.trece-ux-v2 .elementor-section,body.trece-ux-v2 .elementor-column,body.trece-ux-v2 .elementor-widget-wrap{min-width:0!important}
  body.trece-ux-v2 .trece-hero-active{min-height:72svh!important;background-position:62% center!important;padding:96px 20px 56px!important;align-items:flex-end}
  body.trece-ux-v2 .trece-hero-active h1,body.trece-ux-v2 .trece-hero-active h2{font-size:clamp(2.1rem,11vw,3.35rem)!important;max-width:10ch}
  body.trece-ux-v2 .trece-hero-active p{font-size:1rem!important;line-height:1.55!important}
  body.trece-ux-v2 .header_wrapper,body.trece-ux-v2 .mobile_header{min-height:68px!important;background:#fff!important;box-shadow:0 4px 18px rgba(20,30,10,.08)}
  body.trece-ux-v2 .mobile-logo img,body.trece-ux-v2 .logo img{max-height:50px!important;width:auto!important}
  body.trece-ux-v2 .mobile-trigger,body.trece-ux-v2 .mobilemenu-close{min-width:44px!important;min-height:44px!important}
  body.trece-ux-v2 .adv-search-1,body.trece-ux-v2 .advanced_search_shortcode,body.trece-ux-v2 .search_wrapper{position:static!important;width:calc(100% - 28px)!important;margin:18px auto!important;padding:14px!important;transform:none!important}
  body.trece-ux-v2 .adv-search-1 form,body.trece-ux-v2 .advanced_search_shortcode form,body.trece-ux-v2 .search_wrapper form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.trece-ux-v2 .adv-search-1 input,body.trece-ux-v2 .adv-search-1 select,body.trece-ux-v2 .advanced_search_shortcode input,body.trece-ux-v2 .advanced_search_shortcode select{width:100%!important;min-height:48px!important;margin:0!important}
  body.trece-ux-v2 .items_shortcode_wrapper,body.trece-ux-v2 .property_listings,body.trece-ux-v2 .listing_wrapper{grid-template-columns:1fr!important}
  body.trece-ux-v2 .property_listing,body.trece-ux-v2 .listing_wrapper{width:100%!important;max-width:100%!important;margin-inline:0!important}
  body.trece-ux-v2 iframe{width:100%!important;min-height:54vw;border:0;border-radius:14px}
  .trece-projects{padding:62px 15px}
  .trece-projects__grid{grid-template-columns:1fr;gap:16px}
  .trece-project-card{border-radius:18px}
  .trece-project-card__body{padding:20px}
  .trece-projects__intro{margin-bottom:26px}
}

