:root {
    /* Brand colors (overridable via plugin settings / injectDynamicCss) */
    --fevent-primary: #3b82f6;
    --fevent-secondary: #1e40af;

    /* Surfaces */
    --fevent-bg-card: #ffffff;
    --fevent-white: #ffffff;
    --fevent-surface: #fcfcfc;
    --fevent-bg-subtle: #f9fafb;
    --fevent-bg-muted: #f3f4f6;
    --fevent-accent-soft: #f0f7ff;

    /* Borders */
    --fevent-border: #e5e7eb;
    --fevent-border-strong: #d1d5db;
    --fevent-border-light: #ccc;

    /* Text */
    --fevent-text-main: #1f2937;
    --fevent-text-strong: #374151;
    --fevent-text-medium: #4b5563;
    --fevent-text-muted: #6b7280;
    --fevent-text-faint: #9ca3af;
    --fevent-text-faint-2: #888;
    --fevent-text-darkest: #111827;
    --fevent-ink: #111;

    /* Interactive / accents */
    --fevent-link: #2563eb;
    --fevent-link-hover: #1d4ed8;
    --fevent-accent-light: #60a5fa;

    /* Layout */
    --fevent-border-radius: 8px;
    --fevent-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --fevent-gap: 30px;
}

.fevent-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* --- HEADER & NAVIGATION --- */
.fevent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: var(--fevent-bg-subtle);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--fevent-border);
    flex-wrap: wrap;
    gap: 15px;
}

/* Header Controls Wrapper (Inner) */
/* Symmetric 3-column grid so the month nav stays centered regardless of the
   differing widths of the search box (left) and the view switcher (right). */
.fevent-header__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.fevent-header__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: center;
}

.fevent-header__btn {
    padding: 5px 10px;
    border: 1px solid var(--fevent-border-strong);
    background: var(--fevent-white);
    border-radius: 4px;
    text-decoration: none;
    color: var(--fevent-text-main);
    font-size: 0.9rem;
    cursor: pointer;
}

.fevent-header__btn:hover {
    background: var(--fevent-bg-muted);
}

.fevent-header__label {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 10px;
}

/* --- SEARCH --- */
.fevent-header__search {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.fevent-header__input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--fevent-border-light);
    border-radius: var(--fevent-border-radius);
    font-size: 14px;
}

.fevent-header__icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fevent-text-faint-2);
    pointer-events: none;
}

/* --- VIEW SWITCHER --- */
.fevent-header__switch {
    display: flex;
    gap: 10px;
    justify-self: end;
}

.fevent-header__view-btn {
    padding: 8px 16px;
    background: var(--fevent-white);
    border: 1px solid var(--fevent-border-strong);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: var(--fevent-text-main);
    font-weight: 500;
    transition: all 0.2s;
}

.fevent-header__view-btn.active,
.fevent-header__view-btn:hover {
    background: var(--fevent-primary);
    color: var(--fevent-white);
    border-color: var(--fevent-primary);
}

/* --- FILTERS --- */
.fevent-header__filter {
    padding: 8px;
    border: 1px solid var(--fevent-border-strong);
    border-radius: 4px;
    background: var(--fevent-white);
    color: var(--fevent-text-main);
    font-size: 0.9rem;
}

/* --- LIST VIEW --- */
.fevent-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fevent-list__item {
    display: grid;
    grid-template-columns: 100px 1fr 200px;
    gap: 30px;
    background: var(--fevent-white);
    border-bottom: 1px solid var(--fevent-border);
    padding-bottom: 30px;
    align-items: start;
}

.fevent-list__date {
    text-align: center;
    color: var(--fevent-text-muted);
}

.fevent-list__day {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.fevent-list__number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--fevent-text-main);
}

.fevent-list__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fevent-list__time {
    font-size: 0.9rem;
    color: var(--fevent-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fevent-list__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.fevent-list__link {
    color: var(--fevent-text-main);
    text-decoration: none !important;
    border-bottom: none !important;
    transition: color 0.2s;
}

.fevent-list__link:hover {
    color: var(--fevent-primary);
}

.fevent-list__meta {
    font-style: italic;
    color: var(--fevent-text-muted);
    font-size: 0.95rem;
}

.fevent-list__excerpt {
    color: var(--fevent-text-muted);
    line-height: 1.6;
    margin-top: 5px;
}

.fevent-list__image-wrapper {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 4px;
}

.fevent-list__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fevent-list__item:hover .fevent-list__image {
    transform: scale(1.05);
}

/* --- CALENDAR VIEW (MONTH) --- */
.fevent-calendar {
    border: 1px solid var(--fevent-border);
    background: var(--fevent-white);
    border-radius: 8px;
    position: relative;
}

.fevent-calendar__header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--fevent-bg-subtle);
    border-bottom: 1px solid var(--fevent-border);
}

.fevent-calendar__header-cell {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--fevent-text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.fevent-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.fevent-calendar__cell {
    min-height: 120px;
    border-right: 1px solid var(--fevent-border);
    border-bottom: 1px solid var(--fevent-border);
    padding: 5px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s;
}

.fevent-calendar__cell:hover:not(.fevent-calendar__cell--empty) {
    background-color: var(--fevent-bg-subtle);
}

.fevent-calendar__cell:focus-visible {
    outline: 2px solid var(--fevent-primary);
    outline-offset: -2px;
    z-index: 10;
}

/* Selected State */
.fevent-calendar__cell.is-selected {
    background-color: var(--fevent-primary) !important;
    border-color: var(--fevent-primary);
    box-shadow: inset 0 0 0 1px var(--fevent-primary);
    /* Simulate full border */
    outline: none;
    /* Remove default focus ring */
    z-index: 5;
}

.fevent-calendar__cell.is-selected .fevent-calendar__day-number,
.fevent-calendar__cell.is-selected .fevent-calendar__event-time,
.fevent-calendar__cell.is-selected .fevent-calendar__event-title {
    color: var(--fevent-white) !important;
}

.fevent-calendar__cell:nth-child(7n) {
    border-right: none;
}

.fevent-calendar__cell--empty {
    background-color: var(--fevent-surface);
    cursor: default;
}

.fevent-calendar__day-number {
    text-align: left;
    font-weight: 700;
    color: var(--fevent-text-strong);
    margin-bottom: 8px;
    font-size: 1.1rem;
    padding-left: 5px;
    display: block;
}

.fevent-calendar__cell--today {
    background-color: var(--fevent-accent-soft);
}

.fevent-calendar__cell--today .fevent-calendar__day-number {
    color: var(--fevent-primary);
    font-weight: 800;
}

/* Event marker */
.fevent-calendar__event {
    display: block;
    background: transparent;
    padding: 4px 6px;
    margin-bottom: 6px;
    text-decoration: none;
    border-left: 3px solid var(--fevent-primary, #3b82f6);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    position: relative;
    transition: background 0.1s;
}

/* Enfold resets every element inside ".main_color" to a grey border
   (".main_color a { border-color:#e1e1e1 }", specificity 0,1,1), which outranks
   the single-class ".fevent-calendar__event" (0,1,0) and greys out the accent
   bar. Re-assert the brand colour from a container-scoped selector (0,2,0) so it
   wins on a theme-agnostic basis, without !important. */
.fevent-container .fevent-calendar__event {
    border-left-color: var(--fevent-primary, #3b82f6);
}

.fevent-calendar__event:hover {
    background: var(--fevent-bg-muted);
    z-index: 50;
}

.fevent-calendar__event-time {
    font-size: 0.75rem;
    color: var(--fevent-text-muted);
    margin-bottom: 2px;
    line-height: 1.2;
}

.fevent-calendar__event-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fevent-text-darkest);
    line-height: 1.3;
    white-space: normal;
}

/* Tooltip */
.fevent-calendar__tooltip {
    display: none;
    position: absolute;
    left: 105%;
    top: 0;
    width: 250px;
    background: var(--fevent-white);
    border: 1px solid var(--fevent-border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 0;
    z-index: 100;
    text-align: left;
    overflow: hidden;
}

.fevent-calendar__cell:nth-child(7n) .fevent-calendar__tooltip,
.fevent-calendar__cell:nth-child(7n-1) .fevent-calendar__tooltip {
    left: auto;
    right: 105%;
}

.fevent-calendar__event:hover .fevent-calendar__tooltip {
    display: block;
}

.fevent-calendar__tooltip-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--fevent-bg-muted);
}

.fevent-calendar__tooltip-content {
    padding: 15px;
}

.fevent-calendar__tooltip-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--fevent-text-main);
    white-space: normal;
}

.fevent-calendar__tooltip-time {
    font-size: 0.8rem;
    color: var(--fevent-text-muted);
    margin-bottom: 5px;
}

.fevent-calendar__tooltip-desc {
    font-size: 0.85rem;
    color: var(--fevent-text-medium);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- AGENDA VIEW (Mobile Details / JS Injected) --- */
.fevent-container .fevent-agenda {
    display: none;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 20px;
    animation: feventFadeIn 0.4s ease-out;
    box-sizing: border-box;
}

.fevent-container .fevent-agenda.active {
    display: block;
}

.fevent-container .fevent-agenda__placeholder {
    text-align: center;
    padding: 40px;
    color: var(--fevent-text-faint);
    font-style: italic;
    font-size: 1.1rem;
    border: 2px dashed var(--fevent-border);
    border-radius: 8px;
    background: var(--fevent-bg-subtle);
}

.fevent-container .fevent-agenda__date {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fevent-text-main);
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--fevent-bg-muted);
    display: flex;
    align-items: center;
    gap: 15px;
}

.fevent-container .fevent-agenda__date::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: var(--fevent-border);
}

.fevent-container .fevent-agenda__card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    background: var(--fevent-white);
    border: 1px solid var(--fevent-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.fevent-container .fevent-agenda__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--fevent-primary);
}

.fevent-container .fevent-agenda__meta {
    border-right: 1px solid var(--fevent-bg-muted);
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.fevent-container .fevent-agenda__time-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fevent-container .fevent-agenda__time-start,
.fevent-container .fevent-agenda__time-end {
    font-weight: 700;
    color: var(--fevent-link);
    font-size: 0.95rem;
    line-height: 1;
}

.fevent-container .fevent-agenda__time-sep {
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--fevent-accent-light);
    margin: 4px 0;
}

.fevent-container .fevent-agenda__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fevent-container .fevent-agenda__title {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.fevent-container .fevent-agenda__title a {
    color: var(--fevent-text-main);
    text-decoration: none;
    border: none;
    transition: color 0.2s;
}

.fevent-container .fevent-agenda__title a:hover {
    color: var(--fevent-link);
}

.fevent-container .fevent-agenda__address {
    flex-basis: 100%;
    margin-left: 23px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--fevent-text-muted);
}

.fevent-container .fevent-agenda__location,
.fevent-container .fevent-agenda__organizer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--fevent-text-muted);
}

.fevent-container .fevent-agenda__excerpt {
    font-size: 1rem;
    color: var(--fevent-text-muted);
    line-height: 1.6;
    margin: 0;
}

.fevent-container .fevent-agenda__image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--fevent-bg-muted);
}

.fevent-container .fevent-agenda__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- SINGLE EVENT PAGE --- */
.fevent-single {
    /* Base wrapper for single page */
    background-color: var(--fevent-bg-subtle);
    min-height: 100vh;
}

.fevent-single__hero {
    background-color: var(--fevent-hero-bg, var(--fevent-text-main));
    color: var(--fevent-white);
    padding: 60px 0 100px 0;
    margin-bottom: -60px;
    position: relative;
}

.fevent-single__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.fevent-single__back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s;
}

.fevent-single__back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--fevent-white);
}

.fevent-single__title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.1;
    color: var(--fevent-white);
}

.fevent-single__hero-date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fevent-single__content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.fevent-single__main {
    background: var(--fevent-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.fevent-single__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.fevent-single__content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--fevent-text-strong);
}

.fevent-single__content h2 {
    margin-top: 1.5em;
    font-size: 1.5rem;
    color: var(--fevent-ink);
}

.fevent-single__sidebar {
    position: sticky;
    top: 40px;
}

.fevent-details {
    background: var(--fevent-white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--fevent-border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.fevent-details__title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fevent-ink);
    border-bottom: 1px solid var(--fevent-border);
    padding-bottom: 15px;
}

.fevent-details__group {
    margin-bottom: 20px;
}

.fevent-details__label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fevent-text-muted);
    margin-bottom: 5px;
    font-weight: 600;
}

.fevent-details__value {
    font-size: 1.05rem;
    color: var(--fevent-text-main);
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fevent-details__icon {
    color: var(--fevent-primary);
}

.fevent-details__address {
    flex-basis: 100%;
    margin-left: 28px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--fevent-text-muted);
}

.fevent-details__cta {
    display: block;
    width: 100%;
    background: var(--fevent-primary);
    color: var(--fevent-white);
    text-align: center;
    padding: 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 25px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
}

.fevent-details__cta:hover {
    background: var(--fevent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.35);
    color: var(--fevent-white);
}

/* Helper Utilities */
.sr-only,
.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

/* Skip link: visually hidden until it receives keyboard focus (a11y). */
.fevent-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 8px 16px;
    background: var(--fevent-primary);
    color: var(--fevent-white);
    border-radius: 4px;
    text-decoration: none;
}

.fevent-skip-link:focus {
    left: 10px;
    top: 10px;
}

/* Spinner Animation */
.fevent-spin {
    animation: fevent-rotate 1s linear infinite;
    display: inline-block;
}

@keyframes fevent-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
    .fevent-single__content-wrapper {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .fevent-single__hero {
        padding: 40px 0 90px 0;
    }

    .fevent-single__container {
        padding: 0 12px;
    }

    .fevent-single__title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .fevent-single__image {
        height: 250px;
    }

    .fevent-single__sidebar {
        order: 1;
        position: relative;
        top: -30px;
        margin-bottom: -10px;
        z-index: 20;
        width: 100%;
    }

    .fevent-single__main {
        order: 2;
        width: 100%;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .fevent-container {
        padding: 0 5px;
    }

    .fevent-header__controls {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .fevent-header__nav {
        justify-content: space-between;
        width: 100%;
    }

    .fevent-header__switch {
        justify-self: center;
    }

    .fevent-header__search {
        order: -1;
        max-width: 100%;
    }

    /* Touch targets >= 44px on mobile (WCAG 2.5.5 / Apple HIG) */
    .fevent-header__btn {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .fevent-header__view-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 8px 20px;
    }

    /* Calendar Mobile */
    .fevent-calendar__grid,
    .fevent-calendar__header-row {
        gap: 2px !important;
    }

    .fevent-calendar__cell {
        height: auto;
        min-height: 36px;
        aspect-ratio: 1 / 1;
        padding: 2px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 8px;
    }

    .fevent-calendar__day-number {
        text-align: center;
        margin: 0;
        font-size: 1rem;
        font-weight: 400;
    }

    .fevent-calendar__event {
        display: none !important;
    }

    /* Dot for mobile */
    .fevent-mobile-dot {
        display: block;
        width: 6px;
        height: 6px;
        background-color: var(--fevent-primary, #3b82f6);
        border-radius: 50%;
        margin-top: 6px;
        pointer-events: none;
    }

    .fevent-calendar__cell--has-events .fevent-mobile-dot {
        display: block;
    }

    .fevent-calendar__cell:not(.fevent-calendar__cell--has-events) .fevent-mobile-dot {
        display: none;
    }

    /* Selected State Mobile */
    .fevent-calendar__cell.is-selected .fevent-mobile-dot {
        background-color: var(--fevent-white) !important;
    }

    /* List View Mobile */
    .fevent-list__item {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        text-align: left;
        padding: 15px 0 !important;
        grid-template-columns: none !important;
    }

    .fevent-list__date {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 5px;
        margin-bottom: 0 !important;
        order: 1;
    }

    .fevent-list__day {
        font-size: 0.85rem !important;
        font-weight: 700;
    }

    .fevent-list__number {
        font-size: 1.1rem !important;
    }

    .fevent-list__content {
        order: 3;
    }

    .fevent-list__image-wrapper {
        display: none;
    }

    /* Agenda View Mobile */
    .fevent-agenda {
        margin-top: 20px !important;
        padding: 0 10px;
    }

    .fevent-agenda__card {
        grid-template-columns: 1fr auto !important;
        gap: 15px !important;
        padding: 15px !important;
        align-items: start;
    }

    .fevent-agenda__meta {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid var(--fevent-bg-muted);
        padding-right: 0;
        padding-bottom: 10px;
        margin-bottom: 10px;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: flex-start;
    }

    .fevent-agenda__time-stack {
        flex-direction: row !important;
        gap: 8px !important;
    }

    .fevent-agenda__time-sep {
        display: none !important;
    }

    .fevent-agenda__time-start::after {
        content: " - ";
        margin-left: 8px;
        color: var(--fevent-text-faint);
        font-weight: 400;
    }

    .fevent-agenda__image {
        position: absolute;
        top: 60px;
        right: 15px;
        width: 60px;
        height: 60px;
    }

    .fevent-agenda__content {
        padding-right: 70px;
    }
}

/* Animations */
@keyframes feventFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- WIDGET UPCOMING EVENTS --- */

/* Reset Enfold's `.entry-content-wrapper ul { list-style: disc outside }`
   and `ul { margin-left: 7px }`.  Scoping with the parent block ensures
   specificity 0,2,0 which beats Enfold's 0,1,1.                         */
.fevent-widget .fevent-widget__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.fevent-widget .fevent-widget__item {
    padding: 12px 0;
    border-bottom: 1px solid #e1e1e1;
    list-style: none;
}

.fevent-widget .fevent-widget__item:last-child {
    border-bottom: none;
}

.fevent-widget .fevent-widget__date {
    font-size: 0.75em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
    display: block;
    line-height: 1.4;
}

.fevent-widget .fevent-widget__month,
.fevent-widget .fevent-widget__day {
    display: inline;
}

.fevent-widget .fevent-widget__title {
    margin: 0 0 2px 0;
    font-size: 0.9em;
    font-weight: 700;
    line-height: 1.4;
}

.fevent-widget .fevent-widget__link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.fevent-widget .fevent-widget__link:hover {
    color: var(--fevent-primary, #3b82f6);
}

.fevent-widget .fevent-widget__meta {
    font-size: 0.8em;
    color: #999;
    line-height: 1.4;
}

.fevent-widget .fevent-widget__empty {
    font-style: italic;
    color: #999;
    padding: 10px 0;
}

.fevent-widget .fevent-widget__info {
    min-width: 0;
}

.fevent-widget .fevent-widget__loc {
    display: inline;
}

.fevent-widget .fevent-widget__sep {
    margin: 0 4px;
    color: #ccc;
}

.fevent-widget .fevent-widget__time {
    display: inline;
}