/* Round 15: public-news imagery and legible partner source materials. */
#brand .r15-news-grid .honor .h-img.r15-news-img{
  display:block;
  width:100%;
  height:184px;
  min-height:184px;
  padding:0;
  overflow:hidden;
  background:#dfe8f2;
  border:0;
  border-bottom:1px solid #e2e9f1;
}
#brand .r15-news-grid .honor .h-img.r15-news-img img{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center;
}
#brand .r15-news-grid .honor .h-body{min-height:196px}

/* Preserve each vertical brochure page while giving it most of the viewport. */
.r9-detail[data-partner="changan"] .r7-photo-duo.documents img,
.r9-detail[data-partner="changan"] .r9-gallery.documents .r9-photo img{
  width:100%;
  height:78vh;
  min-height:560px;
  max-height:900px;
  object-fit:contain;
  object-position:center;
  background:#eef3f8;
}
.r9-detail[data-partner="changan"] .r9-gallery.documents .r9-photo{overflow:hidden}

/* Generated business illustrations retain their 3:2 frame and visible AI label. */
.r9-detail[data-partner="bross"] .r9-gallery.documents .r9-photo img,
.r9-detail[data-partner="goldchain"] .r9-gallery.documents .r9-photo img{
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  background:#eaf2fa;
}

@media(max-width:1050px) and (min-width:761px){
  .r9-detail[data-partner="changan"] .r7-photo-duo.documents img,
  .r9-detail[data-partner="changan"] .r9-gallery.documents .r9-photo img{
    height:76vh;
    min-height:500px;
    max-height:760px;
  }
}
@media(max-width:760px){
  #brand .r15-news-grid .honor .h-img.r15-news-img{height:190px;min-height:190px}
  #brand .r15-news-grid .honor .h-body{min-height:0}
  .r9-detail[data-partner="changan"] .r7-photo-duo.documents img,
  .r9-detail[data-partner="changan"] .r9-gallery.documents .r9-photo img{
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:auto;
  }
}

/* Enlarge only the supplied W3SA artwork; never stretch or crop it. */
#constellation .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]),
#cview .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]){height:84px}
#constellation .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]) img,
#cview .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]) img{
  width:auto;
  height:auto;
  max-width:200px;
  max-height:82px;
  object-fit:contain;
}
@media(max-width:640px){
  #constellation .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]),
  #cview .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]){height:68px}
  #constellation .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]) img,
  #cview .r10-eco-logo:has(img[src="assets/ecosystem/web3-association.webp"]) img{max-width:160px;max-height:66px}
}
