/* Wansteadium Events: listing and event pages. Follows the site: Karla, ink #1d2931, heavy black section rules, blue links. */
.wsev {
	/* the sidebar events widget's palette */
	--wsev-ink: #202b3a;
	--wsev-muted: #697689;
	--wsev-line: #dce3ed;
	--wsev-blue: #166ce7;
	--wsev-blue-dark: #0e53b8;
	--wsev-soft: #f1f5fa;
	color: var(--wsev-ink);
	font-family: inherit;
	line-height: 1.5;
	max-width: 860px;
	margin: 0 auto;
}
.wsev a { color: var(--wsev-blue); text-decoration: none; }
.wsev a:hover { text-decoration: underline; }
.wsev img { display: block; max-width: 100%; }

/* ---------- shield our headings from the theme's small-heading style (capitals, letter-spacing, underlines) ---------- */
.wsev h1, .wsev h2, .wsev h3, .wsev h4,
.wsev h1 a, .wsev h2 a, .wsev h3 a, .wsev h4 a,
.wsev .wsev-highlight__title, .wsev .wsev-month__ev {
	text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important;
	text-decoration: none !important; border-bottom: 0 !important; box-shadow: none !important; background-image: none !important;
}
.wsev h1 a:hover, .wsev h2 a:hover, .wsev h3 a:hover, .wsev h4 a:hover { text-decoration: underline !important; }
/* the theme's heading and paragraph spacing, and its link underlines, don't apply inside our layout: we set our own */
.wsev h1, .wsev h2, .wsev h3, .wsev h4, .wsev p { margin: 0 !important; padding: 0 !important; }
.wsev a { border-bottom: 0 !important; box-shadow: none !important; background-image: none !important; }
.wsev .wsev-views a[aria-current] { border-bottom: 2px solid #fff !important; }
.wsev .wsev-event__title, .wsev .wsev-title { letter-spacing: -0.015em !important; }

/* the listing page: the blue bar is the page heading, so hide the theme's title (Twenty Sixteen's .entry-header) */
.wsev-listing-page .entry-header { display: none; }

/* ---------- header and filters ---------- */
.wsev-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 16px; background: var(--wsev-blue); color: #fff; border-radius: 11px; padding: 16px 18px; }
.wsev-head__name { display: flex; align-items: center; gap: 12px; }
.wsev-head__symbol { font-size: 30px; line-height: 1; }
.wsev-head__brand { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; opacity: .9; }
.wsev .wsev-title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; line-height: 1.1; margin: 2px 0 0; color: #fff; }
.wsev-views { display: flex; gap: 16px; font-size: 14px; }
.wsev .wsev-views a { color: #fff; opacity: .85; }
.wsev .wsev-views a[aria-current] { opacity: 1; font-weight: 700; border-bottom: 2px solid #fff !important; }
.wsev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.wsev .wsev-chip { font-size: 14px; line-height: 1.2; padding: 7px 14px; border: 1px solid var(--wsev-line); border-radius: 999px; color: var(--wsev-ink); background: #fff; white-space: nowrap;
	box-shadow: none !important; background-image: none !important; text-shadow: none !important; text-decoration: none !important; }
.wsev .wsev-chip:hover { border-color: var(--wsev-blue); color: var(--wsev-blue); }
.wsev .wsev-chip.is-on { background: var(--wsev-blue); border-color: var(--wsev-blue); color: #fff; }

/* ---------- visuals: posters at their own shape, venue photos, category tiles ---------- */
.wsev-visual { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--wsev-soft); }
.wsev-visual--poster img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
/* colour wash: a blurred, enlarged copy of the poster fills any space around it with its own colours */
.wsev-visual--poster::before { content: ""; position: absolute; inset: 0; background: var(--wsev-img) center / cover no-repeat; filter: blur(14px) saturate(1.3); transform: scale(1.25); opacity: .85; }
.wsev-visual--poster::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .12); }
.wsev-visual--venue img { width: 100%; height: 100%; object-fit: cover; }
.wsev-visual--venue span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 11px; line-height: 1.2; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.wsev-visual--tile { background: var(--wsev-tile, #586877); display: flex; align-items: flex-end; padding: 6px; }
.wsev-visual--tile span { color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; }
.wsev-visual--thumb { width: 72px; }
.wsev-visual--thumb.wsev-visual--venue span { display: none; }
.wsev-visual--initial { align-items: center; justify-content: center; }
.wsev-visual--initial span { font-size: 28px; line-height: 1; }
.wsev-visual--page { width: 100%; max-width: 280px; border-radius: 8px; }
.wsev-visual--page.wsev-visual--poster { aspect-ratio: auto; background: transparent; }
.wsev-visual--page.wsev-visual--poster img { height: auto; }

/* ---------- date tiles (as in the sidebar widget) ---------- */
.wsev-date { flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 48px; padding: 5px 2px; border-radius: 6px; background: var(--wsev-soft); line-height: 1.1; }
.wsev-date span { font-size: 10px; font-weight: 700; letter-spacing: .03em; color: var(--wsev-blue); }
.wsev-date b { font-size: 23px; font-weight: 800; color: var(--wsev-ink); margin: 2px 0; }
.wsev-date--large { width: 60px; padding: 7px 2px; }
.wsev-date--large b { font-size: 28px; }
.wsev-date--overlay { position: absolute; z-index: 2; top: 8px; left: 8px; background: #fff; border: 1px solid var(--wsev-line); width: 44px; }
.wsev-date--overlay b { font-size: 19px; }

/* ---------- new and popular ---------- */
.wsev-highlights-wrap { margin: 0 0 8px; }
.wsev .wsev-section-head { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase !important; color: var(--wsev-muted); margin: 0 0 10px !important; }
.wsev-why { position: absolute; z-index: 2; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--wsev-blue); }
.wsev-why--popular { background: var(--wsev-blue); color: #fff; }
.wsev-highlight__pic { position: relative; display: block; }
.wsev-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; }
.wsev a.wsev-highlight { color: var(--wsev-ink); display: block; }
.wsev a.wsev-highlight:hover { text-decoration: none; }
.wsev a.wsev-highlight:hover .wsev-highlight__title { text-decoration: underline; }
.wsev-highlight__title { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; margin: 8px 0 2px; }
.wsev-highlight__meta { display: block; font-size: 13px; color: var(--wsev-muted); }

/* ---------- day agenda ---------- */
.wsev-day { margin: 28px 0 0; }
.wsev .wsev-day__head { margin-bottom: 4px !important; }
.wsev-day .wsev-row:last-child { border-bottom: 0; }
.wsev-day__head { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--wsev-line); padding: 14px 0 4px; margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--wsev-ink); }
.wsev-day__head em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--wsev-blue); border-radius: 999px; padding: 3px 9px; }
.wsev-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--wsev-line); }
.wsev-row__visual { display: block; line-height: 0; }
.wsev-row__body { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; min-width: 0; }
.wsev-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.wsev .wsev-row__title { font-size: 21px; font-weight: 700; line-height: 1.2; }
.wsev .wsev-row__title a { color: var(--wsev-ink); }
.wsev .wsev-row__meta { font-size: 15px; line-height: 1.35; color: var(--wsev-muted); }
.wsev .wsev-empty { color: var(--wsev-muted); padding: 18px 0 !important; }
.wsev .wsev-more { margin: 22px 0 0 !important; font-weight: 700; }

/* ---------- month ---------- */
.wsev-month__nav { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--wsev-blue); padding-top: 10px; margin-bottom: 10px; }
.wsev .wsev-month__nav h3 { font-size: 22px; font-weight: 700; }
.wsev-month__grid { border-radius: 7px; overflow: hidden; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid var(--wsev-line); border-top: 1px solid var(--wsev-line); }
.wsev-month__dow { font-size: 12px; font-weight: 700; color: var(--wsev-muted); padding: 6px; border-right: 1px solid var(--wsev-line); border-bottom: 1px solid var(--wsev-line); }
.wsev-month__cell { min-height: 92px; padding: 5px 6px; border-right: 1px solid var(--wsev-line); border-bottom: 1px solid var(--wsev-line); font-size: 12px; line-height: 1.25; }
.wsev-month__cell.is-out { background: var(--wsev-soft); }
.wsev-month__cell.is-today .wsev-month__num { background: var(--wsev-blue); color: #fff; border-radius: 999px; padding: 0 6px; }
.wsev-month__num { display: inline-block; font-weight: 700; margin-bottom: 4px; }
.wsev .wsev-month__ev { display: block; color: var(--wsev-ink); margin-bottom: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wsev .wsev-month__more { font-weight: 700; }

/* ---------- event page ---------- */
.wsev-event { padding-top: 6px; }
.wsev .wsev-crumbs { font-size: 14px; color: var(--wsev-muted); margin: 0 0 14px !important; }
.wsev-event__top { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 30px; align-items: start; }
.wsev .wsev-kicker { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--wsev-blue); margin: 0 0 6px !important; }
.wsev .wsev-event__title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; line-height: 1.08; margin: 0 0 16px !important; color: var(--wsev-ink); }
.wsev-facts { border-top: 3px solid var(--wsev-blue); padding-top: 14px; }
.wsev-fact--date { align-items: center; }
.wsev .wsev-fact { display: flex; gap: 12px; margin: 0 0 12px !important; font-size: 19px; line-height: 1.3; }
.wsev-fact__icon { font-size: 18px; width: 20px; color: var(--wsev-muted); }
.wsev-fact small { display: block; font-size: 14px; color: var(--wsev-muted); margin-top: 2px; }
.wsev-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.wsev .wsev-btn { display: inline-block; padding: 11px 18px; border-radius: 6px; border: 1px solid var(--wsev-line); color: var(--wsev-blue); background: #fff; font-size: 15px; font-weight: 700; box-shadow: none !important; text-decoration: none !important; }
.wsev .wsev-btn:hover { border-color: var(--wsev-blue); }
.wsev .wsev-btn--primary { background: var(--wsev-blue); border-color: var(--wsev-blue); color: #fff !important; }
.wsev .wsev-btn--primary:hover { background: var(--wsev-blue-dark); border-color: var(--wsev-blue-dark); }
.wsev-event__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: 30px; margin-top: 30px; }
.wsev-event__text { font-size: 18px; line-height: 1.65; }
.wsev .wsev-event__text p { margin: 0 0 1em !important; }
.wsev-panel { background: var(--wsev-soft); border: 1px solid var(--wsev-line); border-radius: 11px; padding: 14px 16px; align-self: start; font-size: 15px; }
.wsev .wsev-panel p { margin: 0 0 12px !important; }
.wsev .wsev-panel p:last-child { margin-bottom: 0 !important; }
.wsev-panel span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wsev-muted); }
.wsev-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.wsev .wsev-related__head { border-top: 3px solid var(--wsev-blue); padding-top: 10px !important; font-size: 18px; font-weight: 700; margin: 0 0 2px !important; }
.wsev-related .wsev-row__title { font-size: 17px; }
.wsev-related .wsev-visual--thumb { width: 54px; }
.wsev-related .wsev-row { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }

/* ---------- phones ---------- */
@media (max-width: 700px) {
	.wsev-head { padding: 12px 14px; }
	.wsev-day__head { font-size: 19px; }
	.wsev-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsev-event__top, .wsev-event__body, .wsev-related { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.wsev-visual--page { max-width: 220px; }
	.wsev-row__title { font-size: 19px; }
	.wsev-month__cell { min-height: 64px; font-size: 11px; }
	.wsev-month__ev b { display: none; }
}
