/* CalgaryListings Group — canonical site footer.
   Scoped to .clg-footer so it beats the per-page `footer{...}` rules that made
   the blog render charcoal while the rest of the site rendered brand teal.
   Colours and fonts are literals, not var(--ink)/var(--green), so the footer
   looks identical on every page regardless of what that page defines. */

.clg-footer{background:#0B3D47;font-family:'DM Sans',system-ui,sans-serif;margin-top:0}
.clg-footer *{box-sizing:border-box}

/* CTA band */
.clg-footer .foot-cta{padding:2.5rem 6rem;border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
  background:linear-gradient(135deg,#0B3D47,#106070)}
.clg-footer .foot-cta-text h3{font-family:'Playfair Display',Georgia,serif;font-size:1.55rem;
  color:#fff;font-weight:700;margin:0 0 .25rem;line-height:1.25}
.clg-footer .foot-cta-text h3 em{font-style:italic;color:#6ABA5A}
.clg-footer .foot-cta-text p{font-size:.925rem;color:rgba(255,255,255,.72);font-weight:400;margin:0}
.clg-footer .foot-cta-btns{display:flex;gap:.75rem;flex-shrink:0;flex-wrap:wrap}
.clg-footer .foot-btn-g{background:#6ABA5A;color:#012F38;padding:.75rem 1.5rem;font-size:.85rem;
  font-weight:500;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;
  display:inline-block;border-radius:2px;transition:background .2s;white-space:nowrap;
  border-top:3px solid #6ABA5A}
.clg-footer .foot-btn-g:hover{background:#5aa84a}

/* link columns */
.clg-footer .foot-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:2.5rem;
  padding:3rem 6rem 2.5rem}
.clg-footer .foot-brand img{height:50px;width:auto;display:block;margin-bottom:.55rem;opacity:.9}
/* brokerage line sits tight under the logo, reading as part of the lockup */
.clg-footer .foot-brokerage{font-size:.8rem;color:rgba(255,255,255,.6);font-weight:400;
  letter-spacing:.04em;margin:0 0 1rem}
.clg-footer .foot-brand p{font-size:.875rem;color:rgba(255,255,255,.68);line-height:1.75;
  font-weight:400;max-width:250px;margin:0 0 1rem}
.clg-footer .foot-phone{font-size:1rem;color:rgba(255,255,255,.92);text-decoration:none;
  font-weight:500;letter-spacing:.02em;transition:color .2s}
.clg-footer .foot-phone:hover{color:#6ABA5A}
.clg-footer .foot-col h4{font-family:'Playfair Display',Georgia,serif;font-size:.95rem;
  color:rgba(255,255,255,.95);margin:0 0 1.1rem;font-weight:600;letter-spacing:.01em}
.clg-footer .foot-col ul{list-style:none;display:flex;flex-direction:column;gap:.5rem;
  margin:0;padding:0}
.clg-footer .foot-col ul a{font-size:.875rem;color:rgba(255,255,255,.75);text-decoration:none;
  transition:color .2s}
.clg-footer .foot-col ul a:hover{color:#6ABA5A}

/* bottom bar */
.clg-footer .foot-bottom{padding:1.25rem 6rem;border-top:1px solid rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.clg-footer .foot-copy{font-size:.8rem;color:rgba(255,255,255,.62)}
.clg-footer .foot-social{display:flex;gap:.6rem}
.clg-footer .foot-social a{width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;
  text-decoration:none;transition:border-color .2s}
.clg-footer .foot-social a:hover{border-color:#6ABA5A}
.clg-footer .foot-social svg{width:15px;height:15px;fill:rgba(255,255,255,.7);
  transition:fill .2s}
.clg-footer .foot-social a:hover svg{fill:#6ABA5A}
.clg-footer .foot-legal{display:flex;gap:1.25rem;flex-wrap:wrap}
.clg-footer .foot-legal a{font-size:.8rem;color:rgba(255,255,255,.62);text-decoration:none;
  transition:color .2s}
.clg-footer .foot-legal a:hover{color:#6ABA5A}

@media (max-width:1180px){
  /* Five sections in three columns wrapped 3+2 and left a hole beside the last
     one. Below the full-width layout the brand takes its own row and the four
     link columns sit evenly under it. */
  .clg-footer .foot-top{grid-template-columns:repeat(4,1fr);gap:2rem}
  .clg-footer .foot-brand{grid-column:1/-1;max-width:none}
  .clg-footer .foot-brand p{max-width:52ch}
  .clg-footer .foot-cta,.clg-footer .foot-top,.clg-footer .foot-bottom{
    padding-left:3rem;padding-right:3rem}
}
@media (max-width:760px){
  .clg-footer .foot-top{grid-template-columns:1fr 1fr;gap:1.75rem}
  .clg-footer .foot-brand{grid-column:1/-1}
  .clg-footer .foot-cta{flex-direction:column;align-items:flex-start}
  .clg-footer .foot-bottom{flex-direction:column;align-items:flex-start;gap:.85rem}
  .clg-footer .foot-cta,.clg-footer .foot-top,.clg-footer .foot-bottom{
    padding-left:1.5rem;padding-right:1.5rem}
}
@media (max-width:460px){
  .clg-footer .foot-top{grid-template-columns:1fr}
  .clg-footer .foot-btn-g{width:100%;text-align:center}
}

/* The newsletter signup band sits directly above the footer and was painted
   var(--ink) — #1a1a1a on the 224 blog pages — so the bottom of every article
   went black, then teal. Pulled into the footer palette so the page ends as one
   block. `body` prefix outranks the page's own .newsletter rule regardless of
   stylesheet order. */
body .newsletter{background:#0B3D47;border-top:2px solid #6ABA5A}
