/* Text-editor widgets may wrap the shortcode in a pasted code block. */
pre:has(.stk-event-list),
pre:has(.stk-event-list) > code {
    display: block;
    white-space: normal;
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: inherit;
}

.stk-event-list { --stk-event-accent: #e62d2c; font-family: 'Manrope', Arial, sans-serif; color: #191b21; margin: 0; padding: 0; }
.stk-event-list .stk-event-list-grid { display: grid; grid-template-columns: repeat(var(--stk-event-columns, 4), minmax(0, 1fr)); gap: 44px 36px; }
.stk-event-list .stk-event-list-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border-radius: 0; background: #20232b; box-shadow: 0 6px 24px #191b2114; transition: transform .2s, box-shadow .2s; }
.stk-event-list .stk-event-list-link { position: relative; display: flex; flex: 1; flex-direction: column; width: 100%; min-height: 350px; margin: 0 !important; padding: 0 !important; overflow: hidden; isolation: isolate; border-radius: inherit; color: #fff !important; text-decoration: none !important; }
.stk-event-list .stk-event-list-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.stk-event-list .stk-event-list-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; object-position: center; }
.stk-event-list .stk-event-list-link::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #0000001a, transparent 35%, #00000066); pointer-events: none; }
.stk-event-list .has-placeholder .stk-event-list-poster { object-fit: contain; padding: 28px 28px 120px; background: #f1f2f4; }
.stk-event-list .stk-event-list-card .stk-event-list-link > .stk-event-list-overlay { position: absolute !important; top: auto; right: 0; bottom: 0 !important; left: 0; width: 100%; flex: 0 0 auto; box-sizing: border-box; margin: 0 !important; height: 125px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; align-items: center; gap: 10px 8px; padding: 10px; border-top: 1px solid #ffffff38; background: #11141ba3; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); text-shadow: 0 1px 3px #00000080; }
.stk-event-list .stk-event-list-overlay :is(time, .stk-event-list-date) { grid-column: 1; grid-row: 2; display: block; margin: 0 !important; color: #f3f4f6; font-size: 12px; font-weight: 500; line-height: 1.25; }
.stk-event-list .stk-event-list-overlay h3 { grid-column: 1 / -1; grid-row: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 45px; overflow: hidden; margin: 0 !important; padding: 0; color: #fff !important; font-family: inherit !important; font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.stk-event-list .stk-event-list-finished { grid-column: 1 / -1; grid-row: 2; color: #e5e7eb; font-size: 13px; font-weight: 600; line-height: 1.4; }
.stk-event-list .stk-event-list-bottom { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stk-event-list .stk-event-list-price { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.25; }
.stk-event-list .stk-event-list-price :is(.amount, bdi) { color: inherit !important; font: inherit; }
.stk-event-list .stk-event-list-arrow { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border: 1px solid #ffffff55; border-radius: 50%; background: #ffffff12; font-size: 17px; line-height: 1; transition: background-color .2s, border-color .2s; }
.stk-event-list .stk-event-list-card.is-past { border-radius: 0; }
.stk-event-list .is-past .stk-event-list-link { cursor: default; }
.stk-event-list .is-past .stk-event-list-link::before {
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    background: rgba(12, 17, 31, 0.5); border-radius: 0; transition: background-color .2s;
}
.stk-event-list .stk-event-list-card.is-past .stk-event-list-link > .stk-event-list-overlay {
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.stk-event-list a.stk-event-list-link:focus-visible { outline: 3px solid var(--stk-event-accent); outline-offset: 4px; }
.stk-event-list a.stk-event-list-link:focus-visible .stk-event-list-arrow { background: var(--stk-event-accent); border-color: var(--stk-event-accent); }
@media (hover: hover) {
    .stk-event-list .stk-event-list-card:has(a.stk-event-list-link:hover) { transform: translateY(-4px); box-shadow: 0 12px 30px #e62d2c40, 0 0 0 1px #e62d2c66; }
    .stk-event-list a.stk-event-list-link:hover .stk-event-list-arrow { background: var(--stk-event-accent); border-color: var(--stk-event-accent); }
    .stk-event-list .stk-event-list-card.is-past:hover { box-shadow: 0 10px 28px #0c111f40, 0 0 0 1px #ffffff30; }
    .stk-event-list .is-past .stk-event-list-link:hover::before { background: rgba(12, 17, 31, 0.6); }
}
@media (max-width: 1024px) { .stk-event-list .stk-event-list-grid { grid-template-columns: repeat(min(var(--stk-event-columns, 4), 2), minmax(0, 1fr)); gap: 36px 28px; } }
@media (max-width: 600px) { .stk-event-list .stk-event-list-grid { grid-template-columns: minmax(0, 1fr); } .stk-event-list .stk-event-list-link { min-height: 330px; } }
@media (prefers-reduced-motion: reduce) { .stk-event-list :is(.stk-event-list-card, .stk-event-list-poster, .stk-event-list-arrow), .stk-event-list .is-past .stk-event-list-link::before { transition: none; } .stk-event-list .stk-event-list-card:has(a.stk-event-list-link:hover) { transform: none; } .stk-event-list a.stk-event-list-link:hover .stk-event-list-poster { transform: none; } }
