/* Cartes des projets FCR — indépendante du CSS de la carte géographique */
.fcr-projects {
  max-width: 1200px;
  margin: 40px auto 60px;
  color: #1f1b1a;
}

.fcr-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fcr-projects__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e0da;
  border-radius: 14px;
  box-shadow: none;
  transition: box-shadow .15s ease;
}

.fcr-projects__card:hover {
  box-shadow: 0 8px 24px rgba(31, 27, 26, .10);
}

.fcr-projects__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.fcr-projects__theme {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 10px;

  background: #f6e5e9;
  color: #992139;
  border-radius: 5px;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.fcr-projects__year {
  flex: 0 0 auto;
  padding: 7px 10px;

  background: #343a40;
  color: #fff;
  border-radius: 5px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.fcr-projects__title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.16;
  font-weight: 700;
  color: #1f1b1a;
}

.fcr-projects__summary {
  margin: 0;
  color: #4a423e;
  font-size: 15px;
  line-height: 1.55;
}

.fcr-projects__summary> :first-child {
  margin-top: 0;
}

.fcr-projects__summary> :last-child {
  margin-bottom: 0;
}

.fcr-projects__summary p {
  margin-bottom: .75em;
}

.fcr-projects__summary ul,
.fcr-projects__summary ol {
  padding-left: 1.35em;
  margin-bottom: .75em;
}

.fcr-projects__summary img {
  max-width: 100%;
  height: auto;
}

.fcr-projects__bottom {
  margin-top: auto;
}

.fcr-projects__leaders {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.fcr-projects__leader {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.fcr-projects__portrait {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;

  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  align-self: center;
}

.fcr-projects__portrait--empty {
  display: grid;
  place-items: center;
  background: #efd9d3;
  color: #a97883;
  font-size: 12px;
}

.fcr-projects__leader-text {
  min-width: 0;
}

.fcr-projects__leader-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.fcr-projects__leader-text span {
  display: block;
  color: #5e5550;
  font-size: 13px;
  line-height: 1.4;
}

.fcr-projects__footer {
  padding-top: 16px;
  border-top: 1px solid #eee8e3;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
}

.fcr-projects__grant small {
  display: block;
  margin-bottom: 2px;
  color: #5e5550;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fcr-projects__grant strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.3;
}

.fcr-projects__more {
  margin-left: auto;
  color: #a30d26;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.fcr-projects__more:hover {
  color: #6e0818;
  text-decoration: underline;
}

.fcr-projects__more:focus-visible {
  outline: 2px solid #a30d26;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .fcr-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fcr-projects {
    margin: 28px auto 40px;
  }

  .fcr-projects__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fcr-projects__card {
    padding: 20px;
  }
}