/**
 * [iy_events_list] — large event tiles (curated lists without search UI).
 * Look ported from the insideyoga.org theme's .events/.event tiles
 * (divi-child style.css) so the trainings pages keep their appearance:
 * 20px card, image left 30 %, white date box on the image, gold type line,
 * heavy title, pill "more details" bottom right.
 * Colours with hex fallbacks: the host site has no --iy-* tokens.
 */
.iy-evlist {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
}
.iy-evlist__item {
  display: flex;
  min-height: 400px;
  border: 1px solid #d5d5d5;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.iy-evlist__image {
  display: block;
  flex: 0 0 30%;
  position: relative;
  background: #e9e4dc center / cover no-repeat;
}
.iy-evlist__datebox {
  position: absolute;
  left: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  border-radius: 5px;
  background: #fff;
  text-align: center;
  line-height: 1.3;
}
.iy-evlist__month {
  font-weight: 900;
  font-size: 18px;
  color: #000;
}
.iy-evlist__day {
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  font-variant-numeric: tabular-nums;
}
.iy-evlist__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 50px 25px 25px 50px;
}
.iy-evlist .iy-evlist__type {
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--iy-gold, #a87637);
}
.iy-evlist .iy-evlist__title {
  margin: 0 0 25px;
  padding: 0 25px 0 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  color: #000;
}
.iy-evlist__title a {
  color: inherit;
  text-decoration: none;
}
.iy-evlist .iy-evlist__dates {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}
.iy-evlist__foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.iy-evlist .iy-evlist__place {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--iy-gold, #a87637);
}
.iy-evlist__place svg {
  flex: none;
  margin-top: 1px;
}
.iy-evlist__cta {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 25px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  color: #000;
  text-decoration: none;
  transition: border-color 0.3s ease-in-out;
}
.iy-evlist__cta svg {
  transition: transform 0.3s ease-in-out;
}
.iy-evlist__cta:hover {
  border-color: #000;
  color: #000;
}
.iy-evlist__cta:hover svg {
  transform: rotate(45deg);
}
.iy-evlist__cta:focus-visible,
.iy-evlist__title a:focus-visible {
  outline: 2px solid var(--iy-teal, #2e6164);
  outline-offset: 3px;
}
.iy-evlist__empty {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
  font-size: 16px;
  color: #555;
}

@media (max-width: 767px) {
  .iy-evlist {
    row-gap: 20px;
  }
  .iy-evlist__item {
    flex-direction: column;
    min-height: 0;
  }
  .iy-evlist__image {
    flex: none;
    height: 56vw;
    max-height: 300px;
  }
  .iy-evlist__datebox {
    left: 16px;
    bottom: 16px;
  }
  .iy-evlist__body {
    padding: 24px 20px 20px;
  }
  .iy-evlist .iy-evlist__title {
    font-size: 21px;
    margin-bottom: 14px;
    padding-right: 0;
  }
  .iy-evlist__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 22px;
  }
  .iy-evlist__cta {
    justify-content: center;
    margin-left: 0;
    padding: 14px 25px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iy-evlist__cta,
  .iy-evlist__cta svg {
    transition: none;
  }
}
