.NodeEventTeaser-title {
  line-height: 1.26;
  font-family: var(--title-font);
  font-weight: normal;
  margin: 0 0 2rem;
  font-size: clamp(9px, 2.3rem, 23px);
}
@media (max-width: 999px) {
  .NodeEventTeaser-title {
    font-size: 2.2rem;
  }
}

.NodeEventTeaser-type {
  font-size: clamp(9px, 1.2rem, 12px);
  text-transform: uppercase;
  font-family: var(--base-font);
  letter-spacing: 1px;
  margin: 0 0 2rem;
  order: -1;
}

.NodeEventTeaser {
  position: relative;
  display: grid;
  gap: 0 1rem;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas: "img img" "type audience" "title title" "location location" "date date";
}
@media (max-width: 679px) {
  .NodeEventTeaser {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: solid 1px var(--gray);
    grid-template-rows: repeat(5, auto);
    grid-template-areas: "tags tags" "type audience" "title img" "location location" "date date";
  }
  .views-row:last-child .NodeEventTeaser {
    border-bottom: none;
    padding-bottom: 0;
  }
}
.views-row .NodeEventTeaser {
  margin-bottom: 0;
}
@media (min-width: 1000px) {
  .views-row .NodeEventTeaser {
    height: 100%;
  }
}
.NodeEventTeaser-title {
  grid-area: title;
  margin-bottom: 1.5rem;
}
.NodeEventTeaser-title a {
  text-decoration: none;
}
.NodeEventTeaser-title a::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 10;
}
.NodeEventTeaser-title a:hover {
  text-decoration: underline;
}
.NodeEventTeaser-img {
  grid-area: img;
  overflow: hidden;
  margin-bottom: 3rem;
}
.NodeEventTeaser-img img {
  display: block;
  width: 100%;
  aspect-ratio: 420/278;
  object-fit: cover;
  transform: none;
  transition: transform 0.2s ease-out 0s;
}
@media (max-width: 679px) {
  .NodeEventTeaser-img {
    width: 110px;
    margin-bottom: 0;
    justify-self: end;
  }
}
.NodeEventTeaser-type {
  grid-area: type;
  margin: 0 0 1.5rem;
}
.NodeEventTeaser-audience {
  grid-area: audience;
  font-size: clamp(9px, 1.2rem, 12px);
  color: var(--purple);
  margin: 0 0 1.5rem;
  text-align: right;
}
.NodeEventTeaser-location {
  grid-area: location;
  position: relative;
  padding-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: clamp(12px, 1.4rem, 14px);
}
.NodeEventTeaser-location::after {
  content: "";
  height: 1px;
  background-color: currentColor;
  width: 3.7rem;
  position: absolute;
  top: 0;
  left: 0;
}
.NodeEventTeaser-location::before {
  content: "";
  background-color: currentColor;
  mask: url("/themes/custom/academie_sciences/assets/img/icons_sprite.svg#Pin");
  background-size: contain;
  height: 1.6rem;
  width: 1.6rem;
  flex: 0 0 1.6rem;
  display: inline-block;
}
@media (max-width: 999px) {
  .NodeEventTeaser-location {
    font-size: 1.2rem;
  }
}
.NodeEventTeaser-date {
  grid-area: date;
  font-size: clamp(9px, 1.2rem, 12px);
  font-weight: bold;
  text-transform: uppercase;
}
.NodeEventTeaser-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 5;
  grid-area: tags;
}
@media (max-width: 679px) {
  .NodeEventTeaser-tags {
    position: static;
    margin-bottom: 1rem;
  }
}
.NodeEventTeaser-status, .NodeEventTeaser-online {
  padding: 0.2rem 0.3rem;
  background-color: var(--bg-color);
  display: inline-block;
  text-transform: uppercase;
  font-size: clamp(9px, 1.2rem, 12px);
  letter-spacing: 1px;
  line-height: 1.1;
}
@media (max-width: 679px) {
  .NodeEventTeaser-status {
    background-color: var(--gray-light);
  }
}
.NodeEventTeaser-online {
  background-color: var(--purple-light);
}
.NodeEventTeaser:has(a:hover) .NodeEventTeaser-img img, .NodeEventTeaser:focus-within .NodeEventTeaser-img img {
  transition-timing-function: ease-in;
  transform: scale(1.05);
}

/*# sourceMappingURL=nodeEventTeaser.css.map */
