.wp-block-eventkoi-event-data {
  > div {
    margin: 0;
    padding: 0;
  }

  /* Default visual styles only apply to non-heading wrappers (div/p/span). */
  &.ek-event-title-default:where(div, p, span) {
    font-weight: 600;
    font-size: 1.25em;
  }

  &.ek-event-timeline-default {
    font-size: 0.9em;
    opacity: 0.85;
  }

  &.ek-event-location-default {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    opacity: 0.85;

    // The block toolbar's alignment sets text-align, which does nothing on a
    // flex container. Map it to justify-content so the location field honours
    // center/right the same way the title and date fields do.
    &.has-text-align-center {
      justify-content: center;
    }

    &.has-text-align-right {
      justify-content: flex-end;
    }

    a,
    span {
      display: flex;
      align-items: center;
      gap: 0.4em;
      text-decoration: none;
      color: inherit;
    }

    svg {
      width: 1em;
      height: 1em;
      opacity: 0.7;
      margin-top: 1px;
    }
  }
}
