/* Lunisc Faculty Logo Polish v1 | Scoped to faculty pages and real uploaded logos.
   A circular, quiet emblem removes the old app-icon style square.
   Keep a white surface because some uploaded logos have white pixels baked in. */

/* Faculty detail banner: the logo is a discreet medallion, not a boxed thumbnail. */
.facinst-page .facinst-hero-icon.facinst-hero-icon--image {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  box-sizing: border-box;
  padding: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(8, 28, 51, 0.24);
  display: grid;
  place-items: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.facinst-page .facinst-hero-icon.facinst-hero-icon--image img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* Faculty directory: small, restrained circular mark inside each listing. */
.facinst-page .facinst-card .facinst-card-icon.facinst-card-icon--image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  box-sizing: border-box;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(45, 96, 161, 0.12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(30, 62, 93, 0.07);
  display: grid;
  place-items: center;
}

.facinst-page .facinst-card .facinst-card-icon.facinst-card-icon--image img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

@media (max-width: 680px) {
  .facinst-page .facinst-hero-icon.facinst-hero-icon--image {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    padding: 6px;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.16),
      0 7px 20px rgba(8, 28, 51, 0.20);
  }

  .facinst-page .facinst-card .facinst-card-icon.facinst-card-icon--image {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 4px;
  }
}
