/* 2026-11-12: internal company cards: reuse the existing 150x200 right ad panel. */
/* The shared .page-grid breaks to one column at <=1020px. */
.company-detail-sidebar-layout,
.company-detail-sidebar-layout > .page-stack,
.company-detail-sidebar-layout > .sidebar-ads {
  min-width: 0;
}
.company-detail-sidebar-layout > .page-stack {
  max-width: 100%;
}
.company-detail-sidebar-layout .company-shell,
.company-detail-sidebar-layout .company-hero,
.company-detail-sidebar-layout .wide-page-ad-slot {
  min-width: 0;
  max-width: 100%;
}
.company-detail-sidebar-layout .wide-page-ad-slot .wide-page-ad,
.company-detail-sidebar-layout .wide-page-ad-slot .wide-page-ad img {
  max-width: 100%;
}
@media (max-width: 1020px) {
  .company-detail-sidebar-layout > .sidebar-ads {
    grid-template-columns: repeat(2, 150px);
    justify-content: start;
  }
}
@media (max-width: 390px) {
  .company-detail-sidebar-layout > .sidebar-ads {
    grid-template-columns: 150px;
  }
}
