/* Original Ram Labs pictograms: shared optical grid, specific meanings,
   restrained orange details. Load after the theme and experience styles. */
.ram-icon {
  display: inline-block;
  flex: none;
  overflow: visible;
  vertical-align: middle;
  color: inherit;
  shape-rendering: geometricPrecision;
}
.ram-icon-accent { stroke: var(--orange, #f15b2a); }
.ram-icon-label { min-width: 0; }

/* Navigation icons are part of the link target, with adjacent text labels. */
.site-header .nav-menu > .ram-nav-group {
  display: flex;
  align-items: center;
  gap: 9px;
}
.site-header .nav-menu > .ram-nav-group > .ram-icon { width: 21px; height: 21px; }
.site-header .ram-nav-group > .ram-icon-label { white-space: nowrap; }
.site-header .mega-links a.ram-navigation-route {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}
.site-header .mega-links a.ram-navigation-route > .ram-icon {
  width: 27px;
  height: 27px;
  margin-top: 1px;
}
.site-header .mega-links a.ram-navigation-route > .ram-icon-label {
  display: block;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.site-header .mega-links a.ram-navigation-route > .ram-icon-label > span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 6px;
}
.site-header .mega-links a.ram-navigation-route > .ram-icon-label > span:empty { display: none; }
.site-header .mobile-nav summary.ram-nav-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header .mobile-nav a.ram-navigation-route {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-block: 13px;
}
.site-header .mobile-nav a.ram-navigation-route > .ram-icon { width: 25px; height: 25px; }
.site-header .mobile-nav a.ram-navigation-route > .ram-icon-label { font-size: inherit; }
.site-header .ram-navigation-route:hover > .ram-icon,
.site-header .ram-navigation-route:focus-visible > .ram-icon { color: var(--orange); }

/* The field symbol is reusable navigation language, not repeated photography. */
.ram-route-emblem {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100px;
  color: var(--ink);
  border: 1px solid var(--line);
}
.ram-route-emblem > .ram-icon { width: clamp(44px, 5vw, 76px); height: auto; }
.ram-route-emblem:hover { border-color: var(--orange); }

/* Support routes, disciplines and resource needs are identifiable at a glance. */
.ram-context-heading {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.ram-context-heading > .ram-icon { width: 34px; height: 34px; margin-top: 1px; }
.ram-context-heading > .ram-icon-label { flex: 1; }
.inst-support-summary .ram-context-heading { padding: 0; margin: 0; }
.inst-support-summary .ram-context-heading > .ram-icon { width: 36px; height: 36px; }
.rlx-access-card .ram-context-heading { gap: 14px; }
.rlx-access-card .ram-context-heading > .ram-icon { width: 31px; height: 31px; }

.home-wayfinding a.ram-wayfinding-route {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.home-wayfinding a.ram-wayfinding-route > .ram-icon { width: 29px; height: 29px; }
.home-wayfinding .ram-icon-label { padding-top: 2px; }
.footer-col h2.ram-footer-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-col h2.ram-footer-heading > .ram-icon { width: 23px; height: 23px; }

/* An action's icon and label remain one accessible, unbroken click target. */
a.ram-action,
button.ram-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.text-link.ram-action { justify-content: flex-start; }
.ram-action > .ram-icon { width: 21px; height: 21px; }
.ram-action > .ram-icon-label { text-align: inherit; }
.button.orange .ram-icon-accent,
.join-band .ram-icon-accent,
.button.ram-action:hover .ram-icon-accent { stroke: currentColor; }
.button.ram-action:focus-visible,
.text-link.ram-action:focus-visible { outline-offset: 5px; }

@media (min-width: 1051px) and (max-width: 1250px) {
  .site-header .desktop-nav { gap: 21px; }
  .site-header .masthead { gap: 28px; }
  .site-header .nav-menu > .ram-nav-group { gap: 7px; }
  .site-header .nav-menu > .ram-nav-group > .ram-icon { width: 19px; height: 19px; }
}
@media (max-width: 760px) {
  .ram-context-heading { gap: 13px; }
  .ram-context-heading > .ram-icon { width: 30px; height: 30px; }
  .inst-support-summary .ram-context-heading > .ram-icon { width: 31px; height: 31px; }
  .ram-action > .ram-icon { width: 20px; height: 20px; }
  .home-wayfinding a.ram-wayfinding-route { gap: 12px; }
  .home-wayfinding a.ram-wayfinding-route > .ram-icon { width: 25px; height: 25px; }
  .ram-route-emblem { min-height: 80px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ram-navigation-route > .ram-icon { transition: color 160ms ease; }
  .ram-route-emblem { transition: border-color 160ms ease; }
}
@media print {
  .ram-icon { color: #000000; }
  .ram-icon-accent { stroke: #000000; }
}
