/* Founder / Art Shanghai — desktop baseline */
#about .founder-history-stage {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

#about .founder-history-stage .founder-gallery {
  display: grid;
  grid-template-columns: 72px 200px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  margin: 20px 0 38px;
  padding: 0;
  box-sizing: border-box;
}

#about .founder-history-stage .founder-gallery-portrait {
  grid-column: 1;
  grid-row: 1;
  width: 72px;
}

#about .founder-history-stage .founder-gallery-portrait .image-open,
#about .founder-history-stage .founder-gallery-portrait img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

#about .founder-history-stage .founder-gallery-main {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 200px;
}

#about .founder-history-stage .founder-gallery-main .image-open,
#about .founder-history-stage .founder-gallery-main img {
  display: block;
  width: 200px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

#about .founder-history-stage .founder-gallery-main figcaption {
  margin-top: 10px;
  text-align: center;
  color: #788d9a;
  font-size: 12px;
}

#about .founder-history-stage .founder-gallery-art-shanghai {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}

#about .founder-history-stage .founder-gallery-art-shanghai figcaption {
  margin: 0 0 14px;
  color: #788d9a;
  font: 600 12px/1.3 Arial, sans-serif;
  letter-spacing: .08em;
}

#about .founder-history-stage .founder-gallery-art-shanghai .image-open,
#about .founder-history-stage .founder-gallery-art-shanghai img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#about .founder-history-stage .founder-gallery-certificates {
  grid-column: 3;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  width: 100%;
  margin: 14px 0 0;
  padding-top: 8px;
  border-top: 1px solid #dfd5c5;
}

#about .founder-history-stage .founder-gallery-certificates figure,
#about .founder-history-stage .founder-gallery-certificates .image-open {
  min-width: 0;
  width: 100%;
  margin: 0;
}

#about .founder-history-stage .founder-gallery-certificates img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#about .founder-history-stage .founder-gallery-certificates figcaption {
  display: none;
}
/* Hide optional founder captions requested by the user. */
#about .founder-history-stage .founder-gallery-portrait figcaption,
#about .founder-history-stage .founder-gallery-note {
  display: none;
}

/* Founder mobile layout: preserve the desktop composition in a compact grid. */
@media (max-width: 900px) {
  #about .founder-history-stage .founder-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 14px;
    width: 100%;
    margin: 20px 0 34px;
  }

  #about .founder-history-stage .founder-gallery-portrait {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 76px;
  }

  #about .founder-history-stage .founder-gallery-portrait .image-open,
  #about .founder-history-stage .founder-gallery-portrait img {
    width: 76px;
    height: 76px;
  }

  #about .founder-history-stage .founder-gallery-main {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  #about .founder-history-stage .founder-gallery-art-shanghai {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  #about .founder-history-stage .founder-gallery-main .image-open,
  #about .founder-history-stage .founder-gallery-main img,
  #about .founder-history-stage .founder-gallery-art-shanghai .image-open,
  #about .founder-history-stage .founder-gallery-art-shanghai img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
  }

  #about .founder-history-stage .founder-gallery-main figcaption {
    margin-top: 10px;
    text-align: center;
  }

  #about .founder-history-stage .founder-gallery-art-shanghai figcaption {
    margin: 0 0 12px;
  }

  #about .founder-history-stage .founder-gallery-certificates {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding-top: 14px;
  }

  #about .founder-history-stage .founder-gallery-certificates figure,
  #about .founder-history-stage .founder-gallery-certificates .image-open,
  #about .founder-history-stage .founder-gallery-certificates img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
  }
}
