/* ==========================================================================
   MODULE
   Reusable, self-contained UI components used across multiple pages:
   buttons, links, lists, badges, icons.
   ========================================================================== */

.nav-link {
  width: 8rem;
  height: 3rem;
  padding: var(--_spacing---spacing-small) 0px;
  color: var(--pressed-color);
  text-align: left;
  justify-content: center;
  align-self: center;
  align-items: center;
  font-size: 18px;
  text-decoration-style: solid;
  text-decoration-color: #6c6cc0;
  transition: all 0.2s;
  display: flex;
}

.primary-button {
  padding: 8px 32px;
  border: 2px solid #262944;
  color: #262944;
  font-size: var(--_fonts---paragraph);
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.list,
.list-2 {
  margin-top: var(--_spacing---spacing-medium);
  margin-bottom: var(--_spacing---spacing-medium);
  color: var(--primary-color);
  font-size: 18px;
  line-height: var(--_line-height---paragraph-line-height);
  padding-left: 0;
  padding-right: 0;
  list-style-type: none;
}

.logo {
  width: 5rem;
  height: 2rem;
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
}

.link-wrapper {
  padding: 0.3rem 0rem;
  font-size: 1rem;
  text-decoration: none;
  color: var(--primary-color);
}

.page-marker {
  color: var(--pressed-color);
  font-size: var(--_fonts---medium);
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 300;
}

.arrow.arrow-reversed {
  transform: rotate(180deg);
}

.descriptor {
  max-width: 40rem;
  font-size: var(--_fonts---descriptor-tiny);
  margin-bottom: 0;
  font-weight: 400;
}

.project-list {
  padding-left: var(--_spacing---spacing-medium);
  margin-bottom: 0;
}

.in-text-link {
  color: var(--accent-color-2);
  text-underline-offset: 4px;
  font-weight: 700;
  text-decoration: underline;
  display: inline;
}

.block-quote {
  border-left-width: 0.5px;
  border-left-color: var(--pressed-color);
  max-width: 40rem;
  font-size: var(--_fonts---paragraph);
  line-height: var(--_line-height---paragraph-line-height);
  font-style: italic;
}

.semi-bold {
  max-width: 40rem;
  font-weight: 600;
}

.frustration-meter {
  width: 100%;
  max-width: 40rem;
}

.frustration-meter-track {
  position: relative;
  width: 100%;
  height: 1rem;
  border: 1px solid var(--pressed-color);
  border-radius: 0.75rem;
  background-color: var(--container-color);
  overflow: hidden;
  container-type: inline-size;
}

.frustration-meter-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background-image: linear-gradient(to right, var(--frustration-pink), var(--frustration-red));
  background-size: 100cqw 100%;
  background-repeat: no-repeat;
}

.frustration-meter-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.75rem;
}

.frustration-meter-label,
.frustration-meter-value {
  margin: 0;
  color: var(--pressed-color);
  font-size: var(--_fonts---descriptor-tiny);
  font-weight: 500;
}

.frustration-meter-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

