/* Scoped styles for the Ads landing-page repairs (lightbox-signage, sticker, window-display).
   Uses existing tokens from styles.css; adds no global overrides. LOCAL PREVIEW ONLY. */
.lp-hero{background:var(--pale);border-bottom:1px solid var(--line);padding-block:36px 48px}
.lp-hero .lp-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.lp-hero h1{font-size:clamp(32px,3.4vw,50px);line-height:1.12;margin:6px 0 16px;max-width:760px}
.lp-hero .lead{font-size:18px;color:var(--muted);max-width:640px;margin:0 0 24px}
.lp-hero .actions{display:flex;flex-wrap:wrap;gap:12px}
.lp-hero .lp-phone{display:inline-flex;align-items:center;min-height:50px;font-weight:600;color:var(--blue-text);padding:0 6px}
.lp-hero .lp-note{margin:16px 0 0;font-size:14px;color:var(--muted)}
.lp-photo{margin:0;border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-card)}
.lp-photo img{display:block;width:100%;height:100%;object-fit:cover}
.lp-hero .lp-photo{aspect-ratio:4/5;max-height:560px;justify-self:end;width:100%;max-width:440px}
.lp-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:-26px;position:relative}
.lp-strip li{list-style:none;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-card)}
.lp-strip strong{display:block;font-size:16px}.lp-strip span{font-size:14px;color:var(--muted)}
.lp-strip{padding:0;margin-bottom:0}
.lp-types{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
.lp-type{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--card-radius);overflow:hidden;box-shadow:var(--shadow-card)}
.lp-type .lp-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line)}
.lp-type .lp-pair .lp-photo{border:0;border-radius:0;box-shadow:none;aspect-ratio:4/5}
.lp-type .lp-body{padding:26px;display:flex;flex-direction:column;gap:12px;flex:1}
.lp-type h3{font-size:26px;margin:0}.lp-type p{margin:0;color:var(--muted)}
.lp-type ul{margin:0;padding-left:20px;color:var(--muted)}
.lp-type .lp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:10px}
.lp-compare{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.lp-compare th,.lp-compare td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--line);vertical-align:top}
.lp-compare thead th{background:var(--pale);font-size:14px;letter-spacing:.4px}
.lp-compare tbody th{width:22%;font-weight:600}
.lp-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.lp-gallery .lp-photo{aspect-ratio:4/5}
.lp-gallery figcaption,.lp-fig figcaption{font-size:13px;color:var(--muted);padding:10px 14px;background:#fff;border-top:1px solid var(--line)}
.lp-gallery .lp-photo{display:flex;flex-direction:column}.lp-gallery .lp-photo img{flex:1;min-height:0}
.lp-gallery.is-landscape .lp-photo{aspect-ratio:4/3}
.lp-gallery-note{margin-top:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;color:var(--muted)}
.lp-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.lp-checks article{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.lp-checks h3{font-size:19px;margin:0 0 8px}.lp-checks p{margin:0;color:var(--muted)}
.lp-cta{background:var(--ink);color:#fff;border-radius:var(--card-radius);padding:40px;display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center}
.lp-cta h2{color:#fff;margin:0 0 10px}.lp-cta p{margin:0;color:#dbe6ef}
.lp-cta .actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.lp-cta .lp-phone{color:#fff;font-weight:600;display:inline-flex;align-items:center;min-height:50px}
.lp-copy{max-width:860px}.lp-copy p{font-size:17px}
.lp-related{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
@media(max-width:900px){.lp-hero .lp-grid,.lp-types,.lp-cta{grid-template-columns:1fr}.lp-hero .lp-photo{justify-self:start;max-width:none;aspect-ratio:4/3;max-height:380px}.lp-strip,.lp-checks{grid-template-columns:1fr}.lp-gallery{grid-template-columns:repeat(2,1fr)}.lp-cta .actions{justify-content:flex-start}}
@media(max-width:600px){.lp-hero{padding-block:24px 36px}.lp-hero .lead{font-size:16px}.lp-hero .actions .button{flex:1 1 100%}.lp-type .lp-body{padding:20px}.lp-cta{padding:26px 20px}.lp-compare th,.lp-compare td{padding:12px;font-size:14px}.lp-gallery{gap:12px}.lp-strip{margin-top:-16px}}
.lp-gallery.is-archive{grid-template-columns:repeat(4,1fr);gap:16px}
.lp-gallery.is-archive .lp-photo{aspect-ratio:3/4}
@media(max-width:900px){.lp-gallery.is-archive{grid-template-columns:repeat(2,1fr)}}
/* Lightbox hero: interleaved layout so the finished-lightbox photo can sit directly under the headline on mobile. */
.lp-hero--lb .lp-grid{grid-template-columns:1.15fr .85fr;grid-template-areas:"top fig" "act fig";grid-template-rows:auto 1fr;align-items:start;column-gap:48px;row-gap:0}
.lp-hero--lb .lp-top{grid-area:top;align-self:end}.lp-hero--lb .lp-act{grid-area:act;align-self:start}
.lp-hero--lb .lp-photo{grid-area:fig;align-self:center}.lp-hero--lb .lp-photo img{object-position:50% 30%}
.lp-hero .lead-short{display:none}
.lp-pair.is-single{display:block}.lp-pair.is-single .lp-photo{border:0;border-radius:0;box-shadow:none;aspect-ratio:4/3}.lp-pair.is-single .lp-photo img{object-position:50% 35%}
@media(max-width:900px){.lp-hero--lb .lp-grid{grid-template-columns:1fr;grid-template-areas:"top" "fig" "act";row-gap:0}.lp-hero--lb .lp-photo{aspect-ratio:4/3;max-height:300px;max-width:none;justify-self:stretch;margin:4px 0 20px}.lp-hero--lb .lp-act{align-self:start}}
@media(max-width:600px){.lp-hero--lb{padding-block:16px 28px}.lp-hero--lb .breadcrumbs{display:none}.lp-hero--lb h1{font-size:30px;margin:4px 0 10px}.lp-hero--lb .lead-full{display:none}.lp-hero--lb .lead-short{display:inline}.lp-hero--lb .lead{margin-bottom:14px;font-size:16px}.lp-hero--lb .lp-note{display:none}.lp-hero--lb .lp-photo{max-height:260px;margin-bottom:16px}}
/* ---- Theme-compat layer. Applies only inside <main class="lp-landing">, which the theme template prints only for the lightbox-signage record when its content has data-lp-landing.
   The live theme and Style Adv Service Galleries plugin constrain service pages ({.sa-native-content 1280px,
   article 1120px, h1 22ch, list/link/heading rules} under body.sag-modern-service). These rules, which outrank
   them only inside .lp-landing, restore the designed layout. No effect on any other page. ---- */
html body.single-thegem_pf_item main.lp-landing{max-width:none;margin:0;padding:0;min-height:0;overflow-wrap:normal}
html body.single-thegem_pf_item main.lp-landing>article{max-width:none;width:100%;margin:0}
html body.single-thegem_pf_item main.lp-landing h1{max-width:760px;margin:6px 0 16px;font-size:clamp(32px,3.4vw,50px);line-height:1.12;letter-spacing:-.035em;overflow-wrap:normal}
html body.single-thegem_pf_item main.lp-landing h2{font-size:clamp(28px,2.65vw,38px);line-height:1.25;letter-spacing:-.8px;margin:0 0 12px}
html body.single-thegem_pf_item main.lp-landing h3,html body.single-thegem_pf_item main.lp-landing h4{margin:0}html body.single-thegem_pf_item main.lp-landing .lp-checks h3{margin-bottom:8px}html body.single-thegem_pf_item main.lp-landing .lp-type h4{margin-top:8px}
html body.single-thegem_pf_item main.lp-landing a{text-decoration:none}
html body.single-thegem_pf_item main.lp-landing .lp-copy a,html body.single-thegem_pf_item main.lp-landing .faq a{text-decoration:underline;text-underline-offset:3px}
html body.single-thegem_pf_item main.lp-landing ul.lp-strip{padding:0;margin:-26px 0 0}html body.single-thegem_pf_item main.lp-landing .lp-strip li{margin:0}
html body.single-thegem_pf_item main.lp-landing .lp-type ul{padding-left:20px;margin:0}html body.single-thegem_pf_item main.lp-landing .lp-type li+li{margin-top:4px}
html body.single-thegem_pf_item main.lp-landing .lp-type p,html body.single-thegem_pf_item main.lp-landing .lp-copy p{line-height:1.7;max-width:none;margin:0}
html body.single-thegem_pf_item main.lp-landing .lp-copy p+p{margin-top:12px}
html body.single-thegem_pf_item main.lp-landing .lp-note,html body.single-thegem_pf_item main.lp-landing .lp-hero .lead{line-height:1.6}
html body.single-thegem_pf_item main.lp-landing .lp-hero .lead{max-width:640px;margin:0 0 24px}
html body.single-thegem_pf_item main.lp-landing .lp-hero--lb .lp-photo img,html body.single-thegem_pf_item main.lp-landing .lp-photo img{max-width:none}
@media(max-width:600px){html body.single-thegem_pf_item main.lp-landing ul.lp-strip{margin-top:-16px}html body.single-thegem_pf_item main.lp-landing .lp-hero--lb h1{font-size:30px;margin:4px 0 10px}html body.single-thegem_pf_item main.lp-landing .lp-hero .lead{margin-bottom:14px}}
