/* STV Event-Box 1.1.0 */
.stve{--stve-blue:#1d61b2;--stve-ink:#1d2433;--stve-mut:#6b7385;margin:0 0 34px;padding:22px;border:1px solid #dde2ea;border-radius:12px;background:#f6f8fb;font-size:15px;line-height:1.5;color:var(--stve-ink)}
.stve--event{display:grid;grid-template-columns:42% 1fr;gap:26px;align-items:start}
.stve--event.stve--noimg{grid-template-columns:1fr}
.stve-hd{display:flex;align-items:center;gap:8px;font-weight:700;font-size:18px;color:var(--stve-blue);margin-bottom:16px}
.stve-hd small{margin-left:auto;font-size:12px;font-weight:500;color:var(--stve-mut)}
.stve-paper{position:relative;display:block;cursor:zoom-in;text-decoration:none!important}
.stve--flyer .stve-paper{width:min(420px,78%);margin:0 auto}
.stvb-post .post-content .stve img.stve-img,.stve img.stve-img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;margin:0!important;float:none!important;border-radius:4px;box-shadow:0 10px 30px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.08);background:#fff!important}
.stve-z{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;line-height:1;padding:7px 10px;border-radius:20px}
.stve-tag{display:inline-block;background:var(--stve-blue);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;padding:4px 10px;border-radius:20px;text-transform:uppercase}
.stve .stve-title{margin:12px 0 14px!important;font-size:21px;font-weight:700;line-height:1.25;color:var(--stve-blue)}
.stve .stve-facts{list-style:none!important;margin:0!important;padding:0!important}
.stve .stve-facts li{display:flex;gap:10px;margin:0 0 8px!important;padding:0!important}
.stve .stve-facts li::before{display:none!important;content:none!important}
.stve-i{flex:0 0 22px;text-align:center}
.stve .stve-facts img.emoji{width:1em!important;height:1em!important;margin:0!important;display:inline!important;box-shadow:none!important;background:none!important;max-height:none!important}
.stve-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:18px}
.stve--event .stve-acts{flex-direction:column;align-items:stretch;margin-top:20px}
.stve .stve-b{display:block;box-sizing:border-box;width:100%;padding:10px 16px;border-radius:8px;font-weight:600;font-size:14px;line-height:1.3;text-align:center;text-decoration:none!important;cursor:pointer;font-family:inherit;transition:filter .15s}
.stve--flyer .stve-b{width:auto}
.stve .stve-b1{background:var(--stve-blue);color:#fff!important;border:1.5px solid var(--stve-blue)}
.stve .stve-b2{background:#fff;color:var(--stve-blue)!important;border:1.5px solid var(--stve-blue)}
.stve .stve-b:hover{filter:brightness(.93)}
.stve img.emoji{box-shadow:none!important;background:none!important;margin:0 .1em!important;display:inline!important;width:1em!important;height:1em!important;max-height:none!important}
.stve-cal{position:relative}
.stve-cal-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:50;background:#fff;border:1px solid #dde2ea;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.15);overflow:hidden}
.stve-cal-menu[hidden]{display:none}
.stve-cal-menu a{display:block;padding:11px 14px;color:var(--stve-ink)!important;text-decoration:none!important;font-size:14px;border-bottom:1px solid #eef1f5}
.stve-cal-menu a:last-child{border-bottom:0}
.stve-cal-menu a:hover{background:#f2f6fc}
/* Lightbox */
.stve-lb{position:fixed;inset:0;z-index:999999;background:rgba(8,14,30,.94);overflow:auto;-webkit-overflow-scrolling:touch;display:flex;align-items:flex-start;justify-content:center;padding:56px 16px 24px;box-sizing:border-box}
.stve-lb img{display:block;max-width:min(100%,1000px);height:auto;margin:auto;border-radius:4px;cursor:zoom-in;touch-action:pinch-zoom}
.stve-lb.is-zoom img{max-width:none;width:1700px;cursor:zoom-out}
.stve-lb-x{position:fixed;top:10px;right:14px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:28px;line-height:42px;cursor:pointer;padding:0}
.stve-lb-hint{position:fixed;top:18px;left:18px;color:#cfd6e4;font-size:13px}
body.stve-noscroll{overflow:hidden}
@media (max-width:700px){
	.stve{padding:14px}
	.stve--event{grid-template-columns:1fr;gap:16px}
	.stve--flyer .stve-paper{width:100%}
	.stve-hd small{display:none}
	.stve-acts .stve-b,.stve--flyer .stve-b{width:100%}
	.stve--flyer .stve-acts{flex-direction:column;align-items:stretch}
	.stve-lb-hint{display:none}
}
@media print{.stve-acts{display:none}}
.stve-lb{z-index:2147483000}
body.admin-bar .stve-lb{padding-top:90px}
body.admin-bar .stve-lb-x{top:44px}
body.admin-bar .stve-lb-hint{top:52px}

/* 1.1.0 – kompakte Button-Gruppe 2×2 + Route */
.stve .stve-acts{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;flex-direction:initial}
.stve--flyer .stve-acts{max-width:440px;margin-left:auto;margin-right:auto}
.stve .stve-acts > :last-child:nth-child(odd){grid-column:1 / -1}
.stve .stve-acts .stve-b{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:8px 10px;font-size:13px;border-radius:7px;white-space:nowrap}
.stve .stve-acts .stve-cal{min-width:0}
.stve-bi{font-size:14px;line-height:1}
.stve .stve-cal-menu{left:auto;right:0;min-width:230px}
.stve a.stve-loc{color:inherit!important;text-decoration:underline!important;text-decoration-color:rgba(29,97,178,.45)!important;text-underline-offset:3px}
.stve a.stve-loc:hover{color:var(--stve-blue)!important}
@media (max-width:700px){
	.stve .stve-acts{grid-template-columns:1fr 1fr}
	.stve .stve-acts .stve-b{width:100%!important;padding:9px 8px}
	.stve .stve-cal-menu{left:auto;right:0}
}
@media (max-width:340px){.stve .stve-acts{grid-template-columns:1fr}}
