:root{--jre-red:#e30613;--jre-blue:#003d8f;--jre-dark:#0d1321;--jre-muted:#64748b;--jre-border:#e5e7eb;--jre-bg:#f8fafc;--jre-shadow:0 10px 35px rgba(2,30,84,.12)}
.jre-container{max-width:1200px;margin:0 auto;padding:0 18px;font-family:Inter,Arial,sans-serif;color:var(--jre-dark)}
.jre-hero{position:relative;min-height:380px;background:linear-gradient(90deg,rgba(0,26,69,.65),rgba(0,38,100,.25)),url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=1900&auto=format&fit=crop') center/cover;display:flex;align-items:center;overflow:visible}
.jre-hero-content{position:relative;z-index:2;padding-top:30px}.jre-hero h1{font-size:48px;line-height:1.05;color:#fff;margin:0 0 12px;font-weight:900}.jre-hero h1 span{color:var(--jre-red)}.jre-hero p{color:#fff;font-size:18px;max-width:520px;margin:0 0 32px;font-weight:600}
.jre-search-box{background:#fff;border-radius:9px;box-shadow:var(--jre-shadow);padding:16px;display:grid;grid-template-columns:repeat(5,1fr) 170px;gap:14px;align-items:end}.jre-search-box label span{font-size:12px;font-weight:700;display:block;margin-bottom:8px}.jre-search-box select,.jre-search-box input{width:100%;height:44px;border:1px solid #d8dee9;border-radius:6px;padding:0 12px;background:#fff}.jre-search-box button{height:44px;border:0;border-radius:6px;background:linear-gradient(135deg,#003d8f,#002b68);color:#fff;font-weight:800;cursor:pointer}
.jre-section{padding:34px 0}.jre-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.jre-title-row h2,.jre-small-title{font-size:23px;margin:0;font-weight:900}.jre-title-row h2 span,.jre-small-title span{color:var(--jre-red)}.jre-title-row a{color:var(--jre-blue);font-weight:800;text-decoration:none}.jre-grid-list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.jre-card{background:#fff;border:1px solid var(--jre-border);border-radius:8px;overflow:hidden;box-shadow:0 8px 25px rgba(15,23,42,.06);transition:.25s}.jre-card:hover{transform:translateY(-4px);box-shadow:var(--jre-shadow)}.jre-card-img{display:block;height:165px;position:relative;overflow:hidden}.jre-card-img img{width:100%;height:100%;object-fit:cover;transition:.35s}.jre-card:hover img{transform:scale(1.06)}.jre-featured{position:absolute;top:10px;left:10px;background:var(--jre-red);color:#fff;font-size:11px;font-weight:900;padding:6px 8px;border-radius:4px}.jre-featured.inline{position:static;display:inline-block;margin-left:8px}.jre-badge{position:absolute;left:10px;bottom:10px;background:var(--jre-blue);color:#fff;font-weight:800;font-size:11px;border-radius:3px;padding:5px 8px;text-transform:uppercase}.jre-card-body{padding:14px}.jre-card h3{margin:0 0 8px;font-size:16px}.jre-card h3 a{text-decoration:none;color:var(--jre-dark)}.jre-location{font-size:13px;color:var(--jre-muted);margin:0 0 10px}.jre-card-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#475569;margin-bottom:12px}.jre-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.jre-card-footer strong{color:var(--jre-red);font-size:16px}.jre-card-footer a{background:#f1f5f9;color:var(--jre-blue);padding:8px 10px;border-radius:5px;text-decoration:none;font-size:12px;font-weight:800}
.jre-benefits{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--jre-border);border-radius:9px;box-shadow:0 8px 25px rgba(15,23,42,.05);margin-bottom:26px}.jre-benefits div{padding:22px;text-align:center;border-right:1px solid var(--jre-border)}.jre-benefits div:last-child{border-right:0}.jre-benefits i{font-size:30px;color:var(--jre-red)}.jre-benefits b{display:block;margin:8px 0}.jre-benefits p{font-size:12px;margin:0;color:var(--jre-muted)}.jre-type-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.jre-type-cards a{height:110px;border-radius:8px;background:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.35)),url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?q=80&w=900&auto=format&fit=crop') center/cover;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;text-decoration:none}
.jre-breadcrumb{font-size:12px;color:#64748b;margin:25px 0}.jre-single-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px}.jre-single-head h1{font-size:34px;line-height:1.1;margin:0 0 8px}.jre-actions{display:flex;gap:20px;color:#334155}.jre-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px}.jre-gallery-main{height:420px;border-radius:8px;overflow:hidden;position:relative}.jre-gallery-main img{width:100%;height:100%;object-fit:cover}.jre-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:12px}.jre-thumbs img{height:84px;width:100%;object-fit:cover;border-radius:6px;border:2px solid #d8dee9}.jre-box,.jre-side-card{background:#fff;border:1px solid var(--jre-border);border-radius:8px;margin-top:18px;padding:22px;box-shadow:0 8px 25px rgba(15,23,42,.04)}.jre-box h2,.jre-side-card h3{margin:0 0 14px;font-size:20px}.jre-detail-table{display:grid;grid-template-columns:repeat(2,1fr);gap:0 36px}.jre-detail-table div{display:flex;justify-content:space-between;border-bottom:1px solid var(--jre-border);padding:9px 0;font-size:14px}.jre-detail-table b{font-weight:600}.jre-features{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.jre-features span{font-size:14px}.jre-features i{color:var(--jre-blue)}.jre-video{height:310px;border-radius:8px;overflow:hidden;position:relative}.jre-video img{width:100%;height:100%;object-fit:cover}.jre-video span{position:absolute;inset:0;margin:auto;width:68px;height:68px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:25px}
.jre-side-card.price h2{color:var(--jre-red);font-size:28px}.jre-side-card ul{list-style:none;margin:15px 0 0;padding:0}.jre-side-card li{display:flex;gap:10px;border-top:1px solid var(--jre-border);padding:12px 0}.jre-side-card li span{flex:1;color:#475569}.agent{background:linear-gradient(135deg,#002b68,#003d8f);color:#fff}.jre-agent-row{display:flex;gap:12px;align-items:center}.jre-agent-row span{display:block;font-size:12px;opacity:.8}.jre-avatar{width:55px;height:55px;border-radius:50%;background:#fff;color:var(--jre-blue);display:flex;align-items:center;justify-content:center;font-size:25px}.agent a,.mapbtn,.jre-loan-btn{display:block;text-align:center;padding:12px;border-radius:6px;text-decoration:none;font-weight:900;margin-top:10px}.agent .call{background:var(--jre-red);color:#fff}.agent .whatsapp{background:#18b842;color:#fff}.agent .email{background:#fff;color:#0d1321}.jre-map-box iframe{width:100%;height:150px;border:0}.jre-map-placeholder{height:150px;background:#e0f2fe;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--jre-red);font-size:30px}.mapbtn,.jre-loan-btn{background:var(--jre-blue);color:#fff}.loan input{width:100%;height:38px;margin:5px 0;border:1px solid var(--jre-border);border-radius:5px;padding:0 10px}.jre-loan-result{text-align:center;background:#f8fafc;border:1px solid var(--jre-border);border-radius:6px;margin-top:10px;padding:12px}.jre-loan-result b{color:var(--jre-blue);font-size:22px}.similar a{display:flex;gap:10px;text-decoration:none;color:var(--jre-dark);border-top:1px solid var(--jre-border);padding:10px 0}.similar img{width:80px;height:55px;object-fit:cover;border-radius:4px}.similar b{display:block;color:var(--jre-red)}
@media(max-width:1024px){.jre-grid-list{grid-template-columns:repeat(2,1fr)}.jre-search-box{grid-template-columns:repeat(2,1fr)}.jre-search-box button{grid-column:1/-1}.jre-single-grid{grid-template-columns:1fr}.jre-sidebar{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.jre-side-card{margin-top:0}}
@media(max-width:700px){.jre-hero h1{font-size:36px}.jre-grid-list,.jre-benefits,.jre-type-cards,.jre-detail-table,.jre-features,.jre-sidebar,.jre-search-box{grid-template-columns:1fr}.jre-title-row,.jre-single-head{display:block}.jre-actions{margin-top:12px}.jre-gallery-main{height:280px}.jre-thumbs{grid-template-columns:repeat(3,1fr)}.jre-card-img{height:210px}}

/* Standalone single property page - removes theme template visual dependency */
body.jre-fullscreen-single-page{margin:0!important;background:#fff!important;font-family:Inter,Arial,sans-serif;color:#0d1321;overflow-x:hidden}.jre-fullscreen-single-page *{box-sizing:border-box}.jre-standalone-page{background:#fff;min-height:100vh;width:100%}.jre-page-container{max-width:1200px;margin:0 auto;padding:0 18px}.jre-topbar{background:#003d8f;color:#fff;font-size:13px}.jre-topbar-inner{height:36px;display:flex;justify-content:space-between;align-items:center;gap:16px}.jre-topbar-left,.jre-topbar-right{display:flex;align-items:center;gap:22px}.jre-topbar i{color:#fff}.jre-main-header{height:82px;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 4px 20px rgba(15,23,42,.05);display:flex;align-items:center}.jre-main-header-inner{width:100%;display:flex;align-items:center;justify-content:space-between;gap:22px}.jre-brand img{height:56px;width:auto;display:block;max-width:270px;object-fit:contain}.jre-nav{display:flex;align-items:center;gap:27px;font-size:15px;font-weight:800}.jre-nav a{color:#101827;text-decoration:none;white-space:nowrap}.jre-nav a.active,.jre-nav a:hover{color:#e30613}.jre-nav .jre-list-btn{background:#e30613;color:#fff!important;padding:14px 18px;border-radius:6px;box-shadow:0 7px 18px rgba(227,6,19,.22)}.jre-menu-toggle{display:none;background:#003d8f;color:#fff;border:0;border-radius:6px;width:42px;height:38px;font-size:18px}.jre-fullscreen-single-page .jre-single-wrap{padding:0 0 50px}.jre-fullscreen-single-page .jre-container{max-width:1200px}.jre-fullscreen-single-page .jre-breadcrumb{margin:24px 0 18px}.jre-fullscreen-single-page .jre-single-head h1{font-size:32px;font-weight:900}.jre-fullscreen-single-page .jre-single-head p{margin:0;color:#334155}.jre-fullscreen-single-page .jre-gallery-main{height:410px}.jre-fullscreen-single-page .jre-sidebar{align-self:start}.jre-fullscreen-single-page .jre-side-card{box-shadow:0 8px 28px rgba(15,23,42,.07)}
@media(max-width:1024px){.jre-topbar-inner{height:auto;padding-top:9px;padding-bottom:9px}.jre-topbar-left{flex-wrap:wrap;gap:10px 18px}.jre-topbar-right{display:none}.jre-main-header{height:auto;padding:14px 0}.jre-main-header-inner{align-items:flex-start}.jre-menu-toggle{display:block}.jre-nav{display:none;position:absolute;left:18px;right:18px;top:126px;background:#fff;z-index:1000;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 20px 45px rgba(2,30,84,.16);padding:16px;flex-direction:column;align-items:flex-start;gap:14px}.jre-main-header-inner.menu-open .jre-nav{display:flex}.jre-brand img{height:50px}.jre-fullscreen-single-page .jre-single-grid{grid-template-columns:1fr}.jre-fullscreen-single-page .jre-sidebar{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.jre-fullscreen-single-page .jre-side-card{margin-top:0}.jre-fullscreen-single-page .jre-gallery-main{height:390px}}
@media(max-width:700px){.jre-topbar-left{display:grid;grid-template-columns:1fr;gap:6px}.jre-brand img{height:44px;max-width:230px}.jre-fullscreen-single-page .jre-breadcrumb{font-size:11px}.jre-fullscreen-single-page .jre-single-head{display:block}.jre-fullscreen-single-page .jre-single-head h1{font-size:27px}.jre-fullscreen-single-page .jre-actions{gap:16px;font-size:13px;flex-wrap:wrap}.jre-fullscreen-single-page .jre-gallery-main{height:270px}.jre-fullscreen-single-page .jre-thumbs{grid-template-columns:repeat(3,1fr)}.jre-fullscreen-single-page .jre-detail-table,.jre-fullscreen-single-page .jre-features,.jre-fullscreen-single-page .jre-sidebar{grid-template-columns:1fr}.jre-fullscreen-single-page .jre-box,.jre-fullscreen-single-page .jre-side-card{padding:18px}.jre-nav{top:117px}}

/* v3.1 frontend fixes - single property page only */
.jre-single-head .jre-head-location{display:flex;align-items:center;gap:10px;color:#334155;font-weight:600}.jre-single-head .jre-head-location .jre-badge{position:static;left:auto;bottom:auto;display:inline-block;margin-left:4px}.jre-actions button{border:0;background:transparent;color:#334155;font:inherit;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:7px;padding:7px 0}.jre-actions button:hover{color:var(--jre-red)}.jre-actions .jre-share-copied{color:var(--jre-red);font-weight:900}.agent h3,.jre-side-card.agent h3{color:#fff!important}.jre-side-card.agent p,.jre-side-card.agent b,.jre-side-card.agent span{color:#fff}.jre-video iframe{width:100%;height:100%;border:0;display:block}.jre-video video{width:100%;height:100%;object-fit:cover;display:block;background:#000}.jre-video-embed{background:#000}.jre-video-link a{display:block;width:100%;height:100%;position:relative;color:#fff}.jre-video-link a span{position:absolute;inset:0;margin:auto;width:68px;height:68px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:25px}.jre-site-footer{background:#001f4f;color:#fff;margin-top:40px}.jre-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px;padding-top:40px;padding-bottom:36px}.jre-footer-brand img{height:58px;background:#fff;border-radius:8px;padding:8px;max-width:270px;object-fit:contain}.jre-site-footer p{color:rgba(255,255,255,.82);line-height:1.7;margin:12px 0 0}.jre-site-footer h4{color:#fff;font-size:18px;margin:0 0 15px}.jre-site-footer a{display:block;color:rgba(255,255,255,.82);text-decoration:none;margin:10px 0}.jre-site-footer a:hover{color:#fff}.jre-footer-bottom{text-align:center;border-top:1px solid rgba(255,255,255,.16);padding:15px;color:rgba(255,255,255,.78);font-size:13px}.jre-fullscreen-single-page .loan{display:none!important}
@media(max-width:700px){.jre-actions button{font-size:13px}.jre-footer-grid{grid-template-columns:1fr;gap:22px;padding-top:30px;padding-bottom:28px}.jre-footer-brand img{height:52px}.jre-video{height:230px}}

/* v3.1.2 fixes */
.jre-property-description{font-size:15px;line-height:1.85;color:#1f2937;white-space:normal}.jre-property-description p{margin:0 0 14px}.jre-property-description p:last-child{margin-bottom:0}

/* v3.1.3 Properties page design */
.jre-properties-page{background:#fff;font-family:Inter,Arial,sans-serif;color:#0d1321;padding-bottom:60px}.jre-properties-page *{box-sizing:border-box}.jre-properties-hero{background:#f8fafc;border-top:1px solid #eef2f7;border-bottom:1px solid #e5e7eb}.jre-properties-hero-inner{height:118px;display:flex;align-items:center;justify-content:space-between;gap:20px}.jre-properties-hero h1{margin:0;color:#062a63;font-size:36px;line-height:1;font-weight:900}.jre-properties-hero div{font-weight:800;color:#0f172a}.jre-properties-hero span{color:#64748b;margin:0 10px}.jre-properties-hero b{color:#e30613}.jre-properties-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;padding-top:32px}.jre-properties-sidebar{display:flex;flex-direction:column;gap:18px}.jre-filter-panel,.jre-help-card,.jre-properties-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 26px rgba(15,23,42,.04)}.jre-filter-panel{padding:21px}.jre-filter-panel h2{font-size:24px;line-height:1.1;color:#062a63;font-weight:900;margin:0 0 22px}.jre-filter-panel label{display:block;font-size:14px;font-weight:600;color:#1f2937;margin-bottom:17px}.jre-filter-panel select{display:block;width:100%;height:43px;margin-top:8px;border:1px solid #d8dee9;border-radius:5px;background:#fff;color:#111827;padding:0 12px;font-size:14px}.jre-filter-search{width:100%;height:45px;border:0;border-radius:5px;background:linear-gradient(135deg,#003d8f,#002b68);color:#fff;font-weight:900;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:8px}.jre-filter-reset{width:100%;height:42px;border:1px solid #e30613;border-radius:5px;color:#e30613;background:#fff;text-decoration:none;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:11px}.jre-help-card{padding:26px 24px;display:grid;grid-template-columns:64px 1fr;grid-template-areas:'icon title' 'icon text' 'icon phone';column-gap:18px;align-items:center}.jre-help-card div{grid-area:icon;width:64px;height:64px;background:#eef5ff;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#003d8f;font-size:30px}.jre-help-card strong{grid-area:title;font-size:18px}.jre-help-card span{grid-area:text;color:#475569;margin-top:3px}.jre-help-card b{grid-area:phone;color:#003d8f;font-size:20px;margin-top:8px}.jre-properties-toolbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;margin-bottom:20px}.jre-properties-toolbar strong{font-size:16px}.jre-sort-form{display:flex;align-items:center;gap:12px;margin:0}.jre-sort-form label{font-weight:700;color:#111827}.jre-sort-form select{height:42px;min-width:158px;border:1px solid #d8dee9;border-radius:5px;background:#fff;padding:0 12px}.jre-view-toggle{width:40px;height:40px;border:1px solid #d8dee9;background:#fff;color:#0d1321;border-radius:5px;cursor:pointer;font-size:16px}.jre-view-toggle.active,.jre-view-toggle:hover{background:#003d8f;color:#fff;border-color:#003d8f}.jre-properties-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.jre-properties-card{background:#fff;border:1px solid #e5e7eb;border-radius:7px;overflow:hidden;box-shadow:0 7px 24px rgba(15,23,42,.05);transition:.25s}.jre-properties-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(2,30,84,.12)}.jre-properties-card-img{height:178px;position:relative;display:block;overflow:hidden}.jre-properties-card-img img{width:100%;height:100%;object-fit:cover;transition:.35s}.jre-properties-card:hover img{transform:scale(1.05)}.jre-properties-card .jre-featured{top:10px;left:10px;border-radius:3px;padding:7px 8px}.jre-properties-card .jre-badge{left:10px;bottom:9px;background:#003d8f;border-radius:2px;padding:6px 9px}.jre-heart{position:absolute;right:12px;top:12px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;text-shadow:0 2px 7px rgba(0,0,0,.45)}.jre-properties-card-body{padding:13px 14px 16px}.jre-properties-card h3{margin:0 0 9px;font-size:16px;line-height:1.25}.jre-properties-card h3 a{color:#0d1321;text-decoration:none}.jre-properties-card h3 a:hover{color:#003d8f}.jre-properties-card .jre-location{font-size:13px;margin-bottom:11px;color:#374151}.jre-properties-card .jre-location i,.jre-properties-card .jre-card-meta i{color:#003d8f}.jre-properties-card .jre-card-meta{gap:11px 13px;margin-bottom:13px;font-size:13px;color:#374151}.jre-properties-price{display:block;color:#e30613;font-size:17px;line-height:1.3}.jre-properties-grid.list-view{grid-template-columns:1fr}.jre-properties-grid.list-view .jre-properties-card{display:grid;grid-template-columns:300px 1fr}.jre-properties-grid.list-view .jre-properties-card-img{height:210px}.jre-pagination{display:flex;justify-content:center;gap:10px;margin-top:34px}.jre-pagination .page-numbers{min-width:41px;height:41px;border:1px solid #d8dee9;border-radius:6px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#0d1321;font-weight:800;background:#fff}.jre-pagination .page-numbers.current,.jre-pagination .page-numbers:hover{background:#003d8f;color:#fff;border-color:#003d8f}.jre-no-properties{grid-column:1/-1;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:32px;text-align:center;color:#64748b;font-weight:800}
@media(max-width:1200px){.jre-properties-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1024px){.jre-properties-layout{grid-template-columns:1fr}.jre-properties-sidebar{display:grid;grid-template-columns:1fr 1fr}.jre-properties-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.jre-properties-hero-inner{height:auto;display:block;padding-top:30px;padding-bottom:28px}.jre-properties-hero h1{font-size:31px;margin-bottom:16px}.jre-properties-layout{padding-top:22px}.jre-properties-sidebar{grid-template-columns:1fr}.jre-properties-toolbar{display:block}.jre-sort-form{margin-top:13px;flex-wrap:wrap}.jre-sort-form select{flex:1;min-width:170px}.jre-properties-grid,.jre-properties-grid.list-view{grid-template-columns:1fr}.jre-properties-grid.list-view .jre-properties-card{display:block}.jre-properties-card-img,.jre-properties-grid.list-view .jre-properties-card-img{height:230px}.jre-help-card{grid-template-columns:54px 1fr}.jre-help-card div{width:54px;height:54px;font-size:24px}.jre-help-card b{font-size:18px}}

/* v12 frontend card refinements - backend unchanged */
.jre-grid-list .jre-card{
    display:flex;
    flex-direction:column;
    height:100%;
}
.jre-grid-list .jre-card-body{
    min-height:150px;
    height:150px;
    display:flex;
    flex-direction:column;
    padding:14px;
}
.jre-grid-list .jre-card-body .jre-location{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.jre-grid-list .jre-card-body .jre-card-meta,
.jre-grid-list .jre-card-footer strong{
    display:none!important;
}
.jre-grid-list .jre-card-footer{
    margin-top:auto;
    width:100%;
    display:block;
}
.jre-grid-list .jre-card-footer a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:42px;
    padding:10px 14px;
    border-radius:7px;
    background:#003d8f;
    color:#fff;
    font-size:13px;
    line-height:1.2;
    text-align:center;
    white-space:normal;
    word-break:normal;
}
.jre-grid-list .jre-card-footer a:hover{
    background:#e30613;
    color:#fff;
}
@media(max-width:700px){
    .jre-grid-list .jre-card-body{
        height:auto;
        min-height:145px;
    }
    .jre-grid-list .jre-card-footer a{
        min-height:46px;
        font-size:14px;
    }
}

/* v13 responsive fix for Featured Properties / property cards - frontend only */
.jre-grid-list{
    width:100%;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    align-items:stretch;
}
.jre-grid-list .jre-card{
    width:100%;
    max-width:100%;
    min-width:0;
}
.jre-grid-list .jre-card-img{
    width:100%;
    height:190px;
}
.jre-grid-list .jre-card-img img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.jre-grid-list .jre-card-body{
    height:auto!important;
    min-height:190px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px;
}
.jre-grid-list .jre-card h3{
    font-size:16px;
    line-height:1.35;
    margin:0;
    min-height:44px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    word-break:break-word;
}
.jre-grid-list .jre-card-body .jre-location{
    margin:0 0 8px!important;
    min-height:20px;
    line-height:1.45;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    word-break:break-word;
}
.jre-grid-list .jre-card-footer{
    margin-top:auto!important;
}
.jre-grid-list .jre-card-footer a{
    width:100%!important;
    max-width:100%;
    min-height:46px;
    font-size:14px;
    border-radius:8px;
}
@media(max-width:900px){
    .jre-grid-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
    .jre-grid-list .jre-card-img{height:200px;}
}
@media(max-width:600px){
    .jre-container{padding-left:14px;padding-right:14px;}
    .jre-title-row{display:block;text-align:left;}
    .jre-title-row h2,.jre-small-title{font-size:24px;line-height:1.25;}
    .jre-grid-list{grid-template-columns:1fr!important;gap:18px;}
    .jre-grid-list .jre-card{max-width:100%;margin:0 auto;}
    .jre-grid-list .jre-card-img{height:220px;}
    .jre-grid-list .jre-card-body{min-height:180px!important;padding:16px!important;}
    .jre-grid-list .jre-card h3{font-size:18px;min-height:auto;-webkit-line-clamp:3;}
    .jre-grid-list .jre-card-footer a{min-height:48px;font-size:15px;}
}
@media(max-width:380px){
    .jre-grid-list .jre-card-img{height:200px;}
    .jre-grid-list .jre-card h3{font-size:17px;}
}

/* v15 frontend search shortcode: manual search only + type/category/city, price/bedrooms kept on Properties page filter */
.jre-search-box{
    grid-template-columns:minmax(220px,1.45fr) repeat(3,minmax(150px,1fr)) minmax(165px,.9fr)!important;
    width:100%;
}
.jre-search-box .jre-keyword-field input,
.jre-filter-panel input[type="text"]{
    width:100%;
    height:44px;
    border:1px solid #d8dee9;
    border-radius:6px;
    padding:0 13px;
    background:#fff;
    color:#0d1321;
    font-size:14px;
    outline:none;
    transition:border-color .25s ease, box-shadow .25s ease;
}
.jre-search-box .jre-keyword-field input:focus,
.jre-filter-panel input[type="text"]:focus{
    border-color:#003d8f;
    box-shadow:0 0 0 3px rgba(0,61,143,.12);
}
.jre-search-box .jre-keyword-field input::placeholder,
.jre-filter-panel input[type="text"]::placeholder{
    color:#94a3b8;
}
.jre-filter-panel input[type="text"]{
    display:block;
    margin-top:8px;
}
@media(max-width:1180px){
    .jre-search-box{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .jre-search-box button{
        width:100%;
    }
}
@media(max-width:800px){
    .jre-search-box{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:12px!important;
        padding:14px!important;
    }
    .jre-search-box button{
        grid-column:1/-1;
        min-height:46px;
    }
}
@media(max-width:560px){
    .jre-search-box{
        grid-template-columns:1fr!important;
        gap:11px!important;
        border-radius:10px!important;
    }
    .jre-search-box label span{
        margin-bottom:6px!important;
    }
    .jre-search-box select,
    .jre-search-box input,
    .jre-search-box button{
        height:46px!important;
        font-size:14px!important;
    }
    .jre-search-box button{
        grid-column:auto;
    }
}


/* v16 - Properties page: list view only + responsive toolbar */
.jre-properties-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  flex-wrap:wrap!important;
}
.jre-properties-toolbar > strong{
  flex:1 1 260px!important;
  line-height:1.4!important;
}
.jre-properties-toolbar .jre-sort-form{
  flex:0 1 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.jre-properties-toolbar .jre-view-toggle{
  display:none!important;
}
.jre-properties-grid,
.jre-properties-grid.list-view{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:20px!important;
}
.jre-properties-grid .jre-properties-card,
.jre-properties-grid.list-view .jre-properties-card{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  width:100%!important;
}
.jre-properties-grid .jre-properties-card-img,
.jre-properties-grid.list-view .jre-properties-card-img{
  height:220px!important;
  min-height:220px!important;
}
@media(max-width:700px){
  .jre-properties-toolbar{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:14px!important;
    gap:12px!important;
  }
  .jre-properties-toolbar > strong{
    width:100%!important;
    flex:auto!important;
    font-size:14px!important;
    text-align:left!important;
  }
  .jre-properties-toolbar .jre-sort-form{
    width:100%!important;
    justify-content:stretch!important;
    gap:8px!important;
  }
  .jre-properties-toolbar .jre-sort-form label{
    width:100%!important;
    margin:0!important;
  }
  .jre-properties-toolbar .jre-sort-form select{
    width:100%!important;
    min-width:0!important;
    flex:auto!important;
  }
  .jre-properties-grid .jre-properties-card,
  .jre-properties-grid.list-view .jre-properties-card{
    display:block!important;
  }
  .jre-properties-grid .jre-properties-card-img,
  .jre-properties-grid.list-view .jre-properties-card-img{
    height:230px!important;
    min-height:230px!important;
  }
}
@media(max-width:420px){
  .jre-properties-grid .jre-properties-card-img,
  .jre-properties-grid.list-view .jre-properties-card-img{
    height:205px!important;
    min-height:205px!important;
  }
}
