/* ============================================================
   ZU — News & Events homepage blocks + content teasers
   ============================================================ */

/* ── News block: 1 featured + 3 stacked ─────────────────── */
.zu-news-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-auto-rows: min-content;
  gap: 22px 28px;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zu-news-grid > *:first-child { grid-row: 1 / span 3; }
.zu-news-grid > * { min-width: 0; }

/* Base teaser (list variant) */
.zu-news-teaser {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--zu-gray-200);
  border-radius: var(--zu-radius); padding: 16px; align-items: flex-start; height: 100%;
}
.zu-news-teaser__image { flex: 0 0 96px; }
.zu-news-teaser__image img { width: 96px; height: 76px; object-fit: cover; border-radius: var(--zu-radius); }
.zu-news-teaser__body { display: flex; flex-direction: column; gap: 6px; }
.zu-news-teaser__category {
  align-self: flex-start; font-family: var(--zu-font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--zu-maroon);
}
.zu-news-teaser__title { margin: 0; }
.zu-news-teaser__title a { color: var(--zu-ink); font-family: var(--zu-font-display); font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.zu-news-teaser__title a:hover { color: var(--zu-maroon); }
.zu-news-teaser__date { color: var(--zu-gray-500); font-size: 12.5px; display: inline-flex; align-items: center; gap: 7px; }

/* Featured variant = first row of the homepage news block */
.zu-news-grid > *:first-child .zu-news-teaser {
  position: relative; display: flex; border: 0; padding: 0; overflow: hidden; min-height: 400px;
}
.zu-news-grid > *:first-child .zu-news-teaser__image { position: absolute; inset: 0; flex: none; }
.zu-news-grid > *:first-child .zu-news-teaser__image img {
  width: 100%; height: 100%; border-radius: 0; object-fit: cover;
}
.zu-news-grid > *:first-child .zu-news-teaser__image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,.02) 35%, rgba(10,12,16,.85) 100%);
}
.zu-news-grid > *:first-child .zu-news-teaser__body {
  position: relative; z-index: 1; align-self: flex-end; padding: 26px; gap: 12px;
}
.zu-news-grid > *:first-child .zu-news-teaser__category {
  background: var(--zu-maroon); color: #fff; padding: 4px 10px; border-radius: var(--zu-radius);
}
.zu-news-grid > *:first-child .zu-news-teaser__title a {
  color: #fff; font-size: 23px; line-height: 1.25;
}
.zu-news-grid > *:first-child .zu-news-teaser__date { color: #C9CBCE; font-size: 13px; }

/* ── Events block: 4-up cards ───────────────────────────── */
.zu-events-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.zu-event-teaser {
  background: #fff; border: 1px solid var(--zu-gray-200); border-radius: var(--zu-radius);
  padding: 22px; display: flex; flex-direction: column; gap: 6px; height: 100%;
}
.zu-event-teaser__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.zu-event-teaser__cal { color: var(--zu-maroon); display: inline-flex; }
.zu-event-teaser__category {
  font-family: var(--zu-font-display); font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--zu-maroon); border: 1px solid var(--zu-maroon);
  border-radius: var(--zu-radius); padding: 4px 10px;
}
.zu-event-teaser__title { margin: 0 0 8px; }
.zu-event-teaser__title a { color: var(--zu-ink); font-family: var(--zu-font-display); font-size: 16px; font-weight: 700; line-height: 1.3; }
.zu-event-teaser__title a:hover { color: var(--zu-maroon); }
.zu-event-teaser__meta { color: var(--zu-gray-500); font-size: 13px; display: flex; align-items: center; gap: 7px; }

/* Sub-heading between news and events inside the section */
.zu-subheading { font-family: var(--zu-font-display); font-size: 20px; font-weight: 700; margin: 44px 0 20px; }

/* Hide default views headers on these blocks */
.zu-home-block--news h2, .zu-home-block--events h2 { display: none; }

@media (max-width: 980px) {
  .zu-news-grid { grid-template-columns: 1fr; }
  .zu-news-grid > *:first-child { grid-row: auto; }
  .zu-events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .zu-events-grid { grid-template-columns: 1fr; }
}
