/* File: render-event-post.css */

/* =========================
   EVENT PUBLIC POST CARD
   ========================= */

.ll-event-page {
  width: 100%;
  padding: 0;
}

.ll-event-card {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

/* =========================
   TITLE / DATE
   ========================= */

.ll-event-titleblock--full {
  display: block;
  width: 100%;
  margin: 0 0 24px;
}

.ll-event-titleblock--full .ll-event-title {
  margin: 0;
}

.ll-event-titleblock--full .ll-event-datetime {
  margin-top: 12px;
}

.ll-event-titleblock--datetime {
  margin: 0 0 20px;
}

.ll-event-title {
  margin: 0;
  line-height: 1.5;
}

.ll-event-datetime__primary {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
}

.ll-event-datetime__secondary {
  margin-top: 4px;
}

/* =========================
   TWO-COLUMN EVENT LAYOUT
   ========================= */

.ll-event-layout--two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ll-event-layout__col {
  min-width: 0;
}

.ll-event-layout__col--right .ll-event-titleblock--datetime:first-child {
  margin-top: 0;
}

/* =========================
   HERO IMAGE
   ========================= */

.ll-event-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ll-event-layout__col--left .ll-event-hero {
  margin-bottom: 24px;
}

.ll-event-hero__lightbox-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ll-event-hero__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ll-event-hero__placeholder {
  width: 100%;
  min-height: 240px;
  border-radius: 12px;
  background: #f1f5f9;
}

/* =========================
   CONTENT BLOCKS
   ========================= */

.ll-event-block + .ll-event-block {
  margin-top: 24px;
}

.ll-event-block__label {
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.3;
}

.ll-event-block__value {
  min-width: 0;
}

.ll-event-description > *:first-child {
  margin-top: 0;
}

.ll-event-description > *:last-child {
  margin-bottom: 0;
}

.ll-event-description p {
  margin: 0 0 14px;
  line-height: 1.7;
}

/* =========================
   TICKETS / LINKS
   ========================= */

.ll-event-ticket-line + .ll-event-ticket-line,
.ll-event-link-row + .ll-event-link-row {
  margin-top: 10px;
}

.ll-event-location__directions {
  display: inline-block;
  margin-top: 10px;
}

/* =========================
   LOCATION / CONTACT
   ========================= */

.ll-event-location__venue,
.ll-event-location__addr,
.ll-event-location__csz,
.ll-event-location__phone,
.ll-event-contact__name,
.ll-event-contact__email,
.ll-event-contact__phone {
  margin-bottom: 6px;
}

.ll-event-location__venue {
  font-weight: 600;
}

.ll-event-location-map {
  margin-top: 14px;
}

.ll-event-location-map iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 12px;
}

/* =========================
   RELATED BUSINESS
   ========================= */

.ll-event-related-business {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3e7ee;
  clear: both;
}

.ll-event-related-business__title {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.ll-event-related-business .ll-post-surface,
.ll-event-related-business .ll-basic-business-card,
.ll-event-related-business .ll-premium,
.ll-event-related-business .ll-business-card {
  width: 100%;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .ll-event-layout--two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ll-event-titleblock--full {
    margin-bottom: 18px;
  }

  .ll-event-titleblock--datetime {
    margin-bottom: 18px;
  }
}

@media (max-width: 768px) {
  .ll-event-card {
    padding: 18px;
  }
}