/* 858 Graphics — Location Pages stylesheet (mirrors live plugin CSS)
   Scoped entirely to .g858-lp — no global leakage.
   CSS vars let Designlang / fill_preview override live defaults. */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;600;700&display=swap");

/* ── Reset / base ───────────────────────────────────────────────────── */
.g858-lp *,
.g858-lp *::before,
.g858-lp *::after {
  box-sizing: border-box;
}

.g858-lp {
  --lp-ink: #343434;
  --lp-heading: #000000;
  --lp-link: #ea208c;
  --lp-link-hover: #3bafe3;
  --lp-cta: #25a9e1;
  --lp-btn: #ea208c;
  --lp-light: #F8F8FA;
  --lp-white: #ffffff;
  --lp-dark: #000000;
  --lp-tile-border: #b5b5b5;
  --lp-faq-border: #d0d0d0;
  --lp-font: "IBM Plex Sans", sans-serif;

  font-family: var(--lp-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--lp-ink);
  background: var(--lp-white);
}

.g858-lp a          { color: var(--lp-link); text-decoration: none; }
.g858-lp a:hover    { color: var(--lp-link-hover); }

.g858-lp h1 {
  font-size: 60px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--lp-heading);
  margin: 0 0 20px;
}

.g858-lp h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 0 0 20px;
}

.g858-lp h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

/* The site's Customizer CSS applies text-transform: uppercase to
   h1/h2 site-wide. Our heading text is authored in correct title
   case (e.g. "Interior Graphic Installations in El Cajon, CA"),
   so we opt out rather than re-transform it — `capitalize` would
   wrongly uppercase small words like "in". */
.g858-lp h1,
.g858-lp h2 { text-transform: none; }

.g858-lp p  { margin: 0 0 16px; }
.g858-lp ul { margin: 0 0 16px; padding-left: 24px; }
.g858-lp li { margin-bottom: 6px; }

/* ── Section bands ──────────────────────────────────────────────────── */
.g858-lp .lp-section {
  width: 100%;
  padding: 60px 20px;
}

.g858-lp .lp-section--white  { background: var(--lp-white); }
.g858-lp .lp-section--light  { background: var(--lp-light); }
.g858-lp .lp-section--dark   { background: var(--lp-dark); }

.g858-lp .lp-section--dark h2,
.g858-lp .lp-section--dark p,
.g858-lp .lp-section--dark ul,
.g858-lp .lp-section--dark li,
.g858-lp .lp-section--dark a  { color: var(--lp-white); }
.g858-lp .lp-section--dark a:hover { color: var(--lp-link-hover); }

/* Bands are center-aligned (.lp-feature--centered); list-style-position defaults to
   "outside", which floats the bullet dot to the far left of the centered block instead of
   next to its text. "inside" pulls the marker in with its text; the reference pages never
   had a <ul> in a dark band, so this gap only showed up once generated copy put one there. */
.g858-lp .lp-section--dark ul {
  list-style-position: inside;
  padding-left: 0;
}

.g858-lp .lp-container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero (Row 1) ───────────────────────────────────────────────────── */
.g858-lp .lp-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.g858-lp .lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 15, 15, 0.61);
  pointer-events: none;
}

.g858-lp .lp-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}

.g858-lp .lp-hero h1 {
  color: #ffffff;
  text-align: center;
}

/* ── Two-col flex helper ────────────────────────────────────────────── */
.g858-lp .lp-cols {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.g858-lp .lp-cols > * { min-width: 0; }

/* ── Intro section (Row 2) ──────────────────────────────────────────── */
.g858-lp .lp-intro__left {
  width: 50%;
  padding-right: 20px;
  /* Stretch to match the text column's height (row 2 only -- rotating feature images
     elsewhere keep their Axis A square frames). This column holds the heading AND the
     image, so it stays a column flex container (heading keeps its natural top position);
     the image (flex:1, below) is what grows to fill the space below the heading. */
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.g858-lp .lp-intro__right { width: 50%; padding-left: 20px; }

.g858-lp .lp-intro__heading {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

/* The flex-item sizing (grow/cap/center) has to target whichever element is the ACTUAL
   direct child of .lp-intro__left, not always .lp-intro__image itself: on staging, WP
   Engine's image optimizer auto-wraps same-origin JPG/PNG <img> tags in an unstyled
   <picture><source type="webp"> element (AVIF sources are left alone -- already better
   than webp). flex-grow/basis, align-self, and margin:auto centering only apply to a flex
   container's direct children, so when <picture> intervenes, it -- not .lp-intro__image --
   is the real flex item. Local proofs never show this (no image-optimizer rewriting), so
   this only broke on real WP pages, not the static proof renders. Target both so it works
   whether or not the wrapper is present. */
.g858-lp .lp-intro__left > picture,
.g858-lp .lp-intro__left > .lp-intro__image {
  width: 100%;
  /* Grows to fill the space left after the heading, capped at max-height. When the grown
     size would exceed the cap, the uncapped leftover is absorbed by the auto margins,
     centering the image in the remaining space instead of pinning it to the top.
     flex-basis MUST be the bare length 0, not 0% -- a percentage basis falls back to the
     image's intrinsic aspect-ratio height while the column's own height is still being
     measured (indefinite), which is exactly what let the image dictate row height. */
  flex: 1 1 0;
  min-height: 0;
  max-height: 600px;
  margin-top: auto;
  margin-bottom: auto;
  display: block;
}

.g858-lp .lp-intro__left > picture {
  overflow: hidden; /* picture has no intrinsic crop of its own -- the img inside does */
}

.g858-lp .lp-intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g858-lp .lp-intro__full { margin-top: 32px; }

/* ── Showcase (Row 3) ───────────────────────────────────────────────── */
.g858-lp .lp-showcase__heading {
  text-transform: capitalize;
}

.g858-lp .lp-tiles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.g858-lp .lp-tile {
  flex: 1 1 0;
  min-width: 240px;
  border: 2px solid var(--lp-tile-border);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
}

.g858-lp .lp-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.g858-lp .lp-tile__caption {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 1px;
  margin: 12px 8px;
}

/* ── Feature rows ───────────────────────────────────────────────────── */

/* Row 4: text 54% / img 46% */
.g858-lp .lp-feature--text-left .lp-feature__text { width: 54.21%; padding-right: 32px; }
.g858-lp .lp-feature--text-left .lp-feature__image { width: 45.79%; }

/* Rows 6-8: img 36% / text 64% */
.g858-lp .lp-feature--img-left .lp-feature__image { width: 36.14%; padding-right: 24px; }
.g858-lp .lp-feature--img-left .lp-feature__text  { width: 63.86%; }

.g858-lp .lp-feature__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

/* Rotating feature images (positions 3..N, img-left orientation) get a square frame.
   Feature 1 (text-left) is exempt -- it's the static harvested image (e.g. vehicle-wraps'
   transparent collage PNG) and must not be force-cropped. */
.g858-lp .lp-feature--img-left .lp-feature__image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-width: 100%;
}

/* Row 5: full-width centered, dark band */
.g858-lp .lp-feature--centered {
  text-align: center;
}

.g858-lp .lp-accent-stripe {
  display: block;
  margin: 0 auto 24px;
  height: 2px;
  width: 285px;
}

/* ── Why Choose (Row 9) ─────────────────────────────────────────────── */
.g858-lp .lp-why__text  { width: 65.21%; padding-right: 32px; }
/* align-self:center floats the logo column against the text column's height -- brand
   artwork, so it's centered, never stretched or cropped like the intro image is. */
.g858-lp .lp-why__logo  { width: 34.79%; align-self: center; }

.g858-lp .lp-why__logo img {
  width: 100%;
  max-width: 325px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.g858-lp .lp-why__full { margin-top: 32px; }

/* ── Related Products (Row 11) ──────────────────────────────────────── */
.g858-lp .lp-section--no-bottom { padding-bottom: 60px; }

.g858-lp .lp-products {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.g858-lp .lp-product {
  flex: 1 1 calc(25% - 20px);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.g858-lp .lp-product:hover { color: inherit; }

.g858-lp .lp-product img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.g858-lp .lp-product h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px;
}

.g858-lp .lp-product .btn {
  display: inline-block;
  background: var(--lp-btn);
  color: var(--lp-white);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

/* ── City hub — services grid (six tiles, not four: .lp-product's base
   25% flex-basis is a 4-up grid). Desktop: 3-up. Tablet inherits the
   generic 2-up from .lp-product's own 1024px rule below (not overridden
   here -- 2-up reads fine for six items). Mobile: 1-up, made explicit in
   the 768px block below even though .lp-product's own rule already gets
   there, so .lp-hub-grid's mobile behavior doesn't depend on that other
   rule never changing independently. ─────────────────────────────────── */
.g858-lp .lp-hub-grid .lp-product {
  flex: 1 1 calc(33.333% - 20px);
}

/* Each tile's image comes from a different service's own hero_bg_url (client.json),
   shot at whatever aspect ratio that asset happens to be -- without a fixed frame the
   six tile heights don't align. */
.g858-lp .lp-hub-grid .lp-product img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ── Areas-we-serve index — city cards. Keeps .lp-hub-grid's flex-basis
   (3-up above 768px, 1-up at/below), but cards never grow: a short last
   row stays card-width and centers instead of stretching full-width
   (10 cards = 3+3+3+1). ─────────────────────────────────────────────── */
.g858-lp .lp-hub-grid.lp-index-grid { justify-content: center; }
.g858-lp .lp-hub-grid.lp-index-grid .lp-product { flex-grow: 0; }
.g858-lp .lp-hub-grid.lp-index-grid .lp-product img { border-radius: 10px; }

.g858-lp .lp-hub-tile__teaser {
  font-size: 15px;
  color: #6b6b6b;
  margin: 0 0 14px;
}

/* ── City hub — neighborhoods list. Districts run long (3 to 10+ per
   city), so a single column reads too tall; break into columns instead. ── */
.g858-lp .lp-hub-neighborhoods {
  columns: 3;
  column-gap: 32px;
  margin: 16px 0 0;
}

.g858-lp .lp-hub-neighborhoods li {
  break-inside: avoid;
}

/* ── Location page — Google reviews (GBP HTML, not iframe) ────────────── */
.g858-lp .lp-reviews-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-muted, #6b7280);
}
.g858-lp .lp-reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.g858-lp .lp-reviews-score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.g858-lp .lp-reviews-score > strong {
  font-size: 48px;
  line-height: 0.9;
  font-weight: 700;
  color: var(--lp-ink, #343434);
}
.g858-lp .lp-reviews-score > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--lp-muted, #6b7280);
}
.g858-lp .lp-reviews-source {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--lp-muted, #6b7280);
}
.g858-lp .lp-rating-g {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.g858-lp .lp-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.g858-lp .lp-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--lp-line, #e5e7eb);
  border-radius: 4px;
}
.g858-lp .lp-review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.g858-lp .lp-review-when {
  font-size: 12px;
  color: var(--lp-faint, #9ca3af);
}
.g858-lp .lp-review blockquote {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lp-ink, #343434);
}
.g858-lp .lp-review blockquote p { margin: 0; }
.g858-lp .lp-review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--lp-line, #e5e7eb);
  font-size: 13px;
  color: var(--lp-muted, #6b7280);
}
.g858-lp .lp-review figcaption > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}
.g858-lp .lp-review figcaption strong {
  color: var(--lp-ink, #343434);
  font-size: 14px;
}
.g858-lp .lp-review-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-weight: 700;
}
.g858-lp .lp-review:nth-child(3n + 1) .lp-review-avatar {
  background: var(--lp-cta, #25a9e1);
  color: #000;
}
.g858-lp .lp-review:nth-child(3n + 2) .lp-review-avatar {
  background: var(--lp-btn, #ea208c);
}
.g858-lp .lp-stars { display: inline-flex; gap: 1px; letter-spacing: 0; }
.g858-lp .lp-star { color: #d1d5db; }
.g858-lp .lp-star.is-on { color: #e6a700; }
.g858-lp .lp-reviews-empty {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--lp-muted, #6b7280);
}
@media (max-width: 900px) {
  .g858-lp .lp-reviews { grid-template-columns: 1fr; }
}

/* ── Location page — CTA / quote band ─────────────────────────────────── */
.g858-lp .lp-cta { text-align: center; }

.g858-lp .lp-cta__grid {
  display: grid;
  gap: 28px;
  margin-top: 8px;
  align-items: start;
}

@media (min-width: 900px) {
  .g858-lp .lp-cta__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    text-align: left;
  }
  .g858-lp .lp-cta__actions {
    justify-content: flex-start;
  }
}

.g858-lp .lp-cta__quote {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
}

.g858-lp .lp-cta__quote > b {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.g858-lp .lp-cta__field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.g858-lp .lp-cta__field--wide { grid-column: 1 / -1; }

.g858-lp .lp-cta__input {
  display: block;
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.g858-lp .lp-cta__input--tall { height: 88px; }

.g858-lp .lp-cta__note {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: none;
  letter-spacing: 0;
}

.g858-lp .lp-cta__actions {
  margin: 24px 0 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* .g858-lp .lp-product .btn only styles a button inside a product tile, so
   the CTA's "Get started" link (bare class="btn", outside any .lp-product)
   needs its own rule -- mirrors .lp-product .btn exactly, scoped to .lp-cta
   only (no global .btn rule). Same specificity as the original too (three
   classes), so hover behaves identically: neither rule defines its own
   :hover, and both out-rank the general `a:hover` color rule by
   specificity, so the button stays solid pink/white on hover either way. */
.g858-lp .lp-cta .btn {
  display: inline-block;
  background: var(--lp-btn);
  color: var(--lp-white);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

/* .btn--ghost sits next to the .btn above on the same dark CTA band --
   self-contained rather than a .btn modifier, since it's for the phone
   link, not another "Get started". */
.g858-lp .btn--ghost {
  display: inline-block;
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.g858-lp .btn--ghost:hover { color: #3bafe3; border-color: #3bafe3; }

/* ── More in city (child -> hub + siblings) ─────────────────────────────
   Hub link stays a plain lead sentence (inherits the default `a` color).
   Siblings render as a wrapping row of ghost-style pill links -- same
   shape as .btn--ghost (border, radius, padding) but recolored, since
   .btn--ghost's white-on-black scheme was built for the dark CTA band and
   would be invisible on this section's white background. */
.g858-lp .lp-more-in-city__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.g858-lp .lp-more-in-city__list li { margin: 0; }

.g858-lp .lp-more-in-city__list a {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--lp-link);
  color: var(--lp-link);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.g858-lp .lp-more-in-city__list a:hover { color: var(--lp-link-hover); border-color: var(--lp-link-hover); }

/* ── FAQs / Accordion (Row 12) ──────────────────────────────────────── */
.g858-lp .lp-faqs h2 { text-transform: capitalize; }

.g858-lp .lp-faq {
  margin-bottom: 8px;
  border: 1px solid var(--lp-faq-border);
  border-radius: 4px;
  overflow: hidden;
}

.g858-lp .lp-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--lp-light);
  padding: 18px 24px;
  font-family: var(--lp-font);
  font-size: 21px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.3;
}

.g858-lp .lp-faq summary::-webkit-details-marker { display: none; }

.g858-lp .lp-faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
}

.g858-lp .lp-faq[open] summary::after { content: "−"; }

.g858-lp .lp-faq__body {
  padding: 20px 24px;
  background: #ffffff;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .g858-lp .lp-cols { flex-direction: column; }
  .g858-lp .lp-intro__left,
  .g858-lp .lp-intro__right,
  .g858-lp .lp-feature--text-left .lp-feature__text,
  .g858-lp .lp-feature--text-left .lp-feature__image,
  .g858-lp .lp-feature--img-left .lp-feature__image,
  .g858-lp .lp-feature--img-left .lp-feature__text,
  .g858-lp .lp-why__text,
  .g858-lp .lp-why__logo { width: 100%; padding-right: 0; padding-left: 0; }
  /* Stacked layout: the stretch-to-match-text-height treatment doesn't apply once the
     columns are no longer side by side -- revert to a natural block image with the
     Axis A square frame. */
  .g858-lp .lp-intro__left {
    align-self: auto;
    display: block;
  }
  .g858-lp .lp-intro__left > picture,
  .g858-lp .lp-intro__left > .lp-intro__image {
    flex: none;
    max-height: none;
    margin: 0;
    display: block;
  }
  .g858-lp .lp-intro__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .g858-lp .lp-why__logo { align-self: auto; }
  .g858-lp .lp-product { flex: 1 1 calc(50% - 20px); }
}

@media (max-width: 768px) {
  .g858-lp h1 { font-size: 28px; }
  .g858-lp h2 { font-size: 28px; }
  .g858-lp .lp-hero { min-height: 300px; }
  .g858-lp .lp-section { padding: 40px 16px; }
  .g858-lp .lp-tile { flex: 1 1 100%; }
  .g858-lp .lp-product { flex: 1 1 100%; }
  .g858-lp .lp-hub-grid .lp-product { flex: 1 1 100%; }
  .g858-lp .lp-hub-neighborhoods { columns: 1; }
  .g858-lp .lp-faq summary { font-size: 17px; }
}

/* ── Client image upload placeholders (preview / unpublished) ───────── */
.g858-lp .lp-img-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(234, 32, 140, 0.06) 0%, rgba(37, 169, 225, 0.08) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(0, 0, 0, 0.03) 8px,
      rgba(0, 0, 0, 0.03) 16px
    );
  border: 2px dashed var(--lp-tile-border);
  border-radius: 5px;
  color: #6b6b6b;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  padding: 12px;
}
.g858-lp .lp-img-slot:hover {
  border-color: var(--lp-cta);
  color: var(--lp-ink);
}
.g858-lp .lp-img-slot__meta {
  font-size: 13px;
  line-height: 1.35;
  max-width: 220px;
}
.g858-lp .lp-img-slot__meta strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--lp-ink);
}
.g858-lp .lp-img-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.g858-lp .lp-img-slot__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1;
}
.g858-lp .lp-img-slot__remove:hover {
  background: #ea208c;
}
.g858-lp .lp-img-slot--hero {
  min-height: 500px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

/* Cover: palette gradient visible; optional photo upload chip */
.g858-lp .lp-hero__cover-tools {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.g858-lp .lp-hero__cover-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.g858-lp .lp-hero__swatches {
  display: flex;
  gap: 0;
  height: 8px;
  width: min(280px, 70vw);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.g858-lp .lp-hero__swatches span {
  flex: 1 1 0;
  display: block;
  height: 100%;
}
.g858-lp .lp-hero__add-photo {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.g858-lp .lp-hero__add-photo:hover {
  background: #fff;
}
.g858-lp .lp-hero__add-photo input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.g858-lp .lp-hero__remove {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
.g858-lp .lp-img-slot--intro {
  aspect-ratio: 4 / 3;
  max-height: 600px;
  flex: 1 1 0;
}
.g858-lp .lp-img-slot--tile {
  height: 220px;
  border: 0;
  border-radius: 0;
}
.g858-lp .lp-img-slot--feature {
  aspect-ratio: 924 / 800;
}
.g858-lp .lp-img-slot--feature-sq {
  aspect-ratio: 1 / 1;
}
.g858-lp .lp-img-slot--logo {
  aspect-ratio: 325 / 244;
  max-width: 325px;
  border-radius: 10px;
}
.g858-lp .lp-img-slot--product {
  aspect-ratio: 1 / 1;
}
.g858-lp .lp-img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g858-lp .lp-chrome-note {
  background: #111;
  color: #9ca3af;
  font-size: 12px;
  padding: 8px 16px;
  text-align: center;
  font-family: var(--lp-font);
}
.g858-lp .lp-chrome-note strong { color: #fff; font-weight: 600; }

@media (max-width: 768px) {
  .g858-lp .lp-img-slot--hero { min-height: 300px; }
}

/* Preview edit mode */
.g858-lp mark.lp-mark,
.g858-lp .lp-mark {
  background: rgba(245, 208, 0, 0.45);
  color: inherit;
  padding: 0 0.1em;
}
.g858-lp.is-editing .lp-edit-field {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  background: rgba(37, 169, 225, 0.06);
  border: 1px dashed rgba(37, 169, 225, 0.45);
  border-radius: 4px;
  padding: 6px 8px;
  resize: vertical;
  box-sizing: border-box;
}
.g858-lp.is-editing .lp-edit-h1 {
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
.g858-lp.is-editing .lp-edit-para {
  margin: 0 0 12px;
}
.g858-lp .lp-section-edit {
  position: relative;
}
.g858-lp .lp-section-edit__bar {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 8px 20px 0;
  background: transparent;
}
.g858-lp .lp-section-edit__bar button {
  appearance: none;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--lp-font);
}
.g858-lp .lp-section-edit__bar button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.g858-lp .lp-img-slot.is-hidden {
  border-style: dashed;
  min-height: 120px;
}
.g858-lp .lp-img-slot__undo {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: var(--lp-cta);
  color: #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.lp-edit-toolbar {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.lp-edit-toolbar button {
  appearance: none;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lp-edit-toolbar button.is-on {
  border-color: #25a9e1;
  background: #e8f6fc;
}
