/* Shared concept switcher: hover, keyboard focus and touch. */
.concept-bar { position: relative; z-index: 60; }
.concept-bar nav { gap: 4px; }
.concept-item { display: flex; position: relative; align-items: stretch; }
.concept-bar .concept-item > a { padding: 0 11px 0 18px; }
.concept-item.is-current { background: #222; border-bottom: 3px solid #cc0000; color: #fff; }
.concept-bar .concept-item > a[aria-current] { background: none; border: 0; }
.concept-toggle { display: grid; place-items: center; padding: 0 10px 0 0; border: 0; color: #aaa; background: transparent; }
.concept-toggle svg { width: 12px; height: 12px; transition: transform .15s; }
.concept-item:hover .concept-toggle svg, .concept-item.is-open .concept-toggle svg { transform: rotate(180deg); }
.concept-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; padding: 7px; background: #1c1c1c; border: 1px solid #444; border-top: 2px solid #cc0000; box-shadow: 0 12px 25px #0004; z-index: 65; }
.concept-item:hover .concept-dropdown, .concept-item:focus-within .concept-dropdown, .concept-item.is-open .concept-dropdown { display: block; }
.concept-item.is-dismissed .concept-dropdown { display: none; }
.concept-bar .concept-dropdown a { display: flex; padding: 13px 14px; color: #eee; font-size: 14px; align-items: center; gap: 12px; border: 0; background: transparent; }
.concept-dropdown a svg { width: 18px; height: 18px; color: #f44; }
.concept-bar .concept-dropdown a:hover, .concept-bar .concept-dropdown a[aria-current] { background: #333; color: #fff; }
.concept-dropdown small { display: block; color: #aaa; font-size: 11px; margin-top: 2px; }
.concept-bar .back { white-space: nowrap; }
@media(max-width:600px) {
  .concept-bar { padding-inline: 8px; gap: 4px; }
  .concept-bar .back { font-size: 10px; }
  .concept-bar nav { gap: 0; }
  .concept-bar .concept-item > a { padding-left: 9px; padding-right: 4px; font-size: 12px; }
  .concept-toggle { padding-right: 5px; min-width: 18px; }
  .concept-dropdown { min-width: 160px; }
  .concept-item:last-child .concept-dropdown { left: auto; right: 0; }
}
