/*
 Theme Name:   Hueman Child
 Theme URI:    https://gau-nu.de/hueman-child
 Description:  Child Theme für Hueman
 Author:       H.F.
 Author URI:   https://gau-nu.de
 Template:     hueman
 Version:      1.0.0
 Text Domain:  hueman-child
*/

/* Hier kommen deine eigenen CSS-Anpassungen rein */


/* =========================
   Böller-Veranstaltungen (Override, Hueman-sicher)
   ========================= */

/* Wrapper */
.boelcal-wrapper{
  margin: 1.25rem 0;
}

/* 2) Überschrift: hellblauer Balken über volle Breite */
.boelcal-wrapper > h2{
  display: block;
  width: 100%;
  margin: 0 0 0.85rem 0;
  padding: 0.55rem 0.85rem;

  /* Hellblau-Balken (anpassbar) */
background: #e6f3fd;   /* etwas heller & weicher */
  border-left: 6px solid #8cc8ee;
  color: #0b4d73;

  /* Text */
  color: #0b4d73;
  font-weight: 800;
}

/* Tabelle */
.boelcal-tabelle{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
}

/* 3) Tabellenkopf: hellblauer Balken nur am Tabellenanfang */
.boelcal-tabelle thead tr{
  background: #e6f3fd;
}
.boelcal-tabelle thead th{
  color: #0b4d73;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid rgba(0,0,0,0.10);

  /* linksbündig */
  text-align: left !important;

  /* Text */
  color: #0b4d73;
  font-weight: 800;
}

/* Zellen allgemein */
.boelcal-tabelle tbody td{
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.06);

  /* alle drei Spalten linksbündig */
  text-align: left !important;
}

/* 8) Zebra-Striping */
.boelcal-tabelle tbody tr:nth-child(odd){
  background: rgba(0,0,0,0.04);
}
.boelcal-tabelle tbody tr:nth-child(even){
  background: #fff;
}

/* 4) Datum stark hervorheben (Hueman-Override) */
.boelcal-tabelle td.boelcal-datum{
  font-weight: 900 !important;
  color: #000 !important;
  white-space: nowrap;
  width: 1%;
}

/* 5) Zeit normal */
.boelcal-tabelle td.boelcal-zeit{
  font-weight: 400 !important;
  color: inherit;
  white-space: nowrap;
  width: 1%;
}

/* 6) Termin: nur der ERSTE Link (Event-Link) stark hervorgehoben */
.boelcal-tabelle td.boelcal-termin > a{
  font-weight: 900 !important;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.25rem;
}
.boelcal-tabelle td.boelcal-termin > a:hover{
  text-decoration: underline;
}

/* 7) Ansprechpartner-Zeile (zweite Zeile) */
.boelcal-ersteller{
  margin-top: 0.1rem;
  font-size: 0.95em;
  opacity: 0.95;
}

/* Ansprechpartner-Link NICHT so stark wie Termin-Link */
.boelcal-ersteller a{
  font-weight: 600 !important;
  text-decoration: underline;
}
/* =========================
   Breiten + Hover (Böller-Tabelle)
   ========================= */

/* Termin-Spalte breiter: feste Layout-Basis, 3. Spalte bekommt den Rest */
.boelcal-tabelle{
  table-layout: fixed;
}

.boelcal-tabelle th:nth-child(1),
.boelcal-tabelle td:nth-child(1){
  width: 140px; /* Datum */
}

.boelcal-tabelle th:nth-child(2),
.boelcal-tabelle td:nth-child(2){
  width: 110px; /* Zeit */
}

.boelcal-tabelle th:nth-child(3),
.boelcal-tabelle td:nth-child(3){
  width: auto;  /* Termin */
}

/* alles linksbündig (falls Hueman irgendwo überschreibt) */
.boelcal-tabelle th,
.boelcal-tabelle td{
  text-align: left !important;
}

/* Hover-Effekt: dezentes Graublau über komplette Zeile */
.boelcal-tabelle tbody tr:hover{
  background: #e1eef8 !important; /* dezentes graublau */
}
/* Böller-Table Layout */
.boelcal-tabelle{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.boelcal-tabelle th,
.boelcal-tabelle td{
  text-align: left !important;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
}

.boelcal-tabelle th:nth-child(1),
.boelcal-tabelle td:nth-child(1){ width: 140px; }

.boelcal-tabelle th:nth-child(2),
.boelcal-tabelle td:nth-child(2){ width: 110px; }

.boelcal-tabelle th:nth-child(3),
.boelcal-tabelle td:nth-child(3){ width: auto; }

.boelcal-tabelle td.boelcal-datum,
.boelcal-tabelle td.boelcal-datum strong{
  font-weight: 900 !important;
  color: #000 !important;
}

.boelcal-eventlink{
  font-weight: 900 !important;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.boelcal-eventlink:hover{
  text-decoration: underline;
}

.boelcal-tabelle tbody tr:nth-child(odd){
  background: rgba(0,0,0,0.04);
}

.boelcal-tabelle tbody tr:nth-child(even){
  background: #fff;
}

.boelcal-tabelle tbody tr:hover{
  background: #e1eef8 !important;
}
/* ===== Böller-Veranstaltungen ===== */

/* Pastell-Balken Überschrift */
.boelcal-wrapper > h2{
  display:block;
  width:100%;
  margin:0 0 0.85rem 0;
  padding:0.55rem 0.85rem;
  background:#e6f3fd;
  border-left:6px solid #8cc8ee;
  color:#0b4d73;
  font-weight:800;
}

/* Tabelle + Kopf */
.boelcal-tabelle{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed; /* nötig für feste Spaltenbreiten */
}

.boelcal-tabelle thead tr{ background:#e6f3fd; }

.boelcal-tabelle th,
.boelcal-tabelle td{
  text-align:left !important;   /* alle Spalten linksbündig */
  vertical-align:top;
  padding:0.65rem 0.75rem;
  border-bottom:1px solid rgba(0,0,0,0.06);
}

.boelcal-tabelle thead th{
  color:#0b4d73;
  font-weight:800;
  border-bottom:2px solid rgba(0,0,0,0.10);
}

/* Termin-Spalte breiter (Datum + Zeit schmal) */
.boelcal-tabelle th:nth-child(1),
.boelcal-tabelle td:nth-child(1){ width: 160px; }  /* Datum */

.boelcal-tabelle th:nth-child(2),
.boelcal-tabelle td:nth-child(2){ width: 120px; }  /* Zeit */

.boelcal-tabelle th:nth-child(3),
.boelcal-tabelle td:nth-child(3){ width: auto; }   /* Termin */

/* Zebra */
.boelcal-tabelle tbody tr:nth-child(odd){ background: rgba(0,0,0,0.04); }
.boelcal-tabelle tbody tr:nth-child(even){ background: #fff; }

/* Hover: dezentes Graublau */
.boelcal-tabelle tbody tr:hover{ background:#e1eef8 !important; }

/* Datum stark */
.boelcal-tabelle td.boelcal-datum,
.boelcal-tabelle td.boelcal-datum strong{
  font-weight:900 !important;
  color:#000 !important;
}

/* Termin-Link (nur Event-Link) stark */
.boelcal-eventlink{
  font-weight:900 !important;
  text-decoration:none;
  display:inline-block;
  margin-bottom:0.25rem;
}
.boelcal-eventlink:hover{ text-decoration:underline; }

/* Ansprechpartner dezenter */
.boelcal-ersteller{ margin-top:0.15rem; font-size:0.95em; }
.boelcal-contactlink{ font-weight:600 !important; text-decoration:underline; }

/* =========================================================
   Böllerveranstaltungen – finale Styles (Hueman Override)
   Nur innerhalb .boelcal-wrapper wirksam
   ========================================================= */

/* Überschrift: pastelliger Balken volle Breite */
.boelcal-wrapper > h2{
  display: block !important;
  width: 100% !important;
  margin: 0 0 0.85rem 0 !important;
  padding: 0.55rem 0.85rem !important;
  background: #e6f3fd !important;
  border-left: 6px solid #8cc8ee !important;
  color: #0b4d73 !important;
  font-weight: 800 !important;
}

/* Tabelle: Reset + Layout */
.boelcal-wrapper table.boelcal-tabelle{
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: fixed !important; /* nötig für feste Spaltenbreiten */
  margin: 0 !important;
}

/* Tabellenkopf: pastellig */
.boelcal-wrapper table.boelcal-tabelle thead tr{
  background: #e6f3fd !important;
}
.boelcal-wrapper table.boelcal-tabelle thead th{
  text-align: left !important;
  padding: 0.6rem 0.75rem !important;
  color: #0b4d73 !important;
  font-weight: 800 !important;
  border-bottom: 2px solid rgba(0,0,0,0.10) !important;
}

/* Zellen: linksbündig + saubere Trennlinien */
.boelcal-wrapper table.boelcal-tabelle tbody td{
  text-align: left !important;      /* alle drei Spalten linksbündig */
  vertical-align: top !important;
  padding: 0.65rem 0.75rem !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* Spaltenbreiten: Termin breiter */
.boelcal-wrapper table.boelcal-tabelle th:nth-child(1),
.boelcal-wrapper table.boelcal-tabelle td:nth-child(1){
  width: 160px !important; /* Datum */
}

.boelcal-wrapper table.boelcal-tabelle th:nth-child(2),
.boelcal-wrapper table.boelcal-tabelle td:nth-child(2){
  width: 120px !important; /* Zeit */
}

.boelcal-wrapper table.boelcal-tabelle th:nth-child(3),
.boelcal-wrapper table.boelcal-tabelle td:nth-child(3){
  width: auto !important; /* Termin */
}

/* Zebra-Striping */
.boelcal-wrapper table.boelcal-tabelle tbody tr:nth-child(odd){
  background: rgba(0,0,0,0.04) !important;
}
.boelcal-wrapper table.boelcal-tabelle tbody tr:nth-child(even){
  background: #fff !important;
}

/* Hover: dezentes Graublau über komplette Zeile */
.boelcal-wrapper table.boelcal-tabelle tbody tr:hover{
  background: #e1eef8 !important;
}

/* Datum stark hervorheben */
.boelcal-wrapper table.boelcal-tabelle td.boelcal-datum{
  font-weight: 900 !important;
  color: #000 !important;
}

/* Zeit normal (und wird bei ganztägig bereits leer gerendert) */
.boelcal-wrapper table.boelcal-tabelle td.boelcal-zeit{
  font-weight: 400 !important;
}

/* Termin: NUR der Event-Link (1. Zeile) stark hervorgehoben */
.boelcal-wrapper table.boelcal-tabelle td.boelcal-termin > a.boelcal-eventlink{
  font-weight: 900 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-bottom: 0.25rem !important;
}
.boelcal-wrapper table.boelcal-tabelle td.boelcal-termin > a.boelcal-eventlink:hover{
  text-decoration: underline !important;
}

/* Ansprechpartner-Zeile */
.boelcal-wrapper .boelcal-ersteller{
  margin-top: 0.15rem !important;
  font-size: 0.95em !important;
  opacity: 0.95 !important;
}
.boelcal-wrapper .boelcal-ersteller a.boelcal-contactlink{
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* ==========ROTER RAND===============
*/

/*.boelcal-wrapper { outline: 3px solid red !important; }
*/
/* ==========ROTER RAND ENDE===============
*/


/* Terminüberschrift stärker hervorheben */
.boelcal-wrapper table.boelcal-tabelle td.boelcal-termin > a.boelcal-eventlink{
  font-size: 1.15rem !important;   /* größer als normaler Text */
  font-weight: 900 !important;    /* sehr fett */
  line-height: 1.25 !important;
  display: inline-block !important;
  margin-bottom: 0.35rem !important;
}
.boelcal-wrapper table.boelcal-tabelle td.boelcal-termin > a.boelcal-eventlink{
  color: #0b4d73 !important;
}

/* Datum + Zeit noch schmäler → Termin bekommt mehr Raum */
.boelcal-wrapper table.boelcal-tabelle th:nth-child(1),
.boelcal-wrapper table.boelcal-tabelle td:nth-child(1){
  width: 130px !important;   /* Datum schmaler */
}

.boelcal-wrapper table.boelcal-tabelle th:nth-child(2),
.boelcal-wrapper table.boelcal-tabelle td:nth-child(2){
  width: 90px !important;    /* Zeit schmaler */
}

/* Termin bleibt flexibel */
.boelcal-wrapper table.boelcal-tabelle th:nth-child(3),
.boelcal-wrapper table.boelcal-tabelle td:nth-child(3){
  width: auto !important;
}


/* Monats-Überschriftenzeile (als Trennbalken in der Tabelle) */
.boelcal-wrapper .boelcal-month td{
  background: #e6f3fd !important;
  border-bottom: 2px solid rgba(0,0,0,0.10) !important;
  color: #0b4d73 !important;
  font-weight: 900 !important;
  padding: 0.55rem 0.75rem !important;
}

/* Sticky Tabellenkopf beim Scrollen */
.boelcal-wrapper table.boelcal-tabelle thead th{
  position: sticky;
  top: 0;
  z-index: 5;
}

/* damit Sticky auch optisch stabil bleibt */
.boelcal-wrapper table.boelcal-tabelle thead tr{
  background: #e6f3fd !important;
}


.boelcal-print{
  display: inline-block;
  margin: 0 0 0.75rem 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

@media print{
  .boelcal-print{ display:none !important; }
  header, nav, footer, .sidebar, .widget, .comments{ display:none !important; } /* je nach Theme */
  .boelcal-wrapper{ outline: none !important; }
  .boelcal-wrapper table.boelcal-tabelle thead th{
    position: static !important; /* Sticky im Print aus */
  }
}
