.rfm-eventview{--rfm-accent:#d7ad3c;--rfm-auto:#238bd6;--rfm-live:#ff3038;--rfm-image:148px;font-family:inherit;color:#fff}.rfm-ev-list{display:flex;flex-direction:column;gap:11px}.rfm-ev-live-zone{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.rfm-ev-card{position:relative;display:grid;grid-template-columns:var(--rfm-image) minmax(0,1fr) 210px;min-height:var(--rfm-image);background:linear-gradient(100deg,#080808,#141414 65%,#0b0b0b);color:#fff;border:1px solid rgba(215,173,60,.72);border-radius:8px;overflow:hidden;box-shadow:0 7px 22px rgba(0,0,0,.24);text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.rfm-ev-card:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(0,0,0,.34)}.rfm-ev-card.is-compact{grid-template-columns:96px minmax(0,1fr) 210px;min-height:96px;border-color:rgba(35,139,214,.75)}.rfm-ev-card.is-grid{grid-template-columns:1fr;min-height:0}.rfm-ev-card.is-hero{grid-template-columns:190px minmax(0,1fr) 210px;min-height:190px;border:2px solid var(--rfm-live);box-shadow:0 0 0 1px rgba(255,48,56,.25),0 12px 35px rgba(0,0,0,.35)}.rfm-ev-image{position:relative;width:100%;aspect-ratio:1/1;min-height:100%;background:#1b1b1b center/cover no-repeat;border-right:1px solid rgba(215,173,60,.35)}.is-automated .rfm-ev-image{border-right-color:rgba(35,139,214,.45)}.rfm-ev-main{min-width:0;padding:10px 16px 9px;display:flex;flex-direction:column;justify-content:center}.is-compact .rfm-ev-main{padding:8px 14px}.is-hero .rfm-ev-main{padding:18px 22px}.rfm-ev-top{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:4px}.rfm-ev-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:4px;background:rgba(255,255,255,.1);color:#fff;font-size:10px;line-height:1.1;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.rfm-ev-badge.moderated{background:var(--rfm-accent);color:#111}.rfm-ev-badge.auto{background:var(--rfm-auto);color:#fff}.rfm-ev-badge.live,.rfm-ev-badge.cancelled{background:var(--rfm-live);color:#fff}.rfm-ev-badge.live i{width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.8);animation:rfmPulse 1.35s infinite}.rfm-ev-badge.label{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}.rfm-ev-card h3{margin:1px 0 5px;font-size:clamp(1.15rem,1.8vw,1.55rem);line-height:1.12;font-weight:800}.is-compact h3{font-size:1.08rem;margin-bottom:4px}.is-hero h3{font-size:clamp(1.6rem,2.7vw,2.25rem)}.rfm-ev-card h3 a,.rfm-ev-card h3{color:#fff;text-decoration:none}.rfm-ev-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 6px;color:#d8d8d8;font-size:.83rem;line-height:1.32}.is-compact .rfm-ev-excerpt{-webkit-line-clamp:1;margin-bottom:5px;font-size:.8rem}.rfm-ev-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;color:#f4f4f4;font-size:.79rem;font-weight:750}.rfm-ev-meta span{position:relative;padding-left:17px;font-weight:750}.rfm-ev-meta .date:before{content:'▣'}.rfm-ev-meta .time:before{content:'◷'}.rfm-ev-meta .location:before{content:'⌖'}.rfm-ev-meta .organizer:before{content:'●'}.rfm-ev-meta span:before{position:absolute;left:0;color:var(--rfm-accent);font-size:12px}.is-automated .rfm-ev-meta span:before{color:var(--rfm-auto)}.rfm-ev-action{display:flex;align-items:center;justify-content:center;border-left:1px solid rgba(215,173,60,.38);padding:10px}.is-automated .rfm-ev-action{border-left-color:rgba(35,139,214,.4)}.rfm-ev-details{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-width:92px;padding:8px 10px;border-radius:4px;background:var(--rfm-accent);color:#111!important;text-decoration:none!important;font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.03em}.is-automated .rfm-ev-details{background:var(--rfm-auto);color:#fff!important}.is-live .rfm-ev-details,.is-cancelled .rfm-ev-details{background:var(--rfm-live);color:#fff!important}.rfm-ev-details span{font-size:1.1em}.is-cancelled{border:2px solid var(--rfm-live)}.is-cancelled .rfm-ev-image{filter:grayscale(.75) brightness(.48)}.is-cancelled h3{text-decoration:line-through;text-decoration-thickness:2px}.rfm-ev-cancel-ribbon{position:absolute;left:-39px;top:21px;width:160px;text-align:center;transform:rotate(-35deg);background:var(--rfm-live);color:#fff;padding:6px;font-size:11px;font-weight:900;letter-spacing:.08em;z-index:2}.rfm-ev-live-dot{position:absolute;left:9px;bottom:9px;padding:5px 8px;border-radius:4px;background:var(--rfm-live);font-size:10px;font-weight:900;letter-spacing:.07em}.rfm-ev-live-by{color:#eee;font-size:.9rem;margin:-1px 0 7px}.rfm-ev-next{display:flex;align-items:center;gap:14px;background:#101010;border:1px solid rgba(215,173,60,.55);border-radius:7px;padding:10px 14px;color:#fff}.rfm-ev-next-label{background:var(--rfm-accent);color:#111;border-radius:3px;padding:4px 7px;font-size:10px;font-weight:900;letter-spacing:.05em}.rfm-ev-next strong{flex:1}.rfm-ev-next>span:last-child{color:#ccc;font-size:.82rem}.rfm-ev-more{display:block;margin:17px auto 0;padding:10px 22px;border:1px solid var(--rfm-accent);border-radius:5px;background:#101010;color:#fff;font-weight:800;cursor:pointer}.rfm-ev-more:hover{background:var(--rfm-accent);color:#111}.rfm-ev-more[disabled]{opacity:.5}.rfm-ev-empty{text-align:center;padding:22px;background:#111;border:1px solid rgba(255,255,255,.12);border-radius:7px;color:#ddd}@keyframes rfmPulse{70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
@media(max-width:800px){.rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{grid-template-columns:110px minmax(0,1fr);min-height:110px}.rfm-ev-action{grid-column:2;border-left:0;padding:0 14px 12px;justify-content:flex-start}.rfm-ev-image{grid-row:1/3}.rfm-ev-main{padding:11px 14px}.rfm-ev-excerpt{display:none}.rfm-ev-card h3,.is-hero h3{font-size:1.05rem}.rfm-ev-meta{font-size:.72rem;gap:4px 10px}.rfm-ev-next{align-items:flex-start;flex-wrap:wrap}.rfm-ev-next strong{flex-basis:60%}}
@media(max-width:520px){.rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{grid-template-columns:86px minmax(0,1fr);min-height:86px}.rfm-ev-main{padding:9px 10px}.rfm-ev-top{gap:4px}.rfm-ev-badge{font-size:8px;padding:3px 5px}.rfm-ev-card h3,.is-hero h3{font-size:.95rem}.rfm-ev-meta .location,.rfm-ev-meta .organizer{display:none}.rfm-ev-action{padding:0 10px 9px}.rfm-ev-details{min-width:0;padding:7px 10px;font-size:.69rem}.rfm-ev-next>span:last-child{width:100%}}

/* 1.1.1: Sendungsarten klarer trennen */
.rfm-ev-card.is-moderated:not(.is-live):not(.is-cancelled){
    background:
        radial-gradient(circle at 18% 0%,rgba(215,173,60,.16),transparent 34%),
        linear-gradient(105deg,#0b0904 0%,#181308 58%,#0d0b07 100%);
    border-color:rgba(215,173,60,.9);
    box-shadow:inset 4px 0 0 rgba(215,173,60,.78),0 7px 22px rgba(0,0,0,.28);
}
.rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled){
    background:
        radial-gradient(circle at 18% 0%,rgba(35,139,214,.16),transparent 34%),
        linear-gradient(105deg,#060b10 0%,#0b1720 58%,#071018 100%);
    border-color:rgba(35,139,214,.82);
    box-shadow:inset 4px 0 0 rgba(35,139,214,.72),0 7px 22px rgba(0,0,0,.25);
}
.rfm-ev-card.is-moderated:not(.is-live):not(.is-cancelled):hover{border-color:var(--rfm-accent);box-shadow:inset 4px 0 0 var(--rfm-accent),0 12px 30px rgba(0,0,0,.38)}
.rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled):hover{border-color:var(--rfm-auto);box-shadow:inset 4px 0 0 var(--rfm-auto),0 12px 30px rgba(0,0,0,.36)}

/* MEC-Label-Farben und -Stile übernehmen */
.rfm-ev-badge.label{
    --rfm-label-color:#6f7680;
    background:color-mix(in srgb,var(--rfm-label-color) 82%,#111);
    border:1px solid color-mix(in srgb,var(--rfm-label-color) 75%,#fff);
    color:#fff;
    box-shadow:0 1px 0 rgba(255,255,255,.09) inset;
}
.rfm-ev-badge.label.mec-label-featured{outline:1px solid rgba(255,255,255,.28);font-weight:900}
.rfm-ev-badge.label.mec-label-custom{border-style:dashed}


/* 1.2.0: kompaktere RFM-Karten und klarere Meta-Informationen */
.rfm-ev-meta .date,.rfm-ev-meta .time,.rfm-ev-meta .location,.rfm-ev-meta .organizer{font-weight:800;color:#fff}
.rfm-ev-card.is-moderated:not(.is-live):not(.is-cancelled){
 background:linear-gradient(100deg,#0b0904 0%,#1e1708 48%,#100d07 100%);
 border-color:rgba(224,181,60,.92);
 box-shadow:inset 4px 0 0 #d7ad3c,0 6px 18px rgba(0,0,0,.28)
}
.rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled){
 background:linear-gradient(100deg,#050a0e 0%,#0a1a26 48%,#071018 100%);
 border-color:rgba(35,139,214,.86);
 box-shadow:inset 4px 0 0 #238bd6,0 6px 18px rgba(0,0,0,.26)
}
.rfm-ev-card.is-moderated .rfm-ev-main{border-top:1px solid rgba(215,173,60,.08)}
.rfm-ev-card.is-automated .rfm-ev-main{border-top:1px solid rgba(35,139,214,.08)}
.rfm-ev-card h3{margin-top:0;margin-bottom:4px}
.rfm-ev-action{min-width:0}
@media(max-width:800px){.rfm-ev-meta span{font-weight:800}.rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{grid-template-columns:102px minmax(0,1fr);min-height:102px}}
@media(max-width:520px){.rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{grid-template-columns:82px minmax(0,1fr);min-height:82px}.rfm-ev-meta{font-size:.7rem}}

/* 1.3.0: Moderatorbilder, eigene Detailansicht, Automation ohne Moderator */
.rfm-ev-meta .organizer.has-avatar{display:inline-flex;align-items:center;padding-left:0;gap:7px}.rfm-ev-meta .organizer.has-avatar:before{display:none}.rfm-ev-meta .organizer img{width:25px;height:25px;border-radius:50%;object-fit:cover;border:2px solid var(--rfm-accent)}
.rfm-ev-detail-wrap{max-width:1180px;margin:32px auto;padding:0 18px;color:#fff}.rfm-ev-detail{--rfm-detail-accent:var(--rfm-accent);background:linear-gradient(120deg,#080808,#17130a);border:1px solid rgba(215,173,60,.78);border-radius:12px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.35)}.rfm-ev-detail.is-automated{--rfm-detail-accent:var(--rfm-auto);background:linear-gradient(120deg,#05090d,#0a1720);border-color:rgba(35,139,214,.78)}.rfm-ev-detail.is-cancelled{--rfm-detail-accent:var(--rfm-live);border:2px solid var(--rfm-live)}.rfm-ev-detail-hero{display:grid;grid-template-columns:minmax(240px,38%) 1fr;min-height:360px}.rfm-ev-detail-image{position:relative;background:#151515 center/cover no-repeat;aspect-ratio:1/1;min-height:100%}.rfm-ev-detail-head{display:flex;flex-direction:column;justify-content:center;padding:38px}.rfm-ev-detail-head h1{color:#fff;font-size:clamp(2rem,4vw,3.6rem);line-height:1.05;margin:10px 0 24px}.rfm-ev-detail-meta{display:flex;flex-wrap:wrap;gap:10px 22px;color:#fff}.rfm-ev-detail-meta span{color:var(--rfm-detail-accent)}.rfm-ev-detail-meta strong{color:#fff}.rfm-ev-detail-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.rfm-ev-detail-actions a{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:5px;font-weight:850;text-decoration:none!important}.rfm-ev-detail-primary{background:var(--rfm-detail-accent);color:#111!important}.is-automated .rfm-ev-detail-primary,.is-cancelled .rfm-ev-detail-primary{color:#fff!important}.rfm-ev-detail-secondary{border:1px solid var(--rfm-detail-accent);color:#fff!important}.rfm-ev-detail-content{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:35px;padding:34px 38px;border-top:1px solid rgba(255,255,255,.09)}.rfm-ev-detail-description h2{color:var(--rfm-detail-accent);margin-top:0}.rfm-ev-detail-description{color:#e1e1e1;line-height:1.65}.rfm-ev-moderator-box{display:flex;align-items:center;gap:15px;background:rgba(255,255,255,.055);border:1px solid rgba(215,173,60,.34);border-radius:8px;padding:15px;align-self:start}.rfm-ev-moderator-box img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid var(--rfm-accent)}.rfm-ev-moderator-box small,.rfm-ev-moderator-box strong{display:block}.rfm-ev-moderator-box strong{font-size:1.2rem;color:#fff}.rfm-ev-moderator-box span{display:inline-block;margin-top:6px;background:var(--rfm-live);padding:3px 6px;border-radius:3px;font-size:10px;font-weight:900}.rfm-ev-detail-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 38px;background:rgba(0,0,0,.2);border-top:1px solid rgba(255,255,255,.08)}.rfm-ev-detail-nav a{display:flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important}.rfm-ev-detail-nav a:last-child{justify-content:flex-end;text-align:right}.rfm-ev-detail-nav small,.rfm-ev-detail-nav strong{display:block}.rfm-ev-detail-nav small{color:#aaa}.rfm-ev-detail-nav strong{color:var(--rfm-detail-accent)}
@media(max-width:760px){.rfm-ev-detail-hero{grid-template-columns:1fr}.rfm-ev-detail-image{min-height:0}.rfm-ev-detail-head{padding:24px}.rfm-ev-detail-content{grid-template-columns:1fr;padding:25px 24px}.rfm-ev-detail-nav{padding:16px 24px}.rfm-ev-moderator-box{max-width:330px}}

/* 1.4.0: AJAX-Lightbox für Sendungsdetails */
html.rfm-ev-lightbox-open,html.rfm-ev-lightbox-open body{overflow:hidden!important}
.rfm-ev-lightbox{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.rfm-ev-lightbox.is-open{opacity:1;visibility:visible}
.rfm-ev-lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.84);backdrop-filter:blur(8px)}
.rfm-ev-lightbox-dialog{position:relative;z-index:1;width:min(1120px,100%);max-height:calc(100vh - 48px);overflow:auto;border-radius:14px;box-shadow:0 28px 90px rgba(0,0,0,.68);transform:translateY(12px) scale(.985);transition:transform .18s ease;scrollbar-color:var(--rfm-accent,#d7ad3c) #111}
.rfm-ev-lightbox.is-open .rfm-ev-lightbox-dialog{transform:none}
.rfm-ev-lightbox-close{position:sticky;float:right;top:12px;margin:12px 12px -54px 0;z-index:8;width:42px;height:42px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(5,5,5,.86);color:#fff;font-size:30px;line-height:36px;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.4)}
.rfm-ev-lightbox-close:hover,.rfm-ev-lightbox-close:focus{background:var(--rfm-live,#ff3038);outline:none}
.rfm-ev-lightbox-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:220px;background:#0b0b0b;border:1px solid rgba(215,173,60,.55);border-radius:12px;color:#fff;font-weight:800}
.rfm-ev-lightbox-loading span{width:22px;height:22px;border:3px solid rgba(255,255,255,.18);border-top-color:var(--rfm-accent,#d7ad3c);border-radius:50%;animation:rfmEvSpin .8s linear infinite}
.rfm-ev-lightbox .rfm-ev-detail{border-radius:12px}
.rfm-ev-lightbox .rfm-ev-detail-content{max-height:none}
.rfm-ev-open-detail{cursor:pointer}
@keyframes rfmEvSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.rfm-ev-lightbox{padding:8px}.rfm-ev-lightbox-dialog{max-height:calc(100vh - 16px);border-radius:10px}.rfm-ev-lightbox-close{top:8px;margin:8px 8px -50px 0;width:38px;height:38px;font-size:27px}.rfm-ev-lightbox .rfm-ev-detail-head{padding-top:56px}}

/* 1.5.0: vollständig eigene RFM-Lightbox, ohne eingebettete MEC-Seite */
.rfm-ev-lightbox{align-items:flex-end;padding:0 24px 20px}
.rfm-ev-lightbox-dialog{width:min(1180px,100%);max-height:calc(100vh - 36px);border:1px solid rgba(215,173,60,.48);background:#080808;transform:translateY(105%);transition:transform .28s cubic-bezier(.22,.85,.3,1),opacity .2s ease;opacity:.96}
.rfm-ev-lightbox.is-open .rfm-ev-lightbox-dialog{transform:translateY(0);opacity:1}
.rfm-ev-lightbox-content{min-height:220px}
.rfm-ev-lightbox .rfm-ev-detail{border:0;border-radius:14px;background:linear-gradient(120deg,#080808,#17130a)}
.rfm-ev-lightbox .rfm-ev-detail.is-automated{background:linear-gradient(120deg,#05090d,#0a1720)}
.rfm-ev-lightbox .rfm-ev-detail-nav{position:sticky;bottom:0;z-index:4;background:rgba(7,7,7,.96);backdrop-filter:blur(10px)}
.rfm-ev-lightbox-nav{cursor:pointer}
.rfm-ev-lightbox-error{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:35px;background:linear-gradient(120deg,#0b0b0b,#17100f);border:1px solid rgba(255,48,56,.55);border-radius:12px;color:#eee}
.rfm-ev-lightbox-error strong{font-size:1.15rem;color:#fff}.rfm-ev-lightbox-error span{color:#bbb}.rfm-ev-lightbox-error button{margin-top:10px;padding:9px 18px;border:1px solid #ff3038;border-radius:5px;background:#ff3038;color:#fff;font-weight:800;cursor:pointer}
.rfm-ev-detail-head .rfm-ev-badge.label{display:inline-flex}
@media(max-width:760px){.rfm-ev-lightbox{padding:0}.rfm-ev-lightbox-dialog{width:100%;max-height:100vh;border-radius:14px 14px 0 0;border-bottom:0}.rfm-ev-lightbox .rfm-ev-detail{border-radius:14px 14px 0 0}.rfm-ev-lightbox-close{position:fixed;right:8px;top:8px;margin:0}.rfm-ev-detail-nav{grid-template-columns:1fr 1fr;gap:6px}.rfm-ev-detail-nav strong{font-size:.8rem}}

/* 1.5.1: robuste Lightbox, schlichtes weißes X und einheitliche Bildspalte */
.rfm-ev-card.is-compact{
    grid-template-columns:var(--rfm-image) minmax(0,1fr) 210px;
    min-height:var(--rfm-image);
}
.rfm-ev-card.is-compact .rfm-ev-image{
    width:var(--rfm-image);
    min-width:var(--rfm-image);
    height:var(--rfm-image);
    min-height:var(--rfm-image);
    aspect-ratio:1/1;
}
.rfm-ev-card:not(.is-grid) .rfm-ev-image{
    width:var(--rfm-image);
    min-width:var(--rfm-image);
    height:var(--rfm-image);
    min-height:var(--rfm-image);
    aspect-ratio:1/1;
}
.rfm-ev-lightbox-close{
    position:sticky;
    float:right;
    top:10px;
    margin:10px 12px -48px 0;
    z-index:12;
    width:36px;
    height:36px;
    padding:0;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#fff!important;
    font-family:Arial,sans-serif;
    font-size:34px;
    font-weight:300;
    line-height:34px;
    text-align:center;
    cursor:pointer;
    box-shadow:none!important;
    appearance:none;
    -webkit-appearance:none;
}
.rfm-ev-lightbox-close:hover,.rfm-ev-lightbox-close:focus{
    background:transparent!important;
    color:#fff!important;
    outline:2px solid rgba(255,255,255,.45);
    outline-offset:2px;
}
@media(max-width:800px){
    .rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{
        grid-template-columns:102px minmax(0,1fr);
        min-height:102px;
    }
    .rfm-ev-card:not(.is-grid) .rfm-ev-image,.rfm-ev-card.is-compact .rfm-ev-image{
        width:102px;min-width:102px;height:102px;min-height:102px;
    }
}
@media(max-width:520px){
    .rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{
        grid-template-columns:82px minmax(0,1fr);
        min-height:82px;
    }
    .rfm-ev-card:not(.is-grid) .rfm-ev-image,.rfm-ev-card.is-compact .rfm-ev-image{
        width:82px;min-width:82px;height:82px;min-height:82px;
    }
    .rfm-ev-lightbox-close{position:fixed;right:10px;top:8px;margin:0}
}


/* 1.5.2: einheitliche Bildspalte und korrigierte Lightbox */
.rfm-eventview{--rfm-image:132px}
.rfm-ev-card,.rfm-ev-card.is-compact{grid-template-columns:var(--rfm-image) minmax(0,1fr) 124px;min-height:var(--rfm-image)}
.rfm-ev-card:not(.is-grid) .rfm-ev-image,.rfm-ev-card.is-compact .rfm-ev-image{width:var(--rfm-image);min-width:var(--rfm-image);height:var(--rfm-image);min-height:var(--rfm-image);aspect-ratio:1/1}
.rfm-ev-lightbox-close{border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important}
@media(max-width:800px){.rfm-eventview{--rfm-image:102px}.rfm-ev-card,.rfm-ev-card.is-compact,.rfm-ev-card.is-hero{grid-template-columns:var(--rfm-image) minmax(0,1fr);min-height:var(--rfm-image)}.rfm-ev-card:not(.is-grid) .rfm-ev-image,.rfm-ev-card.is-compact .rfm-ev-image{width:var(--rfm-image);min-width:var(--rfm-image);height:var(--rfm-image);min-height:var(--rfm-image)}}
@media(max-width:520px){.rfm-eventview{--rfm-image:82px}}

/* 1.5.3: stärkere RFM-Akzente, leuchtende moderierte Karten und optimierte Detailansicht */
.rfm-ev-card.is-moderated:not(.is-cancelled){
    position:relative;
    overflow:hidden;
    border-color:rgba(232,190,67,.92)!important;
    background:
        radial-gradient(circle at 14% 50%,rgba(222,174,45,.15),transparent 34%),
        linear-gradient(105deg,#090806 0%,#171207 58%,#0c0a05 100%)!important;
    box-shadow:
        inset 4px 0 0 #e3b93f,
        inset 0 0 22px rgba(218,170,42,.07),
        0 0 10px rgba(224,178,48,.22),
        0 10px 24px rgba(0,0,0,.34);
    animation:rfmEvModeratedGlow 3.4s ease-in-out infinite;
}
.rfm-ev-card.is-moderated:not(.is-cancelled)::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    box-shadow:inset 0 0 0 1px rgba(255,224,126,.2);
}
.rfm-ev-card.is-moderated:not(.is-cancelled):hover{
    border-color:#f3ca50!important;
    box-shadow:
        inset 5px 0 0 #f0c542,
        inset 0 0 28px rgba(224,178,48,.11),
        0 0 20px rgba(234,190,65,.48),
        0 15px 34px rgba(0,0,0,.46)!important;
}
@keyframes rfmEvModeratedGlow{
    0%,100%{box-shadow:inset 4px 0 0 #d8aa31,inset 0 0 20px rgba(218,170,42,.05),0 0 7px rgba(224,178,48,.16),0 10px 24px rgba(0,0,0,.34)}
    50%{box-shadow:inset 4px 0 0 #f0c84f,inset 0 0 27px rgba(231,187,65,.1),0 0 17px rgba(237,195,70,.42),0 12px 29px rgba(0,0,0,.4)}
}

/* Detail-Lightbox: klarere Hierarchie und hochwertigere Goldakzente */
.rfm-ev-lightbox-dialog{
    border-color:rgba(235,195,73,.72)!important;
    box-shadow:0 30px 100px rgba(0,0,0,.78),0 0 30px rgba(216,169,43,.15)!important;
}
.rfm-ev-lightbox .rfm-ev-detail{
    position:relative;
    background:
        radial-gradient(circle at 72% 20%,rgba(218,170,42,.12),transparent 38%),
        linear-gradient(125deg,#070706 0%,#151107 62%,#090806 100%)!important;
}
.rfm-ev-lightbox .rfm-ev-detail::before{
    content:"";
    position:absolute;
    z-index:3;
    left:0;right:0;top:0;
    height:3px;
    background:linear-gradient(90deg,transparent,#d7ad3c 20%,#ffe08a 50%,#d7ad3c 80%,transparent);
    box-shadow:0 0 16px rgba(235,195,73,.55);
}
.rfm-ev-detail-hero{min-height:390px}
.rfm-ev-detail-image{
    border-right:1px solid rgba(224,181,58,.36);
    box-shadow:inset -18px 0 28px rgba(0,0,0,.3);
}
.rfm-ev-detail-head{position:relative;padding:46px 44px}
.rfm-ev-detail-head::before{
    content:"";
    position:absolute;
    left:44px;top:34px;
    width:54px;height:2px;
    background:#d7ad3c;
    box-shadow:0 0 10px rgba(232,190,67,.65);
}
.rfm-ev-detail-head .rfm-ev-top{margin-top:10px;margin-bottom:12px}
.rfm-ev-detail-head .rfm-ev-badge{opacity:1!important;filter:none!important}
.rfm-ev-detail-head h1{
    margin:8px 0 22px;
    font-size:clamp(2rem,4vw,3.45rem);
    text-shadow:0 2px 18px rgba(0,0,0,.52);
}
.rfm-ev-detail-meta{gap:9px 10px}
.rfm-ev-detail-meta>span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 10px;
    border:1px solid rgba(215,173,60,.23);
    border-radius:6px;
    background:rgba(255,255,255,.035);
    color:#d7ad3c!important;
}
.rfm-ev-detail-meta strong{font-size:.96rem}
.rfm-ev-detail-actions{margin-top:24px}
.rfm-ev-detail-primary{
    padding:12px 21px!important;
    border:1px solid #f0c34b;
    box-shadow:0 0 16px rgba(215,173,60,.2);
    transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.rfm-ev-detail-primary:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 0 24px rgba(228,184,58,.36)}
.rfm-ev-detail-content{
    padding:36px 42px 40px;
    border-top:1px solid rgba(224,181,58,.25);
    background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.1));
}
.rfm-ev-detail-description h2{
    display:flex;
    align-items:center;
    gap:13px;
    color:#fff;
    font-size:clamp(1.65rem,3vw,2.35rem);
    margin:0 0 15px;
}
.rfm-ev-detail-description h2::before{
    content:"";
    width:5px;height:30px;
    border-radius:3px;
    background:#d7ad3c;
    box-shadow:0 0 13px rgba(224,181,58,.45);
}
.rfm-ev-detail-description{font-size:1.02rem;color:#dedede}
.rfm-ev-moderator-box{
    position:relative;
    overflow:hidden;
    padding:17px;
    border-color:rgba(226,183,58,.55);
    background:linear-gradient(135deg,rgba(215,173,60,.11),rgba(255,255,255,.035));
    box-shadow:inset 3px 0 0 #d7ad3c,0 8px 24px rgba(0,0,0,.2);
}
.rfm-ev-moderator-box::after{
    content:"";
    position:absolute;
    right:-25px;top:-25px;
    width:80px;height:80px;
    border-radius:50%;
    background:rgba(215,173,60,.08);
}
.rfm-ev-moderator-box img{width:88px;height:88px;box-shadow:0 0 16px rgba(215,173,60,.28)}
.rfm-ev-moderator-box small{color:#c8b77e;text-transform:uppercase;letter-spacing:.06em;font-size:.68rem}
.rfm-ev-moderator-box strong{margin-top:3px;font-size:1.24rem}
.rfm-ev-detail-nav{display:none!important}

@media(max-width:760px){
    .rfm-ev-detail-hero{min-height:0}
    .rfm-ev-detail-image{border-right:0;border-bottom:1px solid rgba(224,181,58,.32)}
    .rfm-ev-detail-head{padding:34px 24px 25px}
    .rfm-ev-detail-head::before{left:24px;top:25px}
    .rfm-ev-detail-content{padding:27px 24px 31px}
}
@media(prefers-reduced-motion:reduce){
    .rfm-ev-card.is-moderated:not(.is-cancelled){animation:none!important}
}


/* 1.5.4: kräftiger Neon-Gold-Look, zentrierte Details und stärkere Pulsation */
.rfm-ev-card.is-moderated:not(.is-cancelled){
    border:2px solid #f1c84e!important;
    box-shadow:inset 5px 0 0 #ffd45a,inset 0 0 34px rgba(255,199,54,.12),0 0 14px rgba(255,194,42,.48),0 0 34px rgba(255,181,25,.22),0 12px 30px rgba(0,0,0,.5)!important;
    animation:rfmEvModeratedGlowStrong 2.35s ease-in-out infinite!important;
}
.rfm-ev-card.is-moderated:not(.is-cancelled)::after{box-shadow:inset 0 0 0 1px rgba(255,238,169,.48),inset 0 0 28px rgba(255,197,48,.08)!important}
.rfm-ev-card.is-moderated:not(.is-cancelled):hover{box-shadow:inset 6px 0 0 #ffe06a,inset 0 0 42px rgba(255,205,68,.18),0 0 24px rgba(255,201,48,.72),0 0 52px rgba(255,177,16,.34),0 16px 38px rgba(0,0,0,.58)!important}
@keyframes rfmEvModeratedGlowStrong{
  0%,100%{border-color:#d9aa2e;box-shadow:inset 5px 0 0 #e4b83a,inset 0 0 28px rgba(255,199,54,.09),0 0 10px rgba(255,194,42,.34),0 0 22px rgba(255,181,25,.14),0 12px 30px rgba(0,0,0,.48)}
  50%{border-color:#ffe079;box-shadow:inset 5px 0 0 #ffe36f,inset 0 0 40px rgba(255,211,94,.18),0 0 23px rgba(255,207,75,.82),0 0 48px rgba(255,182,19,.34),0 14px 34px rgba(0,0,0,.54)}
}
.rfm-ev-lightbox{align-items:center!important;padding:24px!important}
.rfm-ev-lightbox-dialog{width:min(1320px,calc(100vw - 48px))!important;max-height:calc(100vh - 48px)!important;transform:translateY(18px) scale(.97)!important;border:2px solid #f0c44a!important;border-radius:22px!important;background:#050505!important;box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 18px rgba(255,196,45,.72),0 0 58px rgba(255,171,0,.3)!important;animation:rfmEvModalGlow 2.7s ease-in-out infinite}
.rfm-ev-lightbox.is-open .rfm-ev-lightbox-dialog{transform:none!important}
@keyframes rfmEvModalGlow{0%,100%{box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 15px rgba(255,196,45,.58),0 0 42px rgba(255,171,0,.22)}50%{box-shadow:0 35px 120px rgba(0,0,0,.9),0 0 27px rgba(255,218,102,.9),0 0 72px rgba(255,171,0,.4)}}
.rfm-ev-lightbox .rfm-ev-detail{border-radius:20px!important;background:radial-gradient(circle at 73% 20%,rgba(255,187,27,.12),transparent 35%),linear-gradient(135deg,#050505 0%,#0d0b06 56%,#060504 100%)!important}
.rfm-ev-lightbox .rfm-ev-detail::before{height:4px;box-shadow:0 0 22px rgba(255,213,93,.9)}
.rfm-ev-detail-hero{grid-template-columns:minmax(390px,38%) minmax(0,1fr);min-height:440px!important}
.rfm-ev-detail-image{margin:26px;border:1px solid #e8b735;border-radius:12px;min-height:0!important;box-shadow:inset 0 0 20px rgba(0,0,0,.3),0 0 14px rgba(255,197,43,.4),0 0 34px rgba(255,174,0,.18)}
.rfm-ev-detail-head{align-items:center;text-align:center;padding:42px 50px!important}
.rfm-ev-detail-head::before{display:none!important}
.rfm-ev-detail-head .rfm-ev-top{justify-content:center;margin:0 0 14px!important}
.rfm-ev-detail-head .rfm-ev-badge.moderated{font-size:.91rem;letter-spacing:.12em;padding:8px 14px;background:transparent!important;color:#efbd38!important;border:0!important;box-shadow:none!important}
.rfm-ev-detail-head h1{font-size:clamp(2.4rem,4.6vw,4rem)!important;font-weight:800;line-height:1.04;margin:8px auto 18px!important;text-shadow:0 0 18px rgba(255,220,130,.18),0 3px 24px rgba(0,0,0,.8)}
.rfm-ev-detail-wave{display:flex;align-items:center;justify-content:center;gap:12px;width:min(590px,100%);margin:0 auto 24px;color:#e9b934}.rfm-ev-detail-wave span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#d7ad3c)}.rfm-ev-detail-wave span:last-child{background:linear-gradient(90deg,#d7ad3c,transparent)}.rfm-ev-detail-wave i{font-style:normal;text-shadow:0 0 12px rgba(255,199,47,.8)}
.rfm-ev-detail-meta{display:grid!important;grid-template-columns:repeat(4,minmax(110px,1fr));width:100%;max-width:760px;gap:12px!important;justify-content:center}
.rfm-ev-detail-meta>span{min-height:76px;display:grid!important;grid-template-columns:30px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;padding:12px 13px!important;border:1px solid rgba(232,184,55,.5)!important;border-radius:10px!important;background:linear-gradient(145deg,rgba(255,195,42,.07),rgba(255,255,255,.02))!important;box-shadow:inset 0 0 16px rgba(255,195,42,.03),0 7px 20px rgba(0,0,0,.22)}
.rfm-ev-detail-meta>span b{grid-row:1/3;font-size:1.4rem;color:#efb92f;text-align:center}.rfm-ev-detail-meta>span small{display:block;color:#bcae86;font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;line-height:1.1}.rfm-ev-detail-meta>span strong{font-size:.95rem;line-height:1.25}
.rfm-ev-detail-actions{display:none!important}
.rfm-ev-detail-live{display:flex;align-items:center;justify-content:center;gap:12px;margin:26px auto 0;padding:10px 20px;border:1px solid #eebc39;border-radius:10px;background:rgba(227,172,37,.11);box-shadow:0 0 18px rgba(239,185,43,.24);color:#fff}.rfm-ev-detail-live i{width:13px;height:13px;border-radius:50%;background:#ffca3b;box-shadow:0 0 0 5px rgba(255,202,59,.13),0 0 17px #ffc83b;animation:rfmEvLivePulse 1.5s ease-in-out infinite}.rfm-ev-detail-live strong{color:#f4c94d;font-size:1.3rem}.rfm-ev-detail-live span{padding-left:8px;border-left:1px solid rgba(255,255,255,.16)}
.rfm-ev-detail-content{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 210px!important;align-items:center;gap:46px!important;padding:38px 54px 32px!important;text-align:center;border-top:1px solid rgba(230,181,47,.34)!important}
.rfm-ev-detail-description h2{justify-content:center!important;color:#eabc3c!important;font-size:1.55rem!important;text-transform:uppercase;letter-spacing:.05em;margin:0 0 18px!important}.rfm-ev-detail-description h2::before{display:none!important}.rfm-ev-detail-description h2 span{height:2px;width:105px;background:linear-gradient(90deg,transparent,#d8aa30)}.rfm-ev-detail-description h2 span:last-child{background:linear-gradient(90deg,#d8aa30,transparent)}
.rfm-ev-detail-description{font-size:1.03rem!important;line-height:1.65;color:#ececec!important}.rfm-ev-detail-description p{margin:.42em 0}
.rfm-ev-moderator-box{display:flex!important;flex-direction:column;justify-content:center;gap:9px!important;min-width:190px;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}.rfm-ev-moderator-box::after{display:none!important}.rfm-ev-moderator-box img{width:112px!important;height:112px!important;margin:auto;border:3px solid #eabe3e!important;box-shadow:0 0 15px rgba(255,211,91,.74),0 0 36px rgba(255,174,0,.28)!important}.rfm-ev-moderator-box small{font-size:.72rem!important;color:#e2b63d!important}.rfm-ev-moderator-box strong{font-size:1.45rem!important}.rfm-ev-moderator-box span{margin:4px auto 0}
.rfm-ev-detail-signature{grid-column:1/-1;justify-self:center;min-width:min(520px,100%);margin-top:10px;padding:10px 24px;border:1px solid rgba(222,176,47,.45);border-radius:10px;background:rgba(215,173,60,.055);box-shadow:0 0 18px rgba(215,173,60,.08)}.rfm-ev-detail-signature small,.rfm-ev-detail-signature strong{display:block}.rfm-ev-detail-signature small{color:#d8aa36}.rfm-ev-detail-signature strong{margin-top:3px;font-size:1.05rem;color:#fff}
.rfm-ev-lightbox-close{right:18px!important;top:14px!important;font-size:34px!important;font-weight:300!important;text-shadow:0 0 8px rgba(255,255,255,.35)}
@media(max-width:980px){.rfm-ev-detail-hero{grid-template-columns:1fr;min-height:0!important}.rfm-ev-detail-image{width:min(520px,calc(100% - 36px));margin:18px auto 0;aspect-ratio:1/1}.rfm-ev-detail-head{padding:26px 24px 32px!important}.rfm-ev-detail-meta{grid-template-columns:repeat(2,minmax(120px,1fr));max-width:560px}.rfm-ev-detail-content{grid-template-columns:1fr!important;padding:32px 26px!important}.rfm-ev-moderator-box{order:2}.rfm-ev-detail-signature{order:3}}
@media(max-width:560px){.rfm-ev-lightbox{padding:8px!important}.rfm-ev-lightbox-dialog{width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)!important;border-radius:16px!important}.rfm-ev-detail-head h1{font-size:2.15rem!important}.rfm-ev-detail-meta{grid-template-columns:1fr 1fr}.rfm-ev-detail-meta>span{min-height:68px;padding:9px!important}.rfm-ev-detail-content{padding:27px 18px!important}.rfm-ev-detail-description h2 span{width:42px}.rfm-ev-detail-image{width:calc(100% - 24px);margin-top:12px}.rfm-ev-lightbox-close{position:absolute!important;right:11px!important;top:8px!important}}
@media(prefers-reduced-motion:reduce){.rfm-ev-card.is-moderated:not(.is-cancelled),.rfm-ev-lightbox-dialog,.rfm-ev-detail-live i{animation:none!important}}

/* 1.5.5: Statusabhängige Detailfarben und kompakter Abschluss */
.rfm-ev-lightbox .rfm-ev-detail{
    --rfm-detail-accent:#f0c44a;
    --rfm-detail-rgb:240,196,74;
}
.rfm-ev-lightbox .rfm-ev-detail.is-automated{
    --rfm-detail-accent:#2b9ee8;
    --rfm-detail-rgb:43,158,232;
    background:radial-gradient(circle at 73% 20%,rgba(43,158,232,.15),transparent 36%),linear-gradient(135deg,#03080d 0%,#06131e 56%,#03080d 100%)!important;
}
.rfm-ev-lightbox .rfm-ev-detail.is-cancelled{
    --rfm-detail-accent:#ff3545;
    --rfm-detail-rgb:255,53,69;
    background:radial-gradient(circle at 73% 20%,rgba(255,53,69,.16),transparent 36%),linear-gradient(135deg,#0d0304 0%,#1a0709 56%,#090203 100%)!important;
}
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated){
    border-color:#2b9ee8!important;
    box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 18px rgba(43,158,232,.72),0 0 58px rgba(0,126,219,.32)!important;
    animation:rfmEvModalGlowBlue 2.7s ease-in-out infinite!important;
}
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
    border-color:#ff3545!important;
    box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 18px rgba(255,53,69,.76),0 0 62px rgba(231,0,32,.35)!important;
    animation:rfmEvModalGlowRed 2.25s ease-in-out infinite!important;
}
@keyframes rfmEvModalGlowBlue{
  0%,100%{box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 14px rgba(43,158,232,.55),0 0 42px rgba(0,126,219,.22)}
  50%{box-shadow:0 35px 120px rgba(0,0,0,.9),0 0 27px rgba(92,190,255,.9),0 0 74px rgba(0,126,219,.43)}
}
@keyframes rfmEvModalGlowRed{
  0%,100%{box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 15px rgba(255,53,69,.58),0 0 43px rgba(231,0,32,.24)}
  50%{box-shadow:0 35px 120px rgba(0,0,0,.9),0 0 29px rgba(255,91,103,.93),0 0 78px rgba(231,0,32,.46)}
}
.rfm-ev-lightbox .rfm-ev-detail::before{
    background:linear-gradient(90deg,transparent,var(--rfm-detail-accent),transparent)!important;
    box-shadow:0 0 22px rgba(var(--rfm-detail-rgb),.9)!important;
}
.rfm-ev-lightbox .rfm-ev-detail-image{
    border-color:var(--rfm-detail-accent)!important;
    box-shadow:inset 0 0 20px rgba(0,0,0,.3),0 0 14px rgba(var(--rfm-detail-rgb),.44),0 0 36px rgba(var(--rfm-detail-rgb),.2)!important;
}
.rfm-ev-detail-head .rfm-ev-badge.moderated,
.rfm-ev-detail-head .rfm-ev-badge.auto,
.rfm-ev-detail-head .rfm-ev-badge.cancelled{
    background:transparent!important;
    color:var(--rfm-detail-accent)!important;
    border:0!important;
    box-shadow:none!important;
    font-size:.91rem;
    letter-spacing:.12em;
    padding:8px 14px;
}
.rfm-ev-detail-wave{color:var(--rfm-detail-accent)!important}
.rfm-ev-detail-wave span{background:linear-gradient(90deg,transparent,var(--rfm-detail-accent))!important}
.rfm-ev-detail-wave span:last-child{background:linear-gradient(90deg,var(--rfm-detail-accent),transparent)!important}
.rfm-ev-detail-wave i{text-shadow:0 0 12px rgba(var(--rfm-detail-rgb),.8)!important}
.rfm-ev-detail-meta>span{
    border-color:rgba(var(--rfm-detail-rgb),.52)!important;
    background:linear-gradient(145deg,rgba(var(--rfm-detail-rgb),.09),rgba(255,255,255,.02))!important;
    box-shadow:inset 0 0 16px rgba(var(--rfm-detail-rgb),.04),0 7px 20px rgba(0,0,0,.22)!important;
}
.rfm-ev-detail-meta>span b{color:var(--rfm-detail-accent)!important}
.rfm-ev-detail-meta>span small{color:rgba(var(--rfm-detail-rgb),.78)!important}
.rfm-ev-detail-content{
    border-top-color:rgba(var(--rfm-detail-rgb),.36)!important;
    padding-bottom:40px!important;
}
.rfm-ev-detail-description h2{color:var(--rfm-detail-accent)!important}
.rfm-ev-detail-description h2 span{background:linear-gradient(90deg,transparent,var(--rfm-detail-accent))!important}
.rfm-ev-detail-description h2 span:last-child{background:linear-gradient(90deg,var(--rfm-detail-accent),transparent)!important}
.rfm-ev-moderator-box img{
    border-color:var(--rfm-detail-accent)!important;
    box-shadow:0 0 15px rgba(var(--rfm-detail-rgb),.76),0 0 38px rgba(var(--rfm-detail-rgb),.3)!important;
}
.rfm-ev-moderator-box small{color:var(--rfm-detail-accent)!important}
.rfm-ev-detail-live{
    border-color:var(--rfm-detail-accent)!important;
    background:rgba(var(--rfm-detail-rgb),.11)!important;
    box-shadow:0 0 18px rgba(var(--rfm-detail-rgb),.25)!important;
}
.rfm-ev-detail-live i{background:var(--rfm-detail-accent)!important;box-shadow:0 0 0 5px rgba(var(--rfm-detail-rgb),.13),0 0 17px var(--rfm-detail-accent)!important}
.rfm-ev-detail-live strong{color:var(--rfm-detail-accent)!important}
.rfm-ev-detail-signature{display:none!important}
@media(prefers-reduced-motion:reduce){
    .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
    .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){animation:none!important}
}

/* 1.5.6: zweizeilige Info-Kacheln und Premium-Detailakzente */
.rfm-ev-detail-head .rfm-ev-top{
  min-height:42px;
  align-items:center;
}
.rfm-ev-detail-head .rfm-ev-badge.moderated,
.rfm-ev-detail-head .rfm-ev-badge.auto,
.rfm-ev-detail-head .rfm-ev-badge.cancelled{
  font-size:1rem!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-shadow:0 0 14px rgba(var(--rfm-detail-rgb),.46)!important;
}
.rfm-ev-detail-head h1{
  letter-spacing:-.025em;
  text-shadow:0 0 10px rgba(var(--rfm-detail-rgb),.18),0 0 26px rgba(var(--rfm-detail-rgb),.16),0 4px 28px rgba(0,0,0,.86)!important;
}
.rfm-ev-detail-image{
  overflow:hidden;
  position:relative;
}
.rfm-ev-detail-image::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(145deg,rgba(255,255,255,.1),transparent 24%,transparent 76%,rgba(var(--rfm-detail-rgb),.08));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),inset 0 -24px 55px rgba(0,0,0,.22);
}
.rfm-ev-detail-meta{
  grid-auto-rows:1fr;
  align-items:stretch;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card{
  min-height:108px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  align-content:center!important;
  align-items:center!important;
  padding:14px 15px!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card b{
  grid-column:1;
  grid-row:1/3;
  align-self:center;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card small{
  grid-column:2;
  grid-row:1;
  margin-bottom:6px;
  white-space:nowrap;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card strong{
  grid-column:2;
  grid-row:2;
  display:flex;
  min-width:0;
  min-height:2.7em;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  font-size:1rem!important;
  line-height:1.18!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card strong em{
  display:block;
  min-width:0;
  font-style:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card strong.is-text em{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.rfm-ev-moderator-box{
  position:relative;
  padding:12px 8px!important;
}
.rfm-ev-moderator-box::before{
  content:"🎤";
  position:absolute;
  top:-6px;
  right:14px;
  font-size:1rem;
  color:var(--rfm-detail-accent);
  filter:drop-shadow(0 0 8px rgba(var(--rfm-detail-rgb),.7));
}
.rfm-ev-moderator-box img{
  transition:transform .28s ease,box-shadow .28s ease;
}
.rfm-ev-moderator-box:hover img{
  transform:scale(1.035);
  box-shadow:0 0 20px rgba(var(--rfm-detail-rgb),.92),0 0 48px rgba(var(--rfm-detail-rgb),.38)!important;
}
.rfm-ev-lightbox-dialog{
  isolation:isolate;
  overflow:visible!important;
}
.rfm-ev-lightbox-dialog::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-4px;
  padding:2px;
  border-radius:25px;
  background:conic-gradient(from 0deg,transparent 0 18%,rgba(var(--rfm-detail-rgb,240,196,74),.18) 24%,var(--rfm-detail-accent,#f0c44a) 30%,rgba(var(--rfm-detail-rgb,240,196,74),.18) 36%,transparent 42% 100%);
  filter:blur(1.5px) drop-shadow(0 0 11px rgba(var(--rfm-detail-rgb,240,196,74),.5));
  animation:rfmEvBorderSweep 8s linear infinite;
  pointer-events:none;
}
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated){--rfm-detail-accent:#2b9ee8;--rfm-detail-rgb:43,158,232}
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){--rfm-detail-accent:#ff3545;--rfm-detail-rgb:255,53,69}
@keyframes rfmEvBorderSweep{to{transform:rotate(360deg)}}
@media(max-width:980px){
  .rfm-ev-detail-meta>.rfm-ev-meta-card{min-height:96px!important}
}
@media(max-width:560px){
  .rfm-ev-detail-meta>.rfm-ev-meta-card{min-height:92px!important;padding:11px 10px!important;grid-template-columns:28px minmax(0,1fr)!important}
  .rfm-ev-detail-meta>.rfm-ev-meta-card strong{font-size:.92rem!important}
  .rfm-ev-detail-meta>.rfm-ev-meta-card small{font-size:.59rem!important}
}
@media(prefers-reduced-motion:reduce){
  .rfm-ev-lightbox-dialog::before{animation:none!important}
  .rfm-ev-moderator-box img{transition:none!important}
}

/* 1.5.7: robuste Info-Kacheln ohne Textkürzung und ruhige Glow-Animation */
.rfm-ev-detail-meta{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  max-width:820px!important;
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:126px!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:14px 12px!important;
  text-align:center!important;
  overflow:visible!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card b{
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  margin:0 0 1px!important;
  font-size:1.35rem!important;
  line-height:1!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card small{
  display:block!important;
  margin:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.15!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card strong,
.rfm-ev-detail-meta>.rfm-ev-meta-card strong.is-text{
  display:flex!important;
  flex:0 0 auto!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  font-size:clamp(.9rem,1.15vw,1.02rem)!important;
  line-height:1.22!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.rfm-ev-detail-meta>.rfm-ev-meta-card strong em,
.rfm-ev-detail-meta>.rfm-ev-meta-card strong.is-text em{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:unset!important;
}

/* Der rotierende Kegel aus 1.5.6 wurde entfernt: nur noch ein ruhiges, gleichmäßiges Pulsieren. */
.rfm-ev-lightbox-dialog::before{display:none!important;content:none!important;animation:none!important}
.rfm-ev-lightbox-dialog,
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
  border-color:var(--rfm-detail-accent,#f0c44a)!important;
  animation:rfmEvDetailGlowCalm 3.4s ease-in-out infinite!important;
}
@keyframes rfmEvDetailGlowCalm{
  0%,100%{
    box-shadow:0 35px 120px rgba(0,0,0,.88),0 0 13px rgba(var(--rfm-detail-rgb,240,196,74),.52),0 0 34px rgba(var(--rfm-detail-rgb,240,196,74),.18)!important;
  }
  50%{
    box-shadow:0 35px 120px rgba(0,0,0,.9),0 0 22px rgba(var(--rfm-detail-rgb,240,196,74),.78),0 0 52px rgba(var(--rfm-detail-rgb,240,196,74),.29)!important;
  }
}
@media(max-width:980px){
  .rfm-ev-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:600px!important}
  .rfm-ev-detail-meta>.rfm-ev-meta-card{min-height:116px!important}
}
@media(max-width:560px){
  .rfm-ev-detail-meta{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .rfm-ev-detail-meta>.rfm-ev-meta-card{min-height:112px!important;padding:11px 8px!important}
  .rfm-ev-detail-meta>.rfm-ev-meta-card strong,
  .rfm-ev-detail-meta>.rfm-ev-meta-card strong.is-text{font-size:.9rem!important}
}
@media(prefers-reduced-motion:reduce){
  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){animation:none!important}
}

/* 1.5.8: Premium-Metadaten in zwei ruhigen, horizontalen Zeilen */
.rfm-ev-detail-meta.rfm-ev-detail-meta-rows{
  display:flex!important;
  flex-direction:column!important;
  width:min(760px,100%)!important;
  max-width:760px!important;
  gap:14px!important;
  margin:0 auto!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:0!important;
  min-height:84px!important;
  overflow:hidden!important;
  border:1px solid rgba(var(--rfm-detail-rgb),.58)!important;
  border-radius:18px!important;
  background:
    linear-gradient(135deg,rgba(var(--rfm-detail-rgb),.105),rgba(255,255,255,.018) 46%,rgba(var(--rfm-detail-rgb),.055))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 0 30px rgba(var(--rfm-detail-rgb),.035),
    0 12px 30px rgba(0,0,0,.28),
    0 0 22px rgba(var(--rfm-detail-rgb),.08)!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-row:has(.rfm-ev-meta-item:only-child){
  grid-template-columns:1fr!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-item{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  align-items:center!important;
  gap:15px!important;
  padding:17px 24px!important;
  position:relative!important;
  text-align:left!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-item+ .rfm-ev-meta-item::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(var(--rfm-detail-rgb),.52),transparent);
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-item>b{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  margin:0!important;
  border-radius:14px!important;
  color:var(--rfm-detail-accent)!important;
  background:rgba(var(--rfm-detail-rgb),.075)!important;
  border:1px solid rgba(var(--rfm-detail-rgb),.24)!important;
  box-shadow:inset 0 0 15px rgba(var(--rfm-detail-rgb),.06),0 0 16px rgba(var(--rfm-detail-rgb),.07)!important;
  font-size:1.45rem!important;
  line-height:1!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  gap:4px!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-copy small{
  margin:0!important;
  color:rgba(var(--rfm-detail-rgb),.92)!important;
  font-size:.72rem!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
  white-space:normal!important;
}
.rfm-ev-detail-meta-rows .rfm-ev-meta-copy strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#fff!important;
  font-size:clamp(1rem,1.45vw,1.22rem)!important;
  font-weight:800!important;
  line-height:1.22!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
  text-shadow:0 2px 10px rgba(0,0,0,.5)!important;
}
/* Titelbereich näher an die Referenz bringen */
.rfm-ev-detail-head{padding-left:42px!important;padding-right:42px!important}
.rfm-ev-detail-head h1{margin-bottom:16px!important}
.rfm-ev-detail-wave{margin-bottom:22px!important}
/* Ruhiges Leuchten statt flächiger Animation */
.rfm-ev-lightbox-dialog,
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
.rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
  animation:rfmEvDetailGlowRows 3.8s ease-in-out infinite!important;
}
@keyframes rfmEvDetailGlowRows{
  0%,100%{box-shadow:0 35px 120px rgba(0,0,0,.9),0 0 15px rgba(var(--rfm-detail-rgb),.48),0 0 34px rgba(var(--rfm-detail-rgb),.14)!important}
  50%{box-shadow:0 35px 120px rgba(0,0,0,.92),0 0 25px rgba(var(--rfm-detail-rgb),.8),0 0 58px rgba(var(--rfm-detail-rgb),.28)!important}
}
@media(max-width:980px){
  .rfm-ev-detail-meta.rfm-ev-detail-meta-rows{max-width:680px!important}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item{padding:15px 18px!important;grid-template-columns:50px minmax(0,1fr)!important;gap:12px!important}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item>b{width:42px!important;height:42px!important;font-size:1.25rem!important}
}
@media(max-width:620px){
  .rfm-ev-detail-head{padding-left:18px!important;padding-right:18px!important}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-row{grid-template-columns:1fr!important;border-radius:14px!important}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item+ .rfm-ev-meta-item::before{left:18px;right:18px;top:0;bottom:auto;width:auto;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--rfm-detail-rgb),.48),transparent)}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item{padding:14px 16px!important;grid-template-columns:44px minmax(0,1fr)!important;gap:11px!important}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item>b{width:38px!important;height:38px!important;font-size:1.1rem!important;border-radius:11px!important}
  .rfm-ev-detail-meta-rows .rfm-ev-meta-copy strong{font-size:1rem!important}
}
@media(prefers-reduced-motion:reduce){
  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){animation:none!important}
}


/* 1.5.9: ganze Karte öffnet Details; optionale Anzeige ohne Datum */
.rfm-ev-card.rfm-ev-open-detail{
    cursor:pointer;
}
.rfm-ev-card.rfm-ev-open-detail:focus-visible{
    outline:2px solid currentColor;
    outline-offset:3px;
}
.rfm-ev-card:not(.is-grid):not(.is-date-hidden),
.rfm-ev-card.is-compact:not(.is-date-hidden){
    grid-template-columns:var(--rfm-image) minmax(0,1fr)!important;
}
.rfm-ev-card.is-date-hidden:not(.is-grid),
.rfm-ev-card.is-date-hidden.is-compact{
    grid-template-columns:var(--rfm-image) minmax(0,1fr) minmax(175px,220px)!important;
}
.rfm-ev-side-meta{
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:8px;
    min-width:0;
    padding:14px 16px;
    border-left:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 45%,transparent);
    background:rgba(0,0,0,.16);
}
.rfm-ev-card.is-automated .rfm-ev-side-meta{
    border-left-color:color-mix(in srgb,var(--rfm-auto,#238bd6) 55%,transparent);
}
.rfm-ev-card.is-cancelled .rfm-ev-side-meta{
    border-left-color:color-mix(in srgb,var(--rfm-live,#ff3038) 60%,transparent);
}
.rfm-ev-side-item{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:2px;
    color:#fff;
}
.rfm-ev-side-item small{
    color:var(--rfm-accent,#d7ad3c);
    font-size:.66rem;
    line-height:1.1;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.rfm-ev-card.is-automated .rfm-ev-side-item small{color:var(--rfm-auto,#238bd6)}
.rfm-ev-card.is-cancelled .rfm-ev-side-item small{color:var(--rfm-live,#ff3038)}
.rfm-ev-side-item strong{
    color:#fff;
    font-size:.84rem;
    line-height:1.25;
    overflow-wrap:anywhere;
}
.rfm-ev-side-item.organizer.has-avatar{
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    align-items:center;
    gap:8px;
}
.rfm-ev-side-item.organizer img{
    width:30px;
    height:30px;
    object-fit:cover;
    border-radius:50%;
    border:1px solid currentColor;
}
.rfm-ev-action,.rfm-ev-details{display:none!important}
@media(max-width:800px){
    .rfm-ev-card.is-date-hidden:not(.is-grid),
    .rfm-ev-card.is-date-hidden.is-compact{
        grid-template-columns:var(--rfm-image) minmax(0,1fr)!important;
    }
    .rfm-ev-side-meta{
        grid-column:2;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        border-left:0;
        border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 35%,transparent);
        padding:9px 12px 11px;
    }
}
@media(max-width:520px){
    .rfm-ev-side-meta{grid-template-columns:1fr;gap:5px}
}


/* 1.5.10: Moderatorname in rechter Meta-Spalte sauber unter „Moderation“ */
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:30px minmax(0,1fr)!important;
    align-items:center!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span > small,
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span > strong{
    display:block!important;
    width:100%!important;
    margin:0!important;
    white-space:normal!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span > strong{
    line-height:1.2!important;
}


/* 1.5.11: rechte Meta-Spalte nach RFM-Vorschau – klare Icon-Zeilen und saubere Moderation */
.rfm-ev-card.is-date-hidden:not(.is-grid),
.rfm-ev-card.is-date-hidden.is-compact{
    grid-template-columns:var(--rfm-image) minmax(0,1fr) 238px!important;
}
.rfm-ev-side-meta{
    padding:15px 18px!important;
    gap:0!important;
    justify-content:center!important;
    background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.20))!important;
}
.rfm-ev-side-item{
    position:relative;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:12px!important;
    padding:8px 0!important;
    min-height:48px;
}
.rfm-ev-side-item::before{
    display:flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    color:var(--rfm-accent,#d7ad3c);
    font-size:25px;
    line-height:1;
    font-weight:400;
    text-shadow:0 0 12px color-mix(in srgb,var(--rfm-accent,#d7ad3c) 55%,transparent);
}
.rfm-ev-card.is-automated .rfm-ev-side-item::before{color:var(--rfm-auto,#238bd6);text-shadow:0 0 12px rgba(35,139,214,.5)}
.rfm-ev-card.is-cancelled .rfm-ev-side-item::before{color:var(--rfm-live,#ff3038);text-shadow:0 0 12px rgba(255,48,56,.5)}
.rfm-ev-side-item.time::before{content:'◷'}
.rfm-ev-side-item.location::before{content:'●';font-size:20px;clip-path:polygon(50% 100%,35% 62%,25% 48%,22% 35%,26% 20%,36% 8%,50% 3%,64% 8%,74% 20%,78% 35%,75% 48%,65% 62%)}
.rfm-ev-side-item > span,
.rfm-ev-side-item:not(.organizer){text-align:left!important}
.rfm-ev-side-item small{
    display:block!important;
    width:100%!important;
    margin:0 0 3px!important;
    font-size:.68rem!important;
    line-height:1!important;
    letter-spacing:.09em!important;
}
.rfm-ev-side-item strong{
    display:block!important;
    width:100%!important;
    margin:0!important;
    font-size:.9rem!important;
    line-height:1.22!important;
    text-align:left!important;
}
.rfm-ev-side-item.organizer{
    margin-top:4px!important;
    padding-top:14px!important;
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 42%,transparent);
}
.rfm-ev-card.is-automated .rfm-ev-side-item.organizer{border-top-color:rgba(35,139,214,.42)}
.rfm-ev-card.is-cancelled .rfm-ev-side-item.organizer{border-top-color:rgba(255,48,56,.45)}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:13px!important;
}
.rfm-ev-side-item.organizer:not(.has-avatar)::before{content:'●';font-size:20px}
.rfm-ev-side-meta .rfm-ev-side-item.organizer img{
    width:46px!important;
    height:46px!important;
    margin:0!important;
    border:2px solid #fff!important;
    box-shadow:0 0 0 1px color-mix(in srgb,var(--rfm-accent,#d7ad3c) 70%,transparent),0 0 12px color-mix(in srgb,var(--rfm-accent,#d7ad3c) 38%,transparent)!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span{
    align-items:flex-start!important;
    text-align:left!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span > small,
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar > span > strong{
    text-align:left!important;
}
@media(max-width:800px){
    .rfm-ev-card.is-date-hidden:not(.is-grid),
    .rfm-ev-card.is-date-hidden.is-compact{grid-template-columns:var(--rfm-image) minmax(0,1fr)!important}
    .rfm-ev-side-meta{
        grid-column:2;
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:0 14px!important;
        padding:8px 12px 10px!important;
    }
    .rfm-ev-side-item.organizer{margin-top:0!important;padding-top:8px!important;border-top:0!important}
}
@media(max-width:560px){
    .rfm-ev-side-meta{grid-template-columns:1fr!important}
    .rfm-ev-side-item.organizer{border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 42%,transparent)!important}
}


/* 1.5.12: Reparatur der rechten Meta-Spalte.
 * small/strong sind bei Uhrzeit und Ort direkte Grid-Kinder. Ohne feste
 * Grid-Zuordnung wurden die Werte in die schmale Icon-Spalte gedrückt. */
.rfm-ev-side-item.time::before,
.rfm-ev-side-item.location::before,
.rfm-ev-side-item.organizer:not(.has-avatar)::before{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    align-self:center!important;
}
.rfm-ev-side-item.time > small,
.rfm-ev-side-item.location > small,
.rfm-ev-side-item.organizer:not(.has-avatar) > small{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
}
.rfm-ev-side-item.time > strong,
.rfm-ev-side-item.location > strong,
.rfm-ev-side-item.organizer:not(.has-avatar) > strong{
    grid-column:2!important;
    grid-row:2!important;
    min-width:0!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    white-space:normal!important;
}
.rfm-ev-side-item.time,
.rfm-ev-side-item.location,
.rfm-ev-side-item.organizer{
    width:100%!important;
    min-width:0!important;
}
.rfm-ev-side-item.organizer.has-avatar > img{
    grid-column:1!important;
    grid-row:1!important;
    align-self:center!important;
}
.rfm-ev-side-item.organizer.has-avatar > span{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
}
.rfm-ev-side-item.organizer.has-avatar > span > small,
.rfm-ev-side-item.organizer.has-avatar > span > strong{
    width:100%!important;
    min-width:0!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    white-space:normal!important;
}
@media (min-width:801px){
    .rfm-ev-card.is-date-hidden:not(.is-grid),
    .rfm-ev-card.is-date-hidden.is-compact{
        grid-template-columns:var(--rfm-image) minmax(0,1fr) minmax(220px,238px)!important;
    }
    .rfm-ev-side-meta{
        min-width:0!important;
        overflow:hidden!important;
    }
}


/* 1.5.13: einheitliches Kartenraster mit identischer Höhe und 1:1-Bildfläche */
.rfm-eventview{
    --rfm-card-height:150px;
    --rfm-image:150px;
    --rfm-side-width:224px;
}
.rfm-ev-card:not(.is-grid),
.rfm-ev-card.is-compact:not(.is-grid){
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
    grid-template-rows:var(--rfm-card-height)!important;
    height:var(--rfm-card-height)!important;
    min-height:var(--rfm-card-height)!important;
    max-height:var(--rfm-card-height)!important;
    align-items:stretch!important;
}
.rfm-ev-card:not(.is-grid) .rfm-ev-image,
.rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-image{
    width:var(--rfm-image)!important;
    min-width:var(--rfm-image)!important;
    height:var(--rfm-card-height)!important;
    min-height:var(--rfm-card-height)!important;
    max-height:var(--rfm-card-height)!important;
    aspect-ratio:1/1!important;
    align-self:stretch!important;
    background-size:cover!important;
    background-position:center!important;
}
.rfm-ev-card:not(.is-grid) .rfm-ev-main,
.rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-main{
    min-width:0!important;
    height:100%!important;
    padding:13px 17px 12px!important;
    overflow:hidden!important;
    justify-content:center!important;
}
.rfm-ev-card:not(.is-grid) .rfm-ev-top{
    flex:0 0 auto!important;
    margin-bottom:5px!important;
}
.rfm-ev-card:not(.is-grid) h3{
    flex:0 0 auto!important;
    margin:0 0 6px!important;
    font-size:1.2rem!important;
    line-height:1.16!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.rfm-ev-card:not(.is-grid) .rfm-ev-excerpt,
.rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-excerpt{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
    overflow:hidden!important;
    margin:0!important;
    font-size:.82rem!important;
    line-height:1.35!important;
}
.rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
.rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta{
    width:var(--rfm-side-width)!important;
    min-width:var(--rfm-side-width)!important;
    max-width:var(--rfm-side-width)!important;
    height:100%!important;
    min-height:0!important;
    padding:10px 16px!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:0!important;
}
.rfm-ev-side-item{
    min-height:0!important;
    padding:5px 0!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    column-gap:10px!important;
}
.rfm-ev-side-item::before{
    width:26px!important;
    height:26px!important;
    font-size:21px!important;
}
.rfm-ev-side-item small{
    margin:0 0 2px!important;
    font-size:.62rem!important;
    line-height:1.05!important;
}
.rfm-ev-side-item strong{
    font-size:.82rem!important;
    line-height:1.18!important;
}
.rfm-ev-side-item.organizer{
    margin-top:4px!important;
    padding-top:8px!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:38px minmax(0,1fr)!important;
    column-gap:10px!important;
}
.rfm-ev-side-meta .rfm-ev-side-item.organizer img{
    width:36px!important;
    height:36px!important;
}
.rfm-ev-card:not(.is-date-hidden):not(.is-grid){
    grid-template-columns:var(--rfm-image) minmax(0,1fr)!important;
}
.rfm-ev-card:not(.is-date-hidden):not(.is-grid) .rfm-ev-main{
    padding-right:18px!important;
}
@media(max-width:900px){
    .rfm-eventview{
        --rfm-card-height:128px;
        --rfm-image:128px;
        --rfm-side-width:202px;
    }
    .rfm-ev-card:not(.is-grid) .rfm-ev-main,
    .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-main{padding:10px 13px!important}
    .rfm-ev-card:not(.is-grid) h3{font-size:1.05rem!important}
    .rfm-ev-card:not(.is-grid) .rfm-ev-excerpt{font-size:.76rem!important}
}
@media(max-width:700px){
    .rfm-eventview{--rfm-card-height:112px;--rfm-image:112px}
    .rfm-ev-card:not(.is-grid),
    .rfm-ev-card.is-compact:not(.is-grid),
    .rfm-ev-card.is-date-hidden:not(.is-grid),
    .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid){
        grid-template-columns:var(--rfm-image) minmax(0,1fr)!important;
        grid-template-rows:var(--rfm-card-height) auto!important;
        height:auto!important;
        min-height:var(--rfm-card-height)!important;
        max-height:none!important;
    }
    .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
    .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta{
        grid-column:1 / -1!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        height:auto!important;
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        padding:8px 12px 9px!important;
        border-left:0!important;
        border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 35%,transparent)!important;
    }
    .rfm-ev-side-item.organizer{margin-top:0!important;padding-top:5px!important;border-top:0!important}
}
@media(max-width:480px){
    .rfm-eventview{--rfm-card-height:94px;--rfm-image:94px}
    .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
    .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta{grid-template-columns:1fr!important}
    .rfm-ev-card:not(.is-grid) .rfm-ev-excerpt{-webkit-line-clamp:1!important;line-clamp:1!important}
}

.rfm-ev-action{width:210px;min-width:210px;max-width:210px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:14px 18px;box-sizing:border-box}
.rfm-ev-action>*{width:100%}

/* 1.5.15: Rechte Informationsspalte technisch exakt vereinheitlichen.
 * Die Spaltenbreite wird ausschließlich durch das Karten-Grid bestimmt.
 * Eigene width/min-width/max-width plus Padding hatten zuvor je nach Inhalt
 * einen sichtbaren Überlauf verursacht. */
@media (min-width:701px){
  .rfm-eventview{
    --rfm-side-width:224px;
  }
  .rfm-ev-card.is-date-hidden:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid){
    display:grid!important;
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-column:3!important;
    grid-row:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    overflow:hidden!important;
  }
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid) .rfm-ev-main{
    grid-column:2!important;
    min-width:0!important;
  }
}

/* 1.5.16: Mobile Kartenlayout – quadratische Bilder und ungekürzte Texte */
@media (max-width:700px){
  .rfm-eventview{
    --rfm-mobile-image:clamp(112px,36vw,154px);
  }

  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-date-hidden:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid){
    display:grid!important;
    grid-template-columns:var(--rfm-mobile-image) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-image,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-image,
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-image,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-image{
    grid-column:1!important;
    grid-row:1!important;
    width:var(--rfm-mobile-image)!important;
    min-width:var(--rfm-mobile-image)!important;
    max-width:var(--rfm-mobile-image)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    align-self:start!important;
    background-size:cover!important;
    background-position:center!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-main{
    grid-column:2!important;
    grid-row:1!important;
    height:auto!important;
    min-height:var(--rfm-mobile-image)!important;
    max-height:none!important;
    padding:12px 13px!important;
    overflow:visible!important;
    justify-content:center!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-top,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-top{
    margin-bottom:7px!important;
    flex-wrap:wrap!important;
  }

  .rfm-ev-card:not(.is-grid) h3,
  .rfm-ev-card.is-compact:not(.is-grid) h3{
    margin:0 0 7px!important;
    font-size:clamp(1rem,4.3vw,1.22rem)!important;
    line-height:1.2!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-excerpt,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-excerpt{
    display:block!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    -webkit-box-orient:unset!important;
    max-height:none!important;
    overflow:visible!important;
    white-space:normal!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    font-size:.8rem!important;
    line-height:1.38!important;
    margin:0!important;
  }

  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    padding:11px 14px 12px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px 14px!important;
    border-left:0!important;
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 38%,transparent)!important;
    overflow:visible!important;
  }

  .rfm-ev-side-item{
    width:100%!important;
    min-width:0!important;
    padding:4px 0!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    column-gap:9px!important;
  }

  .rfm-ev-side-item small,
  .rfm-ev-side-item strong{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }

  .rfm-ev-side-item strong{
    font-size:.92rem!important;
    line-height:1.25!important;
  }

  .rfm-ev-side-item.organizer{
    grid-column:1 / -1!important;
    margin-top:0!important;
    padding-top:9px!important;
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 28%,transparent)!important;
  }

  .rfm-ev-side-meta .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:44px minmax(0,1fr)!important;
    column-gap:11px!important;
  }

  .rfm-ev-side-meta .rfm-ev-side-item.organizer img{
    width:42px!important;
    height:42px!important;
  }
}

@media (max-width:430px){
  .rfm-eventview{
    --rfm-mobile-image:clamp(108px,35vw,138px);
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-main{
    padding:10px 11px!important;
  }

  .rfm-ev-badge{
    max-width:100%!important;
    white-space:normal!important;
    line-height:1.15!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-excerpt,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-excerpt{
    font-size:.76rem!important;
    line-height:1.35!important;
  }

  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta{
    grid-template-columns:1fr 1fr!important;
    gap:8px 10px!important;
    padding:10px 12px 11px!important;
  }
}


/* 1.5.17: Mobile Feinschliff – Beschreibung auf Bildhöhe, einheitliche Trennlinie */
@media (max-width:700px){
  /* Die obere Kartenzeile bleibt exakt so hoch wie das quadratische Cover. */
  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-date-hidden:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid){
    grid-template-rows:var(--rfm-mobile-image) auto!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-image,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-image,
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-image,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-image{
    height:var(--rfm-mobile-image)!important;
    min-height:var(--rfm-mobile-image)!important;
    max-height:var(--rfm-mobile-image)!important;
    aspect-ratio:1 / 1!important;
    border-bottom:0!important;
    background-size:cover!important;
    background-position:center!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-main{
    height:var(--rfm-mobile-image)!important;
    min-height:var(--rfm-mobile-image)!important;
    max-height:var(--rfm-mobile-image)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    justify-content:flex-start!important;
  }

  /* Beschreibung darf die Coverhöhe nicht überschreiten. */
  .rfm-ev-card:not(.is-grid) .rfm-ev-excerpt,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-excerpt{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:5!important;
    line-clamp:5!important;
    overflow:hidden!important;
    max-height:calc(5 * 1.35em)!important;
    mask-image:linear-gradient(to bottom,#000 82%,transparent 100%);
    -webkit-mask-image:linear-gradient(to bottom,#000 82%,transparent 100%);
  }

  /* Nur eine horizontale Trennlinie über dem Metabereich. */
  .rfm-ev-card.is-date-hidden:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-date-hidden.is-hero:not(.is-grid) .rfm-ev-side-meta{
    border-top-width:1px!important;
    box-shadow:none!important;
  }

  /* Der linke Akzent darf mobil nicht unterhalb des Covers als dicker Balken weiterlaufen. */
  .rfm-ev-card.is-moderated:not(.is-live):not(.is-cancelled),
  .rfm-ev-card.is-moderated:not(.is-live):not(.is-cancelled):hover,
  .rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled),
  .rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled):hover{
    box-shadow:0 0 16px color-mix(in srgb,var(--rfm-accent,#d7ad3c) 34%,transparent),0 10px 25px rgba(0,0,0,.38)!important;
  }
  .rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled),
  .rfm-ev-card.is-automated:not(.is-live):not(.is-cancelled):hover{
    box-shadow:0 0 14px rgba(35,139,214,.28),0 10px 25px rgba(0,0,0,.36)!important;
  }

  /* Touch-Rückmeldung für die vollständig anklickbare Karte. */
  .rfm-ev-card.rfm-ev-open-detail:active{
    transform:scale(.99)!important;
    filter:brightness(1.06);
  }
}

@media (max-width:430px){
  .rfm-ev-card:not(.is-grid) .rfm-ev-excerpt,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-excerpt{
    -webkit-line-clamp:4!important;
    line-clamp:4!important;
    max-height:calc(4 * 1.35em)!important;
  }
}

/* 1.5.18: Mobile Detailansicht vollständig scrollbar und lesbar */
@media (max-width: 760px) {
  html.rfm-ev-lightbox-open,
  html.rfm-ev-lightbox-open body {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .rfm-ev-lightbox {
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled) {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    scrollbar-gutter: stable !important;
    padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
  }

  .rfm-ev-lightbox-content,
  .rfm-ev-lightbox .rfm-ev-detail,
  .rfm-ev-lightbox .rfm-ev-detail-hero,
  .rfm-ev-lightbox .rfm-ev-detail-content {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .rfm-ev-lightbox-close {
    position: sticky !important;
    float: right !important;
    top: max(10px, env(safe-area-inset-top)) !important;
    right: 10px !important;
    margin: 10px 10px -50px 0 !important;
    z-index: 100 !important;
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(5,5,5,.72) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 10px !important;
    color: #fff !important;
    line-height: 1 !important;
    backdrop-filter: blur(8px) !important;
  }

  .rfm-ev-detail-hero {
    display: block !important;
    min-height: 0 !important;
  }

  .rfm-ev-detail-image {
    width: min(88vw, 430px) !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    margin: max(22px, env(safe-area-inset-top)) auto 18px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 14px !important;
  }

  .rfm-ev-detail-head {
    padding: 18px 18px 26px !important;
  }

  .rfm-ev-detail-head h1 {
    max-width: 100% !important;
    margin: 12px auto 16px !important;
    font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
  }

  .rfm-ev-detail-head .rfm-ev-top {
    padding: 0 34px !important;
  }

  .rfm-ev-detail-head .rfm-ev-badge {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .rfm-ev-detail-wave {
    margin-bottom: 18px !important;
  }

  .rfm-ev-detail-meta.rfm-ev-detail-meta-rows {
    width: 100% !important;
    gap: 10px !important;
  }

  .rfm-ev-detail-meta-rows .rfm-ev-meta-row {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .rfm-ev-detail-meta-rows .rfm-ev-meta-item {
    min-height: 76px !important;
    padding: 13px 15px !important;
  }

  .rfm-ev-detail-meta-rows .rfm-ev-meta-copy strong {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .rfm-ev-detail-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 28px 18px 36px !important;
  }

  .rfm-ev-detail-description {
    width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.62 !important;
    text-align: left !important;
  }

  .rfm-ev-detail-description h2 {
    font-size: 1.3rem !important;
    text-align: center !important;
  }

  .rfm-ev-detail-description p,
  .rfm-ev-detail-description li {
    overflow-wrap: anywhere !important;
  }

  .rfm-ev-moderator-box {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px !important;
    border: 1px solid rgba(var(--rfm-detail-rgb),.32) !important;
    border-radius: 14px !important;
    background: rgba(var(--rfm-detail-rgb),.055) !important;
  }

  .rfm-ev-moderator-box img {
    width: 78px !important;
    height: 78px !important;
    margin: 0 !important;
  }

  .rfm-ev-moderator-box > div {
    min-width: 0 !important;
    text-align: left !important;
  }

  .rfm-ev-moderator-box strong {
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 390px) {
  .rfm-ev-detail-image {
    width: calc(100vw - 34px) !important;
  }
  .rfm-ev-detail-head {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .rfm-ev-detail-head h1 {
    font-size: 1.75rem !important;
  }
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item {
    grid-template-columns: 40px minmax(0,1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
}

/* 1.5.19: plattformunabhängige mobile Detailansicht für iOS und Android */
.rfm-ev-mobile-sticky{display:none}

@media (max-width:760px){
  .rfm-ev-lightbox{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
  }

  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
    position:relative!important;
    width:min(100%,720px)!important;
    max-width:calc(100vw - 16px)!important;
    height:auto!important;
    max-height:95vh!important;
    max-height:95dvh!important;
    margin:0!important;
    border:1px solid var(--rfm-detail-accent,#f0c44a)!important;
    border-radius:18px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    scrollbar-color:rgba(var(--rfm-detail-rgb),.72) rgba(255,255,255,.06)!important;
    padding:0 0 max(18px,env(safe-area-inset-bottom))!important;
  }

  .rfm-ev-lightbox-dialog::-webkit-scrollbar{width:6px}
  .rfm-ev-lightbox-dialog::-webkit-scrollbar-track{background:rgba(255,255,255,.05)}
  .rfm-ev-lightbox-dialog::-webkit-scrollbar-thumb{background:rgba(var(--rfm-detail-rgb),.72);border-radius:999px}

  .rfm-ev-lightbox-close{
    position:sticky!important;
    float:right!important;
    top:8px!important;
    right:8px!important;
    margin:8px 8px -52px 0!important;
    z-index:300!important;
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    border-radius:12px!important;
    background:rgba(3,3,3,.82)!important;
    border:1px solid rgba(255,255,255,.26)!important;
    box-shadow:0 5px 18px rgba(0,0,0,.45)!important;
  }

  .rfm-ev-mobile-sticky{
    position:sticky!important;
    top:0!important;
    z-index:180!important;
    display:block!important;
    min-height:64px!important;
    padding:10px 64px 10px 16px!important;
    background:linear-gradient(180deg,rgba(8,8,8,.98),rgba(8,8,8,.91))!important;
    border-bottom:1px solid rgba(var(--rfm-detail-rgb),.35)!important;
    backdrop-filter:blur(12px)!important;
    -webkit-backdrop-filter:blur(12px)!important;
  }
  .rfm-ev-mobile-sticky-type{
    display:block!important;
    margin:0 0 3px!important;
    color:var(--rfm-detail-accent,#f0c44a)!important;
    font-size:.68rem!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:.11em!important;
    text-transform:uppercase!important;
  }
  .rfm-ev-mobile-sticky strong{
    display:block!important;
    color:#fff!important;
    font-size:clamp(.96rem,4.2vw,1.14rem)!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
  }

  .rfm-ev-detail-image{
    width:min(72vw,330px)!important;
    max-width:calc(100% - 32px)!important;
    aspect-ratio:1/1!important;
    margin:18px auto 12px!important;
    border-radius:14px!important;
  }

  .rfm-ev-detail-head{
    padding:12px 14px 22px!important;
  }
  .rfm-ev-detail-head h1{
    font-size:clamp(1.55rem,7.4vw,2.25rem)!important;
    margin:10px auto 14px!important;
  }
  .rfm-ev-detail-head .rfm-ev-top{
    padding:0 8px!important;
  }

  .rfm-ev-detail-meta.rfm-ev-detail-meta-rows{
    gap:9px!important;
  }
  .rfm-ev-detail-meta-rows .rfm-ev-meta-row{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item{
    min-height:68px!important;
    padding:11px 13px!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .rfm-ev-detail-meta-rows .rfm-ev-meta-item>b{
    width:36px!important;
    height:36px!important;
  }
  .rfm-ev-detail-meta-rows .rfm-ev-meta-copy strong{
    font-size:.98rem!important;
    line-height:1.3!important;
  }

  .rfm-ev-detail-content{
    padding:22px 15px 30px!important;
    gap:18px!important;
  }
  .rfm-ev-detail-description{
    font-size:.98rem!important;
    line-height:1.58!important;
    text-align:left!important;
  }
  .rfm-ev-detail-description h2{
    margin-top:0!important;
    font-size:1.22rem!important;
  }

  .rfm-ev-moderator-box{
    grid-template-columns:70px minmax(0,1fr)!important;
    gap:13px!important;
    padding:13px!important;
  }
  .rfm-ev-moderator-box img{
    width:66px!important;
    height:66px!important;
  }
}

@media (max-width:430px){
  .rfm-ev-lightbox{padding:0!important}
  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
    width:100vw!important;
    max-width:100vw!important;
    max-height:100vh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
  .rfm-ev-detail-image{
    width:min(68vw,280px)!important;
    margin-top:14px!important;
  }
  .rfm-ev-mobile-sticky{padding-left:13px!important}
}


/* 1.5.20: Mobile Lightbox stabil, ohne doppelten Sticky-Titel und mit Scroll-Positions-Rückkehr */
.rfm-ev-mobile-sticky{display:none!important}

@media (max-width:760px){
  html.rfm-ev-lightbox-open{overflow:hidden!important}
  html.rfm-ev-lightbox-open body{overflow:hidden!important}

  .rfm-ev-lightbox{
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    padding:0!important;
    display:flex!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    overflow:hidden!important;
  }
  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
    position:relative!important;
    width:100vw!important;
    min-width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:0 0 max(20px,env(safe-area-inset-bottom))!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    transform:none!important;
  }
  .rfm-ev-lightbox-content{width:100%!important;min-height:100%!important}
  .rfm-ev-lightbox-loading{
    width:100%!important;
    min-height:100dvh!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:14px!important;
    padding:80px 24px!important;
    text-align:center!important;
    background:radial-gradient(circle at 50% 35%,rgba(215,173,60,.12),transparent 42%),#070707!important;
  }
  .rfm-ev-lightbox-loading strong{font-size:1rem!important;line-height:1.35!important;color:#fff!important}
  .rfm-ev-lightbox-close{
    position:fixed!important;
    top:max(10px,env(safe-area-inset-top))!important;
    right:10px!important;
    margin:0!important;
    z-index:1000001!important;
    width:42px!important;
    height:42px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:10px!important;
    background:rgba(3,3,3,.82)!important;
    color:#fff!important;
    font-size:30px!important;
    line-height:1!important;
  }
  .rfm-ev-detail-image{margin-top:max(58px,calc(env(safe-area-inset-top) + 48px))!important}
}


/* 1.5.21: eigener blauer Live-Zustand für laufende Automationssendungen */
.rfm-ev-card.is-automated.is-live{
  border-color:var(--rfm-auto)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--rfm-auto) 42%,transparent),0 0 22px color-mix(in srgb,var(--rfm-auto) 48%,transparent),0 8px 26px rgba(0,0,0,.34)!important;
}
.rfm-ev-card.is-automated.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-automated.is-live .rfm-ev-live-dot,
.rfm-ev-detail.is-automated.is-live .rfm-ev-badge.live,
.rfm-ev-detail.is-automated.is-live .rfm-ev-detail-live{
  background:var(--rfm-auto)!important;
  border-color:var(--rfm-auto)!important;
}
.rfm-ev-card.is-automated.is-live .rfm-ev-side-meta,
.rfm-ev-card.is-automated.is-live .rfm-ev-image{
  border-color:color-mix(in srgb,var(--rfm-auto) 55%,transparent)!important;
}

/* 1.5.22: Anzeige-Zeitkorrektur nur visuell, einheitlicher roter Live-Zustand und vollständige „Als Nächstes“-Karte */
.rfm-ev-card.is-live,
.rfm-ev-card.is-automated.is-live,
.rfm-ev-card.is-moderated.is-live,
.rfm-ev-card.is-other.is-live{
  border-color:var(--rfm-live,#ff3038)!important;
  box-shadow:
    0 0 0 1px rgba(255,48,56,.62),
    0 0 15px rgba(255,48,56,.72),
    0 0 34px rgba(255,48,56,.38),
    0 10px 30px rgba(0,0,0,.42)!important;
  animation:rfmEvLiveRedPulse 1.9s ease-in-out infinite!important;
}
.rfm-ev-card.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-live .rfm-ev-live-dot,
.rfm-ev-detail.is-live .rfm-ev-badge.live,
.rfm-ev-detail.is-live .rfm-ev-detail-live{
  background:var(--rfm-live,#ff3038)!important;
  border-color:var(--rfm-live,#ff3038)!important;
  color:#fff!important;
  box-shadow:0 0 12px rgba(255,48,56,.58)!important;
}
.rfm-ev-card.is-live .rfm-ev-image,
.rfm-ev-card.is-live .rfm-ev-side-meta{
  border-color:rgba(255,48,56,.58)!important;
}
@keyframes rfmEvLiveRedPulse{
  0%,100%{
    box-shadow:0 0 0 1px rgba(255,48,56,.5),0 0 12px rgba(255,48,56,.55),0 0 28px rgba(255,48,56,.28),0 10px 30px rgba(0,0,0,.4);
  }
  50%{
    box-shadow:0 0 0 2px rgba(255,48,56,.9),0 0 24px rgba(255,48,56,.95),0 0 48px rgba(255,48,56,.48),0 12px 34px rgba(0,0,0,.44);
  }
}
.rfm-ev-card.is-next{
  border-color:rgba(215,173,60,.78)!important;
  background:linear-gradient(105deg,#090909,#17140c 62%,#0d0b07)!important;
  box-shadow:0 7px 24px rgba(0,0,0,.3),inset 3px 0 0 rgba(215,173,60,.78)!important;
}
.rfm-ev-card.is-next .rfm-ev-badge.next{
  background:var(--rfm-accent,#d7ad3c)!important;
  color:#111!important;
  border:0!important;
}
@media (prefers-reduced-motion:reduce){
  .rfm-ev-card.is-live{animation:none!important}
}

/* 1.5.29: Ausschließlich die echten LIVE-Badges sind rot. Typ-Labels behalten Gold bzw. Blau. */
.rfm-ev-card.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-automated.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-moderated.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-other.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-live .rfm-ev-live-dot,
.rfm-ev-card.is-automated.is-live .rfm-ev-live-dot,
.rfm-ev-card.is-moderated.is-live .rfm-ev-live-dot,
.rfm-ev-card.is-other.is-live .rfm-ev-live-dot,
.rfm-ev-detail.is-live .rfm-ev-badge.live,
.rfm-ev-detail.is-automated.is-live .rfm-ev-badge.live,
.rfm-ev-detail.is-moderated.is-live .rfm-ev-badge.live,
.rfm-ev-detail.is-live .rfm-ev-detail-live{
  --rfm-label-color:var(--rfm-live,#ff3038)!important;
  background:var(--rfm-live,#ff3038)!important;
  border-color:var(--rfm-live,#ff3038)!important;
  color:#fff!important;
  box-shadow:0 0 8px rgba(255,48,56,.72),0 0 16px rgba(255,48,56,.34)!important;
}

/* Typ-Labels bleiben unabhängig vom Live-Status eindeutig erkennbar. */
.rfm-ev-card.is-live .rfm-ev-badge.auto,
.rfm-ev-detail.is-live .rfm-ev-badge.auto{
  background:var(--rfm-auto,#238bd6)!important;
  border-color:var(--rfm-auto,#238bd6)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.rfm-ev-card.is-live .rfm-ev-badge.moderated,
.rfm-ev-detail.is-live .rfm-ev-badge.moderated{
  background:var(--rfm-accent,#d7ad3c)!important;
  border-color:var(--rfm-accent,#d7ad3c)!important;
  color:#111!important;
  box-shadow:none!important;
}
.rfm-ev-card.is-live .rfm-ev-badge.label,
.rfm-ev-detail.is-live .rfm-ev-badge.label{
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.2)!important;
  color:#fff!important;
  box-shadow:none!important;
}

.rfm-ev-card.is-live .rfm-ev-badge.live,
.rfm-ev-card.is-live .rfm-ev-live-dot,
.rfm-ev-detail.is-live .rfm-ev-badge.live{
  animation:rfmEvLiveLabelPulse 1.55s ease-in-out infinite!important;
}
.rfm-ev-detail.is-live{
  --rfm-detail-accent:var(--rfm-live,#ff3038)!important;
  --rfm-detail-rgb:255,48,56!important;
  border-color:var(--rfm-live,#ff3038)!important;
  box-shadow:0 0 0 1px rgba(255,48,56,.55),0 0 22px rgba(255,48,56,.55),0 0 48px rgba(255,48,56,.25),0 18px 50px rgba(0,0,0,.48)!important;
}
.rfm-ev-detail.is-live .rfm-ev-detail-image,
.rfm-ev-detail.is-live .rfm-ev-meta-row,
.rfm-ev-detail.is-live .rfm-ev-meta-item,
.rfm-ev-detail.is-live .rfm-ev-moderator-box{
  border-color:rgba(255,48,56,.58)!important;
}
.rfm-ev-detail.is-live .rfm-ev-detail-head h1,
.rfm-ev-detail.is-live .rfm-ev-detail-description h2,
.rfm-ev-detail.is-live .rfm-ev-meta-copy small,
.rfm-ev-detail.is-live .rfm-ev-meta-item b{
  color:var(--rfm-live,#ff3038)!important;
  text-shadow:0 0 12px rgba(255,48,56,.42)!important;
}
@keyframes rfmEvLiveLabelPulse{
  0%,100%{box-shadow:0 0 7px rgba(255,48,56,.62),0 0 13px rgba(255,48,56,.28)}
  50%{box-shadow:0 0 13px rgba(255,48,56,.95),0 0 25px rgba(255,48,56,.58)}
}
@media (prefers-reduced-motion:reduce){
  .rfm-ev-card.is-live .rfm-ev-badge.live,
  .rfm-ev-card.is-live .rfm-ev-live-dot,
  .rfm-ev-detail.is-live .rfm-ev-badge.live{animation:none!important}
}


/* 1.5.30: „Als Nächstes“ als eigener Überschriftsbalken oberhalb der vollständigen Karte. */
.rfm-ev-next-block{
  display:flex;
  flex-direction:column;
  gap:7px;
  width:100%;
  margin:1px 0 2px;
}
.rfm-ev-next-heading{
  position:relative;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:7px 16px;
  border:1px solid var(--rfm-accent,#d7ad3c);
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(105deg,rgba(215,173,60,.12),rgba(215,173,60,.28) 50%,rgba(215,173,60,.12));
  color:#f5d77d;
  box-shadow:0 5px 16px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08);
  font-size:.78rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-align:center;
}
.rfm-ev-next-heading::before,
.rfm-ev-next-heading::after{
  content:"";
  flex:1 1 auto;
  height:1px;
  max-width:180px;
  margin:0 16px;
  background:linear-gradient(90deg,transparent,currentColor);
  opacity:.62;
}
.rfm-ev-next-heading::after{background:linear-gradient(90deg,currentColor,transparent)}
.rfm-ev-next-heading span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.rfm-ev-next-heading span::before{content:'▶';font-size:.78em}

.rfm-ev-next-block.is-automated .rfm-ev-next-heading{
  border-color:var(--rfm-auto,#238bd6);
  background:linear-gradient(105deg,rgba(35,139,214,.12),rgba(35,139,214,.3) 50%,rgba(35,139,214,.12));
  color:#73c4ff;
  box-shadow:0 5px 16px rgba(0,0,0,.28),0 0 14px rgba(35,139,214,.18),inset 0 1px 0 rgba(255,255,255,.07);
}
.rfm-ev-next-block.is-moderated .rfm-ev-next-heading{
  border-color:var(--rfm-accent,#d7ad3c);
  color:#f5d77d;
}
.rfm-ev-next-block.is-cancelled .rfm-ev-next-heading{
  border-color:var(--rfm-live,#ff3038);
  background:linear-gradient(105deg,rgba(255,48,56,.12),rgba(255,48,56,.3) 50%,rgba(255,48,56,.12));
  color:#ff8d92;
}

/* Die nächste Karte behält ihre normale Typfarbe; nur moderierte/sonstige Karten nutzen den Goldstil. */
.rfm-ev-card.is-next.is-automated{
  border-color:rgba(35,139,214,.78)!important;
  background:linear-gradient(100deg,#061018,#071a28 65%,#06111a)!important;
  box-shadow:0 7px 24px rgba(0,0,0,.3),inset 3px 0 0 rgba(35,139,214,.82)!important;
}
.rfm-ev-card.is-next.is-cancelled{
  border-color:var(--rfm-live,#ff3038)!important;
  box-shadow:0 0 0 1px rgba(255,48,56,.28),0 7px 24px rgba(0,0,0,.32)!important;
}

@media(max-width:800px){
  .rfm-ev-next-block{gap:6px}
  .rfm-ev-next-heading{min-height:34px;padding:7px 12px;font-size:.72rem;border-radius:7px}
  .rfm-ev-next-heading::before,.rfm-ev-next-heading::after{margin:0 10px;max-width:90px}
}
@media(max-width:520px){
  .rfm-ev-next-heading{font-size:.68rem;letter-spacing:.1em}
  .rfm-ev-next-heading::before,.rfm-ev-next-heading::after{margin:0 7px;max-width:46px}
}

/* 1.5.31: Einheitliche rechte Informationsspalte – unabhängig von der Datumsoption */
@media (min-width:701px){
  .rfm-eventview{--rfm-side-width:224px}
  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid){
    display:grid!important;
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-main,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-main{
    grid-column:2!important;
    min-width:0!important;
    padding-right:16px!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-column:3!important;
    grid-row:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    box-sizing:border-box!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:0!important;
    padding:8px 14px!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-meta{display:none!important}
  .rfm-ev-side-item.date::before{content:'▣'}
  .rfm-ev-side-item.date{padding-top:3px!important;padding-bottom:3px!important}
  .rfm-ev-side-item.date strong{white-space:normal!important}
}

/* Mobile: auch bei eingeblendetem Datum liegt der gesamte Infobereich sauber unter Bild/Text. */
@media (max-width:700px){
  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid){
    grid-template-columns:var(--rfm-mobile-image,var(--rfm-image)) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    height:auto!important;
    max-height:none!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px 12px!important;
    padding:9px 12px 10px!important;
    border-left:0!important;
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 35%,transparent)!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item.organizer{grid-column:1 / -1!important}
}
@media (max-width:430px){
  .rfm-ev-card:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-template-columns:1fr!important;
  }
}

/* Desktop-Lightbox: Inhalt darf niemals außerhalb des Viewports verschwinden. */
@media (min-width:761px){
  .rfm-ev-lightbox{
    align-items:center!important;
    overflow:hidden!important;
  }
  .rfm-ev-lightbox-dialog,
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-automated),
  .rfm-ev-lightbox-dialog:has(.rfm-ev-detail.is-cancelled){
    max-height:calc(100vh - 40px)!important;
    max-height:calc(100dvh - 40px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .rfm-ev-lightbox-content{min-height:0!important}
  .rfm-ev-lightbox-close{position:sticky!important;top:8px!important;float:right!important;z-index:50!important}
}

/* 1.5.32: kompakte, gleichmäßige Desktop-Infospalte mit Datum/Uhrzeit/Ort/Moderation */
@media (min-width:701px){
  .rfm-eventview{--rfm-side-width:236px}
  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid){
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-column:3!important;
    grid-row:1!important;
    width:var(--rfm-side-width)!important;
    min-width:var(--rfm-side-width)!important;
    max-width:var(--rfm-side-width)!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(0,1fr)!important;
    align-content:stretch!important;
    justify-content:stretch!important;
    gap:0!important;
    padding:7px 9px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item{
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-content:center!important;
    align-items:center!important;
    column-gap:6px!important;
    row-gap:1px!important;
    min-height:0!important;
    width:auto!important;
    padding:5px 7px!important;
    margin:0!important;
    border:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(35,139,214,.24)!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(35,139,214,.24)!important;
  }
  .rfm-ev-side-item::before,
  .rfm-ev-side-item.date::before,
  .rfm-ev-side-item.time::before,
  .rfm-ev-side-item.location::before,
  .rfm-ev-side-item.organizer:not(.has-avatar)::before{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:18px!important;
    height:18px!important;
    font-size:15px!important;
    line-height:18px!important;
    align-self:center!important;
    clip-path:none!important;
  }
  .rfm-ev-side-item.date::before{content:'▣'!important}
  .rfm-ev-side-item.time::before{content:'◷'!important}
  .rfm-ev-side-item.location::before{content:'●'!important;font-size:12px!important}
  .rfm-ev-side-item > small,
  .rfm-ev-side-item > span > small{
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
    font-size:.57rem!important;
    line-height:1.05!important;
    letter-spacing:.07em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .rfm-ev-side-item > strong,
  .rfm-ev-side-item > span > strong{
    grid-column:2!important;
    grid-row:2!important;
    margin:0!important;
    font-size:.73rem!important;
    line-height:1.14!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    overflow:hidden!important;
  }
  .rfm-ev-side-item.date strong{white-space:nowrap!important;font-size:.68rem!important}
  .rfm-ev-side-item.time strong{white-space:nowrap!important;font-size:.7rem!important}
  .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:26px minmax(0,1fr)!important;
    column-gap:7px!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > img{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:24px!important;
    height:24px!important;
    border-width:1px!important;
    align-self:center!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > span{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-width:0!important;
    gap:2px!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-item.location:last-child{
    grid-column:1 / -1!important;
    border-right:0!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-main{
    padding-right:14px!important;
  }
}

/* 1.5.33: breitere, ruhige Desktop-Infospalte in zwei horizontalen Zeilen */
@media (min-width:701px){
  .rfm-eventview{--rfm-side-width:280px}
  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid){
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }
  .rfm-ev-card:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-side-meta{
    width:var(--rfm-side-width)!important;
    min-width:var(--rfm-side-width)!important;
    max-width:var(--rfm-side-width)!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    padding:8px 10px!important;
    overflow:hidden!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-content:center!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:2px!important;
    min-width:0!important;
    min-height:0!important;
    padding:7px 10px!important;
    overflow:hidden!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 22%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(35,139,214,.22)!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 22%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(35,139,214,.22)!important;
  }
  .rfm-ev-side-item::before,
  .rfm-ev-side-item.date::before,
  .rfm-ev-side-item.time::before,
  .rfm-ev-side-item.location::before,
  .rfm-ev-side-item.organizer:not(.has-avatar)::before{
    width:22px!important;
    height:22px!important;
    font-size:17px!important;
    line-height:22px!important;
  }
  .rfm-ev-side-item > small,
  .rfm-ev-side-item > span > small{
    font-size:.62rem!important;
    line-height:1.08!important;
    letter-spacing:.08em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .rfm-ev-side-item > strong,
  .rfm-ev-side-item > span > strong,
  .rfm-ev-side-item.date strong,
  .rfm-ev-side-item.time strong{
    font-size:.78rem!important;
    line-height:1.18!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    hyphens:none!important;
  }
  .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:32px minmax(0,1fr)!important;
    column-gap:9px!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > img{
    width:30px!important;
    height:30px!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > span{
    min-width:0!important;
  }
  /* Automation: Datum/Uhrzeit oben, Ort unten über die ganze Breite. */
  .rfm-ev-card.is-automated .rfm-ev-side-item.location:last-child{
    grid-column:1 / -1!important;
    border-right:0!important;
  }
  /* Falls das Datum ausgeblendet ist, Uhrzeit und Ort als zwei breite Zeilen. */
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta{
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
  }
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta .rfm-ev-side-item{
    grid-column:1!important;
    border-right:0!important;
  }
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+2){
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 22%,transparent)!important;
  }
  .rfm-ev-card.is-date-hidden.is-automated .rfm-ev-side-meta{
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
  }
}

/* 1.5.34: finale Desktop-Infospalte – zwei ruhige, breite Zeilen ohne Wortbruch */
@media (min-width:701px){
  .rfm-eventview{--rfm-side-width:340px}

  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid){
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }

  .rfm-ev-card:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) .rfm-ev-side-meta{
    grid-column:3!important;
    grid-row:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:1fr 1fr!important;
    gap:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    align-self:stretch!important;
  }

  .rfm-ev-side-meta .rfm-ev-side-item{
    min-width:0!important;
    min-height:0!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:10px 12px!important;
    display:grid!important;
    grid-template-columns:25px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:9px!important;
    row-gap:2px!important;
    align-content:center!important;
    align-items:center!important;
    overflow:hidden!important;
    border:0!important;
  }

  .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(35,139,214,.26)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(35,139,214,.26)!important;
  }
  .rfm-ev-card.is-live .rfm-ev-side-meta .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(255,48,56,.28)!important;
  }
  .rfm-ev-card.is-live .rfm-ev-side-meta .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(255,48,56,.28)!important;
  }

  .rfm-ev-side-item::before,
  .rfm-ev-side-item.date::before,
  .rfm-ev-side-item.time::before,
  .rfm-ev-side-item.location::before,
  .rfm-ev-side-item.organizer:not(.has-avatar)::before{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    width:23px!important;
    height:23px!important;
    font-size:17px!important;
    line-height:23px!important;
    align-self:center!important;
  }

  .rfm-ev-side-item > small,
  .rfm-ev-side-item > span > small{
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
    font-size:.60rem!important;
    line-height:1.05!important;
    letter-spacing:.085em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    word-break:normal!important;
    hyphens:none!important;
  }

  .rfm-ev-side-item > strong,
  .rfm-ev-side-item > span > strong{
    grid-column:2!important;
    grid-row:2!important;
    display:block!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
    font-size:.76rem!important;
    line-height:1.16!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }

  .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:1fr!important;
    column-gap:9px!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > img{
    grid-column:1!important;
    grid-row:1!important;
    width:31px!important;
    height:31px!important;
    align-self:center!important;
    margin:0!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > span{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:2px!important;
  }
  .rfm-ev-side-item.organizer.has-avatar > span > small,
  .rfm-ev-side-item.organizer.has-avatar > span > strong{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Automation besitzt keinen Moderator: Ort nutzt die komplette untere Zeile. */
  .rfm-ev-card.is-automated .rfm-ev-side-item.location:last-child{
    grid-column:1 / -1!important;
    border-right:0!important;
  }

  /* Karten ohne Datum: Uhrzeit oben, Ort darunter; Moderator ggf. in eigener unterer Zelle. */
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta{
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:1fr!important;
  }
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta .rfm-ev-side-item{
    border-top:0!important;
  }
  .rfm-ev-card.is-date-hidden.is-automated .rfm-ev-side-item.location:last-child{
    grid-column:2!important;
  }
}

@media (min-width:701px) and (max-width:1100px){
  .rfm-eventview{--rfm-side-width:310px}
  .rfm-ev-side-meta .rfm-ev-side-item{padding:9px 9px!important;grid-template-columns:22px minmax(0,1fr)!important;column-gap:7px!important}
  .rfm-ev-side-item > strong,
  .rfm-ev-side-item > span > strong{font-size:.70rem!important}
  .rfm-ev-side-item > small,
  .rfm-ev-side-item > span > small{font-size:.55rem!important}
}


/* 1.5.35: finale, pixelgenau identische rechte Infospalte auf Desktop.
 * Ein einziger Wert steuert Raster UND Inhalt. Damit gibt es keinen
 * Überlauf und keine abweichende Startposition zwischen Kartentypen. */
@media (min-width:701px){
  .rfm-eventview{
    --rfm-side-width:320px!important;
  }

  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid),
  .rfm-ev-card.is-date-hidden:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid){
    display:grid!important;
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }

  .rfm-ev-card:not(.is-grid) > .rfm-ev-main,
  .rfm-ev-card.is-compact:not(.is-grid) > .rfm-ev-main,
  .rfm-ev-card.is-hero:not(.is-grid) > .rfm-ev-main{
    grid-column:2!important;
    min-width:0!important;
  }

  .rfm-ev-card:not(.is-grid) > .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) > .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) > .rfm-ev-side-meta{
    grid-column:3!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:100%!important;
    box-sizing:border-box!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    overflow:hidden!important;
  }

  /* Keine kartentypabhängige Breitenberechnung mehr. */
  .rfm-ev-card.is-automated > .rfm-ev-side-meta,
  .rfm-ev-card.is-moderated > .rfm-ev-side-meta,
  .rfm-ev-card.is-live > .rfm-ev-side-meta,
  .rfm-ev-card.is-cancelled > .rfm-ev-side-meta{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
}

/* 1.5.36: endgültig einheitliches 2x2-Raster für alle Desktop-Karten. */
@media (min-width:701px){
  .rfm-eventview{--rfm-side-width:320px!important}

  .rfm-ev-card:not(.is-grid) > .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) > .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) > .rfm-ev-side-meta{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:1fr 1fr!important;
    width:100%!important;
    height:100%!important;
    padding:0!important;
    gap:0!important;
  }

  .rfm-ev-side-meta > .rfm-ev-side-item{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
    width:auto!important;
    height:auto!important;
    border-right:0!important;
    border-top:0!important;
  }

  .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(odd){
    border-right:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(n+3){
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(35,139,214,.26)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(35,139,214,.26)!important;
  }
  .rfm-ev-card.is-live .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(255,48,56,.30)!important;
  }
  .rfm-ev-card.is-live .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(255,48,56,.30)!important;
  }

  /* Keine Zelle darf bei Automation mehr über beide Spalten laufen. */
  .rfm-ev-card.is-automated .rfm-ev-side-item.location:last-child,
  .rfm-ev-card.is-automated .rfm-ev-side-item.location{
    grid-column:auto!important;
  }

  .rfm-ev-side-item.is-empty{
    display:block!important;
    visibility:visible!important;
    pointer-events:none!important;
    background:transparent!important;
  }

  /* Ohne Datum bleiben Uhrzeit, Ort und Moderator gleichmäßig im Raster; die leere Zelle bleibt bestehen. */
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta{
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:1fr 1fr!important;
  }
}

/* 1.5.37: finale Vereinheitlichung der rechten Desktop-Infospalte */
@media (min-width:701px){
  .rfm-eventview{--rfm-side-width:320px!important}

  .rfm-ev-card:not(.is-grid),
  .rfm-ev-card.is-compact:not(.is-grid),
  .rfm-ev-card.is-hero:not(.is-grid),
  .rfm-ev-card.is-date-hidden:not(.is-grid),
  .rfm-ev-card.is-date-hidden.is-compact:not(.is-grid){
    grid-template-columns:var(--rfm-image) minmax(0,1fr) var(--rfm-side-width)!important;
  }

  .rfm-ev-card:not(.is-grid) > .rfm-ev-side-meta,
  .rfm-ev-card.is-compact:not(.is-grid) > .rfm-ev-side-meta,
  .rfm-ev-card.is-hero:not(.is-grid) > .rfm-ev-side-meta{
    width:var(--rfm-side-width)!important;
    min-width:var(--rfm-side-width)!important;
    max-width:var(--rfm-side-width)!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
  }

  .rfm-ev-side-meta > .rfm-ev-side-item{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    box-sizing:border-box!important;
    padding:9px 11px!important;
    margin:0!important;
    align-content:center!important;
    overflow:hidden!important;
  }

  /* Jede Karte behält vier identische Rasterzellen. */
  .rfm-ev-card.is-automated .rfm-ev-side-item.location:last-child{
    grid-column:auto!important;
    border-right:1px solid rgba(35,139,214,.24)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-item.organizer.is-empty{
    display:block!important;
  }

  /* Leere Zellen bleiben geometrisch erhalten, sind aber vollständig unsichtbar. */
  .rfm-ev-side-meta .rfm-ev-side-item.is-empty,
  .rfm-ev-side-meta .rfm-ev-side-item.is-empty::before,
  .rfm-ev-side-meta .rfm-ev-side-item.is-empty::after{
    color:transparent!important;
    background:transparent!important;
    text-shadow:none!important;
  }
  .rfm-ev-side-meta .rfm-ev-side-item.is-empty::before,
  .rfm-ev-side-meta .rfm-ev-side-item.is-empty::after{
    content:none!important;
    display:none!important;
  }

  /* Einheitliche Zelllinien für alle Kartentypen. */
  .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(odd){
    border-right:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(n+3){
    border-top:1px solid color-mix(in srgb,var(--rfm-accent,#d7ad3c) 24%,transparent)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(35,139,214,.24)!important;
  }
  .rfm-ev-card.is-automated .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(35,139,214,.24)!important;
  }
  .rfm-ev-card.is-live .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(odd){
    border-right-color:rgba(255,48,56,.28)!important;
  }
  .rfm-ev-card.is-live .rfm-ev-side-meta > .rfm-ev-side-item:nth-child(n+3){
    border-top-color:rgba(255,48,56,.28)!important;
  }

  /* Inhalt in allen belegten Zellen gleich ausrichten. */
  .rfm-ev-side-meta > .rfm-ev-side-item:not(.is-empty){
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:8px!important;
    row-gap:2px!important;
    align-items:center!important;
  }
  .rfm-ev-side-meta > .rfm-ev-side-item.organizer.has-avatar{
    grid-template-columns:32px minmax(0,1fr)!important;
  }
  .rfm-ev-side-meta > .rfm-ev-side-item.organizer.has-avatar > img{
    width:29px!important;
    height:29px!important;
  }

  /* Auch bei ausgeblendetem Datum bleibt die rechte Spaltenbreite identisch. */
  .rfm-ev-card.is-date-hidden .rfm-ev-side-meta{
    width:var(--rfm-side-width)!important;
    min-width:var(--rfm-side-width)!important;
    max-width:var(--rfm-side-width)!important;
  }
}
