
/* =========================================================
   GENSOUNDLABS 2.5.11 — Real NEWS page / [gsl_news]
   This is the actual /news/ implementation in this theme.
   ========================================================= */

body .gsl-news-page-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(0,190,241,.05),transparent 26%),
    radial-gradient(circle at 88% 8%,rgba(255,79,179,.045),transparent 30%),
    #03070d!important;
}

body .gsl-news-page-shell .entry-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

body .gsl-news-page-shell .gsl-news-section{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:54px 0 72px!important;
  background:transparent!important;
}

body .gsl-news-page-shell .gsl-news-section>.container{
  width:min(1380px,calc(100% - 48px))!important;
  max-width:1380px!important;
  margin:0 auto!important;
  padding:0!important;
}

/* Heading same visual language as homepage */
body .gsl-news-page-shell .gsl-news-heading{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:16px!important;
  width:100%!important;
  margin:0 auto 34px!important;
  padding:0 0 18px!important;
  text-align:center!important;
  color:#fff!important;
  font-size:clamp(36px,3.5vw,54px)!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.04em!important;
  text-transform:uppercase!important;
}

body .gsl-news-page-shell .gsl-news-heading::before{
  content:""!important;
  display:block!important;
  width:4px!important;
  height:46px!important;
  flex:0 0 4px!important;
  border-radius:4px!important;
  background:linear-gradient(180deg,#00bef1,#ff4fb3)!important;
  box-shadow:0 0 18px rgba(0,190,241,.4)!important;
}

body .gsl-news-page-shell .gsl-news-heading::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  width:min(620px,72vw)!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,#00bef1 28%,#ff4fb3 72%,transparent)!important;
  opacity:.75!important;
}

body .gsl-news-page-shell .gsl-news-intro{
  max-width:760px!important;
  margin:-10px auto 34px!important;
  padding:0!important;
  text-align:center!important;
  color:#93a4b6!important;
  font-size:15px!important;
  line-height:1.65!important;
}

/* Grid */
body .gsl-news-page-shell .gsl-news-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
}

/* Card reset against legacy NEWS CSS */
body .gsl-news-page-shell .gsl-news-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid rgba(118,163,195,.18)!important;
  background:linear-gradient(180deg,#09131f,#050b12)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.24)!important;
  transform:none!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}

body .gsl-news-page-shell .gsl-news-card:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(0,190,241,.42)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.36)!important;
}

body .gsl-news-page-shell .gsl-news-card__link{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  text-decoration:none!important;
}

/* The card's visual header */
body .gsl-news-page-shell .gsl-news-card__visual{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 28% 20%,rgba(0,190,241,.14),transparent 38%),
    radial-gradient(circle at 78% 18%,rgba(255,79,179,.12),transparent 38%),
    #050a11!important;
}

body .gsl-news-page-shell .gsl-news-card__image{
  position:static!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
  filter:none!important;
}

body .gsl-news-page-shell .gsl-news-card__placeholder{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  color:#f4f8fb!important;
  font-size:20px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  text-align:center!important;
}

/* No redundant NEWS badge on cards */
body .gsl-news-page-shell .gsl-news-card__badge,
body .gsl-news-page-shell .gsl-news-card__label,
body .gsl-news-page-shell .gsl-news-card__note,
body .gsl-news-page-shell .gsl-news-card__wave,
body .gsl-news-page-shell .gsl-news-card__top{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  overflow:hidden!important;
}

/* Card content */
body .gsl-news-page-shell .gsl-news-card__body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:22px!important;
  background:linear-gradient(180deg,rgba(9,18,28,.98),rgba(5,11,18,.98))!important;
}

body .gsl-news-page-shell .gsl-news-card__meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 13px!important;
  padding:0!important;
}

body .gsl-news-page-shell .gsl-news-card__meta span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:26px!important;
  margin:0!important;
  padding:0 9px!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.025)!important;
  border:1px solid rgba(255,255,255,.055)!important;
  color:#7fd8eb!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.05em!important;
}

body .gsl-news-page-shell .gsl-news-card__title{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 0 11px!important;
  padding:0!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  text-align:left!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

body .gsl-news-page-shell .gsl-news-card__excerpt{
  display:-webkit-box!important;
  -webkit-line-clamp:4!important;
  -webkit-box-orient:vertical!important;
  width:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  color:#9ba9b7!important;
  font-size:14px!important;
  line-height:1.62!important;
  text-align:left!important;
  overflow:hidden!important;
}

body .gsl-news-page-shell .gsl-news-card__more{
  position:static!important;
  display:inline-flex!important;
  align-items:center!important;
  align-self:flex-start!important;
  gap:8px!important;
  margin-top:auto!important;
  padding:20px 0 7px!important;
  color:#2bd1ef!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  border-bottom:1px solid rgba(43,209,239,.45)!important;
}

body .gsl-news-page-shell .gsl-news-card__more::after{
  display:none!important;
}

/* Pagination generated by the shortcode uses UL */
body .gsl-news-page-shell .gsl-news-pagination{
  margin:40px auto 0!important;
}

body .gsl-news-page-shell .gsl-news-pagination ul{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body .gsl-news-page-shell .gsl-news-pagination li{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body .gsl-news-page-shell .gsl-news-pagination a,
body .gsl-news-page-shell .gsl-news-pagination span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:12px!important;
  border:1px solid rgba(0,190,241,.22)!important;
  background:#07111b!important;
  color:#dce6ef!important;
  text-decoration:none!important;
}

/* Tablet */
@media(max-width:1100px){
  body .gsl-news-page-shell .gsl-news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
}

/* Mobile */
@media(max-width:700px){

  body .gsl-news-page-shell .gsl-news-section{
    padding:34px 0 54px!important;
  }

  body .gsl-news-page-shell .gsl-news-section>.container{
    width:calc(100% - 22px)!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:0!important;
  }

  body .gsl-news-page-shell .gsl-news-heading{
    gap:12px!important;
    margin:0 auto 29px!important;
    padding-bottom:14px!important;
    font-size:31px!important;
    line-height:1!important;
  }

  body .gsl-news-page-shell .gsl-news-heading::before{
    width:3px!important;
    height:36px!important;
    flex-basis:3px!important;
  }

  body .gsl-news-page-shell .gsl-news-heading::after{
    width:min(330px,82vw)!important;
  }

  body .gsl-news-page-shell .gsl-news-intro{
    width:100%!important;
    max-width:390px!important;
    margin:-7px auto 30px!important;
    font-size:13px!important;
    line-height:1.55!important;
  }

  body .gsl-news-page-shell .gsl-news-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  body .gsl-news-page-shell .gsl-news-card{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    border-radius:17px!important;
  }

  body .gsl-news-page-shell .gsl-news-card__visual{
    width:100%!important;
    min-height:150px!important;
    max-height:210px!important;
    aspect-ratio:16/9!important;
  }

  body .gsl-news-page-shell .gsl-news-card__image{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  body .gsl-news-page-shell .gsl-news-card__placeholder{
    min-height:150px!important;
    font-size:18px!important;
  }

  body .gsl-news-page-shell .gsl-news-card__body{
    align-items:stretch!important;
    width:100%!important;
    padding:18px 16px!important;
  }

  body .gsl-news-page-shell .gsl-news-card__meta{
    justify-content:center!important;
    gap:7px!important;
    margin:0 0 14px!important;
    text-align:center!important;
  }

  body .gsl-news-page-shell .gsl-news-card__meta span{
    min-height:26px!important;
    padding:0 9px!important;
    font-size:9.5px!important;
    white-space:nowrap!important;
  }

  body .gsl-news-page-shell .gsl-news-card__title{
    margin:0 0 12px!important;
    font-size:21px!important;
    line-height:1.12!important;
    text-align:center!important;
  }

  body .gsl-news-page-shell .gsl-news-card__excerpt{
    font-size:14px!important;
    line-height:1.6!important;
    text-align:left!important;
    -webkit-line-clamp:4!important;
  }

  body .gsl-news-page-shell .gsl-news-card__more{
    margin:18px 0 0!important;
    padding:0 0 8px!important;
    font-size:11px!important;
  }

  body .gsl-news-page-shell .gsl-news-pagination{
    width:100%!important;
    margin-top:28px!important;
  }

  body .gsl-news-page-shell .gsl-news-pagination ul{
    gap:6px!important;
  }

  body .gsl-news-page-shell .gsl-news-pagination a,
  body .gsl-news-page-shell .gsl-news-pagination span{
    min-height:40px!important;
    padding:0 11px!important;
    font-size:11px!important;
  }
}


/* GENSOUNDLABS 2.5.12 — remove redundant GENSOUNDLABS visual header from NEWS cards */
body .gsl-news-page-shell .gsl-news-card__visual,
body .gsl-news-page-shell .gsl-news-card__placeholder,
body .gsl-news-page-shell .gsl-news-card__image,
body .gsl-news-page-shell .gsl-news-card__badge{
  display:none!important;
}

body .gsl-news-page-shell .gsl-news-card__body{
  padding-top:24px!important;
}

@media(max-width:700px){
  body .gsl-news-page-shell .gsl-news-card__body{
    padding-top:18px!important;
  }
}
