/* Listing page — shared styles for brokers and prop-firms (tradelytic).
 * Globals (tokens, header, footer, buttons) live in assets/css/globals.css.
 * This page is light-themed; tokens below scope to .listing only. */

/* Paint the page surface so no default white shows around the content. */
body.listing-template {
  background: #f6fafe;
}

.listing {
  --lst-content: 1130px;
  --lst-page-bg: #f6fafe;
  --lst-ink: #0a1424;
  --lst-strong: #060d20;
  --lst-muted: #4a5568;
  --lst-muted-2: #767e8e;
  --lst-soft: #f8fafc;
  --lst-rank: #a6b2c4;
  --lst-accent: #3678d4;
  --lst-badge-bg: #e8f1fd;
  --lst-badge-text: #0078db;
  --lst-divider: #e2e9f4;

  max-width: none;
  width: 100%;
  background: var(--lst-page-bg);
  font-family: var(--tl-font);
  font-weight: var(--tl-fw-medium);
  font-size: var(--tl-fs-body);
  line-height: 1.3;
  color: var(--lst-ink);
  padding-bottom: 100px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.listing *,
.listing *::before,
.listing *::after {
  box-sizing: border-box;
}

/* Solid dark header over the light page (matches broker-review). */
.tl-2026 {
  --tl-header-bg: #070d1a;
  --tl-header-bg-scrolled: #070d1a;
}

/* --- Hero --- */
.listing .lst-hero {
  position: relative;
  background: var(--lst-page-bg);
  overflow: hidden;
}
.listing .lst-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: var(--lst-content);
  margin-inline: auto;
  padding: calc(var(--tl-header-h) + 40px) 0 0;
  text-align: center;
}

.listing .lst-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--tl-border-strong);
  border-radius: var(--tl-radius-pill);
  background: var(--lst-badge-bg);
  color: var(--lst-badge-text);
  font-weight: var(--tl-fw-medium);
  font-size: 11px;
  letter-spacing: 1.84px;
  text-transform: uppercase;
  line-height: 1.3;
}

.listing .lst-hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.listing .lst-hero__title {
  margin: 0;
  font-weight: var(--tl-fw-bold);
  font-size: 41px;
  line-height: 1;
  color: var(--lst-ink);
}
.listing .lst-hero__br {
  display: none;
}
.listing .lst-hero__accent {
  background: var(--tl-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.listing .lst-hero__sub {
  margin: 0;
  max-width: 380px;
  font-weight: var(--tl-fw-medium);
  font-size: 16px;
  line-height: 1.3;
  color: var(--lst-ink);
}

.listing .lst-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}
.listing .lst-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.listing .lst-hero__stat-ico {
  display: inline-flex;
  color: var(--lst-accent);
}
.listing .lst-hero__stat-ico svg {
  display: block;
}
.listing .lst-hero__stat-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--lst-muted);
  white-space: nowrap;
}
.listing .lst-hero__stat-text strong {
  font-weight: var(--tl-fw-bold);
  color: var(--lst-strong);
}
.listing .lst-hero__stat-text--muted {
  color: var(--lst-muted);
}
.listing .lst-hero__div {
  width: 1px;
  height: 18px;
  background: var(--lst-divider);
}
/* The third stat wraps to its own row on mobile; hide its leading divider. */
.listing .lst-hero__stat--wide {
  flex-basis: 100%;
  justify-content: center;
}
.listing .lst-hero__div--last {
  display: none;
}

@media (min-width: 1024px) {
  .listing .lst-hero__inner {
    padding-top: calc(var(--tl-header-h) + 56px);
    padding-bottom: 0;
    padding-inline: var(--tl-gutter);
    gap: 15px;
  }
  .listing .lst-hero__title {
    font-size: 64px;
  }
  .listing .lst-hero__br {
    display: inline;
  }
  .listing .lst-hero__sub {
    max-width: 720px;
    font-size: 20px;
  }
  .listing .lst-hero__stats {
    flex-wrap: nowrap;
  }
  .listing .lst-hero__stat--wide {
    flex-basis: auto;
  }
  .listing .lst-hero__div--last {
    display: block;
  }
}

/* --- Top rated this month (featured podium) --- */
.listing .lst-rated {
  margin-top: 32px;
  padding-inline: 5px;
}
.listing .lst-rated__inner {
  max-width: var(--lst-content);
  margin-inline: auto;
}

.listing .lst-rated__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.listing .lst-rated__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 228px;
}
.listing .lst-rated__title {
  margin: 0;
  font-weight: var(--tl-fw-extrabold);
  font-size: 18px;
  line-height: 1;
  color: var(--lst-ink);
}
.listing .lst-rated__sub {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: #566580;
}
.listing .lst-rated__how {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-weight: 400;
  font-size: 12px;
  color: #566580;
  white-space: nowrap;
}
.listing .lst-rated__how[tabindex] {
  cursor: help;
}
.listing .lst-rated__tip {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  right: 0;
  width: max-content;
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0a1424;
  color: #e2e9f4;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
  box-shadow: 0 12px 30px -10px rgba(10, 20, 36, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}
.listing .lst-rated__tip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 14px;
  border: 6px solid transparent;
  border-bottom-color: #0a1424;
}
.listing .lst-rated__how:hover .lst-rated__tip,
.listing .lst-rated__how:focus-visible .lst-rated__tip,
.listing .lst-rated__how:focus-within .lst-rated__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.listing .lst-rated__how-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #566580;
  color: var(--lst-page-bg);
  font-size: 8px;
  line-height: 1;
}

/* Podium grid */
.listing .lst-podium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 33px 20px;
  margin: 0;
  padding: 13px 0 0;
  list-style: none;
}
.listing .lst-podium__item {
  position: relative;
  display: flex;
}

/* Medal badge overlapping the card top */
.listing .lst-podium__medal {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--tl-radius-pill);
  box-shadow: 0 6px 7px rgba(0, 0, 0, 0.25);
  font-weight: var(--tl-fw-bold);
  font-size: 13px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.listing .lst-podium__medal--gold {
  padding-inline: 14px;
  background: linear-gradient(140deg, #f5b83c 0%, #e8920a 100%);
}
.listing .lst-podium__medal--silver {
  background: linear-gradient(135deg, #aeb9cc 0%, #8a98ae 100%);
}
.listing .lst-podium__medal--bronze {
  background: linear-gradient(138deg, #d49262 0%, #b26b38 100%);
}
.listing .lst-podium__medal-ico {
  display: inline-flex;
}
.listing .lst-podium__medal-ico svg {
  display: block;
}

/* Card */
.listing .lst-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  width: 100%;
  padding: 50px 24px 30px;
  background: #fff;
  border: 1px solid var(--lst-divider);
  border-radius: 22px;
  box-shadow: 0 4px 2px rgba(240, 242, 243, 0.9);
}
/* Gold is the elevated centre; silver and bronze are equal-height flanks. */
.listing .lst-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing .lst-podium__item--gold .lst-card__logo {
  min-height: 51px;
}
.listing .lst-podium__item--silver .lst-card__logo {
  min-height: 43px;
}
.listing .lst-podium__item--bronze .lst-card__logo {
  min-height: 43px;
}
.listing .lst-card__logo-ph {
  font-weight: var(--tl-fw-extrabold);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #b6c2d4;
}
.listing .lst-card__logo-img {
  max-width: 158px;
  max-height: 48px;
  object-fit: contain;
}
.listing .lst-card__body {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.listing .lst-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.listing .lst-card__id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 185px;
  max-width: 100%;
}
.listing .lst-card__name {
  margin: 0;
  font-weight: var(--tl-fw-bold);
  font-size: 19px;
  line-height: 1;
  color: var(--lst-strong);
}
.listing .lst-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 13px;
  background: #f8fafc;
  border: 1px solid var(--lst-divider);
  border-radius: var(--tl-radius-pill);
}
.listing .lst-card__stars {
  display: inline-flex;
  align-items: center;
  font-size: 0;
  line-height: 0;
}
.listing .lst-card__stars svg {
  display: block;
}
.listing .lst-card__score {
  font-weight: var(--tl-fw-extrabold);
  font-size: 14px;
  line-height: 1;
  color: var(--lst-strong);
}
.listing .lst-card__count {
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: #767e8e;
}
.listing .lst-card__score--unrated {
  color: #767e8e;
}
.listing .lst-card__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 19px 0;
  border-top: 1px solid #edf2f9;
  border-bottom: 1px solid #edf2f9;
}
.listing .lst-card__stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1;
}
.listing .lst-card__stat dt {
  font-weight: 400;
  color: #767e8e;
}
.listing .lst-card__stat dd {
  margin: 0;
  font-weight: var(--tl-fw-bold);
  color: var(--lst-strong);
}
.listing .lst-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.listing .lst-card__actions .tl-btn {
  width: 100%;
  max-width: 270px;
  font-size: 14px;
}
.listing .lst-card__cta {
  padding: 18px 20px;
}
.listing .lst-card__review {
  padding: 14px 24px;
}

@media (min-width: 1024px) {
  .listing .lst-rated {
    margin-top: 60px;
  }
  .listing .lst-rated__head {
    align-items: flex-end;
    margin-bottom: 25px;
  }
  .listing .lst-rated__intro {
    max-width: none;
  }
  .listing .lst-rated__title {
    font-size: 24px;
  }
  .listing .lst-rated__sub {
    font-size: 16px;
  }
  .listing .lst-rated__how {
    font-size: 16px;
    gap: 5px;
  }
  .listing .lst-rated__how-badge {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
  .listing .lst-podium {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }
  .listing .lst-rated {
    margin-bottom: 20px;
    padding-inline: var(--tl-gutter);
  }
  /* Podium order: silver (left), gold (centre), bronze (right). */
  .listing .lst-podium__item--silver {
    order: 1;
  }
  .listing .lst-podium__item--gold {
    order: 2;
  }
  .listing .lst-podium__item--bronze {
    order: 3;
  }
}

/* --- All listings table (responsive: cards on mobile, table on desktop) --- */
.listing .lst-table {
  margin-top: 60px;
  padding-inline: 5px;
}
.listing .lst-table__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: var(--lst-content);
  margin-inline: auto;
}

/* Toolbar */
.listing .lst-table__toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--lst-divider);
  border-radius: var(--tl-radius-md);
  box-shadow: 0 4px 2px rgba(240, 242, 243, 0.9);
}
.listing .lst-table__search {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
  background: var(--lst-soft);
  border: 1px solid var(--lst-divider);
  border-radius: var(--tl-radius-pill);
}
.listing .lst-table__search-ico {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--lst-muted-2);
}
.listing .lst-table__search-ico svg {
  display: block;
}
.listing .lst-table__search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--tl-font);
  font-size: 14px;
  color: var(--lst-strong);
  appearance: none;
  -webkit-appearance: none;
}
.listing .lst-table__search-input::placeholder {
  color: var(--lst-muted-2);
}
.listing .lst-table__search-input:focus {
  outline: none;
}
/* Hide the browser's native clear (X) on type="search". */
.listing .lst-table__search-input::-webkit-search-cancel-button,
.listing .lst-table__search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.listing .lst-table__search-input::-ms-clear {
  display: none;
}
.listing .lst-table__sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.listing .lst-table__sort-label {
  font-size: 13px;
  font-weight: var(--tl-fw-medium);
  color: var(--lst-muted-2);
}
.listing .lst-table__select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.listing .lst-table__select-input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 13px 40px 13px 17px;
  background: #fff;
  border: 1px solid var(--lst-divider);
  border-radius: var(--tl-radius-pill);
  font-family: var(--tl-font);
  font-size: 14px;
  font-weight: var(--tl-fw-semibold);
  color: var(--lst-strong);
  cursor: pointer;
}
.listing .lst-table__select-input:focus {
  outline: none;
  border-color: var(--lst-border-hover, #cfdaec);
}
.listing .lst-table__select-ico {
  position: absolute;
  right: 17px;
  display: inline-flex;
  color: var(--lst-muted-2);
  pointer-events: none;
}

/* Custom sort select (JS-enhanced) */
.listing .lst-table__select.lst-select .lst-table__select-input,
.listing .lst-table__select.lst-select > .lst-table__select-ico {
  display: none;
}
.listing .lst-select__trigger {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 13px 40px 13px 17px;
  background: #fff;
  border: 1px solid var(--lst-divider);
  border-radius: var(--tl-radius-pill);
  font-family: var(--tl-font);
  font-size: 14px;
  font-weight: var(--tl-fw-semibold);
  color: var(--lst-strong);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.listing .lst-select__trigger:focus-visible {
  outline: none;
  border-color: var(--lst-border-hover, #cfdaec);
}
.listing .lst-select__ico {
  position: absolute;
  right: 17px;
  display: inline-flex;
  color: var(--lst-muted-2);
  pointer-events: none;
  transition: transform 0.18s ease;
}
.listing .lst-table__select.is-open .lst-select__ico {
  transform: rotate(180deg);
}
.listing .lst-select__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--lst-divider);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 33, 60, 0.12);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.listing .lst-table__select.is-open .lst-select__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.listing .lst-select__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: var(--tl-fw-medium);
  color: var(--lst-muted);
  border-radius: 9px;
  cursor: pointer;
  outline: none;
}
.listing .lst-select__option:hover,
.listing .lst-select__option.is-focused {
  background: var(--lst-soft);
}
.listing .lst-select__option[aria-selected="true"] {
  color: var(--lst-accent);
  font-weight: var(--tl-fw-semibold);
}
.listing .lst-select__check {
  display: inline-flex;
  width: 12px;
  color: var(--lst-accent);
  opacity: 0;
}
.listing .lst-select__option[aria-selected="true"] .lst-select__check {
  opacity: 1;
}

/* Grid wrapper */
.listing .lst-table__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.listing .lst-table__head {
  display: none;
}
.listing .lst-table__empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--lst-muted-2);
}
/* Search filter: ensure [hidden] beats the explicit .lst-row display rules. */
.listing .lst-row[hidden] {
  display: none;
}

/* Row — mobile card (base) */
.listing .lst-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 14px;
  row-gap: 16px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--lst-divider);
  border-radius: var(--tl-radius-md);
  box-shadow: 0 4px 2px rgba(240, 242, 243, 0.9);
}
.listing .lst-row__rank {
  grid-column: 1;
  grid-row: 1;
  font-weight: var(--tl-fw-extrabold);
  font-size: 16px;
  color: var(--lst-rank);
}
.listing .lst-row__broker {
  grid-column: 2 / 4;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.listing .lst-row__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--lst-soft);
  border: 1px solid var(--lst-divider);
  border-radius: 10px;
  font-weight: var(--tl-fw-extrabold);
  font-size: 20px;
  color: #b6c2d4;
}
.listing .lst-row__logo--img {
  background: #fff;
  object-fit: contain;
  padding: 6px;
}
.listing .lst-row__id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.listing .lst-row__name {
  font-weight: var(--tl-fw-bold);
  font-size: 16px;
  color: var(--lst-strong);
}
.listing .lst-row__tags {
  font-size: 12px;
  color: var(--lst-muted-2);
}
.listing .lst-row__label {
  font-weight: var(--tl-fw-bold);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--lst-muted-2);
}
.listing .lst-row__score {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.listing .lst-row__stars {
  display: inline-flex;
  font-size: 0;
  line-height: 0;
}
.listing .lst-row__stars svg {
  display: block;
}
.listing .lst-row__score-line {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.listing .lst-row__score-num {
  font-weight: var(--tl-fw-extrabold);
  font-size: 18px;
  color: var(--lst-strong);
}
.listing .lst-row__score-count {
  font-size: 12px;
  color: var(--lst-muted-2);
}
.listing .lst-row__score-line--unrated {
  font-weight: var(--tl-fw-semibold);
  font-size: 14px;
  color: var(--lst-muted-2);
}
.listing .lst-row__deposit {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  text-align: right;
}
.listing .lst-row__deposit-val {
  font-weight: var(--tl-fw-extrabold);
  font-size: 18px;
  color: var(--lst-strong);
}
.listing .lst-row__actions {
  grid-column: 1 / 4;
  grid-row: 3;
  display: flex;
  gap: 11px;
}
.listing .lst-row__actions .tl-btn {
  height: 38px;
  padding: 0 20px;
  font-size: 14px;
}
/* Mobile: Review and Visit share the row equally. */
.listing .lst-row__review,
.listing .lst-row__visit {
  flex: 1 1 0;
}

@media (min-width: 1024px) {
  .listing .lst-table {
    padding-inline: var(--tl-gutter);
  }
  .listing .lst-table__inner {
    gap: 40px;
  }
  .listing .lst-table__toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .listing .lst-table__search {
    width: 397px;
  }

  /* Shared column template for header + rows. */
  .listing .lst-table__head,
  .listing .lst-row {
    grid-template-columns: 40px minmax(0, 1fr) 300px 160px 240px;
    column-gap: 24px;
  }
  .listing .lst-table__grid {
    gap: 10px;
  }
  .listing .lst-table__head {
    display: grid;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 4px;
  }
  .listing .lst-table__col {
    font-weight: var(--tl-fw-bold);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lst-muted-2);
  }
  .listing .lst-table__col--deposit {
    white-space: nowrap;
  }
  .listing .lst-table__col--actions {
    text-align: right;
  }

  .listing .lst-row {
    row-gap: 0;
    min-height: 94px;
    padding: 10px 20px;
  }
  .listing .lst-row__rank,
  .listing .lst-row__broker,
  .listing .lst-row__score,
  .listing .lst-row__deposit,
  .listing .lst-row__actions {
    grid-column: auto;
    grid-row: auto;
    align-self: center;
  }
  .listing .lst-row__rank {
    font-size: 20px;
    text-align: center;
  }
  .listing .lst-row__broker {
    gap: 18px;
  }
  .listing .lst-row__logo {
    width: 64px;
    height: 64px;
  }
  .listing .lst-row__label {
    display: none;
  }
  .listing .lst-row__deposit {
    align-items: flex-start;
    text-align: left;
  }
  .listing .lst-row__actions {
    justify-content: flex-end;
  }
  /* Desktop: both buttons size to content, right-aligned. */
  .listing .lst-row__review,
  .listing .lst-row__visit {
    flex: 0 0 auto;
  }
}

/* --- Final CTA banner --- */
.listing .lst-cta {
  margin-top: 60px;
  padding-inline: 5px;
}
.listing .lst-cta__inner {
  max-width: var(--lst-content);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 20px;
  border-radius: var(--tl-radius-md);
  background:
    radial-gradient(80% 120px at 50% -10%, rgba(139, 123, 255, 0.16) 0%, rgba(139, 123, 255, 0) 65%),
    #070d1a;
  text-align: center;
}
.listing .lst-cta__text {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.listing .lst-cta__title {
  margin: 0;
  font-weight: var(--tl-fw-bold);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.7px;
  color: #fff;
}
.listing .lst-cta__sub {
  margin: 0;
  font-weight: var(--tl-fw-medium);
  font-size: 16px;
  line-height: 1.3;
  color: var(--tl-text-2);
}
.listing .lst-cta__btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .listing .lst-cta {
    padding-inline: var(--tl-gutter);
  }
  .listing .lst-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px;
    text-align: left;
  }
  .listing .lst-cta__text {
    max-width: 511px;
  }
  .listing .lst-cta__btn {
    width: auto;
    flex-shrink: 0;
  }
}

/* --- Archive head (/brokers/reviews/, /prop-firms/reviews/) --- */
.listing .lst-archive-head {
  padding: calc(var(--tl-header-h) + 40px) var(--tl-gutter) 0;
}
.listing .lst-archive-head__inner {
  max-width: var(--lst-content);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listing .lst-archive-head__title {
  margin: 0;
  font-weight: var(--tl-fw-extrabold);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--lst-ink);
}
.listing .lst-archive-head__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #566580;
  max-width: 560px;
}
.listing.listing-archive .lst-table {
  margin-top: 28px;
}

/* --- Hover affordances (pointer devices only) --- */
@media (hover: hover) {
  .listing .lst-card,
  .listing .lst-row,
  .listing .lst-row__name,
  .listing .lst-card__name {
    transition: transform 0.2s ease, border-color 0.2s ease,
      box-shadow 0.2s ease, color 0.2s ease;
  }
  .listing .lst-card:hover,
  .listing .lst-row:hover {
    transform: translateY(-3px);
    border-color: #cfdaec;
    box-shadow: 0 14px 30px -14px rgba(10, 20, 36, 0.22);
  }
  .listing .lst-row:hover .lst-row__name,
  .listing .lst-card:hover .lst-card__name {
    color: var(--lst-accent);
  }
}
