/* Container des Blocks mittig auf eurer Content-Breite */
.block-headline-html .container {
  max-width: 960px;      /* deine Seite nutzt oft 5/6 bzw. 1/2 – 960px ist ein guter Mittelwert */
  margin: 0 auto;
  padding: 0 1rem;
}

/* Überschrift-Style an Seite angelehnt */
.block-headline-html .block-title {
  font-family: var(--font-serif, Georgia, "Times New Roman", serif);
  color: #0c4a6e;          /* text-sky-900 */
  font-weight: 600;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  text-align: center;
  margin: 0 0 .75rem 0;
}

/* rote Unterstreichung wie in euren Sektionen */
.block-headline-html .block-title::after {
  content: "";
  display: block;
  width: 33%;
  max-width: 140px;
  height: 4px;
  margin: .5rem auto 0;
  background-color: #e84a4a; /* liki-red */
  opacity: .8;
  border-radius: 2px;
}

/* Inhalt mittig, Text angenehme Zeilenhöhe */
.block-headline-html .custom-html {
  margin-top: 1rem;
  line-height: 1.6;
  color: #0c4a6e; /* sky-900 */
  text-align: left;        /* ggf. center, wenn du alles mittig willst */
}

/* Grundlayout der Zeilen – dünne graue Linie wie im Screenshot */
div.JSHOW_f {
  width: 100%;
  max-width: 100%;
  font-family: Arial, FreeSans, system-ui, -apple-system, "Segoe UI";
  font-size: 1rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .25rem;
  border-bottom: 1px solid #94a3b8;  /* slate-400 */
  background: transparent;
}

/* Spalten: Datum/Titel/Ort links, Tickets rechts */
div.JSHOW_fim { 
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  align-items: center;
  flex: 1 1 auto;
  min-width: 60%;
}
div.JSHOW_fimt {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .4rem;
  flex: 0 0 auto;
}

/* Datum */
div.JSHOW_fid {
  color: #0f172a;            /* slate-900 */
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Titel + Ort */
div.JSHOW_fi {
  color: #0c4a6e;            /* sky-900 */
  font-weight: 500;
  white-space: nowrap;
}
div.JSHOW_fis {
  color: #64748b;            /* slate-500 */
  font-style: italic;
  font-size: .9rem;
  white-space: nowrap;
}

/* Gefüllter, blauer Pillen-Button im Lichterkinder-Stil */
a.JSHOW_t,
a.JSHOW_ts {
  display: inline-block;
  padding: 0.6rem 1rem;          /* passt zu der Pillenoptik */
  border-radius: 9999px;         /* volle Rundung */
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;                  /* kein sichtbarer Rahmen */
  background: #4f7dbf;           /* blauer Ton aus Screenshot (anpassbar) */
  color: #ffffff;                /* weiße Schrift */
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease;
}

/* Hover/Active States */
a.JSHOW_t:hover {
  background: #3d6eb6;           /* etwas dunkler */
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
a.JSHOW_t:active {
  transform: translateY(1px);
}

/* Disabled/ausverkauft Variante (ts) */
a.JSHOW_ts {
  cursor: not-allowed;
  opacity: .6;
}
a.JSHOW_ts:hover {               /* keine starke Reaktion im Disabled-Zustand */
  background: #4f7dbf;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* Falls Buttons in einer Gruppe stehen: kleiner Zwischenraum */
div.JSHOW_fimt a.JSHOW_t,
div.JSHOW_fimt a.JSHOW_ts {
  margin-left: .35rem;
}

/* “Keine Events” Text */
.JSHOW_noevents{
  font-style: italic;
  text-align: center !important;
  font-size: 0.9rem !important;
  padding: 10px 0;
  display: block !important;
  color: #64748b;               /* slate-500 */
}

/* Abstände zum restlichen Layout */
.block-headline-html { 
  margin: 2rem 0;
}
.block-headline-html .custom-html .JSHOW_f:first-child { 
  border-top: 1px solid #94a3b8;
}

/* Responsive wie eure Sections mittig und stacked */
@media (max-width: 1024px){
  .block-headline-html .container { max-width: 800px; }
}
@media (max-width: 640px){
  div.JSHOW_f { 
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .65rem .25rem;
  }
  div.JSHOW_fim { min-width: 100%; }
  div.JSHOW_fimt { width: 100%; justify-content: flex-start; }
  a.JSHOW_t, a.JSHOW_ts { font-size: .7rem; padding: .4rem .7rem; }
}