/* NOTRUF-122 Report Galleries v0.3.13.0 */
:root{--nr122-gallery-gap:clamp(.65rem,1.4vw,1rem);--nr122-radius:18px;--nr122-shadow:0 14px 34px rgba(15,23,42,.12);--nr122-accent:#d9252a;--nr122-text:#172033;--nr122-muted:#687386;--nr122-surface:#fff;--nr122-surface-soft:#f5f7fa}
.nr122-report-gallery{margin:clamp(1.6rem,4vw,3.2rem) 0;color:var(--nr122-text)}
.nr122-report-gallery__head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.nr122-report-gallery__title{margin:0;font-size:clamp(1.2rem,2vw,1.65rem);font-weight:800;letter-spacing:-.025em}
.nr122-report-gallery__count{font-size:.85rem;color:var(--nr122-muted);white-space:nowrap}
.nr122-gallery-item{position:relative;display:block;overflow:hidden;border:0;border-radius:var(--nr122-radius);background:#e9edf2;box-shadow:0 1px 0 rgba(15,23,42,.04);cursor:zoom-in;isolation:isolate}
.nr122-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .34s ease,filter .34s ease}
.nr122-gallery-item:hover img,.nr122-gallery-item:focus-visible img{transform:scale(1.035);filter:saturate(1.04)}
.nr122-gallery-item:focus-visible{outline:3px solid rgba(217,37,42,.32);outline-offset:3px}
.nr122-gallery-item__caption{position:absolute;left:0;right:0;bottom:0;padding:2.3rem .9rem .8rem;background:linear-gradient(transparent,rgba(6,10,18,.78));color:#fff;font-size:.86rem;line-height:1.35;opacity:0;transform:translateY(5px);transition:.25s ease}
.nr122-gallery-item:hover .nr122-gallery-item__caption,.nr122-gallery-item:focus-visible .nr122-gallery-item__caption{opacity:1;transform:none}
.nr122-gallery--grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--nr122-gallery-gap)}
.nr122-gallery--grid .nr122-gallery-item{grid-column:span 4;aspect-ratio:4/3}
.nr122-gallery--grid .nr122-gallery-item:first-child:nth-last-child(n+4){grid-column:span 6;grid-row:span 2;aspect-ratio:auto;min-height:360px}
.nr122-gallery--masonry{columns:3 250px;column-gap:var(--nr122-gallery-gap)}
.nr122-gallery--masonry .nr122-gallery-item{break-inside:avoid;margin:0 0 var(--nr122-gallery-gap);aspect-ratio:auto}
.nr122-gallery--masonry .nr122-gallery-item img{height:auto;min-height:180px;max-height:520px}
.nr122-gallery--hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,.8fr);gap:var(--nr122-gallery-gap)}
.nr122-gallery--hero .nr122-gallery-item:first-child{grid-row:span 3;min-height:430px}
.nr122-gallery--hero .nr122-gallery-item:not(:first-child){min-height:130px;aspect-ratio:16/9}
.nr122-gallery--filmstrip{display:flex;gap:var(--nr122-gallery-gap);overflow-x:auto;padding:.15rem .1rem .65rem;scroll-snap-type:x mandatory;scrollbar-width:thin}
.nr122-gallery--filmstrip .nr122-gallery-item{flex:0 0 clamp(220px,31vw,380px);aspect-ratio:4/3;scroll-snap-align:start}
.nr122-gallery--carousel{position:relative;overflow:hidden;border-radius:calc(var(--nr122-radius) + 2px);box-shadow:var(--nr122-shadow);background:#111827}
.nr122-gallery--carousel .nr122-carousel-track{display:flex;transition:transform .45s cubic-bezier(.2,.75,.2,1)}
.nr122-gallery--carousel .nr122-gallery-item{flex:0 0 100%;height:clamp(300px,58vw,620px);border-radius:0;box-shadow:none}
.nr122-carousel-btn{position:absolute;top:50%;z-index:3;width:44px;height:44px;transform:translateY(-50%);display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#111827;box-shadow:0 8px 18px rgba(0,0,0,.2);cursor:pointer}
.nr122-carousel-btn:hover{background:#fff}.nr122-carousel-btn--prev{left:14px}.nr122-carousel-btn--next{right:14px}
.nr122-carousel-dots{position:absolute;left:50%;bottom:14px;z-index:3;transform:translateX(-50%);display:flex;gap:6px;padding:7px 9px;border-radius:999px;background:rgba(0,0,0,.34);backdrop-filter:blur(8px)}
.nr122-carousel-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.52);cursor:pointer}.nr122-carousel-dot.is-active{background:#fff;transform:scale(1.18)}
.nr122-gallery-more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(7,12,21,.58);color:#fff;font-size:1.1rem;font-weight:800;backdrop-filter:blur(2px)}
.nr122-lightbox{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:clamp(12px,3vw,34px);background:rgba(3,7,14,.94);backdrop-filter:blur(9px)}
.nr122-lightbox.is-open{display:flex}.nr122-lightbox__figure{margin:0;max-width:min(94vw,1500px);max-height:92vh;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:.65rem}.nr122-lightbox__image{display:block;max-width:100%;max-height:82vh;margin:auto;border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.42)}
.nr122-lightbox__caption{color:#e8edf5;text-align:center;font-size:.92rem}.nr122-lightbox__close,.nr122-lightbox__nav{position:fixed;z-index:2;border:0;color:#fff;background:rgba(255,255,255,.11);backdrop-filter:blur(7px);cursor:pointer}.nr122-lightbox__close{top:18px;right:18px;width:46px;height:46px;border-radius:50%;font-size:1.6rem}.nr122-lightbox__nav{top:50%;width:48px;height:64px;transform:translateY(-50%);border-radius:14px;font-size:1.65rem}.nr122-lightbox__prev{left:16px}.nr122-lightbox__next{right:16px}
.nr122-report-modernized{max-width:1120px;margin-inline:auto}.nr122-report-modernized .report-content,.nr122-report-modernized .article-content,.nr122-report-modernized .detail-content{font-size:clamp(1rem,1.5vw,1.08rem);line-height:1.75}.nr122-report-modernized .report-meta,.nr122-report-modernized .article-meta,.nr122-report-modernized .detail-meta{display:flex;flex-wrap:wrap;gap:.55rem 1rem;color:var(--nr122-muted);font-size:.9rem}
@media(max-width:760px){.nr122-gallery--grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nr122-gallery--grid .nr122-gallery-item,.nr122-gallery--grid .nr122-gallery-item:first-child:nth-last-child(n+4){grid-column:auto;grid-row:auto;min-height:0;aspect-ratio:1/1}.nr122-gallery--hero{grid-template-columns:1fr 1fr}.nr122-gallery--hero .nr122-gallery-item:first-child{grid-column:1/-1;grid-row:auto;min-height:290px}.nr122-gallery--hero .nr122-gallery-item:not(:first-child){min-height:0;aspect-ratio:1/1}.nr122-gallery--masonry{columns:2 145px}.nr122-lightbox__nav{width:42px;height:56px}.nr122-lightbox__prev{left:8px}.nr122-lightbox__next{right:8px}}
@media(prefers-reduced-motion:reduce){.nr122-gallery-item img,.nr122-gallery-item__caption,.nr122-gallery--carousel .nr122-carousel-track{transition:none}}

/* Detaildarstellung Berichte / Einsatzberichte */
.nr122-report-modernized .detail-layout{grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:clamp(1.4rem,4vw,3.4rem);align-items:start}
.nr122-report-modernized .detail-main{min-width:0}
.nr122-report-modernized .detail-image{width:100%;max-height:620px;object-fit:cover;border-radius:20px;box-shadow:0 16px 42px rgba(15,23,42,.10);margin-bottom:clamp(1.2rem,3vw,2rem)}
.nr122-report-modernized .detail-copy{font-size:clamp(1rem,1.2vw,1.08rem);line-height:1.78}
.nr122-report-modernized .detail-copy p{margin:0 0 1.15em}
.nr122-report-modernized .detail-aside{position:sticky;top:110px}
.nr122-report-gallery-stack{margin-top:clamp(1.8rem,4vw,3.2rem)}
@media(max-width:900px){.nr122-report-modernized .detail-layout{grid-template-columns:1fr}.nr122-report-modernized .detail-aside{position:static}}

/* v0.3.14.61 – Detailseiten ohne Einsatz-Sidebar müssen trotz Gallery-Modul einspaltig bleiben. */
.nr122-report-modernized .detail-layout.detail-layout--single{
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
.nr122-report-modernized .detail-layout.detail-layout--single .detail-main{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
}
.nr122-report-modernized .detail-layout.detail-layout--single .detail-aside{
  display:none!important;
}
