/* ==========================================================
   SiteLooma Portfolio v1.9.2: responsive and color previews.
   Original mode makes NO changes to industry-specific styling.
   Light/Dark skin changes background surfaces and typography;
   photographs are not inverted. Existing post content is untouched.
   ========================================================== */

.slpf-preview-tools,
.slpf-preview-stage {
  box-sizing: border-box;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.slpf-preview-tools *, .slpf-preview-stage * { box-sizing: border-box; }
.slpf-preview-tools {
  width: 100%; max-width: none; margin: 0; padding: 18px clamp(18px,4vw,64px) 14px;
  background: linear-gradient(110deg,#0d1e31,#213c54);
  border-bottom: 1px solid rgba(151,222,222,.25);
  box-shadow: 0 8px 26px rgba(9,26,40,.12);
  color: #f3f8fc;
}
.slpf-preview-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 18px 28px; width: 100%;
}
.slpf-preview-heading {display: flex; flex-direction: column; gap: 1px; margin-right: auto; min-width: 185px;}
.slpf-preview-kicker {font-size: 10px; font-weight: 850; color: #8de1d6; letter-spacing: .15em;}
.slpf-preview-heading strong {font-size: clamp(15px,1.35vw,19px); color: #fff; line-height: 1.4;}
.slpf-preview-group {display: flex; align-items: center; flex-wrap: wrap; gap: 6px;}
.slpf-preview-label {margin-right: 7px; font-size: 11px; font-weight: 800; color: #c7d9e5; text-transform: uppercase; letter-spacing: .085em;}
.slpf-preview-button, .slpf-preview-return {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  border: 1px solid rgba(191,217,232,.28); border-radius: 9px;
  background: rgba(255,255,255,.075); color: #f4fbff;
  font-family: inherit; font-size: 12px; font-weight: 800;
  min-height: 37px; padding: 8px 13px; line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease;
}
.slpf-preview-button:hover, .slpf-preview-return:hover {background: rgba(255,255,255,.17);}
.slpf-preview-button.is-selected, .slpf-preview-button[aria-pressed="true"] {
  border-color: #98e8dc;
  background: #a7eee1;
  color: #173e44;
}
.slpf-preview-button:focus-visible, .slpf-preview-return:focus-visible {
  outline: 3px solid #ffdf9d; outline-offset: 3px;
}
.slpf-preview-status {
  display: block; margin: 11px 0 0 !important; color: #c4d9e6 !important;
  font-size: 11px !important; line-height: 1.6 !important;
}
.slpf-clean-content[hidden], .slpf-preview-stage[hidden] {display: none !important;}
.slpf-preview-stage {
  width: 100%; max-width: none; margin: 0; padding: 24px clamp(15px,4vw,60px) 26px;
  background: radial-gradient(ellipse at 80% 8%, #deeeee, transparent 44%), #e6eaf0;
  color: #173345;
}
.slpf-preview-stage-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-bottom: 18px;
}
.slpf-preview-stage-head > div {display: flex; flex-direction: column; gap: 2px;}
.slpf-preview-stage-head strong {font-size: 16px; color: #243c50;}
.slpf-preview-stage-head span {font-size: 12px; color: #5a7081;}
.slpf-preview-return {
  background: #17364e; border-color: #17364e; color: #fff;
}
.slpf-preview-return:hover {background: #2e5772;}
.slpf-preview-canvas {
  display: flex; justify-content: center; align-items: flex-start;
  min-height: 500px; padding: 24px 0 5px;
  width: 100%; max-width: none; overflow: hidden;
  border: 1px solid #cdd7df; border-radius: 17px;
  background: repeating-linear-gradient(45deg,#dae2e9 0,#dae2e9 13px,#dfe7ed 13px,#dfe7ed 26px);
}
.slpf-preview-scaler {position: relative; flex-shrink: 0; min-width: 0;}
.slpf-preview-frame {
  position: absolute; top: 0; left: 0; overflow: hidden;
  transform-origin: top left;
  border: 1px solid #8a9daa; border-radius: 11px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(20,40,60,.23);
}
.slpf-preview-frame iframe {display: block; border: 0; margin: 0; background: #fff;}
.slpf-preview-help {margin: 14px 0 0 !important; font-size: 12px !important; line-height: 1.75 !important; color: #627482 !important;}
@media(max-width:800px) {
  .slpf-preview-tools {padding: 16px 18px;}
  .slpf-preview-heading {width: 100%;}
  .slpf-preview-group {gap: 5px;}
  .slpf-preview-label {width: 100%; margin-bottom: 2px;}
  .slpf-preview-button {font-size: 11px; padding: 8px 10px;}
  .slpf-preview-stage {padding: 16px 10px;}
  .slpf-preview-canvas {padding: 15px 0 4px; min-height: 420px; border-radius: 10px;}
}
@media(prefers-reduced-motion: reduce) {
  .slpf-preview-button, .slpf-preview-return {transition: none;}
}

/* ==========================================================
   Appearance styles. Selectors deliberately limit changes to
   the isolated portfolio content, not the site theme header,
   site footer, toolbar, or unrelated plugins.
   These are visual skins: use Original for exact authored colors.
   ========================================================== */

/* Legacy generated portfolio layout */
html[data-slpf-color-mode="light"] .slpf-clean-content > .slpf-page {
  background: #f5f8f7 !important; color: #1b3440 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content .slpf-page :is(h1,h2,h3,p,li,strong) {
  color: #203b4b !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content .slpf-page :is(.slpf-panel,.slpf-steps > div,.slpf-disclosure,.slpf-cta) {
  background: #e3efec !important;
  border-color: #bfd4d2 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content .slpf-page :is(.slpf-chip,.slpf-placeholder) {
  background: #e2eeeb !important; color: #264b51 !important;
  border-color: #abc9c6 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content .slpf-page :is(.slpf-eyebrow,.slpf-section-head span,.slpf-steps b) {color:#176f71 !important;}
html[data-slpf-color-mode="light"] .slpf-clean-content .slpf-page .slpf-btn-secondary {color:#205c62 !important; border-color:#498e90 !important;}

/* Specific existing SiteLooma industry concepts all have
   unique IDs ending in -portfolio. This works for future ones. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"],
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] {
  color-scheme: normal;
}

/* LIGHT: preserve decorative preview screenshots; recolor the
   enclosing hero and final CTA to a light treatment. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) {
  background: linear-gradient(135deg,#fffaf2,#ddeeea) !important;
  color: #203d49 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) :is(h1,h2,h3) {
  color: #213c49 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) :is(p,[class$="-note"],[class$="-lead"]) {
  color: #4c6770 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) :is([class$="-pill"]) {
  color: #385c61 !important; border-color: #b7d1c9 !important;
  background: rgba(255,255,255,.55) !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) :is([class$="-eyebrow-light"]) {
  color: #3e7f79 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) :is([class$="-btn-outline"]) {
  color:#274c58 !important; border-color:#7ca49d !important;
  background:rgba(255,255,255,.4) !important;
}
/* Keep fictional storefront previews readable against their original photos. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-hero"] :is(h1,h2,h3,strong) {color:#fff !important;}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-hero"] p {color:#e8eef0 !important;}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-nav"] :is(strong,span,small) {color:#31565b !important;}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-bottom"] :is(strong,span,small) {color:#3d6566 !important;}
/* Gold/lime/pastel highlights need a deeper ink tone on light backgrounds. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) :is(
  [class$="-gold"],[class$="-coral"],[class$="-lime"],[class$="-accent"],[class$="-purple"]
) {color:#2f8076 !important;}
/* Light treatment of dark text-only presentation sections. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is([class$="-section-dark"],[class$="-journey"],[class$="-journey-panel"],[class$="-checkout-panel"],[class$="-portal-copy"]) {
  background:linear-gradient(135deg,#e7f0ed,#f8f6ef) !important;
  border-color:#bcd5d0 !important;
  color:#244753 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is([class$="-section-dark"],[class$="-journey"],[class$="-journey-panel"],[class$="-checkout-panel"],[class$="-portal-copy"]) :is(h2,h3,strong) {
  color:#254953 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is([class$="-section-dark"],[class$="-journey"],[class$="-journey-panel"],[class$="-checkout-panel"],[class$="-portal-copy"]) p {
  color:#536d73 !important;
}
/* Photo sections retain their background image. An unobtrusive
   ivory wash makes dark typography legible without inverting photos. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-wide"] {
  isolation:isolate;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-wide"]::before {
  content:"" !important; position:absolute !important; inset:0 !important;
  z-index:0 !important; background:rgba(253,250,243,.77) !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-wide"] > * {
  position:relative; z-index:1;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-wide"] :is(h2,p) {
  color:#1e4149 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-wide"] [class$="-eyebrow-light"] {
  color:#217e77 !important;
}

/* DARK: recolor bright content sections and cards with a
   charcoal/teal treatment. Keep image pixels and branded
   browser mocks unchanged, including existing photo overlays. */
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] {
  background:#101d28 !important; color:#e7f0ef !important;
}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-white"], [class$="-section-cream"], [class$="-section-ivory"],
  [class$="-section-soft"], [class$="-section-light"]
) {
  background:#111f2b !important; color:#edf3f1 !important;
}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-white"], [class$="-section-cream"], [class$="-section-ivory"],
  [class$="-section-soft"], [class$="-section-light"]
) :is(h2,h3,h4,strong) {
  color:#f3f6f4 !important;
}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-white"], [class$="-section-cream"], [class$="-section-ivory"],
  [class$="-section-soft"], [class$="-section-light"]
) p {
  color:#bdd0d0 !important;
}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-white"], [class$="-section-cream"], [class$="-section-ivory"],
  [class$="-section-soft"], [class$="-section-light"]
) :is(
  [class$="-service"],[class$="-package"],[class$="-product"],[class$="-program"],[class$="-class"],
  [class$="-room"],[class$="-plan"],[class$="-feature"],[class$="-amenity"],
  [class$="-resource"],[class$="-event"],[class$="-impact"],
  [class$="-card"],[class$="-panel"],[class$="-trainer"],[class$="-check"],
  [class$="-item"],[class$="-form-card"],[class$="-booking-panel"],
  [class$="-form-card"],[class$="-donation-panel"]
) {
  background-color:#203441 !important; border-color:#3d5960 !important;
}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-white"], [class$="-section-cream"], [class$="-section-ivory"],
  [class$="-section-soft"], [class$="-section-light"]
) :is(
  [class$="-service"],[class$="-package"],[class$="-product"],[class$="-program"],[class$="-class"],
  [class$="-room"],[class$="-plan"],[class$="-feature"],[class$="-amenity"],
  [class$="-resource"],[class$="-event"],[class$="-impact"],
  [class$="-card"],[class$="-panel"],[class$="-trainer"],[class$="-item"]
) :is(h3,strong) {
  color:#f3f7f4 !important;
}
/* Dark themed information bands and diagrams. */
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-info"],[class$="-disclosure"],[class$="-map"],[class$="-demo-bottom"]
) {
  background-color:#1c303c !important; border-color:#3c545a !important;
}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is([class$="-info"],[class$="-disclosure"],[class$="-map"]) :is(h2,h3,p,strong,span,small) {
  color:#d9e7e5 !important;
}
/* The fictional browser mockup remains its own brand-colored preview. */
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] [class$="-browser"],
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-nav"],
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-bottom"] {
  background-color:#fff !important;
}
/* Preserve clear white lettering on image-backed cards in dark mode. */
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-photo"],[class$="-wide"],[class$="-story"],[class$="-collection"],
  [class$="-schedule-side"],[class$="-business-photo"],[class$="-detail-image"]
) :is(h2,h3,strong) {color:#fff !important;}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-photo"],[class$="-wide"],[class$="-story"],[class$="-collection"],
  [class$="-schedule-side"],[class$="-business-photo"],[class$="-detail-image"]
) p {color:#e3eeee !important;}

/* Original means literally no theme overrides. User-authored styles win. */

/* Additional fallback for hand-authored industry sections with unique class names. */
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] > section:not([class$="-wide"]):not([class$="-hero"]):not([class$="-cta"]) {
  background-color:#111f2b !important;
}

/* Editorial italic hero text remains legible in light mode. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) h1 em,
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] > :is([class$="-hero"],[class$="-cta"]) h2 em {
  color:#287a74 !important;
}

/* ==========================================================
   v1.9.2 — REAL TABLET/MOBILE MENUS FOR ALL PORTFOLIO DESIGNS

   The individual industry mockups hide their desktop menu labels
   at narrow widths. This native HTML <details> menu replaces them.
   Because it does not require JavaScript to toggle, the exact same
   navigation opens and closes inside the sandboxed device preview.
   It links to real sections, never fictional bookings or checkout.
   ========================================================== */

.slpf-responsive-menu { display: none; }
.slpf-preview-inline-nav { display: none; }
.slpf-responsive-menu,
.slpf-responsive-menu * { box-sizing: border-box; }
.slpf-preview-demo-navigation { min-width: 0; }

@media (max-width: 1024px) {
  .slpf-preview-demo-navigation {
    position: relative !important;
    isolation: isolate !important;
    z-index: 45 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
  }
  .slpf-preview-demo-navigation > [class$="-demo-links"],
  .slpf-preview-demo-navigation > [class$="-demo-book"],
  .slpf-preview-demo-navigation > [class$="-demo-contact"],
  .slpf-preview-demo-navigation > [class$="-demo-cart"],
  .slpf-preview-demo-navigation > [class$="-demo-donate"] {
    display: none !important;
  }
  .slpf-preview-demo-navigation > .slpf-responsive-menu {
    display: block !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  .slpf-preview-inline-nav {
    position: relative !important;
    isolation: isolate !important;
    z-index: 65 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px clamp(15px,4vw,32px) !important;
    background: #173746 !important;
  }
  .slpf-preview-inline-nav > .slpf-responsive-menu {
    display: block !important;
  }
}

@media (min-width: 1025px) {
  .slpf-preview-demo-navigation > .slpf-responsive-menu,
  .slpf-preview-inline-nav { display: none !important; }
}

.slpf-responsive-menu {
  position: relative !important;
  z-index: 75 !important;
  width: auto !important;
  font: 800 12px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
  color: #173941 !important;
}
.slpf-responsive-summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 88px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid #b9d6d2 !important;
  border-radius: 9px !important;
  background: #f4fcfa !important;
  color: #164d52 !important;
  font: inherit !important;
  cursor: pointer !important;
  list-style: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: background-color .2s ease, box-shadow .2s ease !important;
}
.slpf-responsive-summary::-webkit-details-marker { display: none !important; }
.slpf-responsive-summary::marker { content: "" !important; }
.slpf-responsive-summary:hover,
.slpf-responsive-menu[open] > .slpf-responsive-summary {
  background: #d7f3eb !important;
  border-color: #76bdb1 !important;
  box-shadow: 0 4px 16px rgba(15,57,63,.13) !important;
}
.slpf-responsive-summary:focus-visible,
.slpf-responsive-menu-panel a:focus-visible {
  outline: 3px solid #e5ae64 !important;
  outline-offset: 3px !important;
}
.slpf-responsive-bars {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
}
.slpf-responsive-bars i {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background: #1f6263 !important;
  border-radius: 2px !important;
  transition: transform .2s ease, opacity .2s ease !important;
}
.slpf-responsive-menu[open] .slpf-responsive-bars i:first-child {
  transform: translateY(6px) rotate(45deg) !important;
}
.slpf-responsive-menu[open] .slpf-responsive-bars i:nth-child(2) {
  opacity: 0 !important;
}
.slpf-responsive-menu[open] .slpf-responsive-bars i:last-child {
  transform: translateY(-6px) rotate(-45deg) !important;
}
.slpf-responsive-menu-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  position: absolute !important;
  top: calc(100% + 9px) !important;
  right: 0 !important;
  z-index: 9999 !important;
  width: min(315px, calc(100vw - 34px)) !important;
  max-height: min(65vh, 500px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 9px !important;
  border: 1px solid #b7cecc !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 46px rgba(8,35,47,.25) !important;
  color: #244650 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.slpf-responsive-menu:not([open]) > .slpf-responsive-menu-panel {
  display: none !important;
}
.slpf-responsive-menu-panel a {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 43px !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #284d56 !important;
  font: 750 13px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.slpf-responsive-menu-panel a:hover {
  background: #e5f4ee !important;
  color: #145f61 !important;
}
.slpf-responsive-menu-panel a:last-child {
  margin-top: 5px !important;
  background: #1d6266 !important;
  color: #ffffff !important;
  justify-content: center !important;
  text-align: center !important;
}
.slpf-responsive-menu-panel a:last-child:hover {
  background: #114a50 !important;
}
@media (max-width: 480px) {
  .slpf-preview-demo-navigation { padding-left: 12px !important; padding-right: 12px !important; }
  .slpf-preview-demo-navigation > [class$="-demo-brand"] {min-width: 0 !important; flex: 1 1 auto !important;}
  .slpf-preview-demo-navigation > [class$="-demo-brand"] :is(strong, [class$="-demo-brandname"]) {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  .slpf-responsive-summary {min-width: 82px !important; padding: 9px 10px !important;}
  .slpf-responsive-menu-panel {width: min(290px, calc(100vw - 24px)) !important;}
}
@media (prefers-reduced-motion: reduce) {
  .slpf-responsive-summary,
  .slpf-responsive-bars i {transition: none !important;}
}

/* ==========================================================
   v1.9.2: RELIABLE TABLET/MOBILE NAVIGATION
   Outside the mockup's overflow-hidden browser viewport.
   Native details + anchor links work in no-script srcdoc.
   ========================================================== */
.slpf-project-sections-nav {
  display:none;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box;
  background:#14333e !important;
  padding:12px clamp(18px,4vw,55px) !important;
  position:relative !important;
  z-index:9990 !important;
  isolation:isolate;
}
.slpf-project-sections-nav .slpf-responsive-menu {
  margin-left:auto !important;
}
.slpf-project-sections-nav .slpf-responsive-summary {
  min-width:208px !important;
  padding:12px 16px !important;
}
.slpf-project-sections-nav .slpf-responsive-menu-panel {
  min-width:min(320px, calc(100vw - 36px)) !important;
  width: min(390px, calc(100vw - 36px)) !important;
  max-height:min(70vh,560px) !important;
}
@media (max-width:1024px) {
  .slpf-project-sections-nav {display:flex !important; justify-content:flex-end !important;}
  .slpf-project-sections-nav > .slpf-responsive-menu {display:block !important;}
  /* The hidden mockup scroll container clipped the old nav. */
  .slpf-preview-demo-navigation {overflow:visible !important;}
  .slpf-clean-content [id$="-portfolio"] [class$="-browser"]:has(.slpf-responsive-menu) {
    overflow:visible !important;
  }
  .slpf-preview-demo-navigation .slpf-responsive-menu-panel {
    z-index:99999 !important;
  }
}
@media (min-width:1025px) {
  .slpf-project-sections-nav {display:none !important;}
}

/* ==========================================================
   v1.9.2: LEGIBLE LIGHT APPEARANCE ACROSS ALL INDUSTRIES

   Industry page styles use inline !important colors. Recolor all
   text-bearing elements consistently, then preserve white text
   on genuine photo overlays and dark mocked-up storefronts.
   These rules only affect the portfolio content, never the WP
   site header, footer, design-preview toolbar or other plugins.
   ========================================================== */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] {
  color:#203b43 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  h1,h2,h3,h4,h5,h6,p,li,dt,dd,small,span,b,strong,label,em
) {
  color:#244751 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-dark"], [class$="-journey"], [class$="-journey-panel"],
  [class$="-checkout-panel"], [class$="-portal-copy"],
  [class$="-schedule-top"], [class$="-portal-head"], [class$="-package-featured"],
  [class$="-plan-featured"]
) {
  background:#e5f1ee !important;
  border-color:#bdd7d0 !important;
  color:#244751 !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-service"], [class$="-program"], [class$="-class"],
  [class$="-feature"], [class$="-plan"], [class$="-package"],
  [class$="-card"], [class$="-panel"], [class$="-step"],
  [class$="-item"], [class$="-resource"], [class$="-room"],
  [class$="-impact"], [class$="-event"]
) {
  border-color:#d3e4df !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-section-dark"], [class$="-journey"], [class$="-journey-panel"],
  [class$="-checkout-panel"], [class$="-portal-copy"],
  [class$="-schedule-top"], [class$="-portal-head"],
  [class$="-package-featured"], [class$="-plan-featured"]
) :is(h2,h3,h4,p,li,span,strong,small,b,em) {
  color:#244751 !important;
}
/* Make image-backed sections stay DARK over their images: no
   ivory pseudo-overlay conflicting with the forced white text. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] [class$="-wide"]::before {
  background:transparent !important;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-wide"], [class$="-demo-hero"], [class$="-overview-photo"],
  [class$="-story"], [class$="-collection"], [class$="-schedule-side"],
  [class$="-business-photo"], [class$="-detail-image"],
  [class$="-destination-photo"], [class$="-room-image"], [class$="-photo-caption"],
  [class$="-story-copy"], [class$="-collection-copy"]
) :is(h1,h2,h3,h4,p,small,strong,span,b,em) {
  color:#fff !important;
}
/* Boutique split-storefront mockup has a LIGHT cream text panel. */
html[data-slpf-color-mode="light"] .slpf-clean-content #slbt-portfolio .bt-demo-hero :is(
  h1,h2,h3,p,small,strong,span,em
) {
  color:#2c493f !important;
}
/* Labels on the light backgrounds get saturated, not pastel colors. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-eyebrow"], [class$="-eyebrow-light"], [class$="-label"],
  [class$="-kicker"], [class$="-number"], [class$="-num"], [class$="-gold"],
  [class$="-lime"], [class$="-coral"], [class$="-accent"], [class$="-purple"]
) {
  color:#1e6868 !important;
}
/* Brand header preview often uses a DARK teal CTA even in light mode. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-demo-book"], [class$="-demo-contact"],
  [class$="-demo-donate"], [class$="-demo-button"]
) {
  color:#fff !important;
  background:#235d65 !important;
}
/* Some example buttons are pastel and must remain dark-on-pastel. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-btn-gold"], [class$="-btn-lime"], [class$="-btn-coral"],
  [class$="-btn-mint"], [class$="-btn-primary"],
  [class$="-fake-submit"], [class$="-donation-submit"]
) {
  background:#245b61 !important;
  color:#fff !important;
}
/* Light mode links and pills remain distinguishable and readable. */
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] a {
  text-decoration-color:currentColor;
}
html[data-slpf-color-mode="light"] .slpf-clean-content [id$="-portfolio"] :is(
  [class$="-pill"], [class$="-chip"], [class$="-room-features"] span,
  [class$="-class-tags"] span
) {
  background:#f5faf7 !important;
  color:#2c565b !important;
  border-color:#bbd7d0 !important;
}
/* The preview itself must never inherit the project's light skin. */
.slpf-project-sections-nav .slpf-responsive-menu-panel a,
.slpf-project-sections-nav .slpf-responsive-summary {
  color:#224b52 !important;
}

/* Accessible device-view navigation outside a scaled iframe. */
.slpf-preview-stage-nav {
  position:relative !important; z-index:85 !important;
  display:flex !important; justify-content:flex-end !important;
  align-items:center !important; width:100% !important;
  padding:0 0 10px !important; min-height:55px;
}
.slpf-preview-stage-nav > .slpf-responsive-menu {display:block !important;}
.slpf-preview-stage-nav .slpf-responsive-summary {
  background:#e6f6f2 !important; color:#1c4a55 !important;
  border-color:#8fb9b1 !important;
}
.slpf-preview-stage-nav .slpf-responsive-menu-panel {
  z-index:200 !important; width:min(340px,calc(100vw - 48px)) !important;
}
/* The host navigation replaces the scaled one in the device document. */
html[data-slpf-preview-document="1"] .slpf-project-sections-nav {display:none !important;}
/* Dark mode's white browser mockups require dark text labels. */
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-bottom"] :is(
 h1,h2,h3,p,span,strong,small,b
) {color:#274851 !important;}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] [class$="-demo-nav"] :is(
 h1,h2,h3,p,span,strong,small,b
) {color:#274851 !important;}
html[data-slpf-color-mode="dark"] .slpf-clean-content [id$="-portfolio"] :is([class$="-demo-book"],[class$="-demo-contact"],[class$="-demo-donate"]) {
 color:#fff !important;
}
