/* Ayvalık Vibes 5.0.26 — All topic-page related post images use one controlled card system. */
body.ayv-final-5000 .ayvibes-topic-live-secondary{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:34px 0 18px!important;
  padding-top:28px!important;
  border-top:1px solid rgba(30,71,60,.10)!important;
}
body.ayv-final-5000 .ayvibes-topic-live-secondary h2{
  margin:4px 0 0!important;
  font-size:clamp(36px,4.2vw,54px)!important;
  line-height:.96!important;
  letter-spacing:-.05em!important;
}
body.ayv-final-5000 .ayvibes-topic-live-secondary>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 17px!important;
  border:1px solid rgba(30,71,60,.13)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#173b32!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts>a{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:100%!important;
  overflow:hidden!important;
  border:1px solid rgba(30,71,60,.10)!important;
  border-radius:24px!important;
  background:#fff!important;
  color:#172b25!important;
  text-decoration:none!important;
  box-shadow:0 10px 30px rgba(18,48,41,.055)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts>a:hover,
body.ayv-final-5000 .ayvibes-topic-live-posts>a:focus-visible{
  transform:translateY(-3px)!important;
  border-color:rgba(17,145,129,.22)!important;
  box-shadow:0 18px 42px rgba(18,48,41,.10)!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts>a>img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10!important;
  max-height:230px!important;
  object-fit:cover!important;
  object-position:center!important;
  flex:0 0 auto!important;
  background:#e9f0ed!important;
  border-bottom:1px solid rgba(30,71,60,.08)!important;
  transition:transform .35s ease!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts>a:hover>img{
  transform:scale(1.025)!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts>a>span{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:170px!important;
  padding:18px 18px 20px!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts>a>span>small{
  display:inline-flex!important;
  align-items:center!important;
  align-self:flex-start!important;
  min-height:27px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:#edf7f4!important;
  color:#147f70!important;
  font-size:9.5px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts strong{
  display:-webkit-box!important;
  margin:13px 0 14px!important;
  overflow:hidden!important;
  color:#17332b!important;
  font-family:'Playfair Display',Georgia,serif!important;
  font-size:clamp(25px,2vw,33px)!important;
  font-weight:700!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  text-wrap:balance!important;
}
body.ayv-final-5000 .ayvibes-topic-live-posts em{
  margin-top:auto!important;
  padding-top:12px!important;
  color:#21665a!important;
  font-size:12px!important;
  font-style:normal!important;
  font-weight:800!important;
}

/* Prevent broad image rules from stretching contextual cards. */
body.ayv-final-5000 .ayvibes-topic-live-content .ayvibes-topic-live-posts img{
  min-height:0!important;
  max-width:100%!important;
}

@media(max-width:1080px){
  body.ayv-final-5000 .ayvibes-topic-live-posts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  body.ayv-final-5000 .ayvibes-topic-live-secondary{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  body.ayv-final-5000 .ayvibes-topic-live-posts{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body.ayv-final-5000 .ayvibes-topic-live-posts>a>img{
    aspect-ratio:16/9!important;
    max-height:220px!important;
  }
  body.ayv-final-5000 .ayvibes-topic-live-posts>a>span{
    min-height:0!important;
  }
}
