/* edit this file to add custom styles */

/* Hero banner for title page */
.hero-banner {
  background: transparent;
  border-radius: 0;
  margin: -1rem -1rem 2rem -1rem;
  padding: 1rem;
}

.hero-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd74f, transparent);
  margin: 1rem auto;
  width: 40%;
}

.hero-content table {
  margin: 1rem auto;
  font-size: 0.95rem;
}

.hero-content table.borderless td,
.hero-content table.borderless th {
  border: none;
  padding: 0.25rem 0.75rem;
}

.inline-figure { border: none; }
.quarto-cover-image { display: block; }
/* named colours */
:root {
  --red: #d00000;
  --yellow: #ffd74f;
}

/* ── Dark-mode overrides for style.css hardcoded values ─────────────────── */
/* Quarto adds data-bs-theme="dark" to <html> when dark mode is active.     */
[data-bs-theme="dark"] .hero-content hr {
  background: linear-gradient(90deg, transparent, #ffd74f80, transparent);
}

[data-bs-theme="dark"] .hero-content table {
  color: #e0e0e0;
}

[data-bs-theme="dark"] div.csl-entry a {
  color: #5ca8c4;
}

[data-bs-theme="dark"] .button-61:disabled {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
}

/* Glossary popups in dark mode */
[data-bs-theme="dark"] a.glossary {
  color: #e63946;
}

[data-bs-theme="dark"] a.glossary .def {
  background-color: #2a2a4a;
  color: #e0e0e0;
  border: 1px solid #3d3d5c;
}

[data-bs-theme="dark"] a.glossary:active .def::after {
  border-color: #2a2a4a transparent transparent transparent;
}

/* rainbow borders — disabled */



/* Download button groups — horizontal flex layout */
.btn-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.btn-downloads p {
  margin: 0;
  display: contents;
}

.btn-downloads .downloadthis {
  font-size: 0.85rem;
  white-space: nowrap;
}

div.csl-entry {
  margin-top: 1rem;
}

div.csl-entry a::before {
  content: "\a";
  white-space: pre;
}

div.csl-entry a {
  color: var(--bs-indigo);
}

/* CSS */
.button-61 {
    align-items: center;
    appearance: none;
    border-radius: 4px;
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 1px -2px,rgba(0, 0, 0, .14) 0 2px 2px 0,rgba(0, 0, 0, .12) 0 1px 5px 0;
    box-sizing: border-box;
    color: var(--bs-white);
    cursor: pointer;
    display: inline-flex;
    font-family: Roboto,sans-serif;
    font-size: .875rem;
    font-weight: 500;
    height: 36px;
    justify-content: center;
    letter-spacing: .0892857em;
    line-height: normal;
    min-width: 64px;
    outline: none;
    overflow: visible;
    padding: 0 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    will-change: transform,opacity;
  }

  .button-61:hover {
    box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
  }

  .button-61:disabled {
    background-color: rgba(0, 0, 0, .12);
    box-shadow: rgba(0, 0, 0, .2) 0 0 0 0, rgba(0, 0, 0, .14) 0 0 0 0, rgba(0, 0, 0, .12) 0 0 0 0;
    color: rgba(0, 0, 0, .37);
    cursor: default;
    pointer-events: none;
  }

  .button-61:not(:disabled) {
    background-color: var(--bs-primary);
  }

  .button-61:focus {
    box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
  }

  .button-61:active {
    box-shadow: rgba(0, 0, 0, .2) 0 5px 5px -3px, rgba(0, 0, 0, .14) 0 8px 10px 1px, rgba(0, 0, 0, .12) 0 3px 14px 2px;
    background: var(--bs-primary);
  }


