/* LIST */
.game-news{
  background:#fff;
  color:#000;
  padding:10px;
  border-radius:10px;
  border:1px solid #ddd;
}
.gn-list{margin:0;padding:0;list-style:none}
.gn-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 0;
}

/* IMAGINE */
.gn-img{
  width:50px;
  height:50px;
  border-radius:8px;
  object-fit:cover;
  cursor:pointer;
  border:1px solid #e5e5e5;
  background:#f2f2f2;
}
.gn-img--empty{display:inline-block}

/* TEXT */
.gn-text{
  min-width:0;
  overflow:hidden;
}

/* LINK – NU IESE PESTE BORD (MAX 2 RÂNDURI) */
.gn-link{
  color:#0066cc;
  text-decoration:none;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;

  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.3em;
  max-height:2.6em;
  word-break:break-word;
}
.gn-link:hover{text-decoration:underline}

/* CATEGORII (SUB TITLU) */
.gn-cats{
  font-size:12px;
  color:#555;
  margin:4px 0 0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gn-cats-label{
  font-weight:700;
  color:#333;
}

/* LIGHTBOX */
.gn-lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

/* WRAPPER IMAGINE */
.gn-img-wrap{
  position:relative;
  max-width:800px;
  max-height:600px;
}

/* IMAGINE MARE */
#gn_lightbox_img{
  max-width:800px;
  max-height:600px;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 10px 40px rgba(0,0,0,.5);
}

/* MOBILE */
@media (max-width: 900px){
  .gn-img-wrap,
  #gn_lightbox_img{
    max-width:90vw;
    max-height:80vh;
  }
}

/* BUTON X */
.gn-close{
  position:absolute;
  top:6px;
  right:6px;
  width:28px;
  height:28px;
  border-radius:50%;
  border:0;
  background:rgba(0,0,0,.65);
  color:#fff;
  font-size:18px;
  line-height:28px;
  cursor:pointer;
  z-index:2;
}
.gn-close:hover{
  background:rgba(0,0,0,.85);
}