@media (max-width: 767px) {
  body:has(.home-market-home) { background: #fff; }
  body .modern-main:has(> .home-market-home) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  .home-market-home .home-intro { gap: 12px; padding-block: 16px; }
  .home-market-home .home-guide,
  .home-market-home .home-market-layout > .home-section,
  .home-market-home .home-news-section > .home-reference-strip,
  .home-market-home .home-research-categories .hrc-card,
  .home-market-home .home-review-preview,
  .home-market-home .home-category-directory {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  .home-market-home .home-guide { padding: 12px 0; border-block: 1px solid #e8edf2; }
  .home-market-home .home-market-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-market-home .home-market-layout > .home-section { overflow: visible; }
  .home-market-home .home-market-layout .home-section-heading,
  .home-market-home .home-platform-section > .home-selection-note { padding-inline: 0; }
  .home-market-home .home-platform-section > .home-selection-note { font-size: 12px; }
  .home-market-home .home-platform-section .home-broker-list {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 0;
  }
  .home-market-home .home-platform-section .home-broker-list > .broker-card:nth-child(n) {
    display: grid;
    --score-inset: clamp(0px, calc(32vw - 102.4px), 72px);
    --broker-logo-width: clamp(88px, 24vw, 112px);
    grid-template-columns: var(--broker-logo-width) minmax(0, 1fr) 20px;
    grid-template-rows: repeat(3, auto);
    align-items: start;
    gap: 3px 8px;
    min-width: 0;
    min-height: 0;
    padding: 6px 0;
    border: 0;
    border-top: 1px solid #e8edf2;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card > .spread > .broker-regulation-mark {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    width: auto;
    height: auto;
    align-self: stretch;
    overflow: visible;
    align-items: start;
    justify-items: start;
    border: 0;
    background: transparent;
    pointer-events: none;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-regulation-mark > .broker-logo {
    grid-area: 1 / 1 / 4 / 2;
    align-self: center;
    padding: 13px 0 0;
    width: var(--broker-logo-width);
    height: 64px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-logo img { width: 100%; height: 100%; object-fit: contain; }
  .home-market-home .home-platform-section .home-broker-list .broker-regulation-mark > .broker-regulation-watermark,
  .home-market-home .home-platform-section .home-broker-list .broker-regulation-mark > .broker-regulation-overlay {
    grid-area: 1 / 1;
    width: var(--broker-logo-width);
    height: 64px;
    inset: 50% auto auto 0;
    translate: 0 -50%;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-regulation-mark > .broker-regulation-overlay-badge.broker-regulation-badge {
    grid-area: 1 / 1;
    position: static;
    align-self: start;
    max-width: var(--broker-logo-width);
    margin: 0;
    font-size: 11px;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: auto;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-regulation-mark > .broker-regulation-overlay-badge.is-regulated {
    font-size: 10px;
    white-space: nowrap;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card > a {
    grid-area: 1 / 2;
    min-width: 0;
    padding: 0;
    overflow-wrap: anywhere;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card h3 { margin: 0; font-size: 16px; line-height: 1.2; }
  .home-market-home .home-platform-section .home-broker-list .broker-card > p {
    display: block;
    grid-area: 2 / 2;
    margin: 0;
    padding-right: calc(42px + var(--score-inset));
    align-self: center;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .home-market-home .home-broker-list .home-platform-tail { display: none; }
  .home-market-home .home-platform-section .home-broker-list .broker-card > .license-tags {
    grid-area: 3 / 2;
    margin: 0;
    min-width: 0;
    flex-wrap: wrap;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card > .home-broker-position {
    position: static;
    grid-area: 2 / 3;
    justify-self: end;
    align-self: center;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card > .spread > .score-missing {
    grid-area: 2 / 2;
    display: block;
    text-align: right;
    align-self: center;
    justify-self: end;
    min-width: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1;
    white-space: normal;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card > .spread > .score-missing:not(.is-unrated) {
    margin-right: var(--score-inset);
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 4px;
    background: linear-gradient(#ffd32a, #ffd32a) left bottom / 28px 2px no-repeat;
  }
  .home-market-home .home-platform-section .home-broker-list .broker-card > .spread > .score-missing.is-unrated {
    display: flex;
    justify-self: start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 6px;
    max-width: none;
    font-size: 12px !important;
  }
  .home-market-home .home-platform-section .home-broker-list > .broker-card:has(.is-unrated) { grid-template-rows: repeat(4, auto); }
  .home-market-home .home-platform-section .home-broker-list .broker-card:has(.is-unrated) > p { grid-row: 3; padding-right: 0; }
  .home-market-home .home-platform-section .home-broker-list .broker-card:has(.is-unrated) > .license-tags { grid-row: 4; }
  .home-market-home .home-platform-section .home-broker-list .score-missing.is-unrated small { display: block; font-size: 11px; }
  .home-market-home .home-platform-section .home-broker-list .score-missing small:empty { display: none; }
  .home-market-home .home-news-section > .home-reference-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 0 10px;
    border-block: 1px solid #e8edf2;
  }
  .home-market-home .home-reference-intro { flex-wrap: wrap; gap: 4px 8px; }
  .home-market-home .home-reference-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .home-market-home .home-reference-list a { min-width: 0; }
  .home-market-home .home-reference-list span,
  .home-market-home .home-reference-list small {
    display: block;
    font-size: 11px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .home-market-home .home-news-tabs { margin-inline: 0; flex-wrap: wrap; }
  .home-market-home .home-news-tabs > span { display: block; }
  .home-market-home .home-news-section .home-news-panels > .home-news-tab-panel {
    padding-inline: 0;
    grid-auto-rows: auto;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-card {
    grid-template-columns: clamp(76px, 25vw, 104px) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 0;
    max-height: none;
    height: auto;
    grid-template-rows: auto;
    padding: 7px 0;
    border-radius: 0;
    box-shadow: none;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-card .home-news-feed-image {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 66px;
    min-height: 0;
    align-self: start;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-card > .home-news-feed-copy {
    display: block;
    height: auto;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-card .home-news-feed-copy > :is(h3, p) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: auto;
    max-height: none;
    white-space: normal;
    line-height: 1.3;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-card p { font-size: 13px; margin: 4px 0; }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-copy > .home-news-meta {
    flex-wrap: wrap;
    height: auto;
    font-size: 11px;
    margin-top: 3px;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-meta > a { display: inline; }
  .home-market-home .home-research-categories .hrc-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 8px;
  }
  .home-market-home .home-research-categories .hrc-card { padding: 0; }
  .home-market-home .home-research-categories .hrc-card-heading { min-height: 0; padding-block: 6px; }
  .home-market-home .home-research-categories .hrc-links { margin-top: 0; }
  .home-market-home .home-review-section .home-review-controls {
    position: static;
    width: auto;
    max-width: none;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 8px;
  }
  .home-market-home .home-review-section .home-review-controls > span { text-align: left; }
  .home-market-home .home-reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-market-home .home-review-preview { padding: 10px 0; border-top: 1px solid #e8edf2; }
  .home-market-home .home-review-meta { flex-wrap: wrap; margin-bottom: 6px; }
  .home-market-home .home-review-meta > span:nth-child(2) { white-space: normal; overflow-wrap: anywhere; }
  .home-market-home .home-review-meta > time { width: auto; margin-left: 0; font-size: 11px; }
  .home-market-home .home-review-preview > p { font-size: 13px; margin-bottom: 8px; }
  .home-market-home .home-review-footer { padding-top: 6px; }
  .home-market-home .home-case-band { gap: 10px; padding: 12px; margin-top: 14px; }
  .home-market-home .home-case-band > .actions { flex-wrap: wrap; gap: 8px; margin: 0; }
  .home-market-home .home-category-directory { margin-top: 10px; border-top: 1px solid #e8edf2; }
  .home-market-home .home-category-directory > summary { padding: 10px 0; }
}
