/* Axiom Event Calendar — Public Styles
 * Covers 12 layouts: grid, list, calendar, mini-calendar, next-up,
 * carousel, masonry, compact, timeline, grouped, featured, poster
 */

.axiom-ec-container {
	--axiom-ec-image-fit: contain;
	--axiom-ec-media-aspect: ;
	--axiom-ec-hero-aspect: 16 / 9;
	--axiom-ec-masonry-cols: 3;
	--axiom-ec-accent: #3182ce;
	--axiom-ec-accent-hover: #2b6cb0;
        --axiom-ec-hero-accent: var(--axiom-ec-accent, #3182ce);
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	color: inherit;
	line-height: 1.5;
}
.axiom-ec-container *,
.axiom-ec-container *::before,
.axiom-ec-container *::after {
	box-sizing: border-box;
}

/* ============================================================
   Shared Card (used by grid, carousel, masonry, featured feed)
   ============================================================ */
.axiom-ec-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #f0f0f0;
}
.axiom-ec-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.axiom-ec-media {
	width: 100%;
	aspect-ratio: var(--axiom-ec-media-aspect, 16 / 9);
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
}
.axiom-ec-img {
	width: 100%;
	height: 100%;
	object-fit: var(--axiom-ec-image-fit, contain);
	display: block;
}
.axiom-ec-media--empty {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	color: #718096;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
	padding: 12px;
}
.axiom-ec-content {
	padding: 18px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.axiom-ec-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #1a202c;
	line-height: 1.35;
}
.axiom-ec-date,
.axiom-ec-location {
	margin: 0;
	font-size: 0.9rem;
	color: #4a5568;
	display: flex;
	align-items: center;
	gap: 6px;
}
.axiom-ec-location {
	color: #718096;
	margin-bottom: auto;
}
.axiom-ec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 8px 16px;
	background-color: var(--axiom-ec-accent, #3182ce);
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background-color 0.2s ease;
	align-self: flex-start;
}
.axiom-ec-btn:hover {
	background-color: var(--axiom-ec-accent-hover, #2b6cb0);
	color: #ffffff;
	text-decoration: none;
}

/* ============================================================
   1. GRID LAYOUT
   ============================================================ */
.axiom-ec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	padding: 16px 0;
	width: 100%;
}
.axiom-ec-grid--cols-1 { grid-template-columns: 1fr; }
.axiom-ec-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.axiom-ec-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.axiom-ec-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.axiom-ec-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.axiom-ec-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ============================================================
   2. LIST LAYOUT
   ============================================================ */
.axiom-ec-list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.axiom-ec-list-item {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) auto auto;
	gap: 16px;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid #edf2f7;
	transition: background-color 0.15s ease;
}
.axiom-ec-list-item:hover {
	background-color: #f8fafc;
}
.axiom-ec-list-item:first-child {
	border-top: 1px solid #edf2f7;
}
.axiom-ec-list-date {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: #2d3748;
	font-size: 0.9rem;
}
.axiom-ec-list-title {
	font-weight: 600;
	color: #1a202c;
	font-size: 1rem;
}
.axiom-ec-list-location {
	font-size: 0.85rem;
	color: #718096;
}
.axiom-ec-list-link {
	font-weight: 600;
	color: var(--axiom-ec-accent, #3182ce);
	text-decoration: none;
	font-size: 0.9rem;
	white-space: nowrap;
}
.axiom-ec-list-link:hover {
	color: var(--axiom-ec-accent-hover, #2b6cb0);
	text-decoration: underline;
}
.axiom-ec-list--no-date .axiom-ec-list-item { grid-template-columns: minmax(0, 1fr) auto auto; }
.axiom-ec-list--no-location .axiom-ec-list-item { grid-template-columns: 140px minmax(0, 1fr) auto; }
.axiom-ec-list--no-date.axiom-ec-list--no-location .axiom-ec-list-item { grid-template-columns: minmax(0, 1fr) auto; }

/* ============================================================
   3. FULL MONTHLY CALENDAR
   ============================================================ */
.axiom-ec-month {
	width: 100%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}
.axiom-ec-month-header {
	padding: 18px 20px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}
.axiom-ec-month-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 100%;
}
.axiom-ec-month-nav h2 {
	margin: 0;
	font-size: 1.5rem;
	color: #1a202c;
	flex: 1;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.axiom-ec-month-nav-btn {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #334155;
	font-size: 1.6rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: background-color 0.15s ease, transform 0.15s ease;
	padding: 0;
}
.axiom-ec-month-nav-btn:hover {
	background: #f1f5f9;
	transform: scale(1.06);
}
.axiom-ec-month-nav-btn:focus {
	outline: 2px solid var(--axiom-ec-accent, #3182ce);
	outline-offset: 2px;
}
.axiom-ec-month-table {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.axiom-ec-month-row {
	display: flex;
	width: 100%;
}
.axiom-ec-month-cell {
	flex: 1 1 0;
	min-width: 0;
	border-right: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	position: relative;
	min-height: 120px;
	padding: 8px;
	background: #ffffff;
}
.axiom-ec-month-cell:last-child {
	border-right: none;
}
.axiom-ec-month-head .axiom-ec-month-cell {
	min-height: auto;
	padding: 12px 8px;
	background: #f1f5f9;
	font-weight: 600;
	font-size: 0.85rem;
	color: #64748b;
	text-align: center;
}
.axiom-ec-month-cell.empty {
	background: #f8fafc;
}
.axiom-ec-month-cell.is-today {
	background: #f0f9ff;
}
.axiom-ec-month-cell.is-today .day-num {
	background: var(--axiom-ec-accent, #3182ce);
	color: #ffffff;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: 700;
}
.day-num {
	font-size: 0.85rem;
	font-weight: 600;
	color: #94a3b8;
	margin-bottom: 6px;
	display: block;
}
.day-events {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.axiom-ec-month-event {
	display: block;
	text-decoration: none;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.2s ease;
}
.axiom-ec-month-event:hover {
	transform: scale(1.04);
	z-index: 10;
	position: relative;
}
.axiom-ec-month-event img {
	width: 100%;
	height: 58px;
	object-fit: cover;
	display: block;
}
.axiom-ec-month-event .ev-name {
	display: block;
	padding: 4px 6px;
	background: #e2e8f0;
	color: #334155;
	font-size: 0.72rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
}

/* ============================================================
   4. MINI CALENDAR
   ============================================================ */
.axiom-ec-minical {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.axiom-ec-minical-head {
	padding: 10px 14px;
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.9rem;
}
.axiom-ec-minical-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	text-align: center;
}
.axiom-ec-minical-nav strong {
	flex: 1;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 700;
	color: #0f172a;
}
.axiom-ec-minical-nav-btn {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #475569;
	font-size: 1.2rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.axiom-ec-minical-nav-btn:hover {
	background: #ffffff;
	transform: scale(1.05);
	color: var(--axiom-ec-accent, #3182ce);
}
.axiom-ec-minical-nav-btn:focus {
	outline: 2px solid var(--axiom-ec-accent, #3182ce);
	outline-offset: 2px;
}
.axiom-ec-minical-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0;
	padding: 6px;
}
.axiom-ec-minical-head-cell,
.axiom-ec-minical-cell {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	color: #475569;
	border-radius: 4px;
}
.axiom-ec-minical-head-cell {
	font-weight: 700;
	color: #64748b;
	font-size: 0.72rem;
	text-transform: uppercase;
	aspect-ratio: auto;
	padding: 4px 0;
}
.axiom-ec-minical-cell.empty {
	visibility: hidden;
}
.axiom-ec-minical-cell.has-events {
	background: #dbeafe;
	color: #1e40af;
	font-weight: 700;
}
.axiom-ec-minical-cell.is-today {
	background: var(--axiom-ec-accent, #3182ce);
	color: #ffffff;
	font-weight: 700;
}
.axiom-ec-minical-cell.is-today.has-events {
	box-shadow: inset 0 0 0 2px #bfdbfe;
}
.axiom-ec-minical-list {
	padding: 12px 14px;
	border-top: 1px solid #e2e8f0;
	background: #fafafa;
}
.axiom-ec-minical-list h4 {
	margin: 0 0 8px 0;
	font-size: 0.8rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.axiom-ec-minical-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.axiom-ec-minical-list li a {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 10px;
	padding: 6px 8px;
	border-radius: 4px;
	text-decoration: none;
	color: #1e293b;
	transition: background-color 0.15s ease;
}
.axiom-ec-minical-list li a:hover {
	background: #ffffff;
}
.axiom-ec-minical-list .mdate {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--axiom-ec-accent, #3182ce);
}
.axiom-ec-minical-list .mtitle {
	font-size: 0.85rem;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ============================================================
   5. NEXT UP HERO
   ============================================================ */
.axiom-ec-hero {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
        background:
                radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 28%),
                linear-gradient(115deg, #0f172a 0%, #1e293b 46%, #334155 100%);
	color: #ffffff;
        box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
	aspect-ratio: var(--axiom-ec-hero-aspect, 16 / 9);
	min-height: 520px;
}
.axiom-ec-hero::before,
.axiom-ec-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
}
.axiom-ec-hero::before {
        background:
                radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 26%),
                radial-gradient(circle at 76% 10%, rgba(125, 211, 252, 0.18) 0%, rgba(125, 211, 252, 0) 22%);
        mix-blend-mode: screen;
        opacity: 0.85;
}
.axiom-ec-hero::after {
        background:
                linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.2) 100%),
                linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.52) 44%, rgba(15, 23, 42, 0.08) 100%);
}
.axiom-ec-hero--grad-spotlight {
        background:
                radial-gradient(circle at 72% 16%, rgba(250, 204, 21, 0.22) 0%, rgba(250, 204, 21, 0) 24%),
                linear-gradient(115deg, #18181b 0%, #374151 42%, #d4d4d8 100%);
}
.axiom-ec-hero--grad-midnight {
        background:
                radial-gradient(circle at 82% 18%, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0) 26%),
                linear-gradient(120deg, #020617 0%, #0f172a 40%, #1d4ed8 100%);
}
.axiom-ec-hero--grad-sunset {
        background:
                radial-gradient(circle at 78% 20%, rgba(253, 186, 116, 0.28) 0%, rgba(253, 186, 116, 0) 26%),
                linear-gradient(120deg, #431407 0%, #9a3412 36%, #f97316 100%);
}
.axiom-ec-hero--grad-aurora {
        background:
                radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.26) 0%, rgba(34, 211, 238, 0) 22%),
                radial-gradient(circle at 60% 84%, rgba(167, 139, 250, 0.2) 0%, rgba(167, 139, 250, 0) 22%),
                linear-gradient(120deg, #032f2b 0%, #164e63 44%, #312e81 100%);
}
.axiom-ec-hero--no-image::after {
        background:
                linear-gradient(180deg, rgba(15, 23, 42, 0.16) 0%, rgba(15, 23, 42, 0.3) 100%),
                linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.62) 44%, rgba(15, 23, 42, 0.12) 100%);
}
.axiom-ec-hero--no-image .axiom-ec-hero-overlay {
        justify-content: center;
        align-items: center;
}
.axiom-ec-hero--no-image .axiom-ec-hero-stack {
        max-width: min(760px, 84%);
}
.axiom-ec-hero-media {
	position: absolute;
	inset: 0;
}
.axiom-ec-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
        transform: scale(1.02);
        filter: saturate(1.05) contrast(1.03);
}
.axiom-ec-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
        padding: clamp(20px, 3vw, 34px);
        z-index: 2;
}
.axiom-ec-hero-stack {
        position: relative;
        max-width: min(680px, 66%);
        padding: clamp(22px, 2.8vw, 36px);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 24px;
        background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%),
                rgba(15, 23, 42, 0.44);
        box-shadow:
                0 30px 60px rgba(15, 23, 42, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-wrap: anywhere;
        word-break: break-word;
}
.axiom-ec-hero-badge {
	align-self: flex-start;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--axiom-ec-hero-accent, var(--axiom-ec-accent, #3182ce));
        color: #ffffff;
        padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
        letter-spacing: 0.08em;
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.24);
        margin: 0 0 2px 0;
}
.axiom-ec-hero-title {
        margin: 0;
        font-size: clamp(1.35rem, 2.5vw, 2.6rem);
	font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.02em;
	color: #ffffff;
        text-shadow: 0 6px 20px rgba(15, 23, 42, 0.42);
}
.axiom-ec-hero-date,
.axiom-ec-hero-location {
        margin: 0;
        font-size: 0.95rem;
	color: #e2e8f0;
	display: flex;
	align-items: center;
	gap: 8px;
}
.axiom-ec-hero-location {
	color: #cbd5e1;
}
.axiom-ec-hero-btn {
	align-self: flex-start;
        margin-top: 6px;
	padding: 10px 20px;
	font-size: 0.9rem;
        background: var(--axiom-ec-hero-accent, var(--axiom-ec-accent, #3182ce));
        color: #ffffff;
        border: 0;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
}
.axiom-ec-hero-btn:hover {
        color: #ffffff;
        transform: translateY(-1px);
        filter: brightness(1.05);
}
.axiom-ec-countdown {
	display: flex;
        gap: 12px;
        margin-top: 4px;
	flex-wrap: wrap;
}
.axiom-ec-cd-block {
	text-align: center;
        min-width: 82px;
        background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%),
                rgba(15, 23, 42, 0.24);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 12px 9px 12px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
	color: #ffffff;
        box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 14px 24px rgba(15, 23, 42, 0.18);
}
.axiom-ec-cd-val {
	display: block;
        font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;
        letter-spacing: -0.04em;
}
.axiom-ec-cd-label {
	display: block;
        font-size: 0.68rem;
	text-transform: uppercase;
        letter-spacing: 0.16em;
        margin-top: 6px;
        opacity: 0.82;
}

/* ============================================================
   6. CAROUSEL
   ============================================================ */
.axiom-ec-carousel {
	position: relative;
	padding: 8px 0;
}
.axiom-ec-carousel-head {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 5;
	padding: 0 6px;
}
.axiom-ec-carousel-btn {
	pointer-events: auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: #1e293b;
	font-size: 1.6rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.axiom-ec-carousel-btn:hover {
	background: #f1f5f9;
	transform: scale(1.06);
}
.axiom-ec-carousel-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding: 20px 16px 24px 16px;
}
.axiom-ec-carousel-track > .axiom-ec-card {
	flex: 0 0 300px;
	scroll-snap-align: start;
}

/* ============================================================
   7. MASONRY
   ============================================================ */
.axiom-ec-masonry {
	--axiom-ec-masonry-cols: 3;
	column-count: var(--axiom-ec-masonry-cols, 3);
	column-gap: 20px;
	padding: 12px 0;
	width: 100%;
}
.axiom-ec-masonry > .axiom-ec-card {
	break-inside: avoid;
	margin-bottom: 20px;
	display: inline-block;
	width: 100%;
}
.axiom-ec-masonry .axiom-ec-media {
	aspect-ratio: auto;
	height: auto;
	min-height: 180px;
}
.axiom-ec-masonry .axiom-ec-img {
	height: auto;
	aspect-ratio: auto;
}
@media (max-width: 900px) {
	.axiom-ec-masonry { column-count: 2; }
}
@media (max-width: 560px) {
	.axiom-ec-masonry { column-count: 1; }
}

/* ============================================================
   8. COMPACT (sidebar-friendly)
   ============================================================ */
.axiom-ec-compact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px 0;
}
.axiom-ec-compact-item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 12px;
	padding: 10px;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s ease;
	align-items: center;
}
.axiom-ec-compact-item:hover {
	background-color: #f8fafc;
	text-decoration: none;
}
.axiom-ec-compact-thumb {
	width: 56px;
	height: 56px;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
	flex-shrink: 0;
}
.axiom-ec-compact-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.axiom-ec-compact-thumb.axiom-ec-media--empty {
	font-size: 0.6rem;
	letter-spacing: 0;
	text-transform: none;
}
.axiom-ec-compact-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.axiom-ec-compact-title {
	font-weight: 600;
	font-size: 0.92rem;
	color: #1e293b;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.axiom-ec-compact-meta {
	font-size: 0.75rem;
	color: #64748b;
}

/* ============================================================
   9. TIMELINE
   ============================================================ */
.axiom-ec-timeline {
	padding: 16px 0 16px 12px;
	position: relative;
}
.axiom-ec-timeline-group {
	margin-bottom: 28px;
}
.axiom-ec-timeline-group:last-child {
	margin-bottom: 0;
}
.axiom-ec-timeline-month {
	font-weight: 800;
	font-size: 0.95rem;
	color: #1e293b;
	margin-bottom: 14px;
	padding-bottom: 6px;
	border-bottom: 2px solid #e2e8f0;
	letter-spacing: 0.02em;
}
.axiom-ec-timeline-items {
	position: relative;
	padding-left: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.axiom-ec-timeline-items::before {
	content: '';
	position: absolute;
	left: 7px;
	top: 4px;
	bottom: 4px;
	width: 2px;
	background: #e2e8f0;
}
.axiom-ec-timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 8px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s ease;
}
.axiom-ec-timeline-item:hover {
	background-color: #f8fafc;
	text-decoration: none;
}
.axiom-ec-timeline-dot {
	position: absolute;
	left: -22px;
	top: 50%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--axiom-ec-accent, #3182ce);
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 2px #bfdbfe;
}
.axiom-ec-timeline-date {
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--axiom-ec-accent, #3182ce);
	font-variant-numeric: tabular-nums;
}
.axiom-ec-timeline-title {
	font-weight: 600;
	font-size: 0.95rem;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.axiom-ec-timeline-loc {
	font-size: 0.78rem;
	color: #64748b;
	white-space: nowrap;
}

/* ============================================================
   10. GROUPED (list with month headings)
   ============================================================ */
.axiom-ec-grouped {
	padding: 8px 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.axiom-ec-group {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.axiom-ec-group-title {
	margin: 0 0 12px 0;
	font-size: 1rem;
	font-weight: 800;
	color: #1e293b;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--axiom-ec-accent, #3182ce);
	letter-spacing: 0.02em;
}

/* ============================================================
   11. FEATURED + FEED
   ============================================================ */
.axiom-ec-featured {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 12px 0;
}
.axiom-ec-featured-top {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.axiom-ec-featured-card {
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
	border: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
}
.axiom-ec-featured-media {
	width: 100%;
	aspect-ratio: var(--axiom-ec-hero-aspect, 16 / 9);
	overflow: hidden;
	background: #f8fafc;
}
.axiom-ec-featured-img {
	width: 100%;
	height: 100%;
	object-fit: var(--axiom-ec-image-fit, cover);
	display: block;
}
.axiom-ec-featured-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}
.axiom-ec-featured-title {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.25;
}
.axiom-ec-featured-meta {
	font-size: 0.9rem;
	color: #475569;
	display: flex;
	align-items: center;
	gap: 8px;
}
.axiom-ec-featured-body .axiom-ec-btn {
	margin-top: auto;
	align-self: flex-start;
}
.axiom-ec-featured-feed {
	padding-top: 8px;
}

/* ============================================================
   12. POSTERS (images only)
   ============================================================ */
.axiom-ec-poster-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 16px 0;
	width: 100%;
	justify-content: flex-start;
}
.axiom-ec-poster-grid--cols-1 { flex-wrap: nowrap; flex-direction: column; }
.axiom-ec-poster-grid--cols-1 .axiom-ec-poster-card { width: 100%; }
.axiom-ec-poster-grid--cols-2 .axiom-ec-poster-card { flex: 1 0 calc(50% - 16px); max-width: calc(50% - 16px); }
.axiom-ec-poster-grid--cols-3 .axiom-ec-poster-card { flex: 1 0 calc(33.333% - 16px); max-width: calc(33.333% - 16px); }
.axiom-ec-poster-grid--cols-4 .axiom-ec-poster-card { flex: 1 0 calc(25% - 16px); max-width: calc(25% - 16px); }
.axiom-ec-poster-grid--cols-5 .axiom-ec-poster-card { flex: 1 0 calc(20% - 16px); max-width: calc(20% - 16px); }
.axiom-ec-poster-grid--cols-6 .axiom-ec-poster-card { flex: 1 0 calc(16.666% - 16px); max-width: calc(16.666% - 16px); }

.axiom-ec-poster-card {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #f8fafc;
	aspect-ratio: var(--axiom-ec-media-aspect, 3 / 4);
	min-height: 180px;
	flex: 1 1 240px;
	max-width: 380px;
}
.axiom-ec-poster-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
.axiom-ec-poster-card a {
	display: block;
	height: 100%;
	width: 100%;
	text-decoration: none;
}
.axiom-ec-poster-img {
	height: 100%;
	width: 100%;
	object-fit: var(--axiom-ec-image-fit, cover);
	display: block;
}
.axiom-ec-poster-fallback {
	height: 100%;
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.axiom-ec-poster-fallback .ev-name {
	font-weight: 700;
	color: #334155;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.4;
}

/* Utility: errors / empty */
.axiom-ec-error {
	background: #fef2f2;
	color: #b91c1c;
	padding: 14px 18px;
	border-radius: 8px;
	border: 1px solid #fecaca;
	font-weight: 500;
}
.axiom-ec-empty {
	background: #f8fafc;
	color: #64748b;
	padding: 20px 24px;
	border-radius: 8px;
	text-align: center;
	font-style: italic;
	border: 1px dashed #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
	.axiom-ec-month-view { overflow-x: auto; }
	.axiom-ec-month-view .axiom-ec-month-table { min-width: 700px; }
	.axiom-ec-list-item {
		grid-template-columns: 110px 1fr;
		grid-template-rows: auto auto auto;
		gap: 6px;
	}
	.axiom-ec-list-location { grid-column: 1 / -1; }
	.axiom-ec-list-link { grid-column: 1 / -1; justify-self: start; }
	.axiom-ec-list--no-date .axiom-ec-list-item { grid-template-columns: 1fr; }
	.axiom-ec-timeline-item {
		grid-template-columns: 70px 1fr;
		grid-template-rows: auto auto;
	}
	.axiom-ec-timeline-loc { grid-column: 2 / 3; }
	.axiom-ec-grid { grid-template-columns: 1fr; gap: 18px; }
	.axiom-ec-grid--cols-2,
	.axiom-ec-grid--cols-3,
	.axiom-ec-grid--cols-4,
	.axiom-ec-grid--cols-5,
	.axiom-ec-grid--cols-6 {
		grid-template-columns: 1fr;
	}
	.axiom-ec-hero {
		min-height: 430px;
		aspect-ratio: auto;
	}
	.axiom-ec-hero-overlay { padding: 20px; }
        .axiom-ec-hero-stack { max-width: 100%; gap: 10px; }
        .axiom-ec-hero-title {
                font-size: clamp(1.2rem, 7vw, 2.1rem);
        }
	.axiom-ec-poster-grid--cols-2 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-3 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-4 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-5 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-6 .axiom-ec-poster-card {
		flex: 1 0 calc(50% - 16px);
		max-width: calc(50% - 16px);
	}
}
@media (max-width: 480px) {
	.axiom-ec-poster-grid--cols-2 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-3 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-4 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-5 .axiom-ec-poster-card,
	.axiom-ec-poster-grid--cols-6 .axiom-ec-poster-card {
		flex: 1 0 100%;
		max-width: 100%;
	}
	.axiom-ec-timeline-item { grid-template-columns: 1fr; padding-left: 24px; }
	.axiom-ec-timeline-dot { left: -2px; top: 18px; }
	.axiom-ec-timeline-date { grid-column: 1 / -1; }
	.axiom-ec-timeline-loc { grid-column: 1 / -1; }
        .axiom-ec-hero {
                min-height: 460px;
        }
        .axiom-ec-hero-stack {
                padding: 18px;
                border-radius: 18px;
                gap: 10px;
        }
        .axiom-ec-hero-title {
                font-size: clamp(1.15rem, 7.2vw, 1.75rem);
        }
        .axiom-ec-countdown {
                gap: 10px;
        }
        .axiom-ec-cd-block {
                min-width: 74px;
                padding: 10px 12px 8px 12px;
        }
        .axiom-ec-cd-val {
                font-size: 1.55rem;
        }
}
