.p-widget-featured-companies {
  --spacing: var(--v-layout-container-padding);

  position: relative;
}

.p-widget-featured-companies__item {
  padding: 0 calc(var(--spacing) / 2);
  box-sizing: border-box;
  display: flex !important;
  align-items: stretch;
  height: auto !important;
}

.p-widget-featured-companies__item-inner {
  width: 100%;
  display: block;
  background-color: var(--v-color-2);
  border-radius: var(--v-border-radius-md);
  border: 1px solid var(--v-color-2--alt1);
  text-decoration: none;
}

.p-widget-featured-companies__item-inner:hover {
  box-shadow: var(--v-shadow-xs);
}

.p-widget-featured-companies__item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 400 / 150;
}

.p-widget-featured-companies__item-image img {
  max-height: 70%;
  max-width: 70%;
}

.p-widget-featured-companies__item-details {
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  border-top: 1px solid var(--v-color-2--alt1);
  font-size: 85%;
  line-height: 1.1;
}

@media (min-width: 1400px) {
  .p-widget-featured-companies {
    margin: 0 calc(var(--spacing) / 2 * -1);
  }
}
