/* The market uses neutral surfaces;
orange identifies actions and focus. */
#market .market-toolbar {
    display:flex;
    flex-direction:column;
    gap:22px;
    margin-bottom:18px
}
#market .market-toolbar h2 {
    font-size:24px;
    color:#2e4053;
    margin:0 0 5px
}
#market .market-toolbar p {
    color:#667587;
    margin:0;
    font-size:14px
}
.market-controls {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,300px);
    align-items:flex-end;
    gap:14px;
    width:100%;
    min-width:0
}
.market-search {
    min-width:0
}
.market-controls label {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    min-width:0;
    max-width:100%;
    gap:7px;
    color:#526476;
    font-size:13px
}
.market-controls input,.market-controls select {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:48px;
    font:inherit;
    font-size:15px;
    color:#2e4053;
    border:1px solid #dce3e9;
    border-radius:10px;
    padding:12px 14px;
    background:#fff;
    line-height:1.5
}
.market-controls select {
    appearance:none;
    -webkit-appearance:none;
    padding-inline-end:44px;
    background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-chevron-down%22%20viewBox%3D%220%200%2016%2016%22%3E%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M1.646%204.646a.5.5%200%200%201%20.708%200L8%2010.293l5.646-5.647a.5.5%200%200%201%20.708.708l-6%206a.5.5%200%200%201-.708%200l-6-6a.5.5%200%200%201%200-.708%22%2F%3E%20%3C%2Fsvg%3E");
    background-position:right 16px center;
    background-size:16px 16px;
    background-repeat:no-repeat;
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden
}
.market-controls input:focus,.market-controls select:focus {
    outline:2px solid #f29f4f;
    outline-offset:2px
}
.market-count {
    font-size:13px;
    color:#667587;
    margin:0 0 16px
}
#market .market-catalog {
    grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));
    gap:12px
}
#market .market-card {
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    min-height:96px;
    padding:16px;
    background:#fff;
    border:1px solid #e1e7ed;
    border-radius:12px;
    box-shadow:0 2px 8px #2e405304;
    text-align:left;
    color:#2e4053;
    font:inherit;
    cursor:pointer;
    transition:border-color .2s,box-shadow .2s
}
#market .market-card:hover {
    border-color:#f29f4f;
    box-shadow:0 5px 18px #2e40530c
}
#market .market-card:focus-visible {
    outline:3px solid #f29f4f;
    outline-offset:3px
}
.market-avatar {
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
    background:#f0f3f6;
    display:grid;
    place-items:center;
    color:#667587;
    font-weight:700
}
.market-card-text {
    min-width:0;
    flex:1
}
.market-name {
    display:block;
    font-size:15px;
    font-weight:700;
    overflow-wrap:anywhere
}
.market-bio-preview {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:12px;
    color:#667587;
    margin-top:5px;
    overflow-wrap:anywhere
}
.market-more {
    display:block;
    margin:24px auto 0;
    border:1px solid #e0e6ed;
    border-radius:9px;
    padding:12px 22px;
    background:#fff;
    color:#2e4053;
    font:inherit;
    cursor:pointer
}
.market-more:hover {
    border-color:#f29f4f
}
#market [hidden] {
    display:none!important
}
#marketModal .links-modal-content {
    border:1px solid #e1e7ed;
    border-radius:18px;
    box-shadow:0 18px 80px #0003
}
#marketModal .links-modal-header {
    background:#fff;
    color:#2e4053;
    border-bottom:1px solid #edf0f3;
    padding:20px 24px;
    gap:20px
}
#marketModalTitle {
    overflow-wrap:anywhere
}
#marketModal .links-modal-close {
    color:#526476;
    flex-shrink:0
}
#marketModal .links-modal-body {
    padding:24px
}
.market-profile-head {
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:20px
}
.market-profile-head .market-avatar {
    width:72px;
    height:72px
}
.market-profile-name {
    min-width:0;
    font-size:18px;
    font-weight:700;
    overflow-wrap:anywhere
}
.market-profile-bio {
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    color:#526476;
    font-size:15px;
    margin-bottom:24px
}
.market-section-title {
    font-size:15px;
    margin:24px 0 12px;
    font-weight:700
}
.market-works {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
}
.market-work {
    border:1px solid #edf0f3;
    background:#f8f9fa;
    border-radius:12px;
    overflow:hidden;
    padding:0;
    cursor:zoom-in
}
.market-work img {
    display:block;
    width:100%;
    aspect-ratio:1;
    object-fit:contain
}
.market-socials {
    display:flex;
    gap:10px;
    flex-wrap:wrap
}
.market-socials a,.market-profile-link {
    display:inline-block;
    max-width:100%;
    padding:9px 14px;
    border:1px solid #e1e7ed;
    border-radius:8px;
    color:#2e4053;
    text-decoration:none;
    overflow-wrap:anywhere
}
.market-socials a:hover {
    border-color:#f29f4f
}
.market-profile-link {
    margin-top:24px;
    background:#f29f4f;
    border-color:#f29f4f;
    font-weight:700
}
.market-hint {
    font-size:14px;
    color:#667587
}
.event-hero {
    background:#fff;
    color:#2e4053;
    border-bottom:1px solid #e4e8ed
}
.event-hero-inner {
    width:100%;
    min-width:0;
    max-width:900px
}
.event-hero-facts {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch
}
.event-hero-fact-value {
    display:block;
    overflow-wrap:anywhere
}
.event-hero-title,.event-hero-format,.event-hero-lead {
    overflow-wrap:anywhere
}
.event-hero-actions {
    min-width:0;
    max-width:100%;
    align-items:stretch
}
.event-hero .event-cta {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
    height:auto;
    min-height:48px;
    padding:12px 22px;
    line-height:1.5;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere
}
.event-hero-eyebrow {
    color:#a35c1b;
    opacity:1
}
.event-hero .event-hero-fact-label,.event-hero .event-hero-format,.event-hero .event-hero-lead {
    color:#667587;
    opacity:1
}
.event-hero .event-cta--secondary {
    color:#2e4053;
    border-color:#dce3e9;
    background:#fff
}
.event-hero .event-hero-fact {
    min-width:0;
    padding:16px 18px;
    border:1px solid #e1e7ed;
    border-radius:12px;
    background:#f8f9fa
}
.event-hero .event-hero-title {
    color:#2e4053
}
@media(max-width:700px) {
    .market-controls {
        grid-template-columns:minmax(0,1fr);
        width:100%
    }
    .market-filter {
        width:100%
    }
    #marketModal .links-modal-body {
        padding:18px
    }
    #marketModal .links-modal-header {
        padding:18px
    }
    .market-works {
        gap:8px
    }
    .market-profile-head {
        align-items:flex-start
    }
    .market-profile-head .market-avatar {
        width:56px;
        height:56px
    }
}
@media(max-width:559px) {
    .event-hero-facts {
        grid-template-columns:minmax(0,1fr)
    }
    .event-hero .event-hero-fact {
        padding:14px 16px
    }
}
body[data-market-event] {
    background:#fff
}
body[data-market-event] .tab-panel,
body[data-market-event] .additional-content,
body[data-market-event] .participant-name {
    min-width:0
}
body[data-market-event] .program-row-name,
body[data-market-event] .program-row-place,
body[data-market-event] .additional-name,
body[data-market-event] .additional-description,
body[data-market-event] .participant-name,
body[data-market-event] .event-summary-chip {
    overflow-wrap:anywhere
}
#market .market-card {
    box-shadow:0 2px 8px #2e405304!important
}
#market .market-card:hover {
    box-shadow:0 5px 18px #2e40530c!important
}
#marketModal .links-modal-content {
    box-shadow:0 18px 80px #0003!important
}
.event-hero .event-cta--secondary:hover {
    color:#2e4053;
    background:#f8f9fa;
    border-color:#f29f4f
}
