.fvek-widget,
.fvek-calendar,
.fvek-single-card {
    color: #172033;
    font-family: inherit;
}

.fvek-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.fvek-widget-list {
    display: grid;
    gap: 12px;
}

.fvek-card {
    background: color-mix(in srgb, var(--fvek-accent) 12%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--fvek-accent) 28%, #d8dee8);
    border-left: 6px solid var(--fvek-accent);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(20, 27, 42, .08);
    min-height: 150px;
    overflow: hidden;
}

.fvek-card-list {
    min-height: 0;
}

.fvek-card-link {
    color: inherit;
    display: block;
    height: 100%;
    padding: 18px;
    text-decoration: none;
}

.fvek-card h3 {
    font-size: 1.14rem;
    line-height: 1.25;
    margin: 6px 0 10px;
}

.fvek-card-date {
    color: var(--fvek-accent);
    font-size: .88rem;
    font-weight: 700;
}

.fvek-card-time,
.fvek-card-location {
    margin: 4px 0;
}

.fvek-empty {
    color: #667085;
}

.fvek-subscribe,
.fvek-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.fvek-button {
    align-items: center;
    background: #172033;
    border: 1px solid #172033;
    border-radius: 8px;
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 700;
    min-height: 42px;
    padding: 10px 14px;
    text-decoration: none;
}

.fvek-button-secondary {
    background: #ffffff;
    color: #172033 !important;
}

.fvek-calendar {
    background: #ffffff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    box-sizing: border-box;
    clear: both;
    margin: 24px auto;
    max-width: 1240px;
    overflow: hidden;
    width: 100%;
}

.fvek-calendar-shell {
    box-sizing: border-box;
    clear: both;
    display: block;
    margin: 0 auto;
    max-width: 1240px;
    min-width: 0;
    width: 100%;
}

.fvek-calendar-shell.is-loading {
    opacity: .58;
    pointer-events: none;
}

.fvek-calendar-header {
    align-items: center;
    background: #f7f9fc;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px;
}

.fvek-calendar-header h2 {
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

.fvek-cal-nav {
    background: #ffffff;
    border: 1px solid #c8d0dc;
    border-radius: 8px;
    cursor: pointer;
    min-height: 38px;
    padding: 8px 12px;
}

.fvek-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
}

.fvek-calendar-weekdays {
    background: #172033;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.fvek-calendar-weekdays div {
    box-sizing: border-box;
    min-width: 0;
    padding: 8px;
}

.fvek-day {
    background: #ffffff;
    box-sizing: border-box;
    border-right: 1px solid #e5eaf2;
    border-top: 1px solid #e5eaf2;
    display: block;
    min-width: 0;
    min-height: 116px;
    overflow: hidden;
    padding: 8px;
}

.fvek-day:nth-child(7n) {
    border-right: 0;
}

.fvek-day-empty {
    background: #f7f9fc;
}

.fvek-day-number {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.fvek-cal-event {
    background: var(--fvek-accent);
    box-sizing: border-box;
    border-radius: 6px;
    color: #ffffff !important;
    display: block;
    font-size: .82rem;
    line-height: 1.2;
    margin: 4px 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 5px 6px;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    width: 100%;
}

.fvek-calendar .fvek-cal-event,
.fvek-calendar .fvek-cal-event:hover,
.fvek-calendar .fvek-cal-event:focus {
    color: #ffffff !important;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: normal;
}

.fvek-single {
    margin: 0 auto;
    max-width: 980px;
    padding: 32px 18px;
}

.fvek-single-card {
    border-top: 8px solid var(--fvek-accent);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(20, 27, 42, .12);
    padding: clamp(22px, 4vw, 44px);
}

.fvek-kicker {
    color: var(--fvek-accent);
    font-weight: 800;
    margin: 0 0 8px;
}

.fvek-single-header h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 24px;
}

.fvek-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(68px, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.fvek-countdown div {
    background: #172033;
    border-radius: 8px;
    color: #ffffff;
    min-height: 92px;
    padding: 12px 8px;
    text-align: center;
}

.fvek-countdown span {
    display: block;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    line-height: 1;
    transform-origin: center;
    transition: transform .22s ease, opacity .22s ease;
}

.fvek-countdown span.is-flipping {
    opacity: .45;
    transform: rotateX(70deg);
}

.fvek-countdown small {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
}

.fvek-event-facts {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.fvek-event-facts div {
    border-bottom: 1px solid #e5eaf2;
    display: grid;
    gap: 8px;
    grid-template-columns: 150px 1fr;
    padding-bottom: 10px;
}

.fvek-event-facts dt {
    font-weight: 800;
}

.fvek-event-facts dd {
    margin: 0;
}

.fvek-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.fvek-extra-links a {
    border: 1px solid #c8d0dc;
    border-radius: 8px;
    padding: 8px 12px;
    text-decoration: none;
}

@media (max-width: 720px) {
    .fvek-calendar-header {
        align-items: stretch;
        flex-direction: column;
    }

    .fvek-calendar-grid {
        font-size: .9rem;
    }

    .fvek-calendar {
        border-radius: 6px;
        margin-top: 16px;
    }

    .fvek-day {
        min-height: 92px;
        padding: 6px;
    }

    .fvek-cal-event {
        font-size: .75rem;
    }

    .fvek-event-facts div {
        grid-template-columns: 1fr;
    }

    .fvek-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
