.jb-seo-guide,.jb-seo-directory,.jb-seo-area{padding:64px 0;color:#202320;background:#f6f5f0}
.jb-seo-directory{background:#fff}
.jb-seo-guide p,.jb-seo-directory p,.jb-seo-area p{font-size:17px;line-height:1.75;margin:0 0 20px;color:#4b514d}
.jb-seo-guide h2,.jb-seo-directory h2,.jb-seo-area h2{font-size:clamp(27px,3vw,38px);line-height:1.2;margin:0 0 24px}
.jb-seo-guide h3{font-size:23px;line-height:1.3;margin:28px 0 16px}
.jb-seo-guide a,.jb-seo-area a{color:#202320;text-decoration:underline;text-underline-offset:4px;font-weight:600}
.jb-guide-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:48px;align-items:start}
.jb-seo-guide .jb-seo-label,.jb-seo-directory .jb-seo-label{text-transform:uppercase;letter-spacing:1.8px;font-size:12px;font-weight:700}
.jb-work-evidence{background:#fff;padding:24px;border-top:5px solid #ffee02;border-radius:6px}
.jb-work-evidence img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;background:#e9e9e2}
.jb-related-services{padding-left:20px}.jb-related-services li{margin:10px 0}
.jb-service-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:28px 0 0}
.jb-service-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;height:100%;padding:20px;background:#202320;border-bottom:4px solid #ffee02;border-radius:4px;color:#fff;font-weight:600;line-height:1.4;text-decoration:none}
.jb-service-links a:hover{background:#3b423d}.jb-service-links span{color:#ffee02;font-size:22px}
.jb-enquiry-strip{display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center;margin-top:40px;border-top:1px solid #ccc;padding-top:24px}
.jb-enquiry-strip h3{margin-top:0}.jb-enquiry-strip p{margin-bottom:0}
.jb-seo-guide a.jb-seo-button{display:inline-block;padding:16px 24px;border-radius:4px;background:#ffee02;color:#111;text-decoration:none;white-space:nowrap}
.jb-seo-area .container{max-width:1000px}
.jb-seo-guide a:focus-visible,.jb-service-links a:focus-visible,.jb-seo-area a:focus-visible{outline:3px solid #1674b8;outline-offset:5px}
@media(max-width:991px){.jb-service-links{grid-template-columns:repeat(2,minmax(0,1fr))}.jb-guide-layout{gap:24px}.jb-enquiry-strip{grid-template-columns:1fr;gap:20px}.jb-seo-button{justify-self:start}}
@media(max-width:767px){.jb-guide-layout{grid-template-columns:1fr}.jb-seo-guide,.jb-seo-directory,.jb-seo-area{padding:40px 0}.jb-work-evidence{padding:20px}.jb-service-links{gap:12px}.jb-service-links a{padding:16px;font-size:15px}}
@media(max-width:380px){.jb-service-links{grid-template-columns:1fr}}

/* Keep the theme control square regardless of intrinsic image attributes. */
.header-style-one .theme-color{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;margin:0 24px;border:1px solid #aeb8ae;border-radius:50%;background:#202320;cursor:pointer;line-height:1;appearance:none}
.header-style-one .theme-color img#theme-icon{display:block;flex:none;width:28px;height:28px;min-width:28px;max-width:28px;margin:0;object-fit:contain}
.header-style-one .theme-color:hover{background:#394139}
.header-style-one .theme-color:focus-visible{outline:3px solid #ffee02;outline-offset:4px}
@media(max-width:767px){.header-style-one .theme-color{margin:0 12px}}

/* The legacy theme applies white H2 text in dark mode; give every new section
   a matching surface and explicitly pair foreground/background colours. */
body.light-d .jb-projects,
body.light-d .jb-seo-guide,
body.light-d .jb-seo-directory,
body.light-d .jb-seo-area{background:#171c18;color:#f4f6f1}
body.light-d .jb-work-evidence{background:#252d26;color:#f4f6f1}
body.light-d .jb-projects h2,
body.light-d .jb-projects h3,
body.light-d .jb-seo-guide h2,
body.light-d .jb-seo-guide h3,
body.light-d .jb-seo-directory h2,
body.light-d .jb-seo-area h2{color:#f4f6f1}
body.light-d .jb-projects p,
body.light-d .jb-seo-guide p,
body.light-d .jb-seo-directory p,
body.light-d .jb-seo-area p{color:#d1d9cf}
body.light-d .jb-projects .jb-eyebrow{color:#d1d9cf}
body.light-d .jb-projects .jb-feature-copy .jb-eyebrow{color:#ffee02}
body.light-d .jb-gallery-link,
body.light-d .jb-seo-guide a,
body.light-d .jb-seo-area a{color:#ffee02}
body.light-d .jb-seo-guide a.jb-seo-button{color:#111;background:#ffee02}
body.light-d .jb-projects .jb-button{color:#111;background:#ffee02}
body.light-d .jb-projects .jb-button:hover{color:#111;background:#fff}
body.light-d .jb-projects figcaption{color:#f4f6f1}
body.light-d .jb-section-heading,
body.light-d .jb-enquiry-strip{border-color:#59665a}
body.light-d .jb-photo a,
body.light-d .jb-work-evidence img{background:#303a31}
body.light-d .jb-projects a:focus-visible,
body.light-d .jb-projects button:focus-visible,
body.light-d .jb-seo-guide a:focus-visible,
body.light-d .jb-service-links a:focus-visible,
body.light-d .jb-seo-area a:focus-visible{outline-color:#ffee02}
