.paragraph-files {
  border: var(--spacing-s) solid var(--color-primary);

  .paragraph + .paragraph {
    margin: 0;
  }

  .paragraph:last-of-type .paragraph-file__container::after {
    display: none;
  }

  a.paragraph-file {
    &__container {
      position: relative;
      border: inherit;

      &:hover {
        text-decoration: none !important;
      }

      &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 50px);
        height: 0.1rem;
        background-color: var(--color-grey-200);
      }

      &:hover {
        box-shadow: none;
      }
    }
  }
}
