/* García Cando Real Estate · R5.82 · Lugares: portada hero + referencia editorial */
.re-municipality-selection{max-width:1560px!important}
.re-municipality-cards{gap:22px!important}
.re582-place-card{overflow:hidden}
.re582-place-card .re534-main{display:block}
.re582-place-card .re534-media.re582-place-card-media{
  position:relative!important;
  height:clamp(275px,24vw,360px)!important;
  min-height:275px!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#090d0e!important;
}
.re582-place-card-media>img,
.re582-place-card-media>video,
.re582-place-card-media>iframe,
.re582-place-card-media>.re576-drive-auto{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:cover!important;border:0!important;border-radius:0!important;background:#090d0e!important;
}
.re582-place-card-media>.re576-drive-auto>video,
.re582-place-card-media>.re576-drive-auto>img{width:100%!important;height:100%!important;object-fit:cover!important}
.re582-place-shade{position:absolute;inset:0;z-index:3;pointer-events:none;background:
  linear-gradient(180deg,rgba(0,0,0,.12) 0%,transparent 34%),
  linear-gradient(0deg,rgba(2,5,6,.98) 0%,rgba(2,5,6,.72) 24%,rgba(2,5,6,.18) 58%,transparent 78%);
  opacity:var(--re582-fade,.72)
}
.re582-place-card-title{position:absolute;z-index:4;left:22px;bottom:21px;max-width:min(68%,420px);color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.65);pointer-events:none}
.re582-place-card-title small{display:block;margin:0 0 6px;font:600 10px/1.2 Jost,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.re582-place-card-title h3{margin:0!important;font:500 clamp(24px,2.25vw,34px)/1.02 Jost,sans-serif!important;letter-spacing:-.025em;color:#fff!important;-webkit-text-fill-color:#fff!important}
.re582-place-reference{position:absolute;z-index:5;right:18px;bottom:18px;max-width:42%;padding:7px 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(8,12,13,.36);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font:500 9px/1.25 Jost,sans-serif;letter-spacing:.055em;text-transform:uppercase;color:#fff!important;-webkit-text-fill-color:#fff!important;text-align:right;text-decoration:none!important;box-shadow:0 7px 24px rgba(0,0,0,.18)}
.re582-place-card .re534-body{padding-top:18px!important}
.re582-place-card .re534-body h2{margin-top:0!important}

.re582-municipality-detail{width:94%!important;max-width:1560px!important;margin:0 auto!important;padding-top:8px!important}
.re582-place-hero{position:relative;width:100%;height:clamp(540px,72vh,820px);min-height:540px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:30px;background:#080c0d;box-shadow:0 26px 80px rgba(0,0,0,.28)}
.re582-place-hero-media{position:absolute;inset:0;z-index:1;overflow:hidden;background:#080c0d}
.re582-place-hero-media>img,
.re582-place-hero-media>video,
.re582-place-hero-media>iframe,
.re582-place-hero-media>.re576-drive-auto,
.re582-place-hero-media>.re-municipality-hero{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;border:0!important;border-radius:0!important;background:#080c0d!important
}
.re582-place-hero-media>.re576-drive-auto>video,
.re582-place-hero-media>.re576-drive-auto>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
.re582-place-hero-empty{display:grid;place-items:center;width:100%;height:100%;font:500 12px/1.2 Jost,sans-serif;letter-spacing:.16em;color:rgba(255,255,255,.5)}
.re582-place-hero-title{position:absolute;z-index:5;left:clamp(26px,4vw,64px);bottom:clamp(34px,5vw,68px);max-width:min(72%,980px);color:#fff;text-shadow:0 3px 26px rgba(0,0,0,.72);pointer-events:none}
.re582-place-hero-title small{display:inline-flex;margin:0 0 12px;padding:7px 11px;border:1px solid rgba(255,255,255,.19);border-radius:999px;background:rgba(7,11,12,.25);backdrop-filter:blur(10px);font:600 10px/1.2 Jost,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#fff}
.re582-place-hero-title h1{margin:0!important;max-width:1050px;font:500 clamp(48px,6.8vw,104px)/.92 Jost,sans-serif!important;letter-spacing:-.045em;color:#fff!important;-webkit-text-fill-color:#fff!important;text-wrap:balance}
.re582-place-hero-title p{margin:14px 0 0;font:500 clamp(12px,1.4vw,17px)/1.3 Jost,sans-serif;letter-spacing:.055em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.re582-place-hero>.re582-place-reference{right:clamp(22px,3vw,48px);bottom:clamp(25px,3.3vw,48px);max-width:min(34%,520px);font-size:10px;pointer-events:auto}
.re582-place-reference-link:hover{background:rgba(238,242,241,.94)!important;color:#111!important;-webkit-text-fill-color:#111!important}
.re582-municipality-detail .re-municipality-copy{max-width:1040px!important;margin:32px auto 0!important}
.re582-place-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.re582-place-detail-nav>a,.re582-place-detail-nav>button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(18,23,24,.72);color:#f4f6f5!important;-webkit-text-fill-color:#f4f6f5!important;text-decoration:none!important;font:600 12px/1.2 Jost,sans-serif;cursor:pointer;backdrop-filter:blur(12px)}
.re582-municipality-detail .re-municipality-copy>h2{font-size:clamp(30px,4vw,52px);line-height:1.05;margin:0 0 22px}
.re582-municipality-detail .re-municipality-copy>p{font-size:clamp(15px,1.35vw,18px);line-height:1.7}

@media(max-width:980px){
  .re582-place-card .re534-media.re582-place-card-media{height:clamp(260px,42vw,350px)!important}
  .re582-place-hero{height:clamp(480px,66vh,680px);min-height:480px}
  .re582-place-hero-title{max-width:78%}
  .re582-place-hero-title h1{font-size:clamp(44px,8.5vw,78px)!important}
}
@media(max-width:640px){
  .re582-municipality-detail{width:calc(100% - 24px)!important}
  .re582-place-hero{height:clamp(430px,68svh,590px);min-height:430px;border-radius:22px}
  .re582-place-hero-title{left:20px;right:20px;bottom:72px;max-width:none}
  .re582-place-hero-title h1{font-size:clamp(38px,12vw,58px)!important}
  .re582-place-hero>.re582-place-reference{right:16px;bottom:16px;max-width:72%;font-size:9px}
  .re582-place-card-title{left:18px;bottom:56px;max-width:82%}
  .re582-place-card-title h3{font-size:29px!important}
  .re582-place-card .re582-place-reference{right:14px;bottom:14px;max-width:72%}
}

/* García Cando Real Estate · R5.83 · hero full-bleed + controles de reproducción */
body.re-resource-detail.gc410-page{background:#070a0b}
body.re-resource-detail.gc410-page > header{
  position:absolute!important;top:0;left:50%;transform:translateX(-50%);z-index:40;
  width:calc(100% - 36px);max-width:1540px;margin:18px auto 0!important;
  background:rgba(12,17,18,.42)!important;border-color:rgba(255,255,255,.16)!important;
  backdrop-filter:blur(24px) saturate(1.15);-webkit-backdrop-filter:blur(24px) saturate(1.15);
  box-shadow:0 16px 50px rgba(0,0,0,.16)
}
body.re-resource-detail.gc410-page #reMain{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.re-resource-detail .re582-municipality-detail{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.re-resource-detail .re582-place-hero{
  width:100%!important;height:min(88svh,980px)!important;min-height:680px!important;
  border:0!important;border-radius:0 0 34px 34px!important;box-shadow:none!important;
}
body.re-resource-detail .re582-place-hero-title{left:clamp(28px,5.4vw,92px);bottom:clamp(42px,6vw,88px);max-width:min(74%,1100px)}
body.re-resource-detail .re582-place-hero>.re582-place-reference{right:clamp(28px,4vw,68px);bottom:clamp(30px,4vw,58px);max-width:min(35%,560px)}
body.re-resource-detail .re582-municipality-detail .re-municipality-copy{max-width:1120px!important;margin:46px auto 0!important;padding:0 24px}

.re583-media-controls{position:absolute;z-index:8;top:116px;right:clamp(24px,4vw,64px);display:flex;align-items:center;gap:8px}
.re583-media-controls button,.re583-media-controls select{min-height:38px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(8,12,13,.38);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);color:#fff!important;-webkit-text-fill-color:#fff!important;font:600 10px/1 Jost,sans-serif;letter-spacing:.04em}
.re583-media-controls button{display:inline-flex;align-items:center;gap:7px;padding:0 13px;cursor:pointer}
.re583-media-controls button span{font-size:14px;line-height:1}
.re583-media-controls button b{font:inherit}
.re583-quality{display:flex;align-items:center;gap:7px;padding-left:11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(8,12,13,.38);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);color:#fff;font:600 9px/1 Jost,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.re583-quality select{border:0!important;background:transparent!important;padding:0 28px 0 2px;min-width:86px;outline:none}
.re583-quality select:disabled{opacity:.74;cursor:default}
.re583-quality option{color:#111;background:#fff}
.re583-audio[aria-pressed="true"]{background:rgba(238,242,241,.94)!important;color:#111!important;-webkit-text-fill-color:#111!important}

@media(max-width:760px){
 body.re-resource-detail.gc410-page > header{width:calc(100% - 20px);margin-top:10px!important}
 body.re-resource-detail .re582-place-hero{height:78svh!important;min-height:560px!important;border-radius:0 0 24px 24px!important}
 body.re-resource-detail .re582-place-hero-title{left:20px;right:20px;bottom:84px;max-width:none}
 body.re-resource-detail .re582-place-hero>.re582-place-reference{right:16px;bottom:18px;max-width:72%}
 .re583-media-controls{top:100px;right:14px;gap:6px}
 .re583-media-controls button b,.re583-quality>span{display:none}
 .re583-media-controls button{width:40px;padding:0;justify-content:center}
 .re583-quality{padding-left:4px}
 .re583-quality select{min-width:78px}
}
