/* Strong, specific selectors to enforce underline in the Tagembed feed */
#tb_main_root :where(a[href]),
#tagembed_social_network :where(a[href]),
.tb_g_post_wrapper :where(a[href]),
.tb_g_post_in :where(a[href]),
.tb_g_contant_wrapper :where(a[href]),
.tb_g_image_wrap_in :where(a[href]) {
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

/* Focus visibility */
#tb_main_root :where(a[href]):focus,
#tagembed_social_network :where(a[href]):focus,
.tb_g_post_wrapper :where(a[href]):focus,
.tb_g_post_in :where(a[href]):focus,
.tb_g_contant_wrapper :where(a[href]):focus,
.tb_g_image_wrap_in :where(a[href]):focus {
  outline: 3px solid #ffcc00 !important;
  outline-offset: 2px !important;
}

/* Fallback for environments where underline is suppressed: add a bottom border cue */
#tb_main_root :where(a[href]),
#tagembed_social_network :where(a[href]),
.tb_g_post_wrapper :where(a[href]),
.tb_g_post_in :where(a[href]),
.tb_g_contant_wrapper :where(a[href]),
.tb_g_image_wrap_in :where(a[href]) {
  border-bottom: 1px solid currentColor; /* secondary non-color cue */
}