/* Opt-in shared widget behavior. Existing Kit headings supply Georgia. */
.cpa-ui-story-carousel {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: var(--cpa-space-sm);
  background: var(--cpa-panel);
  border: 0;
  border-radius: var(--cpa-radius);
  box-shadow: none;
  font-family: var(--cpa-sans);
  font-size: var(--cpa-body);
  color: var(--cpa-ink);
}
.cpa-ui-story-viewport { display: block; min-width: 0; }
.cpa-ui-story-carousel:not(.cpa-ui-story-ready) .cpa-ui-story-slide + .cpa-ui-story-slide { margin-top: var(--cpa-space-md); }
.cpa-ui-story-slide[hidden] { display: none; }
.cpa-ui-story-slide { min-width: 0; margin: 0; padding: 0; overflow-wrap: anywhere; }
.cpa-ui-story-slide > * { margin: 0 0 var(--cpa-space-xs); }
.cpa-ui-story-slide > :last-child { margin-bottom: 0; }
.cpa-ui-story-newsroom { font-size: var(--cpa-small); font-weight: 700; line-height: 1.5; color: var(--cpa-teal-ink); }
.cpa-ui-story-award { font-size: var(--cpa-small); font-weight: 600; line-height: 1.5; color: var(--cpa-muted); }
.cpa-ui-story-headline { font-size: var(--cpa-type-lead); font-weight: 700; line-height: 1.2; }
.cpa-ui-story-summary { font-size: var(--cpa-body); line-height: 1.6; color: var(--cpa-muted); }
.cpa-ui-story-link { display: block; width: fit-content; max-width: 100%; padding-block-start: var(--cpa-space-xs); padding-block-end: 0; font-size: var(--cpa-small); font-weight: 700; line-height: 1.5; color: var(--cpa-teal-ink); text-decoration: underline; }
.cpa-ui-story-link:hover { color: var(--cpa-rust); }
.cpa-ui-story-controls { display: flex; flex-wrap: wrap; gap: var(--cpa-space-xs); align-items: center; margin-top: var(--cpa-space-sm); }
.cpa-ui-story-controls[hidden] { display: none; }
.cpa-ui-story-control { box-sizing: border-box; width: var(--cpa-space-lg); height: var(--cpa-space-lg); min-width: var(--cpa-space-lg); min-height: var(--cpa-space-lg); display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--cpa-border); border-radius: var(--cpa-radius); background: transparent; color: var(--cpa-teal-ink); font-family: var(--cpa-sans); font-size: var(--cpa-small); font-weight: 700; line-height: 1.5; cursor: pointer; }
/* Scope native button states above theme type-button and Kit defaults. */
.cpa-ui-story-carousel .cpa-ui-story-controls button.cpa-ui-story-control:hover,
.cpa-ui-story-carousel .cpa-ui-story-controls button.cpa-ui-story-control:focus,
.cpa-ui-story-carousel .cpa-ui-story-controls button.cpa-ui-story-control:active { color: var(--cpa-navy); background: var(--cpa-panel); box-shadow: none; }
.cpa-ui-story-position { min-width: var(--cpa-space-xl); text-align: center; font-size: var(--cpa-small); line-height: 1.5; color: var(--cpa-muted); }
.cpa-ui-story-carousel .cpa-ui-story-controls button.cpa-ui-story-control:focus,
.cpa-ui-story-carousel .cpa-ui-story-controls button.cpa-ui-story-control:focus-visible,
.cpa-ui-story-carousel a.cpa-ui-story-link:focus-visible { outline: 3px solid var(--cpa-rust); outline-offset: 3px; }
.cpa-ui-story-ready .cpa-ui-story-viewport { touch-action: pan-y pinch-zoom; }
/* Hidden inactive entries contribute no height. Each visible story sets its natural height. */
.cpa-ui-story-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Swaps are intentionally instantaneous. No autoplay or motion preference override. */
