/* File: render-news-post.css
   Description: CitySpark-style News/Event layout (responsive event card).
*/

/* Page wrapper */
.ll-event-page{
  padding: 18px 12px;
}

/* Card container */
.ll-event-card{
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Top actions (wide-only feel) */
.ll-event-top-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  gap: 10px;
}
.ll-event-top-actions__actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

/* Main grid */
.ll-event-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Left and right panels */
.ll-event-left{
  padding: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ll-event-right{
  padding: 14px;
}

/* Wide layout: left media stack, right details */
@media (min-width: 860px){
  .ll-event-grid{
    grid-template-columns: 1.1fr 0.9fr;
  }
  .ll-event-left{
    border-bottom: none;
    border-right: 1px solid rgba(0,0,0,0.08);
    padding: 18px;
  }
  .ll-event-right{
    padding: 18px;
  }
}

/* Hero image */
.ll-event-hero{
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.04);
}
.ll-event-hero__img{
  display:block;
  width:100%;
  height:auto;
}
.ll-event-hero__placeholder{
  width:100%;
  aspect-ratio: 16 / 9;
}

/* Map block: whatever your ll_render_map_and_address_block outputs */
.ll-event-map{
  margin-top: 12px;
}
.ll-event-map iframe{
  width:100% !important;
  height: 260px !important;
  border: 0 !important;
  border-radius: 10px;
}

/* Share row */
.ll-event-share{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  padding: 14px 0 8px;
}
.ll-event-share__label{
  font-size: 14px;
  opacity: 0.75;
}
.ll-event-share__icons{
  display:flex;
  gap: 10px;
}
.ll-share-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  text-decoration:none;
  font-size: 13px;
}

/* Action buttons row */
.ll-event-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-top: 10px;
}

/* Buttons */
.ll-btn{
  appearance:none;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  color: inherit;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}
.ll-btn--ghost{
  background: #fff;
}
.ll-btn--primary{
  border-color: rgba(0,0,0,0.22);
  font-weight: 700;
}
.ll-btn--outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

/* Title block */
.ll-event-title{
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.ll-event-datetime{
  margin: 6px 0 6px;
  font-size: 15px;
}
.ll-event-add-to-calendar{
  display:inline-block;
  font-size: 14px;
  text-decoration: none;
  margin-top: 4px;
}

/* Detail blocks */
.ll-event-block{
  margin-top: 18px;
}
.ll-event-block__label{
  font-weight: 800;
  margin-bottom: 6px;
}
.ll-event-block__value{
  font-size: 15px;
  line-height: 1.45;
}
.ll-event-description p{
  margin: 0 0 10px;
}

/* Sponsored By */
.ll-event-sponsored{
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 18px;
}

.ll-event-sponsored__label{
  font-weight: 800;
  margin-bottom: 10px;
}

/* CitySpark behavior: no embedded map on narrow screens */
@media (max-width: 859px){
  .ll-hide-on-narrow{
    display: none !important;
  }
}

@media (max-width: 859px){
  .ll-event-top-actions{
    display: none !important;
  }
}
