/* LacColibita.ro v10.1.2.1 — Rapsodie pe Lac media visibility hotfix
   Scoped only to the Rapsodie pe Lac event page. */

body.event-rapsodie-media-v1012 .event-cinema-hero-v880{
  grid-template-columns:minmax(0,1.14fr) minmax(420px,.86fr);
}

/* Hero artwork: show the complete supplied landscape artwork instead of cropping it. */
body.event-rapsodie-media-v1012 .event-cinema-card-v880{
  align-self:center;
  justify-content:flex-start;
  min-height:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(50,205,220,.12), transparent 48%),
    linear-gradient(180deg, rgba(7,23,38,.98), rgba(4,12,25,.98));
}
body.event-rapsodie-media-v1012 .event-cinema-card-v880 > img{
  position:relative;
  inset:auto;
  z-index:0;
  width:100%;
  height:auto;
  max-height:none;
  min-height:0;
  object-fit:contain;
  object-position:center;
  display:block;
  filter:saturate(1.04) contrast(1.03) brightness(.98);
  background:#071522;
  border-bottom:1px solid rgba(110,220,235,.16);
}
body.event-rapsodie-media-v1012 .event-cinema-card-inner-v880{
  position:relative;
  z-index:1;
  background:linear-gradient(180deg, rgba(4,15,29,.96), rgba(3,11,24,.99));
}

/* Gallery: preserve every poster in full. The previous shared event style used
   object-fit: cover, which cropped text, logos and partner marks. */
body.event-rapsodie-media-v1012 .event-cinema-gallery-v880{
  grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.72fr);
  align-items:stretch;
  gap:clamp(16px,2vw,24px);
}
body.event-rapsodie-media-v1012 .event-gallery-tile-v880,
body.event-rapsodie-media-v1012 .event-gallery-tile-v880:first-child{
  min-height:0;
  height:clamp(500px,45vw,690px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(47,200,225,.11), transparent 46%),
    linear-gradient(160deg, rgba(8,28,43,.98), rgba(4,12,25,.99));
  box-shadow:0 24px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
body.event-rapsodie-media-v1012 .event-gallery-tile-v880 img{
  flex:1 1 auto;
  width:100%;
  height:calc(100% - 58px);
  min-height:0;
  padding:clamp(10px,1.1vw,16px);
  box-sizing:border-box;
  object-fit:contain;
  object-position:center;
  display:block;
  filter:saturate(1.03) contrast(1.02) brightness(.98);
}
body.event-rapsodie-media-v1012 .event-gallery-tile-v880 span{
  position:static;
  flex:0 0 auto;
  width:100%;
  max-width:none;
  min-height:58px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px 15px 13px;
  border-radius:0;
  border:0;
  border-top:1px solid rgba(110,220,235,.14);
  background:rgba(3,12,24,.96);
  color:#e8fbff;
  text-align:center;
  line-height:1.35;
}

@media (max-width:1180px){
  body.event-rapsodie-media-v1012 .event-cinema-hero-v880{
    grid-template-columns:1fr;
  }
  body.event-rapsodie-media-v1012 .event-cinema-card-v880{
    width:min(760px,calc(100% - 40px));
    margin:0 auto 34px;
  }
  body.event-rapsodie-media-v1012 .event-cinema-gallery-v880{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.event-rapsodie-media-v1012 .event-gallery-tile-v880:first-child{
    grid-column:1/-1;
    height:clamp(470px,65vw,680px);
  }
  body.event-rapsodie-media-v1012 .event-gallery-tile-v880{
    height:clamp(560px,70vw,760px);
  }
}

@media (max-width:720px){
  body.event-rapsodie-media-v1012 .event-cinema-card-v880{
    width:calc(100% - 28px);
    margin:0 auto 24px;
    border-radius:24px;
  }
  body.event-rapsodie-media-v1012 .event-cinema-gallery-v880{
    grid-template-columns:1fr;
  }
  body.event-rapsodie-media-v1012 .event-gallery-tile-v880,
  body.event-rapsodie-media-v1012 .event-gallery-tile-v880:first-child{
    grid-column:auto;
    height:auto;
    min-height:0;
    border-radius:24px;
  }
  body.event-rapsodie-media-v1012 .event-gallery-tile-v880 img{
    height:auto;
    max-height:none;
    padding:10px;
  }
  body.event-rapsodie-media-v1012 .event-gallery-tile-v880 span{
    min-height:52px;
    font-size:11px;
  }
}
