/* Tradeshow detail page — preferred builders band
   (front.partials._tradeshow_builders, Kanboard #55). Layout reference:
   base44's services page ServicePreferredBuilderSection
   (/services/modular-booths). Card design v2: photos and identity lead (cover
   photo with logo, name, location, status), short text below. One card per
   builder, stacked. Reveal animations are driven by
   tradeshow_builders.js (adds .tsb-js / .is-in); without JS everything simply
   shows. Self-contained: only tradeshow_detail.blade.php loads it, every rule
   is scoped under .ts_builders. */

.ts_builders {
    --tsb-green: #0C2E16;
    --tsb-green-2: #1A4A2A;
    --tsb-green-hover: #234B2B;
    --tsb-lime: #CFFF7F;
    --tsb-ink: #111827;
    --tsb-text: #374151;
    --tsb-muted: #6B7280;
    --tsb-faint: #9CA3AF;
    --tsb-line: #E6E9E4;
    --tsb-soft: #F5F7F3;

    float: left;
    width: 100%;
    /* Full page width. Side padding follows the homepage sections' rule:
       clear the site-wide fixed "Get your 3 quotes now" tab (.quote_btn_left
       — 28.19px wide below 768px, 42.3px from 768px, scales 1.05x on hover),
       so 30px / 45px, applied equally on both sides. See shared_about.css /
       blog_list.css for the same calculation. */
    padding: 72px 30px 80px;
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(207, 255, 127, 0.16), transparent 70%),
        linear-gradient(180deg, #F7F9F5 0%, #FFFFFF 55%);
    font-family: 'Outfit', sans-serif;
    color: var(--tsb-text);
}
.ts_builders *,
.ts_builders *::before,
.ts_builders *::after {
    box-sizing: border-box;
}
.ts_builders__inner {
    width: 100%;
}
@media (min-width: 768px) {
    .ts_builders {
        padding-left: 45px;
        padding-right: 45px;
    }
}

.ts_builders svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- section head ---------- */
.ts_builders__head {
    max-width: 768px;
    margin: 0 auto 40px;
    text-align: center;
}
.ts_builders__eyebrow {
    display: inline-block;
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(12, 46, 22, 0.12);
    background: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(12, 46, 22, 0.7);
}
.ts_builders__title {
    margin: 16px 0 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tsb-green);
    text-wrap: balance;
}
@media (min-width: 640px) {
    .ts_builders__title { font-size: 40px; }
}
.ts_builders__sub {
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(12, 46, 22, 0.68);
}

/* ---------- full cards (preferred builders) ----------
   Photos + identity first: a cover photo with the logo, name, location and
   status on it, a row of thumbnails, then short text. */
.ts_builders__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.ts_bshow {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--tsb-line);
    box-shadow:
        0 1px 1px rgba(12, 46, 22, 0.04),
        0 4px 10px -4px rgba(12, 46, 22, 0.06),
        0 24px 48px -24px rgba(12, 46, 22, 0.18);
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.ts_bshow:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 1px rgba(12, 46, 22, 0.05),
        0 8px 16px -6px rgba(12, 46, 22, 0.08),
        0 36px 64px -28px rgba(12, 46, 22, 0.28);
}
/* photos: a top row (identity laid over it) and a bottom row. The split
   follows the section's width — 1 + 5 narrow, 2 + 4 medium, 3 + 3 wide — so
   no single photo gets huge; both rows have fixed heights. A zero-height
   .ts_bshow__brk after photo 1/2/3 forces the wrap; only one is shown. */
.ts_bshow__media {
    --h1: 300px;
    --h2: 96px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    padding: 0 8px;
}
.ts_bshow__media > .ts_bshow__tile {
    flex: 1 1 0;
    min-width: 0;
    height: var(--h2);
    margin-top: 8px;
}
.ts_bshow__media > .ts_bshow__tile:first-child,
.ts_bshow__media > .ts_bshow__tile--empty {
    height: var(--h1);
    margin-top: 0;
    --scrim: 1;
}
.ts_bshow__brk {
    display: none;
    flex-basis: 100%;
    height: 0;
}
.ts_bshow__brk--1 {
    display: block;
}
/* light fade at the top of the top-row photos, behind the badge + count */
.ts_bshow__media > .ts_bshow__tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: var(--scrim, 0);
    background: linear-gradient(180deg, rgba(6, 20, 10, 0.4) 0%, rgba(6, 20, 10, 0) 30%);
}
.ts_bshow__media > .ts_bshow__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(12, 46, 22, 0.08);
    pointer-events: none;
}
.ts_bshow__tile--empty {
    background: linear-gradient(135deg, #1A4A2A 0%, #0C2E16 100%);
}
/* overlay covering the top row: status, photo count, identity */
.ts_bshow__over {
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    height: var(--h1);
    z-index: 2;
    pointer-events: none;
}
@container tsb (min-width: 700px) {
    .ts_bshow__media { --h1: 290px; --h2: 120px; }
    .ts_bshow__brk--1 { display: none; }
    .ts_bshow__brk--2 { display: block; }
    .ts_bshow__media > .ts_bshow__tile:nth-of-type(-n+2) {
        height: var(--h1);
        margin-top: 0;
        --scrim: 1;
    }
}
@container tsb (min-width: 1050px) {
    .ts_bshow__media { --h1: 280px; --h2: 170px; }
    .ts_bshow__brk--2 { display: none; }
    .ts_bshow__brk--3 { display: block; }
    .ts_bshow__media > .ts_bshow__tile:nth-of-type(-n+3) {
        height: var(--h1);
        margin-top: 0;
        --scrim: 1;
    }
}

/* compact cards: one cover photo with identity on it */
.ts_bshow__hero {
    position: relative;
    aspect-ratio: 16 / 10;
    max-height: 240px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #1A4A2A 0%, #0C2E16 100%);
}
.ts_bshow__tile,
.ts_bmini__thumb {
    /* <button>s that open the lightbox — reset native button chrome */
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: zoom-in;
}
.ts_bshow__tile {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #E9EDE6;
}
.ts_bshow__tile img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ts_bshow__tile:hover img {
    transform: scale(1.06);
}
.ts_bshow__tile--hero {
    position: absolute;
    inset: 0;
    height: 100%;
    border-radius: 0;
    background: transparent;
}
.ts_bshow__tile--empty {
    cursor: default;
}
.ts_bshow__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(6, 20, 10, 0.45) 0%, rgba(6, 20, 10, 0) 26%),
        linear-gradient(0deg, rgba(6, 20, 10, 0.88) 0%, rgba(6, 20, 10, 0.55) 30%, rgba(6, 20, 10, 0) 62%);
}

/* status chips, top-left */
.ts_bshow__status {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 110px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    pointer-events: none;
}
.ts_bshow__badge,
.ts_bshow__count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.ts_bshow__badge {
    background: var(--tsb-lime);
    color: var(--tsb-green);
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.45);
}
.ts_bshow__count {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ts_bshow__badge svg,
.ts_bshow__count svg {
    width: 14px;
    height: 14px;
}
.ts_bshow__count {
    position: absolute;
    top: 14px;
    right: 14px;
    pointer-events: none;
}

/* identity row: logo, name, location — the card's first line, above the photos */
.ts_bshow__ident {
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.ts_bshow__logo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 7px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--tsb-line);
    box-shadow: 0 6px 14px -8px rgba(12, 46, 22, 0.35);
}
.ts_bshow__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ts_bshow__id {
    min-width: 0;
}
.ts_bshow__name {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tsb-green);
}
.ts_bshow__name a {
    color: inherit;
    text-decoration: none;
}
.ts_bshow__name a:hover {
    transform: none; /* cancel the global a:hover scale */
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.ts_bshow__where {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.3;
    color: var(--tsb-muted);
}
.ts_bshow__where span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ts_bshow__where svg {
    width: 14px;
    height: 14px;
    color: var(--tsb-green);
}

/* text — kept light */
.ts_bshow__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 24px 24px;
}
.ts_bshow__facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ts_bshow__facts li {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 12px;
    background: #F3F8EC;
    border: 1px solid rgba(12, 46, 22, 0.08);
    font-size: 13px;
    line-height: 1.2;
    color: var(--tsb-muted);
}
.ts_bshow__facts svg {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 8px;
    background: var(--tsb-green);
    color: var(--tsb-lime);
}
.ts_bshow__facts strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--tsb-green);
    font-variant-numeric: tabular-nums;
}
.ts_bshow__desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tsb-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ts_bshow__desc.is-open {
    display: block;
    overflow: visible;
}
.ts_bshow__more {
    appearance: none;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--tsb-green);
    text-decoration: underline;
    text-decoration-color: rgba(12, 46, 22, 0.3);
    text-underline-offset: 3px;
    cursor: pointer;
}
.ts_bshow__more:hover {
    text-decoration-color: var(--tsb-green);
}
.ts_bshow__caps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ts_bshow__caps li {
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--tsb-soft);
    border: 1px solid var(--tsb-line);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(12, 46, 22, 0.75);
}
.ts_bshow__caps .ts_bshow__caps_more {
    background: transparent;
    border-color: transparent;
    color: var(--tsb-muted);
}
.ts_bshow__actions {
    margin-top: 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.ts_bshow__cta,
.ts_bshow__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ts_bshow__cta {
    background: var(--tsb-green);
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(12, 46, 22, 0.7);
}
.ts_bshow__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}
.ts_bshow__cta:hover,
.ts_bshow__cta:focus-visible {
    transform: none;
    background: var(--tsb-green-hover);
    color: #fff;
    box-shadow: 0 14px 26px -12px rgba(12, 46, 22, 0.75);
}
.ts_bshow__cta:hover svg {
    transform: translate(2px, -2px);
}
.ts_bshow__ghost {
    border: 1.5px solid rgba(12, 46, 22, 0.25);
    color: var(--tsb-green);
    background: #fff;
}
.ts_bshow__ghost:hover,
.ts_bshow__ghost:focus-visible {
    transform: none;
    border-color: var(--tsb-green);
    background: var(--tsb-lime);
    color: var(--tsb-green);
}
.ts_builders button:focus-visible,
.ts_builders a:focus-visible {
    outline: 2px solid var(--tsb-green);
    outline-offset: 3px;
}

/* full-width band only (not used inside the article): photos left, text right */
@media (min-width: 1024px) {
    .ts_builders:not(.ts_builders--inline) .ts_bshow {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    }
    .ts_builders:not(.ts_builders--inline) .ts_bshow__media {
        padding: 8px;
    }
    .ts_builders:not(.ts_builders--inline) .ts_bshow__info {
        padding: 28px;
        justify-content: center;
    }
}

/* ---------- view all builders ---------- */
.ts_builders__all {
    margin-top: 36px;
    text-align: center;
}
.ts_builders__all a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 999px;
    border: 1.5px solid var(--tsb-green);
    background: #fff;
    color: var(--tsb-green);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.ts_builders__all a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.ts_builders__all a:hover,
.ts_builders__all a:focus-visible {
    transform: none; /* cancel style.css's global a:hover scale */
    background: var(--tsb-green);
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(12, 46, 22, 0.7);
}
.ts_builders__all a:hover svg {
    transform: translateX(4px);
}

/* ---------- compact cards (admin-picked builders) ---------- */
.ts_builders__more_head {
    margin: 44px 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(12, 46, 22, 0.6);
}
.ts_builders__more_head::before,
.ts_builders__more_head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--tsb-line);
}
.ts_builders__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.ts_bmini {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--tsb-line);
    box-shadow:
        0 1px 1px rgba(12, 46, 22, 0.04),
        0 14px 32px -20px rgba(12, 46, 22, 0.18);
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.ts_bmini:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 1px rgba(12, 46, 22, 0.05),
        0 26px 48px -24px rgba(12, 46, 22, 0.28);
}
.ts_bshow__hero.ts_bmini__media {
    aspect-ratio: 16 / 10;
    min-height: 200px;
    margin: 6px 6px 0;
    border-radius: 15px;
}
.ts_bmini .ts_bshow__status {
    top: 12px;
    left: 12px;
    right: 60px;
}
.ts_bmini .ts_bshow__count {
    top: 12px;
    right: 12px;
}
.ts_bmini .ts_bshow__ident {
    padding: 0;
    gap: 12px;
}
.ts_bmini .ts_bshow__logo {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: 12px;
}
.ts_bmini .ts_bshow__name {
    font-size: 19px;
}
.ts_bmini .ts_bshow__where {
    margin-top: 2px;
    font-size: 13px;
}
.ts_bmini__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px 18px;
}
.ts_bmini .ts_bshow__facts li {
    padding: 6px 12px 6px 7px;
}
.ts_bmini .ts_bshow__facts svg {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    padding: 5px;
}
.ts_bmini .ts_bshow__facts strong {
    font-size: 14px;
}
.ts_bmini .ts_bshow__desc {
    font-size: 14px;
}
.ts_bmini .ts_bshow__actions {
    margin-top: auto;
    flex-wrap: nowrap;
}
.ts_bmini .ts_bshow__cta,
.ts_bmini .ts_bshow__ghost {
    flex: 1;
    padding: 10px 12px;
    font-size: 12px;
}

/* ---------- small screens ---------- */
@media (max-width: 1023px) {
    .ts_builders__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .ts_builders {
        padding-top: 52px;
        padding-bottom: 60px;
    }
    .ts_builders__sub {
        font-size: 15px;
    }
    .ts_bshow {
        border-radius: 20px;
    }
    .ts_bshow__status {
        right: 14px;
    }
    .ts_bshow .ts_bshow__count {
        display: none;
    }
    .ts_bshow__ident {
        padding: 16px 16px 12px;
        gap: 12px;
    }
    .ts_bshow__logo {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 13px;
    }
    .ts_bshow__name {
        font-size: 21px;
    }
    .ts_bshow__media {
        --h1: 270px;
        --h2: 64px;
        column-gap: 6px;
    }
    .ts_bshow__media > .ts_bshow__tile {
        margin-top: 6px;
        border-radius: 8px;
    }
    .ts_bshow__media > .ts_bshow__tile:first-child {
        border-radius: 14px;
    }
    .ts_bshow__info {
        padding: 16px 16px 20px;
    }
    /* stats side by side: icon + value over label */
    .ts_bshow__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ts_bshow__facts li {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 8px;
        row-gap: 2px;
        padding: 8px 10px 8px 8px;
    }
    .ts_bshow__facts svg {
        grid-row: span 2;
    }
    .ts_bshow__facts span {
        font-size: 12px;
    }
    .ts_bshow__actions .ts_bshow__cta,
    .ts_bshow__actions .ts_bshow__ghost {
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
    .ts_bmini .ts_bshow__logo {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }
}

/* ---------- reveal animations (JS adds .tsb-js to the section, .is-in per element) ---------- */
.ts_builders.tsb-js [data-tsb-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--tsb-delay, 0s);
}
.ts_builders.tsb-js [data-tsb-reveal].is-in {
    opacity: 1;
    transform: none;
}
/* photos slide in sideways, one after another: the top row from the left,
   the bottom row from the right (the top row is 1, 2 or 3 photos depending
   on the column width — same container queries as the layout) */
.ts_builders.tsb-js .ts_bshow__media > .ts_bshow__tile[data-tsb-reveal]:not(.is-in) {
    transform: translateX(32px);
}
.ts_builders.tsb-js .ts_bshow__media > .ts_bshow__tile[data-tsb-reveal]:first-child:not(.is-in) {
    transform: translateX(-32px);
}
@container tsb (min-width: 700px) {
    .ts_builders.tsb-js .ts_bshow__media > .ts_bshow__tile[data-tsb-reveal]:nth-of-type(-n+2):not(.is-in) {
        transform: translateX(-32px);
    }
}
@container tsb (min-width: 1050px) {
    .ts_builders.tsb-js .ts_bshow__media > .ts_bshow__tile[data-tsb-reveal]:nth-of-type(-n+3):not(.is-in) {
        transform: translateX(-32px);
    }
}
/* compact cards: left column from the left, right column from the right */
.ts_builders.tsb-js [data-tsb-from="left"]:not(.is-in) {
    transform: translateX(-28px);
}
.ts_builders.tsb-js [data-tsb-from="right"]:not(.is-in) {
    transform: translateX(28px);
}
/* cards are reveal targets themselves — keep their hover lift + shadow
   transition once revealed */
.ts_builders.tsb-js .ts_bshow.is-in,
.ts_builders.tsb-js .ts_bmini.is-in {
    transition: opacity 0.6s ease-out, transform 0.4s ease, box-shadow 0.4s ease;
}
.ts_builders.tsb-js .ts_bshow.is-in:hover,
.ts_builders.tsb-js .ts_bmini.is-in:hover {
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .ts_builders.tsb-js [data-tsb-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ts_bshow,
    .ts_bshow:hover,
    .ts_bmini,
    .ts_bmini:hover,
    .ts_bshow__tile img,
    .ts_bshow__tile:hover img {
        transition: none;
        transform: none;
    }
}

/* =================================================================
   Inline variant (.ts_builders--inline) — the section sits inside the
   article column, between the article's intro and the rest of it, beside
   the sticky quote form (tradeshow_detail.blade.php). No outer box; the compact grid follows the COLUMN's width (a container
   query on the section), not the viewport's.
   ================================================================= */
.ts_builders.ts_builders--inline {
    container: tsb / inline-size;
    float: none;
    width: auto;
    /* no box of its own — the builder cards sit straight on the page,
       between the article cards (no card inside a card) */
    margin-top: 48px;
    margin-bottom: 16px;
    padding: 0;
    background: none;
}
.ts_builders--inline .ts_builders__head {
    margin-bottom: 32px;
}
@media (min-width: 640px) {
    .ts_builders--inline .ts_builders__title { font-size: 32px; }
}
.ts_builders.ts_builders--inline .ts_builders__grid {
    grid-template-columns: minmax(0, 1fr);
}
@container tsb (min-width: 620px) {
    .ts_builders.ts_builders--inline .ts_builders__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .ts_builders.ts_builders--inline {
        margin-top: 36px;
        padding: 0;
    }
}

/* =================================================================
   Lightbox — built by tradeshow_builders.js and appended to <body>,
   so it's scoped under .tsb-lb rather than .ts_builders.
   ================================================================= */
html.tsb-lb-lock,
html.tsb-lb-lock body {
    overflow: hidden;
}
.tsb-lb {
    --lb-green: #0C2E16;
    --lb-lime: #CFFF7F;

    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    background: rgba(6, 18, 10, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
@supports (backdrop-filter: blur(6px)) {
    .tsb-lb {
        background: rgba(6, 18, 10, 0.88);
        backdrop-filter: blur(6px);
    }
}
.tsb-lb.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
}
.tsb-lb *,
.tsb-lb *::before,
.tsb-lb *::after {
    box-sizing: border-box;
}
.tsb-lb svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tsb-lb button {
    appearance: none;
    border: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.tsb-lb a:hover {
    transform: none; /* cancel style.css's global a:hover scale */
}
.tsb-lb :focus-visible {
    outline: 2px solid var(--lb-lime);
    outline-offset: 3px;
}

/* top bar */
.tsb-lb__bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
}
.tsb-lb__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.tsb-lb__logo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 4px;
    border-radius: 11px;
    background: #fff;
    object-fit: contain;
}
.tsb-lb__title {
    min-width: 0;
}
.tsb-lb__name {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tsb-lb__count {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
}
.tsb-lb__profile {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--lb-lime);
    color: var(--lb-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}
.tsb-lb__profile:hover,
.tsb-lb__profile:focus-visible {
    background: #fff;
    color: var(--lb-green);
}
.tsb-lb__profile svg {
    width: 15px;
    height: 15px;
}
.tsb-lb__close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}
.tsb-lb__close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.tsb-lb__close svg {
    width: 22px;
    height: 22px;
}

/* stage */
.tsb-lb__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 88px;
    touch-action: pan-y;
}
.tsb-lb__figure {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tsb-lb__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    user-select: none;
    -webkit-user-drag: none;
}
.tsb-lb__img.is-loading {
    opacity: 0;
    transform: scale(0.985);
}
.tsb-lb__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--lb-lime);
    animation: tsb-lb-spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.tsb-lb__stage.is-loading .tsb-lb__spinner {
    opacity: 1;
}
@keyframes tsb-lb-spin {
    to { transform: rotate(360deg); }
}
.tsb-lb__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    padding: 0;
    margin-top: -26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}
.tsb-lb__nav:hover {
    background: var(--lb-lime);
    color: var(--lb-green);
}
.tsb-lb__nav svg {
    width: 24px;
    height: 24px;
}
.tsb-lb__nav--prev { left: 20px; }
.tsb-lb__nav--next { right: 20px; }
.tsb-lb.is-single .tsb-lb__nav,
.tsb-lb.is-single .tsb-lb__thumbs {
    display: none;
}

/* thumbnails */
.tsb-lb__thumbs {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px 22px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tsb-lb__thumbs::-webkit-scrollbar {
    display: none;
}
.tsb-lb__thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 60px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0.5;
    box-shadow: 0 0 0 2px transparent;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
.tsb-lb__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tsb-lb__thumb:hover {
    opacity: 0.85;
}
.tsb-lb__thumb.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--lb-lime);
}

@media (max-width: 767px) {
    .tsb-lb__bar {
        padding: 12px 14px;
        gap: 10px;
    }
    .tsb-lb__logo {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
    .tsb-lb__name {
        font-size: 15px;
    }
    .tsb-lb__profile {
        padding: 10px 12px;
    }
    .tsb-lb__profile span {
        display: none; /* icon-only on phones */
    }
    .tsb-lb__stage {
        padding: 4px 10px 70px;
    }
    .tsb-lb__nav {
        top: auto;
        bottom: 10px;
        margin-top: 0;
        width: 46px;
        height: 46px;
    }
    .tsb-lb__nav--prev { left: calc(50% - 56px); }
    .tsb-lb__nav--next { right: calc(50% - 56px); }
    .tsb-lb__img {
        border-radius: 8px;
    }
    .tsb-lb__thumbs {
        justify-content: flex-start;
        padding: 10px 14px 18px;
        gap: 8px;
    }
    .tsb-lb__thumb {
        width: 64px;
        height: 46px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tsb-lb,
    .tsb-lb__img,
    .tsb-lb__thumb {
        transition: none;
    }
    .tsb-lb__spinner {
        animation-duration: 2s;
    }
}
