/* Home hub: buttons & links — aligned with site header (slate + cyan), no Nicepage u-btn conflicts */

:root {
  --hub-accent: #0ea5e9;
  --hub-accent-hover: #0284c7;
  --hub-accent-soft: rgba(14, 165, 233, 0.12);
  --hub-ink: #0f172a;
  --hub-ink-soft: #334155;
  --hub-surface: #ffffff;
  --hub-radius: 10px;
  --hub-focus: 0 0 0 2px var(--hub-surface), 0 0 0 4px var(--hub-accent);
}

/* ----- Text links inside copy (never use u-btn here) ----- */
a.hub-link {
  color: var(--hub-accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(2, 132, 199, 0.35);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a.hub-link:hover {
  color: var(--hub-ink);
  text-decoration-color: var(--hub-ink);
}

a.hub-link:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: var(--hub-focus);
}

/* On dark hero image */
#sec-c094 a.hub-link--inverse {
  color: #e0f2fe;
  text-decoration-color: rgba(224, 242, 254, 0.45);
}

#sec-c094 a.hub-link--inverse:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

#sec-c094 a.hub-link--inverse:focus-visible {
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.6), 0 0 0 4px #38bdf8;
}

/* ----- Solid / outline buttons (use instead of mixed u-btn) ----- */
.hub-btn-row,
.hub-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hub-hero-cta {
  justify-content: center;
  margin-top: 18px;
}

.hub-btn-row {
  margin-bottom: 18px;
}

a.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
  border-radius: var(--hub-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}

a.hub-btn:focus-visible {
  outline: none;
  box-shadow: var(--hub-focus);
}

@media (prefers-reduced-motion: reduce) {
  a.hub-btn {
    transition: none;
  }

  a.hub-btn:hover {
    transform: none;
  }
}

a.hub-btn:hover {
  transform: translateY(-1px);
}

/* Primary — cyan, matches chrome accent */
a.hub-btn--primary {
  background: var(--hub-accent);
  color: #0f172a;
  border-color: var(--hub-accent);
}

a.hub-btn--primary:hover {
  background: var(--hub-accent-hover);
  border-color: var(--hub-accent-hover);
  color: #ffffff;
}

/* Frosted on dark hero */
a.hub-btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

a.hub-btn--glass:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

/* Outline on dark hero */
a.hub-btn--outline-light {
  background: transparent;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.65);
}

a.hub-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Dark filled — for light sections */
a.hub-btn--dark {
  background: var(--hub-ink);
  color: #f8fafc;
  border-color: var(--hub-ink);
}

a.hub-btn--dark:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

/* Outline on light background */
a.hub-btn--outline-dark {
  background: transparent;
  color: var(--hub-ink);
  border-color: rgba(15, 23, 42, 0.22);
}

a.hub-btn--outline-dark:hover {
  border-color: var(--hub-accent);
  color: var(--hub-accent-hover);
  background: var(--hub-accent-soft);
}

/* Subtle text button (section 8 “Resources” style) */
a.hub-btn--text {
  min-height: auto;
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid rgba(14, 165, 233, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--hub-ink-soft);
}

a.hub-btn--text:hover {
  transform: none;
  color: var(--hub-accent-hover);
  border-bottom-color: var(--hub-accent-hover);
}

a.hub-btn--text:focus-visible {
  border-radius: 4px;
  border-bottom-color: transparent;
}

/* ----- Destination grid ----- */
.hub-dest-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

.hub-dest-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #e2e8f0;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--hub-radius);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hub-dest-nav a:hover {
  background: #1e293b;
  border-color: rgba(56, 189, 248, 0.45);
  color: #f8fafc;
}

.hub-dest-nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #f1f5f9, 0 0 0 4px var(--hub-accent);
}

/* ----- Card “open …” links ----- */
a.hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--hub-ink);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.hub-card-link:hover {
  background: var(--hub-accent-soft);
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--hub-accent-hover);
}

a.hub-card-link:focus-visible {
  outline: none;
  box-shadow: var(--hub-focus);
}

/* ----- CTA strip at bottom ----- */
.u-section-cta-contact a.hub-btn--primary {
  min-width: 200px;
}

.u-section-cta-contact .u-align-center {
  text-align: center;
}

/* Team strip: centre the hub CTA in the left column */
#sec-eaab .u-layout-cell-1 .u-container-layout-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
