/* === JH Termine START === */
/* Jakob Heymann – GigPress Wohnzimmer-Zeile, Layout 1.3.1
   Wird vom Plugin „JH GigPress Layout“ geladen.
   Monatsgruppen, Uhrzeit im Datumsblock, Ticket unter der Adresse (Weinrot),
   Pastellblau an Monatsüberschrift und Uhrzeit, größere Schrift.
*/
#termine .gigpress-artist-heading,
.gigpress-artist-heading,
.gigpress-heading {
  display: none;
}

.jh-gigs {
  width: 100%;
}

/* Override gegenüber Layout 1.2 (dort waren Monatsüberschrift und Uhrzeit ausgeblendet) */
.jh-gig-monthhead,
#termine .jh-gig-monthhead,
body.page-id-225 .jh-gig-monthhead {
  display: block !important;
}
.jh-gig-time,
#termine .jh-gig-time,
body.page-id-225 .jh-gig-time {
  display: block !important;
}


/* NEU: Monatsüberschriften; Überarbeitung: größer, Akzentfarbe */
.jh-gig-monthhead {
  font-family: "OPTIVenusBold-Condensed", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #A9C9D4;
  padding: 34px 0 8px;
  margin: 6px 0 2px;
  border-bottom: 1px solid rgba(169, 201, 212, 0.45);
  line-height: 1.2;
}

.jh-gig-monthhead:first-child {
  padding-top: 10px;
  margin-top: 0;
}

.jh-gig {
  position: relative;
  display: grid;
  /* Zwei Spalten: Datum links, Stadt/Location/Ticket rechts darunter. */
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas: "date main";
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.18);
  background: transparent !important;
  box-sizing: border-box;
  color: #F4F1EA;
}

/* Etwas engerer Anschluss der ersten Zeile an die Monatsüberschrift */
.jh-gig-monthhead + .jh-gig {
  padding-top: 18px;
}

.jh-gig-date {
  grid-area: date;
  align-self: center;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  align-items: baseline;
  column-gap: 0.4em;
  line-height: 1;
  padding-right: 16px;
  border-right: 1px solid rgba(169, 201, 212, 0.4);
  box-sizing: border-box;
  overflow: visible;
}

.jh-gig-wd {
  grid-column: 1 / -1;
  grid-row: 1;
  font-family: "OPTIVenus-Light", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
  margin-bottom: 4px;
}

.jh-gig-day {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: "OPTIVenusBold-Condensed", Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: normal;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.jh-gig-month,
.jh-gig-year {
  font-family: "OPTIVenusBold-Condensed", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
  white-space: nowrap;
  line-height: 1.45;
  padding-top: 4px;
}

.jh-gig-month {
  grid-column: 1;
  grid-row: 3;
}

.jh-gig-year {
  grid-column: 2;
  grid-row: 3;
}

/* NEU: Uhrzeit im Datumsblock; Überarbeitung: größer, dezenter Blauakzent */
.jh-gig-time {
  display: block;
  grid-column: 1 / -1;
  grid-row: 4;
  font-family: "OPTIVenus-Light", Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #A9C9D4;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 8px;
  padding-top: 0;
}

.jh-gig-main {
  grid-area: main;
  display: block;
  min-width: 0;
}

.jh-gig-city {
  font-family: "OPTIVenusBold-Condensed", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 6px;
}

/* Venue und Adresse als eigene, gestapelte Zeilen – kein Gedankenstrich-Satz */
.jh-gig-venue,
.jh-gig-address {
  font-family: "OPTIVenus-Light", Helvetica, Arial, sans-serif;
  font-size: 17px;
  color: rgba(244, 241, 234, 0.8);
  line-height: 1.4;
  display: block;
  margin: 0;
}

.jh-gig-address {
  font-size: 15px;
  color: rgba(244, 241, 234, 0.62);
  margin-top: 2px;
}

/* NEU: data-time- und Gedankenstrich-Pseudos entfernt */
.jh-gig-venue::after,
.jh-gig-address::before {
  content: none;
}

.jh-gig-venue a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.28);
}

.jh-gig-venue a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Adressen: Link bleibt, ohne ständige Unterstreichung */
.jh-gig-address a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.jh-gig-address a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

.jh-gig-note {
  display: block;
  font-family: "OPTIVenus-Light", Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: rgba(244, 241, 234, 0.8);
  margin: 6px 0 0;
  line-height: 1.35;
}

/* Ticket unter Location/Adresse, staubiges Weinrot #D08A92 auf Petrol.
   Schrift 21px (etwa +15% zu 18px), Tracking 0.08em, unterstrichener Link, ohne Pfeil. */
a.jh-gig-ticket,
a.gigpress-tickets-link.jh-gig-ticket,
.jh-gig-status {
  display: inline-block;
  box-sizing: border-box;
  font-family: "OPTIVenusBold-Condensed", Helvetica, Arial, sans-serif;
  font-size: 21px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #D08A92 !important;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(208, 138, 146, 0.75);
  padding: 0 0 3px;
  margin-top: 14px;
  white-space: nowrap;
  font-weight: normal;
}

a.jh-gig-ticket:hover,
a.gigpress-tickets-link.jh-gig-ticket:hover {
  border-bottom-color: #E4A8B0;
  color: #E4A8B0 !important;
}

/* Ausverkauft / abgesagt: im CSS vorbereitet, kein Beispieltermin so markiert */
.jh-gig.is-soldout,
.jh-gig.is-cancelled {
  opacity: 0.62;
}

.jh-gig.is-soldout .jh-gig-status,
.jh-gig.is-cancelled .jh-gig-status {
  border-bottom-color: rgba(208, 138, 146, 0.5);
  color: #D08A92 !important;
}

/* Termine-Seite (weißer / cremefarbener Hintergrund): dunkle Variante.
   Akzent dort kräftiger: #5B8A9A. Stadt und Tageszahl bleiben petrol. */
body.page-id-225 .jh-gig-monthhead{
  color: #5B8A9A;
  border-bottom-color: rgba(91, 138, 154, 0.4);
}

body.page-id-225 .jh-gig{
  border-bottom-color: rgba(48, 80, 80, 0.16);
  color: #305050;
}

body.page-id-225 .jh-gig-date{
  border-right-color: rgba(91, 138, 154, 0.4);
}

body.page-id-225 .jh-gig-wd,
body.page-id-225 .jh-gig-month,
body.page-id-225 .jh-gig-year{
  color: rgba(48, 80, 80, 0.66);
}

body.page-id-225 .jh-gig-time{
  color: #5B8A9A;
}

body.page-id-225 .jh-gig-day,
body.page-id-225 .jh-gig-city{
  color: #305050;
}

body.page-id-225 .jh-gig-venue,
body.page-id-225 .jh-gig-note{
  color: rgba(48, 80, 80, 0.78);
}

body.page-id-225 .jh-gig-address{
  color: rgba(48, 80, 80, 0.58);
}

body.page-id-225 .jh-gig-venue a{
  color: #305050;
  border-bottom-color: rgba(48, 80, 80, 0.3);
}

body.page-id-225 .jh-gig-venue a:hover{
  color: #204040;
  border-bottom-color: #305050;
}

body.page-id-225 .jh-gig-address a{
  color: inherit;
  border-bottom: none;
}

body.page-id-225 .jh-gig-address a:hover{
  color: #204040;
  border-bottom: 1px solid #305050;
}

body.page-id-225 a.jh-gig-ticket,
body.page-id-225 a.gigpress-tickets-link.jh-gig-ticket{
  color: #8B3A48 !important;
  border-bottom-color: rgba(139, 58, 72, 0.7);
}

body.page-id-225 a.jh-gig-ticket:hover,
body.page-id-225 a.gigpress-tickets-link.jh-gig-ticket:hover{
  border-bottom-color: #6E2A36;
  color: #6E2A36 !important;
}

body.page-id-225 .jh-gig.is-soldout .jh-gig-status,
body.page-id-225 .jh-gig.is-cancelled .jh-gig-status{
  color: #8B3A48 !important;
  border-bottom-color: rgba(139, 58, 72, 0.5);
}

@media (max-width: 767px) {
  .jh-gig {
    grid-template-columns: 108px 1fr;
    grid-template-areas: "date main";
    column-gap: 16px;
    padding: 24px 0;
  }

  .jh-gig-monthhead {
    font-size: 18px;
    padding: 28px 0 8px;
  }

  .jh-gig-monthhead:first-child {
    padding-top: 6px;
  }

  .jh-gig-monthhead + .jh-gig {
    padding-top: 16px;
  }

  .jh-gig-date {
    padding-right: 12px;
  }

  .jh-gig-wd,
  .jh-gig-month,
  .jh-gig-year {
    font-size: 13px;
  }

  .jh-gig-day {
    font-size: 38px;
  }

  .jh-gig-city {
    font-size: 26px;
  }

  .jh-gig-venue {
    font-size: 16px;
  }

  .jh-gig-address,
  .jh-gig-note {
    font-size: 15px;
  }

  .jh-gig-time {
    font-size: 13px;
    margin-top: 6px;
  }

  a.jh-gig-ticket,
  a.gigpress-tickets-link.jh-gig-ticket,
  .jh-gig-status {
    margin-top: 12px;
    font-size: 21px; /* 18px + etwa 15% */
  }
}
/* === JH Termine END === */


/* === Gegen das alte 1.2-CSS in den Divi-Theme-Optionen / et-cache === */
body .jh-gig,
#termine .jh-gig,
body.page-id-225 .jh-gig {
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  grid-template-areas: "date main" !important;
  align-items: start !important;
}
body .jh-gig-main,
#termine .jh-gig-main,
body.page-id-225 .jh-gig-main {
  display: block !important;
  grid-area: main !important;
  min-width: 0 !important;
}
body .jh-gig-venue,
body .jh-gig-address,
#termine .jh-gig-venue,
#termine .jh-gig-address,
body.page-id-225 .jh-gig-venue,
body.page-id-225 .jh-gig-address {
  display: block !important;
}
body .jh-gig-venue::after,
body .jh-gig-address::before,
#termine .jh-gig-venue::after,
#termine .jh-gig-address::before,
body.page-id-225 .jh-gig-venue::after,
body.page-id-225 .jh-gig-address::before {
  content: none !important;
}
body a.jh-gig-ticket,
body a.gigpress-tickets-link.jh-gig-ticket,
body .jh-gig-status,
#termine a.jh-gig-ticket,
body.page-id-225 a.jh-gig-ticket {
  justify-self: start !important;
  align-self: start !important;
  font-size: 21px !important;
  letter-spacing: 0.08em !important;
}
body a.jh-gig-ticket,
body a.gigpress-tickets-link.jh-gig-ticket,
#termine a.jh-gig-ticket {
  color: #D08A92 !important;
  border-bottom-color: rgba(208, 138, 146, 0.75) !important;
}
body.page-id-225 a.jh-gig-ticket,
body.page-id-225 a.gigpress-tickets-link.jh-gig-ticket {
  color: #8B3A48 !important;
  border-bottom-color: rgba(139, 58, 72, 0.7) !important;
}
body .jh-gig-city,
#termine .jh-gig-city {
  font-size: 30px !important;
}
@media (max-width: 767px) {
  body .jh-gig,
  #termine .jh-gig,
  body.page-id-225 .jh-gig {
    grid-template-columns: 108px 1fr !important;
    grid-template-areas: "date main" !important;
  }
  body .jh-gig-city,
  #termine .jh-gig-city {
    font-size: 26px !important;
  }
}
