body.br-site #main-content section.np-gallery {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(52px, 6vw, 84px) 0;
  background: #112e27;
  color: #f8faf5;
  border-block: 1px solid #496158;
  scroll-margin-top: 100px;
}
body.br-site #main-content .np-gallery__inner {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
body.br-site #main-content .np-gallery__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 30px;
}
body.br-site #main-content .np-gallery h2 {
  max-width: 24ch;
  margin: 0 0 16px;
  color: #f8faf5;
  font-size: clamp(28px, 3.2vw, 43px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body.br-site #main-content .np-gallery__intro {
  max-width: 68ch;
  margin: 0;
  color: #cfddd4;
  font-size: 16px;
  line-height: 1.7;
}
body.br-site #main-content .np-gallery__hint {
  flex: 0 0 180px;
  margin: 0;
  padding-inline-start: 14px;
  border-inline-start: 2px solid #e7ba6b;
  color: #e7c88e;
  font-size: 13px;
  line-height: 1.5;
}
body.br-site #main-content .np-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
body.br-site #main-content .np-grid--mosaic,
body.br-site #main-content .np-grid--studio {
  grid-template-columns: 1.08fr 1fr 1fr;
}
body.br-site #main-content .np-grid--mosaic .np-card:first-child {
  grid-row: span 2;
}
body.br-site #main-content .np-grid--studio .np-card:first-child {
  grid-row: span 2;
}
body.br-site #main-content .np-grid--studio .np-card:last-child {
  grid-column: span 2;
}
body.br-site #main-content .np-grid--studio .np-card:last-child .np-shot {
  aspect-ratio: 3.3;
}
body.br-site #main-content .np-grid--editorial,
body.br-site #main-content .np-grid--diptych {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.br-site #main-content .np-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #5a7165;
  border-radius: 7px;
  background: #f2f2ed;
}
body.br-site #main-content .np-card .np-shot {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  border: 0;
  text-decoration: none;
  aspect-ratio: 1.65;
  cursor: zoom-in;
}
body.br-site #main-content .np-card .np-shot::before,
body.br-site #main-content .np-card .np-shot::after {
  display: none;
}
body.br-site #main-content .np-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}
body.br-site #main-content .np-card--whole img {
  object-fit: contain;
}
body.br-site #main-content .np-grid--mosaic .np-card:first-child .np-shot,
body.br-site #main-content .np-grid--studio .np-card:first-child .np-shot {
  aspect-ratio: auto;
}
body.br-site #main-content .np-grid--mosaic .np-card:first-child img,
body.br-site #main-content .np-grid--studio .np-card:first-child img {
  object-fit: contain;
}
body.br-site #main-content .np-card figcaption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin: 0;
  padding: 13px 16px;
  border: 0;
  border-top: 1px solid #4d665a;
  background: #1d3b31;
  color: #edf3eb;
  font-size: 14px;
  line-height: 1.45;
}
body.br-site #main-content .np-card figcaption::before {
  content: "";
  width: 3px;
  height: 17px;
  flex: 0 0 3px;
  background: #e5ba70;
}
body.br-site #main-content .np-shot__expand {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff85;
  border-radius: 50%;
  background: #143b2de8;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  pointer-events: none;
  transition: background .18s ease;
}
body.br-site #main-content .np-shot:hover .np-shot__expand {
  background: #84642c;
}
body.br-site #main-content .np-shot:focus-visible {
  outline: 3px solid #efc474;
  outline-offset: -4px;
}
body.br-site #main-content section.np-gallery.np-gallery--light {
  background: #eef1e9;
  color: #153a2e;
  border-color: #c3d0c2;
}
body.br-site #main-content .np-gallery--light h2 { color: #153a2e; }
body.br-site #main-content .np-gallery--light .np-gallery__intro { color: #435e4e; }
body.br-site #main-content .np-gallery--light .np-gallery__hint { color: #617047; }
.np-viewer {
  position: fixed;
  inset: 0;
  width: min(1280px, calc(100% - 32px));
  height: min(920px, calc(100dvh - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #76917d;
  border-radius: 12px;
  background: #112e27;
  color: #f7faf5;
  box-shadow: 0 24px 100px #0006;
}
.np-viewer[open] { display: flex; flex-direction: column; }
.np-viewer::backdrop { background: #041711de; backdrop-filter: blur(5px); }
.np-viewer__header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 16px;
  border-bottom: 1px solid #496458;
}
.np-viewer__title {
  flex: 1;
  margin: 0;
  color: #f7faf5;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.np-viewer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #849c8b;
  border-radius: 5px;
  background: #214837;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}
.np-viewer button:focus-visible { outline: 3px solid #efc474; outline-offset: 2px; }
.np-viewer__close { font-size: 27px !important; }
.np-viewer__stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  background: #f4f4ef;
  overscroll-behavior: contain;
  text-align: center;
}
.np-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 240px);
  margin: auto;
}
.np-viewer--zoom .np-viewer__image { max-width: none; max-height: none; }
.np-viewer__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 66px;
  padding: 10px 16px;
  border-top: 1px solid #496458;
}
.np-viewer__count { min-width: 60px; text-align: center; font-size: 14px; }
@media (max-width: 1000px) {
  body.br-site #main-content .np-grid--mosaic,
  body.br-site #main-content .np-grid--studio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.br-site #main-content .np-grid--studio .np-card:first-child { grid-row: auto; }
  body.br-site #main-content .np-grid--studio .np-card:last-child { grid-column: auto; }
  body.br-site #main-content .np-grid--studio .np-card:first-child .np-shot,
  body.br-site #main-content .np-grid--studio .np-card:last-child .np-shot { aspect-ratio: 1.65; }
}
@media (max-width: 760px) {
  body.br-site #main-content .np-gallery__inner { width: calc(100% - 40px); }
  body.br-site #main-content .np-gallery__header { align-items: start; flex-direction: column; gap: 17px; }
  body.br-site #main-content .np-gallery__hint { flex: 0 0 auto; }
  body.br-site #main-content .np-grid--strip { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  body.br-site #main-content .np-gallery__inner { width: calc(100% - 36px); }
  body.br-site #main-content .np-gallery__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.br-site #main-content .np-grid--mosaic .np-card:first-child,
  body.br-site #main-content .np-grid--studio .np-card:first-child { grid-row: auto; }
  body.br-site #main-content .np-grid--mosaic .np-card:first-child .np-shot,
  body.br-site #main-content .np-grid--studio .np-card:first-child .np-shot { aspect-ratio: 1; }
  body.br-site #main-content .np-gallery h2 { max-width: 22ch; }
  .np-viewer { width: calc(100% - 16px); max-width: calc(100% - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
  .np-viewer__header { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .np-viewer__title { flex-basis: calc(100% - 56px); order: -1; }
  .np-viewer__close { order: -1; }
  .np-viewer__zoom { width: 100%; }
  .np-viewer__image { max-height: calc(100dvh - 240px); }
}
@media (prefers-reduced-motion: reduce) {
  body.br-site #main-content .np-shot__expand { transition: none; }
}
