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

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

/* ------------------------------------ *\
  ==BASE
\* ------------------------------------ */
.paragraph .file-link {
  word-break: break-all;
}

.paragraph-file:not([class*='file--style']) a {
  color: var(--bs-blue);
  text-decoration: none;
}

.paragraph-file:not([class*='file--style']) a:hover {
  text-decoration: underline;
}

.paragraph-file .file-link__infos {
  display: inline-block;
  position: relative;
  top: -0.2rem;
  padding: 0 0.2rem;
  font-size: 0.656rem;
  background-color: #f6f6f6;
  color: #6a6a6a;
  border-radius: 0.2rem;
  margin-left: 0.5rem;
  border: solid 1px #e7e7e7;
  font-weight: 300;
}

/* ------------------------------------ *\
  ==STYLE 1
\* ------------------------------------ */
.paragraph-file.file--style-1 a.file-link {
  font-size: 1.875rem;
  color: var(--bs-black);
  font-weight: 500;
  position: relative;
  text-decoration: none;
}

.paragraph-file.file--style-1 a.file-link:before {
  position: absolute;
  top: 0.1rem;
  right: -2.5rem;
  content: '\f061';
  font: var(--fa-font-light);
  font-size: 2rem;
  color: var(--bs-blue);
  -webkit-transition: all 1s;
  transition: all 1s;
}

.paragraph-file.file--style-1 a.file-link:after {
  content: '';
  position: absolute;
  width: 100%;
  border-bottom: 2px solid var(--bs-purple);
  bottom: 0;
  left: 0;
}

.paragraph-file.file--style-1
  a.file-link:where(:hover, :focus, :active):before {
  right: -3.5rem;
}

.paragraph-file.file--style-1 a.file-link:where(:hover, :focus, :active) {
  color: var(--bs-blue);
}

.paragraph-file.file--style-1 .file-link__infos {
  top: -0.3rem;
}

/* ------------------------------------ *\
  ==STYLE 2
\* ------------------------------------ */
.paragraph-file.file--style-2 .file-link {
  padding: 0.938rem 4.813rem 0.938rem 2.813rem;
  color: var(--bs-white);
  background: transparent linear-gradient(262deg, #5a8fef 0, #1f63de 100%) 0 0
    no-repeat padding-box;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.paragraph-file.file--style-2 .file-link span:before {
  position: absolute;
  top: -0.15rem;
  right: -2.5rem;
  content: '\e4b2';
  font: var(--fa-font-light);
  font-size: 2rem;
  color: var(--bs-white);
}

.paragraph-file.file--style-2 .file-link:where(:hover, :focus, :active) {
  color: var(--bs-purple);
  background: transparent linear-gradient(262deg, #fff 0%, #fff 46%, #fff 100%)
    0 0 no-repeat padding-box;
  border: 1px solid #1f63de;
}

.paragraph-file.file--style-2
  .file-link:where(:hover, :focus, :active)
  span:before {
  color: var(--bs-purple);
}

/* ------------------------------------ *\
  ==STYLE 3
\* ------------------------------------ */
.paragraph-file.file--style-3 .file-link {
  padding: 0.938rem 4.813rem 0.938rem 2.813rem;
  background: transparent linear-gradient(261deg, #fff 0%, #fff 46%, #fff 100%)
    0 0 no-repeat padding-box;
  border: 1px solid var(--bs-blue);
  color: var(--bs-blue);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.paragraph-file.file--style-3 .file-link:where(:hover, :focus, :active) {
  color: var(--bs-purple);
  border: 1px solid var(--bs-purple);
}

.paragraph-file.file--style-3 .file-link span:before {
  position: absolute;
  top: -0.15rem;
  right: -2.5rem;
  content: '\e4b2';
  font: var(--fa-font-light);
  font-size: 2rem;
  color: var(--bs-blue);
}

.paragraph-file.file--style-3
  .file-link:where(:hover, :focus, :active)
  span:before {
  color: var(--bs-purple);
}
