/* Public Events, Links, and analyst-directory presentation. */

#top .jpa-public-events-page,
#top .jpa-analyst-landing,
#top .jpa-analyst-directory-page {
    color: #2b2b2b;
}

#top .jpa-public-events-page .em,
#top.single-event .em {
    --accent-color: #414141;
    --accent-color-hover: #d28c2a;
}

#top .jpa-public-events-page [id],
#top .jpa-analyst-landing [id],
#top .jpa-analyst-directory-page [id] {
    scroll-margin-top: 145px;
}

#top .jpa-public-events-page .jpa-events-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin: 1rem 0 3.5rem;
}

#top .jpa-public-events-page .jpa-events-lede,
#top .jpa-analyst-landing .jpa-analyst-lede {
    color: #414141;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.6;
}

#top .jpa-public-events-page .jpa-events-quote {
    margin: 0;
    padding: 1.4rem 1.5rem;
    border-left: 5px solid #d28c2a;
    background: #f7edde;
    color: #414141;
    font-size: 1rem;
    line-height: 1.65;
}

#top .jpa-public-events-page .jpa-events-quote cite {
    display: block;
    margin-top: .7rem;
    color: #d28c2a;
    font-size: .82rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#top .jpa-public-events-page .jpa-events-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1.4rem 0 0;
}

#top .jpa-public-events-page .jpa-events-quicklinks a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .65rem .9rem;
    border: 1px solid #e9c691;
    border-radius: 2px;
    background: #fff;
    color: #2b2b2b;
    font-weight: 700;
    text-decoration: none;
}

#top .jpa-public-events-page .jpa-events-quicklinks a:hover,
#top .jpa-public-events-page .jpa-events-quicklinks a:focus {
    border-color: #d28c2a;
    color: #d28c2a;
}

#top .jpa-public-events-page .jpa-event-section-heading {
    margin-top: 4rem;
}

#top .jpa-public-events-page .em-view-container {
    margin-top: 1.25rem;
}

#top .jpa-public-events-page .em-events-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    color: #5a5a5a;
    font-size: 1rem;
}

#top .jpa-public-events-page .jpa-event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 2.5vw, 1.8rem);
    border: 1px solid #e9c691;
    border-top: 4px solid #d28c2a;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(43, 43, 43, .07);
}

#top .jpa-public-events-page .jpa-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .8rem;
    margin-bottom: .75rem;
    color: #d28c2a;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

#top .jpa-public-events-page .jpa-event-card h3 {
    margin: 0 0 .8rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.3;
}

#top .jpa-public-events-page .jpa-event-card h3 a {
    color: #2b2b2b !important;
    text-decoration: none;
}

#top .jpa-public-events-page .jpa-event-card h3 a:hover,
#top .jpa-public-events-page .jpa-event-card h3 a:focus {
    color: #d28c2a !important;
}

#top .jpa-public-events-page .jpa-event-card__location {
    margin: 0 0 1rem;
    color: #666;
}

#top .jpa-public-events-page .jpa-event-card__link {
    align-self: flex-start;
    margin-top: auto;
    color: #414141 !important;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #d28c2a;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

#top .jpa-public-events-page .jpa-event-card__link:hover,
#top .jpa-public-events-page .jpa-event-card__link:focus {
    color: #d28c2a !important;
}

#top .jpa-public-events-page .jpa-events-location-note,
#top .jpa-public-events-page .jpa-events-subscribe {
    margin: 2rem 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-left: 5px solid #d28c2a;
    background: #f7edde;
}

#top .jpa-public-events-page .jpa-legacy-events {
    color: #4d4d4d;
    line-height: 1.75;
}

#top .jpa-analyst-landing .jpa-analyst-intro {
    max-width: 58rem;
    margin-bottom: 2.5rem;
}

#top .jpa-directory-choice {
    min-height: 300px;
    margin-bottom: 3rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid #e9c691;
    border-top: 5px solid #d28c2a;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(43, 43, 43, .08);
}

#top .jpa-directory-choice--ait {
    border-top-color: #414141;
}

#top .jpa-directory-choice .av-special-heading {
    margin-top: 0;
}

#top .jpa-directory-choice .avia-button-wrap {
    margin-top: 1.25rem;
}

#top .jpa-analyst-directory-page .jpa-directory-intro {
    max-width: 62rem;
    margin-bottom: 1.7rem;
}

#top .jpa-analyst-directory-page .jpa-directory-note {
    margin: 1.3rem 0 2rem;
    padding: 1.2rem 1.35rem;
    border-left: 4px solid #d28c2a;
    background: #f7edde;
    color: #414141;
}

#top .jpa-analyst-directory-page .jpa-fee-key {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .9rem 0 0;
    padding: 0;
    list-style: none;
}

#top .jpa-analyst-directory-page .jpa-fee-key li {
    margin: 0;
    padding: .45rem .7rem;
    border: 1px solid #e9c691;
    border-radius: 999px;
    background: #fff;
    font-size: .85rem;
}

#top .jpa-analyst-directory-page .jpa-analyst-directory {
    margin-top: 1.5rem;
}

#top .jpa-analyst-directory .taglist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem .4rem;
    margin: 0 0 1.4rem;
    padding: 0;
}

#top .jpa-analyst-directory .taglist .tag-tab {
    display: block;
    flex: 0 0 auto;
    margin: 0;
}

#top .jpa-analyst-directory .taglist .tag-seperator {
    display: none;
}

#top .jpa-analyst-directory .taglist a {
    min-width: 36px;
    margin: 0;
    padding: .45rem .6rem;
    border: 1px solid #e9c691;
    border-radius: 2px;
    background: #f7edde;
    color: #2b2b2b;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

#top .jpa-analyst-directory .taglist a:hover,
#top .jpa-analyst-directory .taglist a:focus,
#top .jpa-analyst-directory .taglist a.activeFilter {
    border-color: #d28c2a;
    background: #d28c2a;
    color: #fff;
}

#top .main_color .jpa-analyst-directory.av-minimal-toggle .single_toggle .toggler {
    padding: .85rem 3.5rem .85rem 1rem;
    background: #cacaca;
    color: #2b2b2b;
    font-size: 1rem;
    font-weight: 700;
    opacity: 1;
}

#top .jpa-analyst-directory .single_toggle {
    margin-bottom: .55rem;
    border: 1px solid #e9c691;
    border-radius: 2px;
    background: #fff;
}

#top .jpa-analyst-directory .toggler {
    min-height: 52px;
    padding: .85rem 3rem .85rem 1rem;
    border: 0;
    background: #fff;
    color: #2b2b2b;
    font-size: 1rem;
    font-weight: 700;
}

#top .main_color .jpa-analyst-directory.av-minimal-toggle .single_toggle .toggler:hover,
#top .main_color .jpa-analyst-directory.av-minimal-toggle .single_toggle .toggler:focus,
#top .main_color .jpa-analyst-directory.av-minimal-toggle .single_toggle .toggler.activeTitle {
    background: #f7edde;
    color: #d28c2a;
    opacity: 1;
}

#top .main_color .jpa-analyst-directory .toggler .toggle_icon {
    right: 1rem;
    left: auto;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-color: #2b2b2b;
}

#top .main_color .jpa-analyst-directory .toggler .toggle_icon .vert_icon,
#top .main_color .jpa-analyst-directory .toggler .toggle_icon .hor_icon {
    border-color: #2b2b2b;
}

#top .main_color .jpa-analyst-directory .toggler.activeTitle .toggle_icon .vert_icon {
    border: 0;
}

#top .jpa-analyst-directory .toggle_content {
    padding: 1.15rem 1.25rem 1.35rem;
    border: 0;
    border-top: 1px solid #e9c691;
    background: #fff;
    color: #414141;
    line-height: 1.7;
}

#top .jpa-analyst-directory .jpa-analyst-profile a {
    overflow-wrap: anywhere;
    font-weight: 600;
}

#top .jpa-analyst-directory.jpa-directory-filters-ready .taglist {
    display: none;
}

#top .jpa-directory-filter-panel {
    margin: 1.5rem 0 1rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid #e9c691;
    border-radius: 3px;
    background: #f7edde;
}

#top .jpa-directory-filter-panel .jpa-filter-alphabet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

#top .jpa-directory-filter-panel .jpa-filter-label {
    flex: 0 0 100%;
    color: #2b2b2b;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

#top .jpa-directory-filter-panel button.jpa-letter-filter {
    min-width: 38px;
    height: 38px;
    margin: 0;
    padding: 0 .65rem;
    border: 1px solid #e9c691;
    border-radius: 2px;
    background: #fff;
    color: #2b2b2b;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
}

#top .jpa-directory-filter-panel button.jpa-letter-filter:hover,
#top .jpa-directory-filter-panel button.jpa-letter-filter:focus,
#top .jpa-directory-filter-panel button.jpa-letter-filter[aria-pressed="true"] {
    border-color: #d28c2a;
    background: #d28c2a;
    color: #fff;
}

#top .jpa-directory-filter-panel .jpa-filter-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

#top .jpa-directory-filter-panel .jpa-filter-field {
    display: block;
    margin: 0;
    color: #2b2b2b;
    font-size: .82rem;
    font-weight: 700;
}

#top .jpa-directory-filter-panel .jpa-filter-field select {
    width: 100%;
    min-height: 44px;
    margin: .35rem 0 0;
    padding: .55rem 2rem .55rem .7rem;
    border: 1px solid #e9c691;
    border-radius: 2px;
    background-color: #fff;
    color: #2b2b2b;
    font-weight: 400;
}

#top .jpa-directory-filter-panel .jpa-filter-field select:disabled {
    background-color: #e5e6df;
    color: #686868;
    cursor: not-allowed;
}

#top .jpa-directory-filter-panel .jpa-filter-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
}

#top .jpa-directory-filter-panel .jpa-filter-status,
#top .jpa-directory-filter-panel .jpa-filter-note {
    margin: 0;
}

#top .jpa-directory-filter-panel .jpa-filter-status {
    color: #2b2b2b;
    font-weight: 700;
}

#top .jpa-directory-filter-panel button.jpa-filter-reset {
    margin: 0;
    padding: .55rem .8rem;
    border: 1px solid #d28c2a;
    border-radius: 2px;
    background: transparent;
    color: #d28c2a;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
}

#top .jpa-directory-filter-panel button.jpa-filter-reset:hover,
#top .jpa-directory-filter-panel button.jpa-filter-reset:focus {
    background: #d28c2a;
    color: #fff;
}

#top .jpa-directory-filter-panel .jpa-filter-note {
    flex: 0 0 100%;
    color: #595959;
    font-size: .78rem;
    line-height: 1.55;
}

#top .jpa-analyst-directory .av_toggle_section[hidden],
#top .jpa-directory-empty[hidden] {
    display: none !important;
}

#top .jpa-directory-empty {
    margin: 1rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid #d28c2a;
    background: #f7edde;
    color: #2b2b2b;
}

/* Links, resources, and contact directories. */
#top:is(.page-id-10723, .page-id-104) .jpa-links-intro {
    box-sizing: border-box;
    padding: clamp(1.5rem, 3vw, 2.4rem) !important;
    border-left: 6px solid #d28c2a;
    background: #f7edde;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-intro .av-special-heading,
#top:is(.page-id-10723, .page-id-104) .jpa-links-card .av-special-heading,
#top:is(.page-id-10723, .page-id-104) .jpa-links-section-intro .av-special-heading {
    margin-top: 0;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-kicker,
#top:is(.page-id-10723, .page-id-104) .jpa-links-card-kicker {
    margin: 0 0 .55rem;
    color: #d28c2a;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.35;
    text-transform: uppercase;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-kicker p,
#top:is(.page-id-10723, .page-id-104) .jpa-links-card-kicker p {
    margin: 0;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-intro h2 {
    margin: 0 0 .75rem;
    color: #2b2b2b;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.25;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-lede p {
    margin: 0;
    color: #414141;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.65;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-artwork {
    box-sizing: border-box;
    padding: 0 !important;
    background: #ffffff;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-artwork .avia-image-container {
    margin: 0;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-artwork img {
    display: block;
    width: 100%;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-artwork-caption {
    padding: .8rem .15rem 0;
    color: #5a5a5a;
    font-size: .75rem;
    line-height: 1.5;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-artwork-caption p {
    margin: 0;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-section-intro {
    margin-top: clamp(2.25rem, 5vw, 4rem);
    margin-bottom: 1.25rem;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-section-intro h2 {
    margin: 0 0 .35rem;
    color: #2b2b2b;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-section-copy p {
    margin: 0;
    color: #525252;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-card {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 2.7vw, 2rem) !important;
    padding-bottom: 6.5rem !important;
    border-left: 6px solid #d28c2a;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(43, 43, 43, .09);
    transition: box-shadow .2s ease, transform .2s ease;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-card:hover {
    box-shadow: 0 17px 36px rgba(43, 43, 43, .14);
    transform: translateY(-3px);
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-card h2 {
    margin: 0 0 .75rem;
    color: #2b2b2b;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.25;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-card-copy p {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.65;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-card > .jpa-links-button {
    position: absolute;
    bottom: clamp(1.25rem, 2.7vw, 2rem);
    left: clamp(1.25rem, 2.7vw, 2rem);
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-button a.avia-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .82rem 1.2rem;
    border: 2px solid #414141;
    border-radius: 3px;
    background: #414141;
    box-shadow: 0 4px 0 #2b2b2b;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-button a.avia-button::after {
    content: "\2197";
    font-size: 1.05em;
    line-height: 1;
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-button a.avia-button:hover,
#top:is(.page-id-10723, .page-id-104) .jpa-links-button a.avia-button:focus {
    border-color: #e9c691;
    background: #d28c2a;
    box-shadow: 0 4px 0 #e9c691;
    color: #ffffff;
    transform: translateY(-1px);
}

#top:is(.page-id-10723, .page-id-104) .jpa-links-button a.avia-button:focus-visible {
    outline: 3px solid #2b2b2b;
    outline-offset: 3px;
}

@media only screen and (max-width: 989px) {
    #top .jpa-public-events-page .jpa-events-intro {
        grid-template-columns: 1fr;
    }

    #top .jpa-directory-filter-panel .jpa-filter-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    #top .jpa-public-events-page .em-events-list {
        grid-template-columns: 1fr;
    }

    #top .jpa-directory-choice {
        min-height: 0;
    }

    #top .jpa-directory-filter-panel .jpa-filter-fields {
        grid-template-columns: 1fr;
    }

    #top:is(.page-id-10723, .page-id-104) .jpa-links-intro,
    #top:is(.page-id-10723, .page-id-104) .jpa-links-artwork,
    #top:is(.page-id-10723, .page-id-104) .jpa-links-card {
        margin-bottom: 1.5rem;
    }

    #top:is(.page-id-10723, .page-id-104) .jpa-links-card {
        padding-bottom: 1.4rem !important;
    }

    #top:is(.page-id-10723, .page-id-104) .jpa-links-card > .jpa-links-button {
        position: static;
        margin-top: 1.1rem;
    }
}
