
/* =========================================================
   V5 mobile brand grid refinement
   STRICT: CSS only, no JavaScript.
   Three square brand cards per row on phones.
   ========================================================= */
@media (max-width: 600px) {
  .atlas-ccl300 .atlas-source-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  .atlas-ccl300 .atlas-source-brand-card {
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 5px !important;
    border-top-width: 3px !important;
  }
  .atlas-ccl300 .atlas-source-brand-head {
    min-height: 21px !important;
    gap: 3px !important;
    padding-bottom: 4px !important;
  }
  .atlas-ccl300 .atlas-source-brand-block {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }
  .atlas-ccl300 .atlas-source-brand-head > span:last-child {
    font-size: 5.4px !important;
    line-height: 1.02 !important;
    letter-spacing: -.015em;
  }
  .atlas-ccl300 .atlas-source-brand-card h3 {
    margin: 4px 0 2px !important;
    font-size: clamp(8px, 2.25vw, 9.2px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.03em !important;
  }
  .atlas-ccl300 .atlas-source-brand-card p {
    margin: 0 !important;
    font-size: clamp(5.25px, 1.45vw, 5.9px) !important;
    line-height: 1.15 !important;
    letter-spacing: -.008em;
  }
  .atlas-ccl300 .atlas-source-components-original > h3 {
    font-size: 20px;
  }
}
@media (max-width: 360px) {
  .atlas-ccl300 .atlas-source-brand-grid { gap: 4px !important; }
  .atlas-ccl300 .atlas-source-brand-card {
    padding: 4px !important;
    border-top-width: 2px !important;
  }
  .atlas-ccl300 .atlas-source-brand-head {
    min-height: 18px !important;
    gap: 2px !important;
    padding-bottom: 3px !important;
  }
  .atlas-ccl300 .atlas-source-brand-block {
    flex-basis: 15px;
    width: 15px;
    height: 15px;
  }
  .atlas-ccl300 .atlas-source-brand-head > span:last-child {
    font-size: 4.65px !important;
  }
  .atlas-ccl300 .atlas-source-brand-card h3 {
    margin: 3px 0 2px !important;
    font-size: 7.2px !important;
  }
  .atlas-ccl300 .atlas-source-brand-card p {
    font-size: 4.75px !important;
    line-height: 1.12 !important;
  }
}


@media (max-width: 340px) {
  .atlas-ccl300 .atlas-source-brand-card h3 { font-size: 6.9px !important; }
  .atlas-ccl300 .atlas-source-brand-card p { font-size: 4.45px !important; line-height: 1.1 !important; }
  .atlas-ccl300 .atlas-source-brand-head > span:last-child { font-size: 4.45px !important; }
}
