.qlm-ft {
    --qlm-blue: #037eaa;
    --qlm-blue-hover: #026b90;
    --qlm-blue-soft: #e8f6fb;
    --qlm-black: #000000;
    --qlm-charcoal: #1a1a1a;
    --qlm-gray-700: #4d4d4d;
    --qlm-gray-500: #737373;
    --qlm-gray-300: #cccccc;
    --qlm-gray-200: #e6e6e6;
    --qlm-gray-100: #f7f7f7;
    --qlm-white: #ffffff;
    --qlm-success: #176c3a;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    color: var(--qlm-black);
    background: var(--qlm-white);
    border: 1px solid var(--qlm-gray-200);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .09);
    overflow: hidden;
    font-family: inherit;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

.qlm-ft *,
.qlm-ft *::before,
.qlm-ft *::after {
    box-sizing: border-box;
}

.qlm-ft button,
.qlm-ft input,
.qlm-ft select,
.qlm-ft textarea {
    max-width: 100%;
    font: inherit;
}

.qlm-ft button,
.qlm-ft select {
    -webkit-appearance: none;
    appearance: none;
}

.qlm-ft h2,
.qlm-ft h3,
.qlm-ft p {
    margin-top: 0;
}

.qlm-ft h2,
.qlm-ft h3 {
    color: var(--qlm-black);
    overflow-wrap: anywhere;
}

.qlm-ft a:not(.qlm-ft__primary-button):not(.qlm-ft__secondary-button) {
    color: var(--qlm-blue);
}

.qlm-ft__hero {
    min-width: 0;
    padding: clamp(38px, 5vw, 62px);
    background:
        radial-gradient(circle at 92% 12%, rgba(3, 126, 170, .20), transparent 27%),
        linear-gradient(135deg, #ffffff 0%, #f7f7f7 62%, #e8f6fb 100%);
    border-bottom: 1px solid var(--qlm-gray-200);
}

.qlm-ft__hero h2 {
    max-width: 900px;
    margin: 0 0 16px;
    font-size: clamp(36px, 4.8vw, 64px);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.qlm-ft__hero > p {
    max-width: 900px;
    margin-bottom: 24px;
    color: var(--qlm-gray-700);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.55;
}

.qlm-ft__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qlm-ft__trust span {
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--qlm-gray-300);
    border-radius: 10px;
    background: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.qlm-ft__filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.55fr) repeat(3, minmax(145px, .8fr)) auto;
    gap: 12px;
    align-items: end;
    min-width: 0;
    margin: 0 34px;
    padding: 22px;
    color: var(--qlm-white);
    background: var(--qlm-black);
    border-radius: 0 0 18px 18px;
}

.qlm-ft__filter {
    min-width: 0;
}

.qlm-ft__filter label {
    display: block;
    margin: 0 0 7px;
    color: rgba(255, 255, 255, .88);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qlm-ft__filter input,
.qlm-ft__filter select {
    width: 100%;
    height: 48px;
    padding: 0 38px 0 13px;
    border: 1px solid #4b4b4b;
    border-radius: 9px;
    outline: none;
    color: var(--qlm-black);
    background-color: var(--qlm-white);
}

.qlm-ft__filter input {
    padding-right: 13px;
}

.qlm-ft__filter select {
    background-image:
        linear-gradient(45deg, transparent 50%, #333 50%),
        linear-gradient(135deg, #333 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.qlm-ft__filter input:focus,
.qlm-ft__filter select:focus {
    border-color: var(--qlm-blue);
    box-shadow: 0 0 0 3px rgba(3, 126, 170, .24);
}

.qlm-ft__search-button,
.qlm-ft__primary-button,
.qlm-ft__secondary-button,
.qlm-ft__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
    touch-action: manipulation;
}

.qlm-ft__search-button:focus-visible,
.qlm-ft__primary-button:focus-visible,
.qlm-ft__secondary-button:focus-visible,
.qlm-ft__icon-button:focus-visible,
.qlm-ft__modal-close:focus-visible {
    outline: 3px solid rgba(3, 126, 170, .35);
    outline-offset: 3px;
}

.qlm-ft__search-button,
.qlm-ft__primary-button {
    padding: 0 18px;
    color: var(--qlm-white) !important;
    background: var(--qlm-blue);
}

.qlm-ft__search-button {
    min-height: 48px;
    white-space: nowrap;
}

.qlm-ft__search-button:hover,
.qlm-ft__primary-button:hover {
    background: var(--qlm-blue-hover);
    transform: translateY(-1px);
}

.qlm-ft__secondary-button {
    padding: 0 15px;
    color: var(--qlm-blue) !important;
    background: var(--qlm-white);
    border: 1px solid var(--qlm-blue);
}

.qlm-ft__secondary-button:hover {
    color: var(--qlm-white) !important;
    background: var(--qlm-blue);
    border-color: var(--qlm-blue);
}

.qlm-ft__featured-wrap,
.qlm-ft__directory {
    min-width: 0;
    padding: clamp(36px, 4.5vw, 56px);
}

.qlm-ft__featured-wrap {
    background: var(--qlm-gray-100);
    border-bottom: 1px solid var(--qlm-gray-200);
}

.qlm-ft__section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    margin-bottom: 22px;
}

.qlm-ft__section-heading > div:first-child {
    min-width: 0;
}

.qlm-ft__section-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--qlm-gray-700);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.qlm-ft__section-heading h3 {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.qlm-ft__result-count {
    flex: 0 0 auto;
    margin: 0;
    color: var(--qlm-gray-700);
    font-weight: 700;
}

.qlm-ft__carousel-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.qlm-ft__icon-button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    color: var(--qlm-white);
    background: var(--qlm-black);
    font-size: 20px;
}

.qlm-ft__icon-button:hover {
    background: var(--qlm-blue);
}

.qlm-ft__icon-button:disabled,
.qlm-ft__icon-button[aria-disabled="true"] {
    cursor: default;
    opacity: .35;
    transform: none;
}

.qlm-ft__carousel-viewport {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.qlm-ft__carousel-viewport::-webkit-scrollbar {
    display: none;
}

.qlm-ft__carousel-track {
    display: flex;
    gap: 18px;
    min-width: 0;
}

.qlm-ft__card {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--qlm-gray-200);
    border-radius: 16px;
    background: var(--qlm-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.qlm-ft__card--carousel {
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.qlm-ft__card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-bottom: 14px;
}

.qlm-ft__candidate-id {
    min-width: 0;
    color: var(--qlm-gray-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.qlm-ft__featured-label {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--qlm-blue);
    background: var(--qlm-blue-soft);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.qlm-ft__card h3 {
    display: -webkit-box;
    margin-bottom: 6px;
    overflow: hidden;
    font-size: clamp(20px, 2vw, 23px);
    line-height: 1.17;
    letter-spacing: -.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qlm-ft__category {
    margin-bottom: 17px;
    color: var(--qlm-gray-700);
    font-size: 13px;
    font-weight: 700;
}

.qlm-ft__facts {
    display: block;
    min-width: 0;
    margin: 2px 0 18px;
    padding: 2px 14px;
    border: 1px solid var(--qlm-gray-200);
    border-radius: 11px;
    background: #fafafa;
}

.qlm-ft__facts span {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
    padding: 10px 0;
    color: #333333;
    font-size: 12.5px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.qlm-ft__facts span + span {
    border-top: 1px solid var(--qlm-gray-200);
}

.qlm-ft__facts strong {
    flex: 0 0 88px;
    color: var(--qlm-gray-700);
    font-size: 9px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.qlm-ft__summary {
    display: -webkit-box;
    margin-bottom: 18px;
    overflow: hidden;
    color: #4e5156;
    line-height: 1.48;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.qlm-ft__highlights {
    margin: 0 0 20px;
    padding-top: 15px;
    border-top: 1px solid var(--qlm-gray-200);
}

.qlm-ft__highlights-label {
    display: block;
    margin-bottom: 9px;
    color: var(--qlm-gray-700);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qlm-ft__highlights-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qlm-ft__highlights-list li {
    position: relative;
    display: -webkit-box;
    margin: 0;
    padding-left: 15px;
    overflow: hidden;
    color: #3f4348;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qlm-ft__highlights-list li::before {
    position: absolute;
    top: .58em;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--qlm-blue);
    content: '';
}

.qlm-ft__highlights-more {
    display: block;
    margin-top: 9px;
    color: var(--qlm-gray-500);
    font-size: 10.5px;
    font-weight: 700;
}

.qlm-ft__card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    min-width: 0;
    margin-top: auto;
}

.qlm-ft__card-actions > * {
    flex: 1 1 150px;
    min-width: 0;
    text-align: center;
}

.qlm-ft__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    min-width: 0;
}

.qlm-ft__card[hidden] {
    display: none !important;
}

.qlm-ft__no-results {
    padding: 36px;
    border: 1px dashed var(--qlm-gray-300);
    border-radius: 14px;
    text-align: center;
    background: var(--qlm-gray-100);
}

.qlm-ft__load-more-wrap {
    margin-top: 28px;
    text-align: center;
}

.qlm-ft__modal[hidden] {
    display: none;
}

.qlm-ft__modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 20px;
}

.qlm-ft__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(4px);
}

.qlm-ft__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 38px 34px 34px;
    border-radius: 18px;
    background: var(--qlm-white);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
    -webkit-overflow-scrolling: touch;
}

.qlm-ft__dialog h2 {
    margin: 0 52px 8px 0;
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.qlm-ft__dialog > p {
    color: var(--qlm-gray-700);
    overflow-wrap: anywhere;
}

.qlm-ft__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--qlm-white);
    background: var(--qlm-black);
    font-size: 28px;
    line-height: 1;
    touch-action: manipulation;
}

.qlm-ft__selected-profile {
    margin: 18px 0;
    padding: 13px 15px;
    border-left: 4px solid var(--qlm-blue);
    background: var(--qlm-blue-soft);
    overflow-wrap: anywhere;
}

.qlm-ft__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.qlm-ft__form-grid label {
    display: block;
    min-width: 0;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
}

.qlm-ft__form-grid label > span:first-child {
    display: block;
    margin-bottom: 6px;
}

.qlm-ft__form-grid input:not([type="checkbox"]),
.qlm-ft__form-grid select,
.qlm-ft__form-grid textarea {
    width: 100%;
    border: 1px solid var(--qlm-gray-300);
    border-radius: 8px;
    outline: none;
    color: var(--qlm-black);
    background-color: var(--qlm-white);
}

.qlm-ft__form-grid input:not([type="checkbox"]),
.qlm-ft__form-grid select {
    height: 48px;
    padding: 0 38px 0 12px;
}

.qlm-ft__form-grid input:not([type="checkbox"]) {
    padding-right: 12px;
}

.qlm-ft__form-grid select {
    background-image:
        linear-gradient(45deg, transparent 50%, #333 50%),
        linear-gradient(135deg, #333 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.qlm-ft__form-grid textarea {
    padding: 12px;
    resize: vertical;
}

.qlm-ft__form-grid input:focus,
.qlm-ft__form-grid select:focus,
.qlm-ft__form-grid textarea:focus {
    border-color: var(--qlm-blue);
    box-shadow: 0 0 0 3px rgba(3, 126, 170, .20);
}

.qlm-ft__full {
    grid-column: 1 / -1;
}

.qlm-ft__consent {
    display: flex !important;
    gap: 9px;
    align-items: flex-start;
    font-weight: 400 !important;
}

.qlm-ft__consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.qlm-ft__form-status {
    margin: 14px 0;
    padding: 0;
    border-radius: 8px;
}

.qlm-ft__form-status.is-success,
.qlm-ft__form-status.is-error {
    padding: 12px 14px;
}

.qlm-ft__form-status.is-success {
    color: #0b522b;
    background: #e8f7ee;
}

.qlm-ft__form-status.is-error {
    color: #8e1b1b;
    background: #fdeaea;
}

.qlm-ft__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

body.qlm-ft-modal-open {
    overflow: hidden;
}

.qlm-ft-empty-admin {
    padding: 14px;
    border-left: 4px solid #037eaa;
    background: #e8f6fb;
}

@container (max-width: 520px) {
    .qlm-ft__facts {
        grid-template-columns: 1fr;
    }

    .qlm-ft__card-actions {
        flex-direction: column;
    }

    .qlm-ft__card-actions > * {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .qlm-ft__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qlm-ft__filter--search,
    .qlm-ft__search-button {
        grid-column: 1 / -1;
    }

    .qlm-ft__search-button {
        width: 100%;
    }

    .qlm-ft__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qlm-ft__card--carousel {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 900px) {
    .qlm-ft {
        border-radius: 18px;
    }

    .qlm-ft__hero {
        padding: 42px 32px;
    }

    .qlm-ft__hero h2 {
        font-size: clamp(36px, 6.5vw, 52px);
    }

    .qlm-ft__filters {
        margin: 0 24px;
    }

    .qlm-ft__featured-wrap,
    .qlm-ft__directory {
        padding: 40px 28px;
    }

    .qlm-ft__facts {
        grid-template-columns: 1fr;
    }

    .qlm-ft__dialog {
        width: min(700px, 100%);
    }
}

@media (max-width: 700px) {
    .qlm-ft {
        border-radius: 16px;
        box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
    }

    .qlm-ft__hero {
        padding: 34px 22px;
    }

    .qlm-ft__hero h2 {
        margin-bottom: 14px;
        font-size: clamp(32px, 9vw, 43px);
        line-height: 1.06;
        letter-spacing: -.04em;
    }

    .qlm-ft__hero > p {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .qlm-ft__trust {
        gap: 8px;
    }

    .qlm-ft__trust span {
        padding: 8px 10px;
        font-size: 12px;
    }

    .qlm-ft__filters {
        grid-template-columns: minmax(0, 1fr);
        margin: 0;
        padding: 20px;
        border-radius: 0;
    }

    .qlm-ft__filter--search,
    .qlm-ft__search-button {
        grid-column: auto;
    }

    .qlm-ft__filter input,
    .qlm-ft__filter select,
    .qlm-ft__form-grid input:not([type="checkbox"]),
    .qlm-ft__form-grid select,
    .qlm-ft__form-grid textarea {
        font-size: 16px;
    }

    .qlm-ft__featured-wrap,
    .qlm-ft__directory {
        padding: 34px 18px;
    }

    .qlm-ft__section-heading {
        align-items: flex-start;
        gap: 14px;
    }

    .qlm-ft__section-heading h3 {
        font-size: clamp(26px, 7vw, 32px);
    }

    .qlm-ft__section-heading .qlm-ft__result-count {
        font-size: 12px;
    }

    .qlm-ft__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .qlm-ft__card--carousel {
        flex-basis: min(88%, 420px);
    }

    .qlm-ft__card {
        padding: 22px;
    }

    .qlm-ft__facts {
        padding-inline: 12px;
    }

    .qlm-ft__facts strong {
        flex-basis: 82px;
    }

    .qlm-ft__card h3 {
        font-size: 22px;
    }

    .qlm-ft__card-actions {
        flex-direction: column;
    }

    .qlm-ft__card-actions > * {
        flex-basis: auto;
        width: 100%;
    }

    .qlm-ft__modal {
        align-items: end;
        padding: 12px;
    }

    .qlm-ft__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 34px 18px 24px;
        border-radius: 16px;
    }

    .qlm-ft__dialog h2 {
        margin-right: 48px;
        font-size: clamp(28px, 8vw, 34px);
    }

    .qlm-ft__form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .qlm-ft__full {
        grid-column: auto;
    }

    .qlm-ft__submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .qlm-ft__hero {
        padding: 30px 18px;
    }

    .qlm-ft__hero h2 {
        font-size: clamp(30px, 10vw, 39px);
    }

    .qlm-ft__trust span {
        flex: 1 1 100%;
        text-align: center;
    }

    .qlm-ft__filters {
        padding: 18px;
    }

    .qlm-ft__featured-wrap,
    .qlm-ft__directory {
        padding: 30px 16px;
    }

    .qlm-ft__section-heading {
        flex-wrap: wrap;
    }

    .qlm-ft__carousel-controls {
        margin-left: auto;
    }

    .qlm-ft__icon-button {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .qlm-ft__card--carousel {
        flex-basis: 100%;
    }

    .qlm-ft__card {
        padding: 20px;
        border-radius: 14px;
    }

    .qlm-ft__card-topline {
        align-items: flex-start;
    }

    .qlm-ft__featured-label {
        font-size: 10px;
    }

    .qlm-ft__no-results {
        padding: 28px 18px;
    }

    .qlm-ft__modal {
        padding: 0;
    }

    .qlm-ft__dialog {
        max-height: 100vh;
        max-height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 64px 18px 28px;
        border-radius: 0;
    }

    .qlm-ft__modal-close {
        position: fixed;
        top: 12px;
        right: 12px;
    }

    .qlm-ft__dialog h2 {
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qlm-ft *,
    .qlm-ft *::before,
    .qlm-ft *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Search results move directly beneath the filter bar while a search or filter is active. */
.qlm-ft--search-active .qlm-ft__featured-wrap {
    display: none;
}

.qlm-ft--search-active .qlm-ft__filters {
    border-radius: 0;
}

.qlm-ft--search-active .qlm-ft__directory {
    scroll-margin-top: 24px;
    padding-top: clamp(30px, 3.8vw, 46px);
    border-top: 1px solid var(--qlm-gray-200);
}

.qlm-ft__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.qlm-ft__pagination[hidden] {
    display: none !important;
}

.qlm-ft__pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.qlm-ft__pagination-control,
.qlm-ft__pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--qlm-gray-300);
    border-radius: 9px;
    color: var(--qlm-black);
    background: var(--qlm-white);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: color .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}

.qlm-ft__pagination-control:hover:not(:disabled),
.qlm-ft__pagination-page:hover,
.qlm-ft__pagination-page.is-current {
    color: var(--qlm-white);
    background: var(--qlm-blue);
    border-color: var(--qlm-blue);
}

.qlm-ft__pagination-page.is-current {
    cursor: default;
}

.qlm-ft__pagination-control:disabled {
    cursor: default;
    opacity: .38;
}

.qlm-ft__pagination-control:focus-visible,
.qlm-ft__pagination-page:focus-visible {
    outline: 3px solid rgba(3, 126, 170, .28);
    outline-offset: 2px;
}

.qlm-ft__pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 42px;
    color: var(--qlm-gray-700);
    font-weight: 800;
}

@media (max-width: 700px) {
    .qlm-ft--search-active .qlm-ft__directory {
        scroll-margin-top: 12px;
        padding-top: 28px;
    }

    .qlm-ft__pagination {
        gap: 7px;
        margin-top: 24px;
    }

    .qlm-ft__pagination-control {
        flex: 1 1 110px;
    }

    .qlm-ft__pagination-pages {
        order: -1;
        flex: 1 0 100%;
    }
}

/* Compact, expandable Featured Talent cards. Directory cards remain full-size. */
.qlm-ft__featured-wrap {
    padding-top: clamp(30px, 3.8vw, 44px);
    padding-bottom: clamp(30px, 3.8vw, 44px);
}

.qlm-ft__carousel-track {
    align-items: flex-start;
}

.qlm-ft__featured-card {
    flex: 0 0 calc((100% - 54px) / 4);
    min-height: 286px;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .045);
}

.qlm-ft__featured-card .qlm-ft__card-topline {
    margin-bottom: 11px;
}

.qlm-ft__featured-card .qlm-ft__candidate-id {
    font-size: 10px;
}

.qlm-ft__featured-card .qlm-ft__featured-label {
    padding: 4px 7px;
    font-size: 9px;
}

.qlm-ft__featured-card h3 {
    margin-bottom: 5px;
    font-size: clamp(18px, 1.55vw, 21px);
    line-height: 1.18;
}

.qlm-ft__featured-card .qlm-ft__category {
    margin-bottom: 13px;
    font-size: 11.5px;
}

.qlm-ft__featured-quickfacts {
    display: grid;
    gap: 0;
    min-width: 0;
    margin-bottom: 15px;
    border-top: 1px solid var(--qlm-gray-200);
}

.qlm-ft__featured-quickfacts span {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--qlm-gray-200);
}

.qlm-ft__featured-quickfacts strong {
    color: var(--qlm-gray-500);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    line-height: 1.45;
    text-transform: uppercase;
}

.qlm-ft__featured-quickfacts em {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #383b3f;
    font-size: 11px;
    font-style: normal;
    line-height: 1.38;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qlm-ft__expand-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 0 13px;
    border: 1px solid var(--qlm-blue);
    border-radius: 9px;
    color: var(--qlm-blue);
    background: var(--qlm-white);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
    transition: color .16s ease, background .16s ease, border-color .16s ease;
}

.qlm-ft__expand-toggle:hover,
.qlm-ft__featured-card.is-expanded .qlm-ft__expand-toggle {
    color: var(--qlm-white);
    background: var(--qlm-blue);
}

.qlm-ft__expand-toggle:focus-visible {
    outline: 3px solid rgba(3, 126, 170, .35);
    outline-offset: 3px;
}

.qlm-ft__expand-toggle i {
    flex: 0 0 auto;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    transition: transform .18s ease;
}

.qlm-ft__featured-card.is-expanded .qlm-ft__expand-toggle i {
    transform: rotate(45deg);
}

.qlm-ft__featured-panel {
    min-width: 0;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--qlm-gray-200);
}

.qlm-ft__featured-panel[hidden] {
    display: none !important;
}

.qlm-ft__featured-panel .qlm-ft__summary {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.48;
    -webkit-line-clamp: 4;
}

.qlm-ft__featured-panel .qlm-ft__highlights {
    margin-bottom: 15px;
    padding-top: 13px;
}

.qlm-ft__featured-panel .qlm-ft__highlights-list {
    gap: 6px;
}

.qlm-ft__featured-panel .qlm-ft__highlights-list li {
    font-size: 11px;
}

.qlm-ft__featured-panel .qlm-ft__card-actions {
    flex-direction: column;
    gap: 8px;
}

.qlm-ft__featured-panel .qlm-ft__card-actions > * {
    flex-basis: auto;
    width: 100%;
    min-height: 42px;
    font-size: 12px;
}

@media (max-width: 1180px) {
    .qlm-ft__featured-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (max-width: 900px) {
    .qlm-ft__featured-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 700px) {
    .qlm-ft__featured-card {
        flex-basis: min(82%, 360px);
        min-height: 270px;
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .qlm-ft__featured-card {
        flex-basis: 100%;
        min-height: 0;
    }

    .qlm-ft__featured-quickfacts span {
        grid-template-columns: 74px minmax(0, 1fr);
    }
}
