:root {
  --dw-body-text: #343a40;
  --dw-primary: #2780e3;
  --dw-primary-dark: #1d63b3;
  --dw-primary-soft: rgba(39, 128, 227, 0.12);
  --dw-primary-soft-strong: rgba(39, 128, 227, 0.18);
  --dw-border-subtle: #dee2e6;
  --dw-chip-text-light: #ffffff;
}

div.quarto-post {
  border-bottom: none;
}

.quarto-post .listing-subtitle {
  margin-top: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #6c757d;
}

.quarto-post .listing-subtitle a {
  color: inherit;
  text-decoration: none;
}

.quarto-post .listing-subtitle a:hover {
  color: var(--dw-primary-dark);
  text-decoration: underline;
}

.quarto-container main h2 {
  color: var(--dw-primary);
}

/* Improve title readability when post metadata sits on top of banner images. */
.quarto-title-block .quarto-title-banner {
  position: relative;
  overflow: hidden;
}

.quarto-title-block .quarto-title-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.34) 100%
    );
  pointer-events: none;
}

.quarto-title-block .quarto-title-banner .quarto-title {
  position: relative;
  z-index: 1;
  max-width: min(52rem, 100%);
  margin: 1.25rem 0;
  padding: 1.1rem 1.35rem 1rem;
  background: rgba(0, 0, 0, 0.5);
}

.quarto-title-block .quarto-title-banner .title,
.quarto-title-block .quarto-title-banner .subtitle,
.quarto-title-block .quarto-title-banner .description,
.quarto-title-block .quarto-title-banner .quarto-categories,
.quarto-title-block .quarto-title-banner .quarto-category {
  position: relative;
  z-index: 1;
  color: #fff;
}

.quarto-title-block .quarto-title-banner .title,
.quarto-title-block .quarto-title-banner .description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}


.quarto-title-block .quarto-title-banner .subtitle {
  font-weight: 500;
  margin-top: 0;
}

.quarto-title-block .quarto-title-banner .quarto-category {
  border: 1px solid transparent;
  background: var(--dw-primary);
  color: var(--dw-chip-text-light);
  box-shadow: none;
}

/* Prevent figures from overflowing and causing scroll bars. */
.quarto-figure img.figure-img {
  width: 100%;
  height: auto;
}

/* Figure anchors add visual noise; keep heading anchors only. */
.quarto-figure > .anchorjs-link,
.cell-output-display > .anchorjs-link,
.cell-output-display .quarto-figure > .anchorjs-link {
  display: none;
}

/* Keep generated tables/figures from running into the following paragraph. */
.cell-output-display {
  margin-bottom: 1rem;
}

/* Give tables a little more space before the paragraph that follows them. */
.quarto-container main table,
.quarto-container main .dataTables_wrapper {
  margin-bottom: 1.5rem;
}
.quarto-container main .dataTables_wrapper table {
  margin-bottom: 0;
}

/* Use for compact comparison tables where row separators add visual clutter. */
.table-compact table tbody tr,
.table-compact table tbody td {
  border-top: 0;
  border-bottom: 0;
  padding-top: 4px;
  padding-bottom: 4px;
}

.dw-block-quote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 0.25rem solid var(--dw-primary);
}

.dw-block-quote blockquote {
  border-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.dw-block-quote .blockquote-footer {
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 0;
  text-align: right;
  color: #6c757d;
}

@media (max-width: 767.98px) {
  .quarto-title-block .quarto-title-banner .quarto-title {
    margin: 0.85rem 0;
    padding: 0.95rem 1rem 0.9rem;
  }
}

img.screenshot {
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222);
}
