/* =====================================================
   KICKWISE V2 — EMPLOYERS ARCHIVE
   Hero + filters + table/list/grid archive system
===================================================== */

.kw-employers-page {
    width: min(1180px, calc(100% - 32px));
    padding-top: 28px;
}

.kw-employers-page-hero {
    padding-top: clamp(64px, 7vw, 88px);
    padding-bottom: 28px;
}

.kw-employers-page-hero .kw-hero__lead {
    width: min(100%, 900px);
}

.kw-employers-hero-lead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 7px;
    width: min(100%, 860px) !important;
    margin-top: 24px;
    line-height: 1.78;
}

.kw-employers-hero-lead__text {
    display: inline;
}

.kw-employers-hero-lead__pills {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    vertical-align: middle;
}

.kw-employers-page-hero .kw-hero-pill {
    margin: 0;
    min-height: 24px;
    padding-inline: 9px;
    border-radius: 8px;
    font-size: 11.4px;
    font-weight: 700;
    letter-spacing: -.005em;
}

/* =====================================================
   Archive filter heading + form
===================================================== */

.kw-employers-ajax-region {
    position: relative;
}

.kw-employers-ajax-region.is-loading {
    opacity: .72;
    pointer-events: none;
}


.kw-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.kw-field--search {
    position: relative;
}

.kw-archive-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
}

.kw-filter-heading {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.kw-filter-heading__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #003172;
}

.kw-filter-heading__icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.9;
}

.kw-filter-heading h2 {
    margin: 0;
    color: #003172;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
}

.kw-filter-panel.kw-filter-panel--compact {
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.kw-employers-filter-main-row {
    display: grid;
    grid-template-columns: minmax(300px, 1.35fr) minmax(210px, .95fr) minmax(210px, .95fr) minmax(170px, .72fr) auto;
    gap: 10px;
    align-items: end;
}

.kw-filter-panel--compact .kw-field {
    position: relative;
    min-width: 0;
    display: block;
}

.kw-filter-panel--compact .kw-field label:not(.kw-visually-hidden) {
    display: block;
    margin: 0 0 6px;
    color: rgba(0, 49, 114, .66);
    font-size: 10px;
    font-weight: 730;
    line-height: 1;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.kw-filter-panel--compact .kw-input,
.kw-filter-panel--compact .kw-select,
.kw-select--sort {
    width: 100%;
    min-height: 43px;
    border: 1px solid rgba(0, 49, 114, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .88);
    color: #142338;
    padding: 0 12px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 590;
    box-shadow: none;
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.kw-filter-panel--compact .kw-select,
.kw-select--sort {
    padding-right: 34px;
}

.kw-filter-panel--compact .kw-input:hover,
.kw-filter-panel--compact .kw-select:hover,
.kw-select--sort:hover,
.kw-filter-panel--compact .kw-input:focus,
.kw-filter-panel--compact .kw-select:focus,
.kw-select--sort:focus {
    border-color: rgba(0, 49, 114, .24);
    background: #fff;
    outline: none;
}

.kw-filter-panel--compact .kw-input:focus,
.kw-filter-panel--compact .kw-select:focus,
.kw-select--sort:focus {
    box-shadow: 0 0 0 3px rgba(0, 49, 114, .045);
}

.kw-filter-panel--compact .kw-input::placeholder {
    color: rgba(0, 49, 114, .44);
}

.kw-input--with-icon {
    padding-left: 39px !important;
}

.kw-field-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    z-index: 2;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 49, 114, .48);
    transform: translateY(-50%);
    pointer-events: none;
}

.kw-field-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.kw-filter-actions--main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: max-content;
}

.kw-filter-panel--compact .kw-filter-btn,
.kw-filter-panel--compact .kw-clear-btn {
    min-height: 43px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 11px;
    font-size: 11.8px;
    font-weight: 735;
    line-height: 1;
    letter-spacing: -.005em;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.kw-filter-panel--compact .kw-filter-btn {
    border: 1px solid #003172;
    background: #003172;
    color: #fff;
}

.kw-filter-panel--compact .kw-filter-btn:hover,
.kw-filter-panel--compact .kw-filter-btn:focus-visible {
    border-color: #002759;
    background: #002759;
}

.kw-filter-panel--compact .kw-clear-btn {
    border: 1px solid rgba(220, 38, 38, .20);
    background: rgba(220, 38, 38, .065);
    color: #b42318;
}

.kw-filter-panel--compact .kw-clear-btn:hover,
.kw-filter-panel--compact .kw-clear-btn:focus-visible {
    border-color: rgba(220, 38, 38, .32);
    background: rgba(220, 38, 38, .11);
    color: #991b1b;
}

.kw-control-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.kw-control-btn__icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.95;
}

/* =====================================================
   Minimal searchable country picker
===================================================== */

.kw-field--country-search {
    position: relative;
}

.kw-country-trigger {
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(0, 49, 114, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .88);
    color: #142338;
    font: inherit;
    font-size: 12.5px;
    font-weight: 590;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.kw-country-trigger:hover,
.kw-country-trigger:focus-visible,
.kw-field--country-search.is-open .kw-country-trigger {
    border-color: rgba(0, 49, 114, .22);
    background: #fff;
    outline: none;
}

.kw-country-trigger:focus-visible,
.kw-field--country-search.is-open .kw-country-trigger {
    box-shadow: 0 0 0 3px rgba(0, 49, 114, .04);
}

.kw-country-trigger__value {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-country-trigger__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: rgba(0, 49, 114, .46);
    transition: transform .18s ease;
}

.kw-country-trigger__chevron svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.kw-field--country-search.is-open .kw-country-trigger__chevron {
    transform: rotate(180deg);
}

.kw-country-panel {
    position: absolute;
    z-index: 28;
    top: calc(100% + 7px);
    left: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 9px;
    border: 1px solid rgba(0, 49, 114, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.kw-country-panel[hidden] {
    display: none;
}

.kw-country-searchbox {
    position: relative;
    margin-bottom: 7px;
}

.kw-country-searchbox .kw-field-icon {
    left: 12px;
}

.kw-country-searchbox__input {
    min-height: 39px !important;
    font-size: 12.2px !important;
}

.kw-country-options {
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: 1px;
    padding-right: 2px;
    scrollbar-width: thin;
}

.kw-country-option {
    width: 100%;
    min-height: 35px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #142338;
    font: inherit;
    font-size: 12.2px;
    font-weight: 590;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.kw-country-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-country-option small {
    flex: 0 0 auto;
    color: rgba(0, 49, 114, .50);
    font-size: 11px;
    font-weight: 650;
}

.kw-country-option:hover,
.kw-country-option:focus-visible {
    background: rgba(0, 49, 114, .035);
    color: #003172;
    outline: none;
}

.kw-country-option.is-selected {
    background: rgba(0, 49, 114, .055);
    color: #003172;
    font-weight: 700;
}

.kw-country-option[hidden] {
    display: none;
}


.kw-filter-panel.kw-filter-panel--compact,
.kw-results-toolbar,
.kw-results-controls,
.kw-results-sort {
    position: relative;
    overflow: visible;
}
.kw-filter-panel.kw-filter-panel--compact { z-index: 40; }
.kw-results-toolbar { z-index: 20; }
.kw-field--combo { position: relative; }
.kw-field--combo.is-open { z-index: 4200; }
.kw-combo-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 4300;
}

/* =====================================================
   Results toolbar + view switcher
===================================================== */

.kw-results-shell {
    min-width: 0;
}

.kw-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.kw-results-summary span {
    color: #003172;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.012em;
}

.kw-results-controls {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

.kw-results-sort {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.kw-results-sort label {
    color: #003172;
    font-size: 11.8px;
    font-weight: 710;
    line-height: 1;
    letter-spacing: -.005em;
    text-transform: none;
    white-space: nowrap;
}

.kw-select--sort {
    width: auto;
    min-width: 132px;
    min-height: 37px;
    padding: 0 32px 0 12px;
    border-radius: 10px;
    color: #003172;
    font-size: 12px;
    font-weight: 670;
}

.kw-view-switcher {
    min-height: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.kw-view-mode {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(0, 49, 114, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    color: #003172;
    font-size: 11.7px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.kw-view-mode:hover,
.kw-view-mode:focus-visible {
    border-color: rgba(0, 49, 114, .26);
    background: #fff;
    color: #003172;
    text-decoration: none !important;
}

.kw-view-mode.is-active {
    border-color: #003172;
    background: #003172;
    color: #fff;
    font-weight: 700;
    box-shadow: none;
    text-decoration: none !important;
}

.kw-view-mode__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kw-view-mode__icon svg {
    width: 14px;
    height: 14px;
}

/* =====================================================
   Shared employer identity
===================================================== */

.kw-employer-avatar {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 49, 114, .10);
    border-radius: 15px;
    background:
        radial-gradient(circle at 30% 20%, rgba(193, 255, 114, .20), transparent 46%),
        rgba(248, 251, 255, .96);
    color: #003172;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .02em;
    flex: 0 0 auto;
}

.kw-employer-avatar span {
    position: relative;
    z-index: 1;
}

.kw-employer-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
    border-radius: inherit;
    background: rgba(255, 255, 255, .94);
}

.kw-employer-avatar--logo {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.kw-employer-avatar--logo img {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.kw-employer-avatar--list {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}


/* =====================================================
   Employer Archive — Grid / List card structure
===================================================== */

.kw-employers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.kw-employer-card {
    position: relative;
    min-width: 0;
    min-height: 292px;
    display: flex;
    flex-direction: column;
}

.kw-employer-card:hover {
    transform: none;
}

.kw-employer-card__main-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.kw-employer-card__top {
    min-width: 0;
}

.kw-employer-card__identity {
    min-width: 0;
}

.kw-employer-card__meta-row {
    min-height: 22px;
}

.kw-employer-card__category {
    margin-bottom: 0;
}

.kw-employer-card__main {
    align-items: start;
}

.kw-employer-grid-card__title {
    min-height: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #003172;
    font-size: 16px;
    font-weight: 820;
    line-height: 1.24;
    letter-spacing: -.028em;
}

.kw-employer-grid-card__league {
    margin: 3px 0 0;
    color: rgba(0, 49, 114, .62);
    font-size: 12px;
    font-weight: 630;
    line-height: 1.35;
}

.kw-employer-grid-card__location-row {
    margin-top: 1px;
}

.kw-employer-grid-card__location {
    color: rgba(0, 49, 114, .54);
    font-size: 11.8px;
    font-weight: 560;
    line-height: 1.35;
}

.kw-employer-name {
    min-width: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #071b34;
    font-size: 16px;
    font-weight: 820;
    line-height: 1.24;
    letter-spacing: -.028em;
}

.kw-employer-name > span {
    min-width: 0;
}

.kw-employer-kind {
    margin: 4px 0 0;
    color: rgba(0, 49, 114, .58);
    font-size: 12px;
    font-weight: 620;
    line-height: 1.42;
}

.kw-employer-card__meta {
    display: none;
}

.kw-employer-card__meta span {
    display: none;
}

.kw-employer-card__description {
    display: -webkit-box;
    min-height: 61px;
    margin: 14px 0 0;
    overflow: hidden;
    color: rgba(0, 49, 114, .56);
    font-size: 12.8px;
    font-weight: 520;
    line-height: 1.58;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.kw-employer-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(0, 49, 114, .075);
}

.kw-employer-icon-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.kw-employers-list {
    display: grid;
    gap: 10px;
}

.kw-employer-list-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 17px;
    border: 1px solid rgba(0, 49, 114, .085);
    border-radius: 18px;
    background: rgba(255, 255, 255, .90);
    box-shadow: 0 18px 44px rgba(0, 49, 114, .05);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.kw-employer-list-card:hover {
    border-color: rgba(0, 49, 114, .15);
    background: #fff;
    box-shadow: 0 22px 52px rgba(0, 49, 114, .07);
}

.kw-employer-list-card__main {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.kw-employer-list-card__content {
    min-width: 0;
}

.kw-employer-name--list {
    font-size: 17px;
}

.kw-employer-list-card__headline-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 5px;
    color: rgba(0, 49, 114, .58);
    font-size: 12.2px;
    font-weight: 630;
    line-height: 1.42;
}

.kw-employer-list-card__headline-meta span {
    position: relative;
}

.kw-employer-list-card__headline-meta span + span::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(0, 49, 114, .32);
    transform: translateY(-50%);
}

.kw-employer-list-card__category {
    width: fit-content;
    margin-top: 7px;
    display: inline-flex;
}

.kw-employer-list-card__description {
    display: -webkit-box;
    max-width: 760px;
    margin: 8px 0 0;
    overflow: hidden;
    color: rgba(0, 49, 114, .54);
    font-size: 12.7px;
    font-weight: 520;
    line-height: 1.56;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kw-employer-list-card__roles {
    margin-top: 8px;
    color: #003172;
    font-size: 11.8px;
    font-weight: 730;
    line-height: 1.3;
}

.kw-employer-list-card__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
}

.kw-employer-roles-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    color: #003172;
    font-size: 11.9px;
    font-weight: 730;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-decoration: none !important;
    transition: color .18s ease, opacity .18s ease;
}

.kw-employer-roles-link:hover,
.kw-employer-roles-link:focus-visible {
    color: #0655ae;
    text-decoration: none !important;
}

.kw-employer-roles-link--grid {
    margin-top: 10px;
}

.kw-employer-roles-link--list {
    min-width: max-content;
    margin-right: 2px;
}

.kw-employer-roles-link--table {
    display: inline-flex;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =====================================================
   Table view
===================================================== */

.kw-employers-table {
    --kw-employer-table-actions-space: 220px;
    --kw-employer-table-columns: minmax(290px, 1.48fr) minmax(145px, .62fr) minmax(180px, .72fr) minmax(165px, .68fr);
    overflow: hidden;
    border: 1px solid rgba(0, 49, 114, .075);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 44px rgba(0, 49, 114, .055);
}

.kw-employer-list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--kw-employer-table-actions-space);
    min-height: 46px;
    align-items: center;
    padding: 0;
    background: rgba(248, 251, 255, .84);
    color: rgba(0, 49, 114, .46);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kw-employer-list-head__content {
    min-width: 0;
    display: grid;
    grid-template-columns: var(--kw-employer-table-columns);
    align-items: center;
    padding: 0 18px;
}

.kw-employer-list-head__actions {
    visibility: hidden;
}

.kw-employer-row-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--kw-employer-table-actions-space);
    align-items: stretch;
    border-top: 1px solid rgba(0, 49, 114, .075);
    background: rgba(255, 255, 255, .84);
    transition: background .18s ease, box-shadow .18s ease;
}

.kw-employer-row-wrap:hover {
    background: linear-gradient(90deg, rgba(241, 248, 255, .95), rgba(255, 255, 255, .94));
    box-shadow: inset 3px 0 0 rgba(2, 132, 199, .46);
}

.kw-employer-row {
    min-width: 0;
    min-height: 92px;
    display: grid;
    grid-template-columns: var(--kw-employer-table-columns);
    align-items: center;
    padding: 0 18px;
}

.kw-employer-row__identity {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.kw-employer-avatar--table {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.kw-employer-row__name-stack {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.kw-employer-row__name {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #071b34;
    font-size: 14px;
    font-weight: 820;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-decoration: none !important;
}

.kw-employer-row__name > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-employer-row__name:hover,
.kw-employer-row__name:focus {
    color: #003172;
}

.kw-employer-row__league {
    min-width: 0;
    overflow: hidden;
    color: rgba(0, 49, 114, .48);
    font-size: 11.8px;
    font-weight: 560;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-employer-row__cell {
    min-width: 0;
    padding-right: 14px;
    overflow: hidden;
    color: #003172;
    font-size: 12.4px;
    font-weight: 590;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-employer-row__roles {
    color: rgba(0, 49, 114, .65);
    font-size: 12px;
    font-weight: 700;
}

.kw-employer-table-link {
    max-width: 100%;
    display: inline-flex;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .18s ease;
}

.kw-employer-table-link:hover,
.kw-employer-table-link:focus {
    color: #003172;
}

.kw-employer-row__actions {
    width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    padding: 0 18px 0 8px;
}

/* =====================================================
   Empty + pagination
===================================================== */

.kw-employer-empty {
    border: 1px solid rgba(0, 49, 114, .085);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 44px rgba(0, 49, 114, .045);
    padding: 28px;
    color: rgba(0, 49, 114, .62);
    font-size: 14px;
    font-weight: 560;
    line-height: 1.65;
}

.kw-employers-pagination {
    margin-top: 18px;
}

/* =====================================================
   Dark mode
===================================================== */

html[data-theme="dark"] .kw-filter-heading__icon {
    color: rgba(255, 255, 255, .94);
}

html[data-theme="dark"] .kw-view-mode {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .86);
}

html[data-theme="dark"] .kw-filter-heading h2,
html[data-theme="dark"] .kw-results-summary span,
html[data-theme="dark"] .kw-results-sort label {
    color: rgba(255, 255, 255, .92);
}

html[data-theme="dark"] .kw-filter-panel--compact {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
}

html[data-theme="dark"] .kw-filter-panel--compact .kw-field label:not(.kw-visually-hidden),
html[data-theme="dark"] .kw-field-icon {
    color: rgba(255, 255, 255, .46);
}

html[data-theme="dark"] .kw-filter-panel--compact .kw-input,
html[data-theme="dark"] .kw-filter-panel--compact .kw-select,
html[data-theme="dark"] .kw-select--sort {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .94);
}

html[data-theme="dark"] .kw-filter-panel--compact .kw-input:hover,
html[data-theme="dark"] .kw-filter-panel--compact .kw-select:hover,
html[data-theme="dark"] .kw-select--sort:hover,
html[data-theme="dark"] .kw-filter-panel--compact .kw-input:focus,
html[data-theme="dark"] .kw-filter-panel--compact .kw-select:focus,
html[data-theme="dark"] .kw-select--sort:focus {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .075);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .035);
}

html[data-theme="dark"] .kw-filter-panel--compact .kw-input::placeholder {
    color: rgba(255, 255, 255, .46);
}



html[data-theme="dark"] .kw-filter-panel--compact .kw-filter-btn {
    border-color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .92);
    color: #06111f;
}

html[data-theme="dark"] .kw-filter-panel--compact .kw-clear-btn {
    border-color: rgba(248, 113, 113, .28);
    background: rgba(220, 38, 38, .16);
    color: #fca5a5;
}

html[data-theme="dark"] .kw-filter-panel--compact .kw-clear-btn:hover,
html[data-theme="dark"] .kw-filter-panel--compact .kw-clear-btn:focus-visible {
    border-color: rgba(248, 113, 113, .42);
    background: rgba(220, 38, 38, .24);
    color: #fecaca;
}

html[data-theme="dark"] .kw-view-mode:hover,
html[data-theme="dark"] .kw-view-mode:focus-visible {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .085);
    color: #ffffff;
}

html[data-theme="dark"] .kw-view-mode.is-active {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
}

html[data-theme="dark"] .kw-employer-card,
html[data-theme="dark"] .kw-employer-list-card,
html[data-theme="dark"] .kw-employer-empty,
html[data-theme="dark"] .kw-employers-table {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
}

html[data-theme="dark"] .kw-employer-card:hover,
html[data-theme="dark"] .kw-employer-list-card:hover {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
}

html[data-theme="dark"] .kw-employer-avatar {
    border-color: rgba(255, 255, 255, .10);
    background:
        radial-gradient(circle at 30% 20%, rgba(193, 255, 114, .12), transparent 46%),
        rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .92);
}

html[data-theme="dark"] .kw-employer-avatar--logo {
    background: transparent;
    box-shadow: none;
}

html[data-theme="dark"] .kw-employer-avatar--logo img {
    background: transparent;
}

html[data-theme="dark"] .kw-employer-name,
html[data-theme="dark"] .kw-employer-row__name {
    color: #ffffff;
}

html[data-theme="dark"] .kw-employer-kind,
html[data-theme="dark"] .kw-employer-list-card__headline-meta,
html[data-theme="dark"] .kw-employer-card__description,
html[data-theme="dark"] .kw-employer-list-card__description,
html[data-theme="dark"] .kw-employer-empty,
html[data-theme="dark"] .kw-employer-row__league {
    color: rgba(255, 255, 255, .62);
}

html[data-theme="dark"] .kw-employer-list-card__headline-meta span + span::before {
    background: rgba(255, 255, 255, .34);
}

html[data-theme="dark"] .kw-employer-card__meta span {
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .72);
}

html[data-theme="dark"] .kw-employer-card__actions {
    border-top-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .kw-employer-list-card__roles,
html[data-theme="dark"] .kw-employer-row__cell,
html[data-theme="dark"] .kw-employer-row__roles,
html[data-theme="dark"] .kw-employer-table-link {
    color: rgba(236, 244, 255, .90);
}

html[data-theme="dark"] .kw-employer-list-head {
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .46);
}

html[data-theme="dark"] .kw-employer-row-wrap {
    border-top-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .035);
}

html[data-theme="dark"] .kw-employer-row-wrap:hover {
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 3px 0 0 rgba(56, 189, 248, .46);
}

html[data-theme="dark"] .kw-employer-row__name:hover,
html[data-theme="dark"] .kw-employer-row__name:focus,
html[data-theme="dark"] .kw-employer-table-link:hover,
html[data-theme="dark"] .kw-employer-table-link:focus {
    color: #ffffff;
}


html[data-theme="dark"] .kw-employer-card,
html[data-theme="dark"] .kw-employer-list-card {
    border-color: rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .08), transparent 34%),
        rgba(255, 255, 255, .04);
    box-shadow: none;
}

html[data-theme="dark"] .kw-employer-card:hover,
html[data-theme="dark"] .kw-employer-list-card:hover {
    border-color: rgba(255, 255, 255, .14);
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .10), transparent 36%),
        rgba(255, 255, 255, .055);
}

html[data-theme="dark"] .kw-employer-name {
    color: #fff;
}

html[data-theme="dark"] .kw-employer-kind,
html[data-theme="dark"] .kw-employer-card__description {
    color: rgba(255, 255, 255, .62);
}

html[data-theme="dark"] .kw-employer-card__meta span {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .68);
}

html[data-theme="dark"] .kw-employer-card__actions {
    border-top-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .kw-country-trigger {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .90);
}

html[data-theme="dark"] .kw-country-trigger:hover,
html[data-theme="dark"] .kw-country-trigger:focus-visible,
html[data-theme="dark"] .kw-field--country-search.is-open .kw-country-trigger {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .kw-country-trigger__chevron,
html[data-theme="dark"] .kw-country-option small {
    color: rgba(255, 255, 255, .52);
}

html[data-theme="dark"] .kw-country-panel {
    border-color: rgba(255, 255, 255, .10);
    background: #121215;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] .kw-country-option {
    color: rgba(255, 255, 255, .86);
}

html[data-theme="dark"] .kw-country-option:hover,
html[data-theme="dark"] .kw-country-option:focus-visible,
html[data-theme="dark"] .kw-country-option.is-selected {
    background: rgba(255, 255, 255, .075);
    color: #fff;
}

html[data-theme="dark"] .kw-employer-grid-card__title {
    color: #fff;
}

html[data-theme="dark"] .kw-employer-grid-card__league,
html[data-theme="dark"] .kw-employer-grid-card__location,
html[data-theme="dark"] .kw-employer-list-card__category {
    color: rgba(255, 255, 255, .68);
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width: 1080px) {
    .kw-employers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kw-employers-filter-main-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kw-field--search,
    .kw-filter-actions--main {
        grid-column: 1 / -1;
    }

    .kw-employers-table {
        --kw-employer-table-columns: minmax(260px, 1.34fr) minmax(130px, .58fr) minmax(160px, .68fr) minmax(145px, .62fr);
    }
}

@media (max-width: 900px) {
    .kw-results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .kw-results-controls {
        width: 100%;
        justify-content: space-between;
    }

    .kw-employer-list-head {
        display: none;
    }

    .kw-employer-list-head__content {
        grid-template-columns: 1fr;
    }

    .kw-employer-row-wrap {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .kw-employer-row {
        min-height: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
    }

    .kw-employer-row__identity {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .kw-employer-row__cell {
        white-space: normal;
        padding-right: 0;
    }

    .kw-employer-row__actions {
        justify-content: flex-start;
        padding: 12px 0 0;
    }

    .kw-employer-row__actions .kw-card-cta {
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    .kw-employers-page {
        width: min(100%, calc(100% - 24px));
        padding-top: 18px;
    }

    .kw-employers-page-hero {
        padding-top: 48px;
        padding-bottom: 18px;
    }

    .kw-employers-hero-lead {
        width: min(100%, 640px) !important;
        gap: 7px;
        line-height: 1.66;
    }

    .kw-employers-hero-lead__pills {
        width: 100%;
    }

    .kw-archive-filter-head {
        margin-top: 10px;
    }

    .kw-employers-filter-main-row,
    .kw-employers-grid {
        grid-template-columns: 1fr;
    }


    .kw-filter-actions--main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .kw-filter-actions--main > * {
        width: 100%;
        min-width: 0;
    }

    .kw-results-toolbar {
        gap: 12px;
    }

    .kw-results-controls {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .kw-results-sort {
        width: 100%;
        justify-content: space-between;
    }

    .kw-select--sort {
        flex: 1 1 auto;
        width: min(100%, 210px);
    }

    .kw-view-switcher {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    
    .kw-view-switcher .kw-view-mode:first-child {
        display: none;
    }

    html.kw-mobile-archive-list-only .kw-list-panel--table {
        display: none;
    }
.kw-view-mode {
        justify-content: center;
        width: 100%;
        padding-inline: 10px;
    }

    .kw-employer-list-card {
        grid-template-columns: 1fr;
    }

    .kw-employer-list-card__main {
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: start;
    }

    .kw-employer-avatar--list {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .kw-employer-list-card__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .kw-employer-list-card__actions .kw-card-cta,
    .kw-employer-row__actions .kw-card-cta {
        margin-left: auto;
    }

    .kw-employer-card__actions {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }
}

@media (max-width: 430px) {
    .kw-filter-heading h2 {
        font-size: 13.5px;
    }

    .kw-results-sort {
        align-items: stretch;
        flex-direction: column;
        gap: 7px;
    }

    .kw-select--sort {
        width: 100%;
        max-width: none;
    }

    .kw-view-switcher {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kw-filter-actions--main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kw-employer-list-card__main {
        grid-template-columns: 1fr;
    }

    .kw-employer-list-card__actions {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .kw-employer-row__actions {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

html[data-theme="dark"] .kw-employer-roles-link {
    color: rgba(255, 255, 255, .88);
}

html[data-theme="dark"] .kw-employer-roles-link:hover,
html[data-theme="dark"] .kw-employer-roles-link:focus-visible {
    color: #ffffff;
}
/* =====================================================
   ARCHIVE DROPDOWN SYSTEM
   Talent country combo is the reference for all archive dropdowns.
===================================================== */
.kw-field--combo,
.kw-combo-search {
    position: relative;
}

.kw-combo-trigger {
    position: relative;
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(0, 49, 114, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .88);
    color: #142338;
    font: inherit;
    font-size: 12.5px;
    font-weight: 590;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.kw-combo-trigger:hover,
.kw-combo-trigger:focus-visible,
.kw-field--combo.is-open .kw-combo-trigger {
    border-color: rgba(0, 49, 114, .24);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 49, 114, .045);
}

.kw-combo-trigger__value {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-combo-trigger__chevron {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 49, 114, .46);
    transition: transform .18s ease;
}

.kw-combo-trigger__chevron svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.kw-field--combo.is-open .kw-combo-trigger__chevron {
    transform: rotate(180deg);
}

.kw-combo-panel {
    position: absolute;
    z-index: 22;
    top: calc(100% + 8px);
    left: 0;
    width: min(420px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid rgba(0, 49, 114, .10);
    border-radius: 12px;
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.kw-combo-panel[hidden] {
    display: none;
}

.kw-combo-search {
    margin-bottom: 8px;
}

.kw-combo-search .kw-field-icon {
    left: 12px;
}

.kw-combo-search__input {
    min-height: 39px !important;
    font-size: 12.2px !important;
}

.kw-combo-options {
    max-height: 276px;
    overflow-y: auto;
    display: grid;
    gap: 1px;
    padding: 0 2px 0 0;
    scrollbar-width: thin;
}

.kw-combo-option {
    width: 100%;
    min-height: 35px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #142338;
    font: inherit;
    font-size: 12.2px;
    font-weight: 590;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.kw-combo-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kw-combo-option small {
    flex: 0 0 auto;
    color: rgba(0, 49, 114, .50);
    font-size: 11px;
    font-weight: 650;
}

.kw-combo-option:hover,
.kw-combo-option:focus-visible {
    background: rgba(0, 49, 114, .035);
    color: #003172;
    outline: none;
}

.kw-combo-option.is-selected {
    background: rgba(0, 49, 114, .055);
    color: #003172;
    font-weight: 700;
}

.kw-combo-option[hidden] {
    display: none;
}

.kw-field--sort {
    flex: 0 0 auto;
    width: auto;
    min-width: 138px;
}

.kw-field--sort .kw-combo-trigger {
    min-height: 37px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 670;
}

.kw-field--sort .kw-combo-panel {
    width: min(260px, calc(100vw - 32px));
}

html[data-theme="dark"] .kw-combo-trigger {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    color: #f5f8fc;
}

html[data-theme="dark"] .kw-combo-trigger__chevron {
    color: rgba(255, 255, 255, .58);
}

html[data-theme="dark"] .kw-combo-trigger:hover,
html[data-theme="dark"] .kw-combo-trigger:focus-visible,
html[data-theme="dark"] .kw-field--combo.is-open .kw-combo-trigger {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .04);
}

html[data-theme="dark"] .kw-combo-panel {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(18, 18, 21, .99);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] .kw-combo-option {
    color: rgba(255, 255, 255, .84);
}

html[data-theme="dark"] .kw-combo-option small {
    color: rgba(255, 255, 255, .54);
}

html[data-theme="dark"] .kw-combo-option:hover,
html[data-theme="dark"] .kw-combo-option:focus-visible,
html[data-theme="dark"] .kw-combo-option.is-selected {
    background: rgba(255, 255, 255, .075);
    color: #fff;
}

@media (max-width: 760px) {
    .kw-field--sort {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }

    .kw-field--sort .kw-combo-panel {
        width: min(100%, calc(100vw - 32px));
    }
}

/* Employer hero pill separators */
.kw-employers-hero-lead__pills .kw-hero-pill-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    color: rgba(0, 49, 114, .48);
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
}

html[data-theme="dark"] .kw-employers-hero-lead__pills .kw-hero-pill-separator {
    color: rgba(255, 255, 255, .54);
}

/* =====================================================
   EMPLOYER ARCHIVE — LINK STATES
   Links stay clean: no underline hover, only tonal emphasis.
===================================================== */
.kw-employers-page a:hover,
.kw-employers-page a:focus,
.kw-employers-page a:focus-visible,
.kw-employers-page .kw-employer-table-link:hover,
.kw-employers-page .kw-employer-table-link:focus,
.kw-employers-page .kw-employer-row__name:hover,
.kw-employers-page .kw-employer-row__name:focus,
.kw-employers-page .kw-employer-roles-link:hover,
.kw-employers-page .kw-employer-roles-link:focus,
.kw-employers-page .kw-employer-list-card__main:hover,
.kw-employers-page .kw-employer-list-card__main:focus,
.kw-employers-page .kw-employer-card__main-link:hover,
.kw-employers-page .kw-employer-card__main-link:focus {
    text-decoration: none !important;
}

.kw-employers-page .kw-employer-table-link,
.kw-employers-page .kw-employer-row__name,
.kw-employers-page .kw-employer-roles-link,
.kw-employers-page .kw-employer-list-card__main,
.kw-employers-page .kw-employer-card__main-link {
    transition: color .18s ease, opacity .18s ease, background-color .18s ease, border-color .18s ease;
}

.kw-employers-page .kw-employer-table-link:hover,
.kw-employers-page .kw-employer-table-link:focus-visible,
.kw-employers-page .kw-employer-row__name:hover,
.kw-employers-page .kw-employer-row__name:focus-visible,
.kw-employers-page .kw-employer-roles-link:hover,
.kw-employers-page .kw-employer-roles-link:focus-visible {
    color: #002759;
    opacity: .82;
}

html[data-theme="dark"] .kw-employers-page .kw-employer-table-link:hover,
html[data-theme="dark"] .kw-employers-page .kw-employer-table-link:focus-visible,
html[data-theme="dark"] .kw-employers-page .kw-employer-row__name:hover,
html[data-theme="dark"] .kw-employers-page .kw-employer-row__name:focus-visible,
html[data-theme="dark"] .kw-employers-page .kw-employer-roles-link:hover,
html[data-theme="dark"] .kw-employers-page .kw-employer-roles-link:focus-visible {
    color: #ffffff;
    opacity: .84;
}

/* =====================================================
   KICKWISE V2 — EMPLOYERS ARCHIVE B1–B3 FINAL PASS
   Hero employer-type pills, responsive filters, mobile controls
===================================================== */
.kw-employers-hero-pill-link {
    color: inherit;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.kw-employers-hero-pill-link:hover,
.kw-employers-hero-pill-link:focus-visible,
.kw-employers-hero-pill-link.is-active {
    border-color: rgba(0, 49, 114, .18);
    background: rgba(255, 255, 255, .98);
    color: #003172;
    outline: none;
}
.kw-employers-hero-pill-link.is-disabled {
    opacity: .62;
    cursor: default;
}
html[data-theme="dark"] .kw-employers-hero-pill-link:hover,
html[data-theme="dark"] .kw-employers-hero-pill-link:focus-visible,
html[data-theme="dark"] .kw-employers-hero-pill-link.is-active {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.kw-employers-filter-main-row {
    grid-template-columns: minmax(260px, 1.12fr) minmax(520px, 1.74fr) auto;
    align-items: center;
}
.kw-employers-filter-advanced {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 10px;
    align-items: center;
    overflow: visible;
}
.kw-employers-filter-actions {
    align-self: center;
}
.kw-more-filters-btn {
    min-height: 43px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(0, 49, 114, .16);
    border-radius: 11px;
    background: rgba(255, 255, 255, .80);
    color: #003172;
    font: inherit;
    font-size: 11.8px;
    font-weight: 735;
    line-height: 1;
    letter-spacing: -.005em;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.kw-more-filters-btn:hover,
.kw-more-filters-btn:focus-visible {
    border-color: rgba(0, 49, 114, .25);
    background: #fff;
    color: #003172;
    outline: none;
}
.kw-more-filters-btn__chevron,
.kw-control-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.kw-more-filters-btn__chevron svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
    transition: transform .18s ease;
}
.kw-filter-panel--compact.is-expanded .kw-more-filters-btn__chevron svg {
    transform: rotate(180deg);
}
.kw-more-filters-btn__open { display: none; }
.kw-filter-panel--compact.is-expanded .kw-more-filters-btn__closed { display: none; }
.kw-filter-panel--compact.is-expanded .kw-more-filters-btn__open { display: inline; }

@media (min-width: 761px) {
    .kw-employers-filter-actions .kw-more-filters-btn { display: none; }
}

@media (max-width: 1120px) and (min-width: 761px) {
    .kw-employers-filter-main-row {
        grid-template-columns: minmax(220px, 1.08fr) minmax(510px, 1.8fr);
        gap: 10px;
    }
    .kw-employers-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
    .kw-employers-filter-advanced {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
    .kw-results-controls {
        justify-content: flex-end;
    }
    .kw-view-switcher {
        width: auto;
    }
}

@media (max-width: 760px) {
    .kw-employers-filter-main-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .kw-employers-filter-advanced {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-3px);
        transition: max-height .24s ease, opacity .18s ease, transform .18s ease, margin-top .18s ease;
    }
    .kw-filter-panel--compact.is-expanded .kw-employers-filter-advanced {
        max-height: 460px;
        margin-top: 2px;
        overflow: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .kw-employers-filter-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        min-width: 0;
    }
    .kw-employers-filter-actions > * {
        width: 100%;
        min-width: 0;
    }
    .kw-employers-filter-actions .kw-filter-btn {
        display: none;
    }
    .kw-employers-filter-actions .kw-more-filters-btn {
        order: 1;
    }
    .kw-employers-filter-actions .kw-clear-btn {
        order: 2;
    }
    .kw-results-sort {
        width: auto;
        margin-left: auto;
        align-items: center;
        flex-direction: row;
        justify-content: flex-end;
        gap: 8px;
    }
    .kw-results-controls {
        align-items: end;
    }
    .kw-view-switcher {
        justify-self: stretch;
    }
}

html[data-theme="dark"] .kw-more-filters-btn {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .92);
}
html[data-theme="dark"] .kw-more-filters-btn:hover,
html[data-theme="dark"] .kw-more-filters-btn:focus-visible {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
html[data-theme="dark"] .kw-employers-filter-form {
    background: transparent;
    box-shadow: none;
}



/* =====================================================
   KICKWISE V2 — EMPLOYERS ARCHIVE B1–B3 FOLLOW-UP
   Mobile dropdown stack, tablet filter rail, compact toolbar
===================================================== */
.kw-results-toolbar__mobile-sort-label {
    display: none;
}

.kw-employers-filter-advanced {
    position: relative;
    z-index: 74;
}

.kw-employers-filter-actions {
    position: relative;
    z-index: 22;
}

.kw-employers-filter-advanced .kw-field--combo.is-open {
    z-index: 6400;
}

.kw-employers-filter-advanced .kw-field--combo.is-open .kw-combo-panel {
    z-index: 6500;
}

@media (max-width: 1120px) and (min-width: 761px) {
    .kw-employers-filter-main-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }

    .kw-employers-search-field {
        grid-column: 1 / -1;
    }

    .kw-employers-filter-advanced {
        grid-column: 1;
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .kw-employers-filter-actions {
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: max-content;
    }

    .kw-employers-filter-actions .kw-filter-btn,
    .kw-employers-filter-actions .kw-clear-btn {
        width: auto;
    }
}

@media (max-width: 760px) {
    .kw-filter-panel--compact.is-expanded .kw-employers-filter-advanced {
        max-height: none;
        overflow: visible;
    }

    .kw-results-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px 12px;
        align-items: end;
    }

    .kw-results-summary {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
    }

    .kw-results-toolbar__mobile-sort-label {
        grid-column: 2;
        grid-row: 1;
        display: block;
        margin: 0;
        color: #003172;
        font-size: 11.8px;
        font-weight: 710;
        line-height: 1;
        letter-spacing: -.005em;
        text-align: right;
        white-space: nowrap;
    }

    .kw-results-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 10px;
    }

    .kw-view-switcher {
        grid-column: 1;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .kw-results-sort {
        grid-column: 2;
        width: auto;
        margin-left: 0;
        display: block;
    }

    .kw-results-sort label {
        display: none;
    }

    .kw-results-sort .kw-field--sort {
        width: min(100%, 136px);
        min-width: 136px;
    }

    .kw-results-sort .kw-combo-trigger {
        min-width: 136px;
    }
}

html[data-theme="dark"] .kw-results-toolbar__mobile-sort-label {
    color: rgba(255, 255, 255, .92);
}


/* =====================================================
   KICKWISE V2 — EMPLOYERS ARCHIVE B1–B3 MOBILE TOOLBAR
   Showing summary first, Sort label above its dropdown,
   List / Grid controls aligned beside the compact sort.
===================================================== */
@media (max-width: 760px) {
    .kw-employers-filter-form.is-expanded,
    .kw-employers-filter-form.is-expanded .kw-employers-filter-main-row,
    .kw-employers-filter-form.is-expanded .kw-employers-filter-advanced {
        position: relative;
        overflow: visible;
    }

    .kw-employers-filter-form.is-expanded .kw-employers-filter-advanced {
        z-index: 9200;
    }

    .kw-employers-filter-form.is-expanded .kw-employers-filter-actions {
        z-index: 1;
    }

    .kw-employers-filter-form.is-expanded .kw-employers-filter-advanced .kw-field--combo.is-open {
        z-index: 9300;
    }

    .kw-employers-filter-form.is-expanded .kw-employers-filter-advanced .kw-field--combo.is-open .kw-combo-panel {
        z-index: 9400;
    }

    .kw-results-toolbar {
        grid-template-columns: minmax(0, 1fr) clamp(118px, 35vw, 132px);
        grid-template-rows: auto auto auto;
        align-items: end;
        gap: 7px 8px;
    }

    .kw-results-summary {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        align-self: end;
    }

    .kw-results-toolbar__mobile-sort-label {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        justify-self: stretch;
        margin: 0;
        text-align: left;
    }

    .kw-results-controls {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(118px, 35vw, 132px);
        align-items: end;
        justify-content: stretch;
        gap: 8px;
    }

    .kw-view-switcher {
        grid-column: 1;
        min-width: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .kw-results-sort {
        grid-column: 2;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-left: 0;
    }

    .kw-results-sort .kw-field--sort,
    .kw-results-sort .kw-combo-trigger {
        width: 100%;
        min-width: 0;
    }
}

/* =====================================================
   KICKWISE V2 — EMPLOYERS ARCHIVE MOBILE TOOLBAR BALANCE
   Final responsive rhythm:
   row 1: results summary left / sort label right
   row 2: view switcher left / sort dropdown right
===================================================== */
@media (max-width: 760px) {
    .kw-results-toolbar {
        grid-template-columns: minmax(0, 1fr) clamp(118px, 35vw, 132px);
        grid-template-rows: auto auto;
        align-items: end;
        gap: 7px 8px;
    }

    .kw-results-summary {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        min-width: 0;
        align-self: end;
    }

    .kw-results-toolbar__mobile-sort-label {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        justify-self: stretch;
        align-self: end;
        margin: 0;
        text-align: left;
    }

    .kw-results-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(118px, 35vw, 132px);
        align-items: end;
        justify-content: stretch;
        gap: 8px;
    }

    .kw-view-switcher {
        grid-column: 1;
        min-width: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .kw-results-sort {
        grid-column: 2;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-left: 0;
    }

    .kw-results-sort .kw-field--sort,
    .kw-results-sort .kw-combo-trigger {
        width: 100%;
        min-width: 0;
    }
}
