/* Shared Calendar / Today editorial composition. Only these two shells opt in. */
body.hds-editorial {
  --accent: #111;
  --accent-foreground: #fff;
  --accent-hover: #333;
  --accent-soft: #f4f4f4;
  --accent-soft-foreground: #111;
  --default: #f4f4f4;
  --default-foreground: #111;
  --background: #fff;
  --foreground: #111;
  --border: #dedede;
  --focus: #581b27;
  --radius: 2px;
  --ring-offset-width: 2px;
  --cursor-interactive: pointer;
  --disabled-opacity: .5;
}
body.hds-editorial .editions-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #111;
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 280;
  letter-spacing: -.062em;
  line-height: .93;
}
/* Preserve the Workspace action sizing while using HeroUI interaction states. */
body.hds-editorial .hds-ui-button {
  height: auto;
  min-height: 44px;
  white-space: normal;
  background-color: var(--button-bg);
  color: var(--button-fg);
}
body.hds-editorial .hds-ui-button--primary { --button-bg: #111; --button-bg-hover: #333; --button-bg-pressed: #444; --button-fg: #fff; }
body.hds-editorial .hds-ui-button--outline { --button-bg: #fff; --button-bg-hover: #f4f4f4; --button-bg-pressed: #eaeaea; --button-fg: #111; }
@media (hover:hover) {
  body.hds-editorial .hds-ui-button:hover { background-color: var(--button-bg-hover); }
}
body.hds-editorial .hds-ui-button:active { background-color: var(--button-bg-pressed); }
body.hds-editorial :is(button, a, summary, select):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

body.hds-today-body .hdt-page { padding: 0; }
body.hds-today-body .hdt-discovery,
body.hds-today-body .hdt-updated,
body.hds-today-body [data-today-cards],
body.hds-today-body .hdt-next,
body.hds-today-body noscript { margin-inline: var(--page); }
body.hds-today-body .hdt-discovery {
  display: grid;
  grid-template-columns: minmax(170px,240px) minmax(0,1fr) auto;
  align-items: center;
  border-block: 1px solid var(--line);
}
body.hds-today-body .hdt-filters {
  min-height: 70px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-left: 1px solid var(--line);
}
body.hds-today-body .hdt-filters > div { gap: 28px; }
body.hds-today-body .hdt-filters button { min-height: 70px; padding: 0; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
body.hds-today-body .hdt-city-filter { flex-wrap: nowrap; gap: 12px; margin: 0; font-size: 12px; }
body.hds-today-body .hdt-city-filter select { border-color: #dedede; border-radius: 6px; font-size: 14px; }
body.hds-today-body .hdt-updated { min-height: 14px; margin-block: 18px 0; color: var(--muted); font-size: 9px; letter-spacing: .09em; text-align: right; }
body.hds-today-body [data-today-cards] > section { display: grid; grid-template-columns: minmax(180px,.25fr) minmax(0,1fr); column-gap: clamp(38px,6vw,92px); padding-block: clamp(42px,5vw,70px); }
body.hds-today-body [data-today-cards] > section + section { border-top: 1px solid var(--line); }
body.hds-today-body .hdt-section-label { grid-column: 1; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; font-size: clamp(30px,3vw,46px); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
body.hds-today-body :is(.hdt-lead-grid,.hdt-story-grid) { grid-column: 2; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
body.hds-today-body .hdt-side { padding: 0; border: 0; }
body.hds-today-body .hdt-media { background: #f4f4f4; }
body.hds-today-body .hdt-media img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
body.hds-today-body .hdt-story h3 { margin: 0; font-size: clamp(22px,2.2vw,32px); font-weight: 350; letter-spacing: -.045em; line-height: 1.1; }
body.hds-today-body .hdt-excerpt { font-size: 14px; }
body.hds-today-body .hdt-text-story { background: #f4f4f4; padding: 24px; }
body.hds-today-body .hdt-next { margin-top: 0; border-color: var(--line); }
body.hds-today-body .hdt-next h2 { font-weight: 300; }
@media (max-width:1180px) {
  body.hds-today-body [data-today-cards] > section { grid-template-columns: 1fr; gap: 26px; }
  body.hds-today-body .hdt-section-label { grid-row: auto; }
  body.hds-today-body :is(.hdt-lead-grid,.hdt-story-grid) { grid-column: 1; }
}
@media (max-width:980px) {
  body.hds-today-body .hdt-discovery { grid-template-columns: 1fr auto; }
  body.hds-today-body .editions-find-label { grid-column: 1/-1; min-height: 54px; border-bottom: 1px solid var(--line); }
  body.hds-today-body .hdt-filters { border-left: 0; padding-left: 0; }
}
@media (max-width:760px) {
  body.hds-today-body { --page: 20px; }
  body.hds-editorial .editions-hero { padding: 36px 20px 28px; gap: 22px; }
  body.hds-editorial .editions-hero h1 { font-size: clamp(36px,10vw,48px); line-height: 1.04; letter-spacing: -.045em; }
  body.hds-today-body .hdt-discovery { grid-template-columns: 1fr; }
  body.hds-today-body .hdt-filters { min-height: 52px; }
  body.hds-today-body .hdt-filters > div { gap: 24px; }
  body.hds-today-body .hdt-filters button { min-height: 52px; }
  body.hds-today-body .hdt-city-filter { padding-block: 12px; border-top: 1px solid var(--line); justify-content: space-between; }
  body.hds-today-body [data-today-cards] > section { padding-block: 32px; }
  body.hds-today-body :is(.hdt-lead-grid,.hdt-story-grid) { grid-template-columns: 1fr; }
  body.hds-today-body .hdt-next { padding-bottom: 48px; }
}
