/* TELAM Events · /events/ board + Beit Halochem links. Uses TELAM Core tokens and card/button classes; logical properties only (RTL-safe). */
.te-section { margin: 0 0 2.5rem; }
.te-section__title { margin: 0 0 1rem; font-size: 1.5rem; }
.te-section--sources { border-block-start: 1px solid var(--telam-border, #d7dbd4); padding-block-start: 1.75rem; margin-block-end: 1rem; }
.te-section--sources .te-section__title { font-size: 1.2rem; }

/* Part 1: events */
.te-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .te-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.te-event, .te-single { margin: 0; display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.te-date { flex: 0 0 auto; inline-size: 5.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; padding: .6rem .4rem; border-radius: var(--telam-radius, .75rem); background: var(--telam-green, #036537); color: #fff; line-height: 1.15; }
.te-date__day { font-size: 2.1rem; font-weight: 800; }
.te-date__month { font-size: 1rem; font-weight: 700; }
.te-date__weekday { font-size: .85rem; opacity: .95; margin-block-start: .15rem; }
.te-date__time { margin-block-start: .4rem; padding: .1rem .5rem; border-radius: 999px; background: #fff; color: var(--telam-green, #036537); font-weight: 800; font-size: .95rem; direction: ltr; }
.te-event__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.te-event__title { margin: 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.te-event__meta { margin: 0; font-weight: 700; color: var(--telam-green, #036537); }
.te-event__loc, .te-event__aud, .te-event__summary { margin: 0; overflow-wrap: anywhere; }
.te-label { font-weight: 700; }
.te-event__link { align-self: flex-start; margin-block-start: .35rem; min-height: var(--telam-touch, 2.75rem); display: inline-flex; align-items: center; }
.te-empty { margin: 0; }

/* Part 2: official sites (secondary) */
.te-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .te-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .te-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.te-card { margin: 0; display: flex; flex-direction: column; gap: .4rem; min-width: 0; padding: 1rem; box-shadow: none; }
.te-card__title { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.te-card__text { margin: 0; font-size: .95rem; }
.te-card__notice { margin: 0; font-size: .9rem; color: var(--telam-muted, #4a5568); }
.te-card__link { align-self: flex-start; margin-top: auto; min-height: var(--telam-touch, 2.75rem); display: inline-flex; align-items: center; }
.te-hub__note { margin: 1rem 0 0; }

.te-event__link:focus-visible, .te-card__link:focus-visible { outline: 3px solid var(--telam-bronze-600, #6ea22b); outline-offset: 2px; }
.te-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Single event page */
.te-single { margin-block-end: 1.5rem; }
.te-single__dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1rem; }
.te-single__dl dt { font-weight: 700; }
.te-single__dl dd { margin: 0; overflow-wrap: anywhere; }
.te-single__past { margin: 0; font-weight: 700; color: var(--telam-alert, #9b2c2c); }
.te-back { margin-block-start: 1.5rem; }

@media (max-width: 480px) {
	.te-event, .te-single { gap: .75rem; }
	.te-date { inline-size: 4.5rem; }
	.te-date__day { font-size: 1.8rem; }
	.te-event__link, .te-card__link { align-self: stretch; justify-content: center; }
	.te-single__dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
	.te-single__dl dd { margin-block-end: .4rem; }
}
