/* H&Z Projects — front-end styling (Editorial Craftsman compatible) */

/* === Project card (used by [hz_projects layout="cards"]) === */
body.hz-site .hz-projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch;}
@media (max-width:900px){body.hz-site .hz-projects-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){body.hz-site .hz-projects-grid{grid-template-columns:1fr;}}
body.hz-site .hz-project-card{text-decoration:none;color:inherit;display:flex;flex-direction:column;
  background:var(--hz-surface);border:1px solid var(--hz-border);border-radius:var(--hz-radius-card);
  overflow:hidden;height:100%;transition:transform .2s,box-shadow .2s;}
body.hz-site .hz-project-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(26,28,27,.10);}
body.hz-site .hz-project-card .hz-rw-img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;
  background:var(--hz-container-low);}
body.hz-site .hz-project-card-empty{display:flex;align-items:center;justify-content:center;color:var(--hz-muted);}

/* === Strip layout (compact, used on city + about pages) === */
body.hz-site .hz-projects-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:720px){body.hz-site .hz-projects-strip{grid-template-columns:repeat(2,1fr);}}
body.hz-site .hz-project-strip-tile{display:block;aspect-ratio:3/2;overflow:hidden;border-radius:12px;
  border:1px solid var(--hz-border);background:var(--hz-container-low);}
body.hz-site .hz-project-strip-tile img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .25s;}
body.hz-site .hz-project-strip-tile:hover img{transform:scale(1.04);}

/* === Detail page === */
body.hz-site .hz-project-detail{padding:48px 0;}
body.hz-site .hz-project-detail-inner{max-width:960px;margin:0 auto;padding:0 24px;}
body.hz-site .hz-project-meta-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px;}
body.hz-site .hz-project-meta-row .hz-pill{padding:6px 14px;border-radius:99px;font-size:13px;
  font-weight:600;background:var(--hz-surface);color:var(--hz-text);border:1px solid var(--hz-border);
  text-decoration:none;display:inline-flex;align-items:center;gap:6px;}
body.hz-site .hz-project-meta-row .hz-pill-service{background:var(--hz-primary);color:#fff;border-color:var(--hz-primary);}
body.hz-site .hz-project-meta-row .hz-pill-city{background:var(--hz-cream);}
body.hz-site .hz-project-meta-row .hz-pill-date{color:var(--hz-muted);}
body.hz-site .hz-project-meta-row a.hz-pill:hover{filter:brightness(.95);}

body.hz-site .hz-project-photos{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:32px;}
body.hz-site .hz-project-photos .hz-project-photo{margin:0;}
body.hz-site .hz-project-photos .hz-project-photo img{width:100%;border-radius:14px;display:block;
  box-shadow:0 8px 24px rgba(0,0,0,.06);}
body.hz-site .hz-project-photos .hz-project-photo-primary img{border-radius:14px;}
@media (min-width:760px){
  body.hz-site .hz-project-photos{grid-template-columns:repeat(2,1fr);}
  body.hz-site .hz-project-photos .hz-project-photo-primary{grid-column:1 / -1;}
}

body.hz-site .hz-project-description{margin:32px 0;}
body.hz-site .hz-project-cta{display:flex;gap:14px;justify-content:center;margin:36px 0 8px;flex-wrap:wrap;}

/* Related projects */
body.hz-site .hz-project-related{padding:56px 0;background:var(--hz-surface);}
body.hz-site .hz-project-related-inner{max-width:1180px;margin:0 auto;padding:0 24px;}
body.hz-site .hz-project-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:24px;}
@media (max-width:880px){body.hz-site .hz-project-related-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){body.hz-site .hz-project-related-grid{grid-template-columns:1fr;}}
body.hz-site .hz-project-related .hz-project-card{display:block;text-decoration:none;color:inherit;
  border:1px solid var(--hz-border);border-radius:var(--hz-radius-card);overflow:hidden;
  background:var(--hz-cream);}
body.hz-site .hz-project-card-thumb{aspect-ratio:3/2;background-size:cover;background-position:center;
  background-color:var(--hz-container-low);}
body.hz-site .hz-project-card-body{padding:14px 18px;}
body.hz-site .hz-project-card-body h3{font-family:var(--hz-serif);font-size:17px;margin:0 0 4px;color:var(--hz-text);}
body.hz-site .hz-project-card-city{font-size:13px;color:var(--hz-muted);margin:0;}
