/* GNI legacy-site stabilisation layer. Remove after the Laravel cutover. */
:root {
  --gni-purple: #55146f;
  --gni-purple-dark: #341044;
  --gni-gold: #d8a917;
  --gni-ink: #251d29;
  --gni-muted: #68636d;
  --gni-surface: #ffffff;
  --gni-soft: #f7f4f8;
  --gni-radius: 10px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--gni-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--gni-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  text-wrap: balance;
}
a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gni-gold);
  outline-offset: 3px;
}

/* The recovered Joomla login module was exposed and posted to a demo vendor. */
#btl-content-login, .btl-content-login, #btl, .btl-content,
[class*="btl-content-login"] { display: none !important; }

/* Hide unsupported template statistics and empty testimonial carousel. */
#Mod129, .Mod129, #Mod132, .Mod132 { display: none !important; }

.t3-header { padding-block: 20px !important; background: #fff; }
.t3-header .logo img, .logo-image img { width: auto; max-height: 74px; }
.t3-mainnav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--gni-purple) !important;
  box-shadow: 0 4px 18px rgba(39, 12, 49, .16);
}
.t3-mainnav .navbar-nav > li > a {
  min-height: 56px;
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: .02em;
}
.t3-mainnav .navbar-nav > li > a:hover,
.t3-mainnav .navbar-nav > li > a:focus { background: rgba(255,255,255,.10); }

.btn, button, input[type="submit"], input[type="button"] {
  border-radius: 7px;
  font-weight: 700;
  min-height: 44px;
}
.btn-primary, input[type="submit"] {
  background: var(--gni-purple);
  border-color: var(--gni-purple);
}
.btn-primary:hover, input[type="submit"]:hover {
  background: var(--gni-purple-dark);
  border-color: var(--gni-purple-dark);
}

.gni-broken-media { display: none !important; }
.gni-recovery-note { display: none !important; }

@media (max-width: 991px) {
  .t3-header { padding-block: 12px !important; }
  .t3-header .logo img, .logo-image img { max-height: 60px; }
  .t3-mainnav { position: relative; }
  h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
  h2 { font-size: clamp(1.55rem, 6vw, 2.25rem) !important; }
}

@media (max-width: 575px) {
  body { font-size: 15px; }
  .container { padding-inline: 18px; }
  .btn, button, input[type="submit"] { width: 100%; }
  .t3-header .contact-info, .t3-header .head-info { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
