/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * Generic elements.
 */

::selection {
  background: var(--admin-color-primary-soft-hover);
}

html {
  font-family: var(--admin-font-family);
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
  line-height: var(--admin-line-height);
  scroll-padding-block-start: var(--admin-theme-scroll-offset) !important;
  color-scheme: light; /* Can be overridden by inline styles. */
}

body {
  overflow-x: hidden;
  word-wrap: break-word;
  hyphens: auto;
  color: var(--admin-color-text);
  background: var(--app-bg-color);

  @media (--admin-large) {
    overflow-x: auto;
  }
}

a,
.link,
button.link {
  word-wrap: break-word;
  color: var(--admin-color-primary);
  overflow-wrap: break-word;
  text-decoration-style: var(--admin-link-decoration-style);
}

*|*:any-link:not(svg|a) {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-decoration-style: var(--admin-link-decoration-style);
}

a:hover,
a:focus,
.link:hover,
.link:focus {
  -webkit-text-decoration: none;
  text-decoration: none;
}

a:hover,
.link:hover {
  color: var(--admin-color-link-hover);
}

a:active,
.link:active {
  color: var(--admin-color-link-active);
}

hr {
  height: 1px;
  margin: var(--admin-space-xl) 0;
  padding: 0;
  border: none;
  background: var(--admin-color-border);
}

summary {
  font-weight: bold;
}

/**
 * Reusable heading classes are included to help modules change the styling of
 * headings on a page without affecting accessibility.
 */

h1,
.heading-a {
  margin: var(--admin-space-m) 0 var(--admin-space-s);
  letter-spacing: -0.025em;
  font-size: var(--admin-font-size-h1);
  font-weight: var(--admin-font-weight-normal);
  line-height: var(--admin-line-height-heading);
}

h2,
.heading-b {
  margin: var(--admin-space-m) 0 var(--admin-space-s);
  letter-spacing: -0.025em;
  font-size: var(--admin-font-size-h2);
  font-weight: var(--admin-font-weight-normal);
  line-height: var(--admin-line-height-heading);
}

h3,
.heading-c {
  margin: var(--admin-space-m) 0 var(--admin-space-s);
  letter-spacing: -0.025em;
  font-size: var(--admin-font-size-h3);
  font-weight: var(--admin-font-weight-normal);
  line-height: var(--admin-line-height-heading);
}

h4,
.heading-d {
  margin: var(--admin-space-m) 0 var(--admin-space-s);
  font-size: var(--admin-font-size-h4);
  font-weight: bold;
  line-height: var(--admin-line-height-heading);
}

h5,
.heading-e {
  margin: var(--admin-space-m) 0 var(--admin-space-s);
  font-size: var(--admin-font-size-h5);
  font-weight: bold;
  line-height: var(--admin-line-height-heading);
}

h6,
.heading-f {
  margin: var(--admin-space-m) 0 var(--admin-space-s);
  font-size: var(--admin-font-size-h6);
  font-weight: bold;
  line-height: var(--admin-line-height-heading);
}

p {
  margin: 1em 0;
}

dl {
  margin: 0 0 1.25rem;
}

dl dd,
dl dl {
  margin-block-end: 0.625rem;
  margin-inline-start: 1.25rem;
}

blockquote {
  position: relative;
  margin: var(--admin-space-m);
  padding-inline-start: var(--admin-space-l);
  font-size: var(--admin-font-size-quote);

  &::before {
    position: absolute;
    display: block;
    width: 0.25rem;
    height: 100%;
    content: "";
    color: var(--admin-color-link);
    border-radius: 2px;
    background-color: var(--admin-color-primary);
    font-family: var(--admin-font-family-serif);
    font-size: var(--admin-space-2xl);
    line-height: 1em;
    inset-block-start: 0;
    inset-inline-start: 0;
  }

  &::after {
    content: no-close-quote;
  }
}

address {
  font-style: italic;
}

u,
ins {
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

s,
strike,
del {
  -webkit-text-decoration: line-through;
  text-decoration: line-through;
}

big {
  font-size: larger;
}

small {
  font-size: smaller;
}

sub {
  vertical-align: sub;
  font-size: smaller;
  line-height: normal;
}

sup {
  vertical-align: super;
  font-size: smaller;
  line-height: normal;
}

abbr,
acronym {
  border-bottom: dotted 1px;
}

ul {
  margin-block: 0.25em;
  margin-inline: 1.5em 0;
  padding-inline-start: 0;
  list-style-image: none;
}

ol {
  margin-block: 0.25em;
  margin-inline: 2em 0;
  padding: 0;
}

code {
  margin: 0.5em 0;
}

pre {
  margin: 0.5em 0;
  white-space: pre-wrap;
}

details {
  line-height: var(--details-line-height);

  & summary {
    padding: var(--admin-space-m);
  }
}

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

/**
 * Default focus styles for focused elements.
 *
 * This is applied globally to all interactive elements except Toolbar and
 * Settings Tray since they have their own styles.
 */

.page-wrapper *:focus,
.ui-dialog *:focus {
  outline: var(--focus-outline);
}

/**
 * These elements should not be displayed until they are processed by
 * JavaScript, and views-ui-noscript.css exists so browsers without JavaScript
 * will still display them.
 */

.views-tabs,
.views-display-top > input.button {
  display: none;
}

/* Set a dark color scheme to style native browser elements. */

.gin--dark-mode {
  color-scheme: dark;
}

/* Enforcing colors on visually hidden text does not change anything for the
   user, but it prevents accessibility scanners like Wave from reporting contrast
   errors on visually hidden elements. While this is certainly an issue with the
   scanners and not Gin, this ensures that scans provide an accurate account of
   Gin's contrast support. */

.visually-hidden {
  color: #000;

  .gin--dark-mode & {
    color: #fff;
  }

  &.skip-link {
    color: var(--admin-color-text-on-primary);
  }
}
