/* Same brand destinations and theme tokens on desktop and phone. */
.infr-home-brand-links .infr-home-brand-link {
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.infr-home-brand-links .infr-home-brand-link:hover,
.infr-home-brand-links .infr-home-brand-link:focus-visible {
  border-color: var(--theme-accent) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 15%, transparent);
}
.infr-home-brand-links .infr-home-brand-link:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 3px;
}
.infr-home-brand-links .infr-home-brand-link:active {
  background: color-mix(in srgb, var(--theme-accent) 8%, var(--theme-surface)) !important;
}
@media (max-width: 767.98px) {
  /* Hide only the three items circled by the user; desktop content is retained. */
  .infr-home-hero p.text-lg,
  .infr-home-hero .infr-home-quicklinks a[href="/products?cat=gpu-card&brand=nvidia"],
  .infr-home-hero .mt-16.grid > div:first-child { display: none; }
  html[data-infr-theme="light"] body .infr-home-hero,
  html[data-infr-theme="light"] body[data-infr-home-hero="active"] .infr-home-hero { min-height: auto; }
  html[data-infr-theme="light"] .infr-home-hero > .relative {
    padding-top: 54px;
    padding-bottom: 66px;
  }
  html[data-infr-theme="light"] .infr-home-hero .flex.flex-col.gap-6 { gap: 18px; }
  html[data-infr-theme="light"] .infr-home-hero .infr-home-actions { gap: 12px; }
  html[data-infr-theme="light"] .infr-home-hero .infr-home-quicklinks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  html[data-infr-theme="light"] .infr-home-hero .infr-home-quicklinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 5px;
    font-size: 11px;
  }
  html[data-infr-theme="light"] .infr-home-hero .infr-home-quicklinks a[href="/products?cat=gpu-card&brand=nvidia"] { display: none; }
  html[data-infr-theme="light"] .infr-home-hero .mt-16.grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 256px);
    margin-top: 20px;
  }
  html[data-infr-theme="light"] .infr-home-hero .mt-16.grid > div {
    padding: 12px 16px;
    gap: 24px;
  }
  /* Move the entire photo/warm overlay/motion stage together so fans and lights
     stay registered with the chassis. Admin opacity and fade remain in effect. */
  .infr-home-hero .infr-hero-stage {
    left: calc(-1 * clamp(100px, 26vw, 140px));
    right: 0;
    filter: opacity(.38);
  }
  /* Keep the pause control above the compact content container's empty padding. */
  .infr-home-hero .infr-hero-pause { z-index: 11; }
  .infr-home-brand-links { padding-block: 24px; }
  .infr-home-brand-links .infr-home-brand-title {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: .04em;
  }
  .infr-home-brand-links .infr-home-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .infr-home-brand-links .infr-home-brand-link {
    width: 100%;
    min-width: 0;
    height: 60px;
    padding: 8px;
    border-radius: 10px;
  }
  .infr-home-brand-links .infr-home-brand-link img {
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  .infr-home-brand-links .infr-home-brand-link { transition: none; }
}
