/* MLT catalogue layouts. Shared forms and access rules stay in Foundation. */
.mlt-section-heading{position:relative;isolation:isolate;overflow:hidden;padding:28px 32px;margin:24px 0;border-radius:24px;background:#ffed9459;border:1px solid #f3e8be;max-width:none}
.mlt-section-heading:after{content:"";position:absolute;z-index:-1;width:160px;height:160px;border:26px solid #c0b1e742;border-radius:50%;right:-45px;top:-70px}
.mlt-section-heading h1{margin:8px 0 14px;font-size:clamp(28px,3.3vw,44px);line-height:1.2;overflow-wrap:anywhere}
.mlt-section-heading>p:last-child{margin-bottom:0;color:#57514b}
.mlt-catalog-description{max-width:100%;margin:24px 0 30px;line-height:1.8}.mlt-catalog-description p{margin:0 0 12px}
.mlt-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin:24px 0;background:#fff5e7;border:1px solid #f2e3d2;border-radius:20px;padding:20px}
.mlt-filters .field{flex:1 1 190px;min-width:0;margin:0}.mlt-filters .field label{display:block;margin:0 0 8px;font-size:13px;font-weight:600}
.mlt-filters input,.mlt-filters select{width:100%;min-height:48px;border:1px solid #d8cec0;border-radius:12px;background:#fff;padding:10px 12px;color:#37312c;font:inherit;max-width:100%}
.mlt-filter-actions{display:flex;gap:10px;align-items:center;flex:0 0 auto}.mlt-filter-actions .btn{min-height:48px;margin:0;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.mlt-contest-card .contest-image:before,.mlt-contest-card .contest-image:after{display:none!important}.mlt-contest-card:hover .contest-image img{transform:none}
.mlt-contest-card .contest-content{display:flex;flex-direction:column;flex:1}.mlt-contest-state{font-size:12px;font-weight:600;color:#674b20;margin:0 0 10px}.mlt-card-period{font-size:13px;color:#5c554e;line-height:1.6}
.mlt-card-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:auto}.mlt-card-actions .btn{width:100%;min-height:44px;text-align:center;justify-content:center;padding:10px 12px;font-size:14px}.mlt-card-works{font-size:13px;padding:5px 0;color:#a9161c}
.mlt-contest-participation{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:28px 0}.mlt-contest-participation .mlt-contest-dates{flex:0 1 auto;margin:0;padding:18px 24px;gap:0}
.mlt-contest-participation .mlt-contest-actions{margin:0;flex:1 1 auto;gap:10px}.mlt-participation-note{max-width:none;margin:0 0 30px;font-size:15px;line-height:1.8;color:#514a43}.mlt-contest-closing{max-width:none;margin:30px 0;line-height:1.8}
.mlt-inline-edit{font-size:12px;color:#9c292d}.mlt-catalog-description .text-link,.mlt-contest-closing .text-link{display:inline-block;margin:0 18px 0 0}
.mlt-work-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mlt-work-tile{position:relative}.mlt-best-mark{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffed94;box-shadow:0 2px 8px #0002}
.mlt-best-mark svg{width:27px;height:27px;fill:#ffca0c;stroke:#7c5300;stroke-width:1.3}.mlt-work-heart{display:flex;gap:10px;align-items:center;border:0;background:transparent;color:#b5161c;padding:2px 4px;cursor:pointer;font-size:16px;min-height:48px}.mlt-work-heart svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.5}.mlt-work-heart[aria-pressed=true] svg{fill:#e31920;stroke:#e31920}
.mlt-image-expand{position:absolute;right:14px;bottom:14px;display:flex;gap:8px;align-items:center;border:1px solid #e9d8cb;background:#fffdf6f2;color:#972128;padding:10px 14px;border-radius:12px;cursor:zoom-in;opacity:0;transition:opacity .15s;font-size:14px}
.b-media-viewer__visual--image:hover .mlt-image-expand,.b-media-viewer__visual--image:focus-within .mlt-image-expand{opacity:1}.mlt-image-expand>span{font-size:24px}.b-media-viewer__visual--image{position:relative}
.mlt-work-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 54px)/4);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:2px;padding:4px 2px 16px;scrollbar-width:thin}.mlt-work-carousel>*{scroll-snap-align:start}.mlt-carousel-controls{display:flex;justify-content:center;gap:12px;margin-top:12px}.mlt-carousel-controls[hidden]{display:none}
.mlt-carousel-controls button:disabled{opacity:.4;cursor:default}
.mlt-results-scroll{overflow:auto;border:1px solid #e9ded3;border-radius:18px;background:#fff}.mlt-results-table{border-collapse:collapse;width:100%;font-size:14px;min-width:760px}.mlt-results-table th,.mlt-results-table td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid #eee4da;line-height:1.55}.mlt-results-table th{background:#ffed9466;font-size:13px}.mlt-results-table td:last-child{font-weight:700;color:#a51b22}.mlt-results-table a{color:#a51b22;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){.mlt-work-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mlt-work-carousel{grid-auto-columns:calc((100% - 36px)/3)}}
@media(max-width:700px){.mlt-work-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mlt-section-heading{padding:23px 20px}.mlt-filters{padding:16px;gap:14px}.mlt-filter-actions{width:100%}.mlt-filter-actions .btn{flex:1}.mlt-contest-participation{align-items:stretch;gap:14px}.mlt-contest-participation .mlt-contest-dates{width:100%}.mlt-contest-participation .mlt-contest-actions{display:flex;flex-wrap:wrap;width:100%}.mlt-contest-participation .mlt-contest-actions .btn{flex:1 1 160px}.mlt-work-carousel{grid-auto-columns:calc((100% - 14px)/2);gap:14px}}
@media(hover:none){.mlt-image-expand{opacity:1}}
@media(prefers-reduced-motion:reduce){.mlt-image-expand,.mlt-work-tile{transition:none}}
.mlt-contest-card{display:flex;flex-direction:column}.vm-work .b-media-viewer__actions .mlt-share{width:auto;margin:0}.vm-work .vm-work-badge{background:#ffed94;color:#644b13}


/* BEGIN MLT-UI-FILTERS-01 APPROVED */
/* MLT-UI-FILTERS-01. Presentation only; Foundation owns values, URLs and events. */
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;
  gap:20px 24px;min-width:0;max-width:100%;margin:24px 0;padding:24px;
  border:1px solid #e8d9c6;border-radius:20px;background:#fff5e7;box-shadow:none;
  color:#37312c;font-family:inherit;box-sizing:border-box;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.field,label) {
  display:block;min-width:0;max-width:100%;margin:0;color:#37312c;
  font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;
}
.mlt-site .vm-main :is(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(input:not([type=hidden]),select) {
  display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;
  min-height:48px;height:48px;margin:8px 0 0;padding:11px 14px;
  border:1px solid #c7b9a6;border-radius:12px;background-color:#fff;
  color:#37312c;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) select {padding-right:32px}
.mlt-site .vm-main :is(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(input,select):focus-visible {
  outline:3px solid #a51b22;outline-offset:3px;border-color:#a51b22;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) {
  grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:12px;width:100%;min-width:0;margin:0;padding:0;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) .btn {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  flex:0 1 auto;min-width:160px;min-height:48px;height:auto;margin:0;padding:11px 20px;
  border-radius:12px;font-family:inherit;font-size:16px;font-weight:700;line-height:1.5;
  white-space:normal;text-align:center;overflow-wrap:anywhere;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) .btn-primary {
  border:1px solid #e31920;background:#e31920;color:#fff;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) :is(.btn-soft,.btn-outline) {
  border:1px solid #c7b9a6;background:#fff;color:#37312c;
}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) .btn:hover {filter:brightness(.96)}
.mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.btn,summary):focus-visible {outline:3px solid #a51b22;outline-offset:3px}

/* Keep the immediate direction selector outside the GET form, as Core designed. */
.mlt-site .reference-contest-filters>form.vm-filters {display:contents}
.mlt-site .reference-contest-filters>form>p {grid-column:1/-1;margin:0;overflow-wrap:anywhere}
.mlt-site .mlt-results-search {grid-template-columns:repeat(3,minmax(0,1fr))}
.mlt-site .page-section form.mlt-filters>.field:first-child:nth-last-child(2) {grid-column:1/-1}
.mlt-site .mlt-catalog-filter[data-mlt-publication-filters] {grid-template-columns:repeat(2,minmax(0,1fr))}
.mlt-site .reference-works-filters {grid-template-columns:1.1fr .85fr 1.45fr}
.mlt-site .reference-works-filters>details {grid-column:1/-1;min-width:0;margin:0;padding:0;border:0}
.mlt-site .reference-works-filters summary {
  box-sizing:border-box;min-height:48px;margin:0;padding:12px 0;cursor:pointer;
  color:#653d20;font-size:16px;font-weight:700;line-height:1.5;
}
.mlt-site .reference-works-filters summary::marker {color:#a51b22}
.mlt-site .reference-works-advanced {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px 24px;min-width:0;padding-top:12px}
.mlt-site .reference-works-filters .gf-filter-notice {grid-column:1/-1;margin:0;padding:12px 16px;border-radius:12px;background:#ffed94;color:#493e28;overflow-wrap:anywhere}
/* Hide ONLY enhanced controls. With JS disabled the original selects stay usable. */
.mlt-site .reference-works-filters select.gf-combobox-native {display:none!important}
.mlt-site .reference-works-filters .gf-combobox input {padding-right:40px!important}
.mlt-site .reference-works-filters .gf-combobox-row::after {top:19px;right:17px;border-color:#82654a}
.mlt-site .reference-works-filters .gf-combobox-selected {margin-top:8px;color:#625445;font-size:14px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.mlt-site .gf-combobox-popup {border:1px solid #c7b9a6;border-radius:12px;background:#fffdf8;color:#37312c;font-family:inherit;font-size:16px;line-height:1.5;box-shadow:0 8px 24px #63432126}
.mlt-site .gf-combobox-option {min-height:48px;padding:12px 14px;white-space:normal;overflow-wrap:anywhere}
.mlt-site .gf-combobox-option:is(:hover,.is-active) {background:#ffed94;outline:2px solid #ae751d;outline-offset:-2px}
.mlt-site .gf-combobox-option[aria-selected=true] {background:#eff5df;color:#37312c}
.mlt-site .gf-combobox-retry {min-height:48px;border:1px solid #c7b9a6;border-radius:10px;background:#fff;color:#37312c;font:inherit}
.mlt-site .gf-combobox-retry:focus-visible {outline:3px solid #a51b22;outline-offset:2px}
.mlt-site .mlt-filter-selected {display:block;margin-top:8px;color:#625445;font-size:14px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.mlt-site .mlt-filter-selected[hidden] {display:none}
.mlt-site .mlt-publication-nav .mlt-direction-links>a {box-sizing:border-box;min-height:44px;overflow-wrap:anywhere}

@media(min-width:1001px) {
  .mlt-site .mlt-catalog-filter[data-mlt-quiz-filters] {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1000px) {
  .mlt-site :is(.reference-works-filters,.reference-works-advanced,.mlt-results-search) {grid-template-columns:repeat(2,minmax(0,1fr))}
  .mlt-site .reference-works-filters>label:nth-of-type(3) {grid-column:1/-1}
  .mlt-site .mlt-catalog-filter[data-mlt-publication-filters] {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px) {
  .mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) {grid-template-columns:minmax(0,1fr);gap:18px;margin:20px 0;padding:18px 16px;border-radius:18px}
  .mlt-site .reference-works-advanced {grid-template-columns:minmax(0,1fr);gap:18px}
  .mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) {display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .mlt-site .vm-main :where(.reference-contest-filters,.reference-works-filters,.mlt-results-search,.page-section form.mlt-filters,.mlt-catalog-filter) :is(.mlt-filter-actions,.gf-filter-actions) .btn {width:100%;min-width:0}
}

/* END MLT-UI-FILTERS-01 APPROVED */
