/* AGR 1.0.1: text-led navigation. No Unicode arrows or emoji replacements. */
#agr-premium-homepage .button,
#agr-premium-homepage .heroAside > .button,
#agr-premium-homepage .housingActions .button,
#agr-premium-homepage .desktopNav .navCta {
  justify-content: center;
  gap: 0;
}

#agr-premium-homepage .textLink,
#agr-premium-homepage .heroAside > .textLink,
#agr-premium-homepage .housingActions .textLink {
  justify-content: flex-start;
  gap: 0;
  border-bottom-color: currentColor;
  transition: color .2s, border-color .2s;
}

/* Keep a visible link cue on touchscreens, not just on hover. */
#agr-premium-homepage .framework h3,
#agr-premium-homepage .journalList h3,
#agr-premium-homepage .suiteRoutes strong,
#agr-premium-homepage .podcastLink strong,
#agr-premium-homepage .horizonGrid strong,
#agr-premium-homepage .platformModules strong,
#agr-premium-homepage .heroScene figcaption a,
#agr-premium-homepage .housingCover > span > span,
#agr-premium-homepage .filmDialogContent > a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
  text-decoration-color: currentColor;
  text-decoration-color: color-mix(in srgb, currentColor 44%, transparent);
  text-decoration-skip-ink: auto;
}

#agr-premium-homepage .framework:hover h3,
#agr-premium-homepage .framework:focus-visible h3,
#agr-premium-homepage .journalList a:hover h3,
#agr-premium-homepage .journalList a:focus-visible h3,
#agr-premium-homepage .suiteRoutes a:hover strong,
#agr-premium-homepage .suiteRoutes a:focus-visible strong,
#agr-premium-homepage .podcastLink:hover strong,
#agr-premium-homepage .podcastLink:focus-visible strong,
#agr-premium-homepage .horizonGrid a:hover strong,
#agr-premium-homepage .horizonGrid a:focus-visible strong,
#agr-premium-homepage .platformModules a:hover strong,
#agr-premium-homepage .platformModules a:focus-visible strong {
  text-decoration-color: currentColor;
}

/* Reclaim the columns that previously held arrows. */
#agr-premium-homepage .framework { grid-template-columns: 32px minmax(0, 1fr); }
#agr-premium-homepage .journalList > a { grid-template-columns: 34px minmax(0, 1fr); }
#agr-premium-homepage .platformModules > a { grid-template-columns: minmax(0, 1fr); }

/* Media controls use a simple CSS triangle instead of an emoji-capable glyph. */
#agr-premium-homepage .playDisc::before,
#agr-premium-homepage .podcastPlay::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  margin-left: 3px;
}

@media (max-width: 960px) {
  #agr-premium-homepage .framework { grid-template-columns: 23px minmax(0, 1fr); }
  #agr-premium-homepage .journalList > a { grid-template-columns: 28px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  #agr-premium-homepage .framework { grid-template-columns: 25px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #agr-premium-homepage .textLink { transition: none; }
}
