/* LNTDV — FINAL PHOTO BORDER FIX — 2026-09-20
   The photo stage is only a layout wrapper.
   No beige side panel, frame or border may be drawn beside the image.
   The border is applied only to the actual photograph.
*/
.grid .card,
.grid .card .lntdv-photo-stage{background:transparent!important}

.grid .card .lntdv-photo-stage{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.grid .card .lntdv-photo-stage::before,
.grid .card .lntdv-photo-stage::after{
  content:none!important;
  display:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
.grid .card .lntdv-photo-stage>img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:fill!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:1px solid #6b4734!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.grid .card .lntdv-photo-stage[data-photo-orientation="horizontal"],
.grid .card .lntdv-photo-stage[data-photo-orientation="vertical"]{
  width:100%!important;
  height:auto!important;
  aspect-ratio:auto!important;
  border:0!important;
  background:transparent!important;
}
@media(max-width:700px){
  .grid .card .lntdv-photo-stage{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    border:0!important;
    background:transparent!important;
    border-radius:0!important;
  }
  .grid .card .lntdv-photo-stage>img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:fill!important;
    border:1px solid #6b4734!important;
    border-radius:10px!important;
  }
}

/* LNTDV — REMOVE PHOTO CARD FRAME COMPLETELY — 2026-09-20 15:15
   The beige rectangle surrounding the photograph is not part of the photo.
   Remove the card/stage/image frame so only the photograph remains visible.
*/
.grid .card,
.grid .card:hover,
.grid .card.selected,
.grid .card .lntdv-photo-stage,
.grid .card .lntdv-photo-stage>img{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.grid .card{
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.grid .card .lntdv-photo-stage{
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.grid .card .lntdv-photo-stage>img{
  border-radius:0!important;
  background:transparent!important;
}


/* LNTDV — DEFINITIVE NO-FRAME / NO-SIDE-PANEL OVERRIDE — 2026-09-20 15:17 */
.grid .card,
.grid .card .lntdv-photo-stage,
.grid .card .lntdv-photo-stage > img{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.grid .card{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:transparent!important;
}
.grid .card .lntdv-photo-stage{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  border-radius:0!important;
}
.grid .card .lntdv-photo-stage > img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  object-position:initial!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}
@media(max-width:700px){
  .grid .card .lntdv-photo-stage,
  .grid .card .lntdv-photo-stage[data-photo-orientation="horizontal"],
  .grid .card .lntdv-photo-stage[data-photo-orientation="vertical"]{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    overflow:visible!important;
    margin:0!important;
    padding:0!important;
  }
  .grid .card .lntdv-photo-stage > img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
  }
}
