/* Homepage links, credential badge and responsive logo alignment. */
.erc-home .standards{background:#000;color:#fff}
.erc-home .standards>.wrap{display:block}
.erc-home .standards h2{white-space:normal;margin:0 0 30px;line-height:1.25}
.erc-home .standards .marks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 36px;align-items:center}
.erc-home .standards .standard-link{display:flex;align-items:center;justify-content:center;min-width:0;height:140px;padding:12px;border-radius:12px;background:#000}
.erc-home .standards .standard-link img{display:block;width:auto;max-width:100%;height:auto;max-height:112px;object-fit:contain;margin:0}
.erc-home .standards .standard-link:hover{outline:1px solid #b5a26b}
.erc-home a:focus-visible{outline:3px solid #a7852e;outline-offset:5px;border-radius:6px}
.erc-home .badges .rro-link{display:inline-flex;background:transparent;border-radius:8px}
.erc-home .badges .rro-link img{display:block;width:125px;height:auto;mix-blend-mode:multiply}
.erc-home .consultant-grid{align-items:start}
.erc-home .hero-roof>a,.erc-home .property-photo-link{display:block}
.erc-home .property-photo-link img{display:block}
.erc-home .property-column .property-support{margin-top:38px}
.erc-home #google-reviews .wrap{padding-bottom:30px}
.erc-home #bbb-profile-button{margin-left:18px!important}
.erc-home .standards .standard-link:focus-visible{outline-color:#e3c46d}
@media(max-width:760px){
.erc-home .standards .marks{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
.erc-home .standards .standard-link{height:120px;padding:8px}
.erc-home .standards .standard-link img{max-height:100px}
.erc-home #bbb-profile-button{margin-left:0!important;display:table!important}
}
@media(max-width:360px){.erc-home .standards .standard-link{height:100px}.erc-home .standards .standard-link img{max-height:80px}}

/* ERC alignment cleanup: shared rows prevent captions shifting the second photo. */
@supports (grid-template-rows:subgrid){
 @media(min-width:761px){
  .erc-home .property-columns{row-gap:0}
  .erc-home .property-column{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
  .erc-home .property-column>.button{justify-self:start;align-self:start}
 }
}
