/**
 * "Compétences" section: plain text, one row per category
 * (title on the left, content on the right, thin rule between rows).
 * Default look is for white sections, the .patterned-bg block at the
 * end handles the blurred ones.
 */
.skills-list {
  text-align: left;
}

.skill-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid #ddd;
}

.skill-title,
.skill-group {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  color: #222;
}

.skill-title {
  margin: 0;
  font-size: 1.2rem;
}

.skill-title i {
  width: 1.4em;
  opacity: 0.7;
}

.skill-group {
  margin: 1rem 0 0.25rem;
  font-size: 1rem;
}

.skill-group:first-child {
  margin-top: 0;
}

.skill-items {
  margin: 0;
  padding-left: 1.1rem;
  color: #404040;
}

.skill-items li {
  margin: 0.3rem 0;
  line-height: 1.5;
}

.skill-items code {
  padding: 0.05em 0.3em;
  border-radius: 2px;
  background: #eee;
  font-size: 0.9em;
}

.skill-items a {
  color: #222;
  text-underline-offset: 0.15em;
}

@media screen and (max-width: 600px) {
  .skill-row {
    grid-template-columns: 1fr;
  }
}

/* blurred sections */
.section-wrapper.patterned-bg .skill-row {
  border-top-color: rgba(255, 255, 255, 0.5);
}

.section-wrapper.patterned-bg .skill-title,
.section-wrapper.patterned-bg .skill-group,
.section-wrapper.patterned-bg .skill-items,
.section-wrapper.patterned-bg .skill-items a {
  color: #fff;
}

.section-wrapper.patterned-bg .skill-items code {
  background: rgba(255, 255, 255, 0.15);
}
