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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sd-font);
  font-size: var(--sd-fs-base);
  line-height: 1.55;
  font-weight: 400;
  color: var(--sd-text);
  background: var(--sd-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
svg {
  vertical-align: middle;
}

:is(.fal, .far, .fas, .fab) {
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: var(--sd-orange-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--sd-focus);
  outline-offset: 2px;
}

::selection {
  background: var(--sd-orange);
  color: var(--sd-on-orange);
}

.sd-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sd-skip {
  position: absolute;
  left: var(--sd-space-4);
  top: -60px;
  z-index: 100;
  padding: var(--sd-space-3) var(--sd-space-5);
  background: var(--sd-slate);
  color: #ffffff;
  border-radius: var(--sd-radius-md);
  font-weight: 700;
}

.sd-skip:focus {
  top: var(--sd-space-4);
}

.sd-container {
  width: 100%;
  max-width: calc(var(--sd-container) + 2 * var(--sd-gutter));
  margin-inline: auto;
  padding-inline: var(--sd-gutter);
}

.sd-main {
  flex: 1 0 auto;
  padding-bottom: var(--sd-space-16);
}

.sd-narrow {
  max-width: var(--sd-narrow);
  margin-inline: auto;
}
