/* NS sections - shared tokens, reset and components (2026 redesign). */

.ns-section {
  --ns-primary: #025188;
  --ns-primary-hover: #004272;
  --ns-primary-tint: #eef4f9;
  --ns-focus: rgba(2, 81, 136, 0.45);
  --ns-ink: #1d1d1f;
  --ns-ink-80: #333333;
  --ns-ink-48: #7a7a7a;
  --ns-parchment: #f5f5f7;
  --ns-pearl: #fafafc;
  --ns-hairline: #e0e0e0;
  --ns-radius: 18px;
  --ns-radius-md: 11px;
  --ns-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  background: #fff;
  box-sizing: border-box;
  color: var(--ns-ink);
  font-family: "Dosis", system-ui, sans-serif;
  padding: var(--ns-pad-top, 96px) 24px var(--ns-pad-bottom, 96px);
  -webkit-font-smoothing: antialiased;
}
/* The theme insets every block by the body padding and rounds the banner and footer by 10px;
   a coloured section follows suit so it reads as one of those boxes. */
.ns-section--grey {
  background: var(--ns-parchment);
  border-radius: 10px;
}
.ns-section *,
.ns-section *::before,
.ns-section *::after {
  box-sizing: border-box;
}

/* The theme styles bare headings, paragraphs and links globally - start from a clean slate. */
.ns-section h1,
.ns-section h2,
.ns-section h3,
.ns-section h4,
.ns-section p {
  color: inherit;
  font-family: inherit;
  letter-spacing: normal;
  margin: 0;
  text-transform: none;
}
.ns-section a {
  color: var(--ns-primary);
  text-decoration: none;
}

.ns-section .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.ns-container {
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
  width: 100%;
}

/* Components carry the .ns-section prefix so they outrank the reset above. */
.ns-section .ns-eyebrow {
  color: var(--ns-primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* Section heading block */
.ns-section .ns-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ns-section .ns-head--center {
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  max-width: 900px;
  text-align: center;
}
.ns-section .ns-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.28px;
  line-height: 1.07;
  text-wrap: balance;
}
.ns-section .ns-title--md {
  font-size: clamp(30px, 3.6vw, 40px);
  letter-spacing: 0;
  line-height: 1.1;
}
.ns-section .ns-intro {
  color: var(--ns-ink-80);
  font-size: 17px;
  line-height: 1.47;
  text-wrap: pretty;
}

.ns-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ns-icon {
  display: block;
  flex: none;
}

/* "Nothing scheduled right now" note in place of an empty list or table. */
.ns-section .ns-empty {
  background: #fff;
  border: 1px solid var(--ns-hairline);
  border-radius: var(--ns-radius);
  color: var(--ns-ink-80);
  font-size: 17px;
  line-height: 1.47;
  padding: 24px 28px;
}

/* Buttons */
.ns-section .ns-btn {
  align-items: center;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ns-ease);
}
.ns-section .ns-btn--primary {
  background: var(--ns-primary);
  color: #fff;
}
.ns-section .ns-btn--primary:hover {
  background: var(--ns-primary-hover);
  color: #fff;
}
.ns-section .ns-btn:active {
  transform: scale(0.95);
}

/* Text link with a trailing chevron/arrow */
.ns-section .ns-link {
  align-items: center;
  color: var(--ns-primary);
  display: inline-flex;
  font-size: 17px;
  font-weight: 500;
  gap: 6px;
  line-height: 1.2;
  min-height: 44px;
  padding: 12px 8px;
}
.ns-section .ns-link:hover {
  color: var(--ns-primary-hover);
  text-decoration: underline;
}
.ns-section .ns-link .ns-icon {
  transition: transform 0.2s var(--ns-ease);
}
.ns-section .ns-link:hover .ns-icon {
  transform: translateX(3px);
}

.ns-section a:focus-visible,
.ns-section button:focus-visible {
  border-radius: 9999px;
  box-shadow: 0 0 0 3px var(--ns-focus);
  outline: 0;
}

@media screen and (max-width: 599px) {
  .ns-section {
    padding: var(--ns-pad-top, 64px) 20px var(--ns-pad-bottom, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-section .ns-btn,
  .ns-section .ns-link .ns-icon {
    transition: none;
  }
  .ns-section .ns-btn:active,
  .ns-section .ns-link:hover .ns-icon {
    transform: none;
  }
}
