/* JCZ photo variety: preserve complete scenes and readable responsive cards. */
html.jcz-sitewide .jcz-photo-panel {align-self:start}
html.jcz-sitewide .jcz-photo-panel img,
html.jcz-sitewide .jcz-home-visual>picture img,
html.jcz-sitewide .jcz-task-photo img,
html.jcz-sitewide .jcz-guide-thumb img,
html.jcz-sitewide .photo-story-band .photo-story-media img {height:auto;aspect-ratio:auto;object-fit:contain;max-width:100%}
html.jcz-sitewide .jcz-guide-thumb {max-width:none;width:100%}
html.jcz-sitewide .jcz-guide-thumb img {width:100%}
/* Legacy gold-button styles inherited the new red text token: restore contrast. */
html.jcz-sitewide .guide-directory-card>a {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;background:#b5000d!important;color:#fff!important;border-radius:6px;line-height:1.4;box-shadow:none}
html.jcz-sitewide .guide-directory-card>a>span {color:#fff!important}
html.jcz-sitewide .guide-directory-card>a:hover {background:#8f000a!important;color:#fff!important}
html.jcz-sitewide .help-metrics>span>strong {display:block;margin-bottom:4px;line-height:1.4}
html.jcz-sitewide .guide-proof-band :is(.eyebrow,h2) {color:#fff!important}
html.jcz-sitewide .guide-proof-item>strong {display:block;margin-bottom:6px;line-height:1.3}
html.jcz-sitewide .guide-proof-item>span {display:block}
html.jcz-sitewide .jcz-education-topics {display:flex;flex-wrap:wrap;gap:10px;max-width:1180px;margin:24px auto;padding:0 24px}
html.jcz-sitewide .jcz-education-topics a {display:inline-flex;align-items:center;min-height:44px;border:1px solid #b7b7b7;border-radius:4px;padding:8px 14px;color:#282828;background:#fff;font-size:16px;line-height:1.4;text-decoration:none}
html.jcz-sitewide .jcz-education-topics a:hover {border-color:#b5000d;color:#b5000d}
html.jcz-sitewide .jcz-education-topics a:focus-visible {outline:3px solid #b5000d;outline-offset:3px}
html.jcz-sitewide #start-here,html.jcz-sitewide #first-home,html.jcz-sitewide #self-employed,html.jcz-sitewide #bank-said-no,html.jcz-sitewide #refinance,html.jcz-sitewide #structures,html.jcz-sitewide #professions,html.jcz-sitewide #more-situations {scroll-margin-top:110px}
@media(max-width:759px){
 html.jcz-sitewide .jcz-home-visual {display:block}
 html.jcz-sitewide .jcz-home-visual>picture {height:auto;aspect-ratio:auto}
 html.jcz-sitewide .jcz-home-visual>picture img {height:auto;aspect-ratio:auto;object-fit:contain}
 html.jcz-sitewide .jcz-home-identity {display:flex;gap:16px;align-items:center;margin:14px 0}
 html.jcz-sitewide .jcz-home-identity .jcz-home-portrait {margin:0;width:80px;height:80px}
 html.jcz-sitewide .jcz-home-identity span {display:block}
 html.jcz-sitewide .jcz-home-identity strong {font-size:18px}
 html.jcz-sitewide .jcz-education-topics {padding:0 20px;margin-block:20px}
}

/* 2026-11-22: keep guide-card actions aligned despite different copy lengths. */
html.jcz-sitewide .guide-directory-card {display:flex;flex-direction:column;min-width:0;}
html.jcz-sitewide .guide-directory-card > a {margin-top:auto;align-self:stretch;width:100%;box-sizing:border-box;min-height:48px;text-align:center;}
html.jcz-sitewide .guide-directory-card > p:last-of-type {margin-bottom:24px;}
html.jcz-sitewide .guide-directory-card > a + a {margin-top:12px;}
