.ht-works-list{display:flex;flex-direction:column;gap:14px}
.ht-works-list .ht-work-card{margin-block:0}
.ht-work-image{margin:0}
.ht-work-image img{display:block;width:100%;height:auto;max-width:280px;margin-inline:auto}
.ht-work-title,.ht-work-year{font-weight:600}
.ht-work-title{font-size:20px}
.ht-work-instrumentation,.ht-work-duration{font-size:16px}
.ht-works-list .wp-block-ht-work-field{margin-block-start:0;margin-block-end:14px}
@media(max-width:781px){.ht-works-list .ht-work-card .wp-block-columns{gap:14px!important}.ht-work-image img{max-width:320px}}
.ht-works-layout.has-filters{display:grid;grid-template-columns:minmax(220px,285px) minmax(0,1fr);gap:22px;align-items:start}
.ht-works-main{min-width:0}.ht-works-results{display:flex;flex-direction:column;gap:14px}
.ht-works-results[aria-busy="true"]{opacity:.6}.ht-works-count{margin:0 0 12px;font-size:15px;color:#555}
.ht-works-filters{padding:16px;background:#efefef;border:1px solid #b8b8b8;border-radius:14px;font:inherit;color:inherit}
.ht-works-filters h2{font-size:20px;margin:0 0 16px}.ht-works-filters fieldset{border:0;margin:0 0 16px;padding:0;min-width:0}
.ht-works-filters legend,.ht-filter-label{display:block;font-weight:600;font-size:15px;margin-bottom:6px}
.ht-works-filters input,.ht-works-filters button{font:inherit;color:inherit}.ht-works-filters input[type="search"]{display:block;box-sizing:border-box;width:100%;max-width:100%;padding:9px 10px;border:1px solid #999;border-radius:4px;background:#fff;margin:0 0 12px;font-size:16px}
.ht-year-bound{display:grid;grid-template-columns:1fr 85px;gap:6px;align-items:center;margin-top:8px;font-size:15px}.ht-year-bound input[type="number"]{box-sizing:border-box;width:85px;padding:5px;border:1px solid #999;border-radius:4px;background:#fff}.ht-year-slider{grid-column:1/-1;width:100%;margin:3px 0 7px;accent-color:#a8791b}
.ht-filter-help{font-size:12px;line-height:1.5;margin:0 0 16px}.ht-category-tree,.ht-category-tree ul{list-style:none;padding:0;margin:0}.ht-category-tree ul{padding-left:16px}.ht-category-tree li{margin:7px 0;font-size:14px}.ht-category-row{display:flex;align-items:flex-start;gap:4px}.ht-category-row label{display:flex;align-items:flex-start;gap:6px;line-height:1.5;cursor:pointer}.ht-category-row input{margin:4px 0 0;flex-shrink:0;accent-color:#a8791b}.ht-category-toggle{background:transparent;border:0;padding:0;width:20px;min-width:20px;line-height:1.5;cursor:pointer;font-weight:600!important}.ht-category-spacer{width:20px;min-width:20px}.ht-category-tree [hidden]{display:none!important}
.ht-works-apply,.ht-works-reset{display:block;width:100%;padding:8px 10px;border:1px solid #888;border-radius:5px;background:#fff;cursor:pointer;font-size:14px!important}.ht-works-reset{margin-top:8px;background:transparent}.ht-works-filters button:hover{border-color:#a8791b}.ht-works-filters :focus-visible{outline:2px solid #a8791b;outline-offset:3px}.ht-works-error{color:#9d2020}
@media(max-width:900px){.ht-works-layout.has-filters{grid-template-columns:235px minmax(0,1fr);gap:16px}}
@media(max-width:700px){.ht-works-layout.has-filters{grid-template-columns:1fr}.ht-works-filters{max-width:none}.ht-year-bound{grid-template-columns:1fr 85px}.ht-category-tree{columns:2}.ht-category-tree>li{break-inside:avoid}}

.ht-works-list{gap:0}.ht-works-list>.ht-works-count{margin:0 0 10px!important}

.ht-works-sidebar>.ht-works-count{height:22px;line-height:22px;text-align:center;margin:0 0 10px!important}
.ht-works-layout.has-filters>.ht-works-main{padding-top:32px}
@media(min-width:701px){.ht-works-sidebar{position:sticky;top:50px;max-height:calc(100dvh - 70px);overflow-y:auto}}
@media(max-width:700px){.ht-works-layout.has-filters>.ht-works-main{padding-top:0}}

.ht-works-filters input[type="range"]:focus{outline:none!important;box-shadow:none!important}
.ht-works-filters input[type="range"]::-webkit-slider-thumb{border-radius:50%}
.ht-works-filters input[type="range"]:focus-visible::-webkit-slider-thumb{outline:2px solid #777;outline-offset:3px}
.ht-works-filters input[type="range"]:focus-visible::-moz-range-thumb{outline:2px solid #777;outline-offset:3px}

.ht-work-title a{color:inherit;text-decoration:none}.ht-work-title a:hover{text-decoration:underline}

/* Stretch the title link over its card while retaining one keyboard stop. */
.ht-works-list .ht-work-card{position:relative}
.ht-works-list .ht-work-title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.ht-works-list .ht-work-card:has(.ht-work-title a){cursor:pointer}
.ht-works-list .ht-work-card:has(.ht-work-title a:focus-visible){outline:2px solid #777;outline-offset:3px}
.ht-works-list .ht-work-card :is(button,input,select,textarea){position:relative;z-index:2}

/* Match aligned CD year controls and sort selector. */
.ht-works-filters .ht-year-bound{grid-template-columns:minmax(3em,1fr) 100px;gap:12px}
.ht-works-filters .ht-year-bound input[type=number]{width:100%;max-width:100px}
.ht-works-filters select{box-sizing:border-box;width:100%;font:inherit;color:inherit;padding:8px;border:1px solid #aaa;border-radius:4px;background:#fff}

.ht-works-filters select[name=wf_sort]{margin-bottom:24px}

/* Shared filter templates own panel decoration and spacing. */
.ht-works-filters[data-editable-filters]{display:block;background:transparent;border:0;border-radius:0;padding:0}
.ht-works-filters[data-editable-filters] .ht-editable-filter-card{box-sizing:border-box;min-width:0}
.ht-works-filters[data-editable-filters] .ht-editable-filter-control{min-width:0}
.ht-works-filters[data-editable-filters] .ht-editable-filter-control :is(h2,legend,label,input,select,button,li){font-size:inherit;line-height:inherit;color:inherit}
.ht-works-filters[data-editable-filters] .ht-editable-filter-control h2{margin:0;font-weight:inherit}
.ht-works-filters[data-editable-filters] .ht-editable-filter-control>label{display:grid;gap:6px}
.ht-works-filters[data-editable-filters] .ht-editable-filter-control :is(input[type=search],select,button){box-sizing:border-box;width:100%}
.ht-works-filters[data-editable-filters] select[name=sort],.ht-works-filters[data-editable-filters] select[name=wf_sort]{margin-bottom:0}
.editor-styles-wrapper .ht-editable-filter-control{font-family:var(--wp--preset--font-family--noto-sans,sans-serif)}
.editor-styles-wrapper .ht-editable-filter-control label{display:grid;gap:6px}
.editor-styles-wrapper .ht-editable-filter-control fieldset{display:grid;gap:10px;border:0;padding:0;margin:0}
.editor-styles-wrapper .ht-editable-filter-control :is(input,select,button){font:inherit;color:inherit;box-sizing:border-box;max-width:100%}
.editor-styles-wrapper .ht-editable-filter-control :is(input[type=number],input[type=search],select){background:white;border:1px solid #aaa;border-radius:4px;padding:8px;width:100%}
.editor-styles-wrapper .ht-editable-filter-control h2{font:inherit;margin:0}

/* Individually selectable labels, inputs and sliders inside native Groups. */
.ht-filter-year-row{display:grid;grid-template-columns:minmax(3em,1fr) 100px;gap:12px;align-items:center}
.ht-filter-year-row>.ht-editable-filter-control{margin-block-start:0}
.ht-editable-filter-control input[type=number]{box-sizing:border-box;width:100%;max-width:100%}
.ht-editable-filter-control :is(h2,h3){margin:0;font-size:inherit}
.ht-editable-filter-control label{display:block}
.ht-filter-control-from_slider input,.ht-filter-control-to_slider input{margin-block:0!important;display:block;width:100%}
.ht-filter-control-sort_select select{margin-block:0}
.ht-filter-year-bound,.ht-filter-year-range{min-width:0}

/* Match the CD listing's available page width, including inside old 1320px Groups. */
.ht-works-list{box-sizing:border-box;width:min(1500px,95vw);max-width:none!important;position:static;left:auto;transform:none;margin-left:auto!important;margin-right:auto!important}
.ht-works-layout.has-filters{grid-template-columns:minmax(300px,25%) minmax(0,1fr);gap:24px;align-items:start}
.ht-works-list :is(.ht-filter-control-from_label,.ht-filter-control-to_label,.ht-filter-control-sort_label) label{white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media(max-width:900px){
 .ht-works-layout.has-filters{grid-template-columns:300px minmax(0,1fr);gap:20px}
}
@media(max-width:700px){
 .ht-works-layout.has-filters{grid-template-columns:minmax(0,1fr)}
}
