/** Raíces Light 2.30: requested page-only polishing, keeping existing layouts. */
/* Contact: one-third-viewport hero, full-bleed, with a readable overlay and the photo on the right. */
body .rl227-contact-page .rl-contact-hero{
  height:clamp(245px,33vh,325px)!important;
  min-height:0!important;
  max-height:325px!important;
  display:flex!important;
  align-items:center!important;
  padding:0!important;
  overflow:hidden;
}
body .rl227-contact-page .rl-contact-hero .rl-contact-hero-inner{
  width:min(1180px,calc(100% - 38px));
  margin-inline:auto;
  padding:27px 0!important;
  align-self:center;
}
body .rl227-contact-page .rl-contact-hero h1{
  font-size:clamp(40px,4vw,57px)!important;
  line-height:1.03!important;
  margin:10px 0 10px!important;
}
body .rl227-contact-page .rl-contact-hero p{
  font-size:clamp(14px,1.25vw,17px)!important;
  max-width:600px!important;
  line-height:1.55!important;
  margin:0!important;
}
body .rl227-contact-page .rl-contact-hero .rl229-contact-hero-visual{
  width:47%!important;height:100%!important;
  object-fit:cover!important;object-position:center 45%!important;
}
/* Job Board: matching editorial hero depth, rather than a full-height banner. */
body.post-type-archive-raices_job .rl-page-hero{
  min-height:245px!important;
  max-height:none!important;
  padding:32px 0 35px!important;
  display:flex;
  align-items:center;
  background:#f7f9f3;
}
body.post-type-archive-raices_job .rl-page-hero .rl-wrap{width:min(1180px,calc(100% - 38px));margin:auto}
body.post-type-archive-raices_job .rl-page-hero h1{
  font-size:clamp(34px,3.9vw,54px)!important;
  max-width:1010px;
  line-height:1.07!important;
  margin:9px 0 10px!important;
}
body.post-type-archive-raices_job .rl-page-hero p{
  font-size:15px!important;
  line-height:1.6!important;
  max-width:960px;
  margin:0!important;
  color:#344e41!important;
}
body.post-type-archive-raices_job .rl-page-hero::before{opacity:.11}
/* Footer link typography: column headings remain prominent, links should not be bold. */
.rl-footer .rl-footer-main nav a,
.rl-footer .rl-footer-main nav>a{
  font-weight:400!important;
  font-size:14px;
  letter-spacing:0;
  line-height:1.65!important;
  transition:color .2s ease;
}
.rl-footer .rl-footer-main nav a:hover{color:var(--rl-orange)!important;text-decoration:underline;text-underline-offset:3px}
/* Job Board action buttons: distinguish open-dialog from outbound report action. */
.rl229-policy-buttons{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:12px!important;margin:17px 0 22px!important}
.rl229-policy-buttons [data-rl229-policy-open]{cursor:pointer;appearance:none;white-space:normal;text-align:center;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.rl229-policy-buttons [data-rl229-policy-open]:hover{transform:translateY(-2px);border-color:#4f8369;box-shadow:0 8px 24px rgba(21,66,46,.13)}
.rl229-policy-buttons [data-rl229-policy-open]:focus-visible{outline:3px solid #367bd5;outline-offset:3px}
.rl229-policy-dialog{max-width:720px}
.rl229-policy-footer button:not(:disabled){cursor:pointer}
/* Mobile: avoid the hero becoming too shallow for text or chopping photos/faces. */
@media(max-width:780px){
 body .rl227-contact-page .rl-contact-hero{height:auto!important;min-height:268px!important;max-height:none!important}
 body .rl227-contact-page .rl-contact-hero .rl229-contact-hero-visual{width:100%!important;opacity:.26!important;object-position:center 42%!important}
 body .rl227-contact-page .rl-contact-hero .rl-contact-hero-overlay{background:rgba(24,59,43,.83)!important}
 body .rl227-contact-page .rl-contact-hero .rl-contact-hero-inner{padding:35px 0!important}
 body .rl227-contact-page .rl-contact-hero h1{font-size:clamp(35px,8vw,49px)!important}
 body.post-type-archive-raices_job .rl-page-hero{min-height:0!important;padding:34px 0 30px!important}
 body.post-type-archive-raices_job .rl-page-hero h1{font-size:clamp(32px,7vw,44px)!important}
}
@media(prefers-reduced-motion:reduce){.rl229-policy-buttons [data-rl229-policy-open],.rl-footer .rl-footer-main nav a{transition:none!important}}
