/* All updates detail proposal. Only presentation changes; original HTML and scripts retained. */
/* One compact control group, followed by the existing chronological sections. */
html:root #o2c-announcements[data-page="hub"]:not(.is-reader):not(.is-calendar) #all-announcements .o2c-archive-tools {
  padding-block: 18px 0;
  margin-bottom: 24px;
  border-bottom: 0;
  row-gap: 16px;
}
html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-reader-switch > div {
  padding: 3px;
  border: 1px solid #d8e2de;
  background: #f5f8f6;
  border-radius: 8px;
}
html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-reader-switch button[aria-pressed="true"] { box-shadow: none; }
html:root #o2c-announcements[data-page="hub"] #all-announcements :is(#o2c-results,.o2c-reader-switch > span) { font-size: 13px; color: #53635d; }
html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-search-field { border-color: #bbcfc6; }
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-month-heading { font-size: 22px; padding-bottom: 12px; }
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-month-tally { font-size: 12px !important; line-height: 1.5; color: #5a6b63; }
/* Full original headings, at a scale suited to browsing. */
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed h4.o2c-entry-title {
  font-size: 28px !important;
  line-height: 1.23;
  letter-spacing: -.02em;
  max-width: none;
}
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry .o2c-badges > :is(.o2c-type,.o2c-category) {
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-type::before { display: none; content: none; }
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-date { font-size: 13px !important; color: #5a6b63; }
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-magazine-action { font-size: 14px; }
/* The wide layout keeps its media column and generous, equal insets.
   The first row follows the copy height so the action stays close to the summary. */
@container magazine (min-width: 901px) {
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-entry-preview {
    padding: 68px 32px 28px;
    column-gap: 40px;
    grid-template-rows: auto minmax(44px,1fr);
  }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-summary-main { align-self: start; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-badges { top: 24px; left: 32px; right: 32px; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-date { top: 24px; right: 32px; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) h4.o2c-entry-title { max-width: 32ch; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-excerpt { margin-top: 14px; font-size: 16px; line-height: 1.6; max-width: 58ch; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-magazine-action { margin-top: 16px; font-size: 14px; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry[data-magazine-size="wide"]:not(.o2c-editorial-roundup) .o2c-entry-media { align-self: start; }
}
@container magazine (max-width: 700px) {
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed h4.o2c-entry-title { font-size: 24px !important; line-height: 1.25; margin-top: 16px; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry:not(.o2c-editorial-roundup) .o2c-entry-preview { padding: 24px 20px; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-month-heading { align-items: baseline; gap: 6px 16px; flex-wrap: wrap; font-size: 21px; }
  html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-excerpt { margin-top: 12px; }
}
/* Match the popup to the white page; retain its original controls and words. */
html:root #o2c-announcements #o2c-filter-popover {
  background: #fff;
  border-color: #cfddd6;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(25 62 55 / 14%);
}
html:root #o2c-announcements .o2c-facet-close { width: 44px; height: 44px; color: #52665b; }
html:root #o2c-announcements #o2c-filter-done { min-height: 44px; padding-inline: 20px; border-radius: 6px; }
html:root #o2c-announcements .o2c-category-option { min-height: 44px; font-size: 13px; }
html:root #o2c-announcements :is(.o2c-type-hint,.o2c-facet-hint,.o2c-facet-count) { font-size: 12px; color: #596a61; }
html:root #o2c-announcements :is(.o2c-type-option,.o2c-category-option):has(input:checked) { background: #edf5f2; color: #1f5c51; }
html:root #o2c-announcements .o2c-facet-footer { background: #f7faf8; }
html:root #o2c-announcements .o2c-facet-header { padding-block: 8px; }
@media(max-width:620px) {
  html:root #o2c-announcements[data-page="hub"]:not(.is-reader):not(.is-calendar) #all-announcements .o2c-archive-tools { margin-bottom: 24px; row-gap: 12px; }
  html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-reader-switch { justify-content: flex-start; margin-top: 0; gap: 12px; }
  html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-reader-switch > div { flex: 1; flex-wrap: nowrap; }
  html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-reader-switch button { flex: 1; padding-inline: 10px; }
}

/* Active selections use the same readable, touch-friendly treatment. */
html:root #o2c-announcements .o2c-active-filter { min-height: 44px; font-size: 13px; background: #edf5f2; }
html:root #o2c-announcements #o2c-filter-clear { min-height: 44px; font-size: 12px; color: #52665b; }
@media(max-width:360px) {
  html:root #o2c-announcements[data-page="hub"] #all-announcements .o2c-reader-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding-inline: 6px;
    font-size: 13px;
  }
}
/* Keep the narrow filter panel inside its own padding. */
html:root #o2c-announcements #o2c-facet-categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
html:root #o2c-announcements .o2c-category-option > span:first-of-type { min-width: 0; }
@media(max-width:360px) {
  html:root #o2c-announcements #o2c-facet-categories { grid-template-columns: minmax(0,1fr); }
}

/* Use the announcement treatment for every archive card interaction. */
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry:is(:hover,:focus-within) {
  background: #fff !important;
  box-shadow: none !important;
}
html:root #o2c-announcements:not(.is-reader):not(.is-calendar) #o2c-feed.o2c-editorial-feed .o2c-archive-entry:is(:hover,:focus-within) .o2c-entry-link {
  color: inherit;
}
