.engage-home-news-band {
  --news-ink: #172a46;
  --news-blue: #005c97;
  --news-muted: #42576d;
  --news-rule: #d7c7b7;
  width: 100%;
  background: #fff6ec;
  border-block-end: 1px solid var(--news-rule);
  color: var(--news-ink);
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.engage-home-news-band .engage-home-news-width {
  display: grid;
  grid-template-areas: "label stories actions";
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 0 18px;
  width: min(1200px, calc(100% - 64px));
  min-height: 58px;
  margin-inline: auto;
  padding-block: 4px;
}

.engage-home-news-band .engage-home-news-label {
  grid-area: label;
  justify-self: start;
  margin: 0;
  padding: 7px 12px;
  border-radius: 5px 5px 12px 5px;
  background: var(--news-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.engage-home-news-headlines {
  grid-area: stories;
  display: grid;
  min-width: 0;
}

.engage-home-news-band .engage-home-news-story {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 0;
}

.engage-home-news-story:not(.is-current) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.engage-home-news-band .engage-home-news-story h3 {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.engage-home-news-band .engage-home-news-story a {
  display: inline-block;
  padding-block: 6px;
  color: var(--news-ink);
  text-decoration: none;
}

.engage-home-news-band .engage-home-news-story a:hover {
  color: var(--news-blue);
  text-decoration: underline;
  text-underline-offset: .16em;
}

.engage-home-news-band time {
  flex: none;
  color: var(--news-muted);
  font-size: 13px;
  white-space: nowrap;
}

.engage-home-news-band svg {
  display: inline-block;
  flex: none;
  width: 15px;
  height: 15px;
  vertical-align: -.13em;
}

.engage-home-news-story svg {
  margin-inline-start: .12em;
  color: var(--news-blue);
}

.engage-home-news-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.engage-home-news-controls {
  display: flex;
  align-items: center;
}

.engage-home-news-controls[hidden] {
  display: none;
}

.engage-home-news-band .engage-home-news-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--news-ink);
  background: transparent;
  cursor: pointer;
}

.engage-home-news-band .engage-home-news-controls button:hover {
  background: #edf7f8;
  color: var(--news-blue);
}

.engage-home-news-band .engage-news-pause-icon,
.engage-home-news-band[data-news-playing] .engage-news-play-icon {
  display: none;
}

.engage-home-news-band[data-news-playing] .engage-news-pause-icon {
  display: inline-block;
}

.engage-home-news-band .engage-home-news-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--news-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: .16em;
  white-space: nowrap;
}

.engage-home-news-band :is(a, button):focus-visible {
  outline: 3px solid var(--news-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .engage-home-news-band[data-news-advanced] .engage-home-news-story.is-current h3 {
    animation: engage-news-headline-in 180ms ease-out both;
  }
}

@keyframes engage-news-headline-in {
  from { transform: translateY(4px); opacity: .45; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 960px) {
  .engage-home-news-band time {
    display: none;
  }
}

@media (max-width: 700px) {
  .engage-home-news-band .engage-home-news-width {
    grid-template-areas: "label actions" "stories stories";
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0 5px;
    width: calc(100% - 32px);
    padding-block: 2px 4px;
  }

  .engage-home-news-band .engage-home-news-label {
    padding-inline: 8px;
    font-size: 13px;
  }

  .engage-home-news-actions {
    gap: 4px;
  }

  .engage-home-news-band .engage-home-news-story {
    min-height: 44px;
  }

  .engage-home-news-band .engage-home-news-story h3 {
    font-size: 16px;
  }

  .engage-home-news-band .engage-home-news-all {
    gap: 3px;
    font-size: 13px;
  }

  .engage-home-news-band .engage-home-news-all svg {
    width: 12px;
  }
}

@media (max-width: 921px), (hover: none), (pointer: coarse) {
  .engage-home-news-band .engage-home-news-controls [data-news-play] {
    display: none;
  }
}
