.tag:not(body) {
    width: fit-content;
    width: -moz-fit-content;
    height: fit-content;
    height: -moz-fit-content;
    padding: 0 calc(0.2 * var(--standard-vert-spacer)) calc(0.15 * var(--standard-vert-spacer));
    border: 1.75px solid var(--black);
    border-radius: 6px;
    font-weight: 500;
    line-height: 0.9;
    word-spacing: 1px;
}

label.tag:hover {
    background-color:var(--light-grey);
}

label.tag.active:hover {
    background-color:var(--white);
}

.tag:not(body) img {
    height: 1.1rem;
    margin-left: 0.5rem;
    
}

p.tag.background-pink {
    padding: calc(0.1 * var(--standard-vert-spacer)) calc(0.35 * var(--standard-vert-spacer)) calc(0.15 * var(--standard-vert-spacer)) !important;
}





.drop-shadow {
    position: relative;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    clip-path: inset(0px 0px -15px 0px);
    z-index: 999;
}

.drop-shadow-999 {
    position: relative;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    clip-path: inset(0px 0px -15px 0px);
    z-index: 999;
}

.drop-shadow-998 {
    position: relative;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    clip-path: inset(0px 0px -15px 0px);
    z-index: 999;
}

.drop-shadow-997 {
    position: relative;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    clip-path: inset(0px 0px -15px 0px);
    z-index: 997;
}

.drop-shadow-996 {
    position: relative;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    clip-path: inset(0px 0px -15px 0px);
    z-index: 996;
}

.inset-shadow {
    box-shadow: inset 0px 5px 5px -5px rgb(0 0 0 / 15%);
}

.drop-and-inset-shadow {
    position: relative;
}

.drop-and-inset-shadow::after {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0px 5px 5px -5px rgb(0 0 0 / 15%), 0 -5px 5px -5px rgb(0 0 0 / 15%);
    clip-path: inset(0px 0px -15px 0px);
}

.header-description-shadow{
    box-shadow: inset 0px 5px 5px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 15%) !important;
}

.single-people #page-wrapper,
.single-updates #page-wrapper,
.single-press #page-wrapper,
.single-events #page-wrapper  {
    box-shadow: inset 0px 5px 5px -5px rgb(0 0 0 / 15%), 0 -5px 5px -5px rgb(0 0 0 / 15%) !important;
}

#toc-wrapper h3 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

h3 img {
    height: 1.75rem;
    transition: all 0.2s ease-in-out;
}

#toc-wrapper.expanded h3 img {
    transform: rotate(180deg);
}

#toc-wrapper ul {
    transition: all 0.2s ease-in-out;
    margin-top: calc(2*var(--standard-vert-spacer));
}

#toc-wrapper ul a {
    font-size: 3.6rem;
    font-weight: normal;
}

#toc-list > li.visible {
    color: var(--orange) !important;
}

#toc-wrapper.expanded ul {
    max-height: 999vh;
    opacity: 1;
}

.collapsible {
    cursor: pointer;
}

.collapsible-content {
    display: none;
}

.animate,
.animate * {
    transition: all 0.2s ease-in-out;
}

.rotate-180 {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
  }

.tax-places h1 {
    margin-left: calc(2.5 * var(--standard-horiz-spacer));
}

.filters .active {
    background-color: var(--orange);
}

@media screen and (min-width: 991px) {

.block-editor  p,
.block-editor li,
.timeline li,
.timeline p,
.page-template-page-people .person-card-group,
.search-results .person-card-group,
.archive.tag .person-card-group {
    margin-right: 25%;
}

.block-editor.col-2 p{
    margin: 0;

}

.people-template-default.single-people .right-col p {
    margin-right: 25%;
}

}

.single-projects .person-card-excerpt{
    display:none;
}

.block-editor ul {
    list-style: inherit;
    margin-left: 2rem;
}

.block-editor li {
    list-style: inherit;
    padding: initial;
}

.sort-option {
    cursor: pointer;
}

.sort-option.inactive:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
   
}

.sort-option.active {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    font-weight:bold; 
}

.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.pointer {
    cursor: pointer;
}

.gallery-buttons button svg {
    width: var(--sm-type);
    height: var(--sm-type);
}

.gallery-buttons button svg path {
    stroke: black;
}

.gallery-buttons button:hover svg path {
    fill: white;
}

.left-content > div:last-child {
    margin-bottom: 0rem;
}

.left-content > .buttons > div:not(:last-child) {
    margin-bottom: 1rem;
}

.multi-badge{
    padding:1.5rem;
}

.multi-badge p{
line-height:1;
text-decoration-thickness: 2px;
text-underline-offset: 3px;
}

.newest-project::before {
    content: url(../icons/new-sticker.svg);
    position: absolute;
    right: 2rem;
    margin-top: 5rem;
    transform: rotate(10deg);
    z-index: 999;
}

.single-post-image{
    height: 50vh;
    object-fit: cover;
    width: 100%;
}

#toc-wrapper ul a {
    transition: all 0.2s ease;
}

#toc-wrapper ul a:hover {
    opacity: 0.5
}

.scroll-title {
    opacity: 0;
    display: none;
}

.has-orange-background {
    background-color: var(--orange) !important;
}

.breadcrumb-container > div:not(:first-child) {
    margin-top: 0.5rem;
}

/* Mailchimp embed styles */

#mc_embed_signup {
    width: 100% !important;
}

#mc_embed_signup_scroll {
    display: flex;
    flex-direction: column;
}

#mc_embed_signup h2 {
    /* Copying sr-only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

#mc_embed_signup label,
#mc_embed_signup .indicates-required {
    /* Copying small styles */
    font-family: var(--font-mono);
    font-size: var(--sm-type) !important;
    word-spacing: -0.25rem;
    letter-spacing: -0.05rem;
    width: 100%;
}

#mc_embed_signup input:not([type="submit"]) {
    width: 100%;
    outline: none;
    -webkit-appearance: none !important;
    border-radius: 0 !important;
    border-left: 0; border-top: 0; border-right: 0;
    border-style: solid;
    border-color: var(--black);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    padding: 0 !important;
    margin-bottom: 1rem !important;
    /* Modified small styles */
    font-family: var(--font-sans);
    font-size: var(--sm-type) !important;
}

#mc_embed_signup .indicates-required {
    color: var(--orange);
    order: 999;
    margin-top: 2rem;
}

#mc_embed_signup input[type="submit"] {
    margin-top: 2rem;
}