/* Image sizing refinement: keeps layouts intact while preventing oversized images. */
.navbar-brand img[src*="sigma-23rd-anniversary"] {
  width: 230px !important;
  height: auto !important;
  max-width: 230px !important;
  max-height: 76px !important;
  object-fit: contain !important;
}

/* News page: keep article imagery balanced beside the copy. */
.news-visual {
  height: clamp(250px, 27vw, 340px);
  aspect-ratio: auto;
  max-width: 560px;
}
.news-visual img,
.news-visual--poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Standalone gallery page: avoid extra-tall thumbnails. */
.portfolio .portfolio-item .portfolio-img img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Team/card images remain neat and consistent. */
.team .member .pic img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .navbar-brand img[src*="sigma-23rd-anniversary"] {
    width: 210px !important;
    max-width: 210px !important;
    max-height: 70px !important;
  }
  .news-visual { max-width: 100%; height: 300px; }
}

@media (max-width: 575.98px) {
  .navbar-brand img[src*="sigma-23rd-anniversary"] {
    width: 185px !important;
    max-width: 185px !important;
    max-height: 62px !important;
  }
  .portfolio .portfolio-item .portfolio-img img { height: 220px; }
  .news-visual { height: 250px; }
}
