.ffh-events{--ffh-red:#e30613;box-sizing:border-box;font-family:inherit;line-height:1.35}
.ffh-events[hidden]{display:none!important}
.ffh-event-card{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border:0!important;padding:0!important;margin:0;background:transparent!important;color:inherit;cursor:pointer;text-transform:none!important;letter-spacing:normal!important;min-width:0;max-width:100%;border-radius:0!important;box-shadow:none!important;overflow:visible!important;line-height:1.2!important}
.ffh-event-card:focus-visible,.ffh-event-dialog a:focus-visible,.ffh-dialog-close:focus-visible{outline:3px solid #e30613!important;outline-offset:4px}
.ffh-event-card .ffh-event-poster{display:block;width:auto;max-width:100%;height:auto;object-fit:contain;box-shadow:0 6px 22px #0003;transition:transform .18s ease;filter:none;border:0;margin:0}
.ffh-event-card:hover .ffh-event-poster{transform:translateY(-3px)}
.ffh-event-caption{display:block;font-size:12px;font-weight:600;line-height:1.4;padding:6px 3px;text-align:center;color:#444}
.ffh-inline-events{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;width:100%;padding:0;margin:0 auto}
.ffh-inline-events .ffh-event-card{flex:0 1 260px;width:100%;max-width:100%}
.ffh-inline-events .ffh-event-poster{width:100%;height:auto;box-shadow:none}
.ffh-hero-anchor{position:relative!important}
.ffh-hero-desktop{position:absolute!important;inset:0!important;z-index:12;pointer-events:none;overflow:visible;display:block}
.ffh-hero-desktop .ffh-event-card{pointer-events:auto;position:absolute;top:var(--ffh-card-top);transform:translateY(-50%);width:var(--ffh-card-width);max-width:var(--ffh-card-width)}
.ffh-hero-desktop .ffh-event-card:first-child{left:var(--ffh-left)}
.ffh-hero-desktop .ffh-event-card:nth-child(2){right:var(--ffh-right)}
.ffh-hero-desktop .ffh-event-poster{width:auto;max-width:100%;max-height:var(--ffh-card-height);height:auto;box-shadow:0 8px 26px #0006;outline:1px solid #ffffff80}
.ffh-hero-desktop .ffh-event-caption{background:#171717d9;color:#fff;padding:6px 9px;width:100%;box-sizing:border-box}
.ffh-hero-compact{display:flex;justify-content:center;align-items:center;position:relative;clear:both;width:100%;padding:18px 16px;background:#f3f5f5;z-index:1;min-height:0}
.ffh-hero-compact .ffh-event-card{width:142px;max-width:55vw}
.ffh-hero-compact .ffh-event-poster{max-height:205px;width:auto}
.ffh-hero-compact .ffh-event-card:nth-child(n+2){display:none!important}
.ffh-event-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto!important;padding:0!important;border:0!important;border-radius:8px;width:min(850px,calc(100% - 32px));max-width:none;max-height:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#222;z-index:2147483640;font-family:inherit;box-shadow:0 16px 70px #0005;text-align:left;overscroll-behavior:contain}
.ffh-event-dialog:not([open]){display:none!important}
.ffh-event-dialog::backdrop{background:rgba(0,0,0,.68)}
.ffh-modal-open{overflow:hidden!important}
.ffh-dialog-inner{display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr);align-items:start;gap:28px;padding:35px 32px 28px}
.ffh-dialog-poster{width:100%;height:auto;max-height:65vh;object-fit:contain;margin:0!important;align-self:start}
.ffh-dialog-content{min-width:0}
.ffh-dialog-eyebrow{font-size:12px!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#b5000b;margin:0 0 8px!important}
.ffh-event-dialog .ffh-dialog-title{font-size:clamp(23px,3vw,34px)!important;line-height:1.15!important;color:#222!important;font-weight:750;margin:0 0 20px!important;padding:0;overflow-wrap:anywhere;letter-spacing:normal!important}
.ffh-dialog-data{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 14px;margin:0 0 20px!important;font-size:15px;line-height:1.5}
.ffh-dialog-data dt{font-weight:700;color:#333;margin:0!important}
.ffh-dialog-data dd{margin:0!important;white-space:pre-line;overflow-wrap:anywhere}
.ffh-dialog-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.65;margin:0 0 22px!important}
.ffh-dialog-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ffh-event-dialog .ffh-calendar{display:inline-block;background:#e30613!important;color:#fff!important;padding:13px 18px;font-size:15px;font-weight:700;text-decoration:none!important;border-radius:3px;line-height:1.4;text-align:center}
.ffh-event-dialog .ffh-calendar:hover{background:#b9000a!important}
.ffh-event-dialog .ffh-more{color:#b5000b!important;font-size:14px;text-decoration:underline!important;overflow-wrap:anywhere}
.ffh-calendar-help{font-size:12px!important;color:#666;margin:10px 0 0!important;line-height:1.4}
.ffh-event-dialog .ffh-dialog-close{position:sticky;top:0;float:right;display:grid;place-items:center;z-index:2;min-width:38px;min-height:38px;width:38px;height:38px;border:0!important;border-radius:50%!important;padding:0!important;margin:8px 8px -46px 0!important;background:#f1f1f1!important;color:#222!important;font-size:28px!important;font-weight:400;line-height:1!important;box-shadow:none!important;cursor:pointer}
@media(max-width:600px){.ffh-dialog-inner{display:flex;flex-direction:column;gap:16px;padding:24px 18px}.ffh-dialog-poster{width:auto;max-width:74%;max-height:240px;align-self:center}.ffh-dialog-content{width:100%}.ffh-dialog-data{grid-template-columns:minmax(0,1fr);gap:3px}.ffh-dialog-data dd{margin:0 0 9px!important}.ffh-dialog-actions{align-items:stretch;flex-direction:column}.ffh-event-dialog .ffh-calendar{width:100%;box-sizing:border-box}.ffh-inline-events .ffh-event-card{max-width:260px}}
@media(prefers-reduced-motion:reduce){.ffh-event-card .ffh-event-poster{transition:none}.ffh-event-card:hover .ffh-event-poster{transform:none}}

/* v2: header only – no change to existing sidebar cards. */
.ffh-hero-desktop{position:fixed!important;inset:0!important;z-index:8000!important;pointer-events:none!important;overflow:visible!important}
.ffh-hero-events .ffh-hero-card{pointer-events:auto!important;display:block;padding:5px!important;background:#fff!important;border-radius:4px!important;box-shadow:0 10px 32px #0005!important;line-height:0!important;isolation:isolate;transition:box-shadow .2s ease}
.ffh-hero-desktop .ffh-hero-card{width:auto;max-width:var(--ffh-card-width);}
.ffh-hero-desktop .ffh-hero-card:first-child{left:calc(var(--ffh-left) + var(--ffh-card-width)/2);transform:translate(-50%,-50%)}
.ffh-hero-desktop .ffh-hero-card:nth-child(2){right:calc(var(--ffh-right) + var(--ffh-card-width)/2);transform:translate(50%,-50%)}
.ffh-hero-events .ffh-hero-card .ffh-event-poster{display:block;width:auto;max-width:100%;height:auto;outline:none;border-radius:1px;box-shadow:none;transform:none!important;pointer-events:none}
.ffh-hero-desktop .ffh-hero-card .ffh-event-poster{max-height:calc(var(--ffh-card-height) - 10px)}
.ffh-hero-events .ffh-hero-card .ffh-event-caption{position:absolute;bottom:11px;right:11px;width:28px;height:28px;display:grid;place-items:center;padding:0;background:#fff;color:#b5000b;border-radius:50%;box-shadow:0 2px 8px #0003;font:700 19px/1 Arial,sans-serif;pointer-events:none}
.ffh-hero-events .ffh-hero-card:hover,.ffh-hero-events .ffh-hero-card:focus-visible{box-shadow:0 12px 36px #0007!important}
.ffh-hero-compact .ffh-hero-card{width:auto;max-width:min(190px,65vw)}
.ffh-hero-compact .ffh-hero-card .ffh-event-poster{max-height:250px}
.ffh-inline-fallback{flex:0 1 260px;width:100%;max-width:100%}
.ffh-inline-fallback .ffh-fallback-image{display:block;width:100%;height:auto;border:0;margin:0;box-shadow:none}
/* Full shortcode page */
.ffh-event-page{width:100%;margin:0 auto 2rem;color:inherit}
.ffh-event-page .ffh-page-heading{font-size:clamp(23px,3vw,34px);line-height:1.2;font-weight:700;margin:0 0 24px;padding:0;letter-spacing:normal;text-transform:none}
.ffh-page-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px;align-items:stretch}
.ffh-event-page .ffh-page-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;margin:0!important;padding:22px!important;background:#fff;color:#242424;border:1px solid #e1e4e4;border-radius:4px;box-shadow:0 4px 16px #0000000a}
.ffh-page-card .ffh-page-poster{width:100%;height:280px;justify-content:center;align-items:center;margin-bottom:20px!important;background:#f3f5f5!important;overflow:hidden!important}
.ffh-page-card .ffh-event-poster{width:auto;max-width:100%;max-height:100%;height:auto;object-fit:contain;box-shadow:none}
.ffh-page-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0}
.ffh-event-page .ffh-page-date{font-size:13px;font-weight:700;color:#b5000b;line-height:1.5;margin:0 0 8px!important}
.ffh-event-page .ffh-page-title{font-size:24px;line-height:1.2;font-weight:700;color:#222;text-transform:none;letter-spacing:normal;margin:0 0 12px!important;padding:0;overflow-wrap:anywhere}
.ffh-event-page .ffh-page-location,.ffh-event-page .ffh-page-description{font-size:15px;line-height:1.6;color:#444;margin:0 0 14px!important;overflow-wrap:anywhere}
.ffh-event-page .ffh-page-description{white-space:pre-line;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ffh-event-page .ffh-page-details{margin:auto 0 0!important;padding:12px 18px!important;display:inline-block;background:#e30613!important;color:#fff!important;border:0!important;border-radius:2px!important;font-weight:700;font-size:14px;line-height:1.4;text-transform:none;letter-spacing:normal;cursor:pointer}
.ffh-event-page .ffh-page-details:hover{background:#b9000a!important}
.ffh-event-page .ffh-page-details:focus-visible{outline:3px solid #e30613;outline-offset:3px}
.ffh-page-empty,.ffh-page-message{background:#f3f5f5;color:#333;border-left:4px solid #e30613;padding:26px;margin:0!important}
.ffh-event-page .ffh-page-empty h3{font-size:22px;line-height:1.35;color:#222;margin:0 0 9px!important;padding:0;text-transform:none;letter-spacing:normal}
.ffh-event-page .ffh-page-empty p{margin:0!important;line-height:1.6}
@media(max-width:600px){.ffh-event-page .ffh-page-card{padding:16px!important}.ffh-page-card .ffh-page-poster{height:250px}.ffh-event-page .ffh-page-details{width:100%}.ffh-page-empty,.ffh-page-message{padding:18px}}
@media(prefers-reduced-motion:reduce){.ffh-hero-events .ffh-hero-card{transition:none}}
