/* =================================================================
   Publications & Congress List – Bootstrap 5 stylesheet
   Figma: B-L | Bausch.com 26 | Node 1297-125120
   ================================================================= */

/*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 20px 40px 10px;
}


/*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-dropdown {
    gap: 12px;
}

.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 #DADADA;
    margin-bottom: 0px !important;
    min-height: 32px;
}

    .filter-item[data-filter-group='product'] {
        border-bottom: none;
    }

/* The horizontal row inside each filter item */
.filter-item-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-height: 34px;
    padding-top: 4px;
    padding-bottom: 2px;
    width: 100%;
}

/* Sub-list (collapsed by default via [hidden]) */
.filter-sublist {
    list-style: none;
    padding: 0 0 0px 18px;
    margin: 0 0 0px 10px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #DADADA;
}

.filter-subitem {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 30px;
    padding-top: 3px;
    padding-bottom: 2px;
    border-bottom: 1px solid #DADADA;
}

    .filter-subitem:last-child {
        border-bottom: none;
    }



.filter-sublist .filter-sublist {
    padding-left: 43px;
}

    .filter-sublist .filter-sublist .filter-item:last-child .filter-item-row {
        line-height: 0px;
        max-height: 0px;
        padding-bottom: 0px;
        gap: 0px;
        min-height: fit-content;
    }

        .filter-sublist .filter-sublist .filter-item:last-child .filter-item-row .filter-checkbox-label {
            margin-bottom: 0px;
        }


/* Minus icon: hide the vertical bar of the + when expanded */
.expand-btn.is-open .expand-plus::after {
    display: none;
}

/* 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-label-text {
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    color: var(--dark-slate);
    padding-top: 4px;
    padding-bottom: 6px;
}

.filter-sublist .filter-label-text {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Open Sans';
}

/* Count badge + expand button */
.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-bar .expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: unset;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-top: 4px;
}

.filter-bar .expand-plus {
    position: relative;
    display: block;
    width: 10px;
    height: 10px;
    background-image: url(/siteassets/img/icon-filter-plus.svg);
    background-repeat: no-repeat;
}

.filter-bar .expand-btn[aria-expanded='true'] .expand-plus {
    background-image: url(/siteassets/img/icon-filter-minus.svg);
}

/*.filter-bar .expand-plus::before,
    .filter-bar .expand-plus::after {
        content: '';
        position: absolute;
        background: var(--dark-blue);
        border-radius: 1px;
    }

    .filter-bar .expand-plus::before {
        top: 50%;
        left: 0;
        right: 0;
        height: 2.5px;
        transform: translateY(-50%);
    }

    .filter-bar .expand-plus::after {
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        transform: translateX(-50%);
    }
.filter-bar .expand-btn[aria-expanded='true'] .expand-plus::after{display: none;}*

/*Filter dropdown─*/
.filter-dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-dropdown {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 44px;
    padding: 0 32px 0 8px;
    background: var(--white);
    border: 1px solid var(--grey);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--grey);
    letter-spacing: 0.2px;
    cursor: pointer;
}

    .filter-dropdown:focus {
        outline: none;
        outline-offset: 1px;
    }

.dropdown-caret {
    position: absolute;
    right: 10px;
    top: 17%;
    pointer-events: none;
}

.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) !important;
    text-decoration: none;
    letter-spacing: 0.2px;
    flex-shrink: 0;
    opacity: 1;
    pointer-events: none;
}

.filter-bar .clear-filters-btn.active-link {
    color: var(--dark-blue) !important;
    pointer-events: auto;
    text-decoration: underline
}

.filter-bar .clear-filters-btn:hover, .filter-bar .clear-filters-btn:active {
    color: #03838c !important;
    text-decoration-line: underline;
}

.clear-filters-btn:hover, .clear-filters-btn:active {
    opacity: 0.9;
    color: var(--grey);
    text-decoration-line: underline;
}

.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;
}

/*Publication Cards Grid─ */
.pub-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
    align-items: stretch;
    width: 100%;
}

/*Individual Publication Card */
.pub-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;
}

.pub-tags {
    flex-grow: 1;
}

.pub-actions {
    display: flex;
    justify-content: space-between;
}
/* Gradient top border: teal → dark-blue */
.pub-card-gradient-bar {
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, var(--dark-teal), var(--dark-blue));
    flex-shrink: 0;
}

.pub-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    flex: 1;
    font-family: 'Interstate';
    color: var(--grey);
}

/* copy section grows to fill remaining space, pushing actions down */
.pub-card-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* Journal name + year row */
.pub-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.pub-journal {
    font-family: 'Interstate', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--grey);
    flex: 1;
    min-width: 0;
}

.pub-year {
    font-family: 'Interstate', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--grey);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Publication title */
.pub-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: normal;
}

.pub-card .pub-title:hover, p.explore-txt-sec.intro-prev a:hover {
    color: #03838c;
    text-decoration: none;
}

/* Authors */
.pub-authors {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-style: italic;
    font-weight: 400;
    line-height: 15px;
    color: var(--dark-slate);
    margin: 0;
    letter-spacing: 0.2px;
    margin-top: -7px;
}

/* Tags / Chicklets */
.pub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
    align-content: flex-start;
}

.pub-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;
}

    .pub-tag sup {
        top: -.4em !important;
    }

/* Abstract — grows to fill remaining card space */
.pub-abstract {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--dark-slate);
    margin: 0;
    flex: 1; /* pushes .pub-actions to the bottom */
}

/*Card Actions (Read Summary / Download) ─*/
.pub-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--light-blue);
    gap: 8px;
    flex-shrink: 0; /* never compress — always pinned at card bottom */
}

.pub-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Interstate', 'Arial', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: var(--dark-blue);
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.15s;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: from-font;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

    .pub-action-link:hover {
        color: #1e4d7a;
    }

.action-icon {
    flex-shrink: 0;
    width: 13px;
    height: 14px;
}

.action-icon-arrow {
    transform: rotate(-90deg);
}

/*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 number buttons */
.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: var(--dark-blue);
    }

    .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;
}

.rp-section {
    background: var(--light-green);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
    width: 100%;
}

/*Section heading*/
.rp-heading {
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.5px;
    color: var(--dark-teal);
    text-align: center;
    width: 100%;
    margin: 0;
}

.rp-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.rp-card {
    background: #fff;
    box-shadow: 0 0 2.5px rgba(0, 0, 0, 0.15);
    flex: 1 1 0;
    min-width: 314px;
    display: flex;
    flex-direction: column;
}

/* 5px gradient top bar (teal → dark-blue) */
.rp-card-top-bar {
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, var(--dark-teal), var(--dark-blue));
    flex-shrink: 0;
}

/* Card inner body */
.rp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    gap: 20px;
}

/* Card content (grows to push footer down) */
.rp-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/*Journal + Year row─*/
.rp-journal-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rp-journal-name {
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--grey);
    flex: 1 0 0;
    min-width: 0;
}

.rp-year {
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--grey);
    white-space: nowrap;
    flex-shrink: 0;
}

/*Title + Author block─*/
.rp-title-author {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-title {
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 23px;
    color: var(--dark-blue);
    margin: 0;
}

.rp-authors {
    font-family: 'Open Sans', Arial, sans-serif;
    font-style: italic;
    font-size: 11px;
    font-weight: 400;
    line-height: 15px;
    color: var(--dark-slate);
    margin: 0;
}

/*Tags─*/
.rp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
}

.rp-tag {
    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;
    white-space: nowrap;
    letter-spacing: 0;
}

/*Card footer: links─*/
.rp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--light-blue);
    padding-top: 20px;
    flex-shrink: 0;
}

.rp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Interstate', 'Arial Black', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: var(--dark-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

    .rp-link:hover {
        color: var(--dark-teal);
        text-decoration: underline;
    }

    .rp-link svg {
        flex-shrink: 0;
    }

/*Responsive─*/
@media (max-width: 1200px) {
    .rp-section {
        padding: 40px 40px;
    }
}

@media (max-width: 900px) {
    .rp-section {
        padding: 32px 24px;
    }

    .rp-cards {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .rp-card {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

/*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;
    }

    .pub-card {
        flex: 1 1 280px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .intro-section {
        padding: 32px 16px 24px;
    }

    .pl-page-wrapper {
        padding: 16px;
    }

    .search-field-wrap {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .search-sort-bar {
        gap: 12px;
    }

    .filter-trigger-btn {
        display: inline-flex;
        flex: 1 1 calc(50% - 6px);
        width: auto;
    }

    .sort-field-wrap {
        /* flex: 1 1 calc(50% - 6px);*/
    }

    .sort-dropdown-field {
        width: 100%;
    }

    .pub-cards-grid {
        flex-direction: column;
        gap: 18px;
    }

    .pub-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 {
        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-size: 15px;
    font-weight: 700;
    padding: 12px 16px;
    text-decoration: underline;
    margin: 0px;
    font-family: 'Interstate';
    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 .filter-dropdown-wrap {
    margin: 10px 0px;
}

@media (max-width: 992px) {
    .search-sort-bar {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    .search-sort-bar {
        gap: 18px;
    }

    .filter-trigger-btn {
        display: inline-flex; /*flex: 1 1 calc(50% - 6px); */
        width: 48%;
        justify-content: space-between;
        padding: 0px 10px;
    }

    .sort-field-wrap {
        width: 46%;
    }

    .sort-dropdown-field {
        width: 100%;
    }

    .search-sort-bar {
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
    }

    .sort-dropdown, .sort-field-wrap .ui-selectmenu-button {
        width: 100%;
        min-width: unset;
        padding: 11px 30px 11px 14px;
    }

    .sort-field-wrap::after {
        right: 10px;
    }

    .filter-label-text {
        padding-top: 3px;
    }
}

/* 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: 50%;
}

    .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;
    background-color: var(--bl-white);
    border: none;
    margin: 0;
}
/* Mobile: use mobile-specific hero image */
@media (max-width: 600px) {
    .pubcongresshero {
        background-image: url('/siteassets/img/congress-land-comm-mob.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-mobile-breadcrumb a {
        color: var(--white);
    }

    h1 {
        color: var(--white);
    }
}


.pubcongresshero {
    position: relative;
    height: 360px;
    top: 32px;
    overflow: hidden;
    width: 100%;
    background: url('/siteassets/img/congress-land-comm.png') center right / cover no-repeat;
}


@media (min-width: 992px) {
    .filter-bar {
        display: flex !important;
    }
}



.page-num {
    display: none;
}

    .page-num.active {
        display: block
    }

    /*.page-num:has(+.page-num.active) {
        display: block
    }

    .page-num.active + .page-num {
        display: block
    }*/
    .page-num.visible {
        display: block;
    }


/**17 June*/


.pagination-count span {
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.page-arrow.disabled {
    color: var(--grey);
}

.page-arrow .arrow {
    background-image: url(../icon-arrow.svg);
    background-repeat: no-repeat;
    width: 13px;
    height: 11px;
}

.page-arrow.disabled .arrow {
    background-image: url(../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: 0.8;
    }



/***17 June***/

.pagination-count span {
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.page-arrow.disabled {
    color: var(--grey);
    opacity: 0.8;
}

.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;
        pointer-events: none;
    }

    .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 75px;
    letter-spacing: 0.2px;
    text-align: left;
}


@media(max-width: 767px) {
    p.explore-txt-sec.intro-prev {
        padding: 48px 20px 28px;
        text-align: left;
    }

    main.pl-main-content {
        padding: 0 14px;
    }
    .hero-mobile-body p {
        padding-top: 20px;
    }
}

p.explore-txt-sec.intro-prev a {
    text-decoration: underline;
}

.pub-card-body .pub-action-link:hover, .pub-card-body .pub-action-link:active {
    color: #03838c;
}
