/* Event presentation only. The plugin owns event data and controls. */
#home-view .events-section {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
#home-view .events-section .event-story { min-width: 0; }
#home-view .asano-events-panel {
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  container: asano-events / inline-size;
}
.asano-events-panel .sce-calendar {
  width: 100%; max-width: none; margin: 0; padding: 24px;
  border: 1px solid #c1d8da; border-top: 4px solid var(--brand, #137681);
  border-radius: 18px; background: #f5faf9;
  --sce-ink: #23383b; --sce-muted: #557074; --sce-line: #cbdcde;
}
.asano-events-panel .sce-header { align-items: start; display: block; padding-bottom: 18px; margin-bottom: 20px; }
.asano-events-panel .sce-header h2 { font-size: 22px; letter-spacing: .025em; line-height: 1.5; }
.asano-events-panel .sce-header-note { display: block; margin-top: 8px; }
.asano-events-panel .sce-toolbar { flex-direction: column; align-items: stretch; gap: 14px; }
.asano-events-panel .sce-month-nav { justify-content: center; flex-wrap: wrap; }
.asano-events-panel .sce-view-switch { align-self: stretch; min-width: 0; }
.asano-events-panel .sce-view-button { flex: 1 1 0; padding-inline: 8px; font-size: 14px; }
.asano-events-panel .sce-filters { gap: 12px; }
.asano-events-panel .sce-categories { flex-basis: 100%; }
.asano-events-panel .sce-venue-filter { flex: 1 1 190px; }
.asano-events-panel .sce-search { flex: 1 1 150px; max-width: none; }
.asano-events-panel .sce-chip,
.asano-events-panel .sce-search input,
.asano-events-panel .sce-venue-filter select,
.asano-events-panel .sce-count { font-size: 14px; }
.asano-events-panel .sce-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.asano-events-panel .sce-card { border-radius: 12px; }
.asano-events-panel .sce-card-title { font-size: 18px; }
.asano-events-panel .sce-card-photo { aspect-ratio: 16 / 10; }
.asano-events-panel .sce-card-photo img { object-fit: contain; background: #edf4f3; }
.asano-events-panel .sce-card-excerpt { font-size: 14px; }
.asano-events-panel .sce-month-table th { font-size: 14px; }
.asano-events-panel .sce-month-table td { height: 106px; padding: 7px 4px; }
.asano-events-panel .sce-day-button { font-size: 14px; }
.asano-events-panel .sce-mini-event { font-size: 14px; padding: 6px 5px; line-height: 1.5; }
.asano-events-panel .sce-mini-title { font-size: 14px; font-weight: 600; -webkit-line-clamp: 3; }
.asano-events-panel .sce-mini-time,
.asano-events-panel .sce-mini-venue,
.asano-events-panel .sce-mini-status { font-size: 12px; }
.asano-events-panel .sce-empty { padding: 32px 16px; }
.asano-events-panel .sce-calendar-hint { font-size: 12px; line-height: 1.8; }
.asano-event-contact { margin: 15px 4px 0; text-align: right; }
.asano-event-contact .text-link { font-size: 12px; }
.asano-events-unavailable { border: 1px solid #c1d8da; border-radius: 16px; padding: 28px; background: #f5faf9; }
.asano-events-unavailable h3 { font-size: 20px; margin-bottom: 16px; }
.asano-events-unavailable p { font-size: 14px; line-height: 1.9; }
.asano-events-unavailable .asano-admin-note { margin-top: 16px; font-size: 12px; color: #557074; }

.asano-event-view { padding-bottom: 1px; }
.asano-event-view .article-heading { padding-bottom: 24px; }
.asano-event-view .article-heading .section-kicker { margin-bottom: 16px; }
.asano-event-view .asano-event-poster { max-width: 760px; margin: 0 auto; padding: 18px; background: #f2f7f6; border-radius: 16px; }
.asano-event-view .asano-event-poster img { width: auto; max-width: 100%; height: auto; max-height: 820px; margin: 0 auto; object-fit: contain; border-radius: 8px; display: block; }
.asano-event-view .sce-detail { font-size: 16px; --sce-ink: #23383b; --sce-muted: #557074; --sce-line: #cbdcde; }
.asano-event-view .sce-detail-facts, .asano-event-view .sce-application { border-radius: 16px; }
.asano-event-view .sce-description { margin-block: 28px; }
.asano-event-view .sce-description p { margin-bottom: 20px; }
.asano-event-view .sce-back { display: none; }
.asano-event-view .article-back { margin-top: 32px; }

@container asano-events (max-width: 520px) {
  .asano-events-panel .sce-calendar { padding: 20px 16px; }
  .asano-events-panel .sce-month-title { min-width: 0; font-size: 19px; margin-inline: 2px; }
  .asano-events-panel .sce-nav-button { min-width: 34px; }
  .asano-events-panel .sce-month-nav { gap: 4px; }
  .asano-events-panel .sce-today-button { margin-left: 0; padding-inline: 7px; }
  .asano-events-panel .sce-venue-filter { flex-basis: 100%; }
  .asano-events-panel .sce-search { flex-basis: 100%; }
  .asano-events-panel .sce-mini-venue, .asano-events-panel .sce-mini-status { display: none; }
}
@media (min-width: 1200px) {
  #home-view .events-section {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.78fr);
    gap: 40px;
  }
}
@media (max-width: 680px) {
  .asano-events-panel .sce-calendar { padding: 20px 14px; border-radius: 14px; }
  .asano-events-panel .sce-month-table td { height: 70px; padding: 5px 1px; }
  .asano-events-panel .sce-view-button { font-size: 12px; padding-inline: 5px; }
  .asano-events-panel .sce-chip { font-size: 13px; padding-inline: 10px; }
  .asano-event-view .asano-event-poster { padding: 10px; border-radius: 12px; }
  .asano-event-view .sce-detail-facts, .asano-event-view .sce-application { padding: 20px 16px; }
  .asano-event-view .sce-detail-facts dl > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
}
