/* Newsroom 1.0.6 – robuste Vereinsdaten, konsistente Kacheltypografie und cleanes Artikeldesign */
.newsroom-preview{
  position:relative;left:50%;transform:translateX(-50%);
  width:min(var(--newsroom-width,94vw),calc(100vw - 24px));max-width:none;
  margin:12px auto 60px;color:#20242b;font-family:inherit;
}
.newsroom-grid{
  display:grid;
  /* Drei echte Spalten. Nur einzelne Titel-/Hochformate belegen mehrere Rasterzellen. */
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:clamp(170px,17vw,255px);
  gap:8px;
  grid-auto-flow:row dense;
  align-items:stretch;
}
.newsroom-card{position:relative;min-width:0;min-height:0;overflow:hidden;background:#252a31;border-radius:7px;isolation:isolate;grid-column:span 1;grid-row:span 1;container-type:inline-size}
/* Nur der erste Beitrag ist eine breite Titelgeschichte. Danach wechseln einzelne Hoch- und Querformate;
   die dichte Rasterbelegung verhindert weiße Restflächen und vermeidet wiederkehrende Hero-Kacheln. */
.newsroom-card:nth-child(1){grid-column:span 2;grid-row:span 2}
.newsroom-card:nth-child(2){grid-column:span 1;grid-row:span 2}
.newsroom-card:nth-child(6):not(:nth-last-child(-n+2)),.newsroom-card:nth-child(13):not(:nth-last-child(-n+2)),.newsroom-card:nth-child(20):not(:nth-last-child(-n+2)),.newsroom-card:nth-child(27):not(:nth-last-child(-n+2)){grid-column:span 1;grid-row:span 2}
.newsroom-card:nth-child(10):not(:last-child),.newsroom-card:nth-child(17):not(:last-child),.newsroom-card:nth-child(25):not(:last-child){grid-column:span 2;grid-row:span 1}
.newsroom-card-main{position:absolute;inset:0;display:block;color:#fff!important;text-decoration:none!important;overflow:hidden;outline-offset:-3px}
.newsroom-card-main:link,.newsroom-card-main:visited,.newsroom-card-main:hover,.newsroom-card-main:focus,.newsroom-card-main:active{color:#fff!important;text-decoration:none!important}
.newsroom-card-image,.newsroom-card-image img{position:absolute;inset:0;width:100%;height:100%;display:block}
.newsroom-card-image img{object-fit:cover;transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .55s ease;transform:scale(1.001)}
.newsroom-card:hover .newsroom-card-image img{transform:scale(1.065);filter:saturate(1.1)}
.newsroom-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12) 0%,rgba(0,0,0,.02) 35%,rgba(0,0,0,.84) 100%);pointer-events:none;transition:background .35s ease}
.newsroom-card:hover .newsroom-card-shade{background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.04) 30%,rgba(0,0,0,.9))}
.newsroom-card-copy{position:absolute;left:clamp(10px,1.15vw,22px);right:clamp(10px,1.15vw,22px);bottom:clamp(10px,1.15vw,19px);display:flex;flex-direction:column;align-items:flex-start;gap:6px;z-index:3;pointer-events:none}
.newsroom-card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#fff!important;font-size:clamp(var(--newsroom-font-small,16px),calc(var(--newsroom-font-medium,19px) + (100cqi - 500px) * .015),var(--newsroom-font-large,23px));font-weight:800;line-height:1.16;text-decoration:none!important;text-shadow:0 1px 4px rgba(0,0,0,.9);transition:color .25s ease}
.newsroom-card-title,.newsroom-card-title *{text-decoration:none!important}
.newsroom-card:hover .newsroom-card-title{color:#fff!important;text-decoration:none!important}
.newsroom-card-date,.newsroom-card-comments{font-size:clamp(11px,.85vw,14px);line-height:1.2;color:#fff;text-shadow:0 1px 3px #000}
/* Vereinsbadges links oben, unabhängig vom Artikel-Link anklickbar. */
.newsroom-card-badges{position:absolute;z-index:8;top:10px;left:10px;right:auto;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px;max-width:68%;pointer-events:auto}
.newsroom-badge{display:inline-block;padding:4px 8px;background:var(--newsroom-badge-bg,rgba(16,110,65,.96))!important;color:var(--newsroom-badge-fg,#fff)!important;font-size:clamp(10px,.78vw,13px);font-weight:750;line-height:1.1;text-decoration:none!important;box-shadow:0 1px 4px rgba(0,0,0,.35);transition:filter .2s ease,transform .2s ease}
.newsroom-badge:link,.newsroom-badge:visited,.newsroom-badge:hover,.newsroom-badge:focus{color:var(--newsroom-badge-fg,#fff)!important;background:var(--newsroom-badge-bg,rgba(16,110,65,.96))!important;text-decoration:none!important}
.newsroom-badge:hover{filter:brightness(1.18);transform:translateY(-1px)}
/* Vereinslogos immer oben rechts in der Bildecke – niemals mittig. */
.newsroom-card-club-logos{position:absolute;z-index:7;top:9px;right:9px;display:flex;align-items:flex-start;justify-content:flex-end;gap:5px;max-width:34%;pointer-events:none}
.newsroom-card-club-logo{width:clamp(38px,4.1vw,66px);height:clamp(38px,4.1vw,66px);display:flex;align-items:center;justify-content:center;padding:4px;background:rgba(255,255,255,.96);border-radius:50%;box-shadow:0 2px 9px rgba(0,0,0,.34);flex:0 0 auto}
.newsroom-card-club-logo img{display:block;width:100%;height:100%;object-fit:contain}
.newsroom-no-image{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:24px;font-weight:900;letter-spacing:.05em;background:linear-gradient(135deg,#293747,#687b8b)}
.newsroom-access-denied{padding:16px;border:1px solid #ddd;background:#fafafa;border-radius:5px}
/* Interne Einzelartikel-Vorschau */
.newsroom-article-preview{position:relative;left:50%;transform:translateX(-50%);width:min(var(--newsroom-width,94vw),calc(100vw - 24px));max-width:none;margin:12px auto 60px;color:#20242b;border:0!important;box-shadow:none!important;background:transparent!important}
.newsroom-back{margin:0 0 18px}.newsroom-back a{color:#c92e27;text-decoration:none!important;font-weight:700}
.newsroom-article-header{display:grid;grid-template-columns:minmax(230px,34%) 1fr;gap:26px;align-items:center;margin-bottom:28px}
.newsroom-article-featured img{display:block;width:100%;height:210px;object-fit:cover;border-radius:0!important;box-shadow:none!important}.newsroom-article-featured a{display:block;cursor:zoom-in}
.newsroom-article-heading h1{font-size:clamp(27px,3.2vw,44px);line-height:1.12;margin:0 0 14px;color:#20242b}
.newsroom-article-date{margin:6px 0;color:#505762}
.newsroom-article-author{display:flex;align-items:center;gap:9px;margin:9px 0;color:#505762;font-weight:600}
.newsroom-author-avatar{width:42px!important;height:42px!important;border-radius:50%;object-fit:cover;display:block}
.newsroom-article-clubs{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.newsroom-article-club{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:0!important;background:var(--newsroom-badge-bg,#eee)!important;color:var(--newsroom-badge-fg,#222)!important;text-decoration:none!important;font-weight:750;box-shadow:0 1px 4px rgba(0,0,0,.12);transition:filter .2s ease,transform .2s ease}
.newsroom-article-club:link,.newsroom-article-club:visited,.newsroom-article-club:hover,.newsroom-article-club:focus{background:var(--newsroom-badge-bg,#eee)!important;color:var(--newsroom-badge-fg,#222)!important;text-decoration:none!important}
.newsroom-article-club:hover{filter:brightness(1.08);transform:translateY(-1px)}
.newsroom-article-club img{width:34px;height:34px;object-fit:contain;flex:0 0 auto;border-radius:0!important}
.newsroom-article-content{padding:18px 0;border:0!important;border-radius:0!important;box-shadow:none!important;line-height:1.75;text-align:justify;background:transparent!important;display:flow-root}
.newsroom-article-content img{max-width:100%;height:auto}
.newsroom-inline-image{width:min(24%,250px);margin:8px 20px 14px 0;float:left;clear:none}
.newsroom-inline-image-right{float:right;margin:8px 0 14px 20px}
.newsroom-inline-image img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;border-radius:0!important;box-shadow:none!important}.newsroom-inline-image a{display:block;cursor:zoom-in}.newsroom-article-content img{cursor:zoom-in}
@media(max-width:1024px){
 .newsroom-preview{width:min(var(--newsroom-width,96vw),calc(100vw - 20px));margin-top:10px}
 .newsroom-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(165px,24vw,230px);gap:7px}
 .newsroom-card,.newsroom-card:nth-child(n){grid-column:span 1;grid-row:span 1}
 .newsroom-card:nth-child(1){grid-column:span 2;grid-row:span 2}
 .newsroom-card:nth-child(7),.newsroom-card:nth-child(14),.newsroom-card:nth-child(21),.newsroom-card:nth-child(28){grid-column:span 1;grid-row:span 2}
 .newsroom-card:nth-child(10),.newsroom-card:nth-child(18),.newsroom-card:nth-child(26){grid-column:span 2;grid-row:span 1}
 .newsroom-card-club-logos{max-width:30%}
 .newsroom-article-header{grid-template-columns:minmax(220px,40%) 1fr;gap:20px}
}
@media(max-width:600px){
 .newsroom-preview{width:calc(100vw - 16px);margin:8px auto 36px}
 .newsroom-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:7px}
 .newsroom-card,.newsroom-card:nth-child(n){grid-column:1;grid-row:auto;aspect-ratio:1.62/1;min-height:185px}
 .newsroom-card:nth-child(1),.newsroom-card:nth-child(10),.newsroom-card:nth-child(20){aspect-ratio:1.48/1;min-height:220px}
 .newsroom-card-copy{left:14px;right:14px;bottom:13px;gap:6px}
 .newsroom-card-title,.newsroom-card-size-large .newsroom-card-title,.newsroom-card-size-medium .newsroom-card-title,.newsroom-card-size-small .newsroom-card-title{-webkit-line-clamp:3}
 .newsroom-card-date{font-size:12px}
 .newsroom-card-badges{top:9px;left:9px;right:auto;gap:4px;max-width:62%}
 .newsroom-badge{font-size:10px;padding:4px 6px}
 .newsroom-card-club-logos{top:8px;right:8px;max-width:34%;gap:3px}
 .newsroom-card-club-logo{width:44px;height:44px}
 .newsroom-article-preview{width:calc(100vw - 16px);left:50%;transform:translateX(-50%)}
 .newsroom-article-header{grid-template-columns:1fr;gap:16px}
 .newsroom-article-featured img{height:auto;max-height:210px}
 .newsroom-article-content{padding:14px 0}
 .newsroom-inline-image,.newsroom-inline-image-right{float:none;width:min(78%,320px);max-width:100%;margin:16px auto}
}

/* Dunkle Lightbox für alle Artikelbilder inkl. Titelbild und ACF-Zusatzbilder */
.newsroom-lightbox[hidden]{display:none!important}
.newsroom-lightbox{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.94);padding:56px 76px;box-sizing:border-box}
.newsroom-lightbox-image{display:block;max-width:calc(100vw - 180px);max-height:calc(100vh - 112px);width:auto;height:auto;object-fit:contain;box-shadow:0 8px 40px rgba(0,0,0,.45)}
.newsroom-lightbox button{position:absolute;border:0!important;background:rgba(255,255,255,.14)!important;color:#fff!important;width:48px;height:48px;border-radius:50%;font-size:34px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:none!important;text-decoration:none!important}
.newsroom-lightbox button:hover{background:rgba(255,255,255,.28)!important;color:#fff!important}
.newsroom-lightbox-close{top:18px;right:22px}.newsroom-lightbox-prev{left:20px;top:50%;transform:translateY(-50%)}.newsroom-lightbox-next{right:20px;top:50%;transform:translateY(-50%)}
.newsroom-lightbox-trigger{cursor:zoom-in}
@media(max-width:600px){.newsroom-lightbox{padding:52px 12px}.newsroom-lightbox-image{max-width:calc(100vw - 24px);max-height:calc(100vh - 104px)}.newsroom-lightbox button{width:42px;height:42px;font-size:30px}.newsroom-lightbox-close{top:10px;right:10px}.newsroom-lightbox-prev{left:8px}.newsroom-lightbox-next{right:8px}}

html.newsroom-lightbox-open{overflow:hidden}
.newsroom-card:not(:nth-child(1)) .newsroom-card-club-logo{width:clamp(32px,3.1vw,52px);height:clamp(32px,3.1vw,52px)}
.newsroom-card-club-logos{flex-wrap:wrap;max-height:calc(2 * clamp(32px,3.1vw,52px) + 8px);overflow:hidden}

/* ACF Vereinsfarben haben Vorrang vor Theme-Linkfarben und Hover-Regeln. */
.newsroom-preview .newsroom-card-badges a.newsroom-badge,.newsroom-preview .newsroom-card-badges a.newsroom-badge:link,.newsroom-preview .newsroom-card-badges a.newsroom-badge:visited,.newsroom-preview .newsroom-card-badges a.newsroom-badge:hover,.newsroom-preview .newsroom-card-badges a.newsroom-badge:focus,.newsroom-article-preview .newsroom-article-clubs a.newsroom-article-club,.newsroom-article-preview .newsroom-article-clubs a.newsroom-article-club:link,.newsroom-article-preview .newsroom-article-clubs a.newsroom-article-club:visited,.newsroom-article-preview .newsroom-article-clubs a.newsroom-article-club:hover,.newsroom-article-preview .newsroom-article-clubs a.newsroom-article-club:focus{background-color:var(--newsroom-badge-bg,#146b43)!important;color:var(--newsroom-badge-fg,#fff)!important;text-decoration:none!important;border:0!important}
.newsroom-preview .newsroom-card-badges a.newsroom-badge:hover,.newsroom-article-preview .newsroom-article-clubs a.newsroom-article-club:hover{filter:brightness(1.08)}
.newsroom-article-preview,.newsroom-article-preview *{box-shadow:none}
.newsroom-article-featured img,.newsroom-article-content img,.newsroom-inline-image img{border-radius:0!important}

/* Newsroom 1.0.6: Artikel- und Mosaikbreite identisch; Bilder bündig an der jeweiligen Textseite. */
.newsroom-article-preview{box-sizing:border-box}
.newsroom-article-content p,.newsroom-article-content li{text-align:justify}
.newsroom-inline-image{margin-left:0!important}
.newsroom-inline-image-right{margin-right:0!important}
@media(max-width:600px){.newsroom-inline-image,.newsroom-inline-image-right{margin:16px 0!important;width:min(78%,320px);max-width:100%}}


/* Newsroom 1.0.7 – transparente Logos, konsistente Zusatzbilder und mobile Artikeldarstellung. */
.newsroom-card-club-logo{
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
}
.newsroom-card-club-logo img{
  width:100%;height:100%;object-fit:contain;
  background:transparent!important;
}
/* Zusatzbilder: quadratische Vorschau, einheitlicher Abstand zum Text und bündige Außenkanten. */
.newsroom-inline-image,.newsroom-inline-image-right{
  width:min(23%,220px);
  aspect-ratio:1/1;
  height:auto;
  margin-top:12px!important;
  margin-bottom:20px!important;
  overflow:hidden;
}
.newsroom-inline-image{margin-left:0!important;margin-right:24px!important}
.newsroom-inline-image-right{margin-right:0!important;margin-left:24px!important}
.newsroom-inline-image a{display:block;width:100%;height:100%}
.newsroom-inline-image img{
  display:block;width:100%!important;height:100%!important;
  max-height:none!important;object-fit:cover!important;
}
/* Die Lightbox wird per JavaScript direkt unter body verschoben und bezieht sich nur auf den Viewport. */
body > .newsroom-lightbox{
  position:fixed!important;inset:0!important;
  width:100vw!important;height:100vh!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;
  margin:0!important;padding:56px 76px!important;
  transform:none!important;border:0!important;border-radius:0!important;
  z-index:2147483000!important;box-sizing:border-box!important;
  background:rgba(0,0,0,.94)!important;
}
body > .newsroom-lightbox .newsroom-lightbox-image{
  width:auto!important;height:auto!important;
  max-width:calc(100vw - 180px)!important;
  max-height:calc(100vh - 112px)!important;
  max-height:calc(100dvh - 112px)!important;
  object-fit:contain!important;margin:0!important;
}
@media(max-width:600px){
  .newsroom-article-header{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:start!important;margin-bottom:18px!important}
  .newsroom-article-featured{width:min(100%,230px)!important;max-width:230px!important}
  .newsroom-article-featured img{width:100%!important;height:118px!important;max-height:118px!important;object-fit:cover!important}
  .newsroom-article-heading h1{font-size:clamp(23px,6vw,30px)!important;line-height:1.12!important;margin-bottom:8px!important}
  .newsroom-article-date{font-size:13px!important;margin:4px 0!important}
  .newsroom-article-author{font-size:13px!important;margin:6px 0!important}
  .newsroom-author-avatar{width:34px!important;height:34px!important}
  .newsroom-article-clubs{gap:6px!important;margin-top:9px!important}
  .newsroom-article-club{font-size:11px!important;padding:4px 7px!important;gap:5px!important}
  .newsroom-article-club img{width:25px!important;height:25px!important}
  .newsroom-inline-image,.newsroom-inline-image-right{
    float:none!important;clear:both!important;
    width:min(68vw,220px)!important;height:auto!important;aspect-ratio:1/1!important;
    margin:16px auto 20px!important;
  }
  .newsroom-inline-image a{height:100%!important}
  .newsroom-inline-image img{height:100%!important;object-fit:cover!important}
  body > .newsroom-lightbox{padding:52px 12px!important}
  body > .newsroom-lightbox .newsroom-lightbox-image{
    max-width:calc(100vw - 24px)!important;
    max-height:calc(100dvh - 104px)!important;
  }
}


/* Newsroom 1.0.8 – Feinschliff Logo-Schatten, Smartphone-Mosaik und Artikeldetailkopf. */
/* Freigestellte Vereinslogos: transparenter Hintergrund, nur dezenter Schatten am Motiv. */
.newsroom-card-club-logo{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  overflow:visible!important;
}
.newsroom-card-club-logo img{
  display:block;
  background:transparent!important;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.62)) drop-shadow(0 0 1px rgba(0,0,0,.4));
}
/* Artikeltitel kompakter; Autorenfoto auf Höhe der Autorenzeile. */
.newsroom-article-heading h1{
  font-size:clamp(23px,2.35vw,34px)!important;
  line-height:1.13!important;
  margin-bottom:9px!important;
}
.newsroom-author-avatar{width:30px!important;height:30px!important}
.newsroom-article-author{font-size:14px!important;gap:8px!important;margin:7px 0!important}
.newsroom-article-clubs{grid-column:1/-1;width:100%;margin-top:10px!important;display:flex;flex-wrap:wrap;align-items:center;gap:8px}

/* Tablet: Titelbild und Metadaten wieder nebeneinander; Vereinsbadges darunter über volle Breite. */
@media (min-width:601px) and (max-width:1024px){
  .newsroom-article-header{
    display:grid!important;
    grid-template-columns:minmax(190px,34%) minmax(0,1fr)!important;
    column-gap:18px!important;
    row-gap:10px!important;
    align-items:center!important;
  }
  .newsroom-article-featured{grid-column:1;grid-row:1;min-width:0}
  .newsroom-article-featured img{width:100%!important;height:170px!important;max-height:170px!important;object-fit:cover!important}
  .newsroom-article-heading{grid-column:2;grid-row:1;min-width:0}
  .newsroom-article-heading h1{font-size:clamp(21px,2.7vw,29px)!important;line-height:1.12!important;margin-bottom:8px!important}
  .newsroom-article-date{font-size:13px!important}
  .newsroom-article-author{font-size:13px!important}
  .newsroom-author-avatar{width:28px!important;height:28px!important}
  .newsroom-article-clubs{grid-column:1/-1!important;grid-row:2!important;margin-top:2px!important;width:100%!important}
  .newsroom-article-club{font-size:12px!important;padding:5px 8px!important}
  .newsroom-article-club img{width:27px!important;height:27px!important}
}

/* Smartphone: zurück zum kompakten Zweispalten-Mosaik der vorherigen Version. */
@media (max-width:600px){
  .newsroom-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;
    gap:6px!important;
  }
  .newsroom-card,.newsroom-card:nth-child(n){
    grid-column:span 1!important;
    grid-row:span 1!important;
    aspect-ratio:1.05/1!important;
    min-height:145px!important;
  }
  .newsroom-card-copy{left:9px!important;right:9px!important;bottom:9px!important;gap:4px!important}
  .newsroom-card-title,.newsroom-card-size-large .newsroom-card-title,.newsroom-card-size-medium .newsroom-card-title,.newsroom-card-size-small .newsroom-card-title{
    font-size:clamp(11px,3.1vw,14px)!important;
    line-height:1.12!important;
    -webkit-line-clamp:3!important;
  }
  .newsroom-card-date{font-size:10px!important}
  .newsroom-card-badges{max-width:68%!important;top:6px!important;left:6px!important;gap:3px!important}
  .newsroom-badge{font-size:9px!important;padding:3px 5px!important}
  .newsroom-card-club-logos{top:6px!important;right:6px!important;max-width:34%!important;gap:3px!important}
  .newsroom-card-club-logo{width:32px!important;height:32px!important}

  /* Mobile-Artikel: kompakter, aber weiterhin übersichtlich gestapelt. */
  .newsroom-article-header{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .newsroom-article-featured{width:100%!important;max-width:none!important}
  .newsroom-article-featured img{width:100%!important;height:160px!important;max-height:160px!important;object-fit:cover!important}
  .newsroom-article-heading h1{font-size:23px!important;line-height:1.12!important;margin-bottom:7px!important}
  .newsroom-article-date{font-size:12px!important}
  .newsroom-article-author{font-size:12px!important}
  .newsroom-author-avatar{width:26px!important;height:26px!important}
  .newsroom-article-clubs{grid-column:1!important;width:100%!important;margin-top:4px!important}
  .newsroom-article-club{font-size:10px!important;padding:4px 6px!important}
  .newsroom-article-club img{width:23px!important;height:23px!important}

  /* Im einspaltigen Textfluss nutzen Zusatzbilder die volle verfügbare Breite. */
  .newsroom-inline-image,.newsroom-inline-image-right{
    float:none!important;clear:both!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;aspect-ratio:16/10!important;
    margin:16px 0 20px!important;
  }
  .newsroom-inline-image a{height:100%!important}
  .newsroom-inline-image img{width:100%!important;height:100%!important;object-fit:cover!important}
}


/* Newsroom 1.0.9 – Vereinsbadges auf Desktop/Tablet unter Autor; mobile Kopfzone zentriert. */
@media (min-width:601px){
  .newsroom-article-header{
    display:grid!important;
    grid-template-columns:minmax(190px,34%) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:22px!important;
    row-gap:8px!important;
    align-items:start!important;
  }
  .newsroom-article-featured{
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:start!important;
    min-width:0!important;
  }
  .newsroom-article-heading{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    align-self:start!important;
  }
  .newsroom-article-clubs{
    grid-column:2!important;
    grid-row:2!important;
    width:100%!important;
    margin:0!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:8px!important;
  }
}
@media (min-width:601px) and (max-width:1024px){
  .newsroom-article-header{
    grid-template-columns:minmax(180px,34%) minmax(0,1fr)!important;
    column-gap:16px!important;
    row-gap:8px!important;
  }
  .newsroom-article-featured img{height:160px!important;max-height:160px!important}
  .newsroom-article-clubs{grid-column:2!important;grid-row:2!important}
}
@media (max-width:600px){
  .newsroom-article-header{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
    gap:10px!important;
  }
  .newsroom-article-featured{width:100%!important;max-width:none!important;align-self:stretch!important}
  .newsroom-article-heading{width:100%!important;text-align:center!important}
  .newsroom-article-heading h1,
  .newsroom-article-date{text-align:center!important}
  .newsroom-article-author{justify-content:center!important;text-align:center!important}
  .newsroom-article-clubs{
    width:100%!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    margin:4px 0 0!important;
    gap:6px!important;
    text-align:center!important;
  }
  .newsroom-article-club{justify-content:center!important}
}


/* Newsroom 1.0.10 – Artikelkopf dynamisch an die Höhe des Titelbildes koppeln.
   Die rechte Spalte nutzt dieselbe verfügbare Höhe wie das Bild; Typografie und
   Metadaten skalieren über Container Units mit der tatsächlich verfügbaren Breite. */
@media (min-width:601px){
  .newsroom-article-header{
    height:clamp(150px,17vw,210px)!important;
    min-height:0!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    align-items:stretch!important;
    row-gap:0!important;
  }
  .newsroom-article-featured{
    grid-row:1 / 3!important;
    height:100%!important;
    min-height:0!important;
    align-self:stretch!important;
  }
  .newsroom-article-featured a,
  .newsroom-article-featured img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:cover!important;
  }
  .newsroom-article-heading{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    align-self:stretch!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
    container-type:inline-size;
  }
  .newsroom-article-heading h1{
    font-size:clamp(16px,4cqi,34px)!important;
    line-height:1.08!important;
    margin:0 0 4px!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
  }
  .newsroom-article-date{
    font-size:clamp(10px,1.8cqi,14px)!important;
    line-height:1.15!important;
    margin:2px 0!important;
  }
  .newsroom-article-author{
    font-size:clamp(10px,1.8cqi,14px)!important;
    line-height:1.15!important;
    gap:clamp(5px,1.2cqi,9px)!important;
    margin:3px 0 0!important;
    min-height:0!important;
  }
  .newsroom-author-avatar{
    width:clamp(20px,4.2cqi,30px)!important;
    height:clamp(20px,4.2cqi,30px)!important;
    flex:0 0 auto!important;
  }
  .newsroom-article-clubs{
    grid-column:2!important;
    grid-row:2!important;
    align-self:end!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:clamp(4px,.9cqi,8px)!important;
    width:100%!important;
    min-width:0!important;
    max-height:clamp(28px,6.5cqi,46px)!important;
    overflow:hidden!important;
    margin:0!important;
  }
  .newsroom-article-club{
    min-width:0!important;
    flex:0 1 auto!important;
    gap:clamp(4px,.8cqi,7px)!important;
    padding:clamp(3px,.7cqi,6px) clamp(5px,1cqi,10px)!important;
    font-size:clamp(9px,1.65cqi,12px)!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .newsroom-article-club img{
    width:clamp(18px,3.8cqi,27px)!important;
    height:clamp(18px,3.8cqi,27px)!important;
    flex:0 0 auto!important;
  }
}

/* Tablet bleibt zweispaltig, aber der gesamte Kopfbereich wird proportional kompakter. */
@media (min-width:601px) and (max-width:1024px){
  .newsroom-article-header{height:clamp(140px,17vw,170px)!important}
  .newsroom-article-featured img{height:100%!important;max-height:none!important}
  .newsroom-article-heading h1{font-size:clamp(15px,4cqi,25px)!important}
}


/* Newsroom 1.0.11 – natürlich proportionierter Artikelkopf.
   Das Titelbild belegt höchstens 25 % der verfügbaren Newsroom-Breite.
   Der rechte Bereich behält natürliche Abstände statt den Inhalt künstlich
   auf die Bildhöhe zu strecken. Smartphone-Regeln bleiben unverändert. */
@media (min-width:601px){
  .newsroom-article-header{
    display:grid!important;
    grid-template-columns:minmax(140px,25%) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    height:auto!important;
    min-height:0!important;
    align-items:start!important;
    column-gap:clamp(16px,2vw,26px)!important;
    row-gap:8px!important;
    margin-bottom:28px!important;
  }
  .newsroom-article-featured{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    align-self:start!important;
  }
  .newsroom-article-featured a{
    display:block!important;
    width:100%!important;
    height:auto!important;
  }
  .newsroom-article-featured img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    aspect-ratio:4 / 3!important;
    object-fit:cover!important;
  }
  .newsroom-article-heading{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    align-self:start!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    gap:clamp(7px,1vw,13px)!important;
    overflow:visible!important;
    container-type:inline-size;
  }
  .newsroom-article-heading h1{
    width:100%!important;
    font-size:clamp(20px,2.35vw,34px)!important;
    line-height:1.12!important;
    margin:0!important;
    display:block!important;
    -webkit-line-clamp:unset!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
  }
  .newsroom-article-date{
    font-size:clamp(13px,1.05vw,16px)!important;
    line-height:1.3!important;
    margin:0!important;
  }
  .newsroom-article-author{
    display:flex!important;
    align-items:center!important;
    font-size:clamp(13px,1.05vw,15px)!important;
    line-height:1.25!important;
    gap:8px!important;
    margin:0!important;
  }
  .newsroom-author-avatar{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  .newsroom-article-clubs{
    grid-column:2!important;
    grid-row:2!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    width:100%!important;
    max-height:none!important;
    overflow:visible!important;
    margin:0!important;
    align-self:start!important;
  }
  .newsroom-article-club{
    display:inline-flex!important;
    align-items:center!important;
    flex:0 1 auto!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    font-size:clamp(11px,.95vw,13px)!important;
    line-height:1.2!important;
    padding:5px 8px!important;
    gap:6px!important;
  }
  .newsroom-article-club img{
    width:25px!important;
    height:25px!important;
    flex:0 0 25px!important;
  }
}

@media (min-width:601px) and (max-width:1024px){
  .newsroom-article-header{
    grid-template-columns:minmax(130px,25%) minmax(0,1fr)!important;
    column-gap:16px!important;
    row-gap:7px!important;
  }
  .newsroom-article-heading{gap:7px!important}
  .newsroom-article-heading h1{font-size:clamp(18px,2.5vw,25px)!important}
  .newsroom-article-date,.newsroom-article-author{font-size:13px!important}
  .newsroom-author-avatar{width:27px!important;height:27px!important;flex-basis:27px!important}
  .newsroom-article-club{font-size:11px!important;padding:4px 7px!important}
  .newsroom-article-club img{width:22px!important;height:22px!important;flex-basis:22px!important}
}


/* Newsroom 1.0.12 – Artikelkopf: Bild wächst mit dem tatsächlichen Text-/Badgeblock.
   Bildbreite bleibt auf maximal 25 % begrenzt; Ober- und Unterkante werden
   durch das Grid an den vollständigen rechten Inhaltsbereich gekoppelt.
   Reihenfolge der Metadaten: Autor zuerst, Veröffentlichungsdatum danach. */
@media (min-width:601px){
  .newsroom-article-header{
    display:grid!important;
    grid-template-columns:minmax(150px,25%) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    height:auto!important;
    min-height:0!important;
    align-items:stretch!important;
    column-gap:clamp(16px,2vw,26px)!important;
    row-gap:clamp(10px,1.2vw,16px)!important;
  }
  .newsroom-article-featured{
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:stretch!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  .newsroom-article-featured a{
    display:block!important;
    width:100%!important;
    height:100%!important;
  }
  .newsroom-article-featured img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
  }
  .newsroom-article-heading{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    align-self:start!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    gap:clamp(8px,1vw,13px)!important;
    overflow:visible!important;
    container-type:inline-size;
  }
  .newsroom-article-heading h1{order:1!important}
  .newsroom-article-heading .newsroom-article-author{order:2!important}
  .newsroom-article-heading .newsroom-article-date{order:3!important}
  .newsroom-article-clubs{
    grid-column:2!important;
    grid-row:2!important;
    align-self:start!important;
    margin:0!important;
    width:100%!important;
  }
}


/* Newsroom 1.0.13 – Artikelbild wieder kompakter mit dynamischem 4:2,5-Format.
   Die Breite bleibt dynamisch bei maximal 25 %. Das Bild wird nicht mehr auf
   die volle Höhe von Überschrift, Metadaten und Vereinsbadges gestreckt. */
@media (min-width:601px){
  .newsroom-article-header{
    grid-template-columns:minmax(0,25%) minmax(0,1fr)!important;
    align-items:start!important;
  }
  .newsroom-article-featured{
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:start!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:4 / 2.5!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  .newsroom-article-featured a{
    display:block!important;
    width:100%!important;
    height:100%!important;
  }
  .newsroom-article-featured img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:4 / 2.5!important;
    object-fit:cover!important;
  }
}


/* Newsroom 1.1.0 – doppelt dynamischer Artikelkopf.
   4:2,5 ist die natürliche Bildproportion. Ist der rechte Bereich höher,
   streckt sich das Bild vertikal; die Bildbreite bleibt begrenzt. */
@media (min-width:601px){
  .newsroom-article-header{
    display:grid!important;
    grid-template-columns:minmax(0,25%) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:stretch!important;
    height:auto!important;
  }
  .newsroom-article-featured{
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:stretch!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:4 / 2.5!important;
    overflow:hidden!important;
  }
  .newsroom-article-featured a{
    display:block!important;width:100%!important;height:100%!important;
  }
  .newsroom-article-featured img{
    display:block!important;width:100%!important;height:100%!important;
    min-height:0!important;max-height:none!important;
    aspect-ratio:4 / 2.5!important;object-fit:cover!important;
  }
  .newsroom-article-heading{
    grid-column:2!important;grid-row:1!important;
    align-self:start!important;height:auto!important;max-height:none!important;
  }
  .newsroom-article-clubs{
    grid-column:2!important;grid-row:2!important;
    align-self:start!important;margin:0!important;
  }
}
.newsroom-gallery{
  display:grid;
  grid-template-columns:repeat( auto-fit, minmax(220px, 1fr) );
  grid-auto-flow:dense;
  grid-auto-rows:clamp(150px, 18vw, 260px);
  gap:12px;
  margin:32px 0 0;
}
.newsroom-gallery-item{margin:0;min-width:0;overflow:hidden}
.newsroom-gallery-item a{display:block;width:100%;height:100%}
.newsroom-gallery-item img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .35s ease;
}
.newsroom-gallery-item:hover img{transform:scale(1.035)}
.newsroom-video-player{width:100%;max-width:100%;margin:24px 0}
.newsroom-video-player video{display:block;width:100%;height:auto;max-height:80vh;background:#000}
@media(max-width:600px){
  .newsroom-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(125px,38vw,220px);gap:8px;margin-top:22px}
}


/* Newsroom 1.1.1 – manuelle Galerie-Importverwaltung im WordPress-Backend */
.newsroom-gallery-admin .newsroom-import-post{
  background:#fff;border:1px solid #dcdcde;border-radius:8px;
  margin:18px 0;padding:18px 20px;max-width:1200px;
}
.newsroom-import-post-heading{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:16px;border-bottom:1px solid #e5e5e5;padding-bottom:12px;margin-bottom:15px;
}
.newsroom-import-post-heading h2{font-size:17px;margin:0 0 5px}
.newsroom-import-post-heading p{margin:0;color:#646970}
.newsroom-import-status{
  display:inline-block;padding:5px 9px;border-radius:4px;
  background:#f0f0f1;color:#50575e;font-size:12px;white-space:nowrap;
}
.newsroom-status-pending{background:#fff2cc;color:#785600}
.newsroom-status-done{background:#e2f4e8;color:#176b35}
.newsroom-import-toolbar{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;
}
.newsroom-selected-count{color:#646970;font-size:12px}
.newsroom-import-images,.newsroom-existing-images{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));
  gap:12px;margin:14px 0;
}
.newsroom-import-image,.newsroom-existing-image{
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  min-width:0;font-size:12px;color:#50575e;
}
.newsroom-import-image input[type=checkbox]{margin:0 0 0 2px;width:17px;height:17px}
.newsroom-image-preview{
  position:relative;display:block;width:100%;height:112px;padding:0;
  border:1px solid #dcdcde;background:#f0f0f1;cursor:zoom-in;overflow:hidden;
}
.newsroom-image-preview img{display:block;width:100%;height:100%;object-fit:cover}
.newsroom-preview-zoom{
  position:absolute;right:6px;bottom:6px;width:25px;height:25px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:rgba(0,0,0,.68);color:#fff;font-size:20px;
}
.newsroom-image-preview:hover img{transform:scale(1.04);transition:transform .2s ease}
.newsroom-import-empty{color:#646970;font-style:italic}
.newsroom-existing-details{border-top:1px solid #e5e5e5;padding-top:12px;margin-top:12px}
.newsroom-existing-details summary{cursor:pointer;font-weight:600}
.newsroom-admin-lightbox[hidden]{display:none!important}
.newsroom-admin-lightbox{
  position:fixed;z-index:100000;inset:0;background:rgba(0,0,0,.94);
  display:flex;align-items:center;justify-content:center;padding:55px 70px;
}
.newsroom-admin-lightbox img{
  display:block;max-width:100%;max-height:calc(100vh - 100px);
  width:auto;height:auto;object-fit:contain;box-shadow:0 8px 40px rgba(0,0,0,.4);
}
.newsroom-admin-lightbox button{
  position:absolute;border:0;background:rgba(255,255,255,.16);
  color:#fff;cursor:pointer;border-radius:50%;width:46px;height:46px;
  font-size:32px;line-height:1;
}
.newsroom-admin-lightbox-close{top:20px;right:22px}
.newsroom-admin-lightbox-prev{left:18px;top:50%;transform:translateY(-50%)}
.newsroom-admin-lightbox-next{right:18px;top:50%;transform:translateY(-50%)}
body.newsroom-admin-lightbox-open{overflow:hidden}
@media(max-width:782px){
  .newsroom-gallery-admin .newsroom-import-post{padding:13px}
  .newsroom-import-post-heading{flex-direction:column}
  .newsroom-admin-lightbox{padding:50px 12px}
  .newsroom-admin-lightbox-prev{left:4px}
  .newsroom-admin-lightbox-next{right:4px}
}


/* Newsroom 1.1.2 – kompakte Medienübersicht, Filter und zuverlässige Backend-Lightbox */
.newsroom-gallery-filters{
  display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 20px;
}
.newsroom-gallery-admin .newsroom-import-images{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin:12px 0;
}
.newsroom-gallery-admin .newsroom-import-image{
  display:flex;flex-direction:column;align-items:stretch;gap:4px;
  min-width:0;font-size:11px;color:#50575e;
}
.newsroom-gallery-admin .newsroom-image-label{
  display:block;font-size:11px;font-weight:600;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.newsroom-gallery-admin .newsroom-import-select{
  display:flex;align-items:center;gap:4px;font-size:11px;line-height:1.2;
  min-height:18px;
}
.newsroom-gallery-admin .newsroom-import-select input{
  margin:0;width:15px;height:15px;flex:0 0 15px;
}
.newsroom-gallery-admin .newsroom-image-preview{
  width:100%;height:86px;min-height:86px;
}
.newsroom-gallery-admin .newsroom-image-preview img{
  width:100%;height:100%;object-fit:cover;
}
.newsroom-gallery-admin .newsroom-existing-images{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;margin:12px 0;
}
.newsroom-gallery-admin .newsroom-existing-image{
  min-width:0;display:flex;flex-direction:column;gap:4px;
}
.newsroom-gallery-admin .newsroom-existing-image .newsroom-image-preview{
  height:100px;min-height:100px;
}
.newsroom-gallery-admin .newsroom-existing-image>span{
  font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.newsroom-admin-lightbox{
  position:fixed!important;z-index:999999!important;inset:0!important;
  width:100vw!important;height:100vh!important;max-width:none!important;
  max-height:none!important;margin:0!important;padding:55px 70px!important;
  box-sizing:border-box!important;background:rgba(0,0,0,.96)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.newsroom-admin-lightbox[hidden]{display:none!important}
.newsroom-admin-lightbox img{
  display:block!important;position:relative!important;
  max-width:calc(100vw - 140px)!important;max-height:calc(100vh - 110px)!important;
  width:auto!important;height:auto!important;object-fit:contain!important;
}
.newsroom-admin-lightbox button{
  position:fixed!important;z-index:1000000!important;
}
@media(max-width:1100px){
  .newsroom-gallery-admin .newsroom-import-images{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:782px){
  .newsroom-gallery-admin .newsroom-import-images{grid-template-columns:repeat(3,minmax(0,1fr))}
  .newsroom-gallery-admin .newsroom-existing-images{grid-template-columns:repeat(4,minmax(0,1fr))}
  .newsroom-gallery-admin .newsroom-import-image .newsroom-image-preview{height:82px;min-height:82px}
}
@media(max-width:480px){
  .newsroom-gallery-admin .newsroom-import-images{grid-template-columns:repeat(2,minmax(0,1fr))}
  .newsroom-gallery-filters .button{font-size:11px;padding:0 7px}
}


/* Newsroom 1.1.3 – klare horizontale Bildreihen und echte Body-Lightbox */
.newsroom-gallery-admin .newsroom-import-images{
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:12px!important;
  overflow-x:auto;
  padding:3px 2px 12px;
  margin:12px 0!important;
}
.newsroom-gallery-admin .newsroom-import-image{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:5px!important;
  min-width:0!important;
  width:auto!important;
}
.newsroom-gallery-admin .newsroom-image-label{
  order:0;
  display:block!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.2!important;
  min-height:14px;
}
.newsroom-gallery-admin .newsroom-import-select{
  order:1;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:19px!important;
  font-size:11px!important;
}
.newsroom-gallery-admin .newsroom-import-image .newsroom-image-preview{
  order:2;
  display:block!important;
  width:100%!important;
  height:96px!important;
  min-height:96px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
}
.newsroom-gallery-admin .newsroom-import-image .newsroom-image-preview img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
}
.newsroom-gallery-admin .newsroom-existing-images{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:12px!important;
}
.newsroom-gallery-admin .newsroom-existing-image .newsroom-image-preview{
  width:100%!important;height:104px!important;min-height:104px!important;
}
.newsroom-admin-lightbox{
  display:none!important;
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;height:100vh!important;
  margin:0!important;padding:50px 72px!important;
  box-sizing:border-box!important;
  align-items:center!important;justify-content:center!important;
  background:rgba(0,0,0,.96)!important;
  border:0!important;border-radius:0!important;
}
.newsroom-admin-lightbox.is-open{
  display:flex!important;
}
.newsroom-admin-lightbox img{
  display:block!important;
  position:static!important;
  width:auto!important;height:auto!important;
  max-width:calc(100vw - 144px)!important;
  max-height:calc(100vh - 100px)!important;
  object-fit:contain!important;
  margin:0!important;padding:0!important;
  background:transparent!important;
  box-shadow:0 8px 40px rgba(0,0,0,.5)!important;
}
.newsroom-admin-lightbox button{
  position:fixed!important;
  z-index:2147483001!important;
  width:48px!important;height:48px!important;
  border:0!important;border-radius:50%!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;font-size:34px!important;line-height:1!important;
  cursor:pointer!important;
}
.newsroom-admin-lightbox-close{top:18px!important;right:22px!important}
.newsroom-admin-lightbox-prev{top:50%!important;left:18px!important;transform:translateY(-50%)!important}
.newsroom-admin-lightbox-next{top:50%!important;right:18px!important;transform:translateY(-50%)!important}
body.newsroom-admin-lightbox-open{overflow:hidden!important}

/* Newsroom 1.1.4 – Admin-Galerie: Styles werden jetzt ausdrücklich im Admin geladen. */
body.wp-admin .newsroom-gallery-admin { max-width:none; }
body.wp-admin .newsroom-gallery-admin .newsroom-import-post { max-width:none; width:100%; box-sizing:border-box; }
body.wp-admin .newsroom-gallery-admin .newsroom-import-images {
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:12px!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.wp-admin .newsroom-gallery-admin .newsroom-import-image {
  display:flex!important; flex-direction:column!important; align-items:stretch!important;
  min-width:0!important; width:auto!important; box-sizing:border-box!important;
}
body.wp-admin .newsroom-gallery-admin .newsroom-import-image .newsroom-image-preview {
  display:block!important; width:100%!important; height:96px!important; min-height:96px!important;
  padding:0!important; margin:0!important; box-sizing:border-box!important; overflow:hidden!important;
}
body.wp-admin .newsroom-gallery-admin .newsroom-import-image .newsroom-image-preview img {
  display:block!important; width:100%!important; height:100%!important; object-fit:cover!important;
}
body.wp-admin .newsroom-gallery-admin .newsroom-existing-images {
  display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important; width:100%!important; box-sizing:border-box!important;
}
body.wp-admin .newsroom-gallery-admin .newsroom-existing-image { min-width:0!important; }
body.wp-admin .newsroom-gallery-admin .newsroom-existing-image .newsroom-image-preview {
  display:block!important; width:100%!important; height:104px!important; min-height:104px!important;
  padding:0!important; box-sizing:border-box!important; overflow:hidden!important;
}
body.wp-admin .newsroom-admin-lightbox {
  display:none!important; position:fixed!important; inset:0!important; z-index:2147483000!important;
  width:100vw!important; height:100vh!important; margin:0!important; padding:50px 72px!important;
  box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
  background:rgba(0,0,0,.96)!important; border:0!important; border-radius:0!important;
}
body.wp-admin .newsroom-admin-lightbox.is-open { display:flex!important; }
body.wp-admin .newsroom-admin-lightbox img {
  display:block!important; position:static!important; width:auto!important; height:auto!important;
  max-width:calc(100vw - 144px)!important; max-height:calc(100vh - 100px)!important;
  object-fit:contain!important; margin:0!important; padding:0!important; background:transparent!important;
}
body.wp-admin .newsroom-admin-lightbox button {
  position:fixed!important; z-index:2147483001!important; width:48px!important; height:48px!important;
  border:0!important; border-radius:50%!important; background:rgba(255,255,255,.18)!important;
  color:#fff!important; font-size:34px!important; line-height:1!important; cursor:pointer!important;
}
body.wp-admin .newsroom-admin-lightbox-close { top:18px!important; right:22px!important; }
body.wp-admin .newsroom-admin-lightbox-prev { top:50%!important; left:18px!important; transform:translateY(-50%)!important; }
body.wp-admin .newsroom-admin-lightbox-next { top:50%!important; right:18px!important; transform:translateY(-50%)!important; }
body.wp-admin.newsroom-admin-lightbox-open { overflow:hidden!important; }
@media(max-width:1100px) {
  body.wp-admin .newsroom-gallery-admin .newsroom-import-images { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
}
@media(max-width:600px) {
  body.wp-admin .newsroom-gallery-admin .newsroom-import-images { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  body.wp-admin .newsroom-gallery-admin .newsroom-existing-images { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}

/* Newsroom Elementor Widget – Grundintegration 1.1.6 */
.newsroom-widget { min-width:0; max-width:100%; }
.newsroom-widget-items { display:grid; grid-template-columns:repeat(var(--nr-cols,3),minmax(0,1fr)); gap:18px; align-items:stretch; }
.newsroom-widget-card { min-width:0; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.newsroom-widget-image { display:block; width:100%; aspect-ratio:var(--nr-ratio,16 / 9); overflow:hidden; background:#eee; }
.newsroom-widget-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.newsroom-widget-card:hover .newsroom-widget-image img { transform:scale(1.035); }
.newsroom-widget-copy { padding:12px; }
.newsroom-widget-badges { display:flex; flex-wrap:wrap; gap:5px; margin:0 0 8px; }
.newsroom-widget-badge { display:inline-block; padding:3px 7px; border-radius:2px; background:#16833b; color:#fff; font-size:11px; line-height:1.3; text-decoration:none; }
.newsroom-widget-title { margin:0 0 7px; font-size:18px; line-height:1.25; }
.newsroom-widget-title a { color:inherit; text-decoration:none; }
.newsroom-widget-title a:hover { text-decoration:underline; }
.newsroom-widget-meta { font-size:12px; color:#777; line-height:1.5; }
.newsroom-widget-excerpt { margin-top:9px; font-size:14px; line-height:1.55; }
.newsroom-widget-empty { padding:16px; background:#f6f7f7; border:1px dashed #bbb; color:#555; }
.newsroom-widget-grid-hover .newsroom-widget-card { position:relative; min-height:220px; }
.newsroom-widget-grid-hover .newsroom-widget-image { position:absolute; inset:0; height:100%; aspect-ratio:auto; }
.newsroom-widget-grid-hover .newsroom-widget-image:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.05) 75%); }
.newsroom-widget-grid-hover .newsroom-widget-copy { position:relative; z-index:1; margin-top:auto; color:#fff; }
.newsroom-widget-grid-hover .newsroom-widget-title a,.newsroom-widget-grid-hover .newsroom-widget-meta { color:#fff; }
.newsroom-widget-masonry .newsroom-widget-items { display:block; column-count:var(--nr-cols,3); column-gap:18px; }
.newsroom-widget-masonry .newsroom-widget-card { display:inline-flex; width:100%; margin:0 0 18px; break-inside:avoid; }
.newsroom-widget-list .newsroom-widget-items { display:flex; flex-direction:column; grid-template-columns:minmax(0,1fr)!important; }
.newsroom-widget-list .newsroom-widget-card { flex-direction:row; align-items:flex-start; gap:14px; width:100%; }
.newsroom-widget-list .newsroom-widget-image { flex:0 0 32%; max-width:32%; }
.newsroom-widget-list .newsroom-widget-copy { flex:1; padding:4px 0; }
.newsroom-widget-slider { position:relative; }
.newsroom-widget-slider .newsroom-widget-items { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:4px 2px 14px; scrollbar-width:none; }
.newsroom-widget-slider .newsroom-widget-items::-webkit-scrollbar { display:none; }
.newsroom-widget-slider .newsroom-widget-card { flex:0 0 calc(33.333% - 12px); scroll-snap-align:start; }
.newsroom-slider-arrow { position:absolute; z-index:3; top:42%; transform:translateY(-50%); width:42px; height:42px; border:0; border-radius:50%; background:rgba(25,32,40,.82); color:#fff; font-size:29px; line-height:1; display:grid; place-items:center; cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.2); transition:background .2s,transform .2s; }
.newsroom-slider-arrow:hover { background:#c92e27; transform:translateY(-50%) scale(1.06); }
.newsroom-slider-prev { left:8px; }
.newsroom-slider-next { right:8px; }
@media (max-width:1024px) {
 .newsroom-widget-items { grid-template-columns:repeat(var(--nr-cols-tablet,2),minmax(0,1fr)); }
 .newsroom-widget-masonry .newsroom-widget-items { column-count:var(--nr-cols-tablet,2); }
 .newsroom-widget-slider .newsroom-widget-card { flex-basis:calc(50% - 9px); }
}
@media (max-width:767px) {
 .newsroom-widget-items { grid-template-columns:repeat(var(--nr-cols-mobile,1),minmax(0,1fr)); }
 .newsroom-widget-masonry .newsroom-widget-items { column-count:var(--nr-cols-mobile,1); }
 .newsroom-widget-slider .newsroom-widget-card { flex-basis:100%; }
 .newsroom-widget-list .newsroom-widget-card { gap:10px; }
 .newsroom-widget-list .newsroom-widget-image { flex-basis:34%; max-width:34%; }
 .newsroom-widget-title { font-size:16px; }
}

/* Newsroom 1.1.7 – responsive Elementor widget adjustments */
.newsroom-widget-list .newsroom-widget-items { display:flex!important; flex-direction:column!important; }
.newsroom-widget-list .newsroom-widget-card { width:100%!important; }
@media(max-width:767px){.newsroom-slider-arrow{width:36px;height:36px;font-size:25px}.newsroom-slider-prev{left:5px}.newsroom-slider-next{right:5px}}


/* Newsroom 1.1.8 – Masonry und Elementor-Preview */
.newsroom-widget-masonry .newsroom-widget-items {
    display:block !important;
    column-count:var(--nr-cols,3);
    column-gap:18px;
    column-fill:balance;
}
.newsroom-widget-masonry .newsroom-widget-card {
    display:inline-flex !important;
    flex-direction:column;
    vertical-align:top;
    width:100% !important;
    margin:0 0 18px;
    break-inside:avoid-column;
    -webkit-column-break-inside:avoid;
    page-break-inside:avoid;
}
.newsroom-widget-masonry .newsroom-widget-image { flex:0 0 auto; }
.newsroom-widget-masonry .newsroom-widget-copy { flex:1 1 auto; }
@media (max-width:1024px) {
    .newsroom-widget-masonry .newsroom-widget-items { column-count:var(--nr-cols-tablet,2); }
}
@media (max-width:767px) {
    .newsroom-widget-masonry .newsroom-widget-items { column-count:var(--nr-cols-mobile,1); }
}
/* List bleibt unabhängig von eventuell gespeicherten alten Spaltenwerten einspaltig. */
.newsroom-widget-list .newsroom-widget-items {
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:minmax(0,1fr) !important;
    column-count:1 !important;
}
.newsroom-widget-list .newsroom-widget-card { width:100% !important; }


/* Newsroom 1.1.9 – identische Widget-Layouts im Frontend und Elementor-Preview.
   Die Regeln sind bewusst auf die Widget-Klassen begrenzt, damit Theme-/Elementor-
   Container die interne Kartenanordnung nicht versehentlich überschreiben. */
.elementor .newsroom-widget,
.elementor-widget .newsroom-widget { width:100%; min-width:0; max-width:100%; }
.elementor .newsroom-widget .newsroom-widget-items,
.elementor-widget .newsroom-widget .newsroom-widget-items {
    display:grid;
    grid-template-columns:repeat(var(--nr-cols,3),minmax(0,1fr));
    gap:18px;
    align-items:stretch;
    width:100%;
}
.elementor .newsroom-widget .newsroom-widget-card,
.elementor-widget .newsroom-widget .newsroom-widget-card {
    display:flex;
    flex-direction:column;
    min-width:0;
    width:auto;
    margin:0;
    overflow:hidden;
    background:#fff;
}
.elementor .newsroom-widget .newsroom-widget-image,
.elementor-widget .newsroom-widget .newsroom-widget-image {
    display:block;
    position:relative;
    width:100%;
    aspect-ratio:var(--nr-ratio,16 / 9);
    overflow:hidden;
    flex:0 0 auto;
}
.elementor .newsroom-widget .newsroom-widget-image img,
.elementor-widget .newsroom-widget .newsroom-widget-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.elementor .newsroom-widget-grid-hover .newsroom-widget-card,
.elementor-widget .newsroom-widget-grid-hover .newsroom-widget-card {
    position:relative;
    min-height:260px;
    aspect-ratio:var(--nr-ratio,16 / 9);
    background:#222;
}
.elementor .newsroom-widget-grid-hover .newsroom-widget-image,
.elementor-widget .newsroom-widget-grid-hover .newsroom-widget-image {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    aspect-ratio:auto;
}
.elementor .newsroom-widget-grid-hover .newsroom-widget-image:after,
.elementor-widget .newsroom-widget-grid-hover .newsroom-widget-image:after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.02) 78%);
    pointer-events:none;
}
.elementor .newsroom-widget-grid-hover .newsroom-widget-copy,
.elementor-widget .newsroom-widget-grid-hover .newsroom-widget-copy {
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    flex:1 1 auto;
    margin-top:auto;
    color:#fff;
    background:transparent;
}
.elementor .newsroom-widget-grid-hover .newsroom-widget-title a,
.elementor .newsroom-widget-grid-hover .newsroom-widget-meta,
.elementor-widget .newsroom-widget-grid-hover .newsroom-widget-title a,
.elementor-widget .newsroom-widget-grid-hover .newsroom-widget-meta { color:#fff; }
.elementor .newsroom-widget-masonry .newsroom-widget-items,
.elementor-widget .newsroom-widget-masonry .newsroom-widget-items {
    display:block;
    column-count:var(--nr-cols,3);
    column-gap:18px;
    column-fill:balance;
}
.elementor .newsroom-widget-masonry .newsroom-widget-card,
.elementor-widget .newsroom-widget-masonry .newsroom-widget-card {
    display:inline-flex;
    flex-direction:column;
    vertical-align:top;
    width:100%;
    margin:0 0 18px;
    break-inside:avoid-column;
    -webkit-column-break-inside:avoid;
}
.elementor .newsroom-widget-list .newsroom-widget-items,
.elementor-widget .newsroom-widget-list .newsroom-widget-items {
    display:flex;
    flex-direction:column;
    gap:18px;
}
.elementor .newsroom-widget-list .newsroom-widget-card,
.elementor-widget .newsroom-widget-list .newsroom-widget-card {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    width:100%;
}
.elementor .newsroom-widget-slider .newsroom-widget-items,
.elementor-widget .newsroom-widget-slider .newsroom-widget-items {
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
}
.elementor .newsroom-widget-slider .newsroom-widget-items::-webkit-scrollbar,
.elementor-widget .newsroom-widget-slider .newsroom-widget-items::-webkit-scrollbar { display:none; }
.elementor .newsroom-widget-slider .newsroom-widget-card,
.elementor-widget .newsroom-widget-slider .newsroom-widget-card {
    display:flex;
    flex:0 0 calc(33.333% - 12px);
    scroll-snap-align:start;
}
.newsroom-slider-arrow { cursor:pointer; }
@media(max-width:1024px) {
    .elementor .newsroom-widget-masonry .newsroom-widget-items,
    .elementor-widget .newsroom-widget-masonry .newsroom-widget-items { column-count:var(--nr-cols-tablet,2); }
    .elementor .newsroom-widget-slider .newsroom-widget-card,
    .elementor-widget .newsroom-widget-slider .newsroom-widget-card { flex-basis:calc(50% - 9px); }
}
@media(max-width:767px) {
    .elementor .newsroom-widget-masonry .newsroom-widget-items,
    .elementor-widget .newsroom-widget-masonry .newsroom-widget-items { column-count:var(--nr-cols-mobile,1); }
    .elementor .newsroom-widget-slider .newsroom-widget-card,
    .elementor-widget .newsroom-widget-slider .newsroom-widget-card { flex-basis:100%; }
}


/* Newsroom 1.2.2: Desktop-Mosaik exakt zur Viewportmitte ausrichten.
   Der Theme-Content-Container ist zentriert; der berechnete Außenabstand gleicht
   dessen Breite mit der gewünschten Newsroom-Breite ab. Tablet/Mobil unverändert. */
@media (min-width:1025px){
  body.home .newsroom-preview{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    width:min(var(--newsroom-width,1200px),calc(100vw - 48px)) !important;
    max-width:none !important;
    margin-top:12px !important;
    margin-right:0 !important;
    margin-bottom:60px !important;
    margin-left:calc(50% - 50vw + (100vw - min(var(--newsroom-width,1200px),calc(100vw - 48px))) / 2) !important;
    box-sizing:border-box !important;
  }
}


/* Newsroom 1.2.3: Artikelseite mit derselben Viewport-Zentrierung wie die Startseite.
   Verhindert Versatz durch schmale/verschobene Theme-Content-Container.
   Ausschließlich Desktop; Tablet und Smartphone behalten ihre bewährten Regeln. */
@media (min-width:1025px){
  body.single-post .newsroom-article-preview{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    width:min(var(--newsroom-width,94vw),calc(100vw - 24px)) !important;
    max-width:none !important;
    margin-top:12px !important;
    margin-right:0 !important;
    margin-bottom:60px !important;
    margin-left:calc(50% - 50vw + (100vw - min(var(--newsroom-width,94vw),calc(100vw - 24px))) / 2) !important;
    box-sizing:border-box !important;
  }
}
