.network-gallery-section { padding: clamp(3.5rem, 6vw, 6rem) max(1.25rem, 3.2vw); background: #edf1f5; }
.network-gallery-inner { max-width: 92rem; margin-inline: auto; }
.network-gallery-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: 2.25rem; }
.network-gallery-heading h2 { max-width: 17ch; font-size: clamp(2.4rem, 4.1vw, 4.4rem); letter-spacing: -.05em; line-height: 1.04; font-weight: 700; }
.network-gallery-heading p { max-width: 43rem; font-size: 1.05rem; line-height: 1.55; }
.network-gallery { min-width: 0; }
.network-gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.3vw, 1.25rem); margin-bottom: clamp(.5rem, 1.3vw, 1.25rem); }
.network-gallery-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy); cursor: pointer; overflow: hidden; aspect-ratio: 1; }
.network-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, 50% 35%); transition: transform 300ms ease; }
.network-gallery-thumb:hover img { transform: scale(1.035); }
.network-gallery-thumb:focus-visible, .network-gallery button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.network-gallery-stage { position: relative; margin: 0; aspect-ratio: 1.95; background: #dbe2ea; overflow: hidden; touch-action: pan-y pinch-zoom; }
.network-gallery-main { width: 100%; height: 100%; display: block; object-fit: cover; object-position: var(--photo-position, 50% 38%); }
.network-gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.15rem; }
.network-gallery-caption { flex: 1; min-width: 0; margin: 0; color: var(--navy); font-size: .95rem; line-height: 1.4; }
.network-gallery-buttons { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.network-gallery-buttons button { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid #a7b4c5; background: transparent; color: var(--navy); cursor: pointer; }
.network-gallery-buttons button:hover { background: var(--navy); color: var(--white); }
.network-gallery-buttons button:disabled { opacity: .35; cursor: default; }
.network-gallery-buttons svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.network-gallery-counter { min-width: 4rem; text-align: center; font-size: .88rem; font-variant-numeric: tabular-nums; }
.network-gallery-empty { padding: 3rem 1.5rem; border-top: 4px solid var(--yellow); background: white; }
.network-gallery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) {
  .network-gallery-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .network-gallery-heading h2 { max-width: 19ch; }
  .network-gallery-stage { aspect-ratio: 1.3; }
  .network-gallery-controls { flex-wrap: wrap; gap: .9rem; }
  .network-gallery-caption { flex-basis: 100%; }
  .network-gallery-buttons { width: 100%; justify-content: flex-end; }
  .network-gallery-counter { margin-right: auto; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .network-gallery-thumb img { transition: none; } .network-gallery-thumb:hover img { transform: none; } }
