/**
 * Ananyoo Accessible Events — front-end styles.
 * Brand navy #0E1B36. Interactive targets >= 44px, visible 3px focus,
 * forced-colors safe. Status is always in words, never colour alone.
 * Every text pair meets WCAG 2.2 AA (>= 4.5:1); UI borders/focus >= 3:1.
 */

/* ---------- Event details panel (icon tiles) ---------- */
.ae-details {
	background: #ffffff;
	border: 1px solid #dfe4f0;
	border-radius: 18px;
	padding: 1.5rem 1.6rem 1.6rem;
	box-shadow: 0 16px 40px -24px rgba(14, 27, 54, 0.4);
	margin: 0 0 1.9rem;
}
.ae-details__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #47505f;
	margin: 0 0 1.1rem;
}
.ae-details__title::after { content: ""; flex: 1; height: 1px; background: #dfe4f0; }
.ae-dgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.6rem;
	margin: 0;
}
.ae-item { position: relative; margin: 0; padding-left: calc(44px + 0.85rem); min-height: 44px; }
.ae-item__ico {
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #e9eeff;
	display: grid;
	place-items: center;
	color: #1d3fbe;
}
.ae-item dt {
	margin: 2px 0 3px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #47505f;
}
.ae-item dd {
	margin: 0;
	font-size: 1rem;
	line-height: 1.45;
	color: #0e1b36;
	font-weight: 700;
}
.ae-details__note {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.85rem;
	font-weight: 400;
	color: #47505f;
}
@media (max-width: 640px) {
	.ae-dgrid { grid-template-columns: 1fr; }
}
.ae-details__past {
	margin: 1.8rem 0 0 !important;
	padding: 0.75rem 0.95rem;
	background: #f1f2f4;
	border-radius: 8px;
	font-size: 0.92rem;
	font-weight: 600;
	color: #2f3542;
}
.ae-details__cta {
	margin: 1.4rem 0 0;
	padding-top: 1.3rem;
	border-top: 1px solid #dfe4f0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

/* ---------- Buttons ---------- */
.ae-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 12px;
	background: #2643c9;
	color: #ffffff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid #2643c9;
	transition: background-color 150ms ease, transform 120ms ease;
}
.ae-btn:hover { background: #14448a; border-color: #14448a; color: #ffffff; transform: translateY(-1px); }
.ae-btn:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }
.ae-btn--ghost {
	background: #ffffff;
	color: #0e1b36;
	border: 2px solid #0e1b36;
}
.ae-btn--ghost:hover { background: #eef3ff; color: #0e1b36; border-color: #0e1b36; }

/* ---------- Accessibility-at-this-event panel (branded head + icon tiles) ---------- */
.ae-access {
	margin: 2rem 0 1.9rem !important;
	padding: 0;
	background: #ffffff;
	border: 1px solid #dfe4f0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 16px 40px -24px rgba(14, 27, 54, 0.4);
}
.ae-access__head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	background: linear-gradient(120deg, #2643c9, #14448a);
	color: #ffffff;
	padding: 1rem 1.5rem;
}
.ae-access__head-ico {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	display: grid;
	place-items: center;
	color: #ffffff;
}
.ae-access__title { margin: 0; font-size: 1.15rem; color: #ffffff; }
.ae-access__sub { margin: 2px 0 0; font-size: 0.85rem; color: #dbe4ff; }
.ae-access__body { padding: 1.3rem 1.5rem 1.5rem; background: #fbfcff; }
.ae-access__lead { margin: 0 0 1rem; color: #0e1b36; font-weight: 700; }
.ae-ax {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
	gap: 0.7rem;
}
.ae-ax__item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	background: #ffffff;
	border: 1px solid #dfe4f0;
	border-radius: 12px;
	padding: 0.7rem 0.85rem;
	color: #0e1b36;
	font-weight: 600;
	font-size: 0.93rem;
	line-height: 1.3;
}
.ae-ax__ico {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #e9eeff;
	display: grid;
	place-items: center;
	color: #1d3fbe;
}
.ae-notes {
	display: flex;
	gap: 0.8rem;
	margin: 1.2rem 0 0;
	background: #fff8e8;
	border: 1px solid #e4c96a;
	border-radius: 12px;
	padding: 0.9rem 1rem;
	color: #4d3d09;
	font-size: 0.95rem;
	line-height: 1.5;
}
.ae-notes__ico { flex: none; color: #8a6d0b; margin-top: 1px; }
.ae-notes strong { color: #3d3007; }

/* ---------- Enquiry form ---------- */
.ae-enquiry {
	margin: 2.25rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid #6b7280;
}
.ae-enquiry__title { margin: 0 0 1rem; font-size: 1.15rem; color: #0e1b36; }

/* ---------- [events] listing — Classic-clean cards ---------- */
.ae-empty { color: #2f3542; font-style: italic; margin: 0.5rem 0 0; }
.ae-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
	gap: 1.4rem;
}
.ae-card {
	background: #ffffff;
	border: 1px solid #e6e9f2;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 18px 42px -26px rgba(14, 27, 54, 0.5);
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.ae-card:hover { transform: translateY(-4px); box-shadow: 0 30px 54px -26px rgba(14, 27, 54, 0.55); }
.ae-card--past { background: #f7f8fa; }

/* Media + overlays */
.ae-card__media { position: relative; line-height: 0; }
.ae-card__media-link { display: block; }
.ae-card__media img,
.ae-card__ph { width: 100%; height: 172px; object-fit: cover; display: block; }
.ae-card__ph { background: linear-gradient(135deg, #2643c9, #0e7a8f); }
.ae-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	font-size: 0.7rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: 999px;
	color: #ffffff;
}
.ae-badge--upcoming { background: #0a5a27; }
.ae-badge--past { background: #47505f; }
.ae-card__cat {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	font-size: 0.7rem;
	line-height: 1;
	font-weight: 700;
	color: #ffffff;
	background: rgba(14, 27, 54, 0.82);
	padding: 7px 13px;
	border-radius: 999px;
}

/* Body */
.ae-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.15rem 1.25rem 1.25rem; }
.ae-ico { flex: none; }
.ae-card__when {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	color: #5b6472;
	white-space: nowrap;
}
.ae-card__title { margin: 0.55rem 0 0.5rem; font-size: 1.18rem; line-height: 1.25; font-weight: 800; }
.ae-card__title a { color: #0e1b36; text-decoration: none; }
.ae-card__title a:hover { color: #14448a; text-decoration: underline; text-underline-offset: 2px; }
.ae-card__title a:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }
.ae-card__mode {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #5b6472;
}
.ae-card__cta { margin: auto 0 0; }
.ae-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #2643c9;
	color: #ffffff;
	font-weight: 800;
	font-size: 0.82rem;
	padding: 11px 18px;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 150ms ease;
}
.ae-card__btn:hover { background: #14448a; color: #ffffff; }
.ae-card__btn:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }
.ae-card--past .ae-card__btn { background: #0e1b36; }
.ae-card--past .ae-card__btn:hover { background: #14448a; }

/* Date tile (month + day) overlapping the image edge */
.ae-date-tile {
	position: absolute;
	left: 14px;
	bottom: -24px;
	width: 58px;
	background: #ffffff;
	border: 1px solid #dfe4f0;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 8px 18px -8px rgba(14, 27, 54, 0.45);
	overflow: hidden;
	line-height: 1;
}
.ae-date-tile b {
	display: block;
	background: #2643c9;
	color: #ffffff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 0;
}
.ae-date-tile > span {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	color: #0e1b36;
	padding: 6px 0 7px;
}
.ae-card--tiled .ae-card__body { padding-top: 2.1rem; }

/* Accommodation mini-icons on cards */
.ae-card__ax {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}
.ae-card__ax li {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: #e9eeff;
	color: #1d3fbe;
}
.ae-card__ax .ae-card__ax-more,
.ae-card__ax-more {
	width: auto;
	padding: 0 0.55rem;
	font-size: 0.75rem;
	font-weight: 800;
}

/* Screen-reader-only text */
.ae-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Listing toolbar: a card with the filter + tools ---------- */
.ae-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.9rem 1.4rem;
	margin: 0 0 1.7rem;
	background: #fbfcff;
	border: 1px solid #dfe4f0;
	border-radius: 16px;
	padding: 1rem 1.2rem;
	box-shadow: 0 10px 26px -22px rgba(14, 27, 54, 0.5);
}
.ae-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.7rem 1.1rem; margin: 0; }
.ae-fgroup { display: flex; flex-direction: column; gap: 0.35rem; }
.ae-filter__label {
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #47505f;
}
.ae-filter select {
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	color: #0e1b36;
	padding: 0.5rem 2.2rem 0.5rem 0.9rem;
	border: 1.5px solid #5b6472;
	border-radius: 10px;
	background-color: #fff;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e1b36' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.8rem center;
	min-height: 46px;
	min-width: 11rem;
}
.ae-filter__btn {
	font: inherit;
	font-weight: 700;
	font-size: 0.92rem;
	min-height: 46px;
	padding: 0.5rem 1.3rem;
	border: 1.5px solid #2643c9;
	border-radius: 10px;
	background: #2643c9;
	color: #fff;
	cursor: pointer;
}
.ae-filter__btn:hover { background: #14448a; border-color: #14448a; }
.ae-filter select:focus-visible,
.ae-filter__btn:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }

/* Count line ("Showing 1–10 of 14 events") */
.ae-count { margin: 0 0 1.1rem; font-size: 0.92rem; color: #47505f; }
.ae-count strong { color: #0e1b36; }

.ae-tools { display: flex; align-items: flex-end; gap: 0.5rem; margin-left: auto; }
.ae-viewswitch { display: inline-flex; gap: 0.4rem; }
.ae-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0 0.95rem;
	border: 1px solid #0e1b36;
	border-radius: 10px;
	background: #fff;
	color: #0e1b36;
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1;
	cursor: pointer;
}
.ae-view-btn svg { flex: none; }
.ae-view-btn:hover { background: #eef3ff; }
.ae-view-btn:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }
.ae-view-btn.is-active,
.ae-view-btn[aria-pressed="true"] { background: #0e1b36; color: #fff; }

/* Filter groups (category + accessibility) */
.ae-filter__group { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Subscribe-to-all button */
.ae-subscribe {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 1rem;
	border: 1px solid #0e1b36;
	border-radius: 10px;
	background: #fff;
	color: #0e1b36;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
	text-decoration: none;
}
.ae-subscribe:hover { background: #eef3ff; }
.ae-subscribe:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }

/* Visitor local time note (its own line under the "When" value) */
.ae-localtime {
	display: block;
	margin-top: 2px;
	color: #14448a;
	font-weight: 500;
	font-size: 0.85rem;
}

/* ---------- List view (Style 2 — image left, content right) ---------- */
.ae-embed.ae-layout-list .ae-cards { grid-template-columns: 1fr; gap: 1.1rem; }
.ae-embed.ae-layout-list .ae-card { flex-direction: row; align-items: stretch; }
.ae-embed.ae-layout-list .ae-card__media { flex: 0 0 38%; max-width: 320px; }
.ae-embed.ae-layout-list .ae-card__media img,
.ae-embed.ae-layout-list .ae-card__ph { height: 100%; min-height: 178px; }
.ae-embed.ae-layout-list .ae-card__body { flex: 1 1 auto; justify-content: center; }
.ae-embed.ae-layout-list .ae-card__cta { margin: 0.7rem 0 0; }
.ae-embed.ae-layout-list .ae-date-tile { display: none; }
.ae-embed.ae-layout-list .ae-card--tiled .ae-card__body { padding-top: 1.15rem; }
@media (max-width: 560px) {
	.ae-embed.ae-layout-list .ae-card { flex-direction: column; }
	.ae-embed.ae-layout-list .ae-card__media { max-width: none; flex-basis: auto; }
	.ae-embed.ae-layout-list .ae-card__media img,
	.ae-embed.ae-layout-list .ae-card__ph { height: 172px; min-height: 0; }
}

/* ---------- Pagination ---------- */
.ae-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin: 2rem 0 0; }
.ae-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.9rem;
	border: 1px solid #0e1b36;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	color: #0e1b36;
	background: #fff;
	line-height: 1;
}
.ae-pagination a.page-numbers:hover { background: #14448a; border-color: #14448a; color: #fff; }
.ae-pagination a.page-numbers:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }
.ae-pagination .page-numbers.current { background: #0e1b36; color: #fff; }
.ae-pagination .page-numbers.dots { border: 0; background: transparent; min-width: auto; padding: 0 0.2rem; }

@media (max-width: 600px) {
	.ae-toolbar { flex-direction: column; align-items: stretch; }
	.ae-tools { margin-left: 0; align-self: flex-start; }
	.ae-filter select { min-width: 100%; }
}

/* ---------- [events] Rows layout (full-width bilingual rows) ---------- */
.ae-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.15rem; }
.ae-row {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1.4fr) auto minmax(0, 1.4fr) auto;
	align-items: center;
	gap: 1.4rem;
	background: #f4f6fb;
	border: 1px solid #e6e9f2;
	border-radius: 18px;
	padding: 1.35rem 1.6rem 1.35rem 2.6rem;
	overflow: visible;
	transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.ae-row:hover,
.ae-row:focus-within { background: #0e1b36; color: #ffffff; box-shadow: 0 22px 44px -28px rgba(14, 27, 54, 0.6); }

/* Source tag straddling the left edge */
.ae-row__tab {
	position: absolute;
	left: -9px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: #e6e8ee;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px 6px;
	box-shadow: 0 3px 8px -4px rgba(0, 0, 0, 0.22);
}
.ae-row__tab span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: #3a4152;
	white-space: nowrap;
	line-height: 1;
}

/* Date badge (month + year) */
.ae-row__badge {
	position: relative;
	z-index: 2;
	width: 104px;
	height: 112px;
	border-radius: 16px;
	background: #2643c9;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	flex: 0 0 auto;
}
.ae-row__badge svg { width: 24px; height: 24px; margin-bottom: 3px; }
.ae-row__badge b { font-size: 1.05rem; font-weight: 700; line-height: 1; }
.ae-row__badge small { font-size: 0.9rem; opacity: 0.95; }

/* Title + subtitle + meta */
.ae-row__body { min-width: 0; }
.ae-row__title { margin: 0; font-size: 1.2rem; line-height: 1.25; font-weight: 800; }
.ae-row__title a { color: inherit; text-decoration: none; }
.ae-row__title a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ae-row__title a:focus-visible { outline: 3px solid #14448a; outline-offset: 3px; }
.ae-row:hover .ae-row__title a:focus-visible,
.ae-row:focus-within .ae-row__title a:focus-visible { outline-color: #ffffff; }
.ae-row__sub { margin: 0.2rem 0 0; font-size: 0.82rem; color: #6b7280; }
.ae-row__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0.7rem 0 0; font-size: 0.8rem; color: #5b6472; }
.ae-row__m { display: inline-flex; align-items: center; gap: 5px; }
.ae-row__m svg { flex: none; }
.ae-row:hover .ae-row__sub,
.ae-row:hover .ae-row__meta,
.ae-row:focus-within .ae-row__sub,
.ae-row:focus-within .ae-row__meta { color: rgba(255, 255, 255, 0.85); }

/* Divider + description */
.ae-row__div { width: 1px; align-self: stretch; background: rgba(14, 27, 54, 0.14); }
.ae-row:hover .ae-row__div,
.ae-row:focus-within .ae-row__div { background: rgba(255, 255, 255, 0.28); }
.ae-row__desc { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #5b6270; }
.ae-row:hover .ae-row__desc,
.ae-row:focus-within .ae-row__desc { color: rgba(255, 255, 255, 0.85); }

/* Know more button */
.ae-row__cta { display: flex; justify-content: flex-end; }
.ae-row__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	background: #2643c9;
	color: #ffffff;
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	padding: 12px 22px;
	border-radius: 999px;
	text-decoration: none;
	min-height: 44px;
	transition: background-color 150ms ease;
}
.ae-row__btn:hover { background: #14448a; color: #ffffff; }
.ae-row__btn:focus-visible { outline: 3px solid #14448a; outline-offset: 2px; }
.ae-row:hover .ae-row__btn:focus-visible,
.ae-row:focus-within .ae-row__btn:focus-visible { outline-color: #ffffff; }
.ae-row--past { opacity: 0.92; }

@media (max-width: 860px) {
	.ae-row { grid-template-columns: auto 1fr; gap: 1rem; padding-left: 2.2rem; }
	.ae-row__div, .ae-row__descwrap { display: none; }
	.ae-row__cta { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 480px) {
	.ae-row { grid-template-columns: 1fr; }
	.ae-row__badge { width: 100%; height: auto; flex-direction: row; gap: 8px; padding: 10px 12px; justify-content: flex-start; }
	.ae-row__badge svg { margin-bottom: 0; }
	.ae-row__tab { position: static; transform: none; align-self: flex-start; margin: 0 0 6px; padding: 6px 10px; }
	.ae-row__tab span { writing-mode: horizontal-tb; transform: none; }
}

/* ---------- Single event: header band, section headings, what-to-expect ---------- */
.ae-sec { font-size: 1.25rem; font-weight: 800; color: #0e1b36; margin: 1.8rem 0 0.8rem; }
.ae-sec--about { margin-top: 1.6rem; }
.ae-ehead {
	display: flex;
	gap: 1.15rem;
	align-items: flex-start;
	margin: 1.6rem 0 1.4rem;
	padding: 1.2rem 1.3rem;
	background: #fbfcff;
	border: 1px solid #dfe4f0;
	border-radius: 16px;
}
.ae-ehead__badge {
	flex: 0 0 auto;
	width: 78px;
	height: 78px;
	border-radius: 14px;
	background: #2643c9;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
}
.ae-ehead__badge svg { width: 20px; height: 20px; margin-bottom: 2px; }
.ae-ehead__badge b { font-size: 0.9rem; font-weight: 700; line-height: 1; }
.ae-ehead__badge small { font-size: 0.8rem; opacity: 0.95; }
.ae-ehead__main { min-width: 0; flex: 1 1 auto; }
.ae-ehead__sub { margin: 0.1rem 0 0.6rem; font-size: 0.95rem; color: #5b6472; font-weight: 600; }
.ae-ehead__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.ae-ehead__chip { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: #3a4152; }
/* The per-item label (When/Where/…) is screen-reader-only by default; a theme
   can expose it (e.g. a labelled-columns layout) by resetting these props. */
.ae-ehead__lab { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ae-ehead__ico { display: inline-flex; color: #2643c9; }
.ae-ehead__val a { color: #14448a; }
.ae-ehead__val a:hover { text-decoration: underline; }
@media (max-width: 560px) { .ae-ehead { flex-direction: column; } }

.ae-expect-sec { margin: 2rem 0 0 !important; }
.ae-expect { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.ae-expect li { position: relative; padding-left: 1.4rem; font-size: inherit; line-height: 1.8; color: #3a4152; }
.ae-expect li::before { content: ""; position: absolute; left: 2px; top: 0.8em; width: 8px; height: 8px; border-radius: 50%; background: #2643c9; }

/* ---------- Reduced motion + forced colors ---------- */
@media (prefers-reduced-motion: reduce) {
	.ae-btn { transition: none; }
	.ae-btn:hover { transform: none; }
	.ae-card { transition: none; }
	.ae-card:hover { transform: none; }
	.ae-row, .ae-row__btn { transition: none; }
}
@media (forced-colors: active) {
	.ae-details,
	.ae-access,
	.ae-card { border: 1px solid CanvasText; }
	.ae-btn { border: 1px solid CanvasText; }
	.ae-btn:focus-visible,
	.ae-card__title a:focus-visible,
	.ae-row__title a:focus-visible,
	.ae-row__btn:focus-visible { outline: 3px solid CanvasText; }
	.ae-badge,
	.ae-card__cat { border: 1px solid CanvasText; }
	.ae-item__ico,
	.ae-ax__ico,
	.ae-ax__item,
	.ae-card__ax li,
	.ae-date-tile,
	.ae-notes,
	.ae-toolbar { border: 1px solid CanvasText; }
	/* Rows + single-event header keep visible outlines when colours are forced. */
	.ae-row,
	.ae-row__badge,
	.ae-row__tab,
	.ae-row__btn,
	.ae-ehead,
	.ae-ehead__badge { border: 1px solid CanvasText; }
	.ae-row__div { background: CanvasText; }
	/* Hover fill can't rely on colour when forced; keep the divider/text legible. */
	.ae-row:hover, .ae-row:focus-within { border: 1px solid Highlight; }
}
