/* ═══════════════════════════════════════════════════════════════
   TOP BAR + QUICK LINKS — scroll-triggered fixed bars
   ─ On inner pages: both hidden at top, slide in on scroll.
   ─ On front page: top bar always visible (transparent → blue on scroll),
     quick-links bar hidden until scroll.
   ═══════════════════════════════════════════════════════════════ */

/* ── top bar (Drupal region) ── */
.region-top-bar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #03A7E0 !important;
  z-index: 1052;
  padding: 4px 0;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.4s ease;
}

/* Slide the bar into view */
.region-top-bar.top-bar--visible {
  transform: translateY(0);
}

/* ── FRONT PAGE: top bar starts transparent ── */
.front-page-bars .region-top-bar {
  background: transparent !important;
}

/* When scrolled, transition to blue */
.front-page-bars .region-top-bar.top-bar--scrolled {
  background: #03A7E0 !important;
}

/* ── INNER PAGES: top bar always visible, no animation ── */
.inner-page-bars .region-top-bar {
  transition: none !important;
  transform: translateY(0) !important;
  background: #03A7E0 !important;
}

/* ── quick links bar — same blue family, slight gradient for depth ── */
.quick-links-bar {
  position: fixed;
  top: var(--top-bar-actual-height, 38px);
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, #039bd3 0%, #0289ba 100%);
  z-index: 1051;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(calc(-100% - var(--top-bar-actual-height, 38px)));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-links-bar.visible {
  transform: translateY(0) !important;
}

.quick-links-bar:not(.visible) * {
  pointer-events: none !important;
}

/* ── inner layout ── */
.quick-links-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.quick-links-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0;
}

.quick-links-item {
  margin: 0;
  padding: 0;
}

.quick-links-link {
  display: block;
  padding: 8px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.quick-links-link:hover,
.quick-links-link:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  .quick-links-container {
    padding: 0 10px;
  }

  .quick-links-link {
    padding: 8px 14px;
    font-size: 12px;
    color: white !important;
  }

  .quick-links-list {
    flex-wrap: wrap;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .quick-links-container {
    padding: 0 8px;
  }

  .quick-links-link {
    padding: 7px 10px;
    font-size: 11px;
  }
}
