.company-card {
  container: card / inline-size;
}

@container card (min-width: 530px) {
  .actions {
    display: flex;
  }

  .company-applications {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.company-applications,
.company-contacts,
.social-media-links,
.contact-applications,
.contact-companies {
  & ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
  }

  & li {
    margin-bottom: 0.25rem;
  }

  & h4 {
    margin: 0;
    padding-top: 1rem;
  }

  & p {
    margin: 0;
  }
}

/* Company contacts icon styling */
.company-contacts li {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.5rem;
}

.icon-button.application-state-button {
  gap: .5rem;
  padding: 0;
}

.is-current {
  box-shadow: 0 0 10px var(--color-highlight);

  svg {
    stroke-width: .2rem;
  }
}
