.ressource-carte {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 4px 24px 4px 24px;
  background: linear-gradient(135deg, #12312E 0%, #1F6E69 45%, #3FA9A4 100%);
  color: #fff;
}
.ressource-carte::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background-image: url('/images/oeil-lotus-maieusthesie-franck-dagorn-evide-blanc.webp'), url('/images/oeil-lotus-maieusthesie-franck-dagorn-evide-blanc.webp');
  background-repeat: repeat, repeat;
  background-size: 120px 120px, 120px 120px;
  background-position: 0 0, 60px 60px;
  opacity: .10;
  pointer-events: none;
}
.ressource-carte__format {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  min-width: 60px;
}
.ressource-carte__format svg { width: 30px; height: 30px; }
.ressource-carte__format span { font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; opacity: .9; }
.ressource-carte__corps { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ressource-carte__titre { display: block; font-weight: 600; }
.ressource-carte__actions { position: relative; z-index: 1; display: flex; gap: .5rem; flex-shrink: 0; }
.ressource-carte__action {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; border: none; cursor: pointer;
  transition: background .2s ease;
}
.ressource-carte__action:hover { background: rgba(255,255,255,.32); }
.ressource-carte__action svg { width: 16px; height: 16px; }
.ressource-carte__action--favori.est-favori { background: #fff; }
.ressource-carte__action--favori.est-favori svg { fill: #C1694F; stroke: #C1694F; }
@media (max-width: 480px) {
  .ressource-carte { flex-wrap: wrap; }
  .ressource-carte__corps { flex-basis: 100%; order: 3; }
}
.ressource-carte__action--texte {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: .5rem 1rem;
  gap: .4rem;
  background: #fff;
  color: #1F6E69;
}
.ressource-carte__action--texte svg { stroke: #1F6E69; }
.ressource-carte__action--texte span { font-weight: 600; font-size: .85rem; white-space: nowrap; }
.ressource-carte__action--texte:hover { background: #EAF7F5; }
.ressource-carte__aide {
  text-align: center;
  font-size: .82rem;
  color: #6b6058;
  margin: .8rem 0 0;
}
.ressource-carte__aide a { color: #1F6E69; text-decoration: underline; }
