/* Single event page, EventDetail board (round 2, 13 Nov 2026). */
.cul-ed { padding-top: 40px; padding-bottom: 72px; font-family: var(--ui-font); color: var(--ui-ink); }
.cul-ed__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; grid-template-areas: "main side" "where side"; column-gap: 40px; align-items: start; }
.cul-ed__main { grid-area: main; }
.cul-ed__side { grid-area: side; }
/* Where sits under the write-up on desktop (fills the space a short
   write-up leaves) and after the details card on a phone. */
.cul-ed__where { grid-area: where; margin-top: 32px; }
.cul-ed__where h2 { margin: 0 0 12px; font: 600 1.5rem/1.2 var(--ui-font-display); color: var(--ui-navy); }
.cul-ed__where .cul-ed__venue { margin: 0 0 12px; font-weight: 600; font-size: 1.05rem; }
.cul-ed__where .cul-ed__host { margin: 0 0 12px; font-size: 1.05rem; }
.cul-ed__where .cul-ed__host img { width: 48px; height: 48px; }
.cul-ed__main { min-width: 0; }

/* Photo: the frame is always full. Near-frame shapes are cropped to fill;
   tall flyers and very wide banners sit whole on a blurred copy of
   themselves, so nothing is cut off and there are no flat side bars. */
.cul-ed__flyer { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: var(--ui-radius); overflow: hidden; background: var(--ui-navy); isolation: isolate; }
.cul-ed__flyer img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 0; }
.cul-ed__flyer--cover img { object-fit: cover; object-position: center 40%; }
.cul-ed__flyer--blur::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--cul-ed-bg) center / cover no-repeat; filter: blur(22px) brightness(.85); }
.cul-ed__flyer--blur img { object-fit: contain; }

.cul-ed__date { margin: 24px 0 0; color: var(--ui-navy); font-weight: 600; font-size: 1.05rem; }
.cul-ed__date span { color: var(--ui-muted); font-weight: 500; }
.cul-ed__main > .cul-ed__date:first-child { margin-top: 0; }
.cul-ed__title { margin: 6px 0 12px; font: 600 2.4rem/1.15 var(--ui-font-display); color: var(--ui-navy); overflow-wrap: anywhere; }
.cul-ed__body { max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; }
.cul-ed__body p { margin: 0 0 12px; }
.cul-ed__body > :last-child { margin-bottom: 0; }
.cul-ed__note { margin: 16px 0 0; color: var(--ui-muted); font-size: .9rem; }

/* Side column */
.cul-ed__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cul-ed__card { border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--ui-white); }
.cul-ed__row b { display: block; margin-bottom: 4px; color: var(--ui-navy); }
.cul-ed__row p { margin: 0; overflow-wrap: anywhere; }
.cul-ed__venue { font-weight: 600; }
.cul-ed__addr { color: var(--ui-muted); }
.cul-ed__host { display: flex; align-items: center; gap: 12px; margin: 2px 0 6px; color: var(--ui-navy); text-decoration: none; font-weight: 600; }
.cul-ed__host img { flex: none; width: 40px; height: 40px; object-fit: cover; border-radius: var(--ui-radius); border: 1px solid var(--ui-line); background: #fff; }
.cul-ed__host span { min-width: 0; overflow-wrap: anywhere; }
.cul-ed__host small { display: block; color: var(--ui-muted); font-weight: 500; font-size: .85rem; }
.cul-ed__host:hover span { text-decoration: underline; }
.cul-ed__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cul-ed__acts .ui-btn { width: 100%; justify-content: center; }
.cul-ed__acts .ui-btn:only-child { grid-column: 1 / -1; }
.cul-ed__share { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: inherit; font-weight: 600; }
.cul-ed__more { color: var(--ui-navy); font-size: .9rem; text-align: center; }
.cul-ed__tickets { width: 100%; justify-content: center; margin: 0 0 10px; }
.cul-ed__card .cul-ed__more { margin: 8px 0 0; color: var(--ui-muted); font-size: .85rem; }

/* Host offer */
.cul-ed__offer { border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 20px 24px; background: var(--ui-page); display: flex; flex-direction: column; gap: 4px; }
.cul-ed__offer p { margin: 0; }
.cul-ed__offer-kick { color: var(--ui-navy); font-weight: 600; font-size: .95rem; }
.cul-ed__offer-deal { color: var(--ui-navy); font: 700 1.5rem/1.2 var(--ui-font-display); }
.cul-ed__offer-for { color: var(--ui-ink); }
.cul-ed__offer-meta { color: var(--ui-muted); font-size: .85rem; margin-top: 2px !important; }
.cul-ed__offer .cul-ed__claim { margin-top: 12px; align-self: flex-start; }

/* Map */
.cul-ed__map { border: 1px solid var(--ui-line); border-radius: var(--ui-radius); overflow: hidden; background: var(--ui-white); }
.cul-ed__map img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; border-radius: 0; }
.cul-ed__map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: .95rem; }
.cul-ed__map-foot span { min-width: 0; color: var(--ui-ink); overflow-wrap: anywhere; }
.cul-ed__map-foot a { flex: none; color: var(--ui-navy); font-weight: 600; }

/* Rows under both columns */
.cul-ed__rail { margin-top: 56px; }
.cul-ed__rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cul-ed__rail-head h2 { margin: 0; font: 600 1.5rem/1.2 var(--ui-font-display); color: var(--ui-navy); }
.cul-ed__rail-head a { color: var(--ui-navy); font-weight: 600; white-space: nowrap; }
.cul-ed__events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cul-ed__ev { display: flex; flex-direction: column; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); overflow: hidden; background: var(--ui-white); color: inherit; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.cul-ed__ev:hover { border-color: #B9C9DB; box-shadow: 0 4px 14px rgba(27,58,92,.08); }
.cul-ed__ev-shot { position: relative; display: block; aspect-ratio: 16 / 10; background: #dfe7f0; }
.cul-ed__ev-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cul-ed__ev-shot--none { display: flex; align-items: center; justify-content: center; background: var(--ui-navy); color: #fff; font: 600 1rem var(--ui-font-display); }
.cul-ed__ev-shot--none b { color: var(--ui-navy); }
.cul-ed__ev-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; min-width: 0; }
.cul-ed__ev-when { color: var(--ui-navy); font-weight: 600; font-size: .85rem; }
.cul-ed__ev-title { color: var(--ui-navy); font: 600 1.05rem/1.3 var(--ui-font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cul-ed__ev-where { color: var(--ui-muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cul-ed__offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1100px) {
	.cul-ed__events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.cul-ed { padding-top: 24px; padding-bottom: 48px; }
	/* Phone order: write-up, When card, host offer, Where, then the rest of
	   the side column (newsletter box). The side column's children join the
	   page flow so Where can sit between them. */
	.cul-ed__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
	.cul-ed__side { display: contents; }
	.cul-ed__side > * { order: 5; }
	.cul-ed__main { order: 1; }
	.cul-ed__side > .cul-ed__card { order: 2; }
	.cul-ed__side > .cul-ed__offer { order: 3; }
	.cul-ed__where { order: 4; }
	.cul-ed__where { margin-top: 0; }
	.cul-ed__where h2 { font-size: 1.3rem; }
	.cul-ed__flyer { aspect-ratio: 4 / 3; }
	.cul-ed__title { font-size: 1.9rem; }
	.cul-ed__offers { grid-template-columns: 1fr; gap: 12px; }
	.cul-ed__rail { margin-top: 40px; }
}
@media (max-width: 640px) {
	.cul-ed__events { grid-template-columns: 1fr; gap: 12px; }
	.cul-ed__ev { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
	.cul-ed__ev-shot { aspect-ratio: auto; min-height: 84px; }
	.cul-ed__ev-shot--none { font-size: .7rem; }
	.cul-ed__card { padding: 20px; }
	.cul-ed__offer { padding: 18px 20px; }
	.cul-ed__rail-head h2 { font-size: 1.3rem; }
}
@media (max-width: 360px) {
	.cul-ed__acts { grid-template-columns: 1fr; }
}
.cul-ed__sharebox { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); font: inherit; font-size: .9rem; color: var(--ui-ink); background: #F6F9FD; }
