/*
 * DSFR v1.0.0-rc1.0 | restricted use
 */
@charset "UTF-8";

/* ------------------------------------ *\
  CARDS
\* ------------------------------------ */

.fr-card__img img {
  object-fit: cover;
  object-position: 50% 50%;
}

.fr-card {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}

.fr-grid-row .fr-card {
  height: 100%;
}

.fr-card:not(.fr-card--no-arrow) .fr-card__body::after {
  font-family: icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
}

.fr-card:not(.fr-card--no-arrow) .fr-card__body::after {
  font-size: 1.5rem;
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  margin-top: auto;
  margin-left: auto;
}

.fr-card__img {
  position: relative;
  width: 100%;
}

.fr-card__img::before {
  display: block;
  content: "";
  width: 100%;
  padding-bottom: 56.25%;
}

.fr-card__img img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fr-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem;
}

.fr-card__detail {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.fr-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.fr-card__desc {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.fr-card__link {
  --is-link: false;
  display: inline-flex;
  width: 100%;
  margin-top: auto;
}

.fr-card {
  background-color: var(--beige);
}

.fr-card.fr-enlarge-link {
  background-color: var(--beige);
}

:root:not([data-fr-theme="dark" i]) .fr-card.fr-enlarge-link {
  --color-hover: rgba(224, 219, 208, 0.5);
  --color-active: rgba(199, 189, 170, 0.5);
}

:root:not([data-fr-theme="dark" i]) [class*="fr-scheme-light"] .fr-card.fr-enlarge-link,
:root:not([data-fr-theme="dark" i]) [class*="--scheme-light-"] .fr-card.fr-enlarge-link {
  --color-hover: rgba(224, 219, 208, 0.5);
  --color-active: rgba(199, 189, 170, 0.5);
}

:root:not([data-fr-theme="dark" i]) [class*="fr-scheme-dark"] .fr-card.fr-enlarge-link,
:root:not([data-fr-theme="dark" i]) [class*="--scheme-dark-"] .fr-card.fr-enlarge-link {
  --color-hover: rgba(79, 79, 79, 0.5);
  --color-active: rgba(115, 115, 115, 0.5);
}

:root[data-fr-theme="dark" i] .fr-card.fr-enlarge-link {
  --color-hover: rgba(79, 79, 79, 0.5);
  --color-active: rgba(115, 115, 115, 0.5);
}

.fr-card:not(.fr-card--no-arrow) .fr-card__body::after {
  color: var(--bf500);
}

.fr-card__detail {
  color: var(--g600);
}

.fr-card__title {
  color: var(--g800);
}

@media (min-width: 48em) {
  .fr-card__title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .fr-card--horizontal {
    flex-direction: row-reverse;
  }

  .fr-card--horizontal .fr-card__img {
    width: 40.78%;
    flex: 1 0 auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .fr-card.fr-enlarge-link:not(a):not(:disabled):hover,
  a.fr-card.fr-enlarge-link[href]:hover {
    background-image: linear-gradient(0deg, var(--color-hover), var(--color-hover));
  }

  .fr-card.fr-enlarge-link:not(a):not(:disabled):active,
  a.fr-card.fr-enlarge-link[href]:active {
    background-image: linear-gradient(0deg, var(--color-active), var(--color-active));
  }
}
