/* Tappable industry terms and their definition cards. */
:root { --osg-accent: #d7262e; }
.osg-term {
  display: inline; font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
  cursor: help; text-decoration: underline dotted; text-decoration-color: var(--osg-accent);
  text-decoration-thickness: 2px; text-underline-offset: 3px; border-radius: 2px;
}
.osg-term:hover { color: var(--osg-accent); }
.osg-term:focus-visible { outline: 3px solid var(--osg-accent); outline-offset: 2px; }
.osg-def { display: none; }
.osg-def:popover-open {
  display: block; position: fixed; inset: auto 16px 16px 16px; margin: 0 auto; max-width: 460px;
  padding: 20px 44px 18px 20px; border: 0; border-top: 4px solid var(--osg-accent); border-radius: 10px;
  background: #fff; color: #16191D; font: 400 16px/1.55 system-ui, sans-serif;
  box-shadow: 0 18px 48px rgba(22, 25, 29, .28); z-index: 100000; text-align: left;
}
.osg-def::backdrop { background: rgba(22, 25, 29, .25); }
.osg-def__term { display: block; font-family: inherit; font-weight: 800; font-size: 19px; line-height: 1.2; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.osg-def__text { display: block; }
.osg-def__more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--osg-accent); }
.osg-def__close {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: #4A5361; font: 400 26px/1 system-ui, sans-serif; cursor: pointer;
}
.osg-def__close:hover { background: #EEF0F2; }
@media (min-width: 900px) { .osg-def:popover-open { inset: auto 32px 32px auto; } }
@media print { .osg-term { text-decoration: none; } .osg-def { display: none !important; } }
