.cir-cards .cir-card{border:1px solid #e5e7e3;border-radius:12px;box-shadow:0 4px 16px rgba(28,43,32,.05)}
.cir-cards .cir-card:hover{box-shadow:0 8px 24px rgba(28,43,32,.09)}
.cir-cards .cir-card-body{padding:15px;gap:8px}
.cir-cards .cir-card h3{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:-.15px}
.cir-cards .cir-card-location{font-size:12px;line-height:1.5}
.cir-cards .cir-card-topline{font-size:10px;font-weight:600;letter-spacing:.3px;line-height:1.5}
.cir-cards .cir-card-price{font-size:19px;line-height:1.4;font-weight:650;margin:3px 0}
.cir-cards .cir-card .cir-secondary-button{padding:9px 13px;min-height:34px;font-size:12px;line-height:1.2;font-weight:600;align-self:flex-start;box-sizing:border-box;border-radius:5px}
form.cir-search-bar{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:16px;align-items:end;background:transparent;border:0;box-shadow:none;padding:0;margin:0;font-family:var(--cir-search-font,inherit);font-size:var(--cir-search-size,14px);color:var(--cir-search-color,#243126)}
form.cir-search-bar label{display:flex;flex-direction:column;gap:7px;min-width:0;font:inherit;color:inherit}
form.cir-search-bar label span{font:inherit;color:inherit;font-weight:600}
form.cir-search-bar input,form.cir-search-bar select{width:100%;box-sizing:border-box;min-height:44px;border:1px solid currentColor;border-radius:5px;background:transparent;color:inherit;font:inherit;padding:10px 12px;margin:0}
form.cir-search-bar option{background:#fff;color:#243126}
form.cir-search-bar input::placeholder{color:inherit;opacity:.7}
form.cir-search-bar button{min-height:44px;border:1px solid var(--cir-search-button);border-radius:5px;background:var(--cir-search-button);color:var(--cir-search-button-text);font:inherit;font-weight:600;padding:10px 20px;cursor:pointer;white-space:nowrap}
form.cir-search-bar button:hover{filter:brightness(.93)}
form.cir-search-bar :focus-visible,.cir-gallery a:focus-visible,.cir-home-carousel .cir-cards:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.cir-single{color:#26372d;line-height:1.65;margin-bottom:36px}
/* The gallery uses the full width available in the theme/Elementor container. */
.cir-single .cir-gallery{position:relative;margin:0 0 34px;--cir-gallery-visible:3}
.cir-gallery-viewport{overflow-x:auto;scroll-snap-type:x mandatory;touch-action:pan-y}
.cir-gallery-rail{display:flex;gap:4px;will-change:transform}
.cir-gallery .cir-gallery-photo{display:block;flex:0 0 calc((100% - (var(--cir-gallery-visible) - 1)*4px)/var(--cir-gallery-visible));min-width:0;height:clamp(260px,28vw,460px);overflow:hidden;scroll-snap-align:start}
.cir-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover}
.cir-gallery-enhanced .cir-gallery-viewport{overflow:hidden;scroll-snap-type:none}
.cir-gallery-controls[hidden]{display:none}
.cir-gallery-controls button{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:46px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;background:#fffffff0;color:#26323a;cursor:pointer;z-index:2}
.cir-gallery-controls [data-gallery-prev]{left:0}.cir-gallery-controls [data-gallery-next]{right:0}
.cir-gallery-controls .cir-gallery-pause{top:auto;bottom:8px;left:8px;transform:none;width:auto;height:32px;padding:5px 10px;font-size:12px;opacity:0;pointer-events:none}
.cir-gallery:focus-within .cir-gallery-pause{opacity:1;pointer-events:auto}
.cir-gallery-count{position:absolute;bottom:14px;right:14px;background:#fff;color:#26323a;font:600 11px/1.4 Arial,sans-serif;padding:2px 8px;border-radius:12px}
.cir-single-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:36px;align-items:start}
.cir-single-main{min-width:0}
.cir-single .cir-single-intro h1{font-size:clamp(23px,3vw,32px);line-height:1.25;margin:6px 0 12px}
.cir-single-intro p{margin:0 0 12px;font-size:14px}
.cir-single-category{text-transform:uppercase;font-size:11px!important;letter-spacing:1px;font-weight:600}
.cir-single .cir-single-price{font-size:25px;color:var(--cir-price,#2f6b3f)}
.cir-single-description{margin:28px 0;font-size:15px}
.cir-property-info{border-top:1px solid #e5e9e3;padding-top:24px;margin-top:24px}
.cir-single .cir-property-info h2,.cir-single .cir-contact-box h2{font-size:18px;line-height:1.4;margin:0 0 16px;color:inherit}
.cir-property-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.cir-property-info dl div{background:#f6f8f4;border-radius:7px;padding:12px}
.cir-property-info dt{font-size:12px;color:#627064}
.cir-property-info dd{font-size:14px;font-weight:600;margin:4px 0 0;overflow-wrap:anywhere}
.cir-contact-box{position:sticky;top:24px;padding:24px;border:1px solid #e2e7df;border-radius:12px;background:var(--cir-sidebar-bg,#fff);color:var(--cir-sidebar-color,#243126);box-shadow:0 8px 28px #1f30200a;overflow-wrap:anywhere}
.cir-contact-box p{font-size:14px;color:inherit;white-space:normal}
.cir-contact-box .cir-primary-button{font-size:13px;width:100%;box-sizing:border-box;line-height:1.4;padding:12px;font-weight:600}
.cir-contact-image{width:100%;max-height:200px;object-fit:cover;border-radius:7px;margin-bottom:18px}
.cir-info-image{margin:24px 0}.cir-info-image img{display:block;width:auto;max-width:100%;height:auto;border-radius:8px}
.cir-lightbox{border:0;border-radius:10px;padding:12px;background:#152019;max-width:94vw;max-height:94vh;color:white}
.cir-lightbox::backdrop{background:#000c}
.cir-lightbox img{display:block;max-width:85vw;max-height:76vh;object-fit:contain;margin:auto}
.cir-lightbox button{background:transparent;color:#fff;border:1px solid #fff8;border-radius:5px;padding:9px 14px;cursor:pointer;margin:0 0 10px}
@media(max-width:860px){form.cir-search-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.cir-single-columns{grid-template-columns:minmax(0,1fr);gap:24px}.cir-contact-box{position:static}}
@media(max-width:540px){form.cir-search-bar{grid-template-columns:minmax(0,1fr)}.cir-property-info dl{grid-template-columns:minmax(0,1fr)}}

/* Reference layout: property summary and description beside the information box. */
.cir-single .cir-single-columns{max-width:1100px;margin:0 auto;grid-template-columns:minmax(0,1fr) 300px;gap:44px;padding:0 20px}
.cir-single .cir-single-intro h1{font-size:23px;line-height:1.35;margin:16px 0}
.cir-single-badges{display:flex;flex-wrap:wrap;gap:6px}
.cir-single-badges span{border:1px solid #7d8184;border-radius:3px;padding:2px 9px;font-size:12px;line-height:1.5}
.cir-single-location{display:flex;align-items:center;gap:9px;font-weight:600}
.cir-single-facts{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0 30px}
.cir-single-facts>div{display:flex;align-items:center;gap:9px}
.cir-single-facts .dashicons{font-size:28px;width:28px;height:28px;color:var(--cir-price,#2f6b3f)}
.cir-single-facts small{display:block;font-size:11px;line-height:1.3;color:#667078}
.cir-single-facts strong{display:block;font-size:16px;line-height:1.3}
.cir-single .cir-single-description{margin-top:0;font-size:14px;line-height:1.75}
.cir-single .cir-single-description h2{font-size:22px;font-weight:700;margin:0 0 16px}
.cir-single .cir-contact-box{padding:24px;border-radius:3px;border:0;box-shadow:none}
.cir-single .cir-contact-box h2{font-size:19px;font-weight:700;margin-bottom:14px}
.cir-price-summary{background:#fff;border-radius:5px;padding:15px;color:#41464b}
.cir-price-summary>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:0 0 12px}
.cir-price-summary>div strong{text-align:right}
.cir-price-summary .cir-price-total{border-top:1px dashed #e0e4e9;padding:12px 0 0;font-size:15px;font-weight:700}
.cir-price-total strong{color:var(--cir-price,#2f6b3f)}
.cir-contact-box .cir-price-summary p{font-size:11px;line-height:1.4;color:#84909f;margin:10px 0 0}
.cir-contact-box .cir-primary-button,.cir-contact-box .cir-contact-secondary{display:flex;justify-content:center;align-items:center;width:100%;box-sizing:border-box;margin-top:12px;min-height:40px;padding:10px 12px;border-radius:4px;text-decoration:none;font-size:12px;line-height:1.35;font-weight:700;text-align:center}
.cir-contact-box .cir-contact-secondary{background:var(--cir-sidebar-second,#54a500);color:var(--cir-sidebar-second-text,#fff)}
.cir-contact-box .cir-contact-secondary:hover{filter:brightness(.94)}
.cir-contact-box .cir-reference{margin:16px 0 0;font-size:12px;font-weight:700}
@media(max-width:860px){.cir-single .cir-gallery{--cir-gallery-visible:2}.cir-single .cir-single-columns{grid-template-columns:minmax(0,1fr);gap:24px}.cir-single .cir-contact-box{position:static}}
@media(max-width:540px){.cir-single .cir-gallery{--cir-gallery-visible:1}.cir-single .cir-single-columns{padding:0 12px}.cir-gallery .cir-gallery-photo{height:300px}}
@media(prefers-reduced-motion:reduce){.cir-gallery-rail{transition:none!important}}

/* Edge-to-edge property photos; the information below remains centered. */
.cir-single .cir-gallery{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:0;box-sizing:border-box}
body.single-imovel_rural .entry-header .entry-title,
body.single-imovel_rural .page-header .page-title,
body.single-imovel_rural h1.entry-title,
body.single-imovel_rural h1.wp-block-post-title,
body.single-imovel_rural .elementor-widget-theme-post-title{display:none!important}
body.single-imovel_rural .entry-header:has(> .entry-title:only-child),
body.single-imovel_rural .page-header:has(> .page-title:only-child){display:none!important}
body.single-imovel_rural .elementor-element:has(.cir-single){overflow:visible}
