/* Article-end actions stay together, at the reading column's full width. */
body.uhb2026 .uhb-article-content > .uhb-article-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  clear: both;
  margin: 40px 0 0;
  padding: 0;
  border: 0;
}

body.uhb2026 .uhb-article-actions .uhb-article-meta__share {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px !important;
  margin: 0;
}

body.uhb2026 .uhb-article-actions .uhb-article-meta__share > strong {
  flex: 0 0 auto;
  color: var(--uhb-deep);
  font-size: var(--font-caption, 14px);
  font-weight: var(--weight-medium, 600);
  line-height: var(--line-body, 1.38);
  white-space: nowrap;
}

body.uhb2026 .uhb-article-actions .uhb-share-row {
  flex: 0 0 auto;
  width: 236px;
  max-width: 100%;
  gap: 12px;
  margin: 0;
}

body.uhb2026 .uhb-article-actions .uhb-share-row :is(a, button) {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 50% !important;
}

body.uhb2026 .uhb-article-actions .uhb-share-icon {
  width: 24px;
  height: 24px;
}

/* Qualify the anchor so article link rules cannot remove its bottom border. */
body.uhb2026 .uhb-article-content a.uhb-preferred-source {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 16px 24px;
  border: 2px solid transparent;
  border-radius: var(--uhb-pill, 999px);
  background: var(--uhb-pale, #faf5f7);
  color: var(--uhb-deep, #07574e) !important;
  box-shadow: none;
  font-family: var(--uhb-font-primary) !important;
  font-size: var(--font-body-large, 17px) !important;
  font-weight: var(--weight-regular, 400) !important;
  line-height: var(--line-body, 1.38) !important;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  transition: border-color 180ms ease, background-color 180ms ease;
}

body.uhb2026 .uhb-preferred-source strong {
  color: inherit;
  font-size: inherit;
  font-weight: var(--weight-bold, 700);
}

body.uhb2026 .uhb-article-content a.uhb-preferred-source:hover {
  border-color: var(--uhb-deep, #07574e);
  background: transparent;
  color: var(--uhb-deep, #07574e) !important;
}

body.uhb2026 .uhb-article-content a.uhb-preferred-source:focus-visible {
  outline: 2px solid var(--uhb-deep, #07574e);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  body.uhb2026 .uhb-article-content a.uhb-preferred-source {
    padding: 14px 20px;
    font-size: var(--font-body, 16px) !important;
  }
}

/* Preserve the 50px touch targets while keeping label and icons on one line. */
@media (max-width: 360px) {
  body.uhb2026 .uhb-article-actions .uhb-article-meta__share {
    gap: 8px !important;
  }

  body.uhb2026 .uhb-article-actions .uhb-share-row {
    width: 212px;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-article-content a.uhb-preferred-source {
    transition: none;
  }
}

/* The five controls keep a full touch target next to the Story label. */
body.uhb2026 .uhb-article-actions .uhb-article-meta__share:has(.uhb-share-row--story) {
  flex-wrap: wrap;
}

body.uhb2026 .uhb-article-actions .uhb-share-row.uhb-share-row--story {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  gap: 4px;
}

body.uhb2026 .uhb-article-actions .uhb-share-row--story :is(a, button) {
  width: clamp(44px, (100% - 100px) / 4, 50px) !important;
  min-width: 44px !important;
  min-height: 44px !important;
}

body.uhb2026 .uhb-article-actions .uhb-share-row--story .uhb-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 84px !important;
  max-width: 84px !important;
  border-radius: 999px !important;
  font-size: 13px;
}

body.uhb2026 .uhb-article-actions .uhb-story-button .uhb-share-icon {
  width: 18px;
  height: 18px;
}

body.uhb2026 .uhb-article-actions .uhb-story-feedback {
  color: var(--uhb-deep, #07574e);
  font-size: 14px;
  text-align: center;
}

body.uhb2026 .uhb-article-actions .uhb-story-feedback a[hidden] {
  display: none !important;
}

body.uhb2026 .uhb-article-actions .uhb-story-feedback:has(a[hidden]):has(> span:empty) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
