/* APU — filtros facetados partilhados por todos os Tipos APU. */
.apu-ar-video-filter { width: 100%; color: inherit; }
.apu-ar-video-filter * { box-sizing: border-box; }
.apu-ar-video-filter__heading { margin-bottom: 18px; font-weight: 700; font-size: 1.05rem; }
.apu-ar-video-filter__form { display: flex; flex-direction: column; gap: 22px; }
.apu-ar-video-filter__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.apu-ar-video-filter__group legend { display: block; padding: 0; margin-bottom: 10px; font-size: 1rem; font-weight: 650; }
.apu-ar-video-filter__subheading { font-size: .87em; font-weight: 400; opacity: .7; }
.apu-ar-video-filter__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.apu-ar-video-filter__choice { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d6dade; border-radius: 6px; padding: 8px 10px; cursor: pointer; font-weight: 400; line-height: 1.3; background: #fff; color: #282e35; transition: border-color .16s ease, background .16s ease; }
.apu-ar-video-filter__choice:hover { border-color: #717985; }
.apu-ar-video-filter__choice.is-selected { border-color: #343e4a; background: #edf0f3; }
.apu-ar-video-filter__choice input { margin: 0; flex: none; accent-color: #343e4a; }
.apu-ar-video-filter__choice:has(input:disabled) { opacity: .48; cursor: not-allowed; }
.apu-ar-video-filter__count { display: inline-flex; justify-content: center; min-width: 23px; padding: 2px 6px; font-size: .78em; line-height: 1.3; border-radius: 10px; background: #e9ecef; color: #374151; }
.apu-ar-video-filter__hint { font-size: .84rem; opacity: .75; margin: 7px 0 0; }
.apu-ar-video-filter__selects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.apu-ar-video-filter__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apu-ar-video-filter__field label { font-size: .94rem; font-weight: 600; }
.apu-ar-video-filter__field select,
.apu-ar-video-filter__field input[type="search"] { appearance: auto; display: block; background: #fff; color: #282e35; width: 100%; max-width: none; min-width: 0; height: 43px; padding: 9px 10px; border: 1px solid #c7ccd2; border-radius: 6px; font: inherit; }
.apu-ar-video-filter__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.apu-ar-video-filter__apply { display: inline-block; padding: 11px 18px; background: #293746; color: #fff; border: 1px solid #293746; border-radius: 6px; cursor: pointer; font: inherit; font-weight: 600; }
.apu-ar-video-filter__apply:hover { background: #455467; color: #fff; }
.apu-ar-video-filter__clear { text-decoration: underline; color: inherit; font-size: .92rem; }
@media (max-width: 900px) { .apu-ar-video-filter__selects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .apu-ar-video-filter__selects { grid-template-columns: 1fr; } .apu-ar-video-filter__choice { width: 100%; } }
