/* ANCRAGES EVENT COMPONENT - STYLE */

.event-component {
  display: flex;
/*   height: 190px; */
  height: 240px;
  gap: 30px;
  overflow: hidden;
}

.event-thumbnail-container{
  height: 100%;
/*   aspect-ratio: 1600/ 650; */
  aspect-ratio: 1600/ 840;
}

.event-component .event-thumbnail {
/*   aspect-ratio: 1600/ 650; */
  /*aspect-ratio: 1600/ 840; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.event-details {
  width: 70%;
  display: flex;
  background-color: #F6F6F6;
  border-radius: 30px;
  padding: 35px 25px;
}

.event-date-tag-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30%;
}

.event-title-excerpt-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
}

.learn-more-button-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 30%;
}

.event-component .event-title {
    font-size: 30px;
    font-weight: 400;
    line-height: 114%;
    margin-bottom: 0px;
}
.event-component a {
  text-decoration: none!important;
}

.event-component .event-excerpt {
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    color: #737373;
    margin-bottom: 0px;

}

.event-component .event-date {
    font-size: 19px;
    font-weight: 400;
    line-height: 25px;
    color: #000;
    margin-bottom: 0px;
}



/* ANCRAGES EVENT COMPONENT - RESPONSIVE */

@media screen and (max-width: 980px) {
  .event-component {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .event-thumbnail-container{
    aspect-ratio: auto;
  }

  .event-component .event-thumbnail {
    width: 100%;
    height: 250px;
    border-radius: 15px;
  }

  .event-details {
    width: 100%;
    padding: 20px 15px;
    border-radius: 15px;
    flex-direction: column;
    gap: 20px;
  }

  .event-date-tag-container {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }

  .event-title-excerpt-container {
    width: 100%;
  }

  .learn-more-button-container {
    width: 100%;
    justify-content: flex-start;
  }
  
}
