/* The shared layout owns the masthead, navigation and footer. */
.bp-page { margin:0; color:#26364a; background:white; font:16px/1.5 Arial,Helvetica,sans-serif; }
.bp-main { max-width:1200px; width:calc(100% - 40px); margin:0 auto 32px; }
.bp-main *, .bp-main *::before, .bp-main *::after { box-sizing:border-box; }
.bp-main h1, .bp-main h2 { color:#24364c; text-align:left; text-wrap:pretty; }
.bp-main h1 { font-size:clamp(30px,3.2vw,46px); letter-spacing:-.035em; line-height:1.09; margin:20px 0 14px; }
.bp-main h2 { font-size:clamp(20px,1.65vw,25px); line-height:1.17; letter-spacing:-.025em; margin:0 0 8px; }
.bp-main p { margin:0 0 12px; }
.bp-main a { color:#345674; text-underline-offset:3px; }
.bp-main a:hover { color:#173853; }
.bp-main h1 a, .bp-main h2 a { color:inherit; text-decoration:none; }
.bp-main h1 a:hover, .bp-main h2 a:hover { text-decoration:underline; }
.bp-main :focus-visible { outline:3px solid #265e89; outline-offset:3px; }
.bp-main img { display:block; max-width:100%; height:auto; }
.bp-skip { position:absolute; left:12px; top:-120px; z-index:11000; padding:8px 14px; background:white; color:#25384f; }
.bp-skip:focus { top:8px; }
.bp-grid, .bp-print-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; }
.bp-sample, .bp-web-item { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1fr); gap:16px; align-items:start; border-top:1px solid #cbd5df; padding:16px 0; }
.bp-sheets, .bp-web-map { margin:0; min-width:0; }
.bp-sheets a, .bp-web-map a { display:block; }
.bp-sheets img, .bp-web-map img { width:100%; border:1px solid #c5d0da; border-radius:3px; }
.bp-sheets a:hover img, .bp-web-map a:hover img { border-color:#6a849b; }
.bp-copy { min-width:0; }
.bp-main .bp-download { display:inline-flex; align-items:baseline; flex-wrap:wrap; column-gap:8px; row-gap:4px; text-decoration:none; }
.bp-download .moreAboutText { font-weight:600; text-decoration:underline; }
.bp-download .mapcolourtool { border:1px solid #b9c8d1; border-radius:3px; padding:2px 7px; color:#344e65; font-size:13px; line-height:1.5; }
.bp-web figcaption { color:#526477; margin:5px 0 0; font-size:14px; }
.bp-web .bp-copy>a { font-weight:600; }
.bp-guides>p { max-width:92ch; }
.bp-guides .bp-grid { grid-template-columns:1fr; }
.bp-guides .bp-sample { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
.bp-guides .bp-sheets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.bp-print-product { min-width:0; border-top:1px solid #cbd5df; padding:16px 0 8px; display:flow-root; }
.bp-print-product>img { width:clamp(112px,38%,215px); float:right; margin:0 0 8px 12px; }
.bp-print-product table { width:auto; min-width:56%; border-collapse:collapse; font-size:15px; line-height:1.35; }
.bp-print-product table+table { margin-top:10px; }
.bp-print-product td, .bp-print-product th { padding:3px 6px; text-align:left; border-bottom:1px solid #d5dee5; }
.bp-print-product th { background:#edf2f5; }
.bp-print-product tr:has(>td:only-child>strong) td { padding-top:8px; }
.bp-print-product .home-section-text { clear:both; }
.bp-print-product .home-section-text:has(table) { clear:none; }
.bp-print-grid>.rows, .bp-print-grid>.callToday { grid-column:1/-1; }
.bp-print-grid>.rows { padding:12px 16px; margin-top:8px; background:#f0f4f6; border-block:1px solid #d4dde4; }
#buttonsSpaced { display:flex; flex-wrap:wrap; gap:4px 16px; }
#fullyTest { flex-basis:100%; }
.bp-print-grid>.callToday { padding:9px 0; }
.bp-print-grid>.callToday p { margin:0; }
/* Keep the established galleries, search and forms within the section's measure. */
.cm-page .cm-wrap { max-width:1200px; width:calc(100% - 40px); margin:16px auto 28px; }
.cm-wrap .cm-hero { border-radius:3px; box-shadow:none; }
.cm-wrap .cm-hero-copy { padding:clamp(18px,2vw,28px); }
.cm-wrap .cm-hero h1 { font-size:clamp(34px,3.2vw,46px); }
.cm-wrap .cm-section { padding-block:clamp(20px,2.3vw,30px); }
.hpm { --ink:#26364a; --muted:#495b6b; --paper:#fff; --line:#d4dde3; }
.hpm .hpm-width { width:calc(100% - 40px); max-width:1200px; }
.hpm .hpm-hero, .hpm .hpm-second { padding-block:18px 24px; }
.hpm .hpm-hero-copy { padding-top:12px; }
.hpm h1 { font-size:clamp(34px,3.2vw,46px); }
.hpm h2 { font-size:clamp(22px,2.35vw,32px); }
.hpm .hpm-faq, .hpm .hpm-start { padding-block:24px; }
@media(max-width:950px) {
  .bp-grid { grid-template-columns:1fr; }
  .bp-sample, .bp-web-item { grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); }
  .bp-print-grid { grid-template-columns:1fr; }
  .bp-print-product table { min-width:55%; }
}
@media(max-width:640px) {
  .bp-main, .hpm .hpm-width, .cm-page .cm-wrap { width:calc(100% - 28px); }
  .bp-main { margin-bottom:16px; }
  .bp-main h1 { margin:16px 0 10px; }
  .bp-sample, .bp-web-item, .bp-guides .bp-sample { grid-template-columns:1fr; gap:10px; padding-block:14px; }
  .bp-copy { grid-column:1; grid-row:1; }
  .bp-sheets, .bp-web-map { grid-column:1; grid-row:2; width:100%; max-width:340px; justify-self:start; }
  .bp-guides .bp-sheets { max-width:none; }
  .bp-print-product>img { width:30%; }
  .hpm .hpm-hero-copy { padding-top:0; }
}
@media(max-width:400px) {
  .bp-print-product>img { float:none; width:44%; margin:0 0 10px; }
  .bp-print-product table { width:100%; }
}
.bp-web-map a { cursor:zoom-in; }
.bp-map-viewer { position:fixed; inset:0; margin:auto; padding:0; border:0; width:fit-content; height:fit-content; max-width:100vw; max-height:100dvh; overflow:hidden; background:#fff; }
.bp-map-viewer::backdrop { background:rgb(15 25 39 / 82%); }
.bp-map-viewer img { display:block; width:auto; height:auto; max-width:calc(100vw - 8px); max-height:calc(100vh - 8px); max-height:calc(100dvh - 8px); }
.bp-map-viewer button { position:absolute; top:5px; right:5px; width:40px; height:40px; padding:0; border:1px solid white; border-radius:50%; background:#23354a; color:white; font:29px/1 Arial,sans-serif; cursor:pointer; }
.bp-map-viewer button:focus-visible { outline:3px solid #ffce66; outline-offset:1px; }
html:has(.bp-map-viewer[open]) { overflow:hidden; }
