.tec-event-item {
    margin-bottom: 2.5rem;
  background: #ecf6ea;
	border-radius: 5px;
  overflow: hidden;
}
.tec-event-item__inner {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}
/* Bild links */
.tec-event-item__media {
    flex: 0 0 260px;
    max-width: 260px;
}
.tec-event-item__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
/* Inhalt rechts */
.tec-event-item__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
/* Titel */
.tec-event-item__title {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}
.tec-event-item__title a {
	color: black;
    text-decoration: none;
}
/* Meta zweispaltig */
.tec-event-item__meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.tec-event-item__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
/* Placeholder für Icons – hier kannst du später SVG/Fonts dranhängen */
.tec-event-item__icon {
    width: 1em;
    height: 1em;
    display: inline-block;
}
/* Beispiel: einfache Kreis-Placeholder, bis du echte Icons einbaust */
.tec-event-item__icon--date,
.tec-event-item__icon--venue {
    border-radius: 999px;
    border: 1px solid currentColor;
}
/* Icons*/
.tec-event-item__icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
	border-radius: 0;
}
.tec-event-item__icon--venue {
  mask-image: url('../img/map-pin.svg');
}
.tec-event-item__icon--date {
  mask-image: url('../img/calendar-days.svg');
}
/* Excerpt */
.tec-event-item__excerpt {
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* Footer + Button rechts */
.tec-event-item__footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

/*.tec-event-item__button {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    text-decoration: none;
    font-size: 0.95rem;
}*/

/* Responsive: mobil untereinander */
@media (max-width: 767px) {
    .tec-event-item__inner {
        flex-direction: column;
    }
    .tec-event-item__media {
        max-width: 100%;
        flex-basis: auto;
    }
    .tec-event-item__meta-row {
        grid-template-columns: minmax(0, 1fr);
    }
	.tec-event-item__image.wp-post-image {
	  border-radius: 0;
	  object-fit: cover;
	  aspect-ratio: 2/1;
}
	.tec-event-item__meta-row {
  flex-direction: column;
}
}
.tec-event-item__title {
  margin-bottom: 15px;
}.tec-event-item__meta-row {
  color: green;
}
tec-event-item__meta-row {
  width: fit-content;
}
/*.tec-event-item {
  margin: 0;
}*/
tribe_events.type-tribe_events.status-publish.has-post-thumbnail.hentry {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}
.tec-event-item__body {
  padding: 15px 15px 15px 30px;
}
.tec-event-item__inner {
  gap: 0
}
.tec-events-wrapper li {
  margin: auto !important;
  max-width: 1000px;
}
.tec-event-item__media {
  display: flex;
}
.tec-event-item__media a {
  display: flex;
	width: 100%
}
.tec-event-item__meta-row {
	display: flex;
  width: fit-content;
}
