/* Calendar-specific composition; HeroUI supplies Card, Input, ToggleButton and Chip. */
body.site-editions {
  --surface: #fff;
  --surface-foreground: #111;
  --field: #fff;
  --field-hover: #fafafa;
  --field-focus: #fff;
  --field-foreground: #111;
  --field-placeholder: #77726a;
  --field-border: #dedede;
  --field-border-hover: #aaa;
  --field-border-focus: #111;
  --border-width-field: 1px;
  --radius-field: 6px;
  --radius-3xl: 6px;
  --shadow-field: 0 0 #0000;
  --shadow-surface: 0 0 #0000;
  --default-hover: #eaeaea;
  --accent-soft: #111;
  --accent-soft-hover: #333;
  --accent-soft-foreground: #fff;
}
/* Match Today's editorial cards: image, metadata and title in reading order. */
body.site-editions .editions-city-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
}
body.site-editions .editions-city-card::after { content: none; }
body.site-editions .editions-city-card img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 1;
}
body.site-editions .editions-city-card__overlay { position: static; display: flex; flex: 1; flex-direction: column; gap: 18px; padding-top: 19px; color: #111; }
body.site-editions .editions-city-card__copy { gap: 12px; }
body.site-editions .editions-city-card__city { font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .11em; }
body.site-editions .editions-city-card strong { max-width: none; font-size: clamp(22px,2.2vw,32px); line-height: 1.1; font-weight: 350; letter-spacing: -.045em; }
body.site-editions .editions-city-card small { margin-top: auto; min-height: 24px; font-size: 11px; letter-spacing: 0; text-transform: none; }
body.site-editions .editions-city-card__credit { font-size: 8px; }
body.site-editions .editions-discovery-bar { margin-top: 40px; border-top: 1px solid var(--line); }
body.site-editions .editions-toolbar-mount { padding: 20px 0 0 24px; }
body.site-editions .editions-find-label { align-self: start; min-height: 64px; }
body.site-editions .calendar-periods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
body.site-editions .calendar-periods .hds-ui-toggle-button { min-height: 44px; height: auto; border: 0; padding: 10px 16px; border-radius: 6px; font: 400 14px/20px 'Inter HDS',Inter,Arial,sans-serif; }
body.site-editions .editions-toolbar-main { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
body.site-editions .editions-search { border: 0; }
body.site-editions .editions-search .hds-ui-input { height: 48px; padding: 0 48px; font: 400 14px/20px 'Inter HDS',Inter,Arial,sans-serif; border: 1px solid var(--field-border); border-radius: 6px; background: var(--input-bg); }
body.site-editions .editions-search .hds-ui-input:focus { border-color: var(--field-border-focus); }
body.site-editions .editions-search-clear { right: 6px; }
body.site-editions .editions-filters.hds-control-list { gap: 28px; border: 0; overflow: visible; flex-wrap: wrap; }
body.site-editions .editions-filters.hds-control-list > button { min-height: 52px; padding: 12px 0; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
body.site-editions .editions-event-category.hds-ui-chip { min-height: 24px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 6px; background: #f4f4f4; font-weight: 400; }
body.site-editions .editions-event-category .hds-ui-chip__label { font-size: 10px; color: inherit; line-height: 18px; }
body.site-editions .editions-event-copy h3 { font-weight: 350; line-height: 1.15; }
body.site-editions .editions-event-actions { justify-content: flex-start; }
body.site-editions .editions-event-copy { display: flex; flex-direction: column; align-items: flex-start; }
body.site-editions .editions-event-title-row { display: contents; }
body.site-editions .editions-event-category { order: 1; }
body.site-editions .editions-event-copy h3 { order: 2; }
body.site-editions .editions-event-location { order: 3; }
body.site-editions .editions-event-actions { order: 4; margin-top: 16px; }
body.site-editions .editions-calendar-menu > div { border-radius: 6px; }
body.site-editions .editions-calendar-menu > div :is(a,button) { min-height: 44px; border-radius: 4px; }
@media (max-width:980px) {
  body.site-editions .editions-discovery-bar { grid-template-columns: 1fr; }
  body.site-editions .editions-toolbar-mount { padding: 0; border-left: 0; }
  body.site-editions .editions-find-label { border: 0; }
}
@media (max-width:760px) {
  body.site-editions .editions-city-grid { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; overflow: visible; padding: 0 20px; }
  body.site-editions .editions-city-card strong { font-size: 24px; }
  body.site-editions .editions-discovery-bar { margin: 32px 20px 0; }
  body.site-editions .editions-find-label { min-height: 54px; }
  body.site-editions .calendar-periods { gap: 6px; }
  body.site-editions .calendar-periods .hds-ui-toggle-button { padding: 10px 12px; }
}
@media (max-width:560px) {
  body.site-editions .editions-city-grid { grid-template-columns: 1fr; }
  body.site-editions .editions-city-card__overlay { gap: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  body.site-editions .editions-city-card img { transition: none; }
}

/* The Calendar edit: the same monthly rail and image-led rhythm as Today. */
body.site-editions .calendar-content-heading { margin: 56px var(--page) 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
body.site-editions .calendar-content-heading .editions-kicker { margin-bottom: 16px; }
body.site-editions .calendar-content-heading h2 { margin: 0 0 16px; font-size: clamp(32px,3.5vw,52px); font-weight: 300; line-height: 1.05; letter-spacing: -.05em; }
body.site-editions .calendar-content-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
body.site-editions .editions-month ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 32px; align-items: start; min-width: 0; }
body.site-editions .editions-event { display: flex; flex-direction: column; align-items: stretch; min-width: 0; gap: 0; padding: 0; border: 0; border-radius: 0; overflow: visible; }
body.site-editions .calendar-event-media { margin: 0 0 18px; min-width: 0; }
body.site-editions .calendar-event-media img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f4f4f4; }
body.site-editions .calendar-event-media figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
body.site-editions .editions-event-date { padding: 0; margin: 0 0 12px; font-size: 11px; }
body.site-editions .editions-event-copy h3 { font-size: clamp(22px,2.2vw,32px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 12px; overflow-wrap: anywhere; }
body.site-editions .calendar-event-summary { order: 4; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
body.site-editions .calendar-event-source { order: 5; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #111; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
body.site-editions .editions-event-actions { order: 6; margin-top: 12px; }
body.site-editions .editions-event-location { line-height: 1.6; }
body.site-editions .editions-event-city { min-height: 24px; }
@media (max-width:760px) {
  body.site-editions .calendar-content-heading { margin-top: 36px; }
  body.site-editions .editions-month ol { grid-template-columns: 1fr; gap: 36px; }
}

/* Approved neutral cover for all Calendar city and event cards. */
body.site-editions .calendar-brand-cover {
  display: flex;
  width: 100%;
  aspect-ratio: 4/3;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font: 400 clamp(22px,2.2vw,32px)/1.2 'Inter HDS',Inter,Arial,sans-serif;
  letter-spacing: -.035em;
}
body.site-editions .calendar-brand-divider { margin-inline: .3em; font-weight: 280; }
