/* Existing information pages only. Marker lives inside the current routed content. */
main#content:has(> link.gp-pages-theme) { --ink: #171d23; --paper: #171d23; --muted: #535c65; --gold: #80550c; --line: #e4dac9; background: #f7f3ed; color: #171d23; padding-block: 28px 56px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; line-height: 1.7; }
main#content:has(> link.gp-pages-theme) h1,
main#content:has(> link.gp-pages-theme) h2,
main#content:has(> link.gp-pages-theme) h3 { color: #171d23; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.2; letter-spacing: -.03em; overflow-wrap: break-word; }
main#content:has(> link.gp-pages-theme) h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
main#content:has(> link.gp-pages-theme) h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
main#content:has(> link.gp-pages-theme) h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); min-height: 0; }
main#content:has(> link.gp-pages-theme) p { color: #535c65; }
main#content:has(> link.gp-pages-theme) .muted { color: #535c65; }
main#content:has(> link.gp-pages-theme) .gold,
main#content:has(> link.gp-pages-theme) .eyebrow { color: #80550c; }
main#content:has(> link.gp-pages-theme) .eyebrow { font-size: .72rem; letter-spacing: .14em; }
main#content:has(> link.gp-pages-theme) > .page-intro { --gold: #efd49a; --paper: #fffdf6; --muted: #d4d8db; background: #12171b; color: #fffdf6; padding: clamp(28px, 5vw, 56px); border: 1px solid #5c5038; border-radius: 22px; }
main#content:has(> link.gp-pages-theme) .page-intro h1 { color: #fffdf6; }
main#content:has(> link.gp-pages-theme) .page-intro p { color: #d4d8db; }
main#content:has(> link.gp-pages-theme) .page-intro .gold,
main#content:has(> link.gp-pages-theme) .page-intro .eyebrow { color: #efd49a; }
main#content:has(> link.gp-pages-theme) .section { padding-block: clamp(36px, 5vw, 64px); }
main#content:has(> link.gp-pages-theme) .section.pt-0 { padding-top: 36px !important; }
main#content:has(> link.gp-pages-theme) .editorial { background: transparent; border: 0; }
main#content:has(> link.gp-pages-theme) .service-card,
main#content:has(> link.gp-pages-theme) .feature { background: #fffdf9; border: 1px solid #e4dac9; border-radius: 18px; box-shadow: 0 6px 22px rgba(63,45,18,.06); }
main#content:has(> link.gp-pages-theme) .service-card:hover { transform: none; box-shadow: 0 6px 22px rgba(63,45,18,.06); }
main#content:has(> link.gp-pages-theme) .feature { height: 100%; padding: 24px; }
main#content:has(> link.gp-pages-theme) .feature.mt-5 { height: auto; margin-top: 24px !important; }
main#content:has(> link.gp-pages-theme) .feature:has(+ .feature) { height: auto; }
main#content:has(> link.gp-pages-theme) .card-body { padding: 26px; }
main#content:has(> link.gp-pages-theme) .feature-icon { color: #80550c; }
main#content:has(> link.gp-pages-theme) .btn { min-height: 48px; border-radius: 11px; padding: 13px 22px; font-size: .95rem; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
main#content:has(> link.gp-pages-theme) .btn-gold { background: linear-gradient(145deg, #efd49a, #d4ae65 54%, #ba8d3f); border-color: #ad7b29; color: #171d23; box-shadow: none; }
main#content:has(> link.gp-pages-theme) .btn-gold:hover { background: #efd49a; color: #171d23; transform: none; }
main#content:has(> link.gp-pages-theme) .btn-outline-gold { background: #fffdf9; color: #80550c; border-color: #987439; }
main#content:has(> link.gp-pages-theme) .btn-outline-gold:hover { background: #faf2e2; color: #171d23; }
main#content:has(> link.gp-pages-theme) :focus-visible { outline: 3px solid #14689a !important; outline-offset: 4px; }
main#content:has(> link.gp-pages-theme) .callout { --gold: #efd49a; --paper: #fffdf6; --muted: #d4d8db; background: #12171b; color: #fffdf6; border: 1px solid #5c5038; border-radius: 22px; box-shadow: none; padding: clamp(26px, 5vw, 54px); }
main#content:has(> link.gp-pages-theme) .callout h2,
main#content:has(> link.gp-pages-theme) .callout h3 { color: #fffdf6; }
main#content:has(> link.gp-pages-theme) .callout p { color: #d4d8db; }
main#content:has(> link.gp-pages-theme) .callout .gold,
main#content:has(> link.gp-pages-theme) .callout .eyebrow { color: #efd49a; }
main#content:has(> link.gp-pages-theme) .notice { background: #faf2e2; color: #66460e; border: 1px solid #dfc58e; border-left: 3px solid #ad7b29; border-radius: 12px; }
main#content:has(> link.gp-pages-theme) .before-after-pair figure { background: #fffdf9; border-color: #e4dac9; border-radius: 12px; overflow: hidden; }
main#content:has(> link.gp-pages-theme) .before-after-pair figcaption,
main#content:has(> link.gp-pages-theme) .gallery-photo figcaption,
main#content:has(> link.gp-pages-theme) .comparison-instruction { color: #535c65; line-height: 1.6; }
main#content:has(> link.gp-pages-theme) .gallery-photo { height: 100%; background: #fffdf9; border-color: #e4dac9; border-radius: 16px; }
main#content:has(> link.gp-pages-theme) .gallery-photo img { height: auto; aspect-ratio: 4 / 3; -o-object-fit: cover; object-fit: cover; }
main#content:has(> link.gp-pages-theme) .service-overview-photo { border-radius: 18px; border-color: #e4dac9; background: #171d23; }
main#content:has(> link.gp-pages-theme) .service-overview-photo img { filter: none; }
main#content:has(> link.gp-pages-theme) .legal:not(.panel) { width: min(900px, calc(100% - 48px)); background: #fffdf9; color: #171d23; border: 1px solid #e4dac9; border-radius: 22px; box-shadow: 0 8px 28px rgba(63,45,18,.06); padding: clamp(24px, 5vw, 52px); }
main#content:has(> link.gp-pages-theme) .legal h2 { font-size: 1.5rem; margin-top: 30px; padding-top: 22px; border-top: 1px solid #e4dac9; }
main#content:has(> link.gp-pages-theme) .legal p { max-width: 75ch; line-height: 1.8; overflow-wrap: anywhere; }
main#content:has(> link.gp-pages-theme) .legal a:not(.btn) { color: #80550c; text-decoration: underline; text-underline-offset: 3px; }
main#content:has(> link.gp-pages-theme) .service-formula-button .formula-price { color: #171d23; }
main#content:has(> link.gp-pages-theme) .service-card:has(.service-formula-button) .card-body { display: flex; flex-direction: column; height: 100%; }
main#content:has(> link.gp-pages-theme) .btn.service-formula-button { min-height: 112px; margin-top: auto; padding: 16px 44px 16px 16px; }
main#content:has(> link.gp-pages-theme) .before-after-pair figcaption { padding: 8px 10px; margin-top: 0; }
@media (max-width: 767px) {
  main#content:has(> link.gp-pages-theme) { padding-block: 18px 36px; }
  main#content:has(> link.gp-pages-theme) > .page-intro { width: calc(100% - 32px); padding: 28px 22px; }
  main#content:has(> link.gp-pages-theme) .card-body { padding: 22px; }
  main#content:has(> link.gp-pages-theme) .actions { flex-direction: column; align-items: stretch; }
  main#content:has(> link.gp-pages-theme) .actions .btn { width: 100%; }
  main#content:has(> link.gp-pages-theme) .legal:not(.panel) { width: calc(100% - 32px); padding: 24px 20px; }
}
@media (max-width: 575px) {
  main#content:has(> link.gp-pages-theme) h1 { font-size: 2.2rem; }
  main#content:has(> link.gp-pages-theme) .gallery-photo figcaption { letter-spacing: .04em; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  main#content:has(> link.gp-pages-theme) .btn,
  main#content:has(> link.gp-pages-theme) .service-card { transition: none; }
}

/* The accessible range overlays the photo; only the existing gold divider is drawn. */
main#content:has(> link.gp-pages-theme) #inp_comparison { -webkit-appearance: none; -moz-appearance: none; appearance: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: transparent; }
main#content:has(> link.gp-pages-theme) #inp_comparison:focus-visible { opacity: 1; outline: 3px solid #efd49a !important; outline-offset: -6px; }
main#content:has(> link.gp-pages-theme) #inp_comparison::-webkit-slider-runnable-track { height: 100%; background: transparent; border: 0; box-shadow: none; }
main#content:has(> link.gp-pages-theme) #inp_comparison::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1px; height: 100%; margin: 0; background: transparent; border: 0; box-shadow: none; }
main#content:has(> link.gp-pages-theme) #inp_comparison::-moz-range-track,
main#content:has(> link.gp-pages-theme) #inp_comparison::-moz-range-progress { height: 100%; background: transparent; border: 0; box-shadow: none; }
main#content:has(> link.gp-pages-theme) #inp_comparison::-moz-range-thumb { width: 1px; height: 100%; background: transparent; border: 0; box-shadow: none; }

/* Realisations card headings only; keep image captions and pair alignment intact. */
main#content:has(> link.gp-pages-theme):has(#inp_comparison) .service-card .card-body > .eyebrow { min-height: 0; margin-bottom: 8px; }
main#content:has(> link.gp-pages-theme):has(#inp_comparison) .service-card .card-body > h2,
main#content:has(> link.gp-pages-theme):has(#inp_comparison) .service-card .card-body > h3 { margin-top: 0; margin-bottom: 14px; }
main#content:has(> link.gp-pages-theme):has(#inp_comparison) .service-card .before-after-pair { margin-top: 14px; }

main#content:has(> link.gp-pages-theme) .gp-interior-collection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
main#content:has(> link.gp-pages-theme) .gp-interior-collection figure { min-width: 0; margin: 0; border: 1px solid #e4dac9; border-radius: 12px; overflow: hidden; background: #f7f3ed; }
main#content:has(> link.gp-pages-theme) .gp-interior-collection img { display: block; width: 100%; height: auto; aspect-ratio: 1; -o-object-fit: cover; object-fit: cover; -o-object-position: center; object-position: center; }
main#content:has(> link.gp-pages-theme) .gp-interior-collection figcaption { padding: 8px 10px; color: #535c65; font-size: .75rem; line-height: 1.5; }
main#content:has(> link.gp-pages-theme) .gp-interior-card { height: auto; min-height: 0; }
main#content:has(> link.gp-pages-theme) .gp-interior-card .card-body { height: auto; min-height: 0; }
main#content:has(> link.gp-pages-theme) .gp-interior-card .gp-interior-collection-note { min-height: 0; margin: 18px 0 0; color: #535c65; font-size: .8rem; line-height: 1.5; }
@media (max-width: 767px) {
  main#content:has(> link.gp-pages-theme) .gp-interior-collection { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  main#content:has(> link.gp-pages-theme) .gp-interior-collection figure { width: min(100%, 300px); }
}