mark {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
        to right,
        rgba(255, 215, 80, 0.3),
        rgba(255, 215, 80, 0.8) 4%,
        rgba(255, 215, 80, 0.6)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: inherit;
}

.sidebar nav[role="doc-toc"] ul > li > a.active {
    background-color: rgba(255, 215, 80, 0.5);
    font-weight: bold;
}

/* for hiding Polis result charts */
summary {
    padding: 0.5rem;
    background-color: rgb(229, 229, 229) !important;
    color: black !important;
    font-size:1rem;
}

/* for styling Observable Plot legends */
.legend-swatch {
    font-size: 1rem;
}

/* for increasing top-of-page title size */
.title {
  font-size: 3rem;
}
