/* AZO V5.67 — purposeful mobile mixed-format brand mosaic.
   Original logos, glass surface, section content, and desktop interactions unchanged. */
@media (max-width:600px){
  html body #partners .azo-logo-gallery{
    width:calc(100% - 30px)!important;
    max-width:490px!important;
    margin:14px auto 0!important;
  }
  html body #partners #partnerTrack>.azo-logo-sequence:first-child{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:clamp(48px,13.5vw,62px)!important;
    grid-auto-flow:row dense!important;
    gap:clamp(6px,1.65vw,9px)!important;
    align-items:stretch!important;
  }
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell{
    grid-column:span 1!important;
    grid-row:span 1!important;
    border-radius:clamp(11px,3vw,16px)!important;
    padding:5px!important;
    min-height:0!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  /* Long labels: horizontal tiles, alternating sizes without repeating a uniform template. */
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(1),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(6),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(11),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(17),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(21){
    grid-column:span 2!important;grid-row:span 1!important;
  }
  /* Taller formats create vertical rhythm. */
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(3),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(9),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(15),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(19){
    grid-column:span 1!important;grid-row:span 2!important;
  }
  /* A few small featured squares balance the narrow and wide pieces. */
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(5),
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell:nth-child(13){
    grid-column:span 2!important;grid-row:span 2!important;
  }
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell img{
    max-width:80%!important;max-height:76%!important;
    width:auto!important;height:auto!important;
    object-fit:contain!important;
  }
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partner-cell.azo-logo-selected{
    transform:scale(1.025)!important;
    z-index:3;
  }
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partners-cta-wrap{
    grid-column:span 2!important;grid-row:span 1!important;
    align-self:stretch;
  }
  html body #partners #partnerTrack>.azo-logo-sequence:first-child>.azo-partners-cta-wrap>.azo-partners-cta{
    padding:6px!important;min-height:0!important;font-size:clamp(10px,2.65vw,12px)!important;
    background:linear-gradient(135deg,rgba(248,159,41,.60),rgba(221,124,44,.36))!important;
    border:1px solid rgba(255,255,255,.36)!important;
    color:#FFFFFF!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 18px rgba(221,124,44,.15)!important;
  }
}
