@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/nsktheme/fonts/lato-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/nsktheme/fonts/Lato-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/nsktheme/fonts/OpenSans.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/nsktheme/fonts/OpenSans-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/nsktheme/fonts/FrankRuhlLibre-Medium.woff2") format("woff2");
}

:root {
  --nsk-red: #b93221;
  --nsk-red-dark: #a11a0a;
  --nsk-red-border: #832317;
  --nsk-ink: #231f20;
  --nsk-body: #595957;
  --nsk-rule: #eaeaea;
  --nsk-border: #dddddd;
  --nsk-cream: #f4edde;
  --nsk-paper: #fdfdfd;
  --nsk-pale: #eef0f3;
  --nsk-white: #ffffff;
  --nsk-focus: #ffc100;
  --nsk-shadow: 0 1px 3px rgba(35, 31, 32, 0.08);
}

html {
  background: var(--nsk-ink);
}

body {
  background: var(--nsk-paper);
  color: var(--nsk-ink);
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--nsk-ink);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

a {
  color: var(--nsk-red-dark);
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: var(--nsk-red);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--nsk-focus) !important;
  outline-offset: 3px;
  box-shadow: none !important;
}

::selection {
  background: var(--nsk-cream);
  color: var(--nsk-ink);
}

.container {
  max-width: 1248px;
}

.visually-hidden-focusable a {
  background: var(--nsk-red);
  color: var(--nsk-white);
  font-weight: 700;
  padding: 0.7rem 1rem;
}

/* Utility bar */
.account-masthead {
  min-height: 40px;
  background: var(--nsk-ink);
  border-bottom: 3px solid var(--nsk-red);
  color: var(--nsk-white);
}

.account-masthead .container {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
}

.nsk-utility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--nsk-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nsk-utility-link:hover,
.nsk-utility-link:focus {
  color: var(--nsk-white);
  text-decoration: underline;
}

.nsk-utility-link .fa {
  color: var(--nsk-red);
  font-size: 0.72rem;
}

.account-masthead .account {
  float: none;
  margin-left: auto;
}

.account-masthead .account ul {
  display: flex;
  align-items: stretch;
  margin: 0;
}

.account-masthead .account ul li {
  float: none;
  border-left-color: rgba(255, 255, 255, 0.15);
}

.account-masthead .account ul li a,
.account-masthead .account ul li form button {
  min-height: 37px;
  padding: 0 0.75rem;
  color: var(--nsk-white);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 37px;
  text-decoration: none;
}

.account-masthead .account ul li form button {
  min-width: 42px;
  margin: 0;
}

.account-masthead .account ul li a:hover,
.account-masthead .account ul li a:focus,
.account-masthead .account ul li form button:hover,
.account-masthead .account ul li form button:focus {
  color: var(--nsk-white);
  background: rgba(255, 255, 255, 0.09);
}

/* Header and navigation */
.masthead {
  position: relative;
  z-index: 50;
  padding: 0 !important;
  background: var(--nsk-white);
  border-bottom: 1px solid var(--nsk-rule);
  box-shadow: 0 4px 12px rgba(35, 31, 32, 0.04);
}

.masthead .navbar {
  min-height: 122px;
  padding: 0;
  gap: 1.5rem;
}

.masthead .navbar hgroup {
  flex: 0 0 auto;
  margin: 0;
}

.masthead .navbar hgroup .nsk-brand-heading {
  float: none;
  margin: 0;
  font-size: inherit;
  line-height: normal;
}

.nsk-brand {
  display: inline-flex;
  min-height: 88px;
  align-items: center;
  gap: 1.15rem;
  color: var(--nsk-ink);
  text-decoration: none;
}

.nsk-brand:hover,
.nsk-brand:focus {
  color: var(--nsk-ink);
  text-decoration: none;
}

.nsk-brand__mark {
  position: relative;
  display: block;
  width: 190px;
  height: 88px;
  flex: 0 0 190px;
}

.nsk-brand__icon,
.nsk-brand__wordmark {
  position: absolute;
  display: block;
  max-width: none !important;
}

.nsk-brand__icon {
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
}

.nsk-brand__wordmark {
  right: 0;
  bottom: 0;
  width: 124px;
  height: auto;
}

.nsk-brand__divider {
  width: 1px;
  height: 64px;
  flex: 0 0 1px;
  background: var(--nsk-border);
}

.nsk-brand__portal {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  white-space: nowrap;
}

.nsk-brand__portal strong {
  color: var(--nsk-ink);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nsk-brand__portal small {
  color: var(--nsk-red);
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.masthead .main-navbar {
  align-items: center;
  gap: 0.75rem;
}

.masthead .main-navbar ul {
  padding: 0;
}

.masthead .main-navbar ul li {
  position: relative;
  margin: 0;
}

.masthead .main-navbar ul li a {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0.75rem 0.7rem;
  color: var(--nsk-ink);
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.masthead .main-navbar ul li::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.35rem;
  left: 0.7rem;
  height: 2px;
  background: var(--nsk-red);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.masthead .main-navbar ul li:hover a,
.masthead .main-navbar ul li:focus-within a,
.masthead .main-navbar ul li.active a {
  color: var(--nsk-red);
  background: transparent;
}

.masthead .main-navbar ul li:hover::after,
.masthead .main-navbar ul li:focus-within::after,
.masthead .main-navbar ul li.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.masthead .site-search {
  position: relative;
  width: 190px;
  margin-left: 0.2rem;
}

.masthead .site-search .form-control {
  height: 44px;
  margin: 0 !important;
  padding: 0.55rem 2.8rem 0.55rem 0.8rem;
  border: 1px solid var(--nsk-border);
  border-radius: 0;
  color: var(--nsk-ink);
  font-size: 0.88rem;
}

.masthead .main-navbar .site-search button {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--nsk-red);
}

.masthead .navbar-toggler {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--nsk-red);
}

.masthead .navbar-toggler .fa {
  color: var(--nsk-white) !important;
}

/* Common CKAN components */
.main {
  padding: 2.5rem 0 3.75rem;
  background: #f7f6f3;
}

.toolbar {
  padding: 1.2rem 0 0.8rem;
}

.toolbar .breadcrumb {
  font-size: 0.85rem;
}

.toolbar .breadcrumb a {
  color: var(--nsk-body);
}

.toolbar .breadcrumb .active,
.toolbar .breadcrumb .active a {
  color: var(--nsk-ink);
  font-weight: 700;
}

.wrapper,
.box,
.card,
.module,
.media-grid {
  border-radius: 0;
}

.wrapper {
  overflow: hidden;
  border: 1px solid var(--nsk-rule);
  background: var(--nsk-white);
  box-shadow: var(--nsk-shadow);
}

.wrapper::before {
  border-right-color: var(--nsk-rule);
}

.module-heading,
.module .module-heading {
  padding: 0.85rem 1rem;
  border-color: var(--nsk-rule);
  background: var(--nsk-paper);
  color: var(--nsk-ink);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

.module-content {
  padding: 1.5rem;
}

.page-heading,
.nsk-about .page-heading {
  margin-bottom: 1.2rem;
  color: var(--nsk-ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.14;
}

.btn {
  min-height: 44px;
  border-radius: 0;
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary,
.btn-success {
  background: var(--nsk-red);
  border-color: var(--nsk-red);
  color: var(--nsk-white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background: var(--nsk-red-dark) !important;
  border-color: var(--nsk-red-border) !important;
  color: var(--nsk-white) !important;
}

.btn-secondary,
.btn-default {
  background: var(--nsk-white);
  border-color: var(--nsk-border);
  color: var(--nsk-ink);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-default:hover,
.btn-default:focus {
  background: var(--nsk-white);
  border-color: var(--nsk-red);
  color: var(--nsk-red);
}

.btn-sm {
  min-height: 36px;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"] {
  border-color: var(--nsk-border);
  border-radius: 0;
  color: var(--nsk-ink);
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
  border-color: var(--nsk-red);
  box-shadow: 0 0 0 2px rgba(185, 50, 33, 0.16);
}

.nav-tabs {
  border-bottom-color: var(--nsk-rule);
}

.nav-tabs .nav-link,
.nav-tabs > li > a {
  border-radius: 0;
  color: var(--nsk-body);
}

.nav-tabs .nav-link.active,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
  border-color: var(--nsk-rule) var(--nsk-rule) var(--nsk-white);
  color: var(--nsk-red);
  font-weight: 700;
}

.dataset-list .dataset-item,
.package-list .package-item {
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom-color: var(--nsk-rule);
}

.dataset-heading a,
.package-item .heading a,
.media-heading a {
  color: var(--nsk-red-dark);
}

.dataset-heading a:hover,
.package-item .heading a:hover,
.media-heading a:hover {
  color: var(--nsk-red);
}

.badge,
.tag,
.label {
  border-radius: 0;
}

.tag {
  border-color: var(--nsk-border);
  background: var(--nsk-paper);
  color: var(--nsk-ink);
  box-shadow: none;
}

.tag:hover,
.tag:focus {
  border-color: var(--nsk-red);
  background: var(--nsk-white);
  color: var(--nsk-red);
}

.pagination .page-link,
.pagination > li > a,
.pagination > li > span {
  border-radius: 0 !important;
  color: var(--nsk-red-dark);
}

.pagination .active .page-link,
.pagination > .active > a,
.pagination > .active > span {
  background: var(--nsk-red);
  border-color: var(--nsk-red);
  color: var(--nsk-white);
}

.alert {
  border-radius: 0;
}

/* Homepage */
.nsk-homepage {
  background: var(--nsk-white);
}

.nsk-homepage #content:empty {
  display: none;
}

.nsk-hero {
  position: relative;
  overflow: hidden;
  background: var(--nsk-cream);
  isolation: isolate;
}

.nsk-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(38vw, 580px);
  height: 8px;
  background: var(--nsk-red);
  content: "";
}

.nsk-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.25rem);
}

.nsk-hero__copy {
  max-width: 900px;
}

.nsk-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--nsk-red);
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nsk-hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--nsk-ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2.65rem, 5.4vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.04;
}

.nsk-hero__lead {
  max-width: 690px;
  margin: 1.55rem 0 0;
  color: var(--nsk-body);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.nsk-data-search {
  max-width: 850px;
  margin-top: 2.7rem;
}

.nsk-data-search label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--nsk-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nsk-data-search__controls {
  display: flex;
  box-shadow: 0 10px 30px rgba(35, 31, 32, 0.1);
}

.nsk-data-search__controls .form-control {
  min-width: 0;
  height: 68px;
  flex: 1 1 auto;
  padding: 0 1.3rem;
  border: 2px solid var(--nsk-ink);
  border-right: 0;
  background: var(--nsk-white);
  font-size: 1.05rem;
}

.nsk-data-search__controls .btn {
  display: inline-flex;
  min-width: 166px;
  height: 68px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 2px solid var(--nsk-red);
  font-size: 1rem;
}

.nsk-hero__pattern {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -4rem;
  width: min(38vw, 520px);
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.nsk-hero__pattern::before,
.nsk-hero__pattern::after {
  position: absolute;
  background: var(--nsk-ink);
  content: "";
  opacity: 0.12;
}

.nsk-hero__pattern::before {
  top: 0;
  bottom: 0;
  left: 48%;
  width: 1px;
}

.nsk-hero__pattern::after {
  top: 48%;
  right: 0;
  left: 0;
  height: 1px;
}

.nsk-hero__pattern span {
  position: absolute;
  display: block;
  border: 3px solid var(--nsk-red);
}

.nsk-hero__pattern span:nth-child(1) {
  top: 11%;
  right: 8%;
  width: 180px;
  height: 180px;
}

.nsk-hero__pattern span:nth-child(2) {
  top: 29%;
  right: 34%;
  width: 116px;
  height: 116px;
  border-color: var(--nsk-ink);
  opacity: 0.22;
}

.nsk-hero__pattern span:nth-child(3) {
  right: 20%;
  bottom: 7%;
  width: 238px;
  height: 238px;
}

.nsk-hero__pattern span:nth-child(4) {
  right: 58%;
  bottom: 17%;
  width: 52px;
  height: 52px;
  background: var(--nsk-red);
}

.nsk-hero__pattern span:nth-child(5) {
  top: 8%;
  right: 59%;
  width: 18px;
  height: 18px;
  background: var(--nsk-ink);
  border-color: var(--nsk-ink);
}

.nsk-entry-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--nsk-white);
}

.nsk-section-heading {
  max-width: 720px;
  margin: 0 auto 2.7rem;
  text-align: center;
}

.nsk-section-heading h2,
.nsk-open-section h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.nsk-section-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--nsk-body);
  font-size: 1.08rem;
}

.nsk-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.nsk-entry-card {
  position: relative;
  display: flex;
  min-height: 225px;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--nsk-rule);
  border-top: 4px solid var(--nsk-red);
  background: var(--nsk-white);
  box-shadow: var(--nsk-shadow);
  color: var(--nsk-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nsk-entry-card:hover,
.nsk-entry-card:focus {
  border-color: var(--nsk-red);
  color: var(--nsk-ink);
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.12);
  text-decoration: none;
  transform: translateY(-4px);
}

.nsk-entry-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.45rem;
  background: #f8eae9;
  color: var(--nsk-red);
  font-size: 1.25rem;
}

.nsk-entry-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 2rem;
}

.nsk-entry-card__body strong {
  color: var(--nsk-red-dark);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.25;
}

.nsk-entry-card__body > span {
  color: var(--nsk-body);
  line-height: 1.55;
}

.nsk-entry-card__arrow {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  color: var(--nsk-red);
}

.nsk-open-section {
  padding: clamp(3.7rem, 7vw, 5rem) 0;
  background: var(--nsk-ink);
  color: var(--nsk-white);
}

.nsk-open-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
}

.nsk-open-section h2,
.nsk-open-section p {
  color: var(--nsk-white);
}

.nsk-open-section .nsk-eyebrow {
  color: #f7a9a8;
}

.nsk-open-section__inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
}

.nsk-open-section .btn-outline-light {
  display: inline-flex;
  min-width: 155px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--nsk-white);
  white-space: nowrap;
}

.nsk-open-section .btn-outline-light:hover,
.nsk-open-section .btn-outline-light:focus {
  border-color: var(--nsk-white);
  background: var(--nsk-white);
  color: var(--nsk-ink);
}

.nsk-about {
  max-width: 830px;
  padding: 0.5rem 0 1rem;
}

.nsk-about .lead {
  color: var(--nsk-body);
  font-size: 1.22rem;
  line-height: 1.65;
}

.nsk-about h2 {
  margin-top: 2.2rem;
  font-size: 1.45rem;
}

/* Footer */
.site-footer {
  padding: 0;
  background: var(--nsk-ink);
  border-top: 8px solid var(--nsk-red);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: var(--nsk-white);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #f7a9a8;
}

.nsk-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(150px, 1fr));
  padding: 4.5rem 0 3.5rem;
}

.nsk-footer-grid > * {
  min-width: 0;
  padding: 0 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.nsk-footer-grid > :first-child {
  padding-left: 0;
  border-left: 0;
}

.nsk-footer-grid > :last-child {
  padding-right: 0;
}

.nsk-footer-logo {
  display: block;
  width: 190px;
  margin-bottom: 1.5rem;
}

.nsk-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nsk-footer-brand address {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.65;
}

.nsk-footer-brand > a:last-child {
  overflow-wrap: anywhere;
}

.nsk-footer-nav h2,
.nsk-footer-meta h2 {
  margin: 0 0 1.2rem;
  color: var(--nsk-white);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nsk-footer-nav ul {
  margin: 0;
}

.nsk-footer-nav li + li {
  margin-top: 0.7rem;
}

.nsk-footer-nav a {
  font-size: 0.94rem;
  text-decoration: none;
}

.nsk-footer-nav a:hover,
.nsk-footer-nav a:focus {
  text-decoration: underline;
}

.nsk-footer-meta .lang-select .form-group {
  display: block;
  width: 100%;
  margin: 0;
}

.nsk-footer-meta .lang-select label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nsk-footer-meta .select2-container,
.nsk-footer-meta select {
  width: 100% !important;
  max-width: 210px;
}

.nsk-footer-meta .select2-container .select2-choice {
  min-height: 40px;
  padding-top: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: var(--nsk-white);
  color: var(--nsk-ink);
}

.nsk-footer-powered {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.nsk-footer-powered a {
  text-decoration: underline;
}

.nsk-footer-bottom {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.nsk-footer-bottom p {
  margin: 0;
}

/* Responsive layout */
@media (max-width: 1199.98px) {
  .nsk-brand__mark {
    width: 145px;
    flex-basis: 145px;
  }

  .nsk-brand__icon {
    width: 44px;
    height: 44px;
  }

  .nsk-brand__wordmark {
    width: 96px;
  }

  .nsk-brand__portal strong {
    font-size: 0.95rem;
  }

  .masthead .main-navbar ul li a {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.82rem;
  }

  .masthead .site-search {
    display: none !important;
  }

  .nsk-open-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nsk-open-section__inner .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .nsk-footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .nsk-footer-grid > * {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .masthead .navbar {
    min-height: 82px;
    flex-wrap: nowrap;
    padding: 0;
  }

  .nsk-brand {
    min-height: 64px;
    gap: 0.75rem;
  }

  .nsk-brand__mark {
    width: 100px;
    height: 47px;
    flex-basis: 100px;
  }

  .nsk-brand__icon {
    width: 27px;
    height: 27px;
  }

  .nsk-brand__wordmark {
    width: 62px;
  }

  .nsk-brand__divider {
    height: 40px;
  }

  .nsk-brand__portal strong {
    font-size: 0.9rem;
  }

  .nsk-brand__portal small {
    font-size: 0.76rem;
  }

  .masthead .main-navbar {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 60;
    padding: 0 1rem 1rem;
    background: var(--nsk-white);
    border-top: 1px solid var(--nsk-rule);
    border-bottom: 3px solid var(--nsk-red);
    box-shadow: 0 12px 24px rgba(35, 31, 32, 0.12);
  }

  .masthead .main-navbar ul {
    width: 100%;
  }

  .masthead .main-navbar ul li {
    border-bottom: 1px solid var(--nsk-rule);
  }

  .masthead .main-navbar ul li a {
    min-height: 50px;
    padding: 0.8rem 0.25rem;
    color: var(--nsk-ink);
    font-size: 0.95rem;
  }

  .masthead .main-navbar ul li::after {
    right: auto;
    bottom: 0;
    left: 0;
    width: 44px;
  }

  .masthead .site-search {
    display: flex !important;
    width: 100%;
    margin: 1rem 0 0;
  }

  .nsk-hero__copy,
  .nsk-data-search {
    max-width: 78%;
  }

  .nsk-hero__pattern {
    right: -8rem;
    width: 46vw;
    opacity: 0.55;
  }

  .nsk-entry-grid {
    grid-template-columns: 1fr;
  }

  .nsk-entry-card {
    min-height: 0;
  }

  .nsk-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 0;
  }

  .nsk-footer-grid > * {
    padding: 0 2rem;
  }

  .nsk-footer-grid > :nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .nsk-footer-grid > :nth-child(even) {
    padding-right: 0;
  }
}

@media (max-width: 767.98px) {
  .account-masthead .container {
    padding-right: 0;
  }

  .nsk-utility-link span {
    display: none;
  }

  .nsk-utility-link::before {
    content: "nsk.hr";
  }

  .main {
    padding: 1.5rem 0 2.5rem;
  }

  .main #content > .row.wrapper {
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  .nsk-hero__copy,
  .nsk-data-search {
    max-width: 100%;
  }

  .nsk-hero__pattern {
    right: -12rem;
    width: 70vw;
    opacity: 0.18;
  }

  .nsk-data-search__controls {
    flex-direction: column;
    box-shadow: none;
  }

  .nsk-data-search__controls .form-control {
    height: 60px;
    border: 2px solid var(--nsk-ink);
  }

  .nsk-data-search__controls .btn {
    width: 100%;
    height: 56px;
    min-height: 56px;
    margin-top: 0.65rem;
  }

  .nsk-open-section__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nsk-open-section__inner .btn {
    grid-column: auto;
  }

  .nsk-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 3.5rem 0 2.5rem;
  }

  .nsk-footer-grid > *,
  .nsk-footer-grid > :nth-child(n) {
    padding: 1.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .nsk-footer-grid > :first-child {
    padding-top: 0;
    border-top: 0;
  }

  .nsk-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.35rem 0;
    gap: 0.45rem;
  }
}

@media (max-width: 479.98px) {
  .nsk-brand__divider {
    display: none;
  }

  .nsk-brand__portal {
    display: none;
  }

  .nsk-hero h1 {
    font-size: 2.45rem;
  }

  .nsk-entry-card {
    padding: 1.4rem;
  }

  .nsk-entry-card__arrow {
    right: 1.4rem;
    bottom: 1.4rem;
  }
}

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

  .nsk-entry-card:hover,
  .nsk-entry-card:focus {
    transform: none;
  }
}

@media print {
  .account-masthead,
  .masthead .main-navbar,
  .site-footer,
  .nsk-hero__pattern,
  .nsk-data-search,
  .nsk-open-section {
    display: none !important;
  }

  .masthead {
    border: 0;
    box-shadow: none;
  }

  body,
  .main,
  .nsk-entry-section,
  .nsk-hero {
    background: var(--nsk-white) !important;
  }
}
