@import '../../../styles/vars/breakpoints.css';

:global(.d-slide-colored) .eventcard  {
  box-shadow: none;
}

.eventcard {
  position: relative;
  /* size: 100% 360px; */
  width: 100%;
  height: 360px;
  max-width: var(--component-max-width);
  /* border-radius: 20px; */
  background-image: url(/images/5_Date_1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* box-shadow: 0 6px 40px 0 rgba(#eff8fc, 0.4); */
  overflow: hidden;
  background-size: cover;
  display: flex;
  align-items: flex-end;

  @media (--ms-and-down) {
    min-height: 450px;
    height: 100%;
  }
}

.overlay {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background-image: linear-gradient(to bottom, rgba(35, 22, 121, 0.2), #144872);
  align-items: flex-end;
}

.content {
  box-sizing: border-box;
  position: relative;
  /* position: absolute;
  top: 0;
  left: 0; */
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 4;
  font-size: rem(20px);
  padding: 32px 40px;
  color: white;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-start;

  @media (--ms-and-down) {
    height: 100%;
    padding: 24px 30px;
  }
}

.date {
  display: inline-block;
  font-weight: bold;
  font-size: rem(60px);
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
  word-break: break-word;
  line-height: normal;
  @media (--ms-and-down) {
    font-size: rem(50px);
  }
}

.pseudoDate {
  width: 0;
}

.title {
  width: 100%;
  margin: 0 0 10px;
  letter-spacing: 0.005em;
  font-size: rem(36px);
  word-break: break-word;
  line-height: normal;
  @media (--ms-and-down) {
    font-size: rem(28px);
  }
}

.subtitle {
  width: 100%;
  color: rgb(165, 180, 198);
  letter-spacing: 0.4px;
  margin: 0;
  word-break: break-word;
  line-height: normal;
}

.theme-second .subtitle {
}

.theme-second .title {
}

.theme-second .date {
  font-size: rem(47px);
  margin: 0 0 10px 0;
  color: #ebe376;
  @media (--ms-and-down) {
    font-size: rem(40px);
  }
}

.theme-second .overlay {
  background-image: linear-gradient(to bottom, rgba(42, 42, 42, 0), rgba(0, 0, 0, 0.8));
}

.theme-second .overlay_2 {
  display: block;
}

.overlay_2 {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  min-width: 160px;
  padding: 0 40px;
  top: 0;
  left: 0;
  z-index: 3;
  display: none;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

/* .theme-second .videocard {
  box-shadow: 5px 5px 5px 5px #eff8fc;
} */

.theme-second .content {
}
