article.pt-event--full {
  padding: 0;
}

/* title + image behaviour */
.image-event-container picture {
  img {
    height: auto;
    width: 100%;
  }
}

@media (min-width: 992px) {
  /* image wrapper */
  /* fix ratio so height of contianer match image inside */
  .page-node-type--event .it-page-title__wrapper {
    aspect-ratio: 2.1;

    > div > div .region-title,
    > div > div,
    > div {
      position: relative;
      height: 100%;
    }
  }

  .image-event-container {
    padding-top: 6rem;
    padding-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
  }

  .image-event-container,
  .image-event-container .image-event-inner-container {
    position: relative;
  }

  .image-event-container picture {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    img {
      position: absolute;
      z-index: -1;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .image-event-container:before {
    content: "";
    background-image: linear-gradient(0deg, black, transparent);
    position: absolute;
    width: 100%;
    height: calc(100% - -6rem);
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .image-event-container figure img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
  }
}

@media (min-width: 1200px) {
  .image-event-container {
    padding-top: 9rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1400px) {
  .image-event-container {
    padding-top: 14rem;
    padding-bottom: 3rem;
  }
}

/*category label*/
@media (min-width: 992px) {
  .event-category-label {
    color: #fff !important;
  }
}

/*Main title*/
@media (min-width: 992px) {
  h1.event-detail-title {
    color: #fff !important;
  }
}

/* card info metadata */
.card-event-metadata .card a::after {
  display: none;
}

/*fixed behaviour*/
.container-card-event-metadata.bs-is-sticky {
  top: 0px;
  position: fixed !important;
  padding: 0 !important;
}

@media (min-width: 992px) {
  div:not(.bs-is-sticky) > .second-column {
    position: absolute;
    right: 0;
    top: 0;
  }
}
.container-card-event-metadata .card:after {
  display: none;
}

/* sponsor e organizers */
.sponsor-e-organizers-container > .paragraph {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 1rem;
  column-gap: 1rem;

  /* title group */
  h5 {
    grid-column: 1 / -1;
  }
}

.sponsor-e-organizers-container > .paragraph:not(:last-child) {
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .sponsor-e-organizers-container > .paragraph {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* related card event */
.related-cards-container .row > div:not(last-child) {
  margin-bottom: 2rem;
}
