/* For smaller, one-off styling needs that don't fit elsewhere */

.overflow-hidden {
    overflow: hidden;
}

.connections {
    background-color: var(--wp--preset--color--black) !important;
    color: var(--wp--preset--color--white) !important;
    padding: var(--wp--preset--spacing--20);
}

.connections:has(div.no-connections) { 
    padding: 0px !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Adjust this value */
}

.person-headshot {
    object-fit: cover;
    height: 160px !important;
    min-width: 160px;
    min-height: 160px;
    width: 160px;
}

.credit-image {
    object-fit: cover;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    width: 50px;
}

.series-image {
    background-size: cover;
    min-height: 400px;
}


.detail-person-headshot {
    object-fit: cover;
    height: 250px;
    min-width: 250px;
    min-height: 250px;
    width: 250px;
}

div.wp-block-embed__wrapper {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

.wp-block-embed iframe {
    max-width: 100%;
    height: 100%;
}

div.wp-block-embed__wrapper iframe {
    border: 2px solid inherit;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    display: block;
}

.headshot-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-radius-50 {
    border-radius: 50%;
}

:where(.is-layout-flex) {
    gap: 3.125rem;
}

:where(.is-layout-flex) :where(.is-layout-flex) {
    gap: 1.25rem;
}

.wp-block-columns.is-style-vert-rule > .wp-block-column {
    position: relative;
}

.wp-block-columns.is-style-vert-rule > .wp-block-column:not(:last-child)::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 0;
    top: 0;
    right: -1.5625rem;
    border-left: 1px solid;
}

.wp-block-column .featured-content {
    width: 100% !important;
}

.page-template-page-distributaries {
    background-color: var(--wp--preset--color--light-purple);
}

.post-card.distributaries figure img {
    filter: saturate(0) brightness(1.25);
    mix-blend-mode: multiply;
}

.wp-block-embed iframe {
    width: 100%;
}

.wp-block-separator {
    border-width: 1px;
}

.object-fit-contain {
    object-fit: contain;
}

table{
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin:0 !important;
}

#calendar{
    padding:0 !important;
}

th.header-day, tr td.day-boxes span.day-number{
    font-family: "Founders Grotesk", sans-serif;
    font-size: 1rem;
}

tbody tr {
    margin: var(--wp--preset--spacing--40) 0 !important;
}

.day-boxes {
    padding: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--40) 0 !important;
    position:relative;
    border-collapse: collapse;
    height: 60px;
}

.day-boxes.empty {
    border: none;
}

.day-boxes a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.past a {
    color: lightgray;
    text-decoration: none !important;
}

.day a {
    color: lightgray;
    text-decoration: none !important;
}

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

.past.event a {
    color: var(--wp--preset--color--black);
    padding: var(--wp--preset--spacing--20);
}

.clndr-month {
    font-size: 2rem;
    font-family: "Martina Plantijn", serif;
    font-weight: 400;
    font-style: normal;
}

.cal-date {
    font-size: 2rem;
    font-family: "Martina Plantijn", serif;
    font-weight: 400;
    font-style: normal;
}

.today-date {
    font-size: 2rem;
    font-family: "Martina Plantijn", serif;
    font-weight: 400;
    font-style: normal;
}

.clndr .table {
    height: 40vh;
}

.clndr-next-button {
    font-size: 1.5rem;
    font-family: "Martina Plantijn", serif;
    text-align: right;
    padding: var(--wp--preset--spacing--20);
    cursor: pointer;
}

.clndr-previous-button {
    font-size: 1.5rem;
    font-family: "Martina Plantijn", serif;
    text-align: left;
    padding: var(--wp--preset--spacing--20);
    cursor: pointer;
}


.day.event a {
    color: var(--wp--preset--color--black);
    padding: var(--wp--preset--spacing--20);
    border-radius: 100px;
}


.past.event a::before {
    content: " ";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--wp--preset--color--black) !important;
    opacity: .4;
    border-radius: 50px;
    bottom: -5px;
    left: calc(50% - 5px);
}

.day.event a::before {
    content: " ";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--wp--preset--color--black);
    border-radius: 50px;
    bottom: 20%;
    left: calc(50% - 4px);
}

.today.day a {
    text-decoration: none !important;
    color: var(--wp--preset--color--black);
    background-color: var(--wp--preset--color--pale-orange);
    border-radius: 100px;
}

.spanning-dates {
    font-size: 0.8125rem;
    max-width: 280px;
    padding: .5rem .75rem;
    border-radius: 10px;
}

.today.day a::before {
    content: "TODAY";
    position: absolute;
    color: var(--wp--preset--color--white);
    width: 40px;
    height: 16px;
    font-size: .7rem;
    text-transform: uppercase;
    font-family: "Founders Grotesk", sans-serif;
    background-color: red;
    border-radius: 2px;
    top: 5%;
    left: calc(50% - 20px);
}

.today.day.event a::after {
    content: " ";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--wp--preset--color--black);
    border-radius: 50px;
    bottom: 20%;
    left: calc(50% - 4px);
}

.today.day a:hover {
    background-color: #ff937a !important;
    color: var(--wp--preset--color--white) !important;
}

.today.day a:focus {
    background-color: var(--wp--preset--color--black) !important;
    color: var(--wp--preset--color--white) !important;
}

.day.event a:hover {
    background-color: #666666 !important;
    color: var(--wp--preset--color--white) !important;
}

.day.event a:focus, .day.event a:focus-within, .day.event a:focus-visible, .day.event a:active {
    background-color: var(--wp--preset--color--black) !important;
    color: var(--wp--preset--color--white) !important;
    padding: var(--wp--preset--spacing--10);
    padding: var(--wp--preset--spacing--20);
}

.day.event a:focus::before, .day.event a:hover::before {
    background-color: var(--wp--preset--color--white) !important;
}

.today.day.event a:focus::after, .today.day.event a:hover::after {
    background-color: var(--wp--preset--color--white) !important;
}

.day.event.today a:focus::before, .day.event.today a:hover::before {
    background-color: red !important;
}

.simple-btn{
font-size: 110% !important;
}

@media screen and (max-width: 768px) {
    .clndr .table {
        height: 40vh;
    }

    .today.day a::before {
        content: "TODAY";
        position: absolute;
        color: var(--wp--preset--color--white);
        width: 26px;
        height: 11px;
        font-size: .5rem;
        text-transform: uppercase;
        font-family: "Founders Grotesk", sans-serif;
        background-color: red;
        border-radius: 2px;
        top: 15%;
        left: calc(50% - 13px);
    }
}