/* Jobseite für Partner-Jobs (inc/design/jobseite.php). */
.grz-job{padding:32px 0 64px}
.grz-job-raster{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.grz-job-brot{display:flex;gap:8px;font-size:14px;color:var(--grz-grau);margin:0 0 16px}
.grz-job-brot a{color:var(--grz-blau);text-decoration:none}
.grz-job-karte{padding:32px 36px;display:flex;flex-direction:column;gap:22px}
.grz-job-kopf{display:flex;gap:20px;align-items:flex-start}
.grz-job-logo{flex:0 0 72px;width:72px;height:72px;border-radius:14px;background:var(--grz-flaeche);border:1px solid var(--grz-linie);display:grid;place-items:center;overflow:hidden}
.grz-job-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.grz-job-logo span{font:700 20px/1 var(--grz-f-head);color:var(--grz-blau-tief)}
body .grz-job h1.job-title{font-size:clamp(28px,3.4vw,38px);line-height:1.1;margin:0 0 6px}
body .grz-job h1.job-title a{color:var(--grz-tinte);text-decoration:none}
.grz-job-firma{margin:0;font-size:17px;color:#3c4043}
.grz-job-fakten{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.grz-job-fakten>div{background:var(--grz-flaeche);border-radius:12px;padding:14px 16px}
.grz-job-fakten dt{font-size:13px;color:var(--grz-grau);font-weight:400}
.grz-job-fakten dd{margin:4px 0 0;font-weight:500}
.grz-job-aktionen{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.grz-job-hinweis{font-size:13px;color:var(--grz-grau)}
body .grz-job .grz-btn{min-height:48px;padding:0 22px;font-size:16px;gap:10px;width:auto}
/* Merken-Knopf des Job-Plugins im Stil eines Zweitknopfs (Klicks übernimmt grz-gast bzw. das Plugin) */
body .grz-job .btn-add-job-shortlist,body .grz-job .btn-added-job-shortlist{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;background:#fff;border:1px solid #d5d8df;border-radius:var(--grz-r-btn);color:var(--grz-tinte);font:500 15px/1.2 var(--grz-f-text);text-decoration:none;box-shadow:none}
body .grz-job .btn-add-job-shortlist:hover{background:var(--grz-flaeche)}
body .grz-job .btn-add-job-shortlist i{font-size:18px}
.grz-job-text{border-top:1px solid var(--grz-linie);padding-top:26px;max-width:70ch;font-size:17px;line-height:1.65;color:var(--grz-tinte);text-align:left}
.grz-job-text *{text-align:left!important}
.grz-job-text p{margin:0 0 16px}
.grz-job-text ul,.grz-job-text ol{margin:0 0 20px;padding-left:22px}
.grz-job-text li{margin:0 0 8px}
.grz-job-text h2,.grz-job-text h3,.grz-job-text h4,.grz-job-text strong:only-child{font-family:var(--grz-f-head);color:var(--grz-blau);font-size:22px;line-height:1.2;margin:26px 0 10px}
.grz-job-text h2:first-child,.grz-job-text h3:first-child{margin-top:0}
.grz-job-ende{background:var(--grz-flaeche);border-radius:14px;padding:20px 22px;display:flex;align-items:center;gap:18px;justify-content:space-between}
.grz-job-ende div{display:flex;flex-direction:column;gap:4px}
.grz-job-ende strong{font:500 17px/1.3 var(--grz-f-titel)}
.grz-job-ende span{font-size:14px;color:var(--grz-grau)}
.grz-job-quelle{margin:0;font-size:13px;color:var(--grz-grau)}
.grz-job-seite{display:flex;flex-direction:column;gap:16px;position:sticky;top:104px}
.grz-job-box{padding:22px;display:flex;flex-direction:column;gap:12px}
.grz-job-box h2{font-size:22px}
.grz-job-box p{margin:0;font-size:14px;line-height:1.5;color:#3c4043}
.grz-job-box ul{list-style:none;margin:0;padding:0}
.grz-job-box li a{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--grz-linie);color:var(--grz-tinte);text-decoration:none}
.grz-job-a-titel{font:500 15px/1.3 var(--grz-f-titel)}
.grz-job-a-meta{font-size:13px;color:var(--grz-grau)}
.grz-job-leiste{display:none}

@media (max-width:900px){
  .grz-job{padding:20px 0 120px}
  .grz-job-raster{grid-template-columns:1fr}
  .grz-job-seite{position:static}
  .grz-job-karte{padding:22px 18px}
  .grz-job-kopf{gap:14px}
  .grz-job-logo{flex-basis:56px;width:56px;height:56px}
  .grz-job-fakten{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .grz-job-aktionen,.grz-job-ende{display:none}
  .grz-job-text{font-size:16px;padding-top:20px}
  /* Bewerben-Leiste: immer sichtbar am unteren Bildschirmrand */
  .grz-job-leiste{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:900;background:#fff;box-shadow:0 -4px 16px rgba(16,38,58,.08);padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  body .grz-job .grz-job-leiste .grz-btn{flex:1 1 auto;justify-content:center}
  body .grz-job .grz-job-leiste .btn-add-job-shortlist{flex:0 0 48px;width:48px;padding:0;justify-content:center}
  body .grz-job .grz-job-leiste .btn-add-job-shortlist span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}
/* Leere Absätze und Umbrüche aus Partnertexten nicht als Lücke zeigen */
.grz-job-text p:empty,.grz-job-text p:has(>br:only-child){display:none}
.grz-job-text>:last-child{margin-bottom:0}
