:root {
    --agenda-button-background-color: var(--link-color,var(--secondary-color,#000));
}
/*** AGENDA COMPONENT STYLES ***/
.agendaComponent,
.agendaContainer .paragraphContainer {
    padding: 0;
}
.agendaContainer .agenda-header,
.agendaContainer .agenda-footer {
    text-align: center;
    padding: 0;
}
.agendaContainer .agenda-header .paragraphCopy:first {
    padding-top: 0;
}
.agendaContainer .agendaTimeZoneSelectorContainer {
    margin-inline: auto;
}
.agendaComponent:has( ~ .agendaComponent) {
    margin-bottom: 1rem;
}
.agendaContainer .section-heading {
    /* padding: 1rem 0; */
}
.agendaContainer .section .title {
    font-family: var(--base-header-font-family);
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: var(--base-h4-font-bold,var(--base-small-headers-font-bold,700));
}
.agendaContainer .section,
.agendaContainer .agenda-item {
    padding: 2rem 0;
}
.agendaContainer .section .section {
    padding: 1rem 0;
}
.agendaContainer .agenda-list,
.agendaContainer .accordion-item {
    margin: 0;
}
.agendaContainer .agenda-item-details > :last-child,
.agendaContainer .agenda-item-details p,
.agendaContainer p:last-of-type:not(.agenda-time-slot:has(+ .agenda-item-details, + .agenda-item-note)):not(.agenda-item-note)
{
    margin-bottom: 0;
}
/* .agendaContainer .agenda-item-details p, */
.agendaContainer .agenda-item-speaker,
.agendaContainer .agenda-item-credits,
.agendaContainer .agenda-item-description .detail-label {
    font-weight: 700;
}

/* background colors and borders */
.agendaContainer .defaultBkgd,
.agendaContainer .agenda-list-banded .agenda-item:nth-of-type(even) {
    background-color: var(--light-background);
}
.agendaContainer .agenda-list-bordered .agenda-item {
    border-top: 1px solid var(--light-background);
    border-bottom: 1px solid var(--light-background);
}
.agendaContainer button {
    background-color: var(--agenda-button-background-color);
}
.agendaContainer button:hover,
.agendaContainer button:focus {
    background-color: oklch(from var(--agenda-button-background-color) calc(l - 0.1) c h);
}

/* text colors */
.agendaContainer .defaultBkgd .title,
.agendaContainer .agenda-time-slot-highlight-all .agenda-time-slot-label {
    color: var(--header-text-color);
}
.agendaContainer .agenda-time-slot-highlight-bold strong.agenda-time-slot-label {
    color: var(--header-text-color);
}
.agendaContainer .agenda-time-slot-highlight-none .agenda-time-slot-label {
    /* color: inherit; */
}
.agendaContainer .paragraphContainer .section-color-dark p {
    color: var(--inverse-text-color);
}
.agendaContainer .paragraphContainer .section-color-light p {
    color: var(--text-color);
}
.agendaContainer .paragraphContainer .section-white-background p {
    color: var(--section-text-color-white);
}
.agendaContainer .paragraphContainer .section-color-background1 p {
    color: var(--section-text-color-bkgd1);
}
.agendaContainer .paragraphContainer .section-color-background2 p {
    color: var(--section-text-color-bkgd2);
}
.agendaContainer .paragraphContainer .section-color-background3 p {
    color: var(--section-text-color-bkgd3);
}
.agendaContainer .paragraphContainer .section-color-background4 p {
    color: var(--section-text-color-bkgd4);
}
.agendaContainer .paragraphContainer .section-color-background5 p {
    color: var(--section-text-color-bkgd5);
}
.agendaContainer .paragraphContainer .section-color-background6 p {
    color: var(--section-text-color-bkgd6,--primary-text-color);
}

/*** TIME ZONE SELECTOR STYLES ***/
.agendaContainer .agendaTimeZoneSelectorContainer select {
    margin-bottom: 0;
}
.agendaContainer .agendaTimeZoneSelectorContainer {
    margin-bottom: 1rem;
}
.agendaContainer .agenda-timezone-select--styled {
    background-color: #fff;
    border: 1px solid var(--text-color);
    border-radius: 0;
    color: var(--text-color);
    color-scheme: light;
}
.agendaContainer .agenda-timezone-select--styled option {
    background-color: #fff;
    color: var(--text-color);
}
.agendaContainer .agenda-timezone-custom {
    position: relative;
    text-align: left;
    width: 100%;
    z-index: 5;
}
.agendaContainer .agenda-timezone-custom-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid var(--text-color);
    border-radius: 0;
    color: var(--text-color);
    display: flex;
    font-family: var(--base-font-family);
    font-size: var(--base-paragraph-size);
    font-weight: var(--base-paragraph-weight, 400);
    min-height: 3rem;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    text-align: left;
    width: 100%;
}
.agendaContainer .agenda-timezone-custom-trigger:hover,
.agendaContainer .agenda-timezone-custom-trigger:focus {
    background: #fff;
    color: var(--text-color);
    outline: 2px solid var(--highliteColor1, var(--link-color));
    outline-offset: 2px;
}
.agendaContainer .agenda-timezone-custom-chevron {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    height: 0.6rem;
    margin-left: 1rem;
    transform: rotate(45deg) translateY(-0.2rem);
    width: 0.6rem;
}
.agendaContainer .agenda-timezone-custom.is-open .agenda-timezone-custom-chevron {
    transform: rotate(225deg) translate(-0.2rem, -0.1rem);
}
.agendaContainer .agenda-timezone-custom-options {
    background: #fff;
    border: 1px solid var(--text-color);
    border-radius: 0;
    display: none;
    left: 0;
    list-style: none;
    margin: 0;
    max-height: 20rem;
    overflow-y: auto;
    padding: 0.25rem 0;
    position: absolute;
    right: 0;
    top: calc(100% - 1px);
    z-index: 100;
}
.agendaContainer .agenda-timezone-custom.is-open .agenda-timezone-custom-options {
    display: block;
}
.agendaContainer .agenda-timezone-custom-options li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.agendaContainer .agenda-timezone-custom-option {
    background: #fff;
    border: 0;
    border-radius: 0;
    color: var(--text-color);
    display: block;
    font-family: var(--base-font-family);
    font-size: var(--base-paragraph-size);
    font-weight: var(--base-paragraph-weight, 400);
    height: auto;
    min-height: 2.75rem;
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    position: relative;
    text-align: left;
    width: 100%;
}
.agendaContainer .agenda-timezone-custom-option:hover,
.agendaContainer .agenda-timezone-custom-option:focus {
    background: var(--light-background, #f4f4f4);
    color: var(--text-color);
    outline: 0;
}
.agendaContainer .agenda-timezone-custom-option.is-selected {
    font-weight: 700;
}
.agendaContainer .agenda-timezone-option-primary,
.agendaContainer .agenda-timezone-option-secondary {
    display: block;
}
.agendaContainer .agenda-timezone-option-secondary {
    font-size: 0.875em;
    font-weight: var(--base-paragraph-weight, 400);
    margin-top: 0.15rem;
}
.agendaContainer .agenda-timezone-custom-option.is-selected::after {
    border-bottom: 2px solid var(--highliteColor1, var(--link-color));
    border-right: 2px solid var(--highliteColor1, var(--link-color));
    content: "";
    height: 0.8rem;
    position: absolute;
    right: 1rem;
    top: 0.7rem;
    transform: rotate(45deg);
    width: 0.4rem;
}

/*** PRINT PAGE STYLES ***/
#agendaPrintPage {
    margin: 0;
    padding: 0;
}
#agendaPrintPage .sr-only,
#agendaPrintPage .section-heading,
#agendaPrintPage .agendaDownloadContainer,
#agendaPrintPage .agendaTimeZoneSelectorContainer,
#agendaPrintPage .agenda-footer {
    display: none !important;
}
#agendaPrintPage .section,
#agendaPrintPage .agenda-item {
    padding: 1rem 0;
}
#agendaPrintPage .title{
    color: var(--text-color);
}
#agendaPrintPage .no-print-preview {
    display: none !important;
}
.agendaContainer .print-preview-only {
    display: none !important;
}
#agendaPrintPage .print-preview-only {
    display: block !important;
}
@media print {

    /* Hide portions of the component that are not meant for print */
    .no-print,
    .no-print-preview,
    #agendaPrintPage .print-preview-only {
        display: none !important;
    }
    body#agendaPrintPage .agendaContainer p {
        font-size: 12px;
    }
    
    /* Avoid breaking agenda items across columns/pages */
    .agenda-item {
        break-inside: avoid;
        -webkit-column-break-inside: avoid; /* Safari fallback */
        border: 1px solid #E9E9E9 !important;
    }

    /* Hide the entire website's normal structure */
    body.print-mode-active > * {
        display: none !important;
    }

    /* Force show ONLY the container with the targeted ID matching our class */
    body.print-mode-active .print-target-element {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    /* Keep backgrounds intact */
    body.print-mode-active * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* Forces the page container margins to 0 */
    @page {
        margin: 0; 
    }

}