/* Öffentliche Event-Detailseite /termin/<slug>/ – Styling für [fca_event layout="full"]. */

.hejdad-event-page {
  --hejdad-accent: #fc4c02;
  --hejdad-text: #1c1e21;
  --hejdad-muted: #65676b;
  --hejdad-border: #e4e6eb;
  --hejdad-card: #fff;
  --hejdad-radius: 14px;
}

/* Theme-Rahmen zurücknehmen: Titel kommt aus dem Shortcode, Karten liefern den Hintergrund. */
.hejdad-event-page .entry-header { display: none; }
.hejdad-event-page.separate-containers .inside-article { background: transparent; padding: 0; }
.hejdad-event-page .entry-content { margin-top: 0; }

.hejdad-event-back { margin: 0 0 16px; font-size: 15px; }
.hejdad-event-back a { color: var(--hejdad-muted); text-decoration: none; }
.hejdad-event-back a:hover { color: var(--hejdad-accent); }

.hejdad-event-page .fca-sc-single-event { font-family: inherit; color: var(--hejdad-text); }

.hejdad-event-page .fca-sc-layout-full .fca-sc-full {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    "image   aside"
    "title   aside"
    "content aside";
  grid-template-rows: auto auto 1fr;
  gap: 20px 28px;
  align-items: start;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hejdad-event-page .fca-sc-full-image {
  grid-area: image;
  max-height: none;
  aspect-ratio: 2 / 1;
  border-radius: var(--hejdad-radius);
  overflow: hidden;
  background: #f0f2f5;
}

.hejdad-event-page .fca-sc-full .fca-sc-title {
  grid-area: title;
  margin: 4px 0 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hejdad-text);
}

/* Karten: Details, Anmeldung, Beschreibung */
.hejdad-event-page .fca-sc-full .fca-sc-meta,
.hejdad-event-page .hejdad-register,
.hejdad-event-page .fca-sc-full .fca-sc-content {
  background: var(--hejdad-card);
  border: 1px solid var(--hejdad-border);
  border-radius: var(--hejdad-radius);
  padding: 22px 24px;
}

.hejdad-event-page .hejdad-event-aside { grid-area: aside; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }

.hejdad-event-page .fca-sc-full .fca-sc-meta { display: flex; flex-direction: column; gap: 16px; }
.hejdad-event-page .fca-sc-full .fca-sc-meta::before,
.hejdad-event-page .hejdad-box-title {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hejdad-border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hejdad-text);
}
.hejdad-event-page .fca-sc-full .fca-sc-meta::before { content: "Details"; }

.hejdad-event-page .fca-sc-meta-row { display: flex; flex-direction: column; gap: 2px; }
.hejdad-event-page .fca-sc-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hejdad-muted);
}
.hejdad-event-page .fca-sc-meta .fca-sc-date,
.hejdad-event-page .fca-sc-meta .fca-sc-location { font-size: 15px; color: var(--hejdad-text); }
.hejdad-event-page .fca-sc-virtual-badge {
  margin-top: 4px;
  background: #fff1ea;
  color: var(--hejdad-accent);
  border: 1px solid #ffd3bf;
}

.hejdad-event-page .hejdad-register .fca-sc-btn-register {
  display: block;
  margin-top: 16px;
  padding: 13px 18px;
  background: var(--hejdad-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
}
.hejdad-event-page .hejdad-register .fca-sc-btn-register:hover { opacity: .9; color: #fff; }
.hejdad-event-page .hejdad-register-hint { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--hejdad-muted); }

.hejdad-event-page .fca-sc-full .fca-sc-content { grid-area: content; align-self: start; padding: 28px 30px; font-size: 16px; line-height: 1.65; }
.hejdad-event-page .fca-sc-content > :first-child { margin-top: 0; }
.hejdad-event-page .fca-sc-content > :last-child { margin-bottom: 0; }
.hejdad-event-page .fca-sc-content blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 4px solid var(--hejdad-accent);
  background: #f7f8fa;
  border-radius: 0 8px 8px 0;
  font-style: normal;
}
.hejdad-event-page .fca-sc-content blockquote p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .hejdad-event-page .fca-sc-layout-full .fca-sc-full {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "image" "title" "aside" "content";
    grid-template-rows: none;
    gap: 16px;
  }
  .hejdad-event-page .hejdad-event-aside { position: static; gap: 16px; }
  .hejdad-event-page.separate-containers .inside-article { padding: 0 16px; }
  .hejdad-event-page .fca-sc-full-image { aspect-ratio: 16 / 9; }
  .hejdad-event-page .fca-sc-full .fca-sc-content { padding: 20px; }
}
