/* =================================================================
   Upcoming Congress Events – stylesheet
   Figma: B-L | Bausch.com 26 | Node 1050-59906
   ================================================================= */

/*Design Tokens*/
:root {
    --dark-blue: #336699;
    --dark-teal: #03838c;
    --dark-slate: #262626;
    --grey: #666666;
    --light-blue: #e6f4fe;
    --light-green: #f1faf5;
    --white: #ffffff;
    --bl-white: #ffffff;
    --shadow-card: 0px 0px 2.5px rgba(0, 0, 0, 0.15);
    --shadow-filter: 0px 3px 4px rgba(0, 0, 0, 0.13);
    --gutter: 30px;
}

/*Base─*/
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    color: var(--dark-slate);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

    body.filters-open {
        overflow: hidden;
    }

/*Intro section*/
.intro-section {
    background: var(--white);
    padding: 74px 219px 48px;
}

.intro-content {
    max-width: 828px;
    margin: 0 auto;
}

    .intro-content p {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0.2px;
        color: var(--dark-slate);
        margin: 0;
    }

/*Page wrapper*/
.pl-page-wrapper {
    padding: 34px 12px 40px 0px;
    max-width: 999px;
}


/*Main layout: sidebar + content */
.pl-main-layout {
    display: flex;
    gap: var(--gutter);
    align-items: flex-start;
}

/*Filter Bar (sidebar)*/
.filter-bar {
    flex: 0 0 314px;
    width: 314px;
    background: var(--white);
    border-top: 5px solid;
    box-shadow: var(--shadow-filter);
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 60px;
    border-image: linear-gradient(90deg, var(--Dark-Teal, #03838C) 0%, var(--Dark-Blue, #336699) 100%) 1;
}

/* Filter header row */
.filter-header {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.filter-icon-svg {
    flex-shrink: 0;
    display: block;
    width: 14px;
    height: 13px;
}

.filter-heading {
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 21px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-close-btn,
.filter-trigger-btn {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.filter-close-btn {
    display: none;
    color: var(--dark-blue);
    position: absolute;
    top: -2px;
    right: 0;
}

.filter-trigger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border: 1px solid var(--grey);
    background: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: var(--grey);
    letter-spacing: 0.2px;
}

    .filter-trigger-btn svg {
        flex-shrink: 0;
    }

.filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(1px);
    z-index: 39;
}

.filter-apply-btn {
    display: none;
    appearance: none;
    border: none;
    background: var(--dark-blue);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    padding: 12px 24px;
    min-width: 112px;
    cursor: pointer;
}

/*Filter Group*/
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--bs-green);
    padding-bottom: 5px;
}

.filter-group-title {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.filter-group-rule {
    margin: 0;
    border: none;
    border-top: 1px solid #c8c8c8;
}

/*Filter item list*/
.filter-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.filter-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #dce3e9;
}

.filter-item-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 34px;
    padding-top: 4px;
    padding-bottom: 2px;
    width: 100%;
}

/* Checkbox + label */
.filter-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
    padding-top: 2px;
}

.filter-checkbox {
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--dark-blue);
    margin-top: 2px;
}

.filter-checkbox-label-container {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 0 0;
    padding: 0px;
    margin: 0px;
    justify-content: space-between;
}

.filter-label-text {
    font-family: 'Open Sans', 'Arial Black', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    color: var(--dark-slate);
    padding-top: 3px;
    padding-bottom: 6px;
}

.filter-number {
    display: flex;
    padding: 3px 4px 2px 4px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    background: var(--light-blue);
    color: var(--Dark-Slate, #262626);
    /* Label/Label 7/Bold UC */
    font-family: 'Interstate';
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: 9px; /* 100% */
    text-transform: uppercase;
    height: 14px;
    min-width: 20px;
}

/* Count badge */
.filter-item-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding-top: 8px;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 4px;
    padding: 3px 4px 2px;
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 9px;
    color: var(--dark-slate);
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 20px;
}

.filter-cb:checked + .filter-checkbox {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    position: relative;
}

    .filter-cb:checked + .filter-checkbox::after {
        content: '';
        position: absolute;
        left: 3px;
        top: 3px;
        width: 12px;
        height: 7px;
        border-left: 3px solid #fff;
        border-bottom: 3px solid #fff;
        transform: rotate(-45deg);
    }

/*Filter footer: clear + count */
.filter-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-filters-btn {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--grey);
    text-decoration: underline;
    letter-spacing: 0.2px;
    opacity: 0.5;
    flex-shrink: 0;
}

    .clear-filters-btn:hover {
        opacity: 1;
    }

.results-count {
    flex: 1;
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--dark-slate);
    letter-spacing: 0.2px;
}

.results-number {
    font-weight: 700;
}

/*Main Content column─*/
.pl-main-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/*Search + Sort bar─*/
.search-sort-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    align-items: flex-end;
    width: 100%;
}

/* Search field */
.search-field-wrap {
    display: flex;
    height: 44px;
    flex: 1 1 315px;
    min-width: 315px;
}

.pub-search-input {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--grey);
    border-right: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--grey);
    letter-spacing: 0.2px;
}

    .pub-search-input::placeholder {
        color: var(--grey);
    }

    .pub-search-input:focus {
        outline: none;
        outline-offset: 1px;
    }

.pub-search-btn, .pub-clear-search {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-left: none;
}

    .pub-search-btn:hover {
        opacity: 1;
        background: var(--light-blue)
    }

    .pub-search-btn img {
        width: 20px;
    }


.pub-clear-search {
    border-right: none;
    display: none;
}

    .pub-clear-search img.hover {
        display: none;
    }

    .pub-clear-search:hover img.hover {
        display: block;
    }

    .pub-clear-search:hover img.default {
        display: none;
    }

/* Sort dropdown */
.sort-field-wrap {
    flex-shrink: 0;
}

.sort-dropdown-field {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 195px;
    height: 44px;
    padding: 0 8px;
    background: var(--white);
    border: 1px solid var(--grey);
    cursor: pointer;
}

.sort-label {
    flex: 1;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--grey);
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
}

/*Congress Cards Grid─*/
.congress-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
    align-items: stretch;
    width: 100%;
}

/*Individual Congress Card─ */
.congress-card {
    background: var(--white);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    /*flex: 0 0 314px;
  width: 314px;
  min-width: 280px;*/
    border-top: 5px solid;
    max-width: calc(50% - 15px);
    border-image: linear-gradient(90deg, var(--Dark-Teal, #03838C) 0%, var(--Dark-Blue, #336699) 100%) 1;
}

.congress-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    flex: 1;
    font-family: 'Interstate';
    color: var(--grey);
}

/* Date + Location row */
.congress-date-location {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

    .congress-date-location span {
        font-size: 14px;
        line-height: 20px;
    }

.congress-card-body h3 {
    font-size: 16px;
    font-family: 'Open Sans';
    color: var(--dark-blue);
    line-height: 22px;
}

    .congress-card-body h3 p {
        color: inherit;
        display: inline;
        line-height: 22px;
    }

    .congress-card-body h3 .txt-italic {
        font-style: italic;
        color: inherit;
        display: inline;
    }

    .congress-card-body h3 img {
        width: 16px;
        position: relative;
        top: -1px;
    }

.congress-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: var(--grey);
    letter-spacing: 0.2px;
}

.congress-location {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: var(--grey);
    letter-spacing: 0.2px;
}

/* Event title */
.congress-title {
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 23px;
    color: var(--dark-blue);
    margin: 0;
    letter-spacing: 0;
    flex: 1;
}

/* Tag chip */
.congress-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
}

.congress-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    border-radius: 3px;
    padding: 4px 8px 3px;
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 9px;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Card action icons */
.congress-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--light-blue);
    flex-shrink: 0;
}

.congress-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--light-blue);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

    .congress-action-btn:hover {
        background: var(--light-blue);
        border-color: var(--dark-blue);
    }

    .congress-action-btn svg {
        flex-shrink: 0;
    }

/*Pagination*/
.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.pagination-count {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--grey);
    white-space: nowrap;
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.page-num,
.page-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    color: var(--dark-blue);
    text-decoration: underline;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    cursor: pointer;
}

    .page-num:hover,
    .page-arrow:hover:not(.disabled) {
        background: var(--light-blue);
        color: 03838c;
    }

    .page-num.active {
        background: var(--dark-blue);
        color: var(--white);
        font-weight: 700;
        border-color: var(--dark-blue);
    }

    .page-arrow.disabled {
        color: #bbb;
        cursor: not-allowed;
        pointer-events: none;
    }

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 4px 4px;
    color: var(--grey);
    font-size: 13px;
    pointer-events: none;
    user-select: none;
}

/*Responsive*/
@media (max-width: 1100px) {
    .intro-section {
        padding: 48px 40px 32px;
    }

    .pl-page-wrapper {
        padding: 24px 40px 32px;
    }
}

@media (max-width: 900px) {
    .pl-main-layout {
        flex-direction: column;
    }

    .filter-bar {
        width: 100%;
        flex: none;
    }

    .congress-card {
        flex: 1 1 280px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .intro-section {
        padding: 32px 16px 24px;
    }

    .pl-page-wrapper {
        padding: 16px 30px;
    }

    .search-field-wrap {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .search-sort-bar {
        gap: 12px;
    }

    .filter-trigger-btn {
        display: inline-flex;
        width: 48%;
        justify-content: space-between;
        padding: 0px 10px;
    }

    .sort-field-wrap {
        width: 46.5%;
    }

    .sort-dropdown-field {
        width: 100%;
    }

    .congress-cards-grid {
        flex-direction: column;
        gap: 18px;
    }

    .congress-card {
        width: 100%;
        flex: none;
    }

    .pagination-nav {
        flex-direction: column;
        align-items: center;
    }

    .filter-backdrop {
        z-index: 48;
    }

    .filter-bar {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        margin: 0;
        padding: 20px 16px 24px;
        z-index: 50;
        overflow-y: auto;
        box-shadow: none;
        border-top-width: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

        .filter-bar.is-open {
            display: flex;
            flex-direction: column;
        }

    .filter-header {
        padding-right: 24px;
    }

    .filter-close-btn {
        display: inline-flex;
    }

    .filter-item-list {
        width: 100%;
    }

    .filter-footer {
        margin-top: auto;
        padding-top: 16px;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .clear-filters-btn {
        text-decoration: underline;
        flex: 0 0 auto;
    }

    .results-count {
        text-align: center;
        font-size: 14px;
        order: 2;
        flex: 1 1 auto;
    }

    .filter-apply-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        order: 3;
    }
}

/*SORT CONTAINER (align with search) */
.sort-field-wrap {
    display: flex;
    align-items: center;
    height: 40px; /* same as search */
}

    /*SORT DROPDOWN (match search input style) */
    .sort-dropdown, .sort-field-wrap .ui-selectmenu-button {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 44px; /* SAME HEIGHT ✅ */
        padding: 0 40px 2px 8px; /* space for arrow */

        border: 1px solid var(--bs-gray);
        border-radius: 0px; /* same as search */

        background-color: #fff;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        min-width: 220px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        margin-top: 0px !important;
        color: var(--grey);
    }

    .sort-field-wrap .ui-selectmenu-icon {
        display: none;
    }

    .sort-field-wrap.open:after {
        transform: rotate(180deg);
        top: 35%;
        right: 17px;
    }

/*HOVER + FOCUS (match search UX) */
.sort-dropdown:hover,
.sort-dropdown:focus {
    border-color: unset;
    outline: none;
    box-shadow: none;
}

.sort-field-wrap .ui-selectmenu-button:hover {
    border-color: var(--dark-teal);
}

.ui-selectmenu-menu .ui-menu-item-wrapper {
    color: var(--dark-blue);
    font-family: 'Interstate';
    font-size: 15px;
    font-weight: 700;
    padding: 12px 16px;
    text-decoration: underline;
    margin: 0px;
    line-height:20px;
}

    .ui-selectmenu-menu .ui-menu-item-wrapper.ui-state-active {
        background: unset;
        border: none;
    }

.ui-selectmenu-menu .ui-widget-content .ui-menu-item-wrapper:hover {
    background: var(--light-blue);
    /* border: 1px solid var(--light-blue); */
    font-weight: 700;
    text-decoration: none;
    border: none;
    color: var(--dark-teal);
}

.ui-selectmenu-menu .my-custom-selected {
    border: 1px solid #F1FAF5;
    background: #F1FAF5 !important;
    border: none;
    color: #262626;
    font-weight: 700;
    text-decoration: none;
}

.ui-selectmenu-text {
    font-size: 13px;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/*REMOVE DEFAULT ARROW */
.sort-dropdown::-ms-expand {
    display: none;
}

/*CUSTOM ARROW (like your search icon style) ─ */
.sort-field-wrap {
    position: relative;
}

    .sort-field-wrap::after {
        content: '';
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-44%);
        width: 15px;
        height: 15px;
        background: url("/siteassets/img/icon-caret-down.svg") no-repeat;
        background-repeat: no-repeat;
        background-size: 100%;
        pointer-events: none;
    }

/*MAKE SEARCH + SORT SAME LINE ALIGNMENT ─ */
.search-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 22px; /* spacing between search and sort */
}


.filter-bar .clear-results-no {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    justify-content: space-between;
}

    .filter-bar .clear-results-no .clear-filter {
        display: flex;
        align-items: flex-start;
        color: var(--Grey, #666);
        font-family: var(--Typescale-Body-Body-3-Font, "Open Sans");
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 123.077% */
        letter-spacing: 0.2px;
        text-decoration-line: none;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
        padding: 0px;
        pointer-events: none;
    }

        .filter-bar .clear-results-no .clear-filter:hover {
            text-decoration-line: underline;
        }

    .filter-bar .clear-results-no label {
        color: var(--Dark-Slate, #262626);
        text-align: right;
        font-family: var(--Typescale-Body-Body-3-Font, "Open Sans");
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 123.077% */
        letter-spacing: 0.2px;
        margin: 0px;
    }

    .filter-bar .clear-results-no .total-result {
        color: var(--Dark-Slate, #262626);
        font-family: var(--Typescale-Body-Body-3-Font, "Open Sans");
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 16px; /* 123.077% */
        letter-spacing: 0.2px;
        margin-right: 4px;
    }


@media (max-width: 992px) {
    .search-sort-bar {
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        gap: 18px;
    }

    .sort-dropdown, .sort-field-wrap .ui-selectmenu-button {
        width: 100%;
        min-width: unset;
        padding: 11px 30px 11px 14px;
    }

    .sort-field-wrap::after {
        right: 10px;
    }
}

#mobileFilterPanel .filter-apply {
    display: flex;
    padding: 12px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--Dark-Blue, #369);
    border: none;
    color: #FFF;
    text-align: center;
    font-family: Interstate;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

    #mobileFilterPanel .filter-apply:hover, #mobileFilterPanel .filter-apply:active {
        background: var(--dark-teal);
        color: var(--white);
    }

#mobileFilterPanel .close-filter {
    position: absolute;
    right: 0px;
    top: -8px;
}

.email-event-details {
    display: flex;
    padding-top: 20px;
    align-items: center;
    gap: 22px;
    align-self: stretch;
    border-top: 1px solid var(--light-blue);
    margin-top: 10px;
}

    .email-event-details .email-event {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .email-event-details .email-event img {
            width: 14px;
            height: 14px;
        }

        .email-event-details .email-event span {
            color: var(--Dark-Blue, #369);
            /* Label/Label 2/Reg lc */
            font-family: var(--Typescale-Label-Label-2-Font, Interstate);
            font-size: var(--Typescale-Label-Label-2-Size, 15px);
            font-style: normal;
            font-weight: 400;
            line-height: var(--Typescale-Label-Label-2-Line-Height, 20px); /* 133.333% */
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: auto;
            text-decoration-thickness: auto;
            text-underline-offset: auto;
            text-underline-position: from-font;
        }

.h-line {
    border-top: 1px solid var(--light-blue);
}

.congress-action-link.link-cursor span {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: from-font;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.congress-card-body h3.dark-slate {
    color: var(--dark-slate);
}

.congress-card-body div.congress-description, .congress-card-body div.congress-description p {
    color: var(--dark-slate);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    flex-grow: 1;
}

.dummy-txt {
    opacity: 0;
    height: 0px;
    margin: 0px;
}


@media (max-width: 992px) {
    .card-filter-bar.card-filter-panel-mobile {
        position: absolute;
        top: 65px;
        z-index: 9;
    }

    .congress-card-body div.congress-description {
        margin-top: -8px;
    }
}




/* breadcrumb row */

.hero-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    pointer-events: none; /* pass clicks through empty areas */
}

    .hero-body > .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        pointer-events: auto;
    }


.hero-breadcrumb-wrap {
    padding-top: 16px;
    max-width: 50%;
}

.bl-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .bl-breadcrumb li {
        display: flex;
        align-items: center;
        color: var(--bl-white);
        font-size: 11px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 600;
        text-decoration: none;
        line-height: 1;
        white-space: nowrap;
    }

    .bl-breadcrumb a {
        color: var(--bl-white);
        font-size: 11px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        text-decoration: none;
        border-bottom: 1px solid var(--bl-white);
        line-height: 1;
        white-space: nowrap;
    }

    .bl-breadcrumb .current {
        color: var(--bl-white);
        font-size: 11px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 600;
        white-space: nowrap;
        line-height: 1;
    }

    .bl-breadcrumb .chevron {
        color: var(--bl-light-grey);
        font-size: 13px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        letter-spacing: .2px;
        padding: 0 7px;
        line-height: 1;
    }

/* headline row — vertically centred with a slight downward offset to match Figma */
.hero-headline-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    transform: translateY(16px);
}

.hero-headline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 30%;
}

    .hero-headline h1 {
        color: var(--bl-white);
        font-size: 40px;
        font-weight: 700;
        font-family: 'Interstate';
        line-height: 40px;
        letter-spacing: .75px;
        text-transform: uppercase;
        margin: 0;
    }

.hero-divider {
    width: 95px;
    height: 2px !important;
    background-color: var(--bl-white);
    border: none;
    margin: 0;
}
/* Mobile: use mobile-specific hero image */
/* Mobile: use mobile-specific hero image */
@media (max-width: 600px) {
    .upcomingcongresshero {
        background-image: url('/siteassets/img/upcoming-congress-hero-mob.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .pastcongresshero {
        background-image: url('/siteassets/img/congress-event-mob.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-mobile {
        background: var(--dark-teal);
    }

    .hero-mobile-breadcrumb a {
        color: var(--white);
    }

    h1 {
        color: var(--white);
    }
}


.upcomingcongresshero {
    position: relative;
    height: 360px;
    overflow: hidden;
    width: 100%;
    background: url('/siteassets/img/upcoming-congress-hero.png') center right / cover no-repeat;
    top: 35px;
}


.pastcongresshero {
    position: relative;
    height: 360px;
    overflow: hidden;
    width: 100%;
    top: 35px;
    background-image: url(/siteassets/img/congressevent-hero.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #03838C;
}


@media (min-width: 992px) {
    .filter-bar {
        display: flex !important;
    }
}






#paginationLinks {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}


.pagination-count span {
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.page-arrow.disabled {
    color: var(--grey);
}

.page-arrow .arrow {
    background-image: url(/siteassets/img/icon-arrow.svg);
    background-repeat: no-repeat;
    width: 13px;
    height: 11px;
}

.page-arrow.disabled .arrow {
    background-image: url(/siteassets/img/icon-arrow-disabled.svg);
    height: 14px;
    width: 14px;
}

.page-arrow .arrow.prev-arrow {
    transform: rotate(180deg);
}

.page-arrow.disabled .prev-arrow {
    transform: rotate(0deg);
}

.page-num {
    font-size: 14px;
    padding: 4px;
    text-decoration: underline;
}

    .page-num.active {
        color: #000;
        background: unset;
        border: unset;
        font-size: 14px;
        padding: 4px;
    }

    .page-num:hover, .page-arrow:hover:not(.disabled) {
        background: unset;
        opacity: 1;
    }

.page-arrow.disabled .next-arrow {
    transform: rotate(180deg);
    margin-top: 4px;
}


p.explore-txt-sec.intro-prev {
    padding: 74px 0 18px 65px;
    letter-spacing: 0.2px;
    text-align: left;
}


@media(max-width: 767px) {
    p.explore-txt-sec.intro-prev {
        padding: 48px 20px 28px;
        text-align: left;
    }
}

.congress-card-body .link-cursor:hover h3 p, .congress-card-body .link-cursor:active h3 p,
.congress-card-body .link-cursor:hover span, .congress-card-body .link-cursor:active span {
    color: #03838c;
}


.filter-item.is-zero {
    cursor: not-allowed;
    pointer-events: none;
}

    .filter-item.is-zero .filter-checkbox {
        border-color: var(--grey);
    }

    .filter-item.is-zero .filter-label-text {
        color: var(--grey)
    }

    .filter-item.is-zero .filter-number {
        background: #E8E8E8;
    }

.filter-bar .clear-results-no .clear-filter.active-link {
    color: var(--dark-blue);
    pointer-events: auto;
    text-decoration: underline
}

    .filter-bar .clear-results-no .clear-filter.active-link:hover, .filter-bar .clear-results-no .clear-filter.active-link:active {
        color: #03838c;
    }

.page-num:has(+.page-num.active) {
    display: block
}

.page-num.active + .page-num {
    display: block
}
