/* Salient pads .container on every breakpoint; catalog pages use the full width. */
.container-wrap .container.main-content.rufre-catalog-container {
    padding-left: 0;
    padding-right: 0;
}

/* Salient's footer reveal fixes the dark footer behind the page; when it is taller than the
   viewport it shows through the translucent header unless the header spacer covers it. */
#header-space {
    position: relative;
    z-index: 10;
}

.rufre-catalog {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.5;
}

.rufre-catalog--embed {
    max-width: none;
    margin: 0;
    padding: 0;
}

.rufre-catalog--embed .rufre-catalog__search {
    margin: 10px 0;
}

/* Hidden but still read by screen readers, so the input keeps its accessible name. */
.rufre-catalog--embed .rufre-catalog__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Outside the catalog the theme's button styles win without !important. */
.rufre-catalog--embed .rufre-catalog__search-button {
    background: #ff0039 !important;
    background-image: none !important;
    color: #fff !important;
}

.rufre-catalog--embed .rufre-catalog__search-button:hover,
.rufre-catalog--embed .rufre-catalog__search-button:focus {
    background: #d60030 !important;
    color: #fff !important;
}

.rufre-catalog__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.rufre-catalog__box {
    background: #f1f1f1;
    border-radius: 8px;
    padding: 20px 24px 24px;
}

.rufre-catalog__header {
    display: grid;
    grid-template-columns: 25% 1fr auto;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #cfcfcf;
}

.rufre-catalog__ref,
.rufre-catalog__type,
.rufre-catalog__brand {
    min-width: 0;
    overflow-wrap: anywhere;
}

.rufre-catalog__ref {
    color: #ff0039;
    font-size: 16px;
    font-weight: 600;
    border-right: 1px solid #cfcfcf;
    margin-right: 20px;
}

.rufre-catalog__type {
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
}

.rufre-catalog__brand {
    color: #ff0039;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: right;
}

.rufre-catalog__details {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 12px 20px;
    margin: 20px 0 0;
}

.rufre-catalog__details dt {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.rufre-catalog__details dd {
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* The visually hidden dt is absolutely positioned, so it takes no grid cell. */
.rufre-catalog__details .rufre-catalog__applications {
    grid-column: 2;
    margin-top: 8px;
}

.rufre-catalog__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.rufre-catalog__empty {
    margin: 0;
    color: #666;
}

.rufre-catalog__table-wrap {
    overflow-x: auto;
}

.rufre-catalog__table {
    width: 100%;
    border-collapse: collapse;
    border: 0;
    margin: 0;
    font-size: 13px;
}

.rufre-catalog__table th,
.rufre-catalog__table td {
    border: 0;
}

.rufre-catalog__table th {
    background: #cfcfcf;
    color: #333;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 12px;
}

.rufre-catalog__table th:first-child,
.rufre-catalog__table td:first-child {
    width: 58%;
}

.rufre-catalog__table td {
    color: #666;
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

.rufre-catalog__table td:first-child {
    overflow-wrap: anywhere;
}

.rufre-catalog__table td:last-child {
    white-space: nowrap;
}

.rufre-catalog__equivalents {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rufre-catalog__equivalents li {
    margin: 0 0 4px;
}

.rufre-catalog__equivalent-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff0039;
    text-decoration: none;
}

.rufre-catalog__equivalent-link:hover span,
.rufre-catalog__equivalent-link:focus span {
    text-decoration: underline;
}

.rufre-catalog__icon {
    flex: none;
}

/* Aligns plain references with the linked ones, whose text starts after the icon. */
.rufre-catalog__equivalent-text {
    padding-left: 20px;
}

.rufre-catalog__actions {
    margin: 20px 0 0;
}

.rufre-catalog__cta {
    display: inline-block;
    padding: 10px 20px;
    background: #ff0039;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.rufre-catalog__ref-link {
    color: #ff0039;
    text-decoration: none;
}

.rufre-catalog__ref-link:hover,
.rufre-catalog__ref-link:focus {
    text-decoration: underline;
}

.rufre-catalog__ref-link {
    font-weight: 600;
}

.rufre-catalog__count {
    margin: -8px 0 16px;
    font-size: 13px;
    color: #666;
}

.rufre-catalog__subtitle {
    margin: 24px 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.rufre-catalog__search {
    margin: 0 0 24px;
}

.rufre-catalog__search-label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.rufre-catalog__search-row {
    display: flex;
    gap: 8px;
}

.rufre-catalog__search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    font-size: 14px;
}

.rufre-catalog__search--large .rufre-catalog__search-input {
    padding: 14px 16px;
    font-size: 16px;
}

.rufre-catalog .rufre-catalog__search-button,
.rufre-catalog button.rufre-catalog__search-button {
    padding: 0 20px;
    border: 0;
    border-radius: 4px;
    background: #ff0039;
    background-image: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.rufre-catalog .rufre-catalog__search-button:hover,
.rufre-catalog .rufre-catalog__search-button:focus {
    background: #d60030;
    color: #fff;
}

.rufre-catalog__results {
    margin: 0 0 24px;
}

.rufre-catalog__note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #666;
}

.rufre-catalog__table--list td:first-child,
.rufre-catalog__table--list th:first-child {
    width: 30%;
    white-space: nowrap;
}

.rufre-catalog__ref-text {
    font-weight: 600;
}

.rufre-catalog__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.rufre-catalog__card {
    margin: 0;
}

.rufre-catalog__card-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    border-radius: 8px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
}

.rufre-catalog__card-link:hover,
.rufre-catalog__card-link:focus {
    box-shadow: inset 0 0 0 2px #ff0039;
}

.rufre-catalog__card-title {
    color: #ff0039;
    font-size: 16px;
    font-weight: 600;
}

.rufre-catalog__card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 13px;
    color: #666;
}

.rufre-catalog__logo,
.rufre-catalog__brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 48px;
    object-fit: contain;
}

.rufre-catalog__brand-logo {
    margin: 0 0 12px;
}

.rufre-catalog__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.rufre-catalog__filters li {
    margin: 0;
}

.rufre-catalog__filters a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 16px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
}

.rufre-catalog__filters a[aria-current="page"],
.rufre-catalog__filters a:hover,
.rufre-catalog__filters a:focus {
    border-color: #ff0039;
    background: #ff0039;
    color: #fff;
}

.rufre-catalog__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0 0;
}

.rufre-catalog__page,
.rufre-catalog__page-gap {
    min-width: 32px;
    padding: 6px 10px;
    box-sizing: border-box;
    font-size: 13px;
    text-align: center;
}

.rufre-catalog__page {
    border: 1px solid #cfcfcf;
    color: #333;
    text-decoration: none;
}

.rufre-catalog__page--current,
.rufre-catalog__page:hover,
.rufre-catalog__page:focus {
    border-color: #ff0039;
    background: #ff0039;
    color: #fff;
}

.rufre-catalog__tabs {
    margin: 0 0 24px;
}

.rufre-catalog__sections,
.rufre-catalog__types {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rufre-catalog__sections {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.rufre-catalog__sections li {
    flex: 1 1 0;
    margin: 0;
    padding: 12px 8px;
    text-align: center;
}

.rufre-catalog__types {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 12px;
    margin-top: 16px;
}

.rufre-catalog__types li {
    flex: 1 1 0;
    min-width: 80px;
    margin: 0;
    text-align: center;
}

.rufre-catalog .rufre-catalog__tab {
    display: inline-block;
    padding: 0 5px 3px;
    border-bottom: 3px solid transparent;
    color: #888;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    text-decoration: none;
}

.rufre-catalog__sections .rufre-catalog__tab {
    font-size: 20px;
}

.rufre-catalog__types .rufre-catalog__tab {
    font-size: 13px;
}

.rufre-catalog__tab-count {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
}

.rufre-catalog .rufre-catalog__tab[aria-current],
.rufre-catalog .rufre-catalog__tab:hover,
.rufre-catalog .rufre-catalog__tab:focus {
    border-bottom-color: #ff0039;
    color: #1a1a1a;
}

.rufre-catalog .rufre-catalog__tab--empty,
.rufre-catalog .rufre-catalog__tab--empty:hover {
    border-bottom-color: transparent;
    color: #ccc;
}

.rufre-catalog__references {
    width: 100%;
    border-collapse: collapse;
    border: 0;
    margin: 0;
    font-size: 17px;
}

.rufre-catalog__references th,
.rufre-catalog__references td {
    border: 0;
    padding: 0;
}

.rufre-catalog__references th {
    padding: 4px 12px;
}

.rufre-catalog__references th {
    background: #ff0039;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.rufre-catalog__references th + th {
    border-left: 2px solid #fff;
}

.rufre-catalog__references th:first-child,
.rufre-catalog__references td:first-child {
    width: 28%;
    text-align: center;
    white-space: nowrap;
}

.rufre-catalog__references tbody tr {
    background: #fff;
}

.rufre-catalog__references tbody tr:nth-child(odd) {
    background: #d9d9d9;
}

.rufre-catalog__references tbody tr:hover {
    background: #c9c9c9;
}

/* Every cell holds a link to the article, so the whole row is clickable without JavaScript. */
.rufre-catalog .rufre-catalog__references .rufre-catalog__ref-link,
.rufre-catalog .rufre-catalog__references .rufre-catalog__row-link {
    display: block;
    padding: 4px 12px;
    text-decoration: none;
    letter-spacing: 0.08em;
}

.rufre-catalog .rufre-catalog__references .rufre-catalog__ref-link {
    color: #1a1a1a;
    font-weight: 700;
}

.rufre-catalog .rufre-catalog__references .rufre-catalog__row-link {
    color: #666;
}

.rufre-catalog .rufre-catalog__references tbody tr:hover .rufre-catalog__ref-link {
    color: #ff0039;
    text-decoration: none;
}

.rufre-catalog .rufre-catalog__references .rufre-catalog__chevron {
    width: 38px;
}

.rufre-catalog .rufre-catalog__references .rufre-catalog__chevron .rufre-catalog__row-link {
    color: #2a7ae2;
}

.rufre-catalog__chevron svg {
    display: block;
    margin-left: auto;
}

.rufre-catalog__hero {
    background-color: #eceef0;
    background-image: var(--rufre-catalog-hero-image, none), linear-gradient(180deg, #fff 0%, #e6e8eb 100%);
    background-position: left bottom, 0 0;
    background-repeat: no-repeat;
    background-size: cover, auto;
}

.rufre-catalog.rufre-catalog__hero-inner {
    margin: 0 auto;
    padding: 100px 12px;
}

/* Closes the gap Salient leaves under its desktop header; below 1025px it switches to the mobile header. */
@media (min-width: 1025px) {
    .rufre-catalog-page .rufre-catalog__hero {
        margin-top: -40px;
    }
}

.rufre-catalog__hero-inner > * {
    max-width: 480px;
}

.rufre-catalog__hero-inner > .rufre-catalog__hero-title {
    max-width: 50%;
}

.container-wrap .rufre-catalog .rufre-catalog__hero-title {
    margin: 0 0 28px;
    padding: 0;
    color: #111;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.05;
    text-transform: none;
    overflow-wrap: anywhere;
}

.rufre-catalog__hero-kicker,
.rufre-catalog__hero-brand {
    display: block;
}

.rufre-catalog__hero-brand {
    color: #ff0039;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.rufre-catalog__hero-text {
    color: #333;
    font-size: 16px;
}

.rufre-catalog__hero-text p {
    margin: 0 0 8px;
}

.rufre-catalog__hero-count {
    margin: 0 0 24px;
    padding: 0;
    color: #666;
    font-size: 13px;
}

.rufre-catalog__hero .rufre-catalog__search {
    margin: 0;
}

.rufre-catalog__hero .rufre-catalog__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.rufre-catalog__hero .rufre-catalog__search-row {
    gap: 20px;
}

.container-wrap .rufre-catalog__hero .rufre-catalog__search-input {
    height: 50px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    box-shadow: none;
}

.container-wrap .rufre-catalog__hero .rufre-catalog .rufre-catalog__search-button {
    flex: none;
    height: 50px;
    margin: 0;
    padding: 0 32px;
    border-radius: 4px;
    background: #ff0039;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.container-wrap .rufre-catalog__hero .rufre-catalog .rufre-catalog__search-button:hover,
.container-wrap .rufre-catalog__hero .rufre-catalog .rufre-catalog__search-button:focus {
    background: #d60030;
}

/* The Salient theme adds disc markers and an indent to every list item in the content. */
.container-wrap .rufre-catalog ul {
    margin-left: 0;
    padding-left: 0;
}

.container-wrap .rufre-catalog ul > li {
    list-style: none;
    margin-left: 0;
}

/* Elementor's base styles give every table cell 15px padding, borders and row backgrounds. */
.container-wrap .rufre-catalog table.rufre-catalog__references {
    margin: 0;
    border: 0;
    background: transparent;
    font-size: 17px;
}

.container-wrap .rufre-catalog .rufre-catalog__references th,
.container-wrap .rufre-catalog .rufre-catalog__references td {
    padding: 0;
    border: 0;
    background-color: transparent;
    line-height: 1.4;
    vertical-align: middle;
}

.container-wrap .rufre-catalog .rufre-catalog__references thead th {
    padding: 4px 12px;
    background-color: #ff0039;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

.container-wrap .rufre-catalog .rufre-catalog__references thead th + th {
    border-left: 2px solid #fff;
}

@media (max-width: 768px) {
    .rufre-catalog {
        margin: 20px auto;
    }

    .rufre-catalog__hero {
        background-image: linear-gradient(180deg, #fff 0%, #e6e8eb 100%);
    }

    .rufre-catalog.rufre-catalog__hero-inner {
        padding: 40px 12px;
    }

    .rufre-catalog__hero-inner > .rufre-catalog__hero-title {
        max-width: none;
    }

    .rufre-catalog__hero .rufre-catalog__search-row {
        gap: 8px;
    }

    .container-wrap .rufre-catalog__hero .rufre-catalog .rufre-catalog__search-button {
        padding: 0 16px;
    }

    .container-wrap .rufre-catalog .rufre-catalog__references thead th,
    .rufre-catalog .rufre-catalog__references .rufre-catalog__ref-link,
    .rufre-catalog .rufre-catalog__references .rufre-catalog__row-link {
        padding: 6px 8px;
    }

    .container-wrap .rufre-catalog table.rufre-catalog__references {
        font-size: 14px;
    }

    .rufre-catalog__sections li {
        padding: 10px 4px;
    }

    .rufre-catalog__sections .rufre-catalog__tab {
        font-size: 15px;
    }

    .rufre-catalog__types .rufre-catalog__tab {
        font-size: 12px;
    }

    .rufre-catalog__references {
        font-size: 14px;
    }

    .rufre-catalog__references th {
        padding: 6px 8px;
    }

    .rufre-catalog__references th:first-child,
    .rufre-catalog__references td:first-child {
        width: auto;
    }

    .rufre-catalog__box {
        padding: 16px 12px;
    }

    .rufre-catalog__header {
        grid-template-columns: 1fr auto;
        gap: 6px 12px;
    }

    .rufre-catalog__ref {
        border-right: 0;
        margin-right: 0;
    }

    .rufre-catalog__type {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .rufre-catalog__details {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .rufre-catalog__details dd {
        margin-bottom: 10px;
    }

    .rufre-catalog__details .rufre-catalog__applications {
        grid-column: 1;
    }

    .rufre-catalog__table th:first-child,
    .rufre-catalog__table td:first-child {
        width: 60%;
    }

    .rufre-catalog__table th,
    .rufre-catalog__table td {
        padding: 8px;
    }

    .rufre-catalog__cta {
        display: block;
    }

    .rufre-catalog__cards {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .rufre-catalog__table--list td:first-child,
    .rufre-catalog__table--list th:first-child {
        width: auto;
    }
}
