.ogc-brands-directory {
  padding: 32px 0 48px;
}

.ogc-brands-header {
  text-align: center;
  margin-bottom: 28px;
}

.ogc-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.ogc-brand-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ogc-brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.ogc-brand-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ogc-brand-card__media {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-bottom: 1px solid #f0f0f0;
}

.ogc-brand-card__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ogc-brand-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5, #ececec);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  color: #444;
}

.ogc-brand-card__body {
  padding: 16px 14px 18px;
  text-align: center;
}

.ogc-brand-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.ogc-brand-card__count {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 1100px) {
  .ogc-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .ogc-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ogc-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}