/* =========================================================
   Homepage top (inc/home-hero.php)
   Hero panel: selling points (about 1/4) + Compare Devices bar with the
   page's H1 (about 3/4); then Trending comparisons (the Compare page's
   matchup cards) and Browse by brands.
   All in the main column, so the sidebar stays beside them. The layout
   follows the column's own width (container queries).
   ========================================================= */
.ls-hh-wrap {
    container-type: inline-size;
    container-name: hh;
    margin: 0 0 28px;
}

/* ---- Hero panel ---- */
.ls-hh {
    margin: 0 0 28px;
    padding: 22px;
    background: #fff;
    border: 1px solid #d6e4fb;
    border-top: 4px solid #0B5FD8;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(7, 29, 51, .06);
}
.ls-hh-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
@container hh (min-width: 720px) {
    .ls-hh-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 22px; }
    .ls-hh.is-solo .ls-hh-inner { grid-template-columns: minmax(0, 1fr); }
}
/* Narrow column (phones): the Compare box first, the points under it. */
@container hh (max-width: 719px) {
    .ls-hh-points { order: 2; }
}

/* Selling points */
.ls-hh-points { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ls-hh-points li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; color: #071D33; font-size: 16px; font-weight: 700; line-height: 1.35; list-style: none; }
.ls-hh-tick {
    display: flex;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
    background: #e7f0fd;
    border-radius: 50%;
}
.ls-hh-tick svg { width: 15px; height: 15px; fill: none; stroke: #0B5FD8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* The Compare Devices bar (same markup as the old bar near the footer), now carrying the H1. */
.ls-hh .ls-hh-band { display: block; max-width: none; margin: 0; padding: 0; }
.ls-hh .ls-hh-band .ls-band { height: auto; padding: 20px 22px; border-radius: 14px; }
.ls-hh .ls-hh-band .ls-band h1 {
    margin: 0 0 6px;
    padding: 0;
    color: #071D33;
    font-size: clamp(22px, 3.6cqi, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
}
.ls-hh .ls-hh-band .ls-band p { font-size: 15px; line-height: 1.55; -webkit-line-clamp: 3; }
.ls-hh .ls-hh-band .ls-band-icon { width: 48px; height: 48px; }
.ls-hh .ls-hh-band .ls-band-icon svg.ls-ico { width: 38px; height: 38px; }
.ls-hh .ls-hh-band .ls-cmp-band { gap: 16px 14px; }
.ls-hh .ls-hh-band .ls-cmp-band-form { gap: 10px; }
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-cat,
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-pick input,
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-submit { height: 48px; font-size: 15px; border-radius: 10px; }
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-pick input,
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-cat { padding-left: 14px; }
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-submit { padding: 0 18px; font-weight: 800; }
.ls-hh .ls-hh-band .ls-cb-vs { font-size: 12px; }

/* ---- Trending comparisons: the Compare page's matchup cards, 4 in a row when there is room ---- */
.ls-hh-trend { margin: 0 0 28px; }
.ls-hh-trend .ls-mu-grid { margin: 0; }
@container hh (min-width: 760px) {
    ul.ls-hh-grid.ls-drag > li { flex-basis: calc((100% - 36px) / 4); }
}

/* ---- Browse by brands: 2 rows of 4 ---- */
.ls-home-brands { margin: 0; }
.ls-home-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ls-home-brands-grid li { margin: 0; padding: 0; min-width: 0; list-style: none; }
.ls-home-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 84px;
    box-sizing: border-box;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dbe7f8;
    border-radius: 12px;
    color: #071D33;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(11, 42, 82, .05);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.ls-home-brand:hover,
.ls-home-brand:focus-visible { border-color: #0B5FD8; box-shadow: 0 4px 12px rgba(11, 95, 216, .12); color: #071D33; text-decoration: none; }
.ls-home-brand-logo {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f4f8fe;
    border: 1px solid #e1e9f4;
    border-radius: 10px;
}
.ls-home-brand-logo img { display: block; max-width: 34px; max-height: 34px; width: auto; height: auto; object-fit: contain; }
.ls-home-brand-logo.is-letter { color: #0B5FD8; font-size: 20px; font-weight: 800; }
.ls-home-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ls-home-brand-text strong { overflow: hidden; color: #071D33; font-size: 15px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.ls-home-brand-text small { margin-top: 2px; color: #4a5d7a; font-size: 12.5px; line-height: 1.3; }

/* Narrow column: logo above the name so 4 still fit. */
@container hh (max-width: 640px) {
    .ls-home-brand { flex-direction: column; justify-content: center; gap: 6px; height: 104px; padding: 10px 6px; text-align: center; }
    .ls-home-brand-logo { flex-basis: auto; width: 42px; height: 42px; }
    .ls-home-brand-logo img { max-width: 30px; max-height: 30px; }
    .ls-home-brand-text { align-items: center; max-width: 100%; }
    .ls-home-brand-text strong { font-size: 13px; }
    .ls-home-brand-text small { font-size: 11px; }
}

/* ---- Phones ---- */
@media (max-width: 768px) {
    .ls-hh { padding: 14px; margin-bottom: 22px; border-radius: 14px; }
    .ls-hh-points { gap: 10px; padding: 0 4px; }
    .ls-hh-points li { font-size: 15px; }
    .ls-home-brands-grid { gap: 8px; }
}
@media (max-width: 600px) {
    .ls-hh .ls-hh-band .ls-band { padding: 14px; }
    .ls-hh .ls-hh-band .ls-band h1 { font-size: 23px; }
    .ls-hh .ls-hh-band .ls-band p { font-size: 13.5px; -webkit-line-clamp: 3; }
    .ls-hh .ls-hh-band .ls-cmp-band-form { gap: 8px; }
    .ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-cat,
    .ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-pick input,
    .ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-submit { height: 44px; font-size: 14px; }
    .ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-pick input,
    .ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-cat { padding-left: 10px; }
    .ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-submit { padding: 0 10px; white-space: nowrap; }
}
@media (max-width: 420px) {
    .ls-home-brand { height: 92px; }
    .ls-home-brand-text small { display: none; }
}

/* =========================================================
   Hero styles A–D (Site Extras > Homepage > Hero style)
   ========================================================= */
.ls-hx {
    margin: 0 0 28px;
    padding: 34px 40px;
    background: #fff;
    border: 1px solid #dce6f4;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(7, 29, 51, .05);
    color: #071D33;
}
.ls-hx h1 {
    margin: 0;
    padding: 0;
    color: #071D33;
    font-size: clamp(28px, 5.4cqi, 50px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.03em;
}
.ls-hh-accent { color: #0B5FD8; }
.ls-hx-text { margin: 0; color: #4a5d7a; font-size: 17px; line-height: 1.55; max-width: 620px; }
.ls-hx-eyebrow {
    align-self: flex-start;
    display: inline-block;
    padding: 6px 12px;
    background: #e7f0fd;
    border-radius: 999px;
    color: #0B5FD8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.ls-hh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 12px;
    background: #0B5FD8;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.ls-hh-btn:hover, .ls-hh-btn:focus-visible { background: #084bb0; color: #fff; }
.ls-hx-more { color: #0B5FD8; font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-hx-more:hover { color: #071D33; text-decoration: none; }

/* Device search */
.ls-hh-search { display: flex; gap: 10px; max-width: 660px; margin: 0; }
.ls-hh-search-field {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 56px;
    padding: 0 16px;
    background: #fff;
    border: 2px solid #0B5FD8;
    border-radius: 14px;
}
.ls-hh-search-field svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #4a5d7a; stroke-width: 2; stroke-linecap: round; }
.ls-hh-search-field input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important; color: #071D33; font: inherit; font-size: 16px; }
.ls-hh-search .ls-hh-btn { height: 56px; border-radius: 14px; }

/* Compare form (bar) shared by C */
.ls-hh-cmp { position: relative; margin: 0; }
.ls-hh-cmp:not(.is-duel) { display: block; }
.ls-hh-cmp .ls-hh-cmp-row { display: flex; align-items: center; gap: 10px; }
.ls-hh-cmp .ls-cb-pick { position: relative; flex: 1; min-width: 0; }
.ls-hh-cmp .ls-cb-pick input { width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px; border: 1px solid #dce6f4; border-radius: 10px; background: #fff; color: #071D33; font: inherit; font-size: 15px; }
.ls-hh-cmp .ls-cb-vs-wrap { flex: none; }
.ls-hh-vs { color: #0B5FD8; font-weight: 800; }
.ls-hh-cmp .ls-hh-btn { height: 48px; border-radius: 10px; }
.ls-hh-cmp .ls-cb-status { margin: 6px 0 0; font-size: 13px; }
.ls-hh-cmp .ls-cb-status:empty { display: none; }

/* ---- A · Search first ---- */
.ls-hx-search { display: flex; flex-direction: column; gap: 20px; padding: 42px 46px; }
.ls-hx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.ls-hx-chips-label { color: #4a5d7a; font-weight: 600; }
.ls-hx-chip { padding: 7px 14px; border: 1px solid #dce6f4; border-radius: 999px; color: #071D33; font-weight: 600; text-decoration: none; }
.ls-hx-chip:hover, .ls-hx-chip:focus-visible { border-color: #0B5FD8; color: #0B5FD8; text-decoration: none; }
.ls-hx-chips .ls-hx-more { margin-left: auto; }

/* ---- B · Head-to-head ---- */
.ls-hx-duel { display: flex; flex-direction: column; gap: 22px; }
.ls-hx-duel .ls-hx-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ls-hx-duel h1 { font-size: clamp(26px, 4.6cqi, 42px); }
.ls-hx-duel .ls-hx-text { max-width: 560px; }
.ls-hh-cmp.is-duel { display: flex; flex-direction: column; gap: 18px; }
.ls-hh-cmp.is-duel .ls-hh-cat { align-self: center; height: 40px; padding: 0 12px; border: 1px solid #dce6f4; border-radius: 10px; background: #fff; color: #071D33; font: inherit; font-size: 14px; }
.ls-hh-cmp.is-duel .ls-hh-cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: 14px; }
.ls-hh-slot { display: flex; align-items: center; gap: 16px; padding: 20px; background: #f4f8fe; border: 1px solid #dce6f4; border-radius: 16px; }
.ls-hh-slot-art { flex: none; width: 56px; height: 56px; }
.ls-hh-slot-art svg { width: 100%; height: 100%; }
.ls-hh-slot-body { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.ls-hh-slot-label { color: #4a5d7a; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ls-hh-slot .ls-cb-pick input { height: 50px; border-color: #c9d6e8; font-size: 16px; font-weight: 600; }
.ls-hh-cmp.is-duel .ls-cb-vs-wrap { display: flex; align-items: center; justify-content: center; }
.ls-hh-cmp.is-duel .ls-hh-vs { display: flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: #071D33; color: #fff; font-size: 17px; }
.ls-hh-duel-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; color: #4a5d7a; font-size: 14px; }
.ls-hh-duel-go a { color: #0B5FD8; font-weight: 700; text-decoration: none; }
.ls-hh-btn-lg { height: 54px; padding: 0 34px; font-size: 16px; border-radius: 14px; }
.ls-hx-matchups { margin: 0 0 28px; }
.ls-hx-matchups h2 { margin: 0 0 12px; }
.ls-hx-matchups ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ls-hx-matchups li { margin: 0; list-style: none; }
.ls-hx-matchups a { display: inline-block; padding: 10px 16px; background: #fff; border: 1px solid #dce6f4; border-radius: 999px; color: #071D33; font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-hx-matchups a:hover, .ls-hx-matchups a:focus-visible { border-color: #0B5FD8; text-decoration: none; }
.ls-hx-vs { color: #0B5FD8; }

/* ---- C · Dark spotlight ---- */
.ls-hx-spot { display: flex; flex-direction: column; gap: 26px; background: #071D33; border-color: #071D33; color: #fff; border-radius: 20px; }
.ls-hx-spot h1 { color: #fff; font-size: clamp(28px, 4.8cqi, 46px); }
.ls-hx-spot .ls-hh-accent { color: #7fb3ff; }
.ls-hx-spot .ls-hx-text { color: #b9c8dc; }
.ls-hx-spot .ls-hx-eyebrow { background: #12345a; color: #9cc3ff; }
.ls-hx-spot-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.ls-hx-spot-top.is-solo { grid-template-columns: minmax(0, 1fr); }
.ls-hx-spot-intro { display: flex; flex-direction: column; gap: 16px; }
.ls-hx-spot-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #0e2a49; border: 1px solid #1e4472; border-radius: 16px; }
.ls-hx-spot-meta { display: flex; justify-content: space-between; color: #b9c8dc; font-size: 12px; }
.ls-hx-spot-meta span:first-child { color: #9cc3ff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ls-hx-spot-card h2 { margin: 0; padding: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.ls-hx-spot-card h2 a { color: #fff; text-decoration: none; }
.ls-hx-spot-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ls-hx-spot-tiles li { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; padding: 12px; background: #12345a; border-radius: 10px; list-style: none; }
.ls-hx-spot-tiles strong { overflow: hidden; color: #fff; font-size: 19px; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.ls-hx-spot-tiles strong small { margin-left: 2px; font-size: 12px; font-weight: 700; }
.ls-hx-spot-tiles span { overflow: hidden; color: #b9c8dc; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.ls-hx-spot-link { color: #9cc3ff; font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-hx-spot-link:hover { color: #fff; text-decoration: none; }
.ls-hx-spot .ls-hh-cmp { padding: 10px; background: #fff; border-radius: 14px; }
.ls-hx-spot .ls-hh-cmp .ls-cb-status { color: #071D33; }
.ls-hx-latest { margin: 0 0 28px; }
.ls-hx-start ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ls-hx-start li { min-width: 0; margin: 0; list-style: none; }
.ls-hx-start a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px 16px; background: #fff; border: 1px solid #dce6f4; border-radius: 12px; color: #071D33; text-decoration: none; }
.ls-hx-start a:hover, .ls-hx-start a:focus-visible { border-color: #0B5FD8; text-decoration: none; }
.ls-hx-start strong { font-size: 15px; line-height: 1.35; }

/* ---- D · Browse by category ---- */
.ls-hx-cats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; border-top: 4px solid #0B5FD8; }
.ls-hx-cats h1 { font-size: clamp(26px, 4.2cqi, 40px); }
.ls-hx-cats-intro { display: flex; flex-direction: column; gap: 16px; }
.ls-hx-cats .ls-hh-search-field { height: 50px; border-width: 1px; border-color: #c9d6e8; border-radius: 12px; }
.ls-hx-cats .ls-hh-search .ls-hh-btn { height: 50px; border-radius: 12px; }
.ls-hx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ls-hx-tiles a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; background: #f4f8fe; border: 1px solid #dce6f4; border-radius: 14px; color: #071D33; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.ls-hx-tiles a:hover, .ls-hx-tiles a:focus-visible { border-color: #0B5FD8; text-decoration: none; }
.ls-hx-tiles a > span { display: block; width: 40px; height: 40px; }
.ls-hx-tiles a > span svg { width: 100%; height: 100%; }
.ls-hx-tiles a.is-compare { background: #071D33; border-color: #071D33; color: #fff; }
.ls-hx-start { margin: 0 0 28px; }
.ls-hx-start ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ls-hx-start span { color: #0B5FD8; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Narrower main column ---- */
@container hh (max-width: 760px) {
    .ls-hx { padding: 26px 24px; }
    .ls-hx-spot-top, .ls-hx-cats { grid-template-columns: minmax(0, 1fr); }
    .ls-hx-start ul { grid-template-columns: minmax(0, 1fr); }
    .ls-hh-cmp.is-duel .ls-hh-cmp-row { grid-template-columns: minmax(0, 1fr); }
    .ls-hh-cmp.is-duel .ls-hh-vs { width: 44px; height: 44px; font-size: 14px; }
    .ls-hx-chips .ls-hx-more { margin-left: 0; flex-basis: 100%; }
}
@container hh (max-width: 520px) {
    .ls-hx { padding: 20px 16px; border-radius: 14px; }
    .ls-hx-text { font-size: 15px; }
    .ls-hh-search { flex-wrap: wrap; }
    .ls-hh-search .ls-hh-btn { flex: 1 1 100%; }
    .ls-hh-cmp .ls-hh-cmp-row { flex-wrap: wrap; }
    .ls-hh-cmp:not(.is-duel) .ls-cb-pick { flex: 1 1 100%; }
    .ls-hh-cmp:not(.is-duel) .ls-cb-vs-wrap { width: 100%; text-align: center; }
    .ls-hh-cmp:not(.is-duel) .ls-hh-btn { flex: 1 1 100%; }
    .ls-hx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .ls-hx-tiles a { padding: 12px 4px; font-size: 13px; }
    .ls-hh-slot { padding: 14px; }
    .ls-hh-slot-art { width: 44px; height: 44px; }
}

/* ---- Latest devices: 8 newest, draggable (4 visible on computers; 2 rows x 2 columns on phones) ----
   Card: photo on the left, name and type · month on the right. */
.ls-hx-latest { margin: 0 0 24px; }
ul.ls-drag.ls-hx-lrow > li { flex: 0 0 calc((100% - 36px) / 4); list-style: none; }
.ls-hx-ldev { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: center; height: 100%; box-sizing: border-box; padding: 10px; background: #fff; border: 1px solid #dce6f4; border-radius: 12px; color: #071D33; text-decoration: none; }
.ls-hx-ldev:hover, .ls-hx-ldev:focus-visible { border-color: #0B5FD8; color: #071D33; text-decoration: none; }
.ls-hx-ldev-img { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 64px; height: 72px; overflow: hidden; background: #f4f8fe; border-radius: 9px; }
.ls-hx-ldev-img img { display: block; width: auto; height: auto; max-width: 56px; max-height: 64px; object-fit: contain; }
.ls-hx-ldev-img.is-empty svg { width: 34px; height: 34px; opacity: .55; }
.ls-hx-ldev strong { align-self: end; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; font-weight: 700; line-height: 1.3; }
.ls-hx-ldev-meta { align-self: start; color: #4a5d7a; font-size: 12px; line-height: 1.35; }
/* Phones: 2 rows x 2 columns per screen, swipe sideways for the next four. */
@media (max-width: 600px) {
    ul.ls-drag.ls-hx-lrow {
        display: grid !important;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: calc((100% - 10px) / 2);
        gap: 10px;
        padding-right: 2px;
    }
    ul.ls-drag.ls-hx-lrow > li { flex: none; min-width: 0; }
    ul.ls-drag.ls-hx-lrow > li:nth-child(4n + 1) { scroll-snap-align: start; }
    ul.ls-drag.ls-hx-lrow > li:not(:nth-child(4n + 1)) { scroll-snap-align: none; }
    .ls-hx-ldev { grid-template-columns: 46px minmax(0, 1fr); column-gap: 8px; padding: 8px; }
    .ls-hx-ldev-img { width: 46px; height: 56px; }
    .ls-hx-ldev-img img { max-width: 40px; max-height: 50px; }
    .ls-hx-ldev strong { font-size: 13px; }
    .ls-hx-ldev-meta { font-size: 11px; }
}

/* ---- Compact hero (smaller panels, headings and controls) ---- */
.ls-hx { margin-bottom: 22px; padding: 24px 28px; border-radius: 16px; }
.ls-hx h1 { font-size: clamp(24px, 3.9cqi, 36px); }
.ls-hx-text { font-size: 15.5px; line-height: 1.5; }
.ls-hx-eyebrow { padding: 4px 10px; font-size: 12px; }
.ls-hh-btn { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 11px; }
.ls-hh-search-field { height: 48px; border-radius: 12px; }
.ls-hh-search .ls-hh-btn { height: 48px; border-radius: 12px; }
.ls-hh-search-field input { font-size: 15px; }
.ls-hh-cmp .ls-cb-pick input, .ls-hh-cmp .ls-hh-btn { height: 44px; }
.ls-hx-search { gap: 14px; padding: 26px 30px; }
.ls-hx-chips { gap: 8px; font-size: 13px; }
.ls-hx-chip { padding: 5px 12px; }
.ls-hx-duel { gap: 16px; }
.ls-hx-duel h1 { font-size: clamp(22px, 3.6cqi, 32px); }
.ls-hh-cmp.is-duel { gap: 12px; }
.ls-hh-slot { gap: 12px; padding: 12px 14px; border-radius: 13px; }
.ls-hh-slot-art { width: 40px; height: 40px; }
.ls-hh-slot .ls-cb-pick input { height: 42px; font-size: 15px; }
.ls-hh-cmp.is-duel .ls-hh-cmp-row { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); gap: 10px; }
.ls-hh-cmp.is-duel .ls-hh-vs { width: 46px; height: 46px; font-size: 14px; }
.ls-hh-btn-lg { height: 46px; padding: 0 26px; font-size: 15px; }
.ls-hx-spot { gap: 18px; border-radius: 18px; }
.ls-hx-spot h1 { font-size: clamp(24px, 3.7cqi, 34px); }
.ls-hx-spot-top { gap: 22px; }
.ls-hx-spot-intro { gap: 12px; }
.ls-hx-spot-card { gap: 10px; padding: 16px; border-radius: 13px; }
.ls-hx-spot-card h2 { font-size: 18px; }
.ls-hx-spot-tiles { gap: 8px; }
.ls-hx-spot-tiles li { padding: 9px 10px; }
.ls-hx-spot-tiles strong { font-size: 16px; }
.ls-hx-spot .ls-hh-cmp { padding: 8px; border-radius: 12px; }
.ls-hx-cats { gap: 22px; }
.ls-hx-cats h1 { font-size: clamp(22px, 3.4cqi, 32px); }
.ls-hx-cats-intro { gap: 12px; }
.ls-hx-cats .ls-hh-search-field, .ls-hx-cats .ls-hh-search .ls-hh-btn { height: 44px; }
.ls-hx-tiles { gap: 8px; }
.ls-hx-tiles a { gap: 6px; padding: 12px 6px; font-size: 13px; border-radius: 12px; }
.ls-hx-tiles a > span { width: 30px; height: 30px; }
.ls-hh { margin-bottom: 22px; padding: 16px; }
.ls-hh .ls-hh-band .ls-band { padding: 16px 18px; }
.ls-hh .ls-hh-band .ls-band h1 { font-size: clamp(20px, 3cqi, 26px); }
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-cat,
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-pick input,
.ls-hh .ls-hh-band .ls-cmp-band-form .ls-cb-submit { height: 44px; }
@container hh (max-width: 760px) {
    .ls-hx { padding: 20px; }
}
@container hh (max-width: 520px) {
    .ls-hx { padding: 16px 14px; border-radius: 14px; }
    .ls-hx-text { font-size: 14px; }
    .ls-hx-tiles a { padding: 10px 4px; font-size: 12px; }
}
