/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
 * CONTENTS..............You’re reading it!
 * BASE ..................................
 * STYLE 1 ...............................
*/

/* ------------------------------------ *\
  ==BASE
\* ------------------------------------ */
.paragraph .file-link {
  display: inline-flex;
  padding-left: 1.5rem;
  padding-right: 0;
  color: var(--bs-blue);
  text-decoration: none;
  max-width: 75%;
  word-break: initial;
  line-height: 1.25;
  width: fit-content;
  font-weight: 500;
  font-size: 1rem;
}

.paragraph.paragraph--type--file .file-link::before {
  position: absolute;
  left: 0.9rem;
  content: '\f019';
  font: var(--fa-font-regular);
  color: var(--bs-blue);
  transform: translateY(-50%);
  top: 50%;
}

.paragraph.paragraph--type--file .file-link:hover,
.paragraph.paragraph--type--file .file-link:focus,
.paragraph.paragraph--type--file .file-link:active {
  text-decoration: none;
  color: var(--bs-p-orange);
}

.paragraph.paragraph--type--file .file-link:hover:before,
.paragraph.paragraph--type--file .file-link:focus:before,
.paragraph.paragraph--type--file .file-link:active:before {
  color: var(--bs-p-orange);
}

div.paragraph--type--file:hover {
  border: 1px solid var(--bs-p-orange);
  color: var(--bs-p-orange);
}

.file-link.cta--link {
  position: unset;
}

.paragraph.paragraph--type--file {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  text-align: left;
  color: var(--bs-blue);
  border: 1px solid var(--bs-blue);
  transition: border-color 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  text-decoration: none;
  margin-top: 0;
  padding: 1rem 1.5rem;
  width: 100%;
  position: relative;
}

.paragraph.section--no-gut
  .layout
  > .layout__region
  .paragraph.paragraph--type--file:not(:last-of-type) {
  margin-bottom: -1px;
}

.paragraph--type--file .file-link__infos {
  display: inline-block;
  position: relative;
  padding: 0 0.2rem;
  font-size: 1rem;
  color: var(--bs-black);
  border-radius: 0.2rem;
  font-weight: 400;
  margin-left: auto;
  align-content: center;
  text-transform: uppercase;
}
