/* Pages made in the CMS's page builder (3 Dec 2026). The banner, category
   tiles and pump cards use the site's own classes (site.css, catalogue.css);
   this is only the spacing between blocks and what no other page has. */
.qp-block { margin-top: 2.5rem; }
.qp-block:first-child { margin-top: 0; }
.qp-hero.qp-block + .qp-block { margin-top: 3rem; }
main > .qp-block:last-child { margin-bottom: 1rem; }

.qp-prose { max-width: 46rem; }
.qp-prose p, .qp-prose ul, .qp-prose ol { margin-bottom: 1rem; }
.qp-prose h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }

.qp-block-image { margin-bottom: 0; }
.qp-block-image img { display: block; width: 100%; height: auto; border-radius: var(--qp-radius-md); }
.qp-img-medium img { max-width: 44rem; }
.qp-img-small img { max-width: 24rem; }
.qp-block-image figcaption { margin-top: .5rem; color: #5c636a; font-size: .92rem; }

.qp-block-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.qp-block-split.qp-split-right .qp-split-img { order: 2; }
.qp-split-img img { display: block; width: 100%; height: auto; border-radius: var(--qp-radius-md); }
@media (max-width: 767.98px) {
  .qp-block-split { grid-template-columns: 1fr; gap: 1.25rem; }
  .qp-block-split.qp-split-right .qp-split-img { order: 0; }
}

.qp-cta { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
          padding: 1.75rem 2rem; border-radius: var(--qp-radius-lg); }
.qp-cta-blue { background: var(--qp-header-blue); color: #fff; }
.qp-cta-blue .h3 { color: #fff; }
.qp-cta-blue p { color: var(--qp-on-brand); }
.qp-cta-light { background: var(--qp-cta-tint); border: 1px solid var(--qp-cta-line); color: #212529; }

.qp-downloads { list-style: none; padding: 0; margin: 0; max-width: 46rem; }
.qp-downloads li { padding: .6rem 0; border-bottom: 1px solid #e9ecef; }
.qp-downloads a { font-weight: 600; }

.qp-preview-bar { background: #664d03; color: #fff; padding: .6rem 0; font-size: .95rem; }

/* A template's blocks sit inside the page's own container (4 Dec 2026). */
.qp-in-page { margin-bottom: 1.5rem; }
.qp-in-page .container { max-width: none; padding-left: 0; padding-right: 0; }
.qp-in-page .qp-block { margin-top: 0; }

/* A block's look (stage 4, 4 Dec 2026): set lists of backgrounds, widths,
   spacing and heading alignment. Every colour pair here is checked by the
   contrast audit; white words sit only on the brand blue (6.9:1) or on a
   picture under a 60% black veil. */
.qp-look { margin-top: 2.5rem; padding: 2.5rem 0; }
.qp-look:first-child { margin-top: 0; }
.qp-look > .qp-block { margin-top: 0; }
.qp-look.qp-bg-none { padding: 0; }
.qp-look.qp-sp-compact { padding: 1.25rem 0; }
.qp-look.qp-sp-roomy { padding: 4.5rem 0; }
.qp-look.qp-bg-none.qp-sp-compact { padding: 0; margin-top: 1rem; }
.qp-look.qp-bg-none.qp-sp-roomy { padding: 0 0 2rem; margin-top: 4.5rem; }
.qp-bg-light { background: var(--qp-light-bg); }
.qp-bg-brand { background: var(--qp-header-blue); color: #fff; }
.qp-bg-photo { position: relative; background-color: #1f2933; background-size: cover; background-position: center;
               color: #fff; }
.qp-bg-photo::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.qp-bg-photo > * { position: relative; }
/* White headings on the blue or a picture - but not inside the white or
   light boxes a block may hold (a light call to action, cards, tiles). */
:is(.qp-bg-brand, .qp-bg-photo) :is(h1, h2, h3, h4, .h3, .h5, .h6):not(:is(.qp-cta-light, .qp-card, .qp-type) *) { color: #fff; }
.qp-bg-light :is(.qp-prose a, .qp-column-link, .qp-downloads a) { color: var(--qp-link-light); }
.qp-bg-brand .qp-prose a, .qp-bg-photo .qp-prose a, .qp-bg-brand .qp-column-link, .qp-bg-photo .qp-column-link,
.qp-bg-brand .qp-downloads a, .qp-bg-photo .qp-downloads a { color: #fff; text-decoration: underline; }
.qp-bg-brand .text-secondary, .qp-bg-photo .text-secondary,
.qp-bg-brand figcaption, .qp-bg-photo figcaption { color: var(--qp-on-brand) !important; }
.qp-bg-brand .qp-downloads li, .qp-bg-photo .qp-downloads li { border-color: rgba(255, 255, 255, .35); }
.qp-w-narrow > .container, .qp-w-narrow > .qp-hero > .container { max-width: 50rem; }
.qp-w-full > .container, .qp-w-full > .qp-hero > .container { max-width: none; }
.qp-al-center :is(h1, h2, .h3):not(.qp-card-name):not(.qp-type-name) { text-align: center; }
.qp-al-center .qp-prose { margin-left: auto; margin-right: auto; }

/* Blocks for layout and decoration (stage 4). */
.qp-columns { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
@media (min-width: 992px) {
  .qp-columns-2 { grid-template-columns: repeat(2, 1fr); }
  .qp-columns-3 { grid-template-columns: repeat(3, 1fr); }
  .qp-columns-4 { grid-template-columns: repeat(4, 1fr); }
}
.qp-column img { display: block; width: 100%; height: auto; border-radius: var(--qp-radius-md); }
.qp-column-link { font-weight: 600; }
.qp-icons { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.qp-icon-item { display: flex; gap: .9rem; align-items: flex-start; }
.qp-icon { flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; fill: none; stroke: currentColor; stroke-width: 1.7;
           stroke-linecap: round; stroke-linejoin: round; color: var(--qp-header-blue); }
.qp-bg-brand .qp-icon, .qp-bg-photo .qp-icon { color: #fff; }
.qp-quote { max-width: 46rem; }
.qp-quote blockquote { font-size: 1.3rem; line-height: 1.5; border-left: 4px solid var(--qp-header-blue); padding-left: 1.25rem; }
.qp-bg-brand .qp-quote blockquote, .qp-bg-photo .qp-quote blockquote { border-left-color: #fff; }
.qp-quote figcaption { color: #5c636a; padding-left: 1.5rem; }
.qp-al-center .qp-quote { margin-left: auto; margin-right: auto; }
.qp-divider-space { height: 1rem; }
.qp-logos { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; }
.qp-al-center .qp-logos { justify-content: center; }
.qp-logo { display: inline-flex; align-items: center; justify-content: center; height: 4rem; padding: .5rem .9rem;
           background: #fff; border-radius: var(--qp-radius-md); }
.qp-logo img { max-height: 3rem; max-width: 9rem; object-fit: contain; }
.qp-bg-brand .qp-cta-blue { border: 1px solid rgba(255, 255, 255, .55); }
