*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  font-size: var(--f-s_root);
}

@media (prefers-reduced-motion: no-preference) {

:root {
    scroll-behavior: smooth
}
  }

body {
  margin: 0;
  font-family: var(--body-ff, var(--f-f));
  font-size: var(--body-fs, var(--f-s_base));
  font-weight: var(--body-fw, var(--f-w_normal));
  line-height: var(--body-lh, var(--l-h));
  color: var(--body_c);
  background-color: var(--body_bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: inherit;
}

hr {
  margin: var(--hr-my) 0;
  color: var(--hr-c);
  border: 0;
  border-top: var(--hr-bw) solid var(--hr-bc);
  opacity: var(--hr-opacity);
}

/* Reset margins on paragraphs */
p {
  margin-top: 0;
  margin-bottom: var(--spacer);
}
p:last-of-type {
    margin-bottom: 0;
  }

/* Abbreviations */
abbr[title] {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

/* Address */
address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

/* Lists */
:where(ol, ul) {
  padding-left: var(--ul-ps, 2rem);
}

:where(ol, ul, dl) {
  margin-top: 0;
  margin-bottom: var(--ul-mb, 1rem);
}

:where(ol ol, ul ul, ol ul, ul ol) {
  --ul-mb: 0;
}

dt {
  font-weight: var(--dt-font-weight, 500);
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

/* Blockquote */
blockquote {
  margin: 0 0 1rem;
}

/* Strong */
:where(b, strong) {
  font-weight: var(--f-w_bolder);
}

:where(small, .small) {
  font-size: var(--f-s_sm);
}

:where(mark, .mark) {
  padding: var(--mark-padding, 0.1875em);
  background-color: var(--highlight-bg, --color-gray-200);
}

:where(sub, sup) {
  position: relative;
  font-size: var(--sub-sup-font-size, 0.75em);
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}

/* Links */
:where(a) {
  --_link_c: var(--link_c, var(--c-primary-500));
  --_link_c_h: var(--link_c_h, var(--c-primary-800));
  --_link_d: var(--link_d, underline);
  --_link_d_h: var(--link_d_h, var(--_link_d));
  --_a_t-type: var(--a_t-type, linear);
  --_a_t-duration: var(--a_t-duration, var(--t-t));

  color: var(--_link_c);
  -webkit-text-decoration: var(--_link_d);
  text-decoration: var(--_link_d);
  transition: color var(--_a_t-duration) var(--_a_t-type);
}
:where(a):hover {
    --_link_c: var(--_link_c_h);
    --_link_d: var(--_link_d_h);
  }
:where(a):not([href]) {
    --_link_c: var(--link_c_not-href, inherit);
    --_link_d: var(--link_d_not-href, var(--_link_d));
  }
:where(a):not([href]):hover {
      --_link_c: var(--link_c_h_not-href, inherit);
      --_link_d: var(--link_d_h_not-href, var(--_link_d));
    }

/* Code */
pre,
code,
kbd,
samp {
  font-family: var(--f-f-code);
  font-size: 1em;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: var(--f-f-code);
  color: var(--pre-color, currentColor);
}

pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
  }

code {
  font-size: var(--code-font-size, 1rem);
  color: var(--code-color, inherit);
  word-wrap: break-word;
}

kbd {
  padding: var(--kbd-padding-y, 0.1875rem) var(--kbd-padding-x, 0.375rem);
  font-size: var(--kbd-font-size, --f-s_sm);
  color: var(--kbd-color, currentColor);
  background-color: var(--kbd-bg, --body_bg);
  border-radius: var(--br-sm);
}

kbd kbd {
    padding: 0;
    font-size: 1em;
    font-weight: var(--nested-kbd-font-weight, inherit);
  }

/* Figures */
figure {
  margin: 0 0 1rem;
}

/* Images and content */
img,
svg {
  vertical-align: middle;
}

/* Tables */
table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: var(--table-cell-padding-y, 0.5rem);
  padding-bottom: var(--table-cell-padding-y, 0.5rem);
  color: var(--table-caption-color, currentColor);
  text-align: left;
}

th {
  font-weight: var(--table-th-font-weight, --f-w_semibold);
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

/* Forms */
label {
  display: inline-block;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

:where(input:not(.button), select, optgroup, textarea) {
  --_f-e_w: var(--f-e-w, 100%);

  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  width: var(--_f-e_w);
}

@supports (width: stretch) {

:where(input:not(.button), select, optgroup, textarea) {
    --_f-e_w: var(--f-e-w, stretch)
}
  }


:where(button, select) {
  text-transform: none;
}

[role='button'] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}

select:disabled {
    opacity: 1;
  }

[list]
  :not([type='date'])
  :not([type='datetime-local'])
  :not([type='month'])
  :not([type='week'])
  :not([type='time'])
  ::-webkit-calendar-picker-indicator {
  display: none !important;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

button:not(:disabled), [type='button']:not(:disabled), [type='reset']:not(:disabled), [type='submit']:not(:disabled) {
    cursor: pointer;
  }

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

textarea {
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: var(--legend-margin-bottom, 0.5rem);
  font-size: var(--legend-font-size, 1.5rem);
  font-weight: var(--legend-font-weight, bold);
  line-height: inherit;
}

legend + * {
    clear: left;
  }

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button {
  height: auto;
}

[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: textfield;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::file-selector-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

iframe {
  border: 0;
}

/* Summary */
summary {
  display: flex;
  cursor: pointer;
}

/* Progress */
progress {
  vertical-align: baseline;
}

/* Hidden attribute */
[hidden] {
  display: none !important;
}

.views-view-responsive-grid .node_view-mode_search-result mark, .views-view-responsive-grid .node_view-mode_search-result .mark {
    padding: 0;
    background-color: var(--c-primary);
  }
