/* CASA UMBERTO v9.17 - final polish. Load after all existing styles. */
/* Guest-only rectangular link buttons with predictable lime hover. */
body.guest-guide-page .cg-editorial-guide .cg-topic .cg-links a,
body.guest-guide-page .cg-editorial-guide .cg-topic .cg-topic-links a,
body.guest-guide-page .cg-editorial-guide #guest-contact .cg-topic-links a,
body.guest-guide-page .cg-editorial-guide #guest-contact .cg-links a {
  border-radius:0!important;
  border:0!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease,filter .2s ease!important;
}
body.guest-guide-page .cg-editorial-guide .cg-topic .cg-links a:hover,
body.guest-guide-page .cg-editorial-guide .cg-topic .cg-links a:focus-visible,
body.guest-guide-page .cg-editorial-guide .cg-topic .cg-topic-links a:hover,
body.guest-guide-page .cg-editorial-guide .cg-topic .cg-topic-links a:focus-visible,
body.guest-guide-page .cg-editorial-guide #guest-contact .cg-topic-links a:hover {
  background:#d2f64b!important;
  color:#0b0b0c!important;
  transform:none!important;
}
/* Every photo fills the frame without grey letterboxing. Focus points remain adjustable in admin. */
body.guest-guide-page .cg-editorial-guide .cg-topic-photo .cg-photo-frame,
body.guest-guide-page .cg-editorial-guide .cg-topic-photo.cg-cover-photo .cg-photo-frame,
body.guest-guide-page .cg-editorial-guide .cg-topic-photo.cg-map-photo .cg-photo-frame {
  position:relative;
  overflow:hidden!important;
  display:block!important;
  isolation:isolate;
  background:transparent!important;
  aspect-ratio:4/3!important;
}
body.guest-guide-page .cg-editorial-guide .cg-topic-photo .cg-photo-frame::before {display:none!important;content:none!important}
body.guest-guide-page .cg-editorial-guide .cg-topic-photo .cg-photo-frame img,
body.guest-guide-page .cg-editorial-guide .cg-topic-photo.cg-cover-photo .cg-photo-frame img,
body.guest-guide-page .cg-editorial-guide .cg-topic-photo.cg-map-photo .cg-photo-frame img {
  position:relative!important;z-index:1!important;display:block!important;
  width:100%!important;height:100%!important;max-height:none!important;
  object-fit:cover!important;object-position:var(--cg-position,50% 50%)!important;
  transform:none!important;
  border:0!important;border-radius:0!important;
}
/* Widescreen routes keep their full horizontal trace; portrait railway paths stay tall. */
body.guest-guide-page .cg-editorial-guide .cg-photo-name-waste .cg-photo-frame {aspect-ratio:3/2!important}
body.guest-guide-page .cg-editorial-guide .cg-photo-name-parking .cg-photo-frame {aspect-ratio:11/8!important}
body.guest-guide-page .cg-editorial-guide .cg-photo-name-bus .cg-photo-frame {aspect-ratio:5/4!important}
body.guest-guide-page .cg-editorial-guide .cg-photo-name-pharmacy .cg-photo-frame {aspect-ratio:3/2!important}
body.guest-guide-page .cg-editorial-guide .cg-photo-name-train-a .cg-photo-frame,
body.guest-guide-page .cg-editorial-guide .cg-photo-name-train-b .cg-photo-frame {aspect-ratio:3/4!important}
body.guest-guide-page .cg-editorial-guide .cg-photo-name-router .cg-photo-frame {aspect-ratio:3/4!important}
body.guest-guide-page .cg-editorial-guide .cg-photo-name-cutlery .cg-photo-frame {aspect-ratio:3/4!important}
/* Shared PDF routes are maps, not decorative backdrops. Their routes are preserved. */
body.guest-guide-page .cg-editorial-guide .cg-photo-name-waste img {object-position:50% 50%!important}
/* Home card stacking: restored to the original layout stylesheet.
   Do not force sticky positioning on Framer wrapper variants. */
