/* jobort darstellen */
.jobort {
  display: inline-block;             /* inline damit es im Satz passt */
  align-items: center;
  font-weight: 400;
  color: var(--bt-blue);                      /* Textfarbe */
  padding: 2px 28px;
  background: var(--bt-green);              /* leichter Hintergrund */
  border-radius: 24px;
  margin: 0 12px;
  font-size: 22px;
}

/* Icon automatisch davor einfügen */
.jobort::before {
  content: "\f3c5";                    /* FontAwesome Icon: fa-map-marker-alt */
  font-family: "Font Awesome 5 Free";  /* oder 6, je nach Version */
  font-weight: 900;                    /* Solid-Variante */
  color: var(--bt-blue);               /* Blau */
  margin-right: 6px;
  font-size: 22px;
}
.bb-post-box .jobort{
  display: block;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;   /* schrumpft auf Inhalt */
  max-width: 100%;
  margin-bottom: 4px;   /* Abstand zur nächsten Zeile */
}
/* Shrink‑to‑Fit‑Trick - läuft aber auch in zickigen Browsern absolut stabil.
.bb-post-box .jobort{
  display: table;       // blockig + schrumpft auf Inhalt 
  margin-bottom: 4px;
}
*/

.bb-posts-loop-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.bb-post-box {
  padding: 20px;
  border-radius: 8px;
  color: #333;
  line-height: 1.6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bb-bg-lightgrey {
  background-color: var(--bt-beige); /* bt-beige */
}
.bb-bg-lightgrey-landingpage {
  background-color: var(--bt-grey); /* bt-grau */
}
.bb-bg-purple { /* kein purple !! */
  background-color: var(--bt-ligth-green); /* bt-light-green */
}

.bb-post-box h1 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--bt-blue);
  font-weight: 500;
}
@media (max-width: 768px) {
  .bb-post-box h1 {
    font-size: 0.900em;   /* entspricht ungefähr h3 */
    font-weight: 600; /* wenn du es schwächer machen willst */
    line-height: 1.3;
    margin: 0 0 10px 0;
  }
}
.bb-post-box p {
  font-size: 16px;
  margin-bottom: 45px;
}

.bb-read-more {
    display: block;             /* für margin-left:auto */
    width: max-content;         /* nur so breit wie der Text */
    margin-left: auto;          /* nach rechts schieben */
    color: var(--bt-blue);
    font-weight: 200;
    font-size: 16px;
    text-decoration: none !important;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
    line-height: 1.2;
    transition: color .3s ease, border-color .3s ease;
}
.bb-read-more::after {
    content: "\f061";                   /* arrow-right */
    font-family: "Font Awesome 5 Free"; /* ggf. "Font Awesome 6 Free" */
    font-weight: 900;                   /* Solid */
    display: inline-block;              /* eigene Box -> transformierbar */
    margin-left: 6px;                   /* ersetzt dein früheres gap */
    transform: translateX(0);
    transition: transform .3s ease, color .3s ease;
}
.bb-read-more:hover {
    color: var(--bt-hover, #2a7be4);    /* fallback, falls Var fehlt */
    border-color: currentColor;         /* Linie färbt mit */
}
.bb-read-more:hover::after {
    transform: translateX(4px);
}
/* Wenn du unbedingt echte Underline willst (statt border):
.bb-read-more{ text-decoration: underline; }
.bb-read-more::after{ text-decoration: none; }  // Underline endet bewusst vor dem Pfeil
*/

/* Header‑Offset sauber einrechnen (ohne Hacks) für pagination */
/* Höhe anpassen: Header + ggf. Adminbar */
#aktuelles { 
  scroll-margin-top: 120px; /* z.B. 120px; an deine Header-Höhe anpassen */
}

.bb-pagination {
  margin-top: 30px;
  text-align: center;
}
span.page-numbers.current {
  font-size: 18px;
  color: #fff;
  padding: 8px 12px;
  background: var(--bt-green, #f0f0f0);
  border-radius: 5px;
}
.bb-pagination ul {
  list-style: none;
  display: inline-flex;
  padding: 0;
}
.bb-pagination li {
  margin: 0 5px;
}
.bb-pagination a {
  font-size: 18px;
  color: #fff;
  padding: 8px 12px;
  background: var(--bt-blue, #f0f0f0);
  border-radius: 5px;
  text-decoration: none;
}
.bb-pagination a:hover {
  background: var(--bt-hover);
  color: #fff;
}


/* Jobs Style single Job */
/* Wrapper für den Jobs-Bereich */
/* ===== Layout: sticky footer on short pages ===== */
html, body {
  height: 100%;
  margin: 0;
}

#page, .site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main-content {
  flex: 1 0 auto;
}

#colophon, .site-footer, footer#site-footer {
  margin-top: auto;
}

/* Rand entfernen */
.block-content,
.fullwidth-content,
.job-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Grauer Block bis zum Footer */
.custom-jobs-template {
  background-color: var(--bt-grey);
  padding: 40px;
  border-radius: 0; /* optional: volle Breite → Ecken weg */
  min-height: calc(100vh - 150px); /* Höhe bis Footer, Wert anpassen */
}

