/* ============================================================
   LOGO TAB BAR (logos act as tabs; content animates open below)
   ============================================================ */
.logo-bar {
  background: var(--uaa-green);
  border-top: 1px solid #4d8977;
  height: var(--mainbar-height);
  flex-shrink: 0;
}
.logo-bar > .container { height: 100%; }
.logo-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logo-list > li { flex: 1 1 0; display: flex; min-width: 0; }
.logo-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 1rem;
  position: relative;
  font: inherit;
}
.logo-tab img {
  height: 35px;
  width: auto;
  max-width: 100%;
  opacity: .6;
  transition: opacity .2s ease;
}
.logo-tab:hover img,
.logo-tab.active img { opacity: 1; }
/* gold indicator under the selected tab, pointing to the content */
.logo-tab.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--uaa-gold);
}
.logo-tab:focus-visible { outline: 2px solid var(--uaa-gold); outline-offset: -4px; }

/* Collapsible content region: height animates from 0 */
.logo-tabs-content {
  background: var(--bs-tertiary-bg);
  overflow: hidden;
  height: 0;
  flex-shrink: 0;              /* its height is script-controlled; never let flex squeeze it */
  transition: height var(--anim-speed) ease;
}
.logo-panel { padding: 2.5rem 0; color: var(--bs-body-color); }
.logo-panel h3 { color: var(--bs-link-color); font-weight: 700; margin: 0 0 .5rem; }
.logo-panel p { margin: 0 0 1rem; line-height: 1.6; }
.panel-links { list-style: none; margin: 0; padding: 0; }
.panel-links li { margin-bottom: .4rem; }
.panel-links a { color: var(--bs-link-color); font-weight: 600; }
.panel-links a:hover { text-decoration: underline; }
