body .next-grid:has([data-ilg-schedule-grid]) {display:grid!important;grid-template-columns:minmax(0,1fr)!important}
body .next-grid .ilg-schedule-cards,body .next-grid .agenda + .center {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}
body .next-grid .agenda + .center .subhead {grid-column:1/-1}
body .next-grid .ilg-schedule-cards > .event,body .next-grid .agenda + .center > a.resource {margin:0!important;border:0!important;border-block:1px solid #c7d0dc!important;min-width:0;box-sizing:border-box}
body .next-grid .ilg-schedule-cards > .event + .event,body .next-grid .center > .resource + .resource {border-inline-start:1px solid #c7d0dc!important}
body .next-grid .ilg-schedule-cards > .event {display:flex!important;flex-direction:column;align-items:center!important;justify-content:flex-start!important;text-align:center;padding:clamp(12px,1.6vw,24px)!important;gap:9px}
body .next-grid .event time {display:block!important;white-space:nowrap;text-align:center}
body .next-grid .ilg-schedule-cards .event > i {display:none!important}
body .next-grid .ilg-schedule-cards .event > span {display:flex!important;flex-direction:column;align-items:center;flex:1;width:100%;gap:4px}
body .next-grid .ilg-schedule-cards .event .detail {margin:0;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}
body .next-grid .ilg-schedule-cards .event .go {margin-top:auto!important;padding-top:8px;order:9}
body .next-grid .agenda + .center > a.resource {display:flex!important;align-items:center;justify-content:center!important;gap:.4em;text-align:center;min-height:72px;padding:12px 8px!important;word-break:keep-all;overflow-wrap:anywhere}
body .next-grid .center > a.resource i {position:static!important;flex:none}
@media(max-width:640px){
 body .next-grid .ilg-schedule-cards {grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:min(85%,330px);overflow-x:auto;scroll-snap-type:x mandatory}
 body .next-grid .ilg-schedule-cards > .event {scroll-snap-align:start}
 body .next-grid .agenda + .center > a.resource {flex-direction:column;gap:3px;padding:10px 4px!important}
 body .next-grid .center > .resource span {font-size:clamp(15px,4vw,18px)!important}
}
