.epg-calendar{background:#fff;border:1px solid #ece5e1;border-radius:24px;box-shadow:0 10px 30px #1111110f;padding:24px;color:#111;font-family:inherit;min-width:0}.epg-calendar *{box-sizing:border-box}.epg-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.epg-top h3{font-size:22px;font-weight:800;margin:0;text-align:center}.epg-nav{width:42px;height:42px;border:1px solid #d9d0cb;border-radius:50%;background:white;color:#111;cursor:pointer;font-size:23px}.epg-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;background:#f7f4f2;padding:5px;border-radius:12px;margin:18px 0}.epg-tab{border:0;border-radius:8px;padding:9px 0;background:transparent;color:#6a6360;cursor:pointer;font-weight:700}.epg-tab.is-active{background:white;color:#111;box-shadow:0 2px 6px #1111111a}.epg-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.epg-weekday{text-align:center;font-size:12px;font-weight:700;color:#6a6360;padding:5px 0}.epg-day{min-width:0;min-height:78px;border:1px solid #f0eae6;background:#fff;border-radius:10px;padding:6px;text-align:left;display:flex;flex-direction:column;gap:4px;cursor:pointer;color:#111}.epg-day.has-events{background:#fbf9f8}.epg-day.is-selected{outline:2px solid #d13138;outline-offset:-2px}.epg-day.is-today .epg-day-number{color:#d13138;font-weight:800}.epg-day-number{font-size:13px}.epg-day-events{display:flex;flex-direction:column;gap:3px;min-width:0}.epg-event-chip{display:block;font-size:11px;font-weight:700;line-height:1.25;background:var(--epg-tint);border-left:3px solid var(--epg-color);padding:3px 5px;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epg-more{font-size:10px;font-weight:700;color:#6a6360}.epg-legend{display:flex;gap:16px;flex-wrap:wrap;margin:18px 0;font-size:13px;color:#4a4542}.epg-legend span{display:inline-flex;align-items:center;gap:6px}.epg-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.epg-placeholder{border:1px dashed #d9d0cb;background:#fbf9f8;border-radius:16px;padding:18px;text-align:center;color:#4a4542;font-size:14px}.epg-details-heading{font-size:17px;margin:12px 0}.epg-detail-card{border:1px solid #efe8e4;border-left:4px solid var(--epg-color);border-radius:12px;padding:12px;margin:9px 0}.epg-detail-toggle{border:0;background:none;width:100%;text-align:left;display:flex;justify-content:space-between;gap:8px;font-size:15px;font-weight:700;cursor:pointer;color:#111}.epg-detail-meta{font-size:12px;color:#6a6360;margin-top:5px}.epg-detail-expanded p{font-size:14px;white-space:pre-line}.epg-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.epg-detail-actions a, .epg-detail-actions button {
    background: #d13138;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    margin: 0 !important;
}
.epg-detail-actions a:not(:first-child),.epg-detail-actions button{background:#f7f4f2;color:#111}.epg-error{color:#b42318}.epg-status{font-size:13px;color:#6a6360;margin:12px 0}@media(max-width:650px){.epg-calendar{padding:12px;border-radius:16px}.epg-top h3{font-size:18px}.epg-nav{width:34px;height:34px}.epg-tabs{gap:2px}.epg-tab{font-size:11px}.epg-day{min-height:58px;padding:3px}.epg-event-chip{font-size:0;padding:0;width:7px;height:7px;border-radius:50%;border:0;background:var(--epg-color);display:inline-block}.epg-day-events{flex-direction:row;flex-wrap:wrap}.epg-more{font-size:9px}.epg-weekday{font-size:10px}.epg-legend{gap:9px;font-size:11px}}

/* Event descriptions are sanitized on the server. */
.epg-calendar .epg-description,.epg-calendar .epg-description *{font-size:14px;line-height:1.65;overflow-wrap:anywhere;white-space:normal;margin:14px 0}
.epg-calendar .epg-description p{white-space:normal;margin:0 0 12px;font-size:inherit;line-height:inherit}
.epg-calendar .epg-description div{margin-bottom:10px}
.epg-calendar .epg-description ul,.epg-calendar .epg-description ol{margin:0 0 12px;padding-left:24px}
.epg-calendar .epg-description li{margin-bottom:6px}
.epg-calendar .epg-description ul{list-style:disc outside}
.epg-calendar .epg-description ol{list-style:decimal outside}
.epg-calendar .epg-description a{color:#ad242b;text-decoration:underline;overflow-wrap:anywhere}
.epg-calendar .epg-description-plain{white-space:pre-wrap}
.epg-calendar .epg-description>:last-child{margin-bottom:0}

/* Compact two-column calendar */
.epg-calendar.epg-compact{display:flex;flex-wrap:wrap;gap:28px}
.epg-compact .epg-month-panel{flex:1 1 280px;min-width:0}
.epg-compact .epg-events-panel{flex:1.25 1 320px;min-width:0}
.epg-compact .epg-top{margin-bottom:18px}
.epg-compact .epg-top h3{font-size:20px;text-align:left}
.epg-compact .epg-nav{display:flex;align-items:center;justify-content:center;padding:0!important;line-height:1;width:36px;height:36px;border-radius:8px;background:#fff!important;color:#111!important;flex-shrink:0}
.epg-compact .epg-tabs{display:none}
.epg-compact .epg-day{aspect-ratio:1;min-height:0;border:0;border-radius:50%;padding:3px!important;align-items:center;justify-content:center;gap:2px;background:transparent!important;font-size:14px;color:#111!important}
.epg-compact .epg-day.has-events{background:#f7f4f2!important;font-weight:700}
.epg-compact .epg-day.is-selected{background:#d13138!important;color:#fff!important;outline:0}
.epg-compact .epg-day small{font-size:9px;line-height:1.1;white-space:nowrap;display: none;}
.epg-compact .epg-indicators{display:flex;gap:2px;min-height:5px}
.epg-compact .epg-indicators i{width:5px;height:5px;border-radius:50%}
.epg-compact .epg-weekday{font-size:11px}
.epg-compact .epg-legend{font-size:12px;gap:10px 14px}
.epg-compact .epg-event-row{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid #ece5e1}
.epg-compact .epg-date-badge{flex:0 0 48px;align-self:flex-start;background:#f7f4f2;border-radius:10px;text-align:center;padding:7px 4px}
.epg-compact .epg-date-badge span{display:block;font-size:11px;text-transform:uppercase;color:#6a6360}
.epg-compact .epg-date-badge strong{font-size:22px;line-height:1.1}
.epg-compact .epg-event-body{flex:1;min-width:0}
.epg-compact .epg-detail-toggle{padding:0!important;background:transparent!important;color:#111!important;line-height:1.4}
.epg-compact .epg-detail-toggle span:first-child{overflow-wrap:anywhere}
.epg-compact .epg-category{color:var(--epg-color);font-size:12px;font-weight:700;margin:4px 0}
.epg-compact .epg-detail-meta{line-height:1.5}
.epg-compact .epg-details-heading{margin:0 0 4px;font-size:20px}
.epg-compact .epg-details-heading small{font-size:13px;color:#6a6360}
.epg-compact .epg-show-all{background:none!important;color:#6a6360!important;text-decoration:underline;border:0;padding:8px 0;font-size:12px}
.epg-compact .epg-detail-actions a:first-child{background:#d13138!important;color:#fff!important}
.epg-compact .epg-detail-actions a:not(:first-child),.epg-compact .epg-detail-actions button{background:#f7f4f2!important;color:#111!important}
@media(max-width:650px){.epg-calendar.epg-compact{gap:22px}.epg-compact .epg-month-panel,.epg-compact .epg-events-panel{flex-basis:100%}.epg-compact .epg-day{max-height:70px}.epg-compact .epg-legend{font-size:11px}}

/* Separate, consistently styled Details and Registration actions. */
.epg-compact .epg-detail-actions button[data-expand]{background:#f7f4f2!important;color:#111!important;}
.epg-compact .epg-detail-actions a{background:#d13138!important;color:#fff!important;}
