/* v3.6.77 — intentional crossing of boundaries in the STEP 02 place gallery.
 * Distinct physical layers: rear frame, forward photo, caption across bottom,
 * place-specific symbol outside the photo, and selection stroke. No new tariff logic.
 */
html body.home #service-finder.kgp-section .kp376-gallery-stage.kp377-gallery-stage{
 --kp377-tangerine:#d9692a;--kp377-honey:#ffd571;--kp377-paper:#fff8eb;--kp377-ink:#24372e;
 overflow:visible!important;isolation:isolate!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kp375-place-heading{margin-bottom:8px!important}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{
 gap:clamp(31px,3.7vw,46px) clamp(16px,2.4vw,32px)!important;
 padding:28px 20px 34px 12px!important;
 overflow:visible!important;
 align-items:stretch!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place+.kgp-place.kp375-place,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place:not([hidden]){
 display:block!important;position:relative!important;
 overflow:visible!important;clip-path:none!important;
 height:clamp(194px,19vw,244px)!important;min-height:0!important;max-height:none!important;
 background:transparent!important;border:none!important;border-radius:0!important;
 box-shadow:none!important;isolation:isolate!important;
 transform:none!important;
}
/* The actual rear silhouette, not a card border around the photo. It deliberately starts behind the photo. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place::before{
 content:''!important;display:block!important;position:absolute!important;
 inset:16px -11px -6px 13px!important;z-index:-1!important;
 border:1px solid #d1b995!important;border-bottom:3px solid #dca855!important;
 border-radius:4px!important;opacity:1!important;
 background:linear-gradient(140deg,#f9e7c7,#f1d5a8)!important;
 box-shadow:5px 7px 0 rgba(125,97,59,.07)!important;
 transform:none!important;
 transition:transform .33s cubic-bezier(.15,.8,.2,1),background .25s!important;
 pointer-events:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place::after{
 content:''!important;display:block!important;position:absolute!important;
 top:12px!important;left:12px!important;right:auto!important;
 width:2px!important;height:44px!important;background:var(--kp377-honey)!important;
 border:none!important;opacity:1!important;z-index:4!important;
 transform:translateY(0)!important;pointer-events:none!important;
}
/* Photo literally protrudes past the rear silhouette's top/left edges. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place .kgp-place-image.kp375-place-visual,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place .kgp-place-image.kp375-place-visual{
 position:absolute!important;inset:-4px 7px 22px -4px!important;
 width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
 border:0!important;border-radius:3px!important;box-shadow:0 12px 23px rgba(28,34,31,.15)!important;
 clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%)!important;
 overflow:hidden!important;z-index:1!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual::after{
 background:linear-gradient(180deg,rgba(11,28,26,.12),rgba(10,28,26,.02) 46%,rgba(10,28,26,.46) 100%)!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-visual img{
 object-fit:cover!important;object-position:center!important;filter:saturate(.87) contrast(1.035)!important;
}
/* Image label crosses the photo's bottom AND its left boundary; no two-tier card. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
 position:absolute!important;left:-11px!important;right:27px!important;bottom:-10px!important;
 width:auto!important;height:auto!important;min-height:0!important;
 z-index:6!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
 gap:3px!important;padding:10px 10px 10px 12px!important;
 background:var(--kp377-paper)!important;
 border:0!important;border-left:4px solid var(--kp377-tangerine)!important;
 box-shadow:4px 6px 0 rgba(22,52,45,.17)!important;border-radius:0 3px 3px 0!important;
 text-align:left!important;pointer-events:none!important;
 transition:transform .3s cubic-bezier(.18,.85,.2,1),box-shadow .3s!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{
 font-size:clamp(15px,1.7vw,21px)!important;line-height:1.2!important;
 font-weight:900!important;color:var(--kp377-ink)!important;
 text-shadow:none!important;letter-spacing:-.055em!important;
 white-space:nowrap!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{
 font-size:clamp(10px,.86vw,12px)!important;line-height:1.3!important;
 font-weight:650!important;color:#7d6b59!important;
 text-shadow:none!important;
 white-space:normal!important;
}
/* Specific place icon outside image frame, not a generic sticker repeated seven times. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem{
 position:absolute!important;top:-21px!important;right:-14px!important;z-index:8!important;
 display:grid!important;place-items:center!important;
 width:54px!important;height:54px!important;
 border:3px solid #f8f2e7!important;
 border-radius:50% 50% 50% 12%!important;
 background:linear-gradient(145deg,#fff4d5,#ffdf80)!important;
 color:#b95120!important;
 box-shadow:0 7px 0 rgba(109,64,24,.13),0 11px 18px rgba(39,37,28,.09)!important;
 transform:rotate(-8deg)!important;
 transition:transform .35s cubic-bezier(.18,.8,.2,1),background .35s!important;
 pointer-events:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem svg{
 width:29px!important;height:29px!important;display:block!important;overflow:visible!important;
}
/* A quiet index on the image, not another badge. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-photo-number{
 top:14px!important;left:23px!important;z-index:5!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;color:#fff4db!important;
 width:auto!important;height:auto!important;
 font-size:12px!important;font-weight:800!important;text-shadow:0 1px 4px rgba(0,0,0,.7)!important;
}
/* Selection arrow lives separately outside the lower-right rear edge. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow{
 right:-19px!important;bottom:-14px!important;z-index:9!important;
 width:39px!important;height:39px!important;border:4px solid #faf6ee!important;
 background:#243b33!important;color:#fff1cc!important;
 border-radius:50%!important;
 box-shadow:0 5px 16px rgba(28,39,29,.2)!important;
 transform:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:hover,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"]{
 transform:none!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:hover::before,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"]::before{
 transform:translate(5px,4px)!important;background:#ffe1a0!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place:hover .kp375-place-content,
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-content{
 transform:translateY(-3px)!important;box-shadow:4px 9px 0 rgba(22,52,45,.19)!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp377-place-emblem{
 transform:rotate(0) scale(1.09)!important;background:#ffd067!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-arrow{
 background:#db6728!important;color:white!important;transform:rotate(-45deg)!important;
}
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place[aria-pressed="true"] .kp375-place-visual img{
 filter:saturate(1.02) contrast(1.05)!important;
}
/* override the short wide tile for the final bicycle/interior card */
@media(max-width:680px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:37px 22px!important;padding:29px 25px 34px 15px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places .kgp-place.kp375-place+.kgp-place.kp375-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place:not([hidden]){
  height:clamp(158px,43vw,190px)!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="7"]>.kgp-place.kp375-place[data-kgp-place="bicycle"]:not([hidden]),
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places[data-kgp-count="3"]>.kgp-place.kp375-place[data-kgp-place="interior"]:not([hidden]){
  grid-column:span 2!important;height:150px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
  left:-9px!important;right:12px!important;bottom:-9px!important;
  padding:9px 7px 9px 9px!important;gap:3px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{font-size:clamp(13px,3.8vw,16px)!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:clamp(8.4px,2.45vw,10px)!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem{
  width:46px!important;height:46px!important;top:-18px!important;right:-15px!important;
  border-width:3px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem svg{width:25px!important;height:25px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-arrow{
  width:33px!important;height:33px!important;right:-16px!important;bottom:-11px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-photo-number{top:11px!important;left:20px!important;font-size:10px!important}
}
@media(max-width:359px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="3"],
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-places.kp375-place-gallery[data-kgp-count="7"]{
  gap:35px 17px!important;padding:28px 18px 32px 12px!important;
 }
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{padding:7px 5px 8px 7px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-name{font-size:12.5px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-hint{font-size:8px!important}
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem{width:42px!important;height:42px!important;right:-12px!important}
}
@media(prefers-reduced-motion:reduce){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content,
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp377-place-emblem{transition:none!important}
}
/* Editorial name slips: fit the words instead of forming a new full-width lower half. */
html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
 right:auto!important;width:max-content!important;max-width:calc(100% - 16px)!important;
}
@media(max-width:680px){
 html body.home #service-finder.kgp-section .kp377-gallery-stage .kgp-place .kp375-place-content{
  right:auto!important;width:max-content!important;max-width:calc(100% - 13px)!important;
 }
}
