/* Custom overrides to complement Tailwind utility classes */
html {
  scroll-behavior: smooth;
}
.hero-gradient {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), rgba(14, 116, 144, 0.18)),
              linear-gradient(135deg, rgba(49, 46, 129, 0.85), rgba(30, 64, 175, 0.75));
}
.card-shadow {
  box-shadow: 0 20px 45px -20px rgba(30, 64, 175, 0.45);
}
.backdrop-blur-surface {
  backdrop-filter: blur(12px);
}
.team-card {
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.22), rgba(99, 102, 241, 0.18));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 45px -25px rgba(14, 116, 144, 0.65);
}
.team-card img {
  box-shadow: 0 10px 25px -15px rgba(12, 74, 110, 0.9);
}

.manager-card {
  position: relative;
  z-index: 0;
  background: linear-gradient(155deg, rgba(253, 224, 71, 0.08), rgba(217, 119, 6, 0.05)),
              linear-gradient(145deg, rgba(14, 116, 144, 0.18), rgba(99, 102, 241, 0.12));
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 24px 48px -32px rgba(253, 224, 71, 0.35), 0 0 0 1px rgba(253, 224, 71, 0.22);
}

.manager-card::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: radial-gradient(circle at 18% -10%, rgba(253, 224, 71, 0.3), transparent 55%),
              radial-gradient(circle at 82% 12%, rgba(217, 119, 6, 0.18), transparent 65%);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

.manager-avatar {
  border-color: rgba(253, 224, 71, 0.6) !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.42), 0 12px 24px -20px rgba(253, 224, 71, 0.55);
}

main ul {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0;
}

main ul li {
  position: relative;
  padding-left: 0.4rem;
}

main ul li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.75rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.65), rgba(14, 116, 144, 0.65));
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

main ol {
  list-style: none;
  counter-reset: section;
  padding-left: 2rem;
  margin: 0;
}

main ol li {
  position: relative;
  padding-left: 0.45rem;
  counter-increment: section;
}

main ol li::before {
  content: counter(section);
  position: absolute;
  left: -1.55rem;
  top: 0.38rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.35);
}

@media print {
  @page {
    margin: 20mm 15mm;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11.5px;
    line-height: 1.45;
  }

  header nav,
  .hero-gradient,
  footer,
  .backdrop-blur-surface::before,
  .backdrop-blur-surface::after {
    display: none !important;
  }

  .backdrop-blur-surface {
    backdrop-filter: none;
    box-shadow: none;
    background: transparent;
  }

  main,
  header {
    margin: 0;
    padding: 0;
    color: #111827;
  }

  main section,
  header section {
    background: #ffffff !important;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    padding: 10px 0;
    gap: 10px;
  }

  main article,
  main aside {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
    gap: 10px;
  }

  header section {
    margin-top: 0;
    text-align: left;
    border-left: 4px solid #1d4ed8;
    padding-left: 16px;
  }

  header section .flex.flex-wrap {
    display: none !important;
  }

  .card-shadow,
  .team-card,
  .team-card img {
    box-shadow: none !important;
  }

  .team-card {
    background: transparent;
    border: none;
  }

  main ul,
  main ol {
    padding-left: 1.2rem;
  }

  main ul li,
  main ol li {
    padding-left: 0;
  }

  main ul li::before,
  main ol li::before {
    display: none;
  }

  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.95em;
    color: #6b7280;
  }

  .rounded-3xl,
  .rounded-2xl,
  .rounded-full {
    border-radius: 8px !important;
  }

  .hidden {
    display: none !important;
  }

  .flex,
  .grid {
    gap: 10px !important;
  }

  .text-slate-200,
  .text-slate-300,
  .text-slate-400,
  .text-white,
  .text-mist,
  .text-lagoon {
    color: #111827 !important;
  }

  .bg-white\/5,
  .bg-white\/8,
  .bg-white\/10,
  .bg-white {
    background: #ffffff !important;
  }

  img {
    max-width: 65px;
  }

  main > section:last-of-type a {
    display: none !important;
  }

  main > section:last-of-type .shadow-2xl {
    box-shadow: none !important;
  }

  h1,
  h2,
  h3,
  h4 {
    color: #1d4ed8 !important;
    margin-bottom: 6px;
  }

  h2 {
    border-left: 4px solid #2563eb;
    padding-left: 10px;
  }

  .space-y-24 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 20px !important;
  }

  .space-y-10 > :not([hidden]) ~ :not([hidden]),
  .space-y-8 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 14px !important;
  }

  .space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 12px !important;
  }

  p {
    margin-bottom: 6px;
  }
}
