/* Scoped content improvements; preserve the wider Harwood spacing system. */
.hw-financing-content>.section:first-child{padding-top:12px}
.hw-financing-content .split{align-items:start;gap:clamp(28px,5vw,64px)}
.hw-financing-content .prose h2{margin-top:28px}
.hw-financing-content .prose h2:first-child{margin-top:0}
.hw-financing-content .prose p{margin-bottom:16px}
.hw-financing-content .prose p:last-child{margin-bottom:0}
.hw-financing-content .planning-card{padding:clamp(24px,3vw,40px)}
.hw-managed-team{align-items:start}
.hw-managed-team .team-card{min-width:0;overflow-wrap:anywhere}
.hw-project-more{margin-top:24px}
.hw-project-story{max-width:920px}
.hw-project-cover{display:block;max-height:480px;width:auto;margin:0 auto 24px;object-fit:contain}
.hw-project-story>.wp-block-gallery{gap:16px}
.hw-project-story>.wp-block-gallery figure{margin:0}
.hw-gallery-viewer{margin:32px 0;min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}
.hw-gallery-viewer .hw-gallery-enhanced{display:block!important;margin:0!important}
.hw-gallery-viewer .hw-gallery-enhanced>figure.wp-block-image{display:block!important;width:100%!important;flex:none!important;margin:0!important}
.hw-gallery-viewer .hw-gallery-enhanced>figure[hidden]{display:none!important}
.hw-gallery-viewer .hw-gallery-enhanced>figure img{display:block;width:100%!important;height:clamp(240px,48vw,480px)!important;object-fit:contain!important;background:var(--mist);margin:0}
.hw-gallery-viewer .hw-gallery-enhanced>figure a{display:block}
.hw-gallery-viewer .hw-gallery-enhanced>figure figcaption{position:static!important;max-height:none!important;box-sizing:border-box;background:white!important;color:var(--muted)!important;font-size:14px;padding:14px 20px;margin:0;width:100%}
.hw-gallery-viewer .hw-gallery-enhanced>.blocks-gallery-caption{padding:12px 20px}
.hw-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}
.hw-gallery-controls button{min-height:44px;padding:8px 12px;border:1px solid var(--royal);border-radius:4px;background:white;color:var(--royal);font-weight:700;font-size:14px}
.hw-gallery-controls button:hover{background:var(--mist)}
.hw-gallery-controls span{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.hw-gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:4px 16px 16px;scrollbar-width:thin}
.hw-gallery-thumbnails button{flex:0 0 72px;width:72px;min-height:72px;border:2px solid transparent;border-radius:4px;background:var(--mist);padding:2px}
.hw-gallery-thumbnails button[aria-current]{border-color:var(--royal)}
.hw-gallery-thumbnails img{width:64px;height:64px;object-fit:cover;border-radius:2px}
@media(max-width:480px){.hw-gallery-controls{padding:10px 8px}.hw-gallery-controls button{padding:8px;font-size:12px}}

.hw-project-section{padding-top:12px}

.hw-financing-layout .split>.wp-block-group{margin-block-start:0}

/* Live-content refinement: consistent portraits without stretching smaller originals. */
.hw-managed-team{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.hw-managed-team .hw-team-photo{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:#e8edf5;overflow:hidden;border-radius:5px}
.hw-managed-team .hw-team-photo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;aspect-ratio:auto;margin:0}
.hw-managed-team .hw-team-photo img.adam-finished-portrait{object-fit:contain}
.hw-managed-team .small-portrait .hw-team-photo img{width:auto;height:auto;object-fit:contain;max-width:100%;max-height:100%}
.hw-managed-team .team-card h3{margin:16px 0 6px}
.hw-photo-album .photo-album-grid figure{display:flex;flex-direction:column;align-items:center;gap:12px}
.hw-photo-album .photo-album-grid img{width:100%;height:230px;max-width:275px;object-fit:contain;background:var(--mist);border-radius:5px}
.hw-photo-album .photo-album-grid figcaption{margin:0;max-width:280px}
.hw-finance-partner{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:center;gap:40px;padding:32px;background:var(--mist);border-radius:6px;margin:0 0 40px!important}
.hw-finance-partner .wp-block-group{margin-block-start:0}
.hw-finance-partner h2{font-size:clamp(25px,2.5vw,34px);margin-bottom:16px}
.hw-finance-partner p{margin-bottom:0}
.hw-finance-logo{margin:0!important}
.hw-finance-logo img{display:block;width:100%;max-width:240px;height:auto}
.hw-financing-layout>.split{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.hw-finance-apply{border-top:4px solid var(--royal);border-radius:4px}
.hw-finance-apply h3{font-size:24px;line-height:1.2}
.hw-finance-apply .button{width:100%;white-space:normal;gap:10px}
.hw-finance-apply .hw-finance-note{font-size:12px;margin-top:12px;color:var(--muted)}
.hw-finance-qr{margin:20px auto 28px!important;max-width:200px;padding:8px;background:white;border:1px solid var(--line);border-radius:4px}
.hw-finance-qr img{display:block;width:100%;height:auto}
.hw-brand-panel{background:var(--mist);padding:24px;border-left:3px solid var(--blue);border-radius:4px;margin:0 0 32px}
.prose .hw-brand-panel h2{font-size:24px;margin-top:0;margin-bottom:16px}
.hw-brand-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px!important}
.hw-brand-links a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:4px;background:white;font-size:14px;font-weight:700;text-decoration:none;line-height:1.5}
.hw-brand-links a:hover{border-color:var(--royal)}
.prose .hw-brand-note{font-size:12px;margin:0;color:var(--muted)}
.hw-dealer-mark{max-width:360px;margin:0 0 28px!important}
.hw-dealer-mark img{display:block;width:100%;height:auto}
@media(max-width:1000px){.hw-managed-team{grid-template-columns:repeat(3,minmax(0,1fr))}.hw-finance-partner{grid-template-columns:180px minmax(0,1fr);gap:24px}}
@media(max-width:780px){.hw-managed-team{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-finance-partner{grid-template-columns:minmax(0,1fr);padding:24px}.hw-finance-logo img{max-width:210px}.hw-financing-layout>.split{grid-template-columns:minmax(0,1fr)}.hw-finance-partner{margin-bottom:28px!important}}
@media(max-width:480px){.hw-managed-team{grid-template-columns:minmax(0,1fr);max-width:300px;margin-inline:auto}.hw-brand-panel{padding:20px}.hw-brand-links{display:grid}.hw-brand-links a{justify-content:space-between}.hw-finance-apply .button{font-size:12px}.hw-photo-album .photo-album-grid img{height:230px}}
