.rpgh-events{--rpgh-accent:#d7262c;--rpgh-cols:3;--rpgh-radius:14px;--rpgh-text:#1f1f1f;--rpgh-muted:#6b6b6b;--rpgh-border:#e6e6e6;font-family:inherit;color:var(--rpgh-text);max-width:1200px;margin:0 auto}
.rpgh-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:0 0 18px}
.rpgh-monthnav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rpgh-nav,.rpgh-all,.rpgh-past{appearance:none;border:1px solid var(--rpgh-border);background:#fff;color:var(--rpgh-text);border-radius:8px;height:38px;min-width:38px;padding:0 10px;font-size:18px;line-height:1;cursor:pointer;transition:all .15s}
.rpgh-all,.rpgh-past{font-size:14px;padding:0 14px}
.rpgh-nav:hover,.rpgh-all:hover,.rpgh-past:hover{border-color:var(--rpgh-accent);color:var(--rpgh-accent)}
.rpgh-all.is-active,.rpgh-past.is-active{background:var(--rpgh-accent);border-color:var(--rpgh-accent);color:#fff}
.rpgh-monthlabel{min-width:150px;text-align:center;font-weight:600;font-size:15px;border:1px solid var(--rpgh-border);border-radius:8px;height:38px;line-height:38px;padding:0 12px}
.rpgh-search input{height:38px;border:1px solid var(--rpgh-border);border-radius:8px;padding:0 14px;min-width:240px;font-size:14px;background:#fff}
.rpgh-search input:focus{outline:none;border-color:var(--rpgh-accent)}
.rpgh-heading{font-size:20px;font-weight:600;margin:0 0 18px}
.rpgh-grid{display:grid;grid-template-columns:repeat(var(--rpgh-cols),minmax(0,1fr));gap:22px;align-items:start}
.rpgh-card{background:#fff;border:1px solid var(--rpgh-border);border-radius:var(--rpgh-radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.rpgh-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.09)}
.rpgh-card[hidden]{display:none}
.rpgh-card-media{position:relative;display:block;aspect-ratio:1/1;background:#1f1f1f;overflow:hidden}
.rpgh-card-media img{width:100%;height:100%;object-fit:contain;display:block;background:#1f1f1f}
.rpgh-card-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2b2b2b,#4a4a4a);color:#fff;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:14px;opacity:.85}
.rpgh-datebadge{position:absolute;left:12px;top:12px;background:#fff;color:var(--rpgh-text);border-radius:10px;padding:6px 10px;text-align:center;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.15);min-width:46px}
.rpgh-datebadge b{display:block;font-size:20px;color:var(--rpgh-accent)}
.rpgh-datebadge small{display:block;font-size:11px;text-transform:uppercase;margin-top:3px;color:var(--rpgh-muted);letter-spacing:.04em}
.rpgh-card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.rpgh-card-when{font-size:13px;color:var(--rpgh-accent);font-weight:600;display:flex;flex-wrap:wrap;gap:4px 10px}
.rpgh-card-time{color:var(--rpgh-muted);font-weight:500}
.rpgh-card-title{margin:0;font-size:18px;line-height:1.3}
.rpgh-card-title a{color:inherit;text-decoration:none}
.rpgh-card-title a:hover{color:var(--rpgh-accent)}
.rpgh-card-where{font-size:13px;color:var(--rpgh-muted)}
.rpgh-card-where::before{content:"\25CF";color:var(--rpgh-accent);margin-right:6px;font-size:9px;vertical-align:middle}
.rpgh-card-excerpt{margin:0;font-size:14px;line-height:1.5;color:#444}
.rpgh-card-actions{margin-top:auto;padding-top:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rpgh-btn{display:inline-block;background:var(--rpgh-accent);color:#fff!important;text-decoration:none!important;padding:9px 16px;border-radius:8px;font-size:14px;font-weight:600;line-height:1;transition:filter .15s}
.rpgh-btn:hover{filter:brightness(.9)}
.rpgh-btn-ghost{background:transparent;color:var(--rpgh-accent)!important;border:1px solid var(--rpgh-accent)}
.rpgh-card-count{font-size:12px;color:var(--rpgh-muted);margin-left:auto}
.rpgh-empty{text-align:center;color:var(--rpgh-muted);padding:40px 0;font-size:17px}
.rpgh-single{margin:0 0 24px;padding:18px 20px;border:1px solid #e6e6e6;border-left:4px solid var(--rpgh-accent,#d7262c);border-radius:10px;background:#fafafa}
.rpgh-single-meta{display:flex;flex-wrap:wrap;gap:8px 32px;margin-bottom:12px;font-size:16px}
.rpgh-label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#777;margin-bottom:2px}
@media (max-width:980px){.rpgh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.rpgh-grid{grid-template-columns:1fr}.rpgh-search input{min-width:0;width:100%}.rpgh-toolbar{flex-direction:column;align-items:stretch}.rpgh-monthlabel{flex:1}}

.rpgh-card.is-past .rpgh-card-media img{filter:grayscale(.35)}
.rpgh-card.is-past .rpgh-datebadge{opacity:.85}
