/* Shared homepage tour card. Desktop overlays and tour embeds retain their existing handlers. */
@layer vp-button-icons-current {
 html body #main#main .vp-home-tour-card .vp-mobile-tour-image-cue {display:none!important;}
 html body #main#main .vp-home-tour-card .vp-mobile-project-copy[hidden] {display:none!important;}
 @media(max-width:760px) {
  html body #main#main .vp-home-tour-card[hidden] {display:none!important;}
  html body #main#main .vp-home-tour-card:not([hidden]) {
   height:auto!important;min-height:0!important;max-height:none!important;
   aspect-ratio:auto!important;overflow:visible!important;
  }
  html body #main#main .vp-home-tour-card .vp-gallery-open,
  html body #main#main .vp-home-tour-card .vp-gallery-photo {
   display:block!important;position:relative!important;width:100%!important;
   height:auto!important;min-height:0!important;max-height:none!important;
   aspect-ratio:16/10!important;overflow:hidden!important;
  }
  html body #main#main .vp-home-tour-card .vp-gallery-photo::before,
  html body #main#main .vp-home-tour-card .vp-gallery-photo::after {display:none!important;}
  html body #main#main .vp-home-tour-card .vp-gallery-photo .vp-project-visual-cta,
  html body #main#main .vp-home-tour-card .vp-gallery-photo .vp-project-cta,
  html body #main#main .vp-home-tour-card .vp-preview-tour-hints,
  html body #main#main .vp-home-tour-card .vp-mobile-touch-help {display:none!important;}
  html body #main#main .vp-home-tour-card:has(> .vp-mobile-project-copy:not([hidden])) {
   border:1px solid #ddd9d0!important;
   border-radius:14px!important;
   background:#fffdf9!important;
   box-shadow:0 8px 24px rgb(36 43 48 / .06)!important;
  }

  html body #main#main .vp-home-tour-card:has(> .vp-mobile-project-copy:not([hidden])) > :is(.vp-gallery-open,.vp-mobile-tour-frame),
  html body #main#main .vp-home-tour-card:has(> .vp-mobile-project-copy:not([hidden])) > .vp-gallery-open > .vp-gallery-photo {
   border-radius:13px 13px 0 0!important;
   box-shadow:none!important;
  }

  /* A swipe cue inside the open tour. The player receives all pointer input. */
  html body #main#main .vp-home-tour-card .vp-mobile-tour-frame::after {
   content:"";
   position:absolute;
   z-index:1;
   inset:12px 12px auto auto;
   box-sizing:border-box;
   width:42px;
   height:42px;
   border:1px solid rgb(255 255 255 / .35);
   border-radius:50%;
   background:rgb(36 43 48 / .88) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%206h22M8%203%205%206l3%203m16-6%203%203-3%203%22%2F%3E%3Cpath%20d%3D%22M13%2021v-8a2%202%200%200%201%204%200v5h3.5a4%204%200%200%201%204%204v1.5a6.5%206.5%200%200%201-6.5%206.5h-1.5a5%205%200%200%201-4.3-2.5l-3-5a1.8%201.8%200%200%201%202.8-2.2l1%200.7Z%22%2F%3E%3C%2Fsvg%3E") center / 26px no-repeat;
   pointer-events:none;
  }

  html body #main#main .vp-home-tour-card:has(> .vp-mobile-project-copy:not([hidden])) > .vp-mobile-tour-toolbar {
   padding-inline:18px!important;
   border-bottom:1px solid #e7e2da!important;
  }

  html body #main#main .vp-home-tour-card .vp-mobile-project-copy:not([hidden]) {
   display:block!important;
   position:relative!important;
   margin:0!important;
   padding:16px 18px 18px!important;
   color:#242b30!important;
   text-align:left!important;
  }

  html body #main#main .vp-home-tour-card .vp-mobile-project-heading {
   display:block!important;
   margin:0 0 12px!important;
   padding:0!important;
   font:600 21px/28px Manrope,Arial,sans-serif!important;
   letter-spacing:-.4px!important;
   text-transform:none!important;
   color:#242b30!important;
  }

  html body #main#main .vp-home-tour-card .vp-mobile-project-description {
   margin:0!important;
   padding:0!important;
   font:400 16px/26px Manrope,Arial,sans-serif!important;
   color:#4b5359!important;
  }
  html body #main#main .vp-home-tour-card .vp-mobile-project-actions {
   display:flex!important;flex-wrap:wrap!important;align-items:center!important;
   justify-content:space-between!important;gap:16px!important;margin-top:20px!important;
  }
  html body #main#main .vp-home-tour-card .vp-mobile-project-actions[hidden] {display:none!important;}
  html body #main#main .vp-home-tour-card .vp-mobile-project-explore {
   display:inline-flex!important;align-items:center!important;position:relative!important;
   min-height:48px!important;max-width:100%!important;margin:0!important;
   border:1px solid #242b30!important;border-radius:999px!important;
   background:#242b30!important;color:#fff!important;
   font:500 15px/20px Manrope,Arial,sans-serif!important;text-align:left!important;
  }
  html body #main#main .vp-home-tour-card .vp-mobile-project-explore:hover {background:#414a50!important;}
  html body #main#main .vp-home-tour-card .vp-mobile-project-explore:focus-visible {outline:2px solid #416b7a!important;outline-offset:3px!important;}
  html body #main#main .vp-home-tour-card .vp-mobile-project-actions .vp-rayglass-slider-controls {
   position:static!important;inset:auto!important;transform:none!important;
   display:flex!important;align-items:center!important;justify-content:flex-end!important;
   gap:8px!important;margin:0!important;padding:0!important;width:auto!important;
   height:48px!important;min-height:48px!important;flex:0 0 auto!important;
   border:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;
  }
  html body #main#main .vp-home-tour-card .vp-mobile-project-actions .vp-rayglass-model-count {
   color:#4b5359!important;font:500 13px/20px Manrope,Arial,sans-serif!important;
   margin:0!important;padding:0!important;text-shadow:none!important;
  }
  html body #main#main .vp-home-tour-card .vp-rayglass-credit-inline {color:#4b5359!important;font-size:12px!important;line-height:18px!important;margin-top:12px!important;text-shadow:none!important;}
  html body #main#main #rayglass-portfolio > .vp-rayglass-credit-inline {display:none!important;}
  html body #main#main .vp-home-tour-card .vp-mobile-project-actions .vp-rayglass-slider-controls .vp-unified-motion-control {display:none!important;}
 html body #main#main .vp-home-tour-card:not([hidden]) {position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:0!important;min-width:0!important;}
 html body #main#main .vp-home-tour-card > :is(.vp-builder-view-controls,.vp-care-view-controls,.vp-venue-view-controls,.vp-marine-view-controls,.vp-luxury-view-controls,.vp-project-photo-credit,.vp-care-credit,.vp-venue-credit,.vp-marine-credit,.vp-luxury-credit,.vp-tab-context,.vp-direct-tour-choices) {display:none!important;}
 html body #main#main .vp-home-tour-card .vp-gallery-photo {border:.5px solid #879399!important;}
 html body #main#main .vp-home-tour-card .vp-gallery-open>.vp-mobile-tour-image-cue {
 position:absolute!important;inset:auto auto 12px 12px!important;z-index:4!important;display:inline-flex!important;align-items:center!important;
 box-sizing:border-box!important;max-width:calc(100% - 24px)!important;padding:9px 14px!important;border:1px solid #ffffff45!important;border-radius:999px!important;
 background:#30383eeb!important;color:#fff!important;font:500 14px/20px Manrope,Arial,sans-serif!important;letter-spacing:0!important;pointer-events:none!important;box-shadow:0 2px 8px #0002!important;
 }
 html body #main#main .vp-home-tour-card .vp-gallery-open[aria-expanded="true"]>.vp-mobile-tour-image-cue {display:none!important;}
 html body #main#main .vp-home-tour-card .vp-mobile-tour-toolbar {display:none!important;}
 html body #main#main .vp-home-tour-card .vp-mobile-project-description[hidden] {display:none!important;}
 html body #main#main .vp-home-tour-card .vp-mobile-project-copy {grid-column:1!important;}
 html body #main#main .vp-home-tour-card .vp-mobile-project-explore {width:auto!important;}
 }
}

/* One uncluttered mobile tour presentation across every portfolio page. */
@layer vp-button-icons-current {
 @media(max-width:760px) {
  html body.homepage-study.homepage-study #main#main .vp-home-tour-card :is(.vp-mobile-project-actions,.vp-mobile-tour-toolbar,.vp-rayglass-slider-controls,.vp-builder-view-controls,.vp-care-view-controls,.vp-venue-view-controls,.vp-marine-view-controls,.vp-luxury-view-controls),
  html body.homepage-study.homepage-study #main#main #portfolio .vp-portfolio-expand {display:none!important;}
 }
}
