/* Fichier CSS : /asset/css/page/reality/index.css */
/* --- ZONE DE RÉGLAGE INDEX --- */
.index-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(12 / 16 * 1rem);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.index-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #FDFCF7 !important;
  padding: calc(12 / 16 * 1rem) calc(15 / 16 * 1rem);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-z2);
  border: calc(1 / 16 * 1rem) solid #000000;
  box-sizing: border-box;
  flex: 1 1 calc(320 / 16 * 1rem);
  max-width: calc(380 / 16 * 1rem);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
html[data-theme="dark"] .index-card {
  background-color: #000000 !important;
  border: none;
}
.index-card:hover {
  transform: scale(var(--transform-scale-md));
}
.index-card-header {
  display: flex;
  align-items: center;
  gap: calc(15 / 16 * 1rem);
  margin-bottom: calc(10 / 16 * 1rem);
}
.index-card-icon {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(34 / 16 * 1rem);
  height: calc(34 / 16 * 1rem);
  border-radius: 50%;
  background-color: #4A813F;
  padding: calc(6 / 16 * 1rem);
  box-sizing: border-box;
  box-shadow: var(--shadow-z2);
  border: .1rem solid black;
}
html[data-theme="dark"] .index-card-icon {
  background-color: #016F29;
}
.index-card-icon > img,
.index-card-icon > svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
html[data-theme="dark"] .index-card-icon > img,
html[data-theme="dark"] .index-card-icon > svg {
  filter: brightness(0) invert(1);
}
.index-card p {
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  flex-grow: 1;
}
html[data-theme="dark"] .index-card p {
  color: var(--color-texte-dark-mode) !important;
}
.box {
  margin-bottom: calc(5 / 16 * 1rem);
}
html[data-theme="dark"] .box {
  border: none;
}
html[data-theme="dark"] h3 {
  font-size: 1.1rem !important;
}
@media (max-width: calc(790 / 16 * 1rem)) {
  .index-card {
    flex: 1 1 calc(50% - calc(12 / 16 * 1rem));
    max-width: calc(50% - calc(12 / 16 * 1rem));
  }
}
@media (max-width: calc(635 / 16 * 1rem)) {
  h3 {
    font-size: 1.1rem !important;
  }
  .index-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
@media (max-width: calc(480 / 16 * 1rem)) {
}